/* ============================================================
   IDENTIDADE EDITORIAL

   Layout de revista: topo com seletor Light/Escuro e logo central,
   barra preta de categorias, lista de posts com imagem à esquerda,
   círculos de "mais vistos" e barra de ações fixos nas laterais.

   O modo de cor fica em <html data-skin="light|dark"> (header.php) e
   troca as variáveis abaixo. As variáveis --color-* do tema base
   (style-common.css, blocos ACF) também são remapeadas aqui.
   ============================================================ */

html[data-skin="light"],
html:not([data-skin]) {
    --fd-bg: #FFFFFF;
    --fd-bg-2: #F5F5F5;
    --fd-bg-3: #E5E5E5;
    --fd-heading: #080808;
    --fd-text: #555555;
    --fd-muted: #777777;
    --fd-border: #DDDDDD;
    --fd-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --fd-mob-bg: #000000;
    --fd-mob-line: #222222;
    --fd-mob-raise: #1D1D1D;
    --fd-mob-active: #333333;

    --color-dark: #080808;
    --color-gray: #555555;
    --color-gray-light: #777777;
    --color-border: #E5E5E5;
    color-scheme: light;
}

html[data-skin="dark"] {
    /* Azul-marinho moderno em vez de preto */
    --fd-bg: #0B1426;
    --fd-bg-2: #13203A;
    --fd-bg-3: #1B2B4B;
    --fd-heading: #FFFFFF;
    --fd-text: #FFFFFF;
    --fd-muted: #DCE3F0;
    --fd-border: #24365A;
    --fd-shadow: 0 5px 20px rgba(2, 6, 23, 0.6);
    --fd-nav-bg: #070E1C;
    --fd-mob-bg: #070E1C;
    --fd-mob-line: #1B2B4B;
    --fd-mob-raise: #13203A;
    --fd-mob-active: #24365A;

    --color-dark: #FFFFFF;
    --color-gray: #FFFFFF;
    --color-gray-light: #E0E0E0;
    --color-border: #24365A;
    --color-surface-muted: rgba(255, 255, 255, 0.12);
    --color-dark-review-card: #FFFFFF;
    --color-surface-muted-review-card: rgba(255, 255, 255, 0.12);
    color-scheme: dark;
}

html {
    --fd-hf: 'Heebo', 'Helvetica Neue', Arial, sans-serif;
    --fd-bf: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
    --fd-nav-bg: var(--color-navi, #080808);
    --fd-accent: var(--color-primary, #6428EC);
    --fd-side: 110px;
    font-family: var(--fd-bf);
    background-color: var(--fd-bg);
}

body {
    font-family: var(--fd-bf);
    background-color: var(--fd-bg);
    color: var(--fd-text);
    transition: background-color 0.3s ease;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fd-hf);
}

::selection {
    background: var(--fd-accent);
    color: #fff;
}

body.fd-locked {
    overflow: hidden;
}

.fd-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fd-container {
    width: 100%;
    max-width: calc(1400px + var(--fd-side) * 2);
    margin-inline: auto;
    padding-inline: var(--fd-side);
}

main.fd-main {
    padding: 0;
    background: transparent;
}

.fd-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Meta (categoria ⁄ data) ---------- */

.fd-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 12px;
    font-family: var(--fd-hf);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--fd-muted);
}

.fd-meta a {
    color: inherit;
    text-decoration: none;
}

.fd-meta-cat {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--fd-heading) !important;
    opacity: 0.75;
    transition: opacity 0.2s ease, color 0.2s ease;
}

a.fd-meta-cat:hover {
    opacity: 1;
    color: var(--fd-accent) !important;
}

/* Separador: traço com uma barra inclinada, como no original */
.fd-meta-sep {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 10px;
    flex: none;
}

.fd-meta-sep::before,
.fd-meta-sep::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: currentColor;
}

.fd-meta-sep::after {
    left: 4px;
    right: 4px;
    transform: rotate(-60deg);
}

/* ---------- Botão "Ler mais" ---------- */

.fd-readmore {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding-left: 30px;
    border: 1px solid var(--fd-bg-3);
    border-radius: 32px;
    background: var(--fd-bg);
    font-family: var(--fd-hf);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--fd-heading);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.fd-readmore-text {
    padding-right: 20px;
}

.fd-readmore-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -1px -1px -1px 0;
    border-radius: 50%;
    background: var(--fd-heading);
    color: var(--fd-bg);
    transition: background-color 0.2s ease, transform 0.3s ease;
}

.fd-readmore-icon svg {
    width: 16px;
    height: 16px;
}

.fd-readmore:hover {
    border-color: var(--fd-accent);
    color: var(--fd-accent);
}

.fd-readmore:hover .fd-readmore-icon {
    background: var(--fd-accent);
    color: #fff;
    transform: rotate(45deg);
}

/* ============================================================
   TOPO
   ============================================================ */

.fd-site-header {
    position: relative;
    z-index: 600;
}

/* style-common.css fixa "#site-header" como sticky: aqui o topo rola normal */
#site-header.fd-site-header {
    position: relative;
    top: auto;
    box-shadow: none;
}

.fd-header {
    background: var(--fd-bg);
    transition: background-color 0.3s ease;
}

.fd-header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    min-height: 100px;
    padding-block: 20px;
}

