/* ==========================================================================
   TechTendency Core v3.0 - Wzorzec Spider's Web (Dark/Light Fix + Responsive + High-Impact Ads)
   ========================================================================== */

:root,
html.light-theme:not(.tt-dark),
body.light-theme:not(.tt-dark) {
    --tt-bg-page: #f1f5f9;
    --tt-bg-wrapper: #ffffff;
    --tt-bg-card: #ffffff;
    --tt-bg-soft: #f8fafc;
    --tt-bg-elevated: #f1f5f9;
    --tt-text-main: #0f172a;
    --tt-text-body: #1e293b;
    --tt-text-muted: #475569;
    --tt-border: #cbd5e1;
    --tt-accent: #2563eb;
    --tt-accent-hover: #1d4ed8;
    --tt-red: #ef4444;
    --tt-pros-bg: #f0fdf4;
    --tt-pros-border: #22c55e;
    --tt-pros-text: #14532d;
    --tt-cons-bg: #fef2f2;
    --tt-cons-border: #ef4444;
    --tt-cons-text: #7f1d1d;
    --tt-warn-bg: #fffbeb;
    --tt-warn-border: #f59e0b;
    --tt-warn-text: #78350f;
    --tt-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);

    /* Zmienne natywne motywu Newsum dla trybu jasnego */
    --bg-color: #f1f5f9 !important;
    --surface-color: #ffffff !important;
    --text-primary: #0f172a !important;
    --text-secondary: #475569 !important;
    --border-color: #cbd5e1 !important;
}

html.tt-dark,
body.tt-dark,
html.dark-theme,
body.dark-theme,
html[data-theme="dark"],
body[data-theme="dark"],
body.dark-mode,
body.newsum-dark,
body.is-dark-theme {
    --tt-bg-page: #06080d;
    --tt-bg-wrapper: #0b0e16;
    --tt-bg-card: #131824;
    --tt-bg-soft: #1a2130;
    --tt-bg-elevated: #0f1420;
    --tt-text-main: #f8fafc;
    --tt-text-body: #e2e8f0;
    --tt-text-muted: #94a3b8;
    --tt-border: #263044;
    --tt-accent: #38bdf8;
    --tt-accent-hover: #0ea5e9;
    --tt-pros-bg: rgba(34, 197, 94, 0.14);
    --tt-pros-border: #22c55e;
    --tt-pros-text: #dcfce7;
    --tt-cons-bg: rgba(239, 68, 68, 0.14);
    --tt-cons-border: #ef4444;
    --tt-cons-text: #fee2e2;
    --tt-warn-bg: rgba(245, 158, 11, 0.15);
    --tt-warn-border: #f59e0b;
    --tt-warn-text: #fef3c7;
    --tt-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);

    /* Nadpisanie wewnętrznych zmiennych CSS motywu Newsum oraz Gutenberga w trybie ciemnym */
    --bg-color: #06080d !important;
    --surface-color: #131824 !important;
    --text-primary: #f8fafc !important;
    --text-secondary: #94a3b8 !important;
    --border-color: #263044 !important;
    --wp--preset--color--base: #131824 !important;
    --wp--preset--color--contrast: #f8fafc !important;
    --wp--preset--color--primary: #38bdf8 !important;
    --wp--preset--color--secondary: #1a2130 !important;
    --wp--preset--color--neutral: #94a3b8 !important;
}

/* 1. TWARDA BLOKADA UCIEKANIA TREŚCI W BOK NA TELEFONACH (MOBILE OVERFLOW FIX) */
*, *::before, *::after {
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    background-color: var(--tt-bg-page) !important;
    color: var(--tt-text-body) !important;
}
.wp-site-blocks,
.site-main {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* 2. NAPRAWA CZYTELNOŚCI TEKSTU W ARTYKUŁACH ORAZ BIAŁYCH KART BOCZNYCH/DOLNYCH W TRYBIE CIEMNYM */
.article-body p,
.article-body li,
.entry-content p,
.entry-content li {
    color: var(--tt-text-body) !important;
    font-size: 1.06rem;
    line-height: 1.75;
}

html.tt-dark .article-body,
html.tt-dark .article-body p,
html.tt-dark .article-body li,
html.tt-dark .entry-content p,
html.tt-dark .wp-block-post-content p,
html.tt-dark .wp-block-post-content li,
html.tt-dark .wp-block-post-excerpt p,
html.tt-dark .article-excerpt,
html.tt-dark .feed-card-excerpt,
html.tt-dark .masonry-excerpt,
html.tt-dark main p,
html.tt-dark article p,
html.tt-dark article li {
    color: var(--tt-text-body) !important;
}

html.tt-dark h1, html.tt-dark h2, html.tt-dark h3, html.tt-dark h4, html.tt-dark h5, html.tt-dark h6,
html.tt-dark .article-title,
html.tt-dark .feed-card-title a,
html.tt-dark .masonry-title a,
html.tt-dark .featured-title a,
html.tt-dark .bento-title a,
html.tt-dark .wp-block-post-title,
html.tt-dark .wp-block-post-title a,
html.tt-dark .wp-block-heading {
    color: var(--tt-text-main) !important;
}

/* Naprawa białych boksów w prawym pasku bocznym (Szukaj, Ostatnie wpisy, Kategorie), kart artykułów oraz boksów Previous/Next Story */
html.tt-dark .sidebar-widget,
html.tt-dark .widget,
html.tt-dark .post-nav-card,
html.tt-dark .feed-card,
html.tt-dark .masonry-card,
html.tt-dark .featured-card,
html.tt-dark .comments-area,
html.tt-dark .comment-respond,
html.tt-dark .comment-body,
html.tt-dark .search-modal-content,
html.tt-dark .archive-header,
html.tt-dark aside .wp-block-group,
html.tt-dark .wp-block-search,
html.tt-dark .wp-block-latest-posts,
html.tt-dark .wp-block-categories,
html.tt-dark .wp-block-post-navigation-link,
html.tt-dark [style*="background-color:#ffffff"],
html.tt-dark [style*="background-color: #ffffff"],
html.tt-dark [style*="background:#fff"],
html.tt-dark .has-base-background-color,
html.tt-dark .has-white-background-color {
    background-color: var(--tt-bg-card) !important;
    color: var(--tt-text-body) !important;
    border-color: var(--tt-border) !important;
}

html.tt-dark .sidebar-widget a,
html.tt-dark .post-nav-card a,
html.tt-dark .post-nav-title,
html.tt-dark .wp-block-latest-posts a,
html.tt-dark .wp-block-categories a,
html.tt-dark .wp-block-post-navigation-link a,
html.tt-dark aside a {
    color: var(--tt-text-main) !important;
    text-decoration: none !important;
}
html.tt-dark .sidebar-widget a:hover,
html.tt-dark .post-nav-card:hover .post-nav-title,
html.tt-dark .wp-block-latest-posts a:hover,
html.tt-dark .wp-block-categories a:hover,
html.tt-dark aside a:hover {
    color: var(--tt-accent) !important;
}

html.tt-dark input[type="search"],
html.tt-dark input[type="text"],
html.tt-dark input[type="email"],
html.tt-dark input[type="url"],
html.tt-dark textarea {
    background-color: #0b0e16 !important;
    color: #f8fafc !important;
    border: 1px solid var(--tt-border) !important;
}

/* Naprawa pigułek tagów TOPICS (#Debian, #Docker itd.) */
.tag-pill,
.tags-list a,
.taxonomy-post_tag a,
.wp-block-post-terms a {
    background-color: var(--tt-bg-soft) !important;
    color: var(--tt-accent) !important;
    border: 1px solid var(--tt-border) !important;
    padding: 5px 12px !important;
    border-radius: 0px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block;
}
.tag-pill:hover,
.tags-list a:hover {
    background-color: var(--tt-accent) !important;
    color: #ffffff !important;
}

/* 3. NAPRAWA ROZJECHANEGO ("JAJOWATEGO") AWATARA REDAKTORA, USUNIĘCIE ZDUPLIKOWANEJ BIAŁEJ KARTY "WRITTEN BY" I ANGIELSKIEJ STOPKI MOTYWU */
.single-article .author-box,
.wp-block-post-author,
.wp-block-post-author-biography,
footer.site-footer,
.custom-ad-banner {
    display: none !important;
}

/* W nagłówku pod tytułem artykułu (gdzie jest mały awatar i data) wymuszamy idealne koło 44x44 px */
.author-info,
header .wp-block-post-author,
.wp-block-post-template .wp-block-post-author {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.author-avatar,
.author-avatar-link img,
.wp-block-post-author__avatar,
.wp-block-post-author__avatar img,
.avatar {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}
/* Nasze duże awatary w karcie pod artykułem i na podstronie /redakcja/ */
.tt-author-box .tt-author-avatar {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid var(--tt-accent) !important;
    flex-shrink: 0 !important;
}
.tt-editorial-card .tt-author-avatar {
    width: 112px !important;
    height: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    min-height: 112px !important;
    max-height: 112px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto 12px auto !important;
}

/* 4. ARCHITEKTURA REKLAMOWA SPIDER'S WEB: PEŁNOEKRANOWA RAMA REKLAMOWA (WALLPAPER / SKIN TAKEOVER) WOKÓŁ LISTY ARTYKUŁÓW */
@media (min-width: 1440px) {
    body.tt-skin-ads-active .wp-site-blocks,
    body.tt-skin-ads-active .site-header,
    body.tt-skin-ads-active .tt-trending-bar,
    body.tt-skin-ads-active .tt-top-billboard-wrap,
    body.tt-skin-ads-active .site-main,
    body.tt-skin-ads-active .tt-home-reviews-showcase,
    body.tt-skin-ads-active .tt-mega-footer {
        max-width: 1180px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        position: relative;
        z-index: 10;
    }
    body.tt-skin-ads-active .site-main {
        background: var(--tt-bg-wrapper) !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.55) !important;
        padding-left: 18px;
        padding-right: 18px;
    }
}

.tt-wallpaper-takeover {
    display: none;
}
@media (min-width: 1440px) {
    .tt-wallpaper-takeover {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        pointer-events: none;
        background: radial-gradient(circle at top, rgba(23, 37, 84, 0.45) 0%, transparent 70%);
    }
    .tt-wallpaper-wing {
        position: fixed;
        top: 88px;
        width: calc((100vw - 1180px) / 2 - 20px);
        max-width: 300px;
        height: 620px;
        pointer-events: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 1px dashed rgba(56, 189, 248, 0.35);
        border-radius: 0px !important;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 58, 138, 0.55) 100%);
        color: #94a3b8;
        padding: 16px;
        text-align: center;
        box-shadow: inset 0 0 24px rgba(37, 99, 235, 0.15);
    }
    .tt-wallpaper-left {
        left: 8px;
    }
    .tt-wallpaper-right {
        right: 8px;
    }
    .tt-wallpaper-wing-badge {
        background: #2563eb;
        color: #ffffff;
        font-size: 0.68rem;
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 0px !important;
        letter-spacing: 0.08em;
        margin-bottom: 12px;
        text-transform: uppercase;
    }
    .tt-wallpaper-wing-title {
        color: #f8fafc;
        font-weight: 800;
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    .tt-wallpaper-wing-sub {
        font-size: 0.78rem;
        color: #94a3b8;
    }
}

/* Górny Double Billboard (pod menu, nad listą artykułów - jak na Spider's Web) */
.tt-top-billboard-wrap {
    max-width: 1200px;
    margin: 18px auto;
    padding: 0 12px;
}
.tt-ad-slot {
    margin: 28px auto;
    padding: 16px;
    background: var(--tt-bg-elevated);
    border-top: 1px solid var(--tt-border);
    border-bottom: 1px solid var(--tt-border);
    border-radius: 0px !important;
    text-align: center;
    position: relative;
    clear: both;
}
.tt-ad-label {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tt-text-muted);
    margin-bottom: 8px;
}
.tt-ad-label::before,
.tt-ad-label::after {
    content: " — ";
}
.tt-ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    background: repeating-linear-gradient(45deg, rgba(37, 99, 235, 0.04), rgba(37, 99, 235, 0.04) 12px, transparent 12px, transparent 24px);
    border: 1px dashed var(--tt-border);
    border-radius: 0px !important;
    color: var(--tt-text-main);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 16px;
}
.tt-ad-placeholder small {
    font-weight: 500;
    color: var(--tt-text-muted);
    font-size: 0.78rem;
    margin-top: 4px;
}
.tt-ad-billboard .tt-ad-placeholder {
    min-height: 180px;
}

/* Przyklejona reklama w prawej kolumnie artykułu (Sticky Half-Page 300x600 - styl Spider's Web) */
.tt-sidebar-sticky-ad {
    position: sticky;
    top: 84px;
    margin-top: 24px;
    z-index: 5;
}
.tt-sidebar-sticky-ad .tt-ad-placeholder {
    min-height: 480px;
}

/* 5. PASEK GORĄCYCH TAGÓW POD NAGŁÓWKIEM */
.tt-trending-bar {
    background: var(--tt-bg-card);
    border-top: 1px solid var(--tt-border);
    border-bottom: 1px solid var(--tt-border);
    padding: 9px 14px;
    font-size: 0.84rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.tt-trending-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tt-trending-badge {
    background: var(--tt-red);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.74rem;
    padding: 4px 9px;
    border-radius: 0px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.tt-trending-bar a {
    color: var(--tt-text-main) !important;
    text-decoration: none !important;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 0px !important;
    background: var(--tt-bg-soft);
    border: 1px solid var(--tt-border);
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.tt-trending-bar a:hover {
    background: var(--tt-accent);
    color: #ffffff !important;
}

/* 6. KOMPONENTY REDAKCYJNE WEWNĄTRZ ARTYKUŁU */
.tt-article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--tt-bg-card);
    border: 1px solid var(--tt-border);
    border-radius: 0px !important;
    margin: 0 0 22px 0;
    font-size: 0.86rem;
}
.tt-reading-time {
    font-weight: 700;
    color: var(--tt-text-main) !important;
}
.tt-share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.tt-share-btn, .tt-gnews-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 0px !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid var(--tt-border);
    background: var(--tt-bg-soft);
    color: var(--tt-text-main) !important;
    cursor: pointer;
}
.tt-gnews-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: none;
}

.tt-uokik-disclosure {
    background: var(--tt-bg-soft);
    border-left: 4px solid var(--tt-accent);
    padding: 12px 16px;
    margin: 0 0 24px 0;
    font-size: 0.88rem;
    color: var(--tt-text-body) !important;
    border-radius: 0px !important;
}

.tt-tldr-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc !important;
    padding: 22px 26px;
    border-radius: 0px !important;
    margin: 24px 0;
    border: 1px solid #334155;
    box-shadow: var(--tt-shadow);
}
.tt-tldr-box h3 {
    color: #38bdf8 !important;
    margin: 0 0 12px 0 !important;
    font-size: 1.15rem;
    text-transform: uppercase;
}
.tt-tldr-box ul, .tt-tldr-box li {
    color: #f8fafc !important;
    margin-bottom: 8px;
}

.tt-practical-box, .tt-protip-box {
    background: var(--tt-warn-bg);
    border: 1px solid var(--tt-warn-border);
    border-left-width: 5px;
    padding: 18px 22px;
    border-radius: 0px !important;
    margin: 24px 0;
    color: var(--tt-warn-text) !important;
}
.tt-practical-box h4, .tt-protip-box h4,
.tt-practical-box p, .tt-protip-box p {
    margin: 0 0 8px 0 !important;
    color: var(--tt-warn-text) !important;
}

.tt-review-scorecard {
    background: linear-gradient(145deg, #0f172a 0%, #172033 100%);
    color: #f8fafc !important;
    border: 2px solid #2563eb;
    border-radius: 0px !important;
    padding: 24px;
    margin: 28px 0;
    box-shadow: var(--tt-shadow);
}
.tt-review-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #334155;
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.tt-review-badge {
    display: inline-block;
    background: #ef4444;
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 0px !important;
    margin-bottom: 6px;
}
.tt-review-product-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 !important;
}
.tt-review-score-circle {
    background: #2563eb;
    color: #ffffff !important;
    width: 84px;
    height: 84px;
    border-radius: 0px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1;
}
.tt-review-score-circle span {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 4px;
}
.tt-review-bars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}
.tt-review-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 600;
    color: #e2e8f0 !important;
    font-size: 0.86rem;
}
.tt-review-bar-track {
    height: 8px;
    background: #334155;
    border-radius: 0px !important;
    overflow: hidden;
}
.tt-review-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
    border-radius: 0px !important;
}

