/* ================================================================
   NASTACJIPALIW.PL — arkusz marki (wersja uporządkowana)
   Zmiany porządkowe:
   - każda reguła w jednej linii
   - usunięte duplikaty (wygrywające wartości z kaskady zachowane)
   - jasny błękit/cyjan (rgba(0,212,255,…), #00b8de) zastąpiony granatem #074de4
   - tekst na tle #074de4 ustawiony na biały
   Znacznik "DO SPRAWDZENIA" = decyzja wymagająca potwierdzenia.
   ================================================================ */

@font-face { font-family: "bootstrap-icons"; src: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/fonts/bootstrap-icons.woff2?2820a3852bdb9c5abd1a9ed687e66139") format("woff2"), url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/fonts/bootstrap-icons.woff?2820a3852bdb9c5abd1a9ed687e66139") format("woff"); font-display: swap; }

/* --- TOKENY ---------------------------------------------------- */
/* DO SPRAWDZENIA: --primary-color (#0A2540) to bardzo ciemny granat używany jako
   kolor nagłówków, stopki i teł. NIE zamieniłem go na #074de4, bo #074de4 jest
   znacznie jaśniejszy — nagłówki i stopka stałyby się niebieskie, a dark mode by się
   rozjechał. Jeśli faktycznie CAŁY granat ma być #074de4, daj znać — zamienię. */
:root {
--primary-color: #0A2540;
--primary-hover: #051525;
--accent-color: #074de4;
--accent-hover: #0538a8; /* przyciemniony #074de4 do stanów :hover (zastąpił cyjanowy #00b8de) */
--text-color: #425466;
--bg-light: #F6F9FC;
--border-color: #e2e8f0;
}

/* --- GLOBALNE -------------------------------------------------- */
html, body { overflow-x: hidden; }
.text-primary { color: var(--accent-color) !important; }

/* --- BAZA ------------------------------------------------------ */
body.brand-nastacjipaliw { font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 0.9375rem; /* 15px — mniejszy, czytelniejszy tekst bazowy */ color: var(--text-color); background-color: #fff; transition: background-color 0.3s ease, color 0.3s ease; }
.brand-nastacjipaliw h1, .brand-nastacjipaliw h2, .brand-nastacjipaliw h3, .brand-nastacjipaliw h4, .brand-nastacjipaliw h5, .brand-nastacjipaliw .navbar-brand { font-family: 'Montserrat', sans-serif; color: var(--primary-color); padding: 0; }

/* --- NAVBAR (glassmorphism) ------------------------------------ */
.brand-nastacjipaliw .container-header { position: sticky; top: 0; z-index: 1030; }
.brand-nastacjipaliw .container-header .navbar { background-color: rgba(255, 255, 255, 0.9) !important; backdrop-filter: blur(10px); box-shadow: 0 2px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; padding: 0; }
.brand-nastacjipaliw .nav-link { font-weight: 600; color: var(--primary-color) !important; position: relative; }
.brand-nastacjipaliw .nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--accent-color); transition: width 0.3s ease; }
.brand-nastacjipaliw .nav-link:hover::after, .brand-nastacjipaliw .nav-link.active::after { width: 100%; }
.brand-nastacjipaliw .navbar-logo { height: 50px; margin: 1rem 0; width: auto; display: block; }

/* Hamburger */
.brand-nastacjipaliw .im-nav-toggle { width: 44px; height: 44px; border: 1px solid var(--border-color); background-color: transparent; border-radius: 8px; padding: 10px; display: inline-flex; flex-direction: column; justify-content: space-between; align-items: stretch; cursor: pointer; transition: border-color 0.25s ease, background-color 0.25s ease; }
.brand-nastacjipaliw .im-nav-toggle:hover { background-color: rgba(10, 37, 64, 0.05); border-color: var(--accent-color); }
.brand-nastacjipaliw .im-nav-toggle:focus { outline: none; box-shadow: 0 0 0 3px rgba(7, 77, 228, 0.25); }
.brand-nastacjipaliw .im-nav-toggle span { display: block; height: 2.5px; background-color: var(--primary-color); border-radius: 2px; transition: transform 0.3s ease, opacity 0.25s ease; transform-origin: center; }
.brand-nastacjipaliw .im-nav-toggle:not(.collapsed) { border-color: var(--accent-color); }
.brand-nastacjipaliw .im-nav-toggle:not(.collapsed) span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.brand-nastacjipaliw .im-nav-toggle:not(.collapsed) span:nth-child(2) { opacity: 0; }
.brand-nastacjipaliw .im-nav-toggle:not(.collapsed) span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Flagi językowe PL/EN */
.brand-nastacjipaliw .im-lang-flag { display: inline-flex; align-items: center; line-height: 0; border-radius: 3px; overflow: hidden; box-shadow: 0 1px 3px rgba(10, 37, 64, 0.15); opacity: 0.85; transition: opacity 0.2s ease, transform 0.2s ease; }
.brand-nastacjipaliw .im-lang-flag:hover { opacity: 1; transform: translateY(-1px); }
.brand-nastacjipaliw .im-lang-flag img { width: 24px; height: auto; display: block; }
.brand-nastacjipaliw .im-lang-flag.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--accent-color), 0 1px 3px rgba(10, 37, 64, 0.2); }
.brand-nastacjipaliw button.im-lang-flag { background: transparent; border: 0; padding: 0; cursor: pointer; }