.fd-header-side:last-child {
    justify-self: end;
}

.fd-header-logo {
    display: flex;
    justify-content: center;
}

/* Logo: versão do modo claro e do escuro */
.fd-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.fd-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 60px;
}

.fd-logo-dark {
    display: none !important;
}

html[data-skin="dark"] .fd-logo-light {
    display: none !important;
}

html[data-skin="dark"] .fd-logo-dark {
    display: block !important;
}

/* Sem logo para o modo escuro: inverte a logo clara */
html[data-skin="dark"] .fd-logo--auto .fd-logo-light {
    display: block !important;
    filter: brightness(0) invert(1);
}

.fd-logo--text {
    font-family: var(--fd-hf);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fd-heading);
}

/* Interruptor claro/escuro: trilho em degradê e bolinha com efeito de mola.
   Claro = amanhecer dourado com sol; escuro = céu noturno com estrelas e lua. */
.fd-skin-toggle {
    position: relative;
    display: inline-block;
    flex: none;
    width: 54px;
    height: 30px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, #FFE9A8 0%, #FFC46B 55%, #FF9F5A 100%);
    box-shadow: inset 0 1px 3px rgba(120, 60, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

/* Céu noturno: aparece por cima do degradê claro */
.fd-skin-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(1px 1px at 12px 9px, #FFFFFF 50%, transparent 100%),
        radial-gradient(1px 1px at 20px 19px, rgba(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 8px 20px, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
        radial-gradient(1px 1px at 25px 7px, rgba(255, 255, 255, 0.7) 50%, transparent 100%),
        linear-gradient(135deg, #1E2A5A 0%, #2E2A78 60%, #4C3BA8 100%);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

html[data-skin="dark"] .fd-skin-toggle::before {
    opacity: 1;
}

.fd-skin-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 1;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(214, 120, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s ease, box-shadow 0.4s ease;
}

html[data-skin="dark"] .fd-skin-knob {
    transform: translateX(24px);
    background: #EEF0FF;
    box-shadow: 0 0 10px rgba(165, 160, 255, 0.75), 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Sol e lua no centro da bolinha, trocando com giro */
.fd-skin-knob svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fd-skin-knob svg:first-child {
    color: #F59E0B;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.fd-skin-knob svg + svg {
    color: #4F46E5;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

html[data-skin="dark"] .fd-skin-knob svg:first-child {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

html[data-skin="dark"] .fd-skin-knob svg + svg {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Lua preenchida para ficar mais legível no tamanho pequeno */
.fd-skin-knob svg + svg path {
    fill: currentColor;
}

.fd-skin-toggle:hover .fd-skin-knob {
    box-shadow: 0 3px 10px rgba(214, 120, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

html[data-skin="dark"] .fd-skin-toggle:hover .fd-skin-knob {
    box-shadow: 0 0 14px rgba(165, 160, 255, 0.95), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.fd-skin-toggle:active .fd-skin-knob {
    width: 28px;
}

html[data-skin="dark"] .fd-skin-toggle:active .fd-skin-knob {
    transform: translateX(20px);
}

.fd-skin-toggle:focus-visible {
    outline: 2px solid var(--fd-accent);
    outline-offset: 3px;
}

/* Barra preta de categorias */
.fd-nav,
.fd-sticky-nav {
    background: var(--fd-nav-bg);
}

/* Centralizado com margens automáticas: se não couber, rola a partir da
   primeira categoria (justify-content: center cortaria o início) */
.fd-nav-list {
    display: flex;
    justify-content: flex-start;
    gap: 0 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.fd-nav-list::-webkit-scrollbar {
    display: none;
}

.fd-nav-list li {
    flex: none;
}

.fd-nav-list li:first-child {
    margin-left: auto;
}

.fd-nav-list li:last-child {
    margin-right: auto;
}

.fd-nav-link {
    position: relative;
    display: block;
    height: 50px;
    line-height: 50px;
    font-family: var(--fd-hf);
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.fd-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.fd-nav-link:hover::after,
.fd-nav-link.is-current::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Modo escuro: barra de categorias branca com letras no azul do modo escuro */
html[data-skin="dark"] .fd-nav,
html[data-skin="dark"] .fd-sticky-nav {
    background: #FFFFFF;
}

html[data-skin="dark"] .fd-nav-link {
    color: var(--fd-bg);
}

/* Barra fixa que aparece ao rolar para cima */
.fd-sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 650;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-110%);
    transition: transform 0.35s ease;
}

.fd-sticky-nav.is-visible {
    transform: translateY(0);
}

.admin-bar .fd-sticky-nav {
    top: 32px;
}

/* Topo do celular */
.fd-mobbar {
    display: none;
}

/* ============================================================
   LISTA DE POSTS (home e listagens)
   ============================================================ */

.fd-home .fd-list {
    padding-top: 100px;
}

.fd-list {
    padding-top: 60px;
}

.fd-item {
    display: grid;
    grid-template-columns: minmax(0, 33.6%) minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--fd-border);
}

.fd-item-img {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 3px;
    background: var(--fd-bg-2);
}

.fd-item-img .fd-img {
    transition: transform 0.6s ease;
}

.fd-item:hover .fd-item-img .fd-img {
    transform: scale(1.04);
}

.fd-item-body {
    min-width: 0;
}

.fd-item-title {
    margin: 0 0 16px;
    font-family: var(--fd-hf);
    font-size: 31px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--fd-heading);
    text-wrap: pretty;
}

.fd-item-title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s ease;
}

.fd-item-title a:hover {
    background-size: 100% 1px;
}

.fd-item-desc {
    display: -webkit-box;
    margin: 0 0 22px;
    overflow: hidden;
    font-family: var(--fd-bf);
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 0.03em;
    color: var(--fd-muted);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Paginação */
.fd-pagination {
    padding: 30px 0 100px;
}

.fd-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-pagination li > .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 10px;
    border: 1px solid var(--fd-border);
    border-radius: 50px;
    font-family: var(--fd-hf);
    font-size: 16px;
    font-weight: 600;
    color: var(--fd-heading);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fd-pagination li > .page-numbers svg {
    width: 18px;
    height: 18px;
}

.fd-pagination a.page-numbers:hover {
    border-color: var(--fd-heading);
}

.fd-pagination li > .page-numbers.current {
    background: var(--fd-heading);
    border-color: var(--fd-heading);
    color: var(--fd-bg);
}

.fd-pagination li > .page-numbers.dots {
    border-color: transparent;
}

/* Vazio */
.fd-empty {
    padding: 80px 0 40px;
    text-align: center;
}

.fd-empty h2 {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 400;
    color: var(--fd-heading);
}

.fd-empty p {
    margin: 0;
    color: var(--fd-muted);
}

/* ============================================================
   TÍTULO DE LISTAGEM / PÁGINA E BREADCRUMB
   ============================================================ */

.fd-pagetitle {
    padding: 70px 0 60px;
    background: var(--fd-bg-2);
}

.fd-pagetitle-in {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.fd-pagetitle-title {
    margin: 0;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--fd-heading);
    text-wrap: balance;
}

.fd-pagetitle-desc {
    max-width: 820px;
    margin-top: 16px;
}

.fd-pagetitle-desc p {
    margin: 0;
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 0.02em;
    color: var(--fd-muted);
}

.fd-pagetitle-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: none;
    font-family: var(--fd-hf);
    line-height: 1;
}

.fd-count-number {
    font-size: 60px;
    font-weight: 400;
    color: var(--fd-heading);
}

.fd-count-label {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fd-muted);
}

.fd-breadcrumbs {
    border-bottom: 1px solid var(--fd-border);
}

.fd-breadcrumbs .fd-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding-block: 16px;
    font-family: var(--fd-hf);
    font-size: 14px;
    color: var(--fd-muted);
}

.fd-breadcrumbs a {
    color: var(--fd-heading);
    text-decoration: none;
}

.fd-breadcrumbs a:hover {
    color: var(--fd-accent);
}

.fd-breadcrumbs [aria-current] {
    overflow: hidden;
    max-width: 60ch;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fd-bc-sep {
    width: 12px;
    height: 1px;
    background: var(--fd-muted);
}

/* Busca dentro da página (busca e 404) */
.fd-inline-search {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 640px;
    margin: 40px 0 0;
}

.fd-inline-search input {
    flex: 1;
    min-width: 0;
    height: 52px;
    margin: 0;
    padding: 0 22px;
    border: 1px solid var(--fd-border);
    border-radius: 52px;
    background: var(--fd-bg);
    font-size: 16px;
    color: var(--fd-heading);
    box-shadow: none;
}

.fd-inline-search input:focus {
    border-color: var(--fd-heading);
    outline: none;
}

.fd-inline-search button,
.fd-search-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 52px;
    background: var(--fd-heading);
    font-family: var(--fd-hf);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--fd-bg);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.fd-inline-search button svg,
.fd-search-submit svg {
    width: 18px;
    height: 18px;
}

.fd-inline-search button:hover,
.fd-search-submit:hover {
    background: var(--fd-accent);
    color: #fff;
}

/* Título com linha decorativa ("Posts Relacionados") */
.fd-decor-title {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 40px;
    font-size: 30px;
    font-weight: 400;
    color: var(--fd-heading);
}

.fd-decor-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--fd-border);
}

/* ============================================================
   ARTIGO
   ============================================================ */

.fd-single-top {
    padding: 60px 0 50px;
}

.fd-single-top-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
}

.fd-single-top-in.no-image {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1000px;
    margin-inline: auto;
    text-align: center;
}

.fd-single-top-in.no-image .fd-meta,
.fd-single-top-in.no-image .fd-share {
    justify-content: center;
}

.fd-single-image {
    margin: 0;
    overflow: hidden;
    border-radius: 3px;
    aspect-ratio: 16 / 10;
    background: var(--fd-bg-2);
}

.fd-single-title {
    margin: 0 0 24px;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.18;
    color: var(--fd-heading);
    text-wrap: balance;
}

.fd-single-meta {
    margin-bottom: 28px;
}

.fd-meta-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--fd-heading) !important;
}

.fd-meta-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.fd-meta-cats {
    color: var(--fd-heading);
}

.fd-meta-cats .fd-meta-cat {
    opacity: 1;
}

/* Compartilhar */
.fd-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-share a,
.fd-share button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--fd-border);
    border-radius: 50%;
    background: transparent;
    color: var(--fd-heading);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fd-share svg {
    width: 17px;
    height: 17px;
}

.fd-share a:hover,
.fd-share button:hover,
.fd-share button.is-copied {
    border-color: var(--fd-heading);
    background: var(--fd-heading);
    color: var(--fd-bg);
}

/* Corpo do artigo */
.fd-single-body {
    max-width: 1000px;
    margin-inline: auto;
    padding: 50px 0 60px;
}

.fd-single-body .single-article-indice {
    position: static;
    margin: 0 0 40px;
    padding: 24px 28px;
    border: 1px solid var(--fd-border);
    border-radius: 3px;
    background: var(--fd-bg-2);
}

.fd-single-body .single-article-indice > b {
    font-family: var(--fd-hf);
    font-size: 14px;
    color: var(--fd-heading);
}

.single-article-content.fd-content,
.single-article-content.fd-content p,
.single-article-content.fd-content li,
.single-article-content.fd-content p.wp-block-paragraph,
.single-article-content.fd-content ul.wp-block-list,
.single-article-content.fd-content ol.wp-block-list {
    font-family: var(--fd-bf);
    font-size: 18px;
    line-height: 1.75;
    color: var(--fd-text);
}

.single-article-content.fd-content p {
    margin-bottom: 24px;
}

.single-article-content.fd-content h2,
.single-article-content.fd-content h2.wp-block-heading,
.single-article-content.fd-content h3,
.single-article-content.fd-content h3.wp-block-heading,
.single-article-content.fd-content h4,
.single-article-content.fd-content h4.wp-block-heading {
    font-family: var(--fd-hf);
    font-weight: 400;
    color: var(--fd-heading);
    scroll-margin-top: 90px;
}

.single-article-content.fd-content h2,
.single-article-content.fd-content h2.wp-block-heading {
    margin: 44px 0 20px;
    font-size: 34px;
    line-height: 1.25;
}

.single-article-content.fd-content h3,
.single-article-content.fd-content h3.wp-block-heading {
    margin: 36px 0 16px;
    font-size: 28px;
    line-height: 1.3;
}

.single-article-content.fd-content h4,
.single-article-content.fd-content h4.wp-block-heading {
    font-size: 22px;
    line-height: 1.35;
}

.single-article-content.fd-content a:not(.wp-block-button__link):not(.button):not([class*="rm-"]):not([class*="block-"]):not([class*="cta"]) {
    color: var(--fd-heading);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--fd-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.single-article-content.fd-content a:not(.wp-block-button__link):not(.button):not([class*="rm-"]):not([class*="block-"]):not([class*="cta"]):hover {
    color: var(--fd-accent);
}

.single-article-content.fd-content .wp-block-image,
.single-article-content.fd-content .wp-caption {
    max-width: 100%;
    margin: 35px 0;
    border-radius: 3px;
}

.single-article-content.fd-content img {
    max-width: 100%;
    height: auto;
}

.single-article-content.fd-content figcaption,
.single-article-content.fd-content .wp-caption-text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    color: var(--fd-muted);
}

.single-article-content.fd-content blockquote,
.single-article-content.fd-content .wp-block-quote {
    border-left: 3px solid var(--fd-heading);
    border-radius: 0;
    background: var(--fd-bg-2);
}

.single-article-content.fd-content blockquote p {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    color: var(--fd-heading);
}

/* Tags + compartilhar no fim do artigo */
.fd-single-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid var(--fd-border);
    border-bottom: 1px solid var(--fd-border);
}

.fd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-tags a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--fd-border);
    border-radius: 30px;
    font-family: var(--fd-hf);
    font-size: 14px;
    font-weight: 500;
    color: var(--fd-heading);
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.fd-tags a:hover {
    border-color: var(--fd-heading);
    background: var(--fd-heading);
    color: var(--fd-bg);
}