.tt-pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 28px 0;
}
.tt-pros-box {
    background: var(--tt-pros-bg);
    border: 1px solid var(--tt-pros-border);
    border-top-width: 4px;
    padding: 20px;
    border-radius: 0px !important;
    color: var(--tt-pros-text) !important;
}
.tt-cons-box {
    background: var(--tt-cons-bg);
    border: 1px solid var(--tt-cons-border);
    border-top-width: 4px;
    padding: 20px;
    border-radius: 0px !important;
    color: var(--tt-cons-text) !important;
}
.tt-pros-box h4, .tt-cons-box h4,
.tt-pros-box li, .tt-cons-box li {
    margin-top: 0 !important;
    color: inherit !important;
}

/* Tabele responsywne na telefonach */
.tt-table-scroll {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0;
}
.tt-spec-table, .tt-vs-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.94rem;
    border-radius: 0px !important;
    overflow: hidden;
    background: var(--tt-bg-card);
    color: var(--tt-text-main);
    border: 1px solid var(--tt-border);
}
.tt-spec-table th, .tt-vs-table th {
    background: #0f172a;
    color: #ffffff !important;
    text-align: left;
    padding: 13px 15px;
}
.tt-spec-table td, .tt-vs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--tt-border);
    color: var(--tt-text-body) !important;
}
.tt-spec-table tr:nth-child(even), .tt-vs-table tr:nth-child(even) {
    background: var(--tt-bg-soft);
}

.tt-verdict-box {
    background: var(--tt-bg-soft);
    border: 2px solid var(--tt-accent);
    padding: 22px;
    border-radius: 0px !important;
    margin: 26px 0;
    color: var(--tt-text-body) !important;
}
.tt-verdict-box h3 {
    margin-top: 0 !important;
    color: var(--tt-accent) !important;
}

.tt-affiliate-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: var(--tt-bg-card);
    border: 2px solid var(--tt-border);
    padding: 22px;
    border-radius: 0px !important;
    margin: 28px 0;
}
.tt-affiliate-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--tt-text-main) !important;
}
.tt-affiliate-desc {
    font-size: 0.9rem;
    color: var(--tt-text-muted) !important;
    margin: 0;
}
.tt-affiliate-btn {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 700;
    padding: 11px 18px;
    border-radius: 0px !important;
    text-decoration: none !important;
}

.tt-faq-section {
    margin: 30px 0;
}
.tt-faq-item {
    border: 1px solid var(--tt-border);
    border-radius: 0px !important;
    margin-bottom: 12px;
    background: var(--tt-bg-card);
    overflow: hidden;
}
.tt-faq-item summary {
    padding: 15px 18px;
    font-weight: 700;
    cursor: pointer;
    background: var(--tt-bg-soft);
    color: var(--tt-text-main) !important;
}
.tt-faq-answer {
    padding: 15px 18px;
    border-top: 1px solid var(--tt-border);
    color: var(--tt-text-body) !important;
}

.tt-discussion-cta {
    background: var(--tt-bg-card);
    border: 1px solid var(--tt-border);
    border-left: 5px solid var(--tt-red);
    padding: 20px 22px;
    border-radius: 0px !important;
    margin: 30px 0;
}
.tt-discussion-cta h4, .tt-discussion-cta p {
    color: var(--tt-text-body) !important;
}

.tt-newsletter-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc !important;
    padding: 24px;
    border-radius: 0px !important;
    margin: 30px 0;
    border: 1px solid #334155;
}
.tt-newsletter-box h4 {
    color: #38bdf8 !important;
    margin: 0 0 8px 0 !important;
}
.tt-newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.tt-newsletter-form input[type="email"] {
    flex: 1 1 220px;
    padding: 12px 14px;
    border-radius: 0px !important;
    border: 1px solid #475569;
    background: #090d16 !important;
    color: #ffffff !important;
}
.tt-newsletter-form button {
    background: #ef4444;
    color: #ffffff;
    font-weight: 700;
    border: none;
    padding: 12px 20px;
    border-radius: 0px !important;
    cursor: pointer;
}

.tt-author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--tt-bg-card);
    border: 1px solid var(--tt-border);
    padding: 24px;
    border-radius: 0px !important;
    margin-top: 36px;
}
.tt-author-meta h4, .tt-author-meta h4 a {
    margin: 0 0 6px 0 !important;
    font-size: 1.2rem;
    color: var(--tt-text-main) !important;
    text-decoration: none !important;
}
.tt-author-role {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(56, 189, 248, 0.15);
    color: var(--tt-accent) !important;
    padding: 4px 10px;
    border-radius: 0px !important;
    margin-bottom: 8px;
}
.tt-author-bio {
    font-size: 0.93rem;
    color: var(--tt-text-body) !important;
    line-height: 1.6;
    margin: 0;
}

.tt-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin: 28px 0;
}
.tt-editorial-card {
    background: var(--tt-bg-card) !important;
    border: 1px solid var(--tt-border) !important;
    border-radius: 0px !important;
    padding: 24px 20px;
    text-align: center;
}
.tt-editorial-card h3, .tt-editorial-card h3 a {
    color: var(--tt-text-main) !important;
    text-decoration: none !important;
}

.tt-home-reviews-showcase {
    background: linear-gradient(135deg, #0b0f19 0%, #151c2c 100%);
    color: #f8fafc;
    padding: 34px 18px;
    margin: 32px 0;
    border-top: 2px solid #2563eb;
    border-bottom: 2px solid #2563eb;
}
.tt-home-reviews-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.tt-home-reviews-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.tt-home-reviews-header h2 {
    color: #ffffff !important;
    margin: 0 !important;
    font-size: 1.4rem;
}
.tt-home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
}
.tt-home-review-card {
    background: #1a2234;
    border: 1px solid #2e3a52;
    border-radius: 0px !important;
    overflow: hidden;
}
.tt-home-review-thumb {
    position: relative;
    height: 170px;
}
.tt-home-review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tt-home-review-score {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #ffffff;
    font-weight: 900;
    padding: 5px 10px;
    border-radius: 0px !important;
    font-size: 0.9rem;
}
.tt-home-review-body {
    padding: 16px;
}
.tt-home-review-body h3 a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 1.05rem;
}

.tt-mega-footer {
    background: #060911;
    color: #cbd5e1;
    border-top: 3px solid #2563eb;
    padding: 48px 18px 26px 18px;
    margin-top: 56px;
    font-size: 0.9rem;
    position: relative;
    z-index: 15;
}
.tt-mega-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    padding-bottom: 32px;
    border-bottom: 1px solid #1e293b;
}
.tt-mega-footer h4 {
    color: #ffffff !important;
    font-size: 1rem;
    margin: 0 0 12px 0 !important;
    text-transform: uppercase;
}
.tt-mega-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tt-mega-footer li {
    margin-bottom: 8px;
}
.tt-mega-footer a {
    color: #94a3b8 !important;
    text-decoration: none !important;
}
.tt-mega-footer a:hover {
    color: #38bdf8 !important;
}
.tt-mega-footer-bottom {
    max-width: 1200px;
    margin: 22px auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8rem;
    color: #64748b;
}

.tt-cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: 960px;
    margin: 0 auto;
    background: #0f172a;
    color: #f8fafc;
    border: 1px solid #334155;
    border-radius: 0px !important;
    padding: 18px 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.86rem;
}
.tt-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.tt-cookie-btn-accept {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 9px 16px;
    border-radius: 0px !important;
    font-weight: 700;
    cursor: pointer;
}
.tt-cookie-btn-minimal {
    background: #1e293b;
    color: #cbd5e1;
    border: 1px solid #475569;
    padding: 9px 14px;
    border-radius: 0px !important;
    font-weight: 600;
    cursor: pointer;
}

/* 7. SZCZEGÓŁOWA RESPONSYWNOŚĆ NA TABLETY I SMARTFONY (NAPRAWA .article-layout.has-no-share I UCIEKAJĄCYCH KOLUMN) */
@media (max-width: 1024px) {
    .article-layout,
    .article-layout.has-no-share,
    .content-sidebar-wrap,
    .masonry-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .article-body-wrapper,
    .article-body,
    .sidebar-column,
    .main-content-column {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .tt-sidebar-sticky-ad {
        position: static !important;
    }
}

@media (max-width: 782px) {
    .container,
    .wp-site-blocks,
    main,
    article,
    .article-layout,
    .article-layout.has-no-share,
    .article-body-wrapper,
    .article-body,
    .sidebar-column,
    .entry-content,
    .wp-block-group,
    .wp-block-columns,
    .wp-block-column,
    .wp-block-query,
    .wp-block-post-template {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    .feed-grid,
    .related-posts-section .feed-grid,
    .bento-grid,
    .post-navigation .nav-links,
    .form-row-2 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .wp-block-columns {
        flex-direction: column !important;
    }
    .wp-block-post-template.is-flex-container,
    .wp-block-post-template.is-layout-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }
    .container,
    main,
    .wp-block-post-content {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .article-title {
        font-size: clamp(1.55rem, 6vw, 2.1rem) !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }
    .tt-cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }
    .tt-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .tt-spec-table, .tt-vs-table {
        display: block;
        overflow-x: auto;
        min-width: 0;
    }
}

/* ==========================================================================
   TechTendency Core v3.1 Patch - Spacing Fix, Light/Dark Newsletter Fix & Header 728x90 Slot
   ========================================================================== */

/* 1. LIKWIDACJA DUŻEJ PRZERWY MIĘDZY GŁÓWNYM ZDJĘCIEM ARTYKUŁU A TREŚCIĄ / SIDEBAREM */
.single-post .wp-block-post-featured-image,
.single .wp-block-post-featured-image,
figure.wp-block-post-featured-image {
    margin-bottom: 14px !important;
    padding-bottom: 0 !important;
}
.single-post main .wp-block-spacer,
.single main > .wp-block-group > .wp-block-spacer {
    height: 12px !important;
    min-height: 0 !important;
    margin: 0 !important;
}
.single-post .wp-block-columns,
.single .wp-block-columns {
    margin-top: 12px !important;
    padding-top: 0 !important;
}
.single-post .wp-block-post-content,
.single .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.single-post aside,
.single aside {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Redukcja gigantycznego paddingu .article-hero (8rem = 128px) i marginesu .hero-image-wrap (4rem = 64px) w motywie Newsum */
.article-hero {
    padding-top: 24px !important;
    padding-bottom: 16px !important;
    margin-bottom: 0 !important;
}
.article-hero .hero-image-wrap {
    margin-top: 20px !important;
    margin-bottom: 4px !important;
}
.article-layout,
.article-layout.has-no-share {
    margin-top: 8px !important;
    padding-top: 0 !important;
    gap: 32px !important;
}
.tt-top-billboard-wrap {
    margin: 10px auto 12px auto !important;
}
.tt-top-billboard-wrap .tt-ad-slot {
    margin: 8px auto !important;
    padding: 10px 14px !important;
}
.tt-ad-billboard .tt-ad-placeholder {
    min-height: 96px !important;
}

/* 2. NAPRAWA KONTRASTU BOKSU NEWSLETTERA ORAZ CIEMNYCH KART W JASNYM I CIEMNYM MOTYWIE */
/* W jasnym motywie boks Newslettera dopasowuje się do jasnej palety z wyraźnym akcentem, a w ciemnym do ciemnej */
.tt-newsletter-box {
    background: var(--tt-bg-soft) !important;
    color: var(--tt-text-main) !important;
    padding: 24px 26px !important;
    border-radius: 0px !important;
    margin: 28px 0 !important;
    border: 2px solid var(--tt-accent) !important;
    box-shadow: var(--tt-shadow) !important;
}
html.tt-dark .tt-newsletter-box,
body.tt-dark .tt-newsletter-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border-color: #38bdf8 !important;
}
.tt-newsletter-box h4 {
    color: var(--tt-accent) !important;
    margin: 0 0 8px 0 !important;
    font-size: 1.2rem !important;
}
.tt-newsletter-box p {
    color: var(--tt-text-body) !important;
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
    margin: 0 0 12px 0 !important;
}
html.tt-dark .tt-newsletter-box p,
body.tt-dark .tt-newsletter-box p {
    color: #e2e8f0 !important;
}
.tt-newsletter-form input[type="email"] {
    background: var(--tt-bg-card) !important;
    color: var(--tt-text-main) !important;
    border: 1px solid var(--tt-border) !important;
    padding: 12px 16px !important;
    border-radius: 0px !important;
}
html.tt-dark .tt-newsletter-form input[type="email"] {
    background: #090d16 !important;
    color: #ffffff !important;
    border-color: #475569 !important;
}

/* Zabezpieczenie białego tekstu w boksach w trybie ciemnym */
html.tt-dark .tt-tldr-box,
body.tt-dark .tt-tldr-box,
html.dark-theme .tt-tldr-box,
body.dark-theme .tt-tldr-box,
html[data-theme="dark"] .tt-tldr-box,
body[data-theme="dark"] .tt-tldr-box,
html.tt-dark .tt-tldr-box p,
html.tt-dark .tt-tldr-box li,
html.tt-dark .tt-tldr-box ul,
html.tt-dark .tt-review-scorecard,
body.tt-dark .tt-review-scorecard,
html.dark-theme .tt-review-scorecard,
body.dark-theme .tt-review-scorecard,
html[data-theme="dark"] .tt-review-scorecard,
body[data-theme="dark"] .tt-review-scorecard,
html.tt-dark .tt-review-scorecard p,
html.tt-dark .tt-review-scorecard span,
html.tt-dark .tt-review-scorecard div {
    color: #f8fafc !important;
}

/* 3. ZAGOSPODAROWANIE SLOTU 728x90 OBOK LOGO W NAGŁÓWKU (ZAMIAST CZERWONEJ WYKROPKOWANEJ RAMKI SPONSORSHIP) */
.newsum-header-sponsor-frame {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}
.tt-header-leaderboard-slot {
    width: 100%;
    max-width: 728px;
    margin-left: auto;
}
.tt-header-house-ad {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #2563eb;
    border-radius: 0px !important;
    padding: 14px 20px;
    min-height: 86px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
}
.tt-hha-badge {
    background: #ef4444;
    color: #ffffff !important;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 0px !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.tt-hha-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    flex: 1;
}
.tt-hha-text strong {
    color: #ffffff !important;
    font-size: 0.94rem;
    line-height: 1.3;
}
.tt-hha-text span {
    color: #cbd5e1 !important;
    font-size: 0.8rem;
}
.tt-hha-btn {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 10px 16px;
    border-radius: 0px !important;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}
.tt-hha-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}
@media (max-width: 960px) {
    .tt-header-house-ad {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
    }
}

/* ==========================================================================
   TechTendency Core v3.2 Patch - SVG Share Icons, Table Header Contrast Fix, Duplicate Reading Time Hide
   ========================================================================== */

/* 1. NAPRAWA KONTRASTU NAGŁÓWKÓW TABEL W JASNYM I CIEMNYM MOTYWIE (KONIEC BIAŁEGO TEKSTU NA JASNOSZARYM TLE!) */
.tt-spec-table thead tr,
.tt-vs-table thead tr,
.wp-block-table thead tr,
table thead tr {
    background-color: #0f172a !important;
}
.tt-spec-table th,
.tt-vs-table th,
.wp-block-table th,
.entry-content table th,
.article-body table th,
.wp-block-post-content table th {
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 0.83rem;
    letter-spacing: 0.05em;
    padding: 14px 16px !important;
    border-bottom: 2px solid #2563eb !important;
}

/* 2. UKRYCIE ZDUBLOWANEGO I PRZEKŁAMANEGO LICZNIKA "1 MIN CZYTANIA" MOTYWU NEWSUM NAD TYTUŁEM H1 ORAZ POLA STRONA WWW W KOMENTARZACH */
.single-post header .wp-block-post-time-to-read,
.single-post .newsum-reading-time,
.single-post .post-reading-time,
.single-post .article-meta-top .read-time,
.comment-form-url,
.comment-form-url-wrap {
    display: none !important;
}