/* --- PRZYCISKI ------------------------------------------------- */
.brand-nastacjipaliw .btn-primary { background-color: var(--primary-color); border: none; padding: 12px 30px; font-weight: 600; border-radius: 50px; transition: all 0.3s ease; line-height: 1.5; }
.brand-nastacjipaliw .btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(10, 37, 64, 0.2); }
.brand-nastacjipaliw .btn-accent { background-color: var(--accent-color); color: #fff; border: none; padding: 12px 30px; font-weight: 700; border-radius: 50px; transition: all 0.3s ease; }
.brand-nastacjipaliw .btn-accent:hover { background-color: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(7, 77, 228, 0.25); }
.brand-nastacjipaliw .btn-outline-light-custom { background-color: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); padding: 10px 28px; font-weight: 600; border-radius: 50px; transition: all 0.3s ease; }
.brand-nastacjipaliw .btn-outline-light-custom:hover { background-color: #fff; color: var(--primary-color); border-color: #fff; }
.brand-nastacjipaliw .btn-outline-secondary-custom { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); padding: 10px 28px; font-weight: 600; border-radius: 50px; transition: all 0.3s ease; line-height: 1.5; }
.brand-nastacjipaliw .btn-outline-secondary-custom:hover { background-color: var(--primary-color); color: #fff; }
.brand-nastacjipaliw .btn-more { background-color: var(--primary-color); color: #fff; border-radius: 0; padding: 15px 40px; font-weight: 700; transition: 0.3s; }
.brand-nastacjipaliw .btn-more:hover { background-color: var(--accent-color); color: #fff; }
.brand-nastacjipaliw .btn-toggle-topics { color: var(--accent-color); border-color: var(--accent-color); }
.brand-nastacjipaliw .btn-toggle-topics:hover, .brand-nastacjipaliw .btn-toggle-topics:focus { background-color: var(--accent-color); color: #fff; border-color: var(--accent-color); box-shadow: 0 4px 12px rgba(7, 77, 228, 0.25); }
.brand-nastacjipaliw .btn-toggle-topics .label-collapse { display: none; }
.brand-nastacjipaliw .btn-toggle-topics:not(.collapsed) .label-collapse { display: inline; }
.brand-nastacjipaliw .btn-toggle-topics:not(.collapsed) .label-expand { display: none; }
.brand-nastacjipaliw .btn-toggle-topics .chevron-icon { transition: transform 0.3s ease; display: inline-block; }
.brand-nastacjipaliw .btn-toggle-topics:not(.collapsed) .chevron-icon { transform: rotate(180deg); }

/* --- HERO HOME ------------------------------------------------- */
.brand-nastacjipaliw .hero-home { padding: 30px 0 30px; }
.brand-nastacjipaliw .hero-card { position: relative; overflow: hidden; border-radius: 24px; padding: 70px 60px; background: linear-gradient(135deg, #0a2540 0%, #061a30 50%, #04111f 100%); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05); color: #fff; isolation: isolate; }
.brand-nastacjipaliw .hero-deco { position: absolute; pointer-events: none; z-index: 0; }
.brand-nastacjipaliw .hero-deco-grid { inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0); background-size: 22px 22px; opacity: 0.6; }
.brand-nastacjipaliw .hero-deco-lines { inset: 0; background-image: repeating-linear-gradient(135deg, transparent 0, transparent 60px, rgba(7, 77, 228, 0.05) 60px, rgba(7, 77, 228, 0.05) 61px); }
/* Nazwa klasy "glow-cyan" została w HTML — kolor zmieniony na granat */
.brand-nastacjipaliw .hero-deco-glow-cyan { top: -150px; right: -120px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(7, 77, 228, 0.22) 0%, transparent 60%); filter: blur(20px); }
.brand-nastacjipaliw .hero-deco-glow-violet { bottom: -180px; left: -150px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%); filter: blur(20px); }
.brand-nastacjipaliw .hero-content { position: relative; z-index: 1; }
.brand-nastacjipaliw .hero-card .hero-eyebrow { display: inline-flex; align-items: center; color: #fff; text-transform: uppercase; letter-spacing: 2.5px; font-weight: 700; font-size: 0.78rem; padding: 8px 16px; background-color: rgba(7, 77, 228, 0.18); border: 1px solid rgba(7, 77, 228, 0.45); border-radius: 50px; }
.brand-nastacjipaliw .hero-eyebrow-dot { display: inline-block; width: 7px; height: 7px; background-color: var(--accent-color); border-radius: 50%; margin-right: 10px; box-shadow: 0 0 0 0 rgba(7, 77, 228, 0.7); animation: hero-pulse 2s infinite; }
@keyframes hero-pulse { 0% { box-shadow: 0 0 0 0 rgba(7, 77, 228, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(7, 77, 228, 0); } 100% { box-shadow: 0 0 0 0 rgba(7, 77, 228, 0); } }
.brand-nastacjipaliw .hero-title { font-family: 'Times New Roman', Times, serif; font-size: 3.2rem; line-height: 1.05; font-weight: 800; color: #fff; margin-top: 1.2rem; letter-spacing: -0.5px; }
.brand-nastacjipaliw .hero-title-accent { background: linear-gradient(120deg, #074de4 0%, #6366f1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.brand-nastacjipaliw .hero-lead { font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); max-width: 540px; }
.brand-nastacjipaliw .hero-lead ul { padding-left: 1.15rem; margin: 0; }
.brand-nastacjipaliw .hero-lead li { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.45rem; }
/* DO SPRAWDZENIA: tekst przycisku był granatowy na granatowym tle (#074de4) — zmieniono na biały zgodnie z zasadą */
.brand-nastacjipaliw .btn-hero-primary { display: inline-flex; align-items: center; background-color: var(--accent-color); color: #fff; border: 2px solid var(--accent-color); padding: 12px 28px; font-weight: 700; border-radius: 50px; transition: all 0.25s ease; text-decoration: none; line-height: 1.5; }
.brand-nastacjipaliw .btn-hero-primary:hover { background-color: #fff; border-color: #fff; color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(7, 77, 228, 0.25); }
.brand-nastacjipaliw .btn-hero-outline { display: inline-flex; align-items: center; background-color: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.4); padding: 12px 28px; font-weight: 600; border-radius: 50px; transition: all 0.25s ease; text-decoration: none; line-height: 1.5; }
.brand-nastacjipaliw .btn-hero-outline:hover { background-color: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.7); color: #fff; transform: translateY(-2px); }
.brand-nastacjipaliw .hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.3px; }
.brand-nastacjipaliw .hero-meta-item { display: inline-flex; align-items: center; }
.brand-nastacjipaliw .hero-meta-item .bi { color: var(--accent-color); }
.brand-nastacjipaliw .hero-meta-divider { width: 3px; height: 3px; background-color: rgba(255, 255, 255, 0.3); border-radius: 50%; }
.brand-nastacjipaliw .hero-cover-wrap { position: relative; text-align: center; }
.brand-nastacjipaliw .hero-issue-number { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Times New Roman', Times, serif; font-weight: 800; font-size: 22rem; line-height: 1; color: rgba(255, 255, 255, 0.04); z-index: 0; user-select: none; pointer-events: none; letter-spacing: -0.05em; }
.brand-nastacjipaliw .hero-cover { position: relative; z-index: 1; max-width: 100%; max-height: 420px; width: auto; height: auto; border-radius: 4px; transform: perspective(800px) rotateY(-8deg) rotateX(2deg); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5), 0 18px 36px -18px rgba(0, 0, 0, 0.4), -8px 0 20px -10px rgba(7, 77, 228, 0.15); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.brand-nastacjipaliw .hero-cover:hover { transform: perspective(800px) rotateY(-2deg) rotateX(0deg) translateY(-8px); }

/* --- SEKCJA O MAGAZYNIE ---------------------------------------- */
.brand-nastacjipaliw .about-section { padding: 30px 0 30px; background-color: var(--bg-light); }
/* Scalono dwie sprzeczne definicje .about-panel — zachowano wartości wygrywające w kaskadzie (druga definicja) */
.brand-nastacjipaliw .about-panel { background-color: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 20px 15px; box-shadow: 0 12px 32px rgba(10, 37, 64, 0.06); position: relative; background-image: radial-gradient(circle at 1px 1px, rgba(10, 37, 64, 0.04) 1px, transparent 0); background-size: 22px 22px; }
.brand-nastacjipaliw .about-panel::before { content: ''; position: absolute; top: 0; left: 36px; width: 60px; height: 4px; background: linear-gradient(90deg, var(--accent-color), transparent); border-radius: 0 0 4px 4px; }
.brand-nastacjipaliw .about-panel .about-title { position: relative; padding-top: 4px; }
.brand-nastacjipaliw .about-panel .about-title::before { content: 'Kwartalnik branżowych inspiracji'; display: block; font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-color); margin-bottom: 10px; }
.brand-nastacjipaliw .about-title { font-size: 1.6rem; color: var(--primary-color); }
.brand-nastacjipaliw .about-intro { font-size: 0.95rem; line-height: 1.65; }
.brand-nastacjipaliw .about-intro p { margin-bottom: 0.85rem; }
.brand-nastacjipaliw .about-intro strong { color: var(--primary-color); }
.brand-nastacjipaliw .about-card { background-color: #fff; border: 1px solid var(--border-color); border-radius: 15px; padding: 35px; height: 100%; transition: all 0.3s ease; }
.brand-nastacjipaliw .about-card:hover { border-color: var(--accent-color); box-shadow: 0 15px 35px rgba(10, 37, 64, 0.08); }
.brand-nastacjipaliw .about-icon { width: 60px; height: 60px; border-radius: 12px; background: linear-gradient(135deg, var(--primary-color), #1a3c61); color: var(--accent-color); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.brand-nastacjipaliw .topic-item-sm { padding: 16px 14px; height: 100%; }
.brand-nastacjipaliw .topic-item-sm .topic-icon { font-size: 1.3rem; margin-bottom: 6px; color: var(--accent-color); }
.brand-nastacjipaliw .topic-item-sm h5 { font-size: 0.92rem; margin-bottom: 4px; font-weight: 700; }
.brand-nastacjipaliw .topic-item-sm p { font-size: 0.8rem; line-height: 1.45; margin-bottom: 0; }

/* --- SEKCJA ARTYKUŁÓW ------------------------------------------ */
.brand-nastacjipaliw .articles-section { background-color: var(--bg-light); padding: 90px 0; }
.brand-nastacjipaliw .article-card { background-color: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(10, 37, 64, 0.05); transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; }
.brand-nastacjipaliw .article-card:hover { box-shadow: 0 20px 40px rgba(10, 37, 64, 0.12); }
.brand-nastacjipaliw .article-card img { width: 100%; height: 220px; object-fit: cover; }
.brand-nastacjipaliw .article-card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
/* Etykieta kategorii: tło #074de4 → czcionka biała (było: granatowa) */
.brand-nastacjipaliw .article-category { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.75rem; color: #fff; background-color: var(--accent-color); padding: 4px 12px; display: inline-block; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; align-self: flex-start; }
.brand-nastacjipaliw .article-title { font-family: 'Times New Roman', Times, serif; font-weight: 700; color: var(--primary-color); font-size: 1.35rem; line-height: 1.3; margin-bottom: 10px; }
.brand-nastacjipaliw .article-meta { font-size: 0.85rem; color: #94a3b8; margin-top: auto; padding-top: 15px; border-top: 1px solid #f0f4f8; }
.brand-nastacjipaliw .article-read-more { color: var(--primary-color); font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.brand-nastacjipaliw .article-read-more:hover { color: var(--accent-color); }

/* --- SEKCJA TEMATYKI ------------------------------------------- */
.brand-nastacjipaliw .topics-section { padding: 90px 0; }
.brand-nastacjipaliw .topic-item { padding: 15px 10px; height: 100%; }
.brand-nastacjipaliw .topic-icon { font-size: 2.2rem; color: var(--accent-color); margin-bottom: 15px; display: block; }
.brand-nastacjipaliw .topic-item h5 { font-weight: 700; margin-bottom: 10px; }
.brand-nastacjipaliw .topic-item p { font-size: 0.92rem; margin-bottom: 0; }

/* --- BIEŻĄCY NUMER (newspaper-style) --------------------------- */
.brand-nastacjipaliw .featured-issue { padding: 30px 0; background-color: #fff; }
.brand-nastacjipaliw .issue-header { text-align: center; }
.brand-nastacjipaliw .issue-header .hero-eyebrow { color: var(--accent-color); }
.brand-nastacjipaliw .issue-header-title { font-family: 'Times New Roman', Times, serif; font-weight: 700; font-size: 2.2rem; line-height: 1.2; color: var(--primary-color); margin-bottom: 12px; }
.brand-nastacjipaliw .issue-header-lead { font-family: 'Times New Roman', Times, serif; font-style: italic; font-weight: 700; font-size: 1.1rem; color: var(--text-color); margin: 0 auto 22px; }
.brand-nastacjipaliw .issue-header-divider { border: 0; border-top: 2px solid var(--primary-color); opacity: 1; width: 80px; margin: 0 auto; }
.brand-nastacjipaliw .topic-hero-img { width: 100%; height: 360px; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15); }
.brand-nastacjipaliw .section-divider { border-top: 2px solid var(--primary-color); margin: 40px 0; position: relative; }
.brand-nastacjipaliw .main-article-title { font-family: 'Times New Roman', Times, serif; font-weight: 700; font-size: 2.4rem; line-height: 1.1; margin-top: 15px; color: var(--primary-color); }
.brand-nastacjipaliw .newspaper-columns { column-count: 3; column-gap: 40px; text-align: justify; column-rule: 1px solid var(--border-color); }
.brand-nastacjipaliw .newspaper-columns p { margin-bottom: 1rem; }
.brand-nastacjipaliw .article-lead-inline { font-weight: 600; color: var(--primary-color); }
.brand-nastacjipaliw .dropcap { font-family: 'Times New Roman', Times, serif; font-weight: 700; font-size: 3.2rem; line-height: 0.9; color: var(--primary-color); float: left; padding: 4px 8px 0 0; margin-top: 4px; }
.brand-nastacjipaliw .topic-badge { background-color: var(--accent-color); color: #fff; font-weight: 800; text-transform: uppercase; padding: 5px 15px; font-size: 0.8rem; text-align: center; width: 200px; }
.brand-nastacjipaliw .alt-article { padding: 30px 0; }
.brand-nastacjipaliw .alt-article img { width: 100%; height: 300px; object-fit: cover; }
.brand-nastacjipaliw .alt-article-title { font-family: 'Times New Roman', Times, serif; font-weight: 700; font-size: 1.7rem; }
.brand-nastacjipaliw .page-number { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--primary-color); border-top: 1px solid var(--primary-color); display: inline-block; padding-top: 5px; }

/* --- PASEK NEWSLETTERA ----------------------------------------- */
.brand-nastacjipaliw .newsletter-strip { background: linear-gradient(135deg, var(--primary-color) 0%, #1a3c61 100%); color: #fff; padding: 60px 0; }
.brand-nastacjipaliw .newsletter-strip h3 { color: #fff; }
.brand-nastacjipaliw .newsletter-form .form-control { border-radius: 50px 0 0 50px; border: none; padding: 14px 25px; }
.brand-nastacjipaliw .newsletter-form .btn { border-radius: 0 50px 50px 0; padding: 14px 30px; }

/* --- REDAKCJA --------------------------------------------------- */
.brand-nastacjipaliw .editorial-section { padding: 60px 0; }
.brand-nastacjipaliw .editorial-section.m-0 { padding-top: 70px; padding-bottom: 0; }
.brand-nastacjipaliw .editor-card { text-align: center; background-color: #fff; border-radius: 12px; padding: 20px 12px 18px; transition: all 0.3s ease; height: 100%; border: 1px solid var(--border-color); }
.brand-nastacjipaliw .editor-img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(10, 37, 64, 0.15); margin-bottom: 12px; }
.brand-nastacjipaliw .editor-role { color: var(--accent-color); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 4px; }
.brand-nastacjipaliw .editor-card h5 { font-weight: 700; margin-bottom: 0; font-size: 0.95rem; line-height: 1.25; }

/* --- FOOTER ----------------------------------------------------- */
.brand-nastacjipaliw .footer { background-color: var(--primary-color); color: #a0aec0; padding: 50px 0 24px; margin-top: auto; font-size: 0.82rem; line-height: 1.5; }
.brand-nastacjipaliw .footer p { font-size: 0.82rem; }
.brand-nastacjipaliw .footer .small { font-size: 0.78rem; }
.brand-nastacjipaliw .footer h5 { color: #fff; font-weight: 700; margin-bottom: 18px; font-size: 1rem; }
.brand-nastacjipaliw .footer a { color: #fff; text-decoration: none; transition: color 0.3s ease; }
.brand-nastacjipaliw .footer a:hover { color: var(--accent-color); }
/* DO SPRAWDZENIA: w oryginale .footer-logo miał max-height 40px, a wewnątrz .footer 44px — kaskada dawała 44px, więc ujednolicono do 44px */
.brand-nastacjipaliw .footer-logo, .brand-nastacjipaliw .footer-brand { font-size: 1.3rem; font-weight: 800; color: #fff; text-decoration: none; }
.brand-nastacjipaliw .footer-logo { max-height: 44px; width: auto; }
.brand-nastacjipaliw .footer-shortcuts { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; }
.brand-nastacjipaliw .footer-shortcuts li { padding-left: 0 !important; }
.brand-nastacjipaliw .im-home-footer { background-color: var(--primary-color); border-top: 1px solid rgba(255, 255, 255, 0.08); color: #fff; }
.brand-nastacjipaliw .im-footer-logo { height: 80px; width: auto; display: block; filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.15)); }
.brand-nastacjipaliw .im-footer-link { color: #fff; text-decoration: none; transition: color .2s ease, text-shadow .2s ease; }
.brand-nastacjipaliw .im-footer-link:hover { color: #fff; text-decoration: underline; }
.brand-nastacjipaliw .im-footer-sep { color: rgba(255, 255, 255, 0.3); margin: 0 .35rem; }

/* --- NARZĘDZIA PŁYWAJĄCE (motyw, back-to-top) ------------------- */
.brand-nastacjipaliw .floating-tools { position: fixed; right: 24px; bottom: 24px; z-index: 1040; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
/* Scalono dwie definicje .floating-tool-btn — zachowano wartości wygrywające (druga: ciemne tło + obwódka) */
.brand-nastacjipaliw .floating-tool-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(7, 77, 228, 0.35); background-color: #04101f; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; box-shadow: 0 8px 20px rgba(10, 37, 64, 0.3); padding: 0; pointer-events: auto; transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.3s ease; }
.brand-nastacjipaliw .floating-tool-btn:hover { background-color: var(--accent-color); color: #fff; border-color: var(--accent-color); transform: translateY(-2px); }
.brand-nastacjipaliw .im-theme-toggle .theme-icon-light { display: none; }
.brand-nastacjipaliw .im-theme-toggle .theme-icon-dark { display: inline; }
.brand-nastacjipaliw .back-to-top { opacity: 0; pointer-events: none; transform: translateY(12px); }
.brand-nastacjipaliw .back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ================================================================
   DARK THEME — [data-theme="dark"]
   DO SPRAWDZENIA: ciemne granaty tł (#061629, #0a1d36, #0f2240, #122a4f,
   #1a3460, #04101f, #020a14, #00060c) celowo NIE zostały zamienione na
   #074de4 — to tła trybu ciemnego; #074de4 jako tło zniszczyłby dark mode.
   ================================================================ */
[data-theme="dark"] body.brand-nastacjipaliw { background-color: #061629; color: #cbd5e1; }
[data-theme="dark"] .brand-nastacjipaliw .container-header .navbar { background-color: rgba(6, 22, 41, 0.92) !important; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); }
[data-theme="dark"] .brand-nastacjipaliw .nav-link { color: #e2e8f0 !important; }
[data-theme="dark"] .brand-nastacjipaliw .navbar-logo { filter: brightness(0) invert(1); }
[data-theme="dark"] .brand-nastacjipaliw .im-nav-toggle span { background-color: #e2e8f0; }
[data-theme="dark"] .brand-nastacjipaliw .im-nav-toggle { border-color: rgba(255, 255, 255, 0.2); }
[data-theme="dark"] .brand-nastacjipaliw .hero-card { background: linear-gradient(135deg, #04111f 0%, #020a14 50%, #00060c 100%); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
[data-theme="dark"] .brand-nastacjipaliw .text-muted { color: #94a3b8 !important; }
[data-theme="dark"] .brand-nastacjipaliw .topic-item-sm p.text-muted { color: #cbd5e1 !important; }
[data-theme="dark"] .brand-nastacjipaliw .editorial-section p.lead.text-muted, [data-theme="dark"] .brand-nastacjipaliw .editorial-section .lead { color: #cbd5e1 !important; }
[data-theme="dark"] .brand-nastacjipaliw h1, [data-theme="dark"] .brand-nastacjipaliw h2, [data-theme="dark"] .brand-nastacjipaliw h3, [data-theme="dark"] .brand-nastacjipaliw h4, [data-theme="dark"] .brand-nastacjipaliw h5, [data-theme="dark"] .brand-nastacjipaliw .hero-title, [data-theme="dark"] .brand-nastacjipaliw .issue-header-title, [data-theme="dark"] .brand-nastacjipaliw .main-article-title, [data-theme="dark"] .brand-nastacjipaliw .alt-article-title, [data-theme="dark"] .brand-nastacjipaliw .article-title, [data-theme="dark"] .brand-nastacjipaliw .about-title { color: #f1f5f9; }
[data-theme="dark"] .brand-nastacjipaliw .btn-outline-secondary-custom { color: #e2e8f0; border-color: rgba(255, 255, 255, 0.4); }
[data-theme="dark"] .brand-nastacjipaliw .btn-outline-secondary-custom:hover { background-color: #fff; color: var(--primary-color); border-color: #fff; }
[data-theme="dark"] .brand-nastacjipaliw .about-section { background-color: #0a1d36; }
[data-theme="dark"] .brand-nastacjipaliw .about-panel { background-color: #0f2240; border-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .brand-nastacjipaliw .about-intro strong { color: var(--accent-color); }
[data-theme="dark"] .brand-nastacjipaliw .topic-item-sm { background-color: #122a4f; border-color: rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .brand-nastacjipaliw .topic-item-sm:hover { background-color: #1a3460; }
[data-theme="dark"] .brand-nastacjipaliw .topics-divider { border-top-color: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .brand-nastacjipaliw .featured-issue { background-color: #061629; }
[data-theme="dark"] .brand-nastacjipaliw .issue-header-divider { border-top-color: var(--accent-color); }
[data-theme="dark"] .brand-nastacjipaliw .issue-header-lead { color: #cbd5e1; }
[data-theme="dark"] .brand-nastacjipaliw .section-divider { border-top-color: rgba(255, 255, 255, 0.15); }
[data-theme="dark"] .brand-nastacjipaliw .newspaper-columns { column-rule-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .brand-nastacjipaliw .newspaper-columns, [data-theme="dark"] .brand-nastacjipaliw .alt-article p { color: #cbd5e1 !important; }
[data-theme="dark"] .brand-nastacjipaliw .dropcap { color: var(--accent-color); }
[data-theme="dark"] .brand-nastacjipaliw .article-lead-inline { color: #f1f5f9; }
[data-theme="dark"] .brand-nastacjipaliw .page-number { color: #cbd5e1; border-top-color: rgba(255, 255, 255, 0.3); }
[data-theme="dark"] .brand-nastacjipaliw .articles-section { background-color: #0a1d36; }
[data-theme="dark"] .brand-nastacjipaliw .article-card { background-color: #0f2240; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); }
[data-theme="dark"] .brand-nastacjipaliw .article-meta { border-top-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .brand-nastacjipaliw .article-read-more { color: var(--accent-color); }
[data-theme="dark"] .brand-nastacjipaliw .editor-card { background-color: #0f2240; border-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .brand-nastacjipaliw .footer { background-color: #04101f; }
[data-theme="dark"] .brand-nastacjipaliw .floating-tool-btn { background-color: #020a14; }
[data-theme="dark"] .brand-nastacjipaliw .im-theme-toggle .theme-icon-light { display: inline; }
[data-theme="dark"] .brand-nastacjipaliw .im-theme-toggle .theme-icon-dark { display: none; }
[data-theme="dark"] .brand-nastacjipaliw .btn-toggle-topics { color: var(--accent-color); border-color: rgba(7, 77, 228, 0.5); }

/* --- GOOGLE TRANSLATE — ukrycie paska i artefaktów --------------- */
.goog-te-banner-frame.skiptranslate, .goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
html { margin-top: 0 !important; }
#google_translate_element { display: block; height: 0; overflow: hidden; }
.skiptranslate iframe { display: none !important; }
.skiptranslate { display: none !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }
.goog-te-spinner-pos, .goog-te-spinner-animation { display: none !important; }

/* --- PASEK TEASERA ----------------------------------------------- */
.imh-teaser-bar { border-bottom: 1px solid var(--bs-border-color, #dee2e6); }
.imh-scroll-btn .bi-chevron-double-down { animation: imh-bounce 1.4s infinite; }
@keyframes imh-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ================================================================
   RESPONSIVE — pogrupowane wg breakpointów (od największego)
   ================================================================ */

@media (min-width: 992px) {
.brand-nastacjipaliw .navbar-expand-lg .navbar-toggler, .brand-nastacjipaliw .im-nav-toggle { display: none !important; }
.brand-nastacjipaliw .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; height: auto !important; visibility: visible !important; overflow: visible !important; }
.brand-nastacjipaliw .navbar-expand-lg .navbar-nav { flex-direction: row; }
}

@media (max-width: 991.98px) {
.brand-nastacjipaliw .navbar-expand-lg .im-nav-toggle { display: inline-flex !important; }
.brand-nastacjipaliw .navbar-collapse { padding-top: 0; padding-bottom: 0; margin-top: 0; }
.brand-nastacjipaliw #imsaNav.collapse:not(.show) { display: none !important; }
.brand-nastacjipaliw #imsaNav.collapse.show { display: block !important; }
.brand-nastacjipaliw .im-nav-toggle[aria-expanded="false"] + #imsaNav { display: none !important; }
.brand-nastacjipaliw .im-nav-toggle[aria-expanded="true"] + #imsaNav { display: block !important; }
.brand-nastacjipaliw #imsaNav .navbar-nav { flex-direction: column; width: 100%; margin-top: 2px; padding-top: 0; border-top: 1px solid var(--border-color); }
.brand-nastacjipaliw #imsaNav .nav-item { width: 100%; }
.brand-nastacjipaliw #imsaNav .nav-link, .brand-nastacjipaliw .navbar-nav .nav-link { padding: 12px 0 !important; border-bottom: 1px solid rgba(10, 37, 64, 0.06); }
.brand-nastacjipaliw #imsaNav .nav-item:last-child .nav-link, .brand-nastacjipaliw .navbar-nav .nav-item:last-child .nav-link { border-bottom: none; }
.brand-nastacjipaliw #imsaNav .im-nav-tools { justify-content: center; padding: 12px 0; border-top: 1px solid rgba(10, 37, 64, 0.06); margin-top: 4px; }
}

@media (max-width: 992px) {
.brand-nastacjipaliw .newspaper-columns { column-count: 2; }
.brand-nastacjipaliw .hero-card { padding: 50px 40px; }
.brand-nastacjipaliw .hero-title { font-size: 2.6rem; }
.brand-nastacjipaliw .hero-issue-number { font-size: 18rem; }
.brand-nastacjipaliw .topic-hero-img { height: 280px; }
}

@media (max-width: 991px) {
.brand-nastacjipaliw .topic-badge { width: 100%; }
.brand-nastacjipaliw .editor-img { width: 100px; height: 100px; }
.brand-nastacjipaliw .editor-card h5 { font-size: 1.05rem; }
.brand-nastacjipaliw .editor-role { font-size: 0.78rem; }
body.brand-nastacjipaliw .editorial-section .row > [class*="col-"] { padding-left: 6px !important; padding-right: 6px !important; }
body.brand-nastacjipaliw .editorial-section .row { --bs-gutter-y: 12px; --bs-gutter-x: 12px; margin-left: -6px !important; margin-right: -6px !important; }
body.brand-nastacjipaliw .editorial-section .editor-card { padding: 18px 12px; height: 100%; }
}

@media (max-width: 768px) {
/* DO SPRAWDZENIA: w oryginale style mobilne hero były zdefiniowane 3× (kolejne generacje poprawek).
   Zachowano wyłącznie ostatnią, wygrywającą wersję (prefiks body.). Sprawdź hero na mobile po wdrożeniu. */
.brand-nastacjipaliw .navbar-logo { height: 56px; } /* DO SPRAWDZENIA: wcześniejsza reguła mówiła 44px, późniejsza (wygrywająca) 56px — zachowano 56px */
.brand-nastacjipaliw .newspaper-columns { column-count: 1; }
.brand-nastacjipaliw .topic-hero-img { border-radius: 8px; }
.brand-nastacjipaliw .issue-header-title { font-size: 1.5rem; }
.brand-nastacjipaliw .issue-header-lead { font-size: 0.95rem; }
.brand-nastacjipaliw .editorial-section.m-0 { padding-top: 50px; padding-bottom: 50px; }
.brand-nastacjipaliw .newsletter-strip { padding-left: 16px; padding-right: 16px; }
.brand-nastacjipaliw .newsletter-strip > .container { padding-left: 8px; padding-right: 8px; }
body.brand-nastacjipaliw main .item-page, body.brand-nastacjipaliw main .article-body { padding-left: 4px; padding-right: 4px; }
body.brand-nastacjipaliw .hero-home { padding: 12px 0 8px; }
body.brand-nastacjipaliw .hero-home > .container { padding-left: 12px; padding-right: 12px; }
body.brand-nastacjipaliw .hero-card { padding: 28px 20px; border-radius: 16px; }
body.brand-nastacjipaliw .hero-title { font-size: 1.75rem; line-height: 1.1; margin-top: 16px; }
body.brand-nastacjipaliw .hero-lead { font-size: 0.92rem; line-height: 1.55; }
body.brand-nastacjipaliw .hero-card .hero-eyebrow { font-size: 0.65rem; letter-spacing: 1px; padding: 5px 10px; }
body.brand-nastacjipaliw .hero-issue-number { display: none; }
body.brand-nastacjipaliw .hero-cover-wrap { margin-top: 24px; text-align: center; }
body.brand-nastacjipaliw .hero-cover { max-height: 260px; transform: perspective(800px) rotateY(-3deg); margin: 0 auto; display: inline-block; }
body.brand-nastacjipaliw .hero-meta { flex-direction: column; gap: 6px; align-items: flex-start; margin-top: 18px; padding-top: 16px; font-size: 0.75rem; }
body.brand-nastacjipaliw .hero-meta-divider { display: none; }
body.brand-nastacjipaliw .btn-hero-primary, body.brand-nastacjipaliw .btn-hero-outline { width: 100%; justify-content: center; padding: 13px 20px; font-size: 0.92rem; }
/* Układ wnętrza hero-card na mobile */
body.brand-nastacjipaliw .hero-card .hero-content { flex-direction: column; align-items: stretch; }
body.brand-nastacjipaliw .hero-card .hero-content > .col-6, body.brand-nastacjipaliw .hero-card .hero-content > .col-md-8, body.brand-nastacjipaliw .hero-card .hero-content > .col-md-4 { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
body.brand-nastacjipaliw .hero-card .hero-content > .col-6:first-child, body.brand-nastacjipaliw .hero-card .hero-content > .col-md-8 { display: contents; }
body.brand-nastacjipaliw .hero-card .hero-content > .col-6:first-child > .hero-eyebrow, body.brand-nastacjipaliw .hero-card .hero-content .hero-eyebrow { order: 1; align-self: flex-start; margin-bottom: 16px; }
body.brand-nastacjipaliw .hero-card .hero-content > .col-6:last-child, body.brand-nastacjipaliw .hero-card .hero-content > .col-md-4 { order: 2; margin-bottom: 20px; text-align: center; }
body.brand-nastacjipaliw .hero-card .hero-content .hero-title { order: 3; margin-top: 0 !important; margin-bottom: 16px !important; font-size: 1.75rem; line-height: 1.15; }
body.brand-nastacjipaliw .hero-card .hero-content .hero-title p { margin: 0; }
body.brand-nastacjipaliw .hero-card .hero-content .hero-lead { display: none !important; }
body.brand-nastacjipaliw .hero-card .hero-content .d-flex.flex-wrap.gap-3 { order: 5; flex-direction: column !important; flex-wrap: nowrap !important; gap: 12px !important; width: 100%; }
body.brand-nastacjipaliw .hero-card .hero-content .btn-hero-primary, body.brand-nastacjipaliw .hero-card .hero-content .btn-hero-outline { width: 100%; justify-content: center; padding: 13px 20px; font-size: 0.95rem; }
body.brand-nastacjipaliw .hero-card .hero-cover-wrap { margin: 0 auto; max-width: 220px; }
body.brand-nastacjipaliw .hero-card .hero-cover-wrap img, body.brand-nastacjipaliw .hero-card .hero-cover { max-width: 100%; max-height: 280px; width: auto; height: auto; margin: 0 auto; display: block; transform: perspective(800px) rotateY(-3deg); }
body.brand-nastacjipaliw .hero-card .hero-issue-number { display: none !important; }
/* Pełna szerokość sekcji na mobile */
body.brand-nastacjipaliw .featured-issue, body.brand-nastacjipaliw .editorial-section, body.brand-nastacjipaliw .editorial-section.m-0, body.brand-nastacjipaliw .articles-section, body.brand-nastacjipaliw .topics-section, body.brand-nastacjipaliw .about-section, body.brand-nastacjipaliw .newsletter-strip, body.brand-nastacjipaliw .hero-home { padding-left: 0 !important; padding-right: 0 !important; }
body.brand-nastacjipaliw .featured-issue > .container, body.brand-nastacjipaliw .editorial-section > .container, body.brand-nastacjipaliw .articles-section > .container, body.brand-nastacjipaliw .topics-section > .container, body.brand-nastacjipaliw .about-section > .container, body.brand-nastacjipaliw .newsletter-strip > .container, body.brand-nastacjipaliw .hero-home > .container { padding-left: 16px !important; padding-right: 16px !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
body.brand-nastacjipaliw .featured-issue .row, body.brand-nastacjipaliw .editorial-section .row, body.brand-nastacjipaliw .articles-section .row, body.brand-nastacjipaliw .topics-section .row, body.brand-nastacjipaliw .about-section .row, body.brand-nastacjipaliw .newsletter-strip .row, body.brand-nastacjipaliw .hero-home .row { margin-left: 0 !important; margin-right: 0 !important; }
body.brand-nastacjipaliw .featured-issue [class*="col-"], body.brand-nastacjipaliw .editorial-section [class*="col-"], body.brand-nastacjipaliw .articles-section [class*="col-"], body.brand-nastacjipaliw .topics-section [class*="col-"], body.brand-nastacjipaliw .about-section [class*="col-"] { padding-left: 0 !important; padding-right: 0 !important; }
body.brand-nastacjipaliw section *, body.brand-nastacjipaliw section *::before, body.brand-nastacjipaliw section *::after { box-sizing: border-box; }
body.brand-nastacjipaliw .featured-issue img, body.brand-nastacjipaliw .articles-section img, body.brand-nastacjipaliw .alt-article img, body.brand-nastacjipaliw .topic-hero-img { max-width: 100% !important; height: auto !important; width: 100%; }
body.brand-nastacjipaliw .alt-article .pe-lg-5, body.brand-nastacjipaliw .alt-article .ps-lg-5 { padding-left: 0 !important; padding-right: 0 !important; }
/* Ogólne pomniejszenia sekcji */
.brand-nastacjipaliw .about-section, .brand-nastacjipaliw .articles-section, .brand-nastacjipaliw .topics-section, .brand-nastacjipaliw .featured-issue, .brand-nastacjipaliw .editorial-section { padding: 20px 0; }
.brand-nastacjipaliw .about-panel { padding: 24px 20px; }
.brand-nastacjipaliw .about-title { font-size: 1.35rem; }
.brand-nastacjipaliw .main-article-title { font-size: 2rem; }
.brand-nastacjipaliw .dropcap { font-size: 2.6rem; }
.brand-nastacjipaliw .hero-meta { gap: 10px; }
}

@media (max-width: 575px) {
.brand-nastacjipaliw .btn-more { font-size: 0.72rem; padding: 12px 16px; letter-spacing: 0.5px; white-space: normal; line-height: 1.3; }
.brand-nastacjipaliw .im-home-footer .row > div { text-align: center !important; }
/* Scalono dwa zduplikowane bloki stopki mobilnej — zachowano gap 6px (późniejsza wartość) */
.brand-nastacjipaliw .im-home-footer .col-md-3.text-md-end { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.brand-nastacjipaliw .im-home-footer .im-footer-sep { display: none; }
.brand-nastacjipaliw .im-footer-logo { text-align: center !important; display: inline; margin: 1rem 0; height: 64px; }
.brand-nastacjipaliw .floating-tools { right: 16px; bottom: 16px; gap: 8px; }
.brand-nastacjipaliw .floating-tool-btn { width: 40px; height: 40px; font-size: 1.05rem; }
}

@media (max-width: 380px) {
.brand-nastacjipaliw .navbar-logo { height: 48px; }
.brand-nastacjipaliw .btn-more { font-size: 0.65rem; padding: 10px 12px; }
body.brand-nastacjipaliw .hero-title { font-size: 1.55rem; }
body.brand-nastacjipaliw .hero-card { padding: 24px 16px; }
body.brand-nastacjipaliw .editorial-section .row > [class*="col-"] { padding-left: 5px !important; padding-right: 5px !important; }
body.brand-nastacjipaliw .editorial-section .row { --bs-gutter-y: 10px; --bs-gutter-x: 10px; margin-left: -5px !important; margin-right: -5px !important; }
}
/* ============================================================
   KAFLE TEMATÓW (sekcja "O magazynie") — przeprojektowanie:
   ikona obok tytułu, pasek tytułu oddzielony od opisu
   ============================================================ */
.brand-nastacjipaliw .topic-item-sm { display: flex; flex-direction: column; padding: 0; height: 100%; background-color: #fff; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.brand-nastacjipaliw .topic-item-sm:hover { transform: translateY(-3px); border-color: var(--accent-color); box-shadow: 0 12px 28px rgba(10, 37, 64, 0.10); }

/* Pasek tytułu: ikona + nazwa, jasne tło, akcentowa linia oddzielająca */
.brand-nastacjipaliw .topic-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background-color: #f6f9fc; border-bottom: 2px solid var(--accent-color); }
.brand-nastacjipaliw .topic-item-sm .topic-icon { font-size: 1rem; margin: 0; color: #fff; width: 34px; height: 34px; flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); }
.brand-nastacjipaliw .topic-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.9rem; line-height: 1.25; color: var(--primary-color); }

/* Opis pod paskiem */
.brand-nastacjipaliw .topic-item-sm p { padding: 12px 14px 14px; margin: 0; font-size: 0.8rem; line-height: 1.55; }

/* Dark mode */
[data-theme="dark"] .brand-nastacjipaliw .topic-head { background-color: rgba(255, 255, 255, 0.05); }
[data-theme="dark"] .brand-nastacjipaliw .topic-title { color: #f1f5f9; }