.fd-single-bottom .fd-tags:only-child {
    width: 100%;
}

/* Posts Relacionados (artigo e 404) */
.fd-related {
    padding: 20px 0 100px;
}

.fd-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 30px;
}

.fd-card-img {
    display: block;
    margin-bottom: 18px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 3px;
    background: var(--fd-bg-2);
}

.fd-card-img .fd-img {
    transition: transform 0.6s ease;
}

.fd-card:hover .fd-card-img .fd-img {
    transform: scale(1.04);
}

.fd-card .fd-meta {
    margin-bottom: 8px;
    font-size: 13px;
}

.fd-card-title {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--fd-heading);
}

.fd-card-title a {
    color: inherit;
    text-decoration: none;
}

.fd-card-title a:hover {
    color: var(--fd-accent);
}

/* Página institucional */
.fd-page .fd-single-body {
    padding-bottom: 100px;
}

/* 404 */
.fd-404-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 100px 80px;
    text-align: center;
}

.fd-404-code {
    font-family: var(--fd-hf);
    font-size: clamp(110px, 18vw, 220px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--fd-heading);
}

.fd-404-title {
    margin: 20px 0 12px;
    font-size: 40px;
    font-weight: 400;
    color: var(--fd-heading);
}

.fd-404-desc {
    max-width: 52ch;
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--fd-muted);
}