/* Awatar na stronie profilu redaktora (/author/...) */
.author-masthead-img {
    width: 110px !important;
    height: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* 3. NOWOCZESNY PASEK UDOSTĘPNIANIA Z WEKTOROWYMI IKONAMI SVG W JEDNEJ LINII */
.tt-article-meta-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    background: var(--tt-bg-card) !important;
    border: 1px solid var(--tt-border) !important;
    border-radius: 0px !important;
    margin: 0 0 22px 0 !important;
}
.tt-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--tt-text-main) !important;
}
.tt-share-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
.tt-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 0px !important;
    border: 1px solid var(--tt-border) !important;
    background: var(--tt-bg-soft) !important;
    color: var(--tt-text-main) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    padding: 0 !important;
    position: relative;
}
.tt-icon-btn svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    pointer-events: none;
}
.tt-icon-btn:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}
.tt-icon-fb:hover {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
}
.tt-icon-x:hover {
    background: #000000 !important;
    border-color: #334155 !important;
}
.tt-icon-wa:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
}
.tt-icon-in:hover {
    background: #0A66C2 !important;
    border-color: #0A66C2 !important;
}
.tt-icon-copy:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
}
.tt-gnews-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    height: 38px !important;
    padding: 0 14px !important;
    border-radius: 0px !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}
.tt-gnews-pill svg {
    width: 16px !important;
    height: 16px !important;
    fill: #facc15 !important;
    flex-shrink: 0;
}
.tt-gnews-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.tt-copy-toast {
    font-size: 0.76rem;
    font-weight: 700;
    color: #22c55e;
    margin-left: 4px;
    display: none;
}

/* ==========================================================================
   TechTendency Core v3.3 Patch - Comment Title Alignment & Single Blockquote Border
   ========================================================================== */

/* 1. NAPRAWA ODSTĘPU NAGŁÓWKA "DOŁĄCZ DO DYSKUSJI" OD RAMKI KOMENTARZY */
.wp-block-comments,
#comments,
.comments-area {
    padding: 28px 32px !important;
    border-radius: 0px !important;
    background: var(--tt-bg-card) !important;
    border: 1px solid var(--tt-border) !important;
    margin-top: 36px !important;
    box-sizing: border-box !important;
}
#reply-title,
.comment-reply-title,
.wp-block-post-comments-form h3 {
    margin: 0 0 18px 0 !important;
    padding-left: 0 !important;
    font-size: 1.55rem !important;
    line-height: 1.3 !important;
    color: var(--tt-text-main) !important;
}
.comment-respond,
.wp-block-post-comments-form {
    padding: 24px 28px !important;
    border-radius: 0px !important;
    border: 1px solid var(--tt-border) !important;
    background: var(--tt-bg-elevated) !important;
    box-sizing: border-box !important;
}

/* 2. LIKWIDACJA PODWÓJNEJ CZERWONEJ LINII W CYTATACH (EFEKT RAMKI W RAMCE) */
blockquote,
.wp-block-quote,
.wp-block-pullquote {
    background: var(--tt-bg-card) !important;
    border: 1px solid var(--tt-border) !important;
    border-left: 4px solid var(--tt-red) !important;
    border-radius: 0px !important;
    padding: 22px 26px !important;
    margin: 26px 0 !important;
    box-shadow: var(--tt-shadow) !important;
}
/* Jeśli wewnątrz kontenera cytatu znajduje się wewnętrzny blockquote lub p z własnym obramowaniem – wyzeruj je */
.wp-block-quote blockquote,
blockquote blockquote,
.wp-block-quote p,
blockquote p {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    box-shadow: none !important;
    color: var(--tt-text-main) !important;
    font-style: italic;
    font-size: 1.08rem;
}
.wp-block-quote cite,
blockquote cite {
    display: block;
    margin-top: 10px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tt-red) !important;
}

@media (max-width: 640px) {
    .wp-block-comments,
    #comments,
    .comments-area,
    .comment-respond,
    .wp-block-post-comments-form {
        padding: 18px 16px !important;
    }
}

/* ==========================================================================
   TechTendency Core v3.4 Patch - Responsive YouTube Video Embed Box
   ========================================================================== */

.tt-video-box {
    background: var(--tt-bg-card) !important;
    border: 1px solid var(--tt-border) !important;
    border-radius: 0px !important;
    padding: 20px 22px !important;
    margin: 28px 0 !important;
    box-shadow: var(--tt-shadow) !important;
}
.tt-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.tt-video-badge {
    background: #ef4444;
    color: #ffffff !important;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 0px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tt-video-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--tt-text-main) !important;
    margin: 0 !important;
    flex: 1;
}
.tt-video-iframe-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0px !important;
    background: #000000;
}
.tt-video-iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}
.tt-video-caption {
    margin: 10px 0 0 0 !important;
    font-size: 0.82rem !important;
    color: var(--tt-text-muted) !important;
}

/* ==========================================================================
   TechTendency Core v3.5 Patch - Mobile Full-Width Fix, Table Fit & Review Bar Score Fix
   ========================================================================== */

/* 1. NAPRAWA ROZJECHANYCH OCEN CZĄSTKOWYCH (8.8/1 + 0 W NOWEJ LINII) W KARCIE WERDYKTU */
.tt-review-bars {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 16px 24px !important;
}
.tt-review-bar-label {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
    font-size: 0.9rem !important;
}
.tt-review-bar-label span:first-child {
    flex: 1 1 auto !important;
    line-height: 1.35 !important;
}
.tt-review-bar-label span:last-child {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-weight: 800 !important;
    color: #38bdf8 !important;
    font-variant-numeric: tabular-nums !important;
}

/* 2. POSZERZENIE WIDOKU MOBILNEGO (LIKWIDACJA POTRÓJNYCH MARGINESÓW ZOSTAWIAJĄCYCH WĄSKI KOMIN TEKSTU) */
@media (max-width: 782px) {
    :root,
    body,
    .wp-site-blocks {
        --wp--style--root--padding-left: 10px !important;
        --wp--style--root--padding-right: 10px !important;
    }

    /* Wyzerowanie zagnieżdżonych paddingów wewnętrznych bloków Gutenberga, które sumowały się do ~50px z każdej strony */
    .wp-site-blocks > main,
    .wp-site-blocks .wp-block-group,
    .wp-site-blocks .wp-block-columns,
    .wp-site-blocks .wp-block-column,
    .single-post main,
    .single-post article,
    .single-post .entry-content,
    .single-post .wp-block-post-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Jedyny, czysty i równy odstęp 10px od krawędzi ekranu telefonu na głównym kontenerze */
    .wp-site-blocks {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Dopasowanie tabel na telefonie, aby 3 kolumny mieściły się bez ucinania prawej strony (PERSPEK...) */
    .tt-spec-table,
    .tt-vs-table,
    .entry-content table,
    .wp-block-post-content table {
        display: table !important;
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        font-size: 0.81rem !important;
        margin: 18px 0 !important;
    }
    .tt-spec-table th,
    .tt-vs-table th,
    .entry-content table th,
    .wp-block-post-content table th {
        padding: 9px 7px !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.02em !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    .tt-spec-table td,
    .tt-vs-table td,
    .entry-content table td,
    .wp-block-post-content table td {
        padding: 9px 7px !important;
        font-size: 0.8rem !important;
        line-height: 1.38 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Kompaktowy pasek udostępniania na telefonie – wszystkie przyciski w jednym rzędzie */
    .tt-article-meta-bar {
        padding: 10px 12px !important;
        gap: 8px !important;
    }
    .tt-share-actions {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
    }
    .tt-gnews-pill {
        height: 34px !important;
        padding: 0 10px !important;
        font-size: 0.75rem !important;
        flex: 1 1 auto !important;
        justify-content: center !important;
    }
    .tt-icon-btn {
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
    }
    .tt-tldr-box,
    .tt-practical-box,
    .tt-protip-box,
    .tt-review-scorecard,
    .tt-affiliate-box,
    .tt-discussion-cta,
    .tt-newsletter-box,
    .tt-author-box {
        padding: 16px 14px !important;
        margin: 18px 0 !important;
    }
}

/* ==========================================================================
   TechTendency Core v3.6 Patch - Benchmark.pl Ad Tower, Video Ad, Dynamic Featured & Tag Bar
   ========================================================================== */

/* 1. UKRYCIE PLAKIETKI "NA FALI" NA GÓRNYM PASKU (ZOSTAJĄ SAME TAGI) */
.tt-trending-badge {
    display: none !important;
}

/* 2. CAŁKOWITE UKRYCIE WIDŻETÓW WORDPRESSA W PRAWYM PASKU BOCZNYM (SZUKAJ, OSTATNIE WPISY, KOMENTARZE, ARCHIWA, KATEGORIE) */
aside.sidebar-column > *:not(.tt-ad-tower):not(.tt-tower-unit),
.single-post .wp-block-columns > .wp-block-column:last-child > *:not(.tt-ad-tower):not(.tt-tower-unit) {
    display: none !important;
}

/* 3. WIEŻA REKLAMOWA W PRAWEJ KOLUMNIE (STYL BENCHMARK.PL - JEDNA POD DRUGĄ + ANIMACJA PRZY SKROLOWANIU) */
.tt-ad-tower {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    min-height: 100% !important;
    padding-bottom: 40px !important;
}
.tt-tower-unit {
    background: var(--tt-bg-card) !important;
    border: 1px solid var(--tt-border) !important;
    border-radius: 0px !important;
    padding: 14px !important;
    text-align: center !important;
    box-shadow: var(--tt-shadow) !important;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease !important;
}
.tt-tower-unit.tt-ad-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.tt-tower-unit-sticky {
    position: sticky !important;
    top: 24px !important;
    z-index: 9 !important;
}
.tt-tower-card {
    border-radius: 0px !important;
    overflow: hidden;
    border: 1px dashed var(--tt-border);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 58, 138, 0.38) 100%);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #f8fafc;
}
.tt-tower-300x600 .tt-tower-card {
    min-height: 540px;
}
.tt-tower-300x250 .tt-tower-card {
    min-height: 250px;
}
.tt-tower-brand {
    background: #ef4444;
    color: #ffffff !important;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 0px !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.tt-tower-headline {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3;
}
.tt-tower-sub {
    font-size: 0.82rem;
    color: #cbd5e1 !important;
    margin: 0 0 16px 0 !important;
}
.tt-tower-cta {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 9px 18px;
    border-radius: 0px !important;
    text-decoration: none !important;
}

/* 4. SZEROKA REKLAMA PRODUKTOWA ŚRÓDTEKSTOWA + DEDYKOWANA REKLAMA WIDEO OUTSTREAM (WZORZEC BENCHMARK.PL) */
.tt-wide-product-ad {
    margin: 30px 0 !important;
    padding: 18px 22px !important;
    background: var(--tt-bg-card) !important;
    border: 1px solid var(--tt-border) !important;
    border-radius: 0px !important;
    box-shadow: var(--tt-shadow) !important;
}
.tt-wide-product-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 0px !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
}
.tt-wide-product-info h4 {
    color: #ffffff !important;
    font-size: 1.22rem !important;
    margin: 0 0 6px 0 !important;
}
.tt-wide-product-info p {
    color: #cbd5e1 !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}
.tt-wide-product-btn {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: 0px !important;
    text-decoration: none !important;
    white-space: nowrap;
}

/* Odtwarzacz Reklamy Wideo Outstream (jak na zrzucie z benchmark.pl) */
.tt-outstream-video-ad {
    margin: 32px 0 !important;
    background: #0b0f19 !important;
    border: 1px solid #263044 !important;
    border-radius: 0px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}
.tt-outstream-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    background: #131824;
    border-bottom: 1px solid #263044;
}
.tt-outstream-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1e293b;
    border: 1px solid #475569;
    color: #f8fafc !important;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 0px !important;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}
