/* ==========================================================================
           DroneFlyBlog v3.0 — Aerial HUD
           Dark tech-editorial · Syne + DM Sans · Cyan accent · Glassmorphism
           ========================================================================== */

        /* === VARIABLES === */
        :root {
            --dfb-bg:           #08080d;
            --dfb-surface:      #101018;
            --dfb-surface-2:    #16161f;
            --dfb-surface-3:    #1e1e2a;
            --dfb-border:       rgba(255, 255, 255, 0.06);
            --dfb-border-hover: rgba(255, 255, 255, 0.12);
            --dfb-text:         #e4e4eb;
            --dfb-text-2:       #9898ab;
            --dfb-text-3:       #8a8a9f;
            --dfb-accent:       #00d4ff;
            --dfb-accent-dim:   rgba(0, 212, 255, 0.15);
            --dfb-accent-glow:  rgba(0, 212, 255, 0.25);
            --dfb-warm:         #ff6b35;
            --dfb-warm-dim:     rgba(255, 107, 53, 0.15);
            --dfb-glass:        rgba(16, 16, 24, 0.7);
            --dfb-glass-border: rgba(255, 255, 255, 0.08);
            --dfb-radius:       12px;
            --dfb-radius-sm:    8px;
            --dfb-radius-pill:  100px;
            --dfb-font-display: 'Syne', sans-serif;
            --dfb-font-body:    'DM Sans', sans-serif;
            --dfb-font-mono:    'JetBrains Mono', monospace;
        }

        /* GP overrides */
        body.dfb-design {
            --contrast: #e4e4eb; --contrast-2: #9898ab; --contrast-3: #5c5c72;
            --base: #1e1e2a; --base-2: #16161f; --base-3: #101018;
            --accent: #00d4ff;
        }

        /* === BASE === */
        body.dfb-design {
            font-family: var(--dfb-font-body) !important;
            font-size: 16px;
            color: var(--dfb-text);
            background: var(--dfb-bg) !important;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        body.dfb-design::before {
            content: '';
            position: fixed; top: 0; left: 0;
            width: 100%; height: 100%;
            background:
                radial-gradient(ellipse 80% 60% at 50% -20%, rgba(0, 212, 255, 0.04) 0%, transparent 70%),
                radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255, 107, 53, 0.03) 0%, transparent 70%);
            pointer-events: none; z-index: 0;
        }

        body.dfb-design > * { position: relative; z-index: 1; }
        body.dfb-design > .gp-modal {
            position: static;
            z-index: auto;
        }

        /* === TYPOGRAPHY === */
        body.dfb-design h1, body.dfb-design h2, body.dfb-design h3,
        body.dfb-design h4, body.dfb-design h5, body.dfb-design h6 {
            font-family: var(--dfb-font-display) !important;
            color: var(--dfb-text);
            letter-spacing: -0.02em;
        }

        body.dfb-design h1 {
            font-size: clamp(32px, 5vw, 52px);
            font-weight: 800; line-height: 1.08;
            letter-spacing: -0.04em;
        }
        body.dfb-design h2 {
            font-size: clamp(24px, 3.5vw, 36px);
            font-weight: 700; line-height: 1.15;
            letter-spacing: -0.03em;
        }
        body.dfb-design h3 {
            font-size: 20px; font-weight: 700; line-height: 1.3;
        }
        body.dfb-design h4 {
            font-size: 16px; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.06em;
            color: var(--dfb-text-2);
        }

        body.dfb-design code, body.dfb-design pre {
            font-family: var(--dfb-font-mono);
        }

        /* === SELECTION === */
        body.dfb-design ::selection {
            background: var(--dfb-accent); color: var(--dfb-bg);
        }

        /* === LINKS === */
        body.dfb-design a {
            color: var(--dfb-accent);
            text-decoration: none;
            transition: color 0.25s ease;
        }
        body.dfb-design a:hover {
            color: #fff;
        }

        /* === FOCUS === */
        body.dfb-design a:focus-visible,
        body.dfb-design button:focus-visible,
        body.dfb-design input:focus-visible {
            outline: 2px solid var(--dfb-accent);
            outline-offset: 3px;
        }

        /* === SCROLLBAR === */
        body.dfb-design ::-webkit-scrollbar { width: 6px; }
        body.dfb-design ::-webkit-scrollbar-track { background: var(--dfb-bg); }
        body.dfb-design ::-webkit-scrollbar-thumb {
            background: var(--dfb-surface-3); border-radius: 3px;
        }
        body.dfb-design ::-webkit-scrollbar-thumb:hover {
            background: var(--dfb-text-3);
        }

        /* === LAYOUT === */
        body.dfb-design .site-content .grid-container { max-width: 1200px; }

        body.dfb-archive.home .site-content .content-area {
            width: 100% !important; float: none !important;
        }
        body.dfb-archive.home .site-content .widget-area {
            display: none !important;
        }

        body.dfb-single .site-content .content-area,
        body.dfb-archive:not(.home) .site-content .content-area {
            width: calc(100% - 340px) !important;
        }
        body.dfb-single .site-content .widget-area,
        body.dfb-archive:not(.home) .site-content .widget-area {
            width: 310px !important;
        }

        /* === HEADER === */
        body.dfb-design .site-header {
            background: rgba(8, 8, 13, 0.85) !important;
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid var(--dfb-border) !important;
            transition: box-shadow 0.4s ease, border-color 0.4s ease;
        }
        body.dfb-design .site-header.header-scrolled {
            box-shadow: 0 0 40px rgba(0, 212, 255, 0.05);
            border-bottom-color: var(--dfb-border-hover) !important;
        }

        body.dfb-design .site-header .header-image img,
        body.dfb-design .site-header .site-logo img {
            filter: brightness(0) invert(1);
        }

        body.dfb-design .site-header .site-title a {
            color: #fff !important;
            font-family: var(--dfb-font-display) !important;
            font-weight: 800; letter-spacing: -0.03em;
            font-size: clamp(14px, 3vw, 20px);
            white-space: nowrap;
        }
        body.dfb-design .site-header .site-description {
            color: var(--dfb-text-3) !important;
        }

        body.dfb-design .main-navigation a,
        body.dfb-design .main-navigation .menu-bar-item > a {
            color: var(--dfb-text-2) !important;
            font-family: var(--dfb-font-body) !important;
            font-weight: 500; font-size: 13px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            transition: color 0.25s ease;
        }
        body.dfb-design .main-navigation a:hover,
        body.dfb-design .main-navigation .menu-bar-item > a:hover {
            color: var(--dfb-accent) !important;
        }
        body.dfb-design .main-navigation .current-menu-item > a {
            color: #fff !important;
        }
        @media (min-width: 769px) {
            body.dfb-design #primary-menu > ul {
                display: flex;
                gap: 16px;
            }
            body.dfb-design #primary-menu > ul > li > a {
                padding-left: 0;
                padding-right: 0;
            }
        }

        body.dfb-design .main-navigation ul ul {
            background: var(--dfb-glass) !important;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--dfb-glass-border);
            border-radius: var(--dfb-radius);
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
            overflow: hidden;
        }
        body.dfb-design .main-navigation ul ul a {
            color: var(--dfb-text-2) !important;
        }
        body.dfb-design .main-navigation ul ul a:hover {
            background: rgba(0, 212, 255, 0.06) !important;
            color: var(--dfb-accent) !important;
        }

        body.dfb-design .navigation-search a,
        body.dfb-design .navigation-search svg {
            color: var(--dfb-text-2) !important;
            fill: var(--dfb-text-2) !important;
        }
        body.dfb-design .menu-toggle .gp-icon svg {
            fill: var(--dfb-text);
        }

        /* === HERO / FEATURED POST === */
        .dfb-hero {
            margin-bottom: 60px;
        }
        .dfb-hero-inner {
            display: grid;
            grid-template-columns: 1.4fr 1fr;
            gap: 48px; align-items: center;
            min-height: 420px;
        }
        .dfb-hero-image {
            position: relative;
            border-radius: var(--dfb-radius);
            overflow: hidden;
        }
        .dfb-hero-image img {
            width: 100%; height: 100%;
            aspect-ratio: 16 / 10;
            object-fit: cover; display: block;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .dfb-hero-image:hover img {
            transform: scale(1.04);
        }
        .dfb-hero-image-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(
                135deg,
                rgba(0, 212, 255, 0.08) 0%,
                transparent 50%,
                rgba(255, 107, 53, 0.05) 100%
            );
            pointer-events: none;
        }
        .dfb-hero-image::after {
            content: '';
            position: absolute; inset: 0;
            border: 1px solid var(--dfb-border);
            border-radius: var(--dfb-radius);
            pointer-events: none;
        }

        .dfb-hero-content {
            display: flex; flex-direction: column; gap: 20px;
        }
        .dfb-hero-meta-top {
            display: flex; align-items: center; gap: 12px;
            font-size: 13px; color: var(--dfb-text-3);
        }
        .dfb-hero-divider { color: var(--dfb-text-3); opacity: 0.4; }

        .dfb-tag {
            display: inline-block;
            background: var(--dfb-accent-dim);
            color: var(--dfb-accent) !important;
            padding: 4px 12px;
            border-radius: var(--dfb-radius-pill);
            font-size: 11px; font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            border: 1px solid rgba(0, 212, 255, 0.2);
            transition: all 0.25s ease;
        }
        .dfb-tag:hover {
            background: var(--dfb-accent-glow);
            color: #fff !important;
            box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
        }

        .dfb-hero-title {
            font-size: clamp(28px, 3.5vw, 42px) !important;
            font-weight: 700 !important;
            line-height: 1.15 !important;
            letter-spacing: -0.025em !important;
        }
        .dfb-hero-title a {
            color: #fff !important;
            text-decoration: none;
            transition: color 0.25s ease;
        }
        .dfb-hero-title a:hover {
            color: var(--dfb-accent) !important;
        }

        .dfb-hero-excerpt {
            color: var(--dfb-text-2);
            font-size: 16px; line-height: 1.65;
        }

        .dfb-hero-bottom {
            display: flex; align-items: center;
            justify-content: space-between;
            padding-top: 20px;
            border-top: 1px solid var(--dfb-border);
            font-size: 13px; color: var(--dfb-text-3);
        }

        .dfb-hero-cta {
            display: inline-flex; align-items: center; gap: 8px;
            color: var(--dfb-accent) !important;
            font-weight: 600; font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            transition: gap 0.3s ease;
        }
        .dfb-hero-cta:hover {
            gap: 12px; color: #fff !important;
        }
        .dfb-hero-cta svg {
            transition: transform 0.3s ease;
        }
        .dfb-hero-cta:hover svg {
            transform: translateX(3px);
        }

        /* === SECTION DIVIDER (between hero and grid) === */
        .dfb-hero + .gb-grid-wrapper::before {
            content: 'ÚLTIMOS ARTIGOS';
            display: block;
            width: 100%;
            font-family: var(--dfb-font-display);
            font-size: 11px; font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--dfb-text-3);
            padding-bottom: 24px;
            margin-bottom: 32px;
            border-bottom: 1px solid var(--dfb-border);
            grid-column: 1 / -1;
        }

        /* === CARDS / ARCHIVE === */
        body.dfb-archive.home .gb-grid-wrapper {
            display: grid !important;
            margin-left: 0 !important;
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 20px !important;
        }
        body.dfb-archive:not(.home) .gb-grid-wrapper {
            display: grid !important;
            margin-left: 0 !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 20px !important;
        }
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column {
            width: 100% !important;
            padding-left: 0 !important;
            padding-bottom: 0 !important;
            max-width: none !important;
        }
        @media (max-width: 768px) {
            body.dfb-archive.home .gb-grid-wrapper,
            body.dfb-archive:not(.home) .gb-grid-wrapper {
                grid-template-columns: 1fr !important;
            }
        }
        @media (max-width: 1024px) and (min-width: 769px) {
            body.dfb-archive.home .gb-grid-wrapper,
            body.dfb-archive:not(.home) .gb-grid-wrapper {
                grid-template-columns: repeat(2, 1fr) !important;
            }
        }

        body.dfb-archive .gb-grid-wrapper > .gb-grid-column {
            position: relative;
            border-radius: var(--dfb-radius);
            overflow: hidden;
            background: var(--dfb-surface);
            border: 1px solid var(--dfb-border);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                        box-shadow 0.4s ease,
                        border-color 0.4s ease;
        }
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column:hover {
            transform: translateY(-4px);
            border-color: var(--dfb-border-hover);
            box-shadow:
                0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 0 1px var(--dfb-border-hover);
        }

        body.dfb-archive .gb-grid-wrapper > .gb-grid-column .gb-image-wrapper {
            overflow: hidden; position: relative;
        }
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column .gb-image-wrapper::after {
            content: '';
            position: absolute; bottom: 0; left: 0; right: 0;
            height: 60px;
            background: linear-gradient(to top, var(--dfb-surface), transparent);
            pointer-events: none;
        }
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column .gb-image {
            aspect-ratio: 16 / 10; object-fit: cover; width: 100%;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            filter: brightness(0.9) contrast(1.05);
        }
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column:hover .gb-image {
            transform: scale(1.05);
            filter: brightness(1) contrast(1.05);
        }

        /* Card category badge */
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column .gb-headline-c66a2b1e a {
            background: var(--dfb-accent-dim);
            color: var(--dfb-accent) !important;
            padding: 3px 10px;
            border-radius: var(--dfb-radius-pill);
            font-size: 10px !important;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            border: 1px solid rgba(0, 212, 255, 0.15);
        }

        /* Card title */
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column h3 {
            font-family: var(--dfb-font-display) !important;
            font-size: 17px !important; font-weight: 700;
            line-height: 1.3; letter-spacing: -0.01em;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column h3 a {
            color: var(--dfb-text) !important;
            text-decoration: none;
            transition: color 0.25s ease;
        }
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column h3 a:hover {
            color: var(--dfb-accent) !important;
        }

        /* Card meta */
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column .gb-headline-897f85e5,
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column .gb-headline-682093c1 {
            color: var(--dfb-text-3) !important;
            font-size: 12px !important;
            font-family: var(--dfb-font-mono) !important;
        }

        /* Card excerpt */
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column .gb-headline-251bd4df {
            color: var(--dfb-text-2);
            font-size: 14px; line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Card padding */
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column > .gb-inside-container {
            padding: 20px;
        }

        /* Pagination */
        body.dfb-archive .gb-button-container.is-pagination { margin-top: 48px; }
        body.dfb-archive .gb-button-container.is-pagination .gb-button {
            background: var(--dfb-surface-2) !important;
            color: var(--dfb-text-2) !important;
            border: 1px solid var(--dfb-border) !important;
            border-radius: var(--dfb-radius-sm) !important;
            font-weight: 500;
            transition: all 0.25s ease;
        }
        body.dfb-archive .gb-button-container.is-pagination .gb-button:hover {
            border-color: var(--dfb-accent) !important;
            color: var(--dfb-accent) !important;
            box-shadow: 0 0 20px var(--dfb-accent-dim);
        }

        /* === SINGLE POST === */

        /* Restyle GB hero for dark theme */
        body.dfb-single .gb-container-70385d72 {
            background: var(--dfb-bg) !important;
        }
        body.dfb-single .gb-container-70385d72::before {
            background: linear-gradient(
                to top,
                var(--dfb-bg) 0%,
                rgba(8, 8, 13, 0.85) 50%,
                rgba(8, 8, 13, 0.5) 100%
            ) !important;
        }
        body.dfb-single .gb-container-579e5b87 h1,
        body.dfb-single .gb-container-579e5b87 .gb-headline {
            font-family: var(--dfb-font-display) !important;
            color: #fff !important;
        }
        body.dfb-single .gb-container-579e5b87 h1 {
            font-size: clamp(28px, 4vw, 44px) !important;
            font-weight: 700 !important;
            letter-spacing: -0.025em !important;
            line-height: 1.15 !important;
            text-wrap: balance;
        }
        body.dfb-single .gb-container-d909e043 .gb-button {
            background: var(--dfb-accent-dim) !important;
            color: var(--dfb-accent) !important;
            border: 1px solid rgba(0, 212, 255, 0.2) !important;
            border-radius: var(--dfb-radius-pill) !important;
            font-weight: 600;
        }

        /* Mobile: imagem fora e hero a encolher — o conteudo vem primeiro. */
        @media (max-width: 768px) {
            body.dfb-single .gb-container-4e92c4e8 {
                display: none !important;
            }
            body.dfb-single .gb-container-70385d72 {
                min-height: auto !important;
            }
        }
        /* Desktop: repor o hero de duas colunas como foi desenhado no GB. */
        @media (min-width: 769px) {
            body.dfb-single .gb-container-4e92c4e8 {
                display: block !important;
            }
            body.dfb-single .gb-container-70385d72 {
                min-height: 380px !important;
            }
        }

        /* Breadcrumbs */
        .dfb-breadcrumbs {
            font-size: 12px; color: var(--dfb-text-3);
            margin-bottom: 20px;
            font-family: var(--dfb-font-mono);
            letter-spacing: 0.02em;
        }
        .dfb-breadcrumbs a {
            color: var(--dfb-text-3); text-decoration: none;
        }
        .dfb-breadcrumbs a:hover { color: var(--dfb-accent); }

        /* Entry header */
        body.dfb-single .inside-article .entry-header { margin-bottom: 32px; }

        /* Featured image */
        body.dfb-single .inside-article .post-image {
            margin-bottom: 40px;
        }
        body.dfb-single .inside-article .post-image img {
            border-radius: var(--dfb-radius);
            width: 100%; height: auto;
            border: 1px solid var(--dfb-border);
        }

        /* Content */
        body.dfb-single .inside-article .entry-content {
            max-width: 720px; margin: 0 auto;
            font-size: 17px; line-height: 1.85;
            color: var(--dfb-text-2);
        }
        body.dfb-single .inside-article .entry-content p {
            margin-bottom: 1.6em;
        }
        body.dfb-single .inside-article .entry-content strong {
            color: var(--dfb-text); font-weight: 600;
        }

        body.dfb-single .inside-article .entry-content h2 {
            margin-top: 3em; margin-bottom: 0.8em;
            padding-top: 2em;
            border-top: 1px solid var(--dfb-border);
            color: var(--dfb-text);
        }
        body.dfb-single .inside-article .entry-content h3 {
            margin-top: 2.2em; margin-bottom: 0.6em;
            color: var(--dfb-text);
        }

        /* Content links */
        body.dfb-single .inside-article .entry-content a {
            color: var(--dfb-accent);
            text-decoration: underline;
            text-decoration-color: rgba(0, 212, 255, 0.3);
            text-underline-offset: 3px;
            transition: text-decoration-color 0.25s ease;
        }
        body.dfb-single .inside-article .entry-content a:hover {
            text-decoration-color: var(--dfb-accent);
        }

        /* Blockquotes */
        body.dfb-single .inside-article .entry-content blockquote {
            border-left: 2px solid var(--dfb-accent);
            background: var(--dfb-surface);
            margin: 2em 0; padding: 1.5em 2em;
            border-radius: 0 var(--dfb-radius) var(--dfb-radius) 0;
            font-style: italic; color: var(--dfb-text-2);
            position: relative;
        }
        body.dfb-single .inside-article .entry-content blockquote::before {
            content: '"';
            position: absolute; top: -10px; left: 20px;
            font-size: 60px; font-family: var(--dfb-font-display);
            color: var(--dfb-accent); opacity: 0.15;
            line-height: 1;
        }
        body.dfb-single .inside-article .entry-content blockquote p:last-child {
            margin-bottom: 0;
        }

        /* Lists */
        body.dfb-single .inside-article .entry-content ul {
            list-style: none; padding-left: 1.5em;
        }
        body.dfb-single .inside-article .entry-content ul li {
            position: relative; padding-left: 0.8em; margin-bottom: 0.6em;
        }
        body.dfb-single .inside-article .entry-content ul li::before {
            content: ''; position: absolute;
            left: -1em; top: 0.65em;
            width: 5px; height: 5px;
            background: var(--dfb-accent);
            border-radius: 50%;
            box-shadow: 0 0 6px var(--dfb-accent-dim);
        }
        body.dfb-single .inside-article .entry-content ol { padding-left: 1.5em; }
        body.dfb-single .inside-article .entry-content ol li { margin-bottom: 0.6em; }
        body.dfb-single .inside-article .entry-content ol li::marker {
            color: var(--dfb-accent); font-weight: 700;
            font-family: var(--dfb-font-mono);
        }

        /* Images */
        body.dfb-single .inside-article .entry-content img {
            border-radius: var(--dfb-radius-sm);
            border: 1px solid var(--dfb-border);
        }

        /* Tables */
        body.dfb-single .inside-article .entry-content table {
            width: 100%; border-collapse: collapse;
            border-radius: var(--dfb-radius); overflow: hidden;
            margin: 2em 0;
            border: 1px solid var(--dfb-border);
        }
        body.dfb-single .inside-article .entry-content table th {
            background: var(--dfb-surface-2); color: var(--dfb-text);
            padding: 12px 16px; text-align: left;
            font-weight: 600; font-size: 13px;
            font-family: var(--dfb-font-mono);
            letter-spacing: 0.04em; text-transform: uppercase;
        }
        body.dfb-single .inside-article .entry-content table td {
            padding: 10px 16px;
            border-bottom: 1px solid var(--dfb-border);
            color: var(--dfb-text-2);
        }
        body.dfb-single .inside-article .entry-content table tr:nth-child(even) td {
            background: var(--dfb-surface);
        }

        /* Code */
        body.dfb-single .inside-article .entry-content pre {
            background: var(--dfb-surface); color: var(--dfb-text);
            border: 1px solid var(--dfb-border);
            border-radius: var(--dfb-radius); padding: 1.5em;
            overflow-x: auto; font-size: 14px; line-height: 1.6;
        }
        body.dfb-single .inside-article .entry-content code {
            background: var(--dfb-surface-2);
            padding: 2px 8px; border-radius: 4px;
            font-size: 0.88em; color: var(--dfb-accent);
            border: 1px solid var(--dfb-border);
        }
        body.dfb-single .inside-article .entry-content pre code {
            background: transparent; padding: 0;
            color: inherit; border: none;
        }

        /* Author box */
        body.dfb-single .saboxplugin-wrap {
            border: 1px solid var(--dfb-border) !important;
            background: var(--dfb-surface);
            border-radius: var(--dfb-radius);
            padding: 30px; margin-top: 3em;
        }
        body.dfb-single .saboxplugin-wrap .saboxplugin-gravatar img {
            border-radius: 50% !important;
            border: 2px solid var(--dfb-border);
        }

        /* FAQ */
        body.dfb-single .inside-article .entry-content .schema-faq {
            background: var(--dfb-surface);
            border: 1px solid var(--dfb-border);
            border-radius: var(--dfb-radius); padding: 24px 28px;
        }

        /* Reading time badge */
        .dfb-reading-time {
            display: inline-flex; align-items: center;
            gap: 6px; font-size: 12px;
            color: var(--dfb-text-3);
            font-family: var(--dfb-font-mono);
        }

        /* === SIDEBAR === */
        body.dfb-design .gb-headline-9e06b5e3 {
            border-left: none !important;
            padding-left: 0; padding-bottom: 12px;
            border-bottom: 1px solid var(--dfb-border) !important;
            text-transform: uppercase !important;
            font-size: 11px !important; font-weight: 600 !important;
            letter-spacing: 0.1em !important;
            color: var(--dfb-text-3) !important;
            font-family: var(--dfb-font-display) !important;
        }
        body.dfb-design .gb-container-bcbc46ac {
            border-top: none !important;
        }
        body.dfb-design .gb-container-3ff058ae .gb-image {
            border-radius: var(--dfb-radius-sm) !important;
            border: 1px solid var(--dfb-border);
        }
        body.dfb-design .gb-headline-040f2ffe a {
            color: var(--dfb-text) !important;
            font-family: var(--dfb-font-display) !important;
            font-weight: 600; font-size: 14px;
            transition: color 0.25s ease; text-decoration: none;
        }
        body.dfb-design .gb-headline-040f2ffe a:hover {
            color: var(--dfb-accent) !important;
        }
        body.dfb-design .gb-headline-14dcdb64 {
            color: var(--dfb-accent) !important;
            font-weight: 600 !important;
            font-size: 11px !important;
        }
        body.dfb-design .sticky-container {
            background: var(--dfb-surface);
            border: 1px solid var(--dfb-border);
            padding: 24px; border-radius: var(--dfb-radius);
        }

        .dfb-sidebar-ad { position: sticky; top: 80px; }

        /* Search widget in sidebar */
        body.dfb-design .widget-area input[type="search"],
        body.dfb-design .widget-area .search-field {
            background: var(--dfb-surface-2) !important;
            border: 1px solid var(--dfb-border) !important;
            color: var(--dfb-text) !important;
            border-radius: var(--dfb-radius-sm) !important;
            padding: 10px 14px !important;
            font-family: var(--dfb-font-body) !important;
            font-size: 14px !important;
            width: 100% !important;
        }
        body.dfb-design .widget-area input[type="search"]:focus,
        body.dfb-design .widget-area .search-field:focus {
            border-color: var(--dfb-accent) !important;
            box-shadow: 0 0 0 3px var(--dfb-accent-dim) !important;
            outline: none !important;
        }
        body.dfb-design .widget-area input[type="search"]::placeholder {
            color: var(--dfb-text-3) !important;
        }
        /* Search submit button */
        body.dfb-design .widget-area .search-submit,
        body.dfb-design .widget-area button[type="submit"] {
            background: var(--dfb-surface-3) !important;
            border: 1px solid var(--dfb-border) !important;
            color: var(--dfb-text-2) !important;
            border-radius: var(--dfb-radius-sm) !important;
            cursor: pointer;
            transition: all 0.25s ease;
        }
        body.dfb-design .widget-area .search-submit:hover {
            border-color: var(--dfb-accent) !important;
            color: var(--dfb-accent) !important;
        }

        /* Hide "Menu" text label on mobile — show only hamburger icon */
        body.dfb-design .menu-toggle .mobile-menu {
            display: none !important;
        }

        body.dfb-design .gb-headline-sidebar-cats-title {
            border-left: none !important;
            border-bottom: 1px solid var(--dfb-border) !important;
            padding-left: 0; padding-bottom: 12px;
            text-transform: uppercase !important;
            font-size: 11px !important; font-weight: 600 !important;
            letter-spacing: 0.1em !important;
        }

        /* === FOOTER === */
        .dfb-footer-wrap {
            background: var(--dfb-surface) !important;
            border-top: 1px solid var(--dfb-border);
            color: var(--dfb-text-2);
            margin-top: 80px;
        }
        .dfb-footer-wrap a {
            color: var(--dfb-text-3) !important;
            transition: color 0.25s ease; text-decoration: none;
        }
        .dfb-footer-wrap a:hover {
            color: var(--dfb-accent) !important;
        }

        /* Nos artigos a coluna da newsletter nao e impressa (o CTA fica acima),
           logo a grelha passa a duas colunas para nao deixar buraco. */
        body.dfb-single .dfb-footer-grid {
            grid-template-columns: 1.3fr 0.8fr;
        }
        .dfb-footer-grid {
            display: grid;
            grid-template-columns: 1.3fr 0.8fr 1.2fr;
            gap: 48px; max-width: 1200px;
            margin: 0 auto; padding: 64px 20px 48px;
        }

        .dfb-footer-logo {
            font-family: var(--dfb-font-display);
            font-size: 22px; font-weight: 800;
            color: #fff; letter-spacing: -0.03em;
            margin-bottom: 16px;
        }
        .dfb-footer-logo span {
            color: var(--dfb-accent);
        }

        .footer-brand p {
            color: var(--dfb-text-3);
            font-size: 14px; line-height: 1.6;
        }

        .dfb-footer-social {
            display: flex; gap: 8px; margin-top: 20px;
        }
        .dfb-footer-dot {
            width: 8px; height: 8px;
            background: var(--dfb-text-3);
            border-radius: 50%;
            transition: background 0.3s ease, box-shadow 0.3s ease;
        }
        .dfb-footer-dot:hover {
            background: var(--dfb-accent);
            box-shadow: 0 0 10px var(--dfb-accent-dim);
        }

        .dfb-footer-grid h4 {
            font-family: var(--dfb-font-display) !important;
            color: var(--dfb-text) !important;
            font-size: 11px; font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em; margin-bottom: 20px;
        }

        .footer-nav ul {
            list-style: none; padding: 0; margin: 0;
        }
        .footer-nav li { margin-bottom: 10px; }
        .footer-nav a {
            font-size: 14px;
            transition: padding-left 0.25s ease;
        }
        .footer-nav a:hover {
            padding-left: 6px;
        }

        .footer-newsletter p {
            color: var(--dfb-text-3);
            font-size: 14px; line-height: 1.6;
            margin-bottom: 16px;
        }

        .dfb-footer-bottom {
            border-top: 1px solid var(--dfb-border);
            padding: 20px; text-align: center;
            max-width: 1200px; margin: 0 auto;
            font-size: 12px; color: var(--dfb-text-3);
            font-family: var(--dfb-font-mono);
        }
        .dfb-footer-separator {
            margin: 0 8px; opacity: 0.3;
        }

        /* Hide old GP footer styling */
        body.dfb-design .gb-container-e224c1dd {
            background: transparent !important;
        }

        /* === PROGRESS BAR === */
        #dfb-progress-bar {
            position: fixed; top: 0; left: 0;
            width: 0%; height: 2px;
            background: linear-gradient(90deg, var(--dfb-accent), var(--dfb-warm));
            z-index: 9999;
            transition: width 0.1s linear;
            pointer-events: none;
            box-shadow: 0 0 12px var(--dfb-accent-glow);
        }

        /* === BACK-TO-TOP === */
        #dfb-back-to-top {
            position: fixed; bottom: 32px; right: 32px;
            width: 42px; height: 42px;
            background: var(--dfb-surface-2);
            color: var(--dfb-text-2);
            border: 1px solid var(--dfb-border);
            border-radius: var(--dfb-radius-sm);
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden;
            transition: all 0.35s ease;
            z-index: 999;
        }
        #dfb-back-to-top.visible { opacity: 1; visibility: visible; }
        #dfb-back-to-top:hover {
            border-color: var(--dfb-accent);
            color: var(--dfb-accent);
            box-shadow: 0 0 20px var(--dfb-accent-dim);
            transform: translateY(-2px);
        }
        #dfb-back-to-top svg { width: 18px; height: 18px; }

        /* === NEWSLETTER CTA === */
        .dfb-newsletter-cta {
            position: relative;
            background: var(--dfb-surface);
            border: 1px solid var(--dfb-border);
            border-radius: var(--dfb-radius);
            padding: 48px 40px;
            margin: 4em 0 2em;
            text-align: center;
            overflow: hidden;
        }
        .dfb-newsletter-glow {
            position: absolute;
            top: -50%; left: 50%; transform: translateX(-50%);
            width: 300px; height: 300px;
            background: radial-gradient(circle, var(--dfb-accent-dim) 0%, transparent 70%);
            pointer-events: none;
        }
        .dfb-newsletter-inner {
            position: relative; z-index: 1;
        }
        .dfb-newsletter-cta h3 {
            font-size: 24px !important; margin-bottom: 8px !important;
            color: #fff;
        }
        .dfb-newsletter-cta p {
            color: var(--dfb-text-2); margin-bottom: 24px;
        }
        body.dfb-design .dfb-recaptcha-notice {
            max-width: 440px;
            margin: 12px auto 0;
            color: var(--dfb-text-3);
            font-size: 11px;
            line-height: 1.5;
        }
        body.dfb-design .dfb-recaptcha-notice a {
            color: var(--dfb-text-2) !important;
            text-decoration: underline;
        }
        .dfb-newsletter-cta .ff-el-group {
            max-width: 400px; margin: 0 auto;
        }

        /* Fluent Forms dark styling */
        .dfb-footer-wrap .ff-el-input--content input,
        .dfb-newsletter-cta .ff-el-input--content input {
            background: var(--dfb-surface-2) !important;
            border: 1px solid var(--dfb-border) !important;
            color: var(--dfb-text) !important;
            border-radius: var(--dfb-radius-sm) !important;
            padding: 10px 14px !important;
        }
        .dfb-footer-wrap .ff-el-input--content input:focus,
        .dfb-newsletter-cta .ff-el-input--content input:focus {
            border-color: var(--dfb-accent) !important;
            box-shadow: 0 0 0 3px var(--dfb-accent-dim) !important;
        }
        .dfb-footer-wrap .ff-btn-submit,
        .dfb-newsletter-cta .ff-btn-submit {
            background: var(--dfb-accent) !important;
            color: var(--dfb-bg) !important;
            border: none !important;
            border-radius: var(--dfb-radius-sm) !important;
            font-weight: 700 !important;
            font-family: var(--dfb-font-display) !important;
            text-transform: uppercase !important;
            letter-spacing: 0.04em !important;
            transition: all 0.25s ease !important;
        }
        .dfb-footer-wrap .ff-btn-submit:hover,
        .dfb-newsletter-cta .ff-btn-submit:hover {
            box-shadow: 0 0 24px var(--dfb-accent-glow) !important;
            transform: translateY(-1px);
        }

        /* === AD ZONES & ADSENSE AUTO ADS === */
        .dfb-ad-zone {
            text-align: center; margin: 24px 0; padding: 24px 0;
        }
        .dfb-ad-leaderboard {
            max-width: 728px; margin: 0 auto 40px;
        }
        .dfb-ad-label {
            font-size: 10px; text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--dfb-text-3);
            margin-bottom: 8px;
            font-family: var(--dfb-font-mono);
        }

        /* Auto Ads owns its containers, hidden probes and anchor geometry.
           Reserve space only on server-rendered, publisher-owned ad slots. */
        body.dfb-design .site-header img.is-logo-image {
            width: 100px !important;
            height: 43px;
            object-fit: contain;
        }

        /* === MOBILE NAVIGATION === */
        .dfb-mobile-panel {
            position: fixed; top: 0; right: -320px;
            width: min(320px, 100vw); height: 100vh;
            height: 100dvh; box-sizing: border-box;
            overscroll-behavior: contain;
            background: var(--dfb-surface);
            border-left: 1px solid var(--dfb-border);
            z-index: 10000;
            transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            padding: 72px 28px 28px;
            overflow-y: auto;
        }
        .dfb-mobile-panel.open { right: 0; }

        .dfb-mobile-close {
            position: absolute; top: 16px; right: 16px;
            background: var(--dfb-surface-2); border: 1px solid var(--dfb-border);
            color: var(--dfb-text-2); font-size: 20px;
            cursor: pointer; width: 44px; height: 44px;
            display: flex; align-items: center; justify-content: center;
            border-radius: var(--dfb-radius-sm);
            transition: all 0.25s ease;
        }
        .dfb-mobile-close:hover {
            border-color: var(--dfb-accent);
            color: var(--dfb-accent);
        }

        .dfb-mobile-nav .menu {
            list-style: none; padding: 0; margin: 0;
        }
        .dfb-mobile-nav .menu li {
            border-bottom: 1px solid var(--dfb-border);
        }
        .dfb-mobile-nav .menu a {
            color: var(--dfb-text) !important;
            display: flex; align-items: center;
            padding: 16px 0;
            font-family: var(--dfb-font-display) !important;
            font-size: 15px; font-weight: 600;
            text-decoration: none; min-height: 44px;
            letter-spacing: -0.01em;
            transition: color 0.25s ease, padding-left 0.25s ease;
        }
        .dfb-mobile-nav .menu a:hover {
            color: var(--dfb-accent) !important;
            padding-left: 8px;
        }

        .dfb-mobile-nav .menu ul {
            list-style: none; padding-left: 16px; margin: 0;
            display: block !important;
            position: static !important;
            background: transparent !important;
            box-shadow: none !important;
            border: none !important;
        }
        .dfb-mobile-nav .menu ul a {
            font-size: 13px; font-weight: 500;
            color: var(--dfb-text-2) !important;
        }

        .dfb-mobile-lang {
            margin-top: 28px; padding-top: 28px;
            border-top: 1px solid var(--dfb-border);
        }

        .dfb-mobile-overlay {
            position: fixed; top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            z-index: 9999;
            opacity: 0; visibility: hidden;
            transition: opacity 0.35s ease, visibility 0.35s ease;
        }
        .dfb-mobile-overlay.open { opacity: 1; visibility: visible; }

        body.dfb-design > .dfb-mobile-panel {
            position: fixed;
            z-index: 10000;
        }
        body.dfb-design > .dfb-mobile-overlay {
            position: fixed;
            z-index: 9999;
        }

        @media (max-width: 768px) {
            body.dfb-design .main-navigation .main-nav > ul { display: none !important; }
            /* So o toggle inline do header. O <nav> traz um segundo .menu-toggle
               proprio, e a regra antiga (.main-navigation .menu-toggle) mostrava
               os DOIS: um a direita no header, outro a esquerda por baixo. */
            body.dfb-design .main-navigation.mobile-menu-control-wrapper .menu-toggle { display: block !important; }
            body.dfb-design .main-navigation:not(.mobile-menu-control-wrapper) .menu-toggle { display: none !important; }
        }

        /* Corrige sobreposição entre título e categorias em ecras ate 768px */
        @media (max-width: 768px) {
            body.dfb-design .gb-container-04da9225 {
                display: flex;
                flex-wrap: wrap;
                gap: 12px;
                align-items: flex-start;
                margin-bottom: 30px;
            }
            body.dfb-design .gb-container-04da9225 .wp-block-categories {
                width: 100%;
            }
            body.dfb-design .gb-container-04da9225 .wp-block-categories select.postform {
                width: 100%;
                max-width: 100%;
                min-height: 44px;
            }
        }

        /* === ANIMATIONS === */
        [data-animate] {
            opacity: 1;
            transform: none;
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }
        [data-animate].is-visible {
            opacity: 1; transform: translateY(0);
        }

        body.dfb-archive .gb-grid-wrapper > .gb-grid-column {
            opacity: 1; transform: none;
            transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                        box-shadow 0.4s ease,
                        border-color 0.4s ease;
        }
        body.dfb-archive .gb-grid-wrapper > .gb-grid-column.is-visible {
            opacity: 1; transform: translateY(0);
        }

        /* === RESPONSIVE === */
        @media (max-width: 1200px) and (min-width: 769px) {
            body.dfb-archive.home .gb-grid-wrapper {
                grid-template-columns: repeat(2, 1fr) !important;
            }
            .dfb-hero-inner {
                grid-template-columns: 1fr 1fr; gap: 32px;
            }
        }

        @media (max-width: 768px) {
            .dfb-hero-inner {
                grid-template-columns: 1fr; gap: 24px;
            }
            .dfb-hero-title {
                font-size: 26px !important;
            }

            body.dfb-archive .gb-grid-wrapper {
                grid-template-columns: 1fr !important;
            }

            body.dfb-single .site-content .content-area,
            body.dfb-archive:not(.home) .site-content .content-area {
                width: 100% !important;
            }
            body.dfb-single .site-content .widget-area,
            body.dfb-archive:not(.home) .site-content .widget-area {
                width: 100% !important;
            }

            body.dfb-single .inside-article .entry-content {
                padding-left: 16px; padding-right: 16px;
            }

            .dfb-footer-grid {
                grid-template-columns: 1fr;
                gap: 36px; padding: 48px 20px 36px;
            }

            #dfb-back-to-top { bottom: 20px; right: 20px; }

            .dfb-newsletter-cta { padding: 32px 20px; }

            body.dfb-design .sticky-container { padding: 20px 16px; }
        }

        @media (max-width: 480px) {
            .dfb-hero-title { font-size: 22px !important; }
            .dfb-newsletter-cta { padding: 24px 16px; }
        }