.fd-404-in .fd-inline-search {
    margin: 36px 0 30px;
}

/* ============================================================
   RODAPÉ
   ============================================================ */

.fd-footer {
    background: var(--fd-nav-bg);
    color: #FFFFFF;
}

/* Redes sociais: colunas iguais separadas por linhas */
.fd-footer-social {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fd-footer-social .fd-social {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-footer-social .fd-social li {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.fd-footer-social .fd-social li:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.fd-footer-social .fd-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 44px 20px;
    font-family: var(--fd-hf);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.fd-footer-social .fd-social a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.fd-footer-social .fd-social-icon {
    display: inline-flex;
}

.fd-footer-social .fd-social svg {
    width: 20px;
    height: 20px;
}

/* Base das listas de redes sociais (menu lateral) */
.fd-social {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-social a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.fd-social a:hover {
    opacity: 0.7;
}

.fd-social svg {
    width: 18px;
    height: 18px;
}

/* Links institucionais + copyright, alinhados à esquerda */
.fd-footer-bottom-in {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-block: 50px 56px;
}

.fd-footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-footer-menu a {
    font-family: var(--fd-hf);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
}

.fd-footer-menu a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.fd-copyright {
    margin: 0;
    font-family: var(--fd-bf);
    font-size: 16px;
    letter-spacing: 0.02em;
    color: #CCCCCC;
}

/* Modo escuro: rodapé branco com letras no azul do modo escuro */
html[data-skin="dark"] .fd-footer {
    background: #FFFFFF;
    color: var(--fd-bg);
}

html[data-skin="dark"] .fd-footer-social,
html[data-skin="dark"] .fd-footer-social .fd-social li,
html[data-skin="dark"] .fd-footer-social .fd-social li:last-child {
    border-color: rgba(11, 20, 38, 0.12);
}

html[data-skin="dark"] .fd-footer-social .fd-social a,
html[data-skin="dark"] .fd-footer-menu a {
    color: var(--fd-bg);
}

html[data-skin="dark"] .fd-footer-social .fd-social a:hover {
    background: rgba(11, 20, 38, 0.04);
}

html[data-skin="dark"] .fd-copyright {
    color: #44506A;
}

/* Rodapé sempre no fim da tela, mesmo em páginas com pouco conteúdo */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > * {
    flex-shrink: 0;
}

body.admin-bar {
    min-height: calc(100vh - 32px);
}

@media (max-width: 782px) {
    body.admin-bar {
        min-height: calc(100vh - 46px);
    }
}

.fd-footer {
    margin-top: auto;
}

/* ============================================================
   PEÇAS FIXAS (components/overlays/overlays.php)
   ============================================================ */

/* Mais vistos: círculos na esquerda */
.fd-fixed-posts {
    position: fixed;
    top: 200px;
    left: 24px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.fd-fixed-posts ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-fixed-posts li.is-extra {
    display: none;
}

.fd-fixed-posts.is-expanded li.is-extra {
    display: block;
}

.fd-fixed-posts a {
    position: relative;
    display: block;
    text-decoration: none;
}

.fd-fixed-img {
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 3px solid #0B1426;
    border-radius: 50%;
    background: var(--fd-bg-2);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease;
}

html[data-skin="dark"] .fd-fixed-img {
    border-color: #FFFFFF;
}

.fd-fixed-posts a:hover .fd-fixed-img,
.fd-fixed-posts a:focus-visible .fd-fixed-img {
    transform: scale(1.06);
}

.fd-fixed-title {
    position: absolute;
    top: 50%;
    left: calc(100% + 14px);
    display: block;
    width: 260px;
    padding: 12px 16px;
    border-radius: 6px;
    background: var(--fd-bg);
    box-shadow: var(--fd-shadow);
    font-family: var(--fd-hf);
    font-size: 15px;
    line-height: 1.35;
    color: var(--fd-heading);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-8px, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.fd-fixed-title b {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--fd-muted);
}

.fd-fixed-posts a:hover .fd-fixed-title,
.fd-fixed-posts a:focus-visible .fd-fixed-title {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

.fd-fixed-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-top: 4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--fd-bg-2);
    color: var(--fd-heading);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.fd-fixed-more svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.fd-fixed-more:hover {
    background: var(--fd-bg-3);
}

.fd-fixed-posts.is-expanded .fd-fixed-more svg {
    transform: rotate(45deg);
}

/* Barra da direita: menu e busca */
.fd-rightbar {
    position: fixed;
    top: 200px;
    right: 24px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fd-rightbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--fd-bg-2);
    color: var(--fd-heading);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.fd-rightbar-btn:hover {
    background: var(--fd-bg-3);
}

.fd-rightbar-btn svg {
    width: 22px;
    height: 22px;
}

/* Ícone de linhas (menu) */
.fd-lines,
.fd-lines span,
.fd-lines::before,
.fd-lines::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
}

.fd-lines {
    position: relative;
    background: transparent;
    height: 14px;
}

.fd-lines::before,
.fd-lines::after,
.fd-lines span {
    content: "";
    position: absolute;
    left: 0;
}

.fd-lines::before {
    top: 0;
}

.fd-lines span {
    top: 6px;
}

.fd-lines::after {
    top: 12px;
}

/* Botão "fechar" das telas cheias */
.fd-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--fd-bg-2);
    color: var(--fd-heading);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.2s ease;
}

.fd-close:hover {
    background: var(--fd-bg-3);
    transform: rotate(90deg);
}

.fd-close svg {
    width: 22px;
    height: 22px;
}

/* Busca em tela cheia */
.fd-search,
.fd-offcanvas {
    position: fixed;
    inset: 0;
    z-index: 9000;
    overflow-y: auto;
    background: var(--fd-bg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fd-search.is-open,
.fd-offcanvas.is-open {
    opacity: 1;
}

.fd-search[hidden],
.fd-offcanvas[hidden] {
    display: none;
}

.fd-search-in {
    padding-block: 30px 80px;
}

.fd-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fd-search-form {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16vh;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--fd-heading);
}

.fd-search-form input {
    flex: 1;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--fd-hf);
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 400;
    color: var(--fd-heading);
    box-shadow: none;
}

.fd-search-form input:focus {
    outline: none;
}

.fd-search-form input::placeholder {
    color: var(--fd-muted);
    opacity: 0.6;
}

.fd-search-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 30px;
    font-family: var(--fd-hf);
    font-size: 16px;
}

.fd-search-popular span {
    color: var(--fd-muted);
}

.fd-search-popular a {
    color: var(--fd-heading);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.fd-search-popular a:hover {
    color: var(--fd-accent);
}

/* Menu lateral */
.fd-offcanvas-close {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 2;
}

.fd-offcanvas-in {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 80px;
    padding-block: 100px;
}

.fd-widget-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    font-family: var(--fd-hf);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fd-muted);
}