.tt-outstream-title {
    color: #f8fafc !important;
    font-size: 0.85rem;
    font-weight: 700;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tt-outstream-meta {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
}
.tt-outstream-stage {
    position: relative;
    height: 250px;
    background: radial-gradient(circle at center, #1e3a8a 0%, #060913 75%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    text-align: center;
    overflow: hidden;
}
.tt-outstream-play-ring {
    width: 56px;
    height: 56px;
    border-radius: 0px !important;
    background: rgba(239, 68, 68, 0.92);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 12px;
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.22);
    animation: ttPulseVideo 2.2s infinite;
    flex-shrink: 0;
}
@keyframes ttPulseVideo {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.tt-outstream-stage h5 {
    color: #ffffff !important;
    font-size: 1.02rem !important;
    line-height: 1.3 !important;
    margin: 0 0 5px 0 !important;
}
.tt-outstream-stage p {
    color: #93c5fd !important;
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .tt-outstream-video-ad {
        margin: 18px 0 !important;
    }
    .tt-outstream-topbar {
        padding: 7px 12px !important;
        gap: 8px !important;
    }
    .tt-outstream-title {
        display: none !important;
    }
    .tt-outstream-stage {
        height: 152px !important;
        padding: 12px 14px !important;
    }
    .tt-outstream-play-ring {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    .tt-outstream-stage h5 {
        font-size: 0.86rem !important;
        line-height: 1.25 !important;
        margin: 0 0 3px 0 !important;
    }
    .tt-outstream-stage p {
        font-size: 0.72rem !important;
        line-height: 1.25 !important;
    }
}
.tt-outstream-progress {
    height: 4px;
    width: 100%;
    background: #1e293b;
}
.tt-outstream-progress-bar {
    height: 100%;
    width: 38%;
    background: #ef4444;
}

/* 5. DYNAMICZNY BOKS "TEMAT DNIA" NA STRONIE GŁÓWNEJ (ZAMIAST STATYCZNEJ ANGIELSKIEJ ATRAPY) */
.tt-dynamic-featured-wrap {
    max-width: 1200px;
    margin: 26px auto;
    padding: 0 12px;
}
.tt-dynamic-featured-header {
    border-bottom: 2px solid #ef4444;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}
.tt-dynamic-featured-tab {
    background: #ef4444;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 8px 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tt-dynamic-featured-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: var(--tt-bg-card);
    border: 1px solid var(--tt-border);
    border-radius: 0px !important;
    overflow: hidden;
    box-shadow: var(--tt-shadow);
}
.tt-dynamic-featured-img {
    position: relative;
    min-height: 340px;
    background: #0f172a;
}
.tt-dynamic-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tt-dynamic-featured-body {
    padding: 32px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tt-dynamic-featured-kicker {
    display: inline-block;
    align-self: flex-start;
    background: rgba(239, 68, 68, 0.16);
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.35);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 0px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.tt-dynamic-featured-body h2 {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
    margin: 0 0 14px 0 !important;
}
.tt-dynamic-featured-body h2 a {
    color: var(--tt-text-main) !important;
    text-decoration: none !important;
}
.tt-dynamic-featured-body p {
    color: var(--tt-text-body) !important;
    font-size: 0.96rem !important;
    line-height: 1.65 !important;
    margin: 0 0 22px 0 !important;
}
.tt-dynamic-featured-btn {
    align-self: flex-start;
    display: inline-block;
    padding: 11px 20px;
    border: 2px solid #ef4444;
    color: var(--tt-text-main) !important;
    font-weight: 800;
    font-size: 0.86rem;
    border-radius: 0px !important;
    text-decoration: none !important;
    transition: all 0.18s ease;
}
.tt-dynamic-featured-btn:hover {
    background: #ef4444;
    color: #ffffff !important;
}
@media (max-width: 860px) {
    .tt-dynamic-featured-card {
        grid-template-columns: 1fr;
    }
    .tt-dynamic-featured-img {
        min-height: 220px;
    }
    .tt-dynamic-featured-body {
        padding: 20px 18px;
    }
}

/* ==========================================================================
   TechTendency Core v3.8 Patch - Fix Right Column Visibility, Live Tabs, Trending Counter & Multimedia Clean
   ========================================================================== */

/* 1. PRZYWRÓCENIE WIDOCZNOŚCI PRAWEJ KOLUMNY (NAPRAWA CZARNEJ DZIURY OBOK NAJNOWSZYCH PUBLIKACJI) */
.single-post .wp-block-columns > .wp-block-column:last-child > * {
    display: block !important;
}
aside > .tt-ad-tower,
.tt-home-right-ad-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
}
.tt-tower-unit {
    opacity: 1 !important;
    transform: none !important;
}

/* 2. REDUKCJA ZBYT DUŻYCH DZIUR POMIĘDZY SEKCJAMI STRONY GŁÓWNEJ */
.home .wp-block-group,
.front-page .wp-block-group {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}
.home .wp-block-spacer {
    height: 14px !important;
    min-height: 0 !important;
}

/* 3. AKTYWNE ZAKŁADKI FILTROWANIA NA STRONIE GŁÓWNEJ (WSZYSTKIE | WYBÓR REDAKCJI | NA TOPIE | KOMENTOWANE) */
.tt-live-tabs-bar,
.feed-filters.tt-live-tabs-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
}
.tt-live-tab-btn {
    background: var(--tt-bg-soft) !important;
    color: var(--tt-text-muted) !important;
    border: 1px solid var(--tt-border) !important;
    padding: 6px 13px !important;
    border-radius: 0px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    text-decoration: none !important;
}
.tt-live-tab-btn:hover,
.tt-live-tab-btn.tt-tab-active {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

/* 4. LICZNIK ODSŁON I KOMENTARZY W PASKU METADANYCH ORAZ NA KARTACH */
.tt-views-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--tt-bg-soft);
    border: 1px solid var(--tt-border);
    color: var(--tt-text-main) !important;
    padding: 4px 10px;
    border-radius: 0px !important;
    font-size: 0.82rem;
    font-weight: 700;
}

/* 5. UKRYCIE FAŁSZYWYCH CZASÓW WIDEO (18:45, 24:10) I IKONEK PLAY W SEKCJI MULTIMEDIA / PRZEŚWIETLENIA */
.tt-hide-fake-media-badge,
#multimediaSection .play-btn,
#multimediaSection .duration,
.media-card .play-btn,
.media-card .duration {
    display: none !important;
}

/* 6. BOKS "NAJCZĘŚCIEJ KOMENTOWANE I NA TOPIE" NAD WIEŻĄ REKLAMOWĄ W PRAWEJ SZPALCIE */
.tt-trending-sidebar-box {
    background: var(--tt-bg-card);
    border: 1px solid var(--tt-border);
    border-top: 3px solid #ef4444;
    border-radius: 0px !important;
    padding: 18px;
    margin-bottom: 8px;
    text-align: left;
    box-shadow: var(--tt-shadow);
}
.tt-trending-sidebar-header {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--tt-border);
    padding-bottom: 10px;
}
.tt-ts-tab {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
    border-radius: 0px !important;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    background: var(--tt-bg-soft);
    color: var(--tt-text-muted);
    border: 1px solid var(--tt-border);
}
.tt-ts-tab.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}
.tt-ts-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.tt-ts-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--tt-border);
}
.tt-ts-item:last-child {
    border-bottom: none;
}
.tt-ts-rank {
    background: #1e293b;
    color: #38bdf8;
    font-weight: 900;
    font-size: 0.78rem;
    width: 24px;
    height: 24px;
    border-radius: 0px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.tt-ts-info a {
    color: var(--tt-text-main) !important;
    font-weight: 700;
    font-size: 0.86rem;
    line-height: 1.35;
    text-decoration: none !important;
    display: block;
}
.tt-ts-info a:hover {
    color: var(--tt-accent) !important;
}
.tt-ts-meta {
    font-size: 0.73rem;
    color: var(--tt-text-muted);
    margin-top: 3px;
}

/* ==========================================================================
   TechTendency Core v3.9 Patch - Sticky Fix (overflow: clip) & Mobile Menu Fix
   ========================================================================== */

/* 1. NAPRAWA POSITION: STICKY (ZAMIANA OVERFLOW-X: HIDDEN NA OVERFLOW-X: CLIP, KTÓRE NIE PSUJE STICKY) */
html, body {
    overflow-x: clip !important;
    overflow-y: visible !important;
}
.wp-site-blocks,
.site-main,
.site-content {
    overflow-x: clip !important;
}

/* 2. BEZWZGLĘDNE WYKLUCZENIE MENU MOBILNEGO SPOD WSTRZYKIWANIA WIEŻY REKLAMOWEJ */
aside#offcanvasDrawer,
.offcanvas-drawer {
    display: flex !important;
    flex-direction: column !important;
}
aside#offcanvasDrawer > *:not(.tt-ad-tower),
.offcanvas-drawer > *:not(.tt-ad-tower) {
    display: flex !important;
}
aside#offcanvasDrawer .tt-ad-tower,
.offcanvas-drawer .tt-ad-tower {
    display: none !important;
}

/* 3. PRAWDZIWY PŁYWAJĄCY BANER (STICKY) W PRAWEJ SZPALCIE */
.sidebar-column,
.wp-block-columns > .wp-block-column:last-child {
    position: relative !important;
    align-self: stretch !important;
}
.tt-ad-tower {
    height: 100% !important;
}
.tt-tower-unit-sticky {
    position: sticky !important;
    top: 84px !important;
    z-index: 9 !important;
}

/* 4. ZMNIEJSZENIE ODSTĘPÓW MIĘDZY SEKCJAMI STRONY GŁÓWNEJ */
.the-wire-section,
.media-section,
.category-accordion-wrapper,
.tt-dynamic-featured-wrap,
.tt-home-reviews-showcase {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

/* ==========================================================================
   TechTendency Core v3.10 Patch - True Sticky Track Fix & Zero Gaps Layout
   ========================================================================== */

/* 0. PRZYWRÓCENIE WIDOCZNOŚCI BEZPOŚREDNICH DZIECI ASIDE.SIDEBAR-COLUMN ORAZ MENU MOBILNEGO #OFFCANVASDRAWER */
aside.sidebar-column > * {
    display: block !important;
}
aside#offcanvasDrawer > * {
    display: block !important;
}
aside#offcanvasDrawer .drawer-header {
    display: flex !important;
}

/* 1. ABY BANER STICKY MÓGŁ PŁYWAĆ W DÓŁ, KOLUMNA BOCZNA MUSI ROZCIĄGAĆ SIĘ NA CAŁĄ WYSOKOŚĆ LEWEJ KOLUMNY (ALIGN-ITEMS: STRETCH!) */
@media (min-width: 1025px) {
    .article-layout,
    .article-layout.has-no-share,
    .content-sidebar-wrap,
    .content-sidebar-wrap.sidebar-right {
        display: grid !important;
        align-items: stretch !important;
    }
    aside.sidebar-column {
        align-self: stretch !important;
        height: auto !important;
        min-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 22px !important;
        position: relative !important;
    }
    /* Wszystkie elementy w sidebarze są bezpośrednimi dziećmi aside.sidebar-column, dzięki czemu ostatni element sticky ma długi tor jazdy w dół! */
    aside.sidebar-column > .tt-tower-unit-sticky {
        position: sticky !important;
        top: 92px !important;
        z-index: 20 !important;
        margin-top: 4px !important;
    }
}

/* 2. IDEALNE WYRÓWNANIE WYSOKOŚCI LEWEGO DUŻEGO KAFELKA I 3 KART PO PRAWEJ W "NAJNOWSZE PUBLIKACJE" (ZERO DZIUR!) */
.mixed-block {
    display: grid !important;
    grid-template-columns: 1.15fr 1fr !important;
    gap: 22px !important;
    align-items: stretch !important;
    margin-bottom: 24px !important;
}
.mixed-main .article-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
.mixed-list {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 14px !important;
}
.mixed-list .list-card {
    flex: 1 1 0 !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}
@media (max-width: 900px) {
    .mixed-block {
        grid-template-columns: 1fr !important;
    }
}

/* 3. KOMPAKTOWE ODSTĘPY POMIĘDZY SEKCJAMI STRONY GŁÓWNEJ (KONIEC Z CZARNYMI DZIURAMI) */
.site-main > section,
.site-main > div {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.tt-top-billboard-wrap {
    margin: 14px auto !important;
}
.category-accordion-wrapper,
.the-wire-section,
.media-section,
.newsletter-cta-section {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* 4. OCHRONA MENU MOBILNEGO (#offcanvasDrawer) NA TELEFONACH */
#offcanvasDrawer .drawer-nav,
#offcanvasDrawer .drawer-content,
#offcanvasDrawer ul.menu,
#offcanvasDrawer ul.menu li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Fix sticky scroll container on html/body and make sticky stack engage smoothly */
html, body {
    overflow-x: clip !important;
    overflow-y: visible !important;
}
.tt-trending-sidebar-box {
    padding: 14px 16px !important;
}
.tt-ts-item {
    padding: 6px 0 !important;
}


/* ==========================================================================
   TechTendency Core v3.11 Patch - Benchmark.pl / Spider's Web Final Layout
   ========================================================================== */

/* 1. BOCZNE SKRZYDŁA REKLAMOWE (WALLPAPER SKIN TAKEOVER) NA EKRANACH >= 1440PX BEZ NACHODZENIA NA TREŚĆ */
@media (min-width: 1440px) {
    .site-header,
    .tt-trending-bar,
    .tt-top-billboard-wrap,
    .site-main,
    .tt-home-reviews-showcase,
    .tt-mega-footer,
    .site-footer {
        max-width: 1180px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        position: relative !important;
        z-index: 10 !important;
    }
    .site-main {
        background: var(--tt-bg-wrapper) !important;
        box-shadow: 0 0 48px rgba(0, 0, 0, 0.55) !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        border-radius: 0px !important;
    }
    .tt-wallpaper-takeover {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }
    .tt-wallpaper-wing {
        position: fixed !important;
        top: 90px !important;
        width: calc((100vw - 1180px) / 2 - 20px) !important;
        min-width: 100px !important;
        max-width: 280px !important;
        height: 620px !important;
        pointer-events: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 3 !important;
    }
    .tt-wallpaper-left {
        left: 8px !important;
    }
    .tt-wallpaper-right {
        right: 8px !important;
    }
}

/* 2. IDEALNE DOPASOWANIE WYSOKOŚCI LEWEJ I PRAWEJ KOLUMNY ORAZ STICKY TOP: 90PX */
html, body {
    overflow-x: clip !important;
    overflow-y: visible !important;
}
@media (min-width: 1025px) {
    .content-sidebar-wrap,
    .content-sidebar-wrap.sidebar-right,
    .article-layout,
    .article-layout.has-no-share {
        display: grid !important;
        align-items: stretch !important;
    }
    aside.sidebar-column {
        align-self: stretch !important;
        height: auto !important;
        min-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        position: relative !important;
    }
    /* Na stronie głównej 2 sloty reklamowe wypełniają 100% wysokości prawej kolumny, likwidując czarną dziurę */
    #masonrySectionWrap aside.sidebar-column > .tt-tower-unit:first-child {
        flex: 1.35 1 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    #masonrySectionWrap aside.sidebar-column > .tt-tower-unit:last-child {
        flex: 1 1 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    #masonrySectionWrap aside.sidebar-column > .tt-tower-unit .tt-tower-card {
        flex: 1 1 auto !important;
        min-height: 0 !important;
    }
    /* Pływający ostatni baner w prawej kolumnie */
    aside.sidebar-column > .tt-tower-unit-sticky,
    .tt-tower-unit-sticky {
        position: sticky !important;
        top: 90px !important;
        z-index: 20 !important;
    }
}

/* 3. ZWARTE ODSTĘPY PIONOWE POMIĘDZY SEKCJAMI STRONY GŁÓWNEJ (16-24PX, BRAK DZIUR) */
.the-wire-section,
.hero-section,
.marquee-bar,
.category-accordion-wrapper,
.tt-dynamic-featured-wrap,
.media-section,
.newsletter-cta-section,
.tt-home-reviews-showcase {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.tt-top-billboard-wrap {
    margin: 16px auto !important;
}



/* ==========================================================================
   MODUŁ 3.12: USUNIĘCIE PASKA "NA TOPIE" Z MOBILE, JEDNA RAMKA W KOMENTARZACH,
   SPÓJNY PRZYCISK NEWSLETTERA ORAZ STYLIZACJA PRZYCISKÓW INTERAKTYWNYCH
   ========================================================================== */

/* 1. CAŁKOWITE USUNIĘCIE PASKA "NA TOPIE" (#trendingTickerHeader / .tt-trending-bar) Z WIDOKU MOBILNEGO */
@media (max-width: 991px) {
    #trendingTickerHeader,
    .trending-ticker,
    .tt-trending-bar,
    .marquee-bar {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }
}

/* 2. SEKCJA "DOŁĄCZ DO DYSKUSJI" (#comments) - TYLKO JEDNA CZYSTA RAMKA NA KAŻDYM WIDOKU */
#comments.comments-area {
    background: #131824 !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-radius: 0px !important;
    padding: 28px 32px !important;
    margin: 28px 0 0 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28) !important;
}

/* Usunięcie drugiej (#respond) i trzeciej (#commentform) wewnętrznej ramki i ich duplikujących się paddingów */
#comments #respond,
#comments .comment-respond,
#respond.comment-respond,
#comments #commentform,
#comments .comment-form,
#commentform.comment-form {
    background: transparent !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0px !important;
    width: 100% !important;
    max-width: 100% !important;
}

#comments .comment-reply-title {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #f8fafc !important;
    border: none !important;
}

#comments .comment-notes {
    margin: 0 0 18px 0 !important;
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
}

#comments .comment-form-comment,
#comments .comment-form-author-wrap,
#comments .comment-form-email-wrap {
    margin-bottom: 16px !important;
}

#comments label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #cbd5e1 !important;
}

#comments textarea#comment,
#comments input#author,
#comments input#email,
#comments input#url {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #0b0f19 !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 0px !important;
    padding: 12px 16px !important;
    color: #f8fafc !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#comments textarea#comment:focus,
#comments input#author:focus,
#comments input#email:focus {
    outline: none !important;
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.18) !important;
}

#comments #submit,
#comments .comment-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0px !important;
    padding: 13px 28px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

#comments #submit:hover,
#comments .comment-submit-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.5) !important;
}

@media (max-width: 768px) {
    #comments.comments-area {
        padding: 20px 16px !important;
        border-radius: 0px !important;
        margin-top: 20px !important;
    }
    #comments #submit,
    #comments .comment-submit-btn {
        width: 100% !important;
    }
}

/* 3. SPÓJNY PRZYCISK "ZAPISZ SIĘ ZA DARMO →" I FORMULARZ NEWSLETTERA NA CAŁEJ STRONIE */
.newsletter-cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #172033 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-radius: 0px !important;
    padding: 32px 36px !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35) !important;
}

.newsletter-form-block .input-group,
.tt-newsletter-form,
.footer-newsletter-form .footer-input-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
}

.newsletter-form-block input[type="email"],
.tt-newsletter-form input[type="email"],
.footer-newsletter-form input[type="email"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 48px !important;
    background: #0b0f19 !important;
    color: #f8fafc !important;
    border: 1px solid rgba(148, 163, 184, 0.32) !important;
    border-radius: 0px !important;
    padding: 0 16px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.newsletter-form-block input[type="email"]:focus,
.tt-newsletter-form input[type="email"]:focus,
.footer-newsletter-form input[type="email"]:focus {
    outline: none !important;
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2) !important;
}

.newsletter-form-block button,
.newsletter-form-block .btn-primary,
.tt-newsletter-form button,
.footer-newsletter-form button,
button.tt-nl-submit-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    padding: 0 24px !important;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0px !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.38) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}

.newsletter-form-block button:hover,
.newsletter-form-block .btn-primary:hover,
.tt-newsletter-form button:hover,
.footer-newsletter-form button:hover,
button.tt-nl-submit-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.55) !important;
    filter: brightness(1.06) !important;
}

.tt-nl-feedback {
    margin-top: 12px !important;
    padding: 10px 14px !important;
    border-radius: 0px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}
.tt-nl-success {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #34d399 !important;
}
.tt-nl-error {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #f87171 !important;
}

@media (max-width: 640px) {
    .newsletter-cta-section {
        padding: 22px 18px !important;
    }
    .newsletter-form-block .input-group,
    .tt-newsletter-form,
    .footer-newsletter-form .footer-input-wrap {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .newsletter-form-block button,
    .newsletter-form-block .btn-primary,
    .tt-newsletter-form button,
    .footer-newsletter-form button,
    button.tt-nl-submit-btn {
        width: 100% !important;
    }
}

/* 4. WYRAŹNE PRZYCISKI STRZAŁEK SLIDERA (#sliderPrev, #sliderNext) W SEKCJI HERO */
#sliderPrev,
#sliderNext,
.slider-nav .nav-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 0px !important;
    background: rgba(15, 23, 42, 0.82) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease !important;
}
#sliderPrev:hover,
#sliderNext:hover,
.slider-nav .nav-btn:hover {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    transform: scale(1.06) !important;
}