.fd-widget-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--fd-border);
}

.fd-offcanvas-menu ul {
    columns: 2;
    column-gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-offcanvas-menu li {
    break-inside: avoid;
}

.fd-offcanvas-menu a {
    display: inline-block;
    padding: 6px 0;
    font-family: var(--fd-hf);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--fd-heading);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fd-offcanvas-menu a:hover {
    color: var(--fd-accent);
    transform: translateX(6px);
}

.fd-offcanvas-menu .fd-offcanvas-pages {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--fd-border);
}

.fd-offcanvas-menu .fd-offcanvas-pages a {
    font-size: 16px;
    color: var(--fd-muted);
}

.fd-mini-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-mini-list li {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.fd-mini-img {
    display: block;
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--fd-bg-2);
}

.fd-mini-list .fd-meta {
    margin-bottom: 6px;
    font-size: 12px;
}

.fd-mini-title {
    font-family: var(--fd-hf);
    font-size: 17px;
    line-height: 1.35;
    color: var(--fd-heading);
    text-decoration: none;
}

.fd-mini-title:hover {
    color: var(--fd-accent);
}

.fd-social--compact {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 36px;
}

.fd-social--compact a {
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--fd-border);
    border-radius: 50%;
    color: var(--fd-heading);
}

/* ============================================================
   MODO ESCURO — blocos e componentes do tema base
   (cores fixas claras em style-common.css e nos blocos ACF)
   ============================================================ */

html[data-skin="dark"] input[type=text],
html[data-skin="dark"] input[type=email],
html[data-skin="dark"] input[type=url],
html[data-skin="dark"] input[type=tel],
html[data-skin="dark"] input[type=number],
html[data-skin="dark"] input[type=password],
html[data-skin="dark"] select,
html[data-skin="dark"] textarea {
    color: var(--fd-heading);
    background-color: var(--fd-bg-2);
    border-color: var(--fd-border);
}

html[data-skin="dark"] .single-article-content .wp-block-table th,
html[data-skin="dark"] .single-article-content .wp-block-table td {
    border-color: var(--fd-border);
}

html[data-skin="dark"] .single-article-content .wp-block-table tbody tr:nth-child(even) td {
    background-color: var(--fd-bg-2);
}

html[data-skin="dark"] .single-article-content code,
html[data-skin="dark"] .single-article-content pre {
    background: var(--fd-bg-2);
    color: var(--fd-heading);
    border-color: var(--fd-border);
}

html[data-skin="dark"] .toc-mobile-panel {
    background: var(--fd-bg-2);
    border-color: var(--fd-border);
}

html[data-skin="dark"] .toc-mobile-panel-header {
    border-color: var(--fd-border);
}

html[data-skin="dark"] .toc-mobile-close,
html[data-skin="dark"] .toc-mobile-panel-header b {
    color: var(--fd-heading);
}

/* Aplicativos */
html[data-skin="dark"] .block-app {
    border-color: var(--fd-border);
    background: var(--fd-bg-2);
}

html[data-skin="dark"] .block-app-headline,
html[data-skin="dark"] .block-app-infos,
html[data-skin="dark"] .block-app-item,
html[data-skin="dark"] .block-app-nota {
    border-color: var(--fd-border);
}

html[data-skin="dark"] .block-app-nota,
html[data-skin="dark"] p.block-app-disclaimer {
    background-color: var(--fd-bg-3);
}

html[data-skin="dark"] p.block-app-disclaimer {
    color: var(--fd-muted);
    border-color: var(--fd-border);
}

/* Texto, imagem e CTA */
html[data-skin="dark"] .block-content,
html[data-skin="dark"] .block-content-fixed-wrap {
    background-color: var(--fd-bg-2);
    border-color: var(--fd-border);
}

html[data-skin="dark"] .block-content-img a {
    background-color: var(--fd-bg-3);
}