/* ==========================================================================
   MODUŁ 3.13: SEGMENTED BAR DLA "NAJNOWSZE PUBLIKACJE", MINIMALISTYCZNY
   NAGŁÓWEK MOBILNY BEZ DATY, LIKWIDACJA DZIUR 128PX/152PX NA DESKTOPIE
   ORAZ NOWOCZESNY BOKS AFILIACYJNY ADMITAD
   ========================================================================== */

/* 1. LIKWIDACJA DUŻYCH ODSTĘPÓW (DZIUR 128PX I 152PX) POMIĘDZY SEKCJAMI STRONY GŁÓWNEJ */
.site-main,
main#primary.site-main {
    padding-top: 14px !important;
    padding-bottom: 18px !important;
}

.content-sidebar-wrap,
.content-sidebar-wrap.sidebar-right,
.hero-live-wall,
.category-accordion,
.feed-grid,
.mixed-block {
    margin-bottom: 0 !important;
}

#masonrySectionWrap .main-column {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 20px !important;
}

#masonrySectionWrap .feed-header,
.category-accordion-wrapper .feed-header,
.media-section .feed-header {
    margin-bottom: 16px !important;
}

.the-wire-section,
.hero-section-wrapper,
.marquee-banner,
.category-accordion-wrapper,
.tt-dynamic-featured-wrap,
.media-section,
.newsletter-cta-section,
.tt-home-reviews-showcase {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.tt-top-billboard-wrap {
    margin: 12px auto !important;
}

.tt-mega-footer {
    margin-top: 24px !important;
}

/* 2. NOWOCZESNY SEGMENTED CONTROL DLA "NAJNOWSZE PUBLIKACJE" (DESKTOP & MOBILE) */
#masonryFeedHeader {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16) !important;
    margin-bottom: 18px !important;
}

#masonryFeedHeader h2 {
    margin: 0 !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    line-height: 1.2 !important;
}

#masonryFeedHeader h2::before {
    content: "" !important;
    display: inline-block !important;
    width: 4px !important;
    height: 22px !important;
    background: #e11d48 !important;
    border-radius: 0px !important;
    flex-shrink: 0 !important;
}

#masonryFeedHeader .feed-filters.tt-live-tabs-bar {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
    background: #0b0f19 !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 0px !important;
    padding: 4px !important;
    margin: 0 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

#masonryFeedHeader .tt-live-tab-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    color: #94a3b8 !important;
    border: none !important;
    border-radius: 0px !important;
    padding: 7px 14px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease !important;
    margin: 0 !important;
}

#masonryFeedHeader .tt-live-tab-btn:hover {
    color: #f8fafc !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

#masonryFeedHeader .tt-live-tab-btn.tt-tab-active {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(225, 29, 72, 0.35) !important;
}

/* 3. WIDOK MOBILNY (<= 991px): USUNIĘCIE PASKA Z DATĄ, MINIMALISTYCZNY WĄSKI NAGŁÓWEK LOGO ORAZ RÓWNE MENU "NAJNOWSZE PUBLIKACJE" */
@media (max-width: 991px) {
    /* Całkowite usunięcie paska z datą (.header-super-top) na widoku mobilnym */
    .site-header .header-super-top,
    .header-super-top,
    #currentDate,
    .utility-row {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Zwężony, minimalistyczny pasek z logo oraz dolny pasek nawigacji mobilnej */
    .site-header .header-top {
        padding: 6px 12px !important;
        min-height: 0 !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
    }
    .site-header .header-top .header-inner {
        min-height: 36px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .site-header .brand-logo img,
    .site-header .custom-logo {
        max-height: 30px !important;
        width: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .site-header .header-bottom {
        padding: 4px 12px !important;
        min-height: 38px !important;
    }
    .site-header .header-bottom .nav-row {
        min-height: 34px !important;
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    /* Na telefonie tytuł "NAJNOWSZE PUBLIKACJE" nad paskiem, a 4 zakładki w idealnej 1-wierszowej siatce na 100% szerokości */
    #masonryFeedHeader {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding-bottom: 10px !important;
        margin-bottom: 14px !important;
    }
    #masonryFeedHeader h2 {
        font-size: 1.12rem !important;
    }
    #masonryFeedHeader .feed-filters.tt-live-tabs-bar {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 3px !important;
        padding: 3px !important;
    }
    #masonryFeedHeader .tt-live-tab-btn {
        padding: 8px 4px !important;
        font-size: 0.72rem !important;
        text-align: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* 4. STYLIZACJA BOKSU AFILIACYJNEGO ADMITAD (.tt-admitad-ready) */
.tt-aff-price-pill {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(16, 185, 129, 0.16) !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
    color: #34d399 !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    padding: 3px 10px !important;
    border-radius: 0px !important;
}

/* === START MODULE 3.14 CSS === */

/* 1. GÓRNE MENU (.header-bottom) JAKO STICKY + CZERWONY PASEK POSTĘPU (#readingProgressBar) BEZPOŚREDNIO POD MENU */
/* Uwaga: header.site-header musi mieć z-index > main#primary (z-index: 10), aby main#primary nie przykrywał przyklejonego menu podczas skrolowania! */
header.site-header {
    position: relative !important;
    z-index: 9990 !important;
}
.site-header .header-bottom,
#ttStickyHeaderBar {
    position: sticky !important;
    top: 0 !important;
    z-index: 9995 !important;
    background: #0f172a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    filter: none !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16) !important;
    transition: box-shadow 0.2s ease, background 0.2s ease !important;
}

.site-header .header-bottom.tt-is-sticky,
#ttStickyHeaderBar.tt-is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9995 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55) !important;
}

body.admin-bar .site-header .header-bottom.tt-is-sticky,
body.admin-bar #ttStickyHeaderBar.tt-is-sticky {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header .header-bottom.tt-is-sticky,
    body.admin-bar #ttStickyHeaderBar.tt-is-sticky {
        top: 46px !important;
    }
}

@media (min-width: 1440px) {
    .site-header .header-bottom.tt-is-sticky,
    #ttStickyHeaderBar.tt-is-sticky {
        max-width: 1180px !important;
        margin: 0 auto !important;
    }
}

/* Czerwony pasek postępu czytania przyklejony bezpośrednio pod dolną krawędzią górnego menu */
.site-header .header-bottom .reading-progress-container,
#ttHeaderProgressContainer {
    position: absolute !important;
    top: auto !important;
    bottom: -3px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    z-index: 9996 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.site-header .header-bottom .reading-progress-bar,
#ttHeaderProgressContainer #ttReadingProgressBar,
#ttHeaderProgressContainer #readingProgressBar {
    height: 100% !important;
    background: linear-gradient(90deg, #e11d48 0%, #fb7185 100%) !important;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.7) !important;
    transition: width 0.08s linear !important;
}

/* 2. UKŁAD 2-KOLUMNOWY Z REKLAMĄ PO PRAWEJ STRONIE (Gorące Tematy, Raport Specjalny, Nasze Analizy Sprzętowe) */
.tt-section-with-right-ad {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 24px !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.tt-section-right-ad {
    width: 300px !important;
    max-width: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
    box-sizing: border-box !important;
}

.tt-section-right-ad .tt-ad-slot {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 250px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Dopasowanie siatki 2 kart w sekcji Nasze Analizy Sprzętowe po lewej stronie reklamy */
.tt-home-reviews-showcase .tt-section-with-right-ad .tt-home-reviews-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin: 0 !important;
    width: 100% !important;
    align-items: stretch !important;
}

.tt-home-reviews-showcase .tt-home-review-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
}

/* Dopasowanie karty Raportu Specjalnego po lewej stronie reklamy */
.tt-dynamic-featured-wrap .tt-section-with-right-ad .tt-dynamic-featured-card {
    height: 100% !important;
    margin: 0 !important;
}

@media (max-width: 991px) {
    .tt-section-with-right-ad {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }
    .tt-section-right-ad {
        width: 100% !important;
        max-width: 100% !important;
    }
    .tt-home-reviews-showcase .tt-section-with-right-ad .tt-home-reviews-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }
}

/* 3. NAPRAWA LOGO W WIDOKU MOBILNYM (<= 991px): Oryginalny rozmiar, wyrównanie DO LEWEJ, zero dziur góra/dół */
@media (max-width: 991px) {
    .site-header .header-top {
        padding: 4px 12px !important;
        min-height: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
    }
    .site-header .header-top .header-inner {
        min-height: 0 !important;
        padding: 2px 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    .site-header .header-top .header-inner > div:first-child {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }
    .site-header .brand-logo,
    .site-header .custom-logo-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }
    .site-header .brand-logo img,
    .site-header img.custom-logo,
    .site-header .custom-logo {
        max-height: 44px !important;
        height: 40px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    /* Usunięcie dziur (odstępów) powyżej i poniżej nagłówka mobilnego */
    body > .tt-top-billboard-wrap {
        margin: 4px auto !important;
        padding: 0 10px !important;
    }
    main#primary.site-main {
        padding-top: 6px !important;
    }
    #masonrySectionWrap {
        margin-top: 4px !important;
    }
}

/* === END MODULE 3.14 CSS === */

/* === START MODULE 3.15 DEAL ZONE CSS === */
/* Całkowite ukrycie starych, niebieskich boksów .tt-affiliate-box zaszytych w starszych szkicach */
.tt-affiliate-box {
    display: none !important;
}
/* Spójna kolorystyka górnego szerokiego banera produktowego w artykułach */
.tt-wide-product-btn {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(251, 113, 133, 0.35) !important;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35) !important;
    border-radius: 0px !important;
}
.tt-deal-zone {
    position: relative !important;
    background: linear-gradient(145deg, #0f172a 0%, #131c31 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-top: 3px solid #e11d48 !important;
    border-radius: 0px !important;
    padding: 22px 24px !important;
    margin: 32px 0 !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45) !important;
    overflow: hidden !important;
}

.tt-deal-zone-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    padding-bottom: 16px !important;
    margin-bottom: 18px !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
}

.tt-deal-zone-title-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.tt-deal-zone-kicker {
    display: inline-flex !important;
    align-items: center !important;
    align-self: flex-start !important;
    background: rgba(225, 29, 72, 0.16) !important;
    border: 1px solid rgba(225, 29, 72, 0.45) !important;
    color: #fb7185 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 3px 10px !important;
    border-radius: 0px !important;
}

.tt-deal-zone-heading {
    margin: 0 !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #f8fafc !important;
    line-height: 1.3 !important;
}

.tt-deal-zone-disclosure {
    font-size: 0.75rem !important;
    color: #64748b !important;
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(148, 163, 184, 0.15) !important;
    padding: 4px 10px !important;
    border-radius: 0px !important;
    white-space: nowrap !important;
}

.tt-deal-cards-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.tt-deal-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    background: rgba(30, 41, 59, 0.65) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 0px !important;
    padding: 16px 20px !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.tt-deal-card:hover {
    border-color: rgba(225, 29, 72, 0.55) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35) !important;
    transform: translateY(-2px) !important;
}

.tt-deal-card-main {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex: 1 1 320px !important;
    min-width: 0 !important;
}

.tt-deal-icon {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    border-radius: 0px !important;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.18) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
    border: 1px solid rgba(225, 29, 72, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
}

.tt-deal-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    min-width: 0 !important;
}

.tt-deal-badges {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 2px !important;
}

.tt-deal-badge-verdict {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    color: #38bdf8 !important;
    font-size: 0.73rem !important;
    font-weight: 700 !important;
    padding: 2px 9px !important;
    border-radius: 0px !important;
}

.tt-deal-badge-price {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
    color: #34d399 !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    padding: 2px 10px !important;
    border-radius: 0px !important;
}

.tt-deal-product-name {
    margin: 0 !important;
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
}

.tt-deal-product-sub {
    margin: 0 !important;
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
}

.tt-deal-card-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    flex-shrink: 0 !important;
}

.tt-deal-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 11px 18px !important;
    border-radius: 0px !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

.tt-deal-btn-primary {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(251, 113, 133, 0.35) !important;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35) !important;
}

.tt-deal-btn-primary:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.5) !important;
}

.tt-deal-btn-secondary {
    background: rgba(15, 23, 42, 0.85) !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(148, 163, 184, 0.32) !important;
}

.tt-deal-btn-secondary:hover {
    background: rgba(30, 41, 59, 0.95) !important;
    color: #ffffff !important;
    border-color: #38bdf8 !important;
}

@media (max-width: 767px) {
    .tt-deal-zone {
        padding: 16px 14px !important;
        margin: 22px 0 !important;
    }
    .tt-deal-card {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 14px !important;
        gap: 14px !important;
    }
    .tt-deal-card-main {
        flex: 1 1 auto !important;
    }
    .tt-deal-card-actions {
        width: 100% !important;
        flex-direction: column !important;
    }
    .tt-deal-btn {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}
/* === END MODULE 3.15 DEAL ZONE CSS === */

/* === START MODULE 3.16 DEAL CSS === */
.tt-deal-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 230px !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 16px 18px !important;
}
.tt-deal-icon,
.tt-deal-product-sub {
    display: none !important;
}
.tt-deal-info {
    min-width: 0 !important;
    gap: 8px !important;
}
.tt-deal-product-name {
    font-size: 1.12rem !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
}
.tt-deal-card-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
}
.tt-deal-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
    padding: 10px 14px !important;
    line-height: 1.25 !important;
}
.tt-deal-badge-price::before {
    content: "🔥 ";
}
@media (max-width: 767px) {
    .tt-deal-card {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }
}
/* === END MODULE 3.16 DEAL CSS === */

/* TT_LIGHT_MODE_PERFECTION_V3 */
/* ==========================================================================
   SPÓJNA, CZYTELNA I NOWOCZESNA PALETA DLA JASNEJ SKÓRKI (LIGHT THEME)
   1. Menu górne (sticky navbar)
   2. Pasek filtrów "Wszystkie / Wybór redakcji / Na topie / Komentowane"
   3. Newsletter (strona główna + boks w artykule)
   4. Nasze Analizy Sprzętowe, Prześwietlenia i Werdykty
   5. Stopka portalu (Mega Footer)
   6. Strefa Zakupowa w artykule (.tt-deal-zone)
   ========================================================================== */

/* 1. MENU GÓRNE (STICKY NAVBAR) W JASNEJ SKÓRCE */
html.light-theme .site-header .header-bottom,
body.light-theme .site-header .header-bottom,
html.light-theme #ttStickyHeaderBar,
body.light-theme #ttStickyHeaderBar,
html[data-theme="light"] .site-header .header-bottom,
body[data-theme="light"] #ttStickyHeaderBar,
html.light-mode .site-header .header-bottom,
body.light-mode #ttStickyHeaderBar {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .site-header .header-bottom.tt-is-sticky,
body.light-theme .site-header .header-bottom.tt-is-sticky,
html.light-theme #ttStickyHeaderBar.tt-is-sticky,
body.light-theme #ttStickyHeaderBar.tt-is-sticky,
html[data-theme="light"] .site-header .header-bottom.tt-is-sticky,
body[data-theme="light"] #ttStickyHeaderBar.tt-is-sticky {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08) !important;
}

html.light-theme .main-nav .nav-menu > li > a,
body.light-theme .main-nav .nav-menu > li > a,
html[data-theme="light"] .main-nav .nav-menu > li > a,
body[data-theme="light"] .main-nav .nav-menu > li > a {
    color: #0f172a !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
}

html.light-theme .main-nav .nav-menu > li > a:hover,
body.light-theme .main-nav .nav-menu > li > a:hover,
html.light-theme .main-nav .nav-menu > li.current-menu-item > a,
body.light-theme .main-nav .nav-menu > li.current-menu-item > a,
html[data-theme="light"] .main-nav .nav-menu > li > a:hover {
    color: #e11d48 !important;
    background: rgba(225, 29, 72, 0.06) !important;
    border-radius: 0px !important;
}

html.light-theme .site-header .theme-toggle,
body.light-theme .site-header .theme-toggle,
html.light-theme .site-header .search-toggle,
body.light-theme .site-header .search-toggle,
html.light-theme .hamburger-menu,
body.light-theme .hamburger-menu {
    color: #1e293b !important;
}

html.light-theme .site-header .header-bottom .reading-progress-container,
body.light-theme #ttHeaderProgressContainer {
    background: #e2e8f0 !important;
}

html.light-theme .main-nav .nav-menu .sub-menu,
body.light-theme .main-nav .nav-menu .sub-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 2px solid #e11d48 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
}

html.light-theme .main-nav .nav-menu .sub-menu li a,
body.light-theme .main-nav .nav-menu .sub-menu li a {
    color: #1e293b !important;
    font-weight: 600 !important;
}

html.light-theme .main-nav .nav-menu .sub-menu li a:hover,
body.light-theme .main-nav .nav-menu .sub-menu li a:hover {
    color: #e11d48 !important;
    background: #f8fafc !important;
}


/* 2. FILTRY: "WSZYSTKIE / WYBÓR REDAKCJI / NA TOPIE / KOMENTOWANE" (#masonryFeedHeader) */
html.light-theme #masonryFeedHeader,
body.light-theme #masonryFeedHeader,
html[data-theme="light"] #masonryFeedHeader {
    border-bottom: 1px solid #e2e8f0 !important;
}

html.light-theme #masonryFeedHeader h2,
body.light-theme #masonryFeedHeader h2,
html[data-theme="light"] #masonryFeedHeader h2 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-theme #masonryFeedHeader .feed-filters.tt-live-tabs-bar,
body.light-theme #masonryFeedHeader .feed-filters.tt-live-tabs-bar,
html[data-theme="light"] #masonryFeedHeader .feed-filters.tt-live-tabs-bar {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

html.light-theme #masonryFeedHeader .tt-live-tab-btn,
body.light-theme #masonryFeedHeader .tt-live-tab-btn,
html[data-theme="light"] #masonryFeedHeader .tt-live-tab-btn {
    color: #475569 !important;
    font-weight: 700 !important;
}

html.light-theme #masonryFeedHeader .tt-live-tab-btn:hover,
body.light-theme #masonryFeedHeader .tt-live-tab-btn:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

html.light-theme #masonryFeedHeader .tt-live-tab-btn.tt-tab-active,
body.light-theme #masonryFeedHeader .tt-live-tab-btn.tt-tab-active,
html[data-theme="light"] #masonryFeedHeader .tt-live-tab-btn.tt-tab-active {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(225, 29, 72, 0.28) !important;
}


/* 3. NEWSLETTER (STRONA GŁÓWNA I BOKS W ARTYKULE) */
html.light-theme .newsletter-cta-section,
body.light-theme .newsletter-cta-section,
html[data-theme="light"] .newsletter-cta-section {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid #e11d48 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

html.light-theme .newsletter-tag,
body.light-theme .newsletter-tag {
    color: #e11d48 !important;
    font-weight: 800 !important;
}

html.light-theme .newsletter-heading,
body.light-theme .newsletter-heading {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-theme .newsletter-desc,
body.light-theme .newsletter-desc {
    color: #475569 !important;
}

html.light-theme .newsletter-form-wrap input[type="email"],
body.light-theme .newsletter-form-wrap input[type="email"],
html[data-theme="light"] .newsletter-form-wrap input[type="email"] {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html.light-theme .newsletter-form-wrap input[type="email"]::placeholder,
body.light-theme .newsletter-form-wrap input[type="email"]::placeholder {
    color: #94a3b8 !important;
}

html.light-theme .newsletter-form-wrap input[type="email"]:focus,
body.light-theme .newsletter-form-wrap input[type="email"]:focus {
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15) !important;
}

html.light-theme .newsletter-form-wrap .btn-primary,
body.light-theme .newsletter-form-wrap .btn-primary {
    background: #e11d48 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25) !important;
}

/* Boks newslettera w artykule (.tt-newsletter-box) */
html.light-theme .tt-newsletter-box,
body.light-theme .tt-newsletter-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #e11d48 !important;
    color: #0f172a !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

html.light-theme .tt-newsletter-box h4,
body.light-theme .tt-newsletter-box h4 {
    color: #0f172a !important;
}

html.light-theme .tt-newsletter-box p,
body.light-theme .tt-newsletter-box p {
    color: #475569 !important;
}

html.light-theme .tt-newsletter-form input[type="email"],
body.light-theme .tt-newsletter-form input[type="email"] {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
}

html.light-theme .tt-newsletter-form input[type="email"]::placeholder,
body.light-theme .tt-newsletter-form input[type="email"]::placeholder {
    color: #94a3b8 !important;
}

html.light-theme .tt-newsletter-form button,
body.light-theme .tt-newsletter-form button {
    background: #e11d48 !important;
    color: #ffffff !important;
}


/* 4. NASZE ANALIZY SPRZĘTOWE, PRZEŚWIETLENIA I WERDYKTY (.tt-home-reviews-showcase) */
html.light-theme .tt-home-reviews-showcase,
body.light-theme .tt-home-reviews-showcase,
html[data-theme="light"] .tt-home-reviews-showcase {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-top: 2px solid #2563eb !important;
    border-bottom: 2px solid #2563eb !important;
    color: #0f172a !important;
}

html.light-theme .tt-home-reviews-header h2,
body.light-theme .tt-home-reviews-header h2,
html[data-theme="light"] .tt-home-reviews-header h2 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-theme .tt-home-reviews-header a,
body.light-theme .tt-home-reviews-header a {
    color: #0284c7 !important;
    font-weight: 700 !important;
}

html.light-theme .tt-home-review-card,
body.light-theme .tt-home-review-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .tt-home-review-card:hover,
body.light-theme .tt-home-review-card:hover {
    border-color: #2563eb !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12) !important;
}

html.light-theme .tt-home-review-body h3 a,
body.light-theme .tt-home-review-body h3 a {
    color: #0f172a !important;
    font-weight: 700 !important;
}

html.light-theme .tt-home-review-body h3 a:hover,
body.light-theme .tt-home-review-body h3 a:hover {
    color: #2563eb !important;
}

html.light-theme .tt-home-review-score,
body.light-theme .tt-home-review-score {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35) !important;
}


/* 5. STOPKA PORTALU (.tt-mega-footer) */
html.light-theme .tt-mega-footer,
body.light-theme .tt-mega-footer,
html[data-theme="light"] .tt-mega-footer {
    background: #f8fafc !important;
    border-top: 3px solid #2563eb !important;
    color: #475569 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03) !important;
}

html.light-theme .tt-mega-footer h4,
body.light-theme .tt-mega-footer h4 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-theme .tt-mega-footer p,
body.light-theme .tt-mega-footer p {
    color: #475569 !important;
}

html.light-theme .tt-mega-footer a,
body.light-theme .tt-mega-footer a {
    color: #334155 !important;
    font-weight: 500 !important;
}

html.light-theme .tt-mega-footer a:hover,
body.light-theme .tt-mega-footer a:hover {
    color: #2563eb !important;
}

html.light-theme .tt-mega-footer-grid,
body.light-theme .tt-mega-footer-grid {
    border-bottom: 1px solid #e2e8f0 !important;
}

html.light-theme .tt-mega-footer-bottom,
body.light-theme .tt-mega-footer-bottom {
    color: #64748b !important;
    border-top: 1px solid #e2e8f0 !important;
}

html.light-theme .tt-cookie-banner,
body.light-theme .tt-cookie-banner {
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}


/* 6. W ARTYKULE: STREFA ZAKUPOWA (.tt-deal-zone) */
html.light-theme .tt-deal-zone,
body.light-theme .tt-deal-zone,
html[data-theme="light"] .tt-deal-zone,
body[data-theme="light"] .tt-deal-zone {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1.5px solid #e2e8f0 !important;
    border-top: 3.5px solid #e11d48 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

html.light-theme .tt-deal-zone-header,
body.light-theme .tt-deal-zone-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

html.light-theme .tt-deal-zone-kicker,
body.light-theme .tt-deal-zone-kicker {
    background: #ffe4e6 !important;
    border: 1px solid #fecdd3 !important;
    color: #e11d48 !important;
}

html.light-theme .tt-deal-zone-heading,
body.light-theme .tt-deal-zone-heading {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-theme .tt-deal-zone-disclosure,
body.light-theme .tt-deal-zone-disclosure {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
}

html.light-theme .tt-deal-card,
body.light-theme .tt-deal-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

html.light-theme .tt-deal-card:hover,
body.light-theme .tt-deal-card:hover {
    border-color: #e11d48 !important;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.12) !important;
}

html.light-theme .tt-deal-product-name,
body.light-theme .tt-deal-product-name {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-theme .tt-deal-badge-verdict,
body.light-theme .tt-deal-badge-verdict {
    background: #e0f2fe !important;
    border: 1px solid #bae6fd !important;
    color: #0369a1 !important;
}

html.light-theme .tt-deal-badge-price,
body.light-theme .tt-deal-badge-price {
    background: #dcfce7 !important;
    border: 1px solid #bbf7d0 !important;
    color: #15803d !important;
    font-weight: 800 !important;
}

html.light-theme .tt-deal-btn-primary,
body.light-theme .tt-deal-btn-primary {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25) !important;
}

html.light-theme .tt-deal-btn-secondary,
body.light-theme .tt-deal-btn-secondary {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
}

html.light-theme .tt-deal-btn-secondary:hover,
body.light-theme .tt-deal-btn-secondary:hover {
    background: #ffffff !important;
    color: #0284c7 !important;
    border-color: #0284c7 !important;
}


/* ==========================================================================
   TL;DR (W SKRÓCIE) & KARTA RECENZJI W TRYBIE JASNYM (LIGHT THEME ELEGANCE)
   ========================================================================== */
html.light-theme .tt-tldr-box,
body.light-theme .tt-tldr-box,
html[data-theme="light"] .tt-tldr-box,
body[data-theme="light"] .tt-tldr-box,
html.light-mode .tt-tldr-box,
body.light-mode .tt-tldr-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%) !important;
    border: 1.5px solid #cbd5e1 !important;
    border-left: 5px solid #0284c7 !important;
    border-radius: 0px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    color: #1e293b !important;
    padding: 22px 26px !important;
    margin: 24px 0 !important;
}

html.light-theme .tt-tldr-box h3,
body.light-theme .tt-tldr-box h3,
html[data-theme="light"] .tt-tldr-box h3,
body[data-theme="light"] .tt-tldr-box h3,
html.light-mode .tt-tldr-box h3,
body.light-mode .tt-tldr-box h3 {
    color: #0369a1 !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    letter-spacing: 0.04em !important;
    margin: 0 0 14px 0 !important;
    text-transform: uppercase !important;
}

html.light-theme .tt-tldr-box ul,
body.light-theme .tt-tldr-box ul,
html[data-theme="light"] .tt-tldr-box ul,
body[data-theme="light"] .tt-tldr-box ul,
html.light-mode .tt-tldr-box ul,
body.light-mode .tt-tldr-box ul {
    color: #1e293b !important;
    margin: 0 !important;
    padding-left: 20px !important;
}

html.light-theme .tt-tldr-box li,
body.light-theme .tt-tldr-box li,
html[data-theme="light"] .tt-tldr-box li,
body[data-theme="light"] .tt-tldr-box li,
html.light-mode .tt-tldr-box li,
body.light-mode .tt-tldr-box li {
    color: #1e293b !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
    margin-bottom: 8px !important;
}

html.light-theme .tt-tldr-box li::marker,
body.light-theme .tt-tldr-box li::marker,
html[data-theme="light"] .tt-tldr-box li::marker,
body[data-theme="light"] .tt-tldr-box li::marker,
html.light-mode .tt-tldr-box li::marker,
body.light-mode .tt-tldr-box li::marker {
    color: #0284c7 !important;
}

html.light-theme .tt-tldr-box p,
body.light-theme .tt-tldr-box p,
html[data-theme="light"] .tt-tldr-box p,
body[data-theme="light"] .tt-tldr-box p,
html.light-mode .tt-tldr-box p,
body.light-mode .tt-tldr-box p {
    color: #1e293b !important;
    line-height: 1.65 !important;
}

html.light-theme .tt-tldr-box strong,
body.light-theme .tt-tldr-box strong,
html[data-theme="light"] .tt-tldr-box strong,
body[data-theme="light"] .tt-tldr-box strong,
html.light-mode .tt-tldr-box strong,
body.light-mode .tt-tldr-box strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

html.light-theme .tt-tldr-box a,
body.light-theme .tt-tldr-box a,
html[data-theme="light"] .tt-tldr-box a,
body[data-theme="light"] .tt-tldr-box a,
html.light-mode .tt-tldr-box a,
body.light-mode .tt-tldr-box a {
    color: #0284c7 !important;
    text-decoration: underline !important;
}

/* KARTA RECENZJI W TRYBIE JASNYM */
html.light-theme .tt-review-scorecard,
body.light-theme .tt-review-scorecard,
html[data-theme="light"] .tt-review-scorecard,
body[data-theme="light"] .tt-review-scorecard,
html.light-mode .tt-review-scorecard,
body.light-mode .tt-review-scorecard {
    background: #ffffff !important;
    border: 2px solid #2563eb !important;
    border-radius: 0px !important;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.08) !important;
    color: #0f172a !important;
}

html.light-theme .tt-review-header,
body.light-theme .tt-review-header,
html[data-theme="light"] .tt-review-header,
body[data-theme="light"] .tt-review-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

html.light-theme .tt-review-product-name,
body.light-theme .tt-review-product-name,
html[data-theme="light"] .tt-review-product-name,
body[data-theme="light"] .tt-review-product-name {
    color: #0f172a !important;
}

html.light-theme .tt-review-bar-label,
body.light-theme .tt-review-bar-label,
html[data-theme="light"] .tt-review-bar-label,
body[data-theme="light"] .tt-review-bar-label {
    color: #334155 !important;
}

html.light-theme .tt-review-bar-track,
body.light-theme .tt-review-bar-track,
html[data-theme="light"] .tt-review-bar-track,
body[data-theme="light"] .tt-review-bar-track {
    background: #e2e8f0 !important;
}


/* ==========================================================================
   SEKCJA "DOŁĄCZ DO DYSKUSJI" ORAZ KOMENTARZE W TRYBIE JASNYM (LIGHT THEME)
   ========================================================================== */

/* 1. Ramka "Gorąca dyskusja czytelników TechTendency" (.tt-discussion-cta) */
html.light-theme .tt-discussion-cta,
body.light-theme .tt-discussion-cta,
html[data-theme="light"] .tt-discussion-cta,
body[data-theme="light"] .tt-discussion-cta,
html.light-mode .tt-discussion-cta,
body.light-mode .tt-discussion-cta {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 5px solid #e11d48 !important;
    border-radius: 0px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    padding: 22px 24px !important;
    margin: 32px 0 !important;
}

html.light-theme .tt-discussion-cta h4,
body.light-theme .tt-discussion-cta h4,
html[data-theme="light"] .tt-discussion-cta h4,
body[data-theme="light"] .tt-discussion-cta h4,
html.light-mode .tt-discussion-cta h4,
body.light-mode .tt-discussion-cta h4 {
    color: #0f172a !important;
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    margin: 0 0 10px 0 !important;
}

html.light-theme .tt-discussion-cta p,
body.light-theme .tt-discussion-cta p,
html[data-theme="light"] .tt-discussion-cta p,
body[data-theme="light"] .tt-discussion-cta p,
html.light-mode .tt-discussion-cta p,
body.light-mode .tt-discussion-cta p {
    color: #334155 !important;
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
}

html.light-theme .tt-discussion-cta p strong,
body.light-theme .tt-discussion-cta p strong,
html[data-theme="light"] .tt-discussion-cta p strong,
body[data-theme="light"] .tt-discussion-cta p strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

html.light-theme .tt-discussion-cta .tt-share-btn,
body.light-theme .tt-discussion-cta .tt-share-btn,
html[data-theme="light"] .tt-discussion-cta .tt-share-btn,
body[data-theme="light"] .tt-discussion-cta .tt-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
    border-radius: 0px !important;
    transition: all 0.2s ease !important;
}

html.light-theme .tt-discussion-cta .tt-share-btn:hover,
body.light-theme .tt-discussion-cta .tt-share-btn:hover,
html[data-theme="light"] .tt-discussion-cta .tt-share-btn:hover,
body[data-theme="light"] .tt-discussion-cta .tt-share-btn:hover {
    background: #e11d48 !important;
    color: #ffffff !important;
    border-color: #e11d48 !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25) !important;
}