html[data-skin="dark"] .block-content .block-content-small,
html[data-skin="dark"] .block-content-fixed-wrap .block-content-small,
html[data-skin="dark"] .block-content-fixed-wrap svg {
    color: var(--fd-muted);
}

html[data-skin="dark"] .block-content-fixed {
    border-color: var(--fd-border);
}

/* CTA cards */
html[data-skin="dark"] .rm-quiz-outer {
    color: var(--fd-heading);
}

html[data-skin="dark"] .rm-quiz-foot {
    color: var(--fd-muted);
}

/* FAQ */
html[data-skin="dark"] .list-accordion li button,
html[data-skin="dark"] .block-faq ul li button {
    color: var(--fd-heading);
    background-color: var(--fd-bg-2);
}

html[data-skin="dark"] .list-accordion li button:hover,
html[data-skin="dark"] .list-accordion li button.active {
    background-color: var(--fd-bg-3);
}

html[data-skin="dark"] .list-accordion-content {
    background-color: var(--fd-bg-2);
}

/* Vagas */
html[data-skin="dark"] .job-vacancies-block {
    background-color: var(--fd-bg-2);
    color: var(--fd-text);
    border-color: var(--fd-border);
}

html[data-skin="dark"] .job-vacancies-block .jv-title {
    color: var(--fd-heading);
}

html[data-skin="dark"] .job-vacancies-block .jv-cta-subtitle {
    color: var(--fd-muted);
}

html[data-skin="dark"] .job-vacancies-block .jv-benefit-item {
    background-color: var(--fd-bg-3);
    border-color: var(--fd-border);
    color: var(--fd-text);
}

/* Quiz (rewarded) */
html[data-skin="dark"] .rm-rq,
html[data-skin="dark"] .rm-rq--texto {
    background: var(--fd-bg-2);
    border-color: var(--fd-border);
    box-shadow: none;
}

html[data-skin="dark"] .rm-rq .rm-rq-q,
html[data-skin="dark"] .rm-rq .rm-rq-q--loading,
html[data-skin="dark"] .rm-rq .rm-rq-q--opcoes,
html[data-skin="dark"] .rm-rq.rm-rq--texto .rm-rq-q,
html[data-skin="dark"] .rm-rq.rm-rq--texto .rm-rq-q--opcoes {
    color: var(--fd-heading);
}

html[data-skin="dark"] .rm-rq .rm-rq-note {
    color: var(--fd-muted);
}

html[data-skin="dark"] .rm-rq-card {
    background: var(--fd-bg-3);
    border-color: var(--fd-border);
}

html[data-skin="dark"] .rm-rq--texto .rm-rq-progress {
    background: var(--fd-bg-3);
}

/* Review de cartão */
html[data-skin="dark"] .review-credit-card {
    background: var(--fd-bg-2);
}

html[data-skin="dark"] .review-credit-card-infos div {
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-skin="dark"] .review-credit-card-infos span,
html[data-skin="dark"] .review-credit-card-tags span,
html[data-skin="dark"] .review-credit-card-cta-security small {
    color: var(--fd-muted);
}

html[data-skin="dark"] .review-credit-card .list-accordion-title,
html[data-skin="dark"] .review-credit-card .list-accordion-content {
    background-color: var(--fd-bg-2);
}

html[data-skin="dark"] .review-credit-card .list-accordion-title:hover {
    background-color: var(--fd-bg-3);
}

/* Galeria */
html[data-skin="dark"] .rm-gallery-dot {
    background: rgba(255, 255, 255, 0.25);
}

/* Página de cartões */
html[data-skin="dark"] .cards-table-tabs,
html[data-skin="dark"] .cards-table-list th,
html[data-skin="dark"] .cards-table-list td,
html[data-skin="dark"] .cards-table-filter input {
    border-color: var(--fd-border);
}

/* Contact Form 7: o CF7 usa --color-white como fundo dos campos */
html[data-skin="dark"] .wpcf7-form {
    --color-white: var(--fd-bg-2);
}

html[data-skin="dark"] .wpcf7-form input[type=submit],
html[data-skin="dark"] .wpcf7-form .wpcf7-submit {
    color: #fff;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (min-width: 1600px) {
    html {
        --fd-side: 140px;
    }

    .fd-fixed-posts {
        left: 34px;
    }

    .fd-fixed-img {
        width: 70px;
        height: 70px;
    }

    .fd-rightbar {
        right: 40px;
    }
}

@media (max-width: 1280px) {
    html {
        --fd-side: 100px;
    }

    .fd-item-title {
        font-size: 26px;
    }

    .fd-single-title {
        font-size: 38px;
    }

    .fd-offcanvas-menu a {
        font-size: 24px;
    }
}