/* 2. Główna sekcja komentarzy "Dołącz do dyskusji" (#comments) */
html.light-theme #comments.comments-area,
body.light-theme #comments.comments-area,
html[data-theme="light"] #comments.comments-area,
body[data-theme="light"] #comments.comments-area,
html.light-mode #comments.comments-area,
body.light-mode #comments.comments-area,
html.light-theme .comments-area,
body.light-theme .comments-area {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

/* Tytuł "Dołącz do dyskusji" oraz nagłówek listy komentarzy */
html.light-theme #comments .comment-reply-title,
body.light-theme #comments .comment-reply-title,
html[data-theme="light"] #comments .comment-reply-title,
body[data-theme="light"] #comments .comment-reply-title,
html.light-mode #comments .comment-reply-title,
body.light-mode #comments .comment-reply-title,
html.light-theme #reply-title,
body.light-theme #reply-title,
html[data-theme="light"] #reply-title,
body[data-theme="light"] #reply-title,
html.light-theme #comments .comments-title,
body.light-theme #comments .comments-title,
html[data-theme="light"] #comments .comments-title,
body[data-theme="light"] #comments .comments-title {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 1.45rem !important;
}

/* Informacja / notatki (np. "Twój adres e-mail nie zostanie opublikowany") */
html.light-theme #comments .comment-notes,
body.light-theme #comments .comment-notes,
html[data-theme="light"] #comments .comment-notes,
body[data-theme="light"] #comments .comment-notes,
html.light-theme #comments #email-notes,
body.light-theme #comments #email-notes,
html.light-theme #comments .logged-in-as,
body.light-theme #comments .logged-in-as {
    color: #64748b !important;
    font-size: 0.9rem !important;
}

html.light-theme #comments .logged-in-as a,
body.light-theme #comments .logged-in-as a {
    color: #0284c7 !important;
}

/* Etykiety pól formularza */
html.light-theme #comments label,
body.light-theme #comments label,
html[data-theme="light"] #comments label,
body[data-theme="light"] #comments label,
html.light-mode #comments label,
body.light-mode #comments label {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}

html.light-theme #comments label .required,
body.light-theme #comments label .required {
    color: #e11d48 !important;
}

/* Pola tekstowe textarea oraz input */
html.light-theme #comments textarea#comment,
body.light-theme #comments textarea#comment,
html.light-theme #comments input#author,
body.light-theme #comments input#author,
html.light-theme #comments input#email,
body.light-theme #comments input#email,
html.light-theme #comments input#url,
body.light-theme #comments input#url,
html[data-theme="light"] #comments textarea#comment,
body[data-theme="light"] #comments textarea#comment,
html[data-theme="light"] #comments input#author,
body[data-theme="light"] #comments input#author,
html[data-theme="light"] #comments input#email,
body[data-theme="light"] #comments input#email,
html[data-theme="light"] #comments input#url,
body[data-theme="light"] #comments input#url,
html.light-mode #comments textarea#comment,
body.light-mode #comments textarea#comment,
html.light-mode #comments input#author,
body.light-mode #comments input#author,
html.light-mode #comments input#email,
body.light-mode #comments input#email {
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 0px !important;
    font-size: 0.95rem !important;
    box-shadow: none !important;
}

html.light-theme #comments textarea#comment::placeholder,
body.light-theme #comments textarea#comment::placeholder,
html.light-theme #comments input#author::placeholder,
body.light-theme #comments input#author::placeholder,
html.light-theme #comments input#email::placeholder,
body.light-theme #comments input#email::placeholder,
html[data-theme="light"] #comments textarea#comment::placeholder,
body[data-theme="light"] #comments textarea#comment::placeholder,
html[data-theme="light"] #comments input#author::placeholder,
body[data-theme="light"] #comments input#author::placeholder,
html[data-theme="light"] #comments input#email::placeholder,
body[data-theme="light"] #comments input#email::placeholder {
    color: #94a3b8 !important;
}

html.light-theme #comments textarea#comment:focus,
body.light-theme #comments textarea#comment:focus,
html.light-theme #comments input#author:focus,
body.light-theme #comments input#author:focus,
html.light-theme #comments input#email:focus,
body.light-theme #comments input#email:focus,
html[data-theme="light"] #comments textarea#comment:focus,
body[data-theme="light"] #comments textarea#comment:focus,
html[data-theme="light"] #comments input#author:focus,
body[data-theme="light"] #comments input#author:focus,
html[data-theme="light"] #comments input#email:focus,
body[data-theme="light"] #comments input#email:focus {
    background: #ffffff !important;
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.14) !important;
    color: #0f172a !important;
}

/* Zgoda na cookies */
html.light-theme #comments .comment-form-cookies-consent label,
body.light-theme #comments .comment-form-cookies-consent label,
html[data-theme="light"] #comments .comment-form-cookies-consent label,
body[data-theme="light"] #comments .comment-form-cookies-consent label {
    color: #475569 !important;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
}

/* Przycisk publikacji komentarza */
html.light-theme #comments #submit,
body.light-theme #comments #submit,
html.light-theme #comments .comment-submit-btn,
body.light-theme #comments .comment-submit-btn,
html[data-theme="light"] #comments #submit,
body[data-theme="light"] #comments #submit,
html[data-theme="light"] #comments .comment-submit-btn,
body[data-theme="light"] #comments .comment-submit-btn {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25) !important;
    border: none !important;
}

html.light-theme #comments #submit:hover,
body.light-theme #comments #submit:hover,
html.light-theme #comments .comment-submit-btn:hover,
body.light-theme #comments .comment-submit-btn:hover,
html[data-theme="light"] #comments #submit:hover,
body[data-theme="light"] #comments #submit:hover,
html[data-theme="light"] #comments .comment-submit-btn:hover,
body[data-theme="light"] #comments .comment-submit-btn:hover {
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* Istniejące komentarze na liście */
html.light-theme #comments .comment-body,
body.light-theme #comments .comment-body,
html[data-theme="light"] #comments .comment-body,
body[data-theme="light"] #comments .comment-body {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0px !important;
    color: #1e293b !important;
}

html.light-theme #comments .comment-author .fn,
body.light-theme #comments .comment-author .fn,
html[data-theme="light"] #comments .comment-author .fn,
body[data-theme="light"] #comments .comment-author .fn {
    color: #0f172a !important;
    font-weight: 700 !important;
}

html.light-theme #comments .comment-metadata a,
body.light-theme #comments .comment-metadata a,
html[data-theme="light"] #comments .comment-metadata a,
body[data-theme="light"] #comments .comment-metadata a {
    color: #64748b !important;
}

html.light-theme #comments .comment-content p,
body.light-theme #comments .comment-content p,
html[data-theme="light"] #comments .comment-content p,
body[data-theme="light"] #comments .comment-content p {
    color: #1e293b !important;
}

html.light-theme #comments .reply a,
body.light-theme #comments .reply a,
html[data-theme="light"] #comments .reply a,
body[data-theme="light"] #comments .reply a {
    color: #0284c7 !important;
    font-weight: 700 !important;
}


/* ==========================================================================
   NOWY, JEDNOLITY PASEK NAWIGACYJNY (LOGO W MENU, BEZ RAPORT&LAB I SUBSKRYBUJ)
   ========================================================================== */

/* Całkowite ukrycie i wyzerowanie dawnego header-top */
.site-header .header-top {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
}

/* Wyrzucenie przycisku Subskrybuj z nagłówka */
.site-header .btn-subscribe,
#ttStickyHeaderBar .btn-subscribe,
a.btn-subscribe {
    display: none !important;
}

/* Pasek nawigacyjny desktop i mobile */
.site-header .header-bottom,
#ttStickyHeaderBar {
    position: sticky !important;
    top: 0 !important;
    z-index: 9995 !important;
    min-height: 60px !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16) !important;
    transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

/* Wiersz wewnętrzny paska nawigacji */
.site-header .header-bottom .nav-row,
#ttStickyHeaderBar .nav-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    min-height: 60px !important;
    padding: 0 16px !important;
    max-width: var(--container-max, 1800px) !important;
    margin: 0 auto !important;
}

/* Kontener Logo + Hamburger */
.header-brand-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-shrink: 0 !important;
}

.header-brand-wrap .brand-logo,
.header-brand-wrap .custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.header-brand-wrap .brand-logo img,
.header-brand-wrap img.custom-logo,
.header-brand-wrap .custom-logo {
    max-height: 38px !important;
    height: 38px !important;
    width: auto !important;
    max-width: 100% !important;
    display: block !important;
    object-fit: contain !important;
}

/* Tekstowe logo awaryjne, gdy brak pliku graficznego */
.header-brand-wrap .brand-logo a {
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    color: var(--tt-text-main) !important;
    text-decoration: none !important;
    letter-spacing: -0.02em !important;
}
.header-brand-wrap .brand-logo a span {
    color: var(--tt-red) !important;
}

/* Menu kategorii w centrum */
.site-header .main-nav {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 12px !important;
}

.site-header .main-nav .nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.site-header .main-nav .nav-menu > li > a {
    padding: 8px 13px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    border-radius: 0px !important;
    white-space: nowrap !important;
}

/* Sekcja przycisków po prawej stronie */
.site-header .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

/* Responsywność dla urządzeń mobilnych (telefony i tablety <= 991px) */
@media (max-width: 991px) {
    .site-header .header-top {
        display: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .site-header .header-bottom,
    #ttStickyHeaderBar {
        min-height: 52px !important;
    }
    
    .site-header .header-bottom .nav-row,
    #ttStickyHeaderBar .nav-row {
        min-height: 52px !important;
        padding: 0 12px !important;
        gap: 8px !important;
    }

    .header-brand-wrap {
        gap: 10px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .hamburger-menu {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        padding: 6px !important;
        margin: 0 !important;
        border-radius: 0px !important;
        border: 1px solid rgba(148, 163, 184, 0.22) !important;
    }

    .header-brand-wrap .brand-logo img,
    .header-brand-wrap img.custom-logo,
    .header-brand-wrap .custom-logo {
        max-height: 30px !important;
        height: 30px !important;
        width: auto !important;
    }

    .header-brand-wrap .brand-logo a {
        font-size: 1.22rem !important;
    }

    /* Ukrycie menu poziomego na telefonie — zawartość dostępna w menu bocznym (drawer) */
    .site-header .main-nav {
        display: none !important;
    }

    .site-header .header-actions {
        gap: 6px !important;
    }

    .site-header .theme-toggle {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .site-header .search-btn {
        padding: 7px 10px !important;
        font-size: 0.8rem !important;
    }

    .site-header .search-btn kbd {
        display: none !important;
    }
    
    .site-header .search-btn span {
        display: none !important;
    }
}

/* ==========================================================================
   TechTendency Core v3.17 & v3.18 - "Załaduj więcej", Archiwum /artykuly/
   ORAZ GLOBALNA GEOMETRIA KWADRATOWA WSZYSTKICH PRZYCISKÓW W PORTALU
   ========================================================================== */

/* 1. PASEK AKCJI POD NAJNOWSZYMI PUBLIKACJAMI NA STRONIE GŁÓWNEJ (KWADRATOWY STYL NEWSUM) */
.tt-home-more-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.tt-btn-load-more,
.tt-btn-all-articles {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 0px !important;
    font-family: var(--font-mono, monospace);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.25;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.18s ease;
    box-sizing: border-box;
}

.tt-btn-load-more {
    background: #e11d48;
    color: #ffffff !important;
    border: 1px solid #e11d48;
    box-shadow: none;
}

.tt-btn-load-more:hover:not(:disabled) {
    background: #be123c;
    border-color: #be123c;
    transform: translateY(-1px);
}

.tt-btn-load-more:disabled {
    opacity: 0.65;
    cursor: default;
}

.tt-btn-all-articles {
    background: #18181b;
    color: #f8fafc !important;
    border: 1px solid #334155;
}

.tt-btn-all-articles:hover {
    background: #0f172a;
    border-color: #e11d48;
    color: #e11d48 !important;
    transform: translateY(-1px);
}

html.light-theme .tt-btn-all-articles,
body.light-theme .tt-btn-all-articles,
html[data-theme="light"] .tt-btn-all-articles {
    background: #f1f5f9;
    color: #0f172a !important;
    border-color: #cbd5e1;
}

html.light-theme .tt-btn-all-articles:hover,
body.light-theme .tt-btn-all-articles:hover,
html[data-theme="light"] .tt-btn-all-articles:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff !important;
}

/* 2. STRONA ARCHIWUM CHRONOLOGICZNEGO (/artykuly/) — KWADRATOWA GEOMETRIA */
.tt-all-articles-page {
    padding: 28px 0 48px 0;
}

.tt-archive-hero {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-left: 4px solid #e11d48;
    border-radius: 0px !important;
    padding: 28px 30px;
    margin-bottom: 30px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

html.light-theme .tt-archive-hero,
body.light-theme .tt-archive-hero,
html[data-theme="light"] .tt-archive-hero {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-color: #cbd5e1;
    border-left: 4px solid #e11d48;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tt-archive-hero-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.tt-archive-kicker {
    display: inline-block;
    background: #e11d48;
    color: #ffffff !important;
    border: 1px solid #e11d48;
    font-family: var(--font-mono, monospace);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 0px !important;
    text-transform: uppercase;
}

html.light-theme .tt-archive-kicker,
body.light-theme .tt-archive-kicker {
    background: #e11d48;
    color: #ffffff !important;
    border-color: #e11d48;
}

.tt-archive-count-badge {
    font-family: var(--font-mono, monospace);
    font-size: 0.82rem;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid #334155;
    padding: 5px 13px;
    border-radius: 0px !important;
}

.tt-archive-count-badge strong {
    color: #e11d48;
}

html.light-theme .tt-archive-count-badge,
body.light-theme .tt-archive-count-badge {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

html.light-theme .tt-archive-count-badge strong,
body.light-theme .tt-archive-count-badge strong {
    color: #e11d48;
}

.tt-archive-main-title {
    font-size: clamp(1.55rem, 3vw, 2.15rem) !important;
    font-weight: 900 !important;
    color: #f8fafc !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.22 !important;
}

html.light-theme .tt-archive-main-title,
body.light-theme .tt-archive-main-title,
html[data-theme="light"] .tt-archive-main-title {
    color: #0f172a !important;
}

.tt-archive-subtitle {
    font-size: 0.96rem;
    color: #94a3b8 !important;
    margin: 0 0 18px 0 !important;
    line-height: 1.55;
}

html.light-theme .tt-archive-subtitle,
body.light-theme .tt-archive-subtitle {
    color: #475569 !important;
}

.tt-archive-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.tt-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 0px !important;
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    background: rgba(15, 23, 42, 0.75);
    color: #cbd5e1 !important;
    border: 1px solid #334155;
    transition: all 0.15s ease;
}

.tt-cat-pill:hover {
    border-color: #e11d48;
    color: #ffffff !important;
}

.tt-cat-pill.is-active {
    background: #e11d48;
    border-color: #e11d48;
    color: #ffffff !important;
}

.tt-cat-pill-count {
    font-size: 0.7rem;
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.15);
    padding: 1px 6px;
    border-radius: 0px !important;
}

html.light-theme .tt-cat-pill,
body.light-theme .tt-cat-pill {
    background: #f1f5f9;
    color: #334155 !important;
    border-color: #cbd5e1;
}

html.light-theme .tt-cat-pill.is-active,
body.light-theme .tt-cat-pill.is-active {
    background: #e11d48;
    color: #ffffff !important;
    border-color: #e11d48;
}

.tt-all-articles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
}

.tt-archive-card-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.tt-archive-card-date {
    font-size: 0.76rem;
    font-weight: 600;
    color: #94a3b8;
}

html.light-theme .tt-archive-card-date,
body.light-theme .tt-archive-card-date {
    color: #64748b;
}

/* 3. PAGINACJA NUMERYCZNA NA /artykuly/ (KWADRATOWA) */
.tt-archive-pagination {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.tt-pagination-info {
    font-family: var(--font-mono, monospace);
    font-size: 0.84rem;
    color: #94a3b8;
    text-transform: uppercase;
}

html.light-theme .tt-pagination-info,
body.light-theme .tt-pagination-info {
    color: #475569;
}

.tt-pagination-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tt-pagination-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 0px !important;
    font-family: var(--font-mono, monospace);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    background: #1e293b;
    color: #e2e8f0 !important;
    border: 1px solid #334155;
    transition: all 0.15s ease;
}

.tt-pagination-links .page-numbers:hover {
    border-color: #e11d48;
    color: #e11d48 !important;
}

.tt-pagination-links .page-numbers.current {
    background: #e11d48;
    border-color: #e11d48;
    color: #ffffff !important;
}

html.light-theme .tt-pagination-links .page-numbers,
body.light-theme .tt-pagination-links .page-numbers {
    background: #ffffff;
    color: #1e293b !important;
    border-color: #cbd5e1;
}

html.light-theme .tt-pagination-links .page-numbers.current,
body.light-theme .tt-pagination-links .page-numbers.current {
    background: #e11d48;
    color: #ffffff !important;
    border-color: #e11d48;
}

@media (max-width: 991px) {
    .tt-all-articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 782px) {
    .tt-all-articles-grid {
        grid-template-columns: 1fr !important;
    }
    .tt-home-more-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .tt-btn-load-more,
    .tt-btn-all-articles {
        width: 100%;
    }
    .tt-archive-hero {
        padding: 20px 16px;
    }
}

/* ==========================================================================
   4. GLOBALNA UNIFIKACJA KWADRATOWYCH PRZYCISKÓW, RAMEK, KART I SEKCJI (v3.19)
   Wymusza ostre, kwadratowe narożniki (border-radius: 0px !important) w całym portalu
   oraz ujednolica odznaki kart i sekcje działów tematycznych na stronie głównej.
   ========================================================================== */
button,
.button,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="email"],
input[type="text"],
input[type="search"],
input[type="url"],
textarea,
select,
.wp-block-button__link,
.site-header .main-nav .nav-menu > li > a,
.hamburger-menu,
.theme-toggle,
.search-btn,
.search-btn kbd,
.reading-list-btn,
.drawer-close,
.btn-subscribe,
.btn-return-home,
.btn-archive-load-more,
.tt-btn-load-more,
.tt-btn-all-articles,
.tt-cat-section-btn,
#masonryFeedHeader .feed-filters,
#masonryFeedHeader .feed-filters.tt-live-tabs-bar,
#masonryFeedHeader .tt-live-tab-btn,
.feed-filters,
.feed-filters button,
.tt-live-tab-btn,
.tt-ts-tab,
.tt-ts-rank,
.tt-cat-pill,
.tt-cat-pill-count,
.filter-pill,
.archive-count-pill,
.meta-badge,
.category,
.bento-cat,
.tile-cat,
.tt-archive-kicker,
.tt-archive-count-badge,
.tt-archive-hero,
.tt-pagination-links .page-numbers,
.archive-pagination .page-numbers,
.nav-links .page-numbers,
.tt-deal-btn,
.tt-deal-btn-primary,
.tt-deal-btn-secondary,
.tt-deal-zone-kicker,
.tt-deal-zone-disclosure,
.tt-deal-badge-verdict,
.tt-deal-badge-price,
.tt-deal-card,
.tt-deal-zone,
.tt-wide-product-btn,
.tt-wide-product-ad,
.tt-wide-product-inner,
.tt-tower-cta,
.tt-tower-brand,
.tt-tower-card,
.tt-hha-btn,
.tt-hha-badge,
.tt-header-house-ad,
.tt-dynamic-featured-wrap,
.tt-dynamic-featured-btn,
.tt-dynamic-featured-kicker,
.tt-dynamic-featured-card,
.tt-dynamic-featured-img,
.tt-affiliate-btn,
.tt-share-btn,
.tt-gnews-pill,
.tt-icon-btn,
.tt-views-pill,
.tt-reading-time,
.tt-author-role,
.tt-review-badge,
.tt-review-score-circle,
.tt-review-scorecard,
.tt-tldr-box,
.tt-author-box,
.tt-editorial-card,
#comments.comments-area,
#comments .comment-body,
.newsletter-cta-section,
.newsletter-box,
.newsletter-form-block input[type="email"],
.newsletter-form-block button,
.tt-newsletter-form button,
.tt-newsletter-form input[type="email"],
.newsletter-form button,
.newsletter-form input,
.tt-cookie-btn-accept,
.tt-cookie-btn-minimal,
.tt-cookie-banner,
.comment-form .submit,
#submit,
.comment-respond input[type="submit"],
.card-action-pill,
.card-action-deck,
.article-card,
.feed-card,
.list-card,
.media-card,
.bento-tile,
.side-tile,
.slider-tile,
.sidebar-widget,
.ad-placeholder,
.tt-ad-slot,
.tt-ad-box,
#sliderPrev,
#sliderNext,
.slider-nav .nav-btn,
.slider-dots .dot {
    border-radius: 0px !important;
}

/* 5. KWADRATOWY PRZYCISK KATEGORII W NAGŁÓWKACH SEKCJI ("Wszystkie analizy →" / "Wszystkie w dziale [Kategoria] →") */
.feed-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
}

a.tt-cat-section-btn,
.feed-header a.tt-cat-section-btn.view-all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    background: #18181b !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
    border-left: 3px solid #e11d48 !important;
    border-radius: 0px !important;
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    transition: all 0.18s ease !important;
}

a.tt-cat-section-btn:hover,
.feed-header a.tt-cat-section-btn.view-all:hover {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

html.light-theme a.tt-cat-section-btn,
body.light-theme a.tt-cat-section-btn,
html[data-theme="light"] a.tt-cat-section-btn,
html.light-theme .feed-header a.tt-cat-section-btn.view-all,
body.light-theme .feed-header a.tt-cat-section-btn.view-all {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 3px solid #e11d48 !important;
}

html.light-theme a.tt-cat-section-btn:hover,
body.light-theme a.tt-cat-section-btn:hover,
html[data-theme="light"] a.tt-cat-section-btn:hover,
html.light-theme .feed-header a.tt-cat-section-btn.view-all:hover,
body.light-theme .feed-header a.tt-cat-section-btn.view-all:hover {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    color: #ffffff !important;
}

/* 6. UJEDNOLICONE KARTY DZIAŁÓW TEMATYCZNYCH NA STRONIE GŁÓWNEJ (.tt-showcase-card) */
.tt-category-showcase-section {
    padding: 36px 0 18px 0 !important;
    border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
}

.tt-category-section-ad-wrap {
    margin: 6px auto 24px auto !important;
}

.media-card.tt-showcase-card {
    display: flex !important;
    flex-direction: column !important;
    background: #131b2e !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 0px !important;
    overflow: hidden !important;
    height: 100% !important;
    transition: transform 0.18s ease, border-color 0.18s ease !important;
}

.media-card.tt-showcase-card:hover {
    border-color: #e11d48 !important;
    transform: translateY(-2px) !important;
}

html.light-theme .media-card.tt-showcase-card,
body.light-theme .media-card.tt-showcase-card,
html[data-theme="light"] .media-card.tt-showcase-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}

.media-card.tt-showcase-card .media-thumb {
    position: relative !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    margin: 0 !important;
    border-radius: 0px !important;
}

.media-card.tt-showcase-card .media-thumb a.media-thumb-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.media-card.tt-showcase-card .media-thumb img.media-cover-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0px !important;
}

.tt-media-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 16px 18px !important;
    gap: 10px !important;
}

.tt-media-card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
}

.tt-media-card-meta .category {
    display: inline-block !important;
    background: #e11d48 !important;
    color: #ffffff !important;
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 3px 8px !important;
    border-radius: 0px !important;
}

.tt-media-card-meta .tt-media-card-views {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
}

html.light-theme .tt-media-card-meta .tt-media-card-views,
body.light-theme .tt-media-card-meta .tt-media-card-views {
    color: #64748b !important;
}

.media-card.tt-showcase-card .media-title {
    margin: 0 !important;
    font-size: 1.02rem !important;
    line-height: 1.38 !important;
    font-weight: 800 !important;
    flex: 1 1 auto !important;
}

.media-card.tt-showcase-card .media-title a {
    color: #f8fafc !important;
    text-decoration: none !important;
}

.media-card.tt-showcase-card .media-title a:hover {
    color: #e11d48 !important;
}

html.light-theme .media-card.tt-showcase-card .media-title a,
body.light-theme .media-card.tt-showcase-card .media-title a,
html[data-theme="light"] .media-card.tt-showcase-card .media-title a {
    color: #0f172a !important;
}

html.light-theme .media-card.tt-showcase-card .media-title a:hover,
body.light-theme .media-card.tt-showcase-card .media-title a:hover {
    color: #e11d48 !important;
}

.tt-media-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-top: 10px !important;
    margin-top: auto !important;
    border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
    font-size: 0.76rem !important;
    color: #94a3b8 !important;
}

html.light-theme .tt-media-card-footer,
body.light-theme .tt-media-card-footer {
    border-top-color: #e2e8f0 !important;
    color: #64748b !important;
}

.tt-media-rtime,
.tt-list-rtime {
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #cbd5e1 !important;
}

html.light-theme .tt-media-rtime,
body.light-theme .tt-media-rtime,
html.light-theme .tt-list-rtime,
body.light-theme .tt-list-rtime {
    color: #475569 !important;
}

/* 7. UJEDNOLICONE ODZNAKI NA BOCZNYCH KARTACH LISTY (.list-card) I RAPORCIE SPECJALNYM */
.list-card .list-thumb {
    position: relative !important;
}

.list-card .list-thumb .card-action-deck.tt-deck-compact {
    top: 6px !important;
    right: 6px !important;
    gap: 4px !important;
    transform: scale(0.86);
    transform-origin: top right;
}

.tt-list-card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 5px !important;
}

.tt-list-card-meta .category {
    display: inline-block !important;
    background: #e11d48 !important;
    color: #ffffff !important;
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.64rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 2px 6px !important;
    border-radius: 0px !important;
}

.tt-list-card-meta .date {
    font-size: 0.72rem !important;
    color: #94a3b8 !important;
}

html.light-theme .tt-list-card-meta .date,
body.light-theme .tt-list-card-meta .date {
    color: #64748b !important;
}

.tt-dynamic-featured-header {
    margin-bottom: 14px !important;
}

.tt-dynamic-featured-img-wrap {
    position: relative !important;
}

.tt-dynamic-featured-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}

.tt-dynamic-featured-meta .category {
    display: inline-block !important;
    background: #e11d48 !important;
    color: #ffffff !important;
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 4px 10px !important;
    border-radius: 0px !important;
}

.tt-dynamic-featured-meta .date {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
}

html.light-theme .tt-dynamic-featured-meta .date,
body.light-theme .tt-dynamic-featured-meta .date {
    color: #475569 !important;
}

/* Odznaka oceny recenzji w prawym górnym rogu karty (.tt-pill-score) */
.card-action-pill.tt-pill-score {
    background: #e11d48 !important;
    color: #ffffff !important;
    border-color: #e11d48 !important;
    font-weight: 800 !important;
}

/* =========================================================================
   8. UJEDNOLICONY SYSTEM REKLAMOWY (POZIOME WIERSZE W KATEGORIACH,
      RESPONSYWNE DESKTOP vs MOBILE, SLIDE-IN Z PRAWEJ, MOBILE STICKY BOTTOM)
   ========================================================================= */

/* Pełnoszerokościowy wiersz reklamowy wewnątrz 3-kolumnowej siatki kategorii i archiwum */
.tt-grid-row-ad {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 6px 0 12px 0 !important;
    border-radius: 0px !important;
}

.tt-grid-row-ad .tt-ad-slot {
    margin: 0 !important;
    width: 100% !important;
    border-radius: 0px !important;
}

/* Przełączanie widoków Desktop vs Mobile wewnątrz slotu reklamowego */
.tt-ad-view-desktop {
    display: block !important;
}

.tt-ad-view-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .tt-ad-view-desktop {
        display: none !important;
    }
    .tt-ad-view-mobile {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 115px !important;
        max-width: 340px !important;
        margin: 0 auto !important;
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }
    .tt-ad-slot.tt-ad-billboard,
    .tt-ad-slot.tt-ad-in-article {
        max-width: 100% !important;
        margin: 16px auto !important;
        padding: 8px 10px !important;
    }
}

/* Linki obrazkowe dla własnych banerów graficznych */
.tt-ad-img-link {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    text-decoration: none !important;
}

.tt-ad-img-link img {
    max-width: 100% !important;
    height: auto !important;
    display: inline-block !important;
    border-radius: 0px !important;
}

/* Sloty śródtekstowe w artykule */
.tt-ad-slot.tt-ad-in-article {
    margin: 26px 0 !important;
    border-radius: 0px !important;
}

/* Wyjeżdżająca reklama z prawej strony na Desktopie (Slide-In Right Corner Box) */
.tt-slidein-ad-box {
    position: fixed !important;
    right: 20px !important;
    bottom: 24px !important;
    width: 328px !important;
    background: #0f172a !important;
    border: 2px solid #e11d48 !important;
    border-radius: 0px !important;
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.65) !important;
    z-index: 9990 !important;
    transform: translateX(390px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
}

.tt-slidein-ad-box.is-visible {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.tt-slidein-ad-box.is-dismissed {
    display: none !important;
}

html.light-theme .tt-slidein-ad-box,
body.light-theme .tt-slidein-ad-box {
    background: #ffffff !important;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.22) !important;
}

.tt-slidein-ad-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #e11d48 !important;
    color: #ffffff !important;
    padding: 6px 10px !important;
    border-radius: 0px !important;
}

.tt-slidein-ad-badge {
    font-family: var(--font-mono, monospace) !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
}

.tt-slidein-close-btn {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 0px !important;
    padding: 2px 8px !important;
    font-size: 0.66rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
}

.tt-slidein-close-btn:hover {
    background: #ffffff !important;
    color: #0f172a !important;
}

.tt-slidein-ad-body {
    padding: 10px !important;
}

.tt-slidein-ad-body .tt-ad-slot {
    margin: 0 !important;
    padding: 10px !important;
}

.tt-slidein-ad-body .tt-ad-label {
    display: none !important;
}

.tt-slidein-ad-body .tt-ad-view-desktop {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 195px !important;
    padding: 14px 10px !important;
    font-size: 0.85rem !important;
    text-align: center !important;
}

.tt-slidein-ad-body .tt-ad-view-mobile {
    display: none !important;
}

@media (max-width: 991px) {
    .tt-slidein-ad-box {
        display: none !important;
    }
}

/* Dolna przyklejona reklama na widoku mobilnym (Mobile Sticky Bottom Anchor Ad) */
.tt-mobile-sticky-ad {
    display: none !important;
}

@media (max-width: 991px) {
    .tt-mobile-sticky-ad {
        display: block !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        background: #0f172a !important;
        border-top: 2px solid #e11d48 !important;
        border-radius: 0px !important;
        box-shadow: 0 -8px 26px rgba(2, 6, 23, 0.55) !important;
        z-index: 9995 !important;
    }

    html.light-theme .tt-mobile-sticky-ad,
    body.light-theme .tt-mobile-sticky-ad {
        background: #ffffff !important;
        box-shadow: 0 -6px 22px rgba(15, 23, 42, 0.16) !important;
    }

    .tt-mobile-sticky-topbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 3px 10px !important;
        background: #1e293b !important;
        color: #cbd5e1 !important;
        border-radius: 0px !important;
    }

    html.light-theme .tt-mobile-sticky-topbar,
    body.light-theme .tt-mobile-sticky-topbar {
        background: #f1f5f9 !important;
        color: #475569 !important;
    }

    .tt-mobile-sticky-label {
        font-family: var(--font-mono, monospace) !important;
        font-size: 0.62rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
    }

    .tt-mobile-sticky-ad.is-dismissed {
        display: none !important;
    }

    .tt-mobile-sticky-close {
        background: #e11d48 !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 0px !important;
        height: 24px !important;
        padding: 0 10px !important;
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        line-height: 24px !important;
        text-align: center !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
    }

    .tt-mobile-sticky-body {
        display: block !important;
        padding: 6px 8px !important;
        max-height: 110px !important;
        overflow: hidden !important;
    }

    .tt-mobile-sticky-body .tt-ad-slot {
        margin: 0 auto !important;
        padding: 6px 10px !important;
        max-width: 100% !important;
    }

    .tt-mobile-sticky-body .tt-ad-label,
    .tt-mobile-sticky-body .tt-ad-view-desktop {
        display: none !important;
    }

    .tt-mobile-sticky-body .tt-ad-view-mobile {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 44px !important;
        max-width: 100% !important;
        padding: 4px 8px !important;
        font-size: 0.72rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }

    body.tt-has-mobile-sticky-ad {
        padding-bottom: 92px !important;
    }
}