/* Celular e tablet: topo preto, sem barras laterais */
@media (max-width: 1040px) {
    html {
        --fd-side: 20px;
    }

    .fd-header,
    .fd-sticky-nav,
    .fd-fixed-posts,
    .fd-rightbar {
        display: none !important;
    }

    .fd-mobbar {
        display: block;
        background: var(--fd-mob-bg);
    }

    /* O topo preto acompanha a rolagem no celular */
    #site-header.fd-site-header {
        position: sticky;
        top: 0;
    }

    .admin-bar #site-header.fd-site-header {
        top: 32px;
    }

    .fd-mobbar-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 66px;
        padding: 10px 20px;
        border-bottom: 1px solid var(--fd-mob-line);
    }

    .fd-site-header.is-simple .fd-mobbar-top {
        justify-content: center;
    }

    /* No topo preto a logo é sempre a versão para fundo escuro */
    .fd-logo--mobile img {
        max-width: 170px;
        max-height: 40px;
    }

    .fd-logo--mobile .fd-logo-light {
        display: none !important;
    }

    .fd-logo--mobile .fd-logo-dark {
        display: block !important;
    }

    .fd-logo--mobile.fd-logo--auto .fd-logo-light {
        display: block !important;
        filter: brightness(0) invert(1);
    }

    .fd-logo--mobile.fd-logo--text {
        font-size: 24px;
        color: #FFFFFF;
    }

    .fd-mobbar-actions {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .fd-icon-btn,
    .fd-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #FFFFFF;
        cursor: pointer;
    }

    .fd-icon-btn svg {
        width: 22px;
        height: 22px;
    }

    .fd-burger span,
    .fd-burger span::before,
    .fd-burger span::after {
        position: relative;
        display: block;
        width: 24px;
        height: 2px;
        background: #FFFFFF;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .fd-burger span::before,
    .fd-burger span::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .fd-burger span::before {
        top: -7px;
    }

    .fd-burger span::after {
        top: 7px;
    }

    .fd-burger.is-open span {
        background: transparent;
    }

    .fd-burger.is-open span::before {
        transform: translateY(7px) rotate(45deg);
    }

    .fd-burger.is-open span::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    .fd-mobmenu {
        max-height: calc(100vh - 66px);
        overflow-y: auto;
        padding: 20px 20px 30px;
        background: var(--fd-mob-bg);
    }

    .fd-skin-toggle--mobile {
        margin-right: 6px;
    }

    .fd-mobmenu-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .fd-mobmenu-list a {
        display: block;
        padding: 13px 0;
        border-bottom: 1px solid var(--fd-mob-line);
        font-family: var(--fd-hf);
        font-size: 18px;
        font-weight: 500;
        color: #EEEEEE;
        text-decoration: none;
    }

    .fd-mobmenu-list--small {
        margin-top: 16px;
    }

    .fd-mobmenu-list--small a {
        padding: 9px 0;
        border: 0;
        font-size: 15px;
        font-weight: 400;
        color: #999999;
    }

    .fd-home .fd-list,
    .fd-list {
        padding-top: 40px;
    }

    .fd-single-top-in {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .fd-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fd-offcanvas-in {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
    }

    .fd-search-form {
        margin-top: 10vh;
    }
}

@media (max-width: 782px) {
    .admin-bar #site-header.fd-site-header {
        top: 46px;
    }
}

/* Abaixo de 600px a barra do WordPress rola junto com a página */
@media (max-width: 600px) {
    .admin-bar #site-header.fd-site-header {
        top: 0;
    }
}

@media (max-width: 767px) {
    .fd-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .fd-item-title {
        font-size: 24px;
    }

    .fd-item-desc {
        font-size: 15px;
        line-height: 25px;
    }

    .fd-pagetitle {
        padding: 44px 0 40px;
    }

    .fd-pagetitle-in {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .fd-pagetitle-title {
        font-size: 34px;
    }

    .fd-pagetitle-count {
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }

    .fd-count-number {
        font-size: 40px;
    }

    .fd-single-top {
        padding: 30px 0 30px;
    }

    .fd-single-title {
        font-size: 30px;
    }

    .fd-single-body {
        padding-top: 36px;
    }

    .single-article-content.fd-content,
    .single-article-content.fd-content p,
    .single-article-content.fd-content li,
    .single-article-content.fd-content p.wp-block-paragraph,
    .single-article-content.fd-content ul.wp-block-list,
    .single-article-content.fd-content ol.wp-block-list {
        font-size: 17px;
    }

    .single-article-content.fd-content h2,
    .single-article-content.fd-content h2.wp-block-heading {
        font-size: 28px;
    }

    .single-article-content.fd-content h3,
    .single-article-content.fd-content h3.wp-block-heading {
        font-size: 23px;
    }

    .fd-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .fd-decor-title {
        font-size: 24px;
    }

    .fd-pagination li > .page-numbers {
        min-width: 42px;
        height: 42px;
    }

    .fd-offcanvas-menu ul {
        columns: 1;
    }

    .fd-offcanvas-close {
        top: 16px;
        right: 16px;
    }

    .fd-inline-search {
        flex-direction: column;
    }

    .fd-inline-search button {
        justify-content: center;
    }

    .fd-search-submit span {
        display: none;
    }

    .fd-search-submit {
        width: 52px;
        padding: 0;
        justify-content: center;
    }

    .fd-footer-social .fd-social a {
        flex-direction: column;
        gap: 8px;
        padding: 28px 8px;
        font-size: 12px;
    }

    .fd-footer-bottom-in {
        padding-block: 36px 40px;
    }

    .fd-footer-menu {
        gap: 10px 20px;
    }

    .fd-copyright {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Modo escuro: categoria do meta em branco puro, sem transparência */
html[data-skin="dark"] .fd-meta-cat {
    opacity: 1;
}
