/*!
 Theme Name:   Divi Child
 Theme URI:    https://www.elegantthemes.com/gallery/divi/
 Description:  Child theme for the Divi theme
 Author:       D4G
 Author URI:   https://inovgest.com.br
 Template:     Divi
 Version:      1.0.31
 Text Domain:  divi-child
*/

/* ===========================================================
   Basier Circle — local @font-face declarations
   Files live in: themes/divi-child/fonts/
   =========================================================== */

@font-face {
    font-family: 'Basier Circle';
    src: url('fonts/Basier%20Circle%20Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Basier Circle';
    src: url('fonts/Basier%20Circle%20Regular%20Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Basier Circle';
    src: url('fonts/Basier%20Circle%20Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Basier Circle';
    src: url('fonts/Basier%20Circle%20Medium%20Italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Basier Circle';
    src: url('fonts/Basier%20Circle%20SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Basier Circle';
    src: url('fonts/Basier%20Circle%20SemiBold%20Italic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Basier Circle';
    src: url('fonts/Basier%20Circle%20Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Basier Circle';
    src: url('fonts/Basier%20Circle%20Bold%20Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* ===========================================================
   Typography rules
   - Roboto: body text, paragraphs, lists, form fields, tables
   - Basier Circle: headings + navigation menus
   =========================================================== */

body,
p,
ul, ol, li, dl, dt, dd,
blockquote,
table, th, td,
input, textarea, select, button,
.et_pb_text,
.et_pb_blurb_description,
.et_pb_post_content,
.entry-content {
    font-family: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.et_pb_module_header,
.et_pb_slide_title,
.et_pb_promo_title,
.et_pb_toggle_title,
.et_pb_accordion_item .et_pb_toggle_title,
.et_pb_tab a,
.et_pb_tab_content h1,
.et_pb_tab_content h2,
.et_pb_tab_content h3,
.et_pb_tab_content h4,
.et_pb_tab_content h5,
.et_pb_tab_content h6,
.et_pb_blurb_content h4,
#main-header .nav li a,
#main-header .et_mobile_menu li a,
#et-top-navigation .nav li a,
#top-menu li a,
.bottom-nav li a,
.et_mobile_menu li a {
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
}

/* ===========================================================
   Anchor scroll — comportamento dos links de âncora (#id)
   - Scroll suave habilitado globalmente (respeita prefers-reduced-motion).
   - scroll-margin-top por âncora controla quantos pixels devem sobrar
     ACIMA do elemento alvo quando o navegador rolar até ele — útil pra
     evitar que o header fixo cubra o topo do conteúdo.
   - Âncoras SEM regra abaixo param na posição EXATA do id.

   Como configurar uma âncora com offset:
       #id-da-ancora { scroll-margin-top: 100px; }

   Os IDs vêm do campo "ID CSS" de qualquer módulo/linha/seção Divi
   (Avançado → ID e classes CSS → ID CSS), ou de qualquer <div id="…">
   inserida via módulo Text.
   =========================================================== */

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

/* Adicione abaixo uma regra por âncora que precise de offset.
   Mantenha agrupado pra facilitar manutenção. */

/* Exemplos (descomente e ajuste conforme criar âncoras no Divi): */

#arthur-governador {
    position: absolute;
    top:-120px;
}

#instagram,
#quem-e,
#plano-governo {
    position: absolute;
    top:-100px;
}



/* ===========================================================
   Outlined button link (used inside et_pb_text over background images)
   =========================================================== */

a.arth-btn-outline,
.et_pb_text a.arth-btn-outline {
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
    text-decoration: none !important;
}
a.arth-btn-outline:hover,
a.arth-btn-outline:focus-visible,
.et_pb_text a.arth-btn-outline:hover,
.et_pb_text a.arth-btn-outline:focus-visible {
    background-color: #ffffff !important;
    color: #111530 !important;
    border-color: #ffffff !important;
    text-decoration: none !important;
}

a.arth-btn-solid,
.et_pb_text a.arth-btn-solid.arth-btn-insta {
    display: inline-block !important;
    background-color: #00a820 !important;
    color: #fff !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    letter-spacing: 0.32px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
    width: 240px;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    line-height: 1 !important;
    box-sizing: border-box;
    transition: background-color .25s ease, color .25s ease;
    vertical-align: middle;
} 

a.arth-btn-solid,
.et_pb_text a.arth-btn-solid.grupos-btn {
    display: inline-block !important;
    background-color: #111530 !important;
    color: #ffba1d !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    letter-spacing: 0.32px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
    width: 240px;
    padding: 10px 50px !important;
    border-radius: 8px !important;
    line-height: 1 !important;
    box-sizing: border-box;
    transition: background-color .25s ease, color .25s ease;
    vertical-align: middle;
} 
a.arth-btn-solid,
.et_pb_text a.arth-btn-solid.grupos-btn:hover {
    color: #111530 !important;
} 

a.arth-btn-solid,
.et_pb_text a.arth-btn-solid {
    display: inline-block !important;
    background-color: #ffba1d !important;
    color: #111530 !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    letter-spacing: 0.32px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
    width: 240px;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    line-height: 1 !important;
    box-sizing: border-box;
    transition: background-color .25s ease, color .25s ease;
    vertical-align: middle;
}
a.arth-btn-solid + a.arth-btn-solid {
    margin-left: 64px;
}
a.arth-btn-solid:hover,
a.arth-btn-solid:focus-visible,
.et_pb_text a.arth-btn-solid:hover,
.et_pb_text a.arth-btn-solid:focus-visible {
    background-color: #e5e1d6 !important;
    color: #111530 !important;
    text-decoration: none !important;
}

@media (max-width: 600px) {
    a.arth-btn-solid,
    .et_pb_text a.arth-btn-solid {
        display: block !important;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    a.arth-btn-solid + a.arth-btn-solid {
        margin: 12px auto 0;
    }
}

/* ===========================================================
   Outlined dark button (used on news cards "VEJA MAIS")
   =========================================================== */

a.arth-btn-outline-dark,
.et_pb_text a.arth-btn-outline-dark {
    display: inline-block !important;
    background-color: transparent !important;
    color: #111530 !important;
    border: 1px solid #111530 !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 15.4px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box;
    align-self: flex-start;
    transition: background-color .25s ease, color .25s ease;
}
a.arth-btn-outline-dark:hover,
a.arth-btn-outline-dark:focus-visible,
.et_pb_text a.arth-btn-outline-dark:hover,
.et_pb_text a.arth-btn-outline-dark:focus-visible {
    background-color: #111530 !important;
    color: #e5e1d6 !important;
    text-decoration: none !important;
}

/* ===========================================================
   News cards grid (rendered by [arth_noticias] shortcode)
   Alimentado pelo CPT `nosso_trabalho` — sem limite de cards;
   o grid de 3 colunas faz quebra automática para a próxima linha.
   =========================================================== */

.arth-news-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1080px;
    width: 100%;
    margin: 56px auto 0;
    text-align: left;
}
.arth-news-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* Wrapper da imagem do card. Vira <button> quando há vídeo (modificador
   --video) para abrir o lightbox; quando não há vídeo, é só um <div>. */
.arth-news-card__media {
    position: relative;
    display: block;
    width: 100%;
    /* A proporção vem inline (aspect-ratio calculado a partir da imagem
       destacada real) — ver arth_noticias_shortcode(). */
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    cursor: default;
}
.arth-news-card__media--video,
.arth-news-card__media--link {
    cursor: pointer;
}
/* A mídia do bloco "Links / Downloads" é um <a>: remove o sublinhado herdado. */
.arth-news-card__media--link {
    text-decoration: none;
    aspect-ratio: unset !important;
}
.arth-news-card__image {
    display: block;
    width: 100%;
    height: 225px;
    background-color: #6a6a6a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .35s ease;
}
.arth-news-card__media--video:hover .arth-news-card__image,
.arth-news-card__media--video:focus-visible .arth-news-card__image,
.arth-news-card__media--link:hover .arth-news-card__image,
.arth-news-card__media--link:focus-visible .arth-news-card__image {
    transform: scale(1.04);
}
.arth-news-card__play,
.arth-news-card__link-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.9;
    transition: opacity .2s ease, transform .2s ease;
}
.arth-news-card__media--video:hover .arth-news-card__play,
.arth-news-card__media--video:focus-visible .arth-news-card__play,
.arth-news-card__media--link:hover .arth-news-card__link-icon,
.arth-news-card__media--link:focus-visible .arth-news-card__link-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}
.arth-news-card__play svg,
.arth-news-card__link-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
.arth-news-card__texts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Linha de ícones de compartilhamento abaixo do texto. */
.arth-news-card__share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.arth-news-card__share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #111530;
    border-radius: 50%;
    background: transparent;
    color: #111530;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.arth-news-card__share-btn:hover,
.arth-news-card__share-btn:focus-visible {
    background-color: #111530;
    color: #e5e1d6;
    border-color: #111530;
    text-decoration: none !important;
}
.arth-news-card__share-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}
.arth-news-card__share-copy.is-copied {
    background-color: #ffa526;
    color: #111530;
    border-color: #ffa526;
}
.arth-news-card__badge {
    display: inline-block;
    align-self: flex-start;
    background-color: #ffa526;
    color: #111530;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    line-height: 1;
    margin-top: -6px;
}
.arth-news-card__title {
    margin: 4px 0 0;
    color: #111530;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.15;
}
.arth-news-card__text {
    margin: 0;
    color: #111530;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.35;
}
/* Variante "card" do botão sólido — largura automática, padding menor.
   Pode ser usada em qualquer lugar (cards de "Nosso trabalho", módulos
   de texto do Divi, etc.). Dentro de .arth-news-card ganha alinhamento
   à esquerda e margem-top específicas via a regra abaixo. */
a.arth-btn-solid--card,
.et_pb_text a.arth-btn-solid--card {
    width: auto !important;
    padding: 12px 26px !important;
}
.arth-news-card a.arth-btn-solid--card {
    align-self: flex-start;
    margin-top: 8px;
}

@media (max-width: 980px) {
    .arth-news-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .arth-news-cards {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 40px;
    }
    .arth-news-card__title {
        font-size: 22px;
    }
}

/* ===========================================================
   Lightbox de vídeo (YouTube) — arth-video-lightbox.js
   Renderizado dinamicamente quando o usuário clica na imagem
   de um card do bloco "Nosso trabalho".
   =========================================================== */

body.arth-video-lightbox--open {
    overflow: hidden;
}
.arth-video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}
.arth-video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}
.arth-video-lightbox__dialog {
    position: relative;
    width: 100%;
    max-width: 960px;
}
.arth-video-lightbox__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}
.arth-video-lightbox__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.arth-video-lightbox__close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}
.arth-video-lightbox__close:hover,
.arth-video-lightbox__close:focus-visible {
    color: #ffa526;
}
@media (max-width: 600px) {
    .arth-video-lightbox {
        padding: 16px;
    }
    .arth-video-lightbox__close {
        top: -38px;
    }
}

/* ===========================================================
   Destaques (circular items) — rendered by [arth_destaques]
   =========================================================== */

.arth-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 932px;
    width: 100%;
    margin: 0 auto;
}
.arth-highlight {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}
.arth-highlight__image {
    width: 290px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: #6a6a6a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.arth-highlight__texts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}
.arth-highlight__title {
    margin: 0;
    color: #00064c;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
}
.arth-highlight__text {
    margin: 0;
    color: #00064c;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
}

@media (max-width: 980px) {
    .arth-highlights {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .arth-highlights {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .arth-highlight__title {
        font-size: 26px;
    }
}

/* ===========================================================
   Galeria (rectangular portrait items) — rendered by [arth_galeria]
   =========================================================== */

.arth-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 932px;
    width: 100%;
    margin: 0 auto;
}
.arth-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}
.arth-gallery-item__image {
    width: 290px;
    max-width: 100%;
    aspect-ratio: 290 / 412;
    background-color: #6a6a6a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.arth-gallery-item__texts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}
.arth-gallery-item__title {
    margin: 0;
    color: #00064c;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
}
.arth-gallery-item__text {
    margin: 0;
    color: #00064c;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
}

@media (max-width: 980px) {
    .arth-gallery {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .arth-gallery {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .arth-gallery-item__title {
        font-size: 26px;
    }
}

/* ===========================================================
   Outlined light button — branco sobre fundo escuro
   =========================================================== */

a.arth-btn-outline-light,
.et_pb_text a.arth-btn-outline-light {
    display: inline-block !important;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 15.4px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box;
    transition: background-color .25s ease, color .25s ease;
}
a.arth-btn-outline-light:hover,
a.arth-btn-outline-light:focus-visible,
.et_pb_text a.arth-btn-outline-light:hover,
.et_pb_text a.arth-btn-outline-light:focus-visible {
    background-color: #ffffff !important;
    color: #111530 !important;
    text-decoration: none !important;
}

/* ===========================================================
   Slider reusable component (initialized by /js/arth-slider.js)
   Supports multiple independent instances per page.
   =========================================================== */

.arth-slider {
    position: relative;
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
}
.arth-slider__viewport {
    position: relative;
    overflow: hidden;
}
.arth-slider__track {
    display: flex;
    gap: 12px;
    transition: transform .4s ease;
    will-change: transform;
}
.arth-slider__slide {
    flex: 0 0 240px;
    max-width: 240px;
}
.arth-slider__fade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 117px;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(15, 23, 81, 0) 0%,
        rgba(15, 23, 81, 0.85) 60%,
        #111530 100%);
}
.arth-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 0;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: opacity .2s ease;
}
.arth-slider__nav--prev { left: -52px; }
.arth-slider__nav--next { right: -52px; }
.arth-slider__nav[disabled],
.arth-slider__nav[aria-disabled="true"] {
    opacity: 0.3;
    cursor: default;
}

@media (max-width: 1180px) {
    .arth-slider {
        padding: 0 48px;
    }
    .arth-slider__nav--prev { left: 0; }
    .arth-slider__nav--next { right: 0; }
}
@media (max-width: 600px) {
    .arth-slider {
        padding: 0 5px;
    }
    .arth-slider__nav {
        font-size: 32px;
    }
}

/* Slider card (carousel item) */
.arth-slider-card {
    position: relative;
    height: 342px;
    width: 100%;
    border: 1px solid #b3b3b3;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #6a6a6a;
    box-sizing: border-box;
}
.arth-slider-card__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}
.arth-slider-card__content {
    position: relative;
    padding: 28px 20px;
    color: #ffffff;
    z-index: 1;
}
.arth-slider-card__title {
    margin: 0;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1;
    text-transform: uppercase;
}
.arth-slider-card__text {
    margin: 0;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

/* ===========================================================
   Slider — cream variant (smaller slides + light theme)
   =========================================================== */

.arth-slider--cream .arth-slider__slide {
    flex: 0 0 220px;
    max-width: 220px;
}
.arth-slider--cream .arth-slider__fade {
    background: linear-gradient(90deg,
        rgba(229, 225, 214, 0) 0%,
        rgba(229, 225, 214, 0.85) 60%,
        #e5e1d6 100%);
}
.arth-slider--cream .arth-slider__nav {
    color: #111530;
}

/* Image-only card used inside the cream slider variant */
.arth-podcast-card {
    height: 320px;
    width: 100%;
    border: 1px solid #b3b3b3;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #6a6a6a;
    box-sizing: border-box;
    display: block;
}

@media (max-width: 600px) {
    .arth-slider--cream .arth-slider__slide {
        flex: 0 0 calc(100% - 60px);
        max-width: calc(100% - 60px);
    }
    .arth-podcast-card {
        height: 280px;
    }
}

/* ===========================================================
   Slider — variante Instagram (rendered by [arth_instagram_carousel])
   Slides com a largura nativa do embed oficial do Instagram (326px).
   =========================================================== */

.arth-slider--instagram {
    margin-top: 40px;
}
.arth-slider--instagram .arth-slider__slide {
    flex: 0 0 326px;
    max-width: 326px;
}
.arth-slider--instagram .arth-slider__track {
    align-items: flex-start;
    gap: 16px;
}
.arth-slider--instagram .arth-slider__fade {
    display: none;
}
.arth-slider--instagram .arth-slider__nav {
    color: #f1f1e9;
}
/* Reserva espaço enquanto o embed.js ainda não trocou o blockquote por
   um iframe (altura varia com caption / mídia). */
.arth-instagram-slide {
    min-height: 540px;
}
.arth-instagram-slide .instagram-media,
.arth-instagram-slide iframe.instagram-media {
    margin: 0 auto !important;
}

@media (max-width: 600px) {
    .arth-slider--instagram .arth-slider__slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .arth-slider--instagram {
        padding: 0;
    }
    /* Setas no MEIO (vertical) do slider — quadradas e encostadas nas bordas
       da tela (esquerda/direita), com fundo para contraste e área de toque
       sobre o card do IG. */
    .arth-slider--instagram .arth-slider__nav {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 28px;
        color: #ffffff;
        background: rgba(17, 21, 48, 0.6);
        border-radius: 0;
    }
    .arth-slider--instagram .arth-slider__nav--prev {
        left: 0;
        right: auto;
    }
    .arth-slider--instagram .arth-slider__nav--next {
        right: 0;
        left: auto;
    }
    .arth-instagram-slide {
        min-height: 500px;
    }
}

/* ===========================================================
   Podcast platforms row — rendered by [arth_podcast_platforms]
   =========================================================== */

.arth-podcast-platforms {
    text-align: center;
    margin: 48px auto 0;
    max-width: 1080px;
}
.arth-podcast-platforms__label {
    margin: 0 0 24px;
    color: #111530;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.arth-podcast-platforms__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.arth-podcast-platforms__item {
    color: #111530;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: opacity .2s ease;
}
.arth-podcast-platforms__item:hover,
.arth-podcast-platforms__item:focus-visible {
    opacity: 0.65;
}
.arth-podcast-platforms__item svg {
    height: 48px;
    width: auto;
    display: block;
    fill: currentColor;
}

@media (max-width: 600px) {
    .arth-podcast-platforms__list {
        gap: 20px;
    }
    .arth-podcast-platforms__item svg {
        height: 36px;
    }
}

/* ===========================================================
   Footer Option 1 — rendered by [arth_footer]
   =========================================================== */

.arth-footer {
    background-color: #00a820;
    color: #111530;
    padding: 78px 20px 56px;
    box-sizing: border-box;
}
.arth-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}
.arth-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111530;
    text-decoration: none !important;
}
.arth-footer__logo:hover {
    opacity: 0.85;
}
.arth-footer__logo-img {
    display: block;
    height: 150px;
    width: auto;
}
.arth-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}
.arth-footer__social-item {
    color: #111530;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: opacity .2s ease;
}
.arth-footer__social-item:hover,
.arth-footer__social-item:focus-visible {
    opacity: 0.7;
}
.arth-footer__social-item svg {
    width: 28px;
    height: 28px;
    display: block;
}
.arth-footer__bottom {
    max-width: 1140px;
    margin: 35px auto 0;
    padding-top: 16px;
    border-top: 1px solid #111530;
    text-align: center;
}
.arth-footer__copy {
    margin: 0;
    color: #111530;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .arth-footer {
        padding: 56px 16px 40px;
    }
    .arth-footer__social {
        gap: 16px;
    }
    .arth-footer__social-item svg {
        width: 24px;
        height: 24px;
    }
    .arth-footer__logo-img {
        height: 150px;
    }
    .arth-footer__copy {
        font-size: 16px;
    }
}

/* ===========================================================
   Header — rendered by [arth_header]
   Fixo no topo, sem background. Logo à esquerda, hambúrguer à direita.
   O menu vem de Aparência → Menus (localização "arth_header_primary")
   e abre como drawer lateral direito (slide-in) ao clicar no hambúrguer.
   =========================================================== */

.arth-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    color: #ffffff;
    padding: 22px 40px;
    box-sizing: border-box;
    pointer-events: none; /* deixa cliques passarem onde só houver "ar" */
    transition: background-color .3s ease;
}
/* Após rolar mais de 100px (classe injetada via JS), pinta o header. */
.arth-header.is-scrolled {
    background-color: #00a820;
    pointer-events: auto;
}
.arth-header__inner {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.arth-header__logo,
.arth-header__toggle,
.arth-header__nav {
    pointer-events: auto; /* só os elementos clicáveis recebem pointer */
}
.arth-header__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    flex-shrink: 0;
}
.arth-header__logo img {
    display: block;
    height: 70px;
    width: auto;
    transition: height .3s ease;
}
/* Quando rolar mais de 100px (classe injetada via JS), encolhe a logo. */
.arth-header.is-scrolled .arth-header__logo img {
    height: 44px;
}

/* Hambúrguer — sempre visível. */
.arth-header__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    margin-left: auto;
    position: relative;
    z-index: 3;
}
.arth-header__toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    margin: 4px 0;
    transition: transform .25s ease, opacity .25s ease, background-color .25s ease;
}
.arth-header.is-open .arth-header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.arth-header.is-open .arth-header__toggle span:nth-child(2) {
    opacity: 0;
}
.arth-header.is-open .arth-header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Drawer lateral direito — escondido off-screen, desliza da direita pra esquerda. */
.arth-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 88vw);
    background-color: rgba(15, 23, 81, 0.98);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 96px 36px 40px;
    z-index: 1;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
    box-shadow: -10px 0 32px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
    overflow-y: auto;
}
.arth-header.is-open .arth-header__nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;
}
.arth-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}
.arth-header__menu li {
    list-style: none;
    margin: 0;
}
.arth-header__menu a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    padding: 6px 0;
    transition: color .2s ease;
    display: inline-block;
}
.arth-header__menu a:hover,
.arth-header__menu a:focus-visible {
    color: #ffa526 !important;
}
.arth-header__menu .current-menu-item > a,
.arth-header__menu .current_page_item > a,
.arth-header__menu .current-menu-ancestor > a,
.arth-header__menu .current_page_ancestor > a {
    color: #ffffff !important;
}
.arth-header__menu-empty {
    max-width: 480px;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

/* Drawer lateral: scroll do body permanece liberado (drawer não cobre a tela toda). */

@media (max-width: 600px) {
    .arth-header {
        padding: 16px 20px;
    }
    .arth-header__logo img,
    .arth-header.is-scrolled .arth-header__logo img {
        height: 36px;
    }
    .arth-header__nav {
        padding: 88px 28px 32px;
    }
    .arth-header__menu a {
        font-size: 20px;
    }
}

/* ===========================================================
   Timeline grid — rendered by [arth_timeline]
   =========================================================== */

.arth-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 48px;
    max-width: 848px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}
.arth-timeline__item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.arth-timeline__image {
    width: 100%;
    height: 280px;
    background-color: #6a6a6a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: filter .45s ease;
    will-change: filter;
}
.arth-timeline__item:hover .arth-timeline__image,
.arth-timeline__item:focus-within .arth-timeline__image {
    filter: grayscale(0%);
}
.arth-timeline__texts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.arth-timeline__title {
    margin: 0;
    color: #383e46;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
}
.arth-timeline__text {
    margin: 0;
    color: #383e46;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
}
/* Conteúdo vem do editor (wpautop injeta <p>) — neutraliza margem
   externa do primeiro/último parágrafo para o card não "estourar". */
.arth-timeline__text > *:first-child { margin-top: 0; }
.arth-timeline__text > *:last-child { margin-bottom: 0; }
.arth-timeline__text p {
    margin: 0 0 8px;
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}

@media (max-width: 700px) {
    .arth-timeline {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .arth-timeline__title {
        font-size: 26px;
    }
}

/* ===========================================================
   Contato form — rendered by [arth_contato]
   =========================================================== */

.arth-contato {
    background-color: #111530;
    color: #f1f1e9;
    padding: 80px 20px 120px;
    box-sizing: border-box;
}
.arth-contato__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.arth-contato__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.arth-contato__title {
    margin: 0;
    color: #f1f1e9;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 34px;
    text-transform: uppercase;
}
.arth-contato__lead {
    margin: 0;
    color: #f1f1e9;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    max-width: 720px;
}
.arth-contato__alert {
    padding: 14px 20px;
    border-radius: 6px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
}
.arth-contato__alert--success {
    background-color: rgba(49, 207, 99, 0.15);
    color: #00a820;
    border: 1px solid rgba(49, 207, 99, 0.4);
}
.arth-contato__alert--error {
    background-color: rgba(255, 110, 110, 0.15);
    color: #ff8a8a;
    border: 1px solid rgba(255, 110, 110, 0.4);
}
.arth-contato__form {
    display: flex;
    flex-direction: column;
    gap: 64px;
}
.arth-contato__row {
    display: flex;
    gap: 32px;
    align-items: flex-end;
}
.arth-contato__row--last {
    align-items: flex-end;
}
.arth-contato__field {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.arth-contato__field input {
    order: 1;
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #f1f1e9;
    padding: 8px 0;
    color: #f1f1e9;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    box-sizing: border-box;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}
.arth-contato__field input:focus {
    border-bottom-color: #6880e8;
    outline: none;
}
.arth-contato__field input::placeholder {
    color: rgba(241, 241, 233, 0.4);
}
/* Chrome autofill keeps cream text on dark background */
.arth-contato__field input:-webkit-autofill,
.arth-contato__field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f1f1e9;
    transition: background-color 99999s ease-in-out 0s;
    caret-color: #f1f1e9;
}
.arth-contato__field label {
    order: 2;
    color: #f1f1e9;
    font-family: 'Basier Circle', 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.arth-contato__row-submit {
    flex: 1 1 0;
    display: flex;
    gap: 24px;
    align-items: flex-end;
    min-width: 0;
}
.arth-contato__field--captcha {
    flex: 1 1 0;
}
.arth-contato__submit {
    background-color: #f1f1e9;
    color: #6880e8;
    border: 0;
    border-radius: 8px;
    height: 36.78px;
    min-width: 220px;
    padding: 0 14px;
    font-family: 'Basier Circle', 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity .2s ease, transform .15s ease;
}
.arth-contato__submit:hover,
.arth-contato__submit:focus-visible {
    opacity: 0.85;
}
.arth-contato__submit:active {
    transform: scale(0.98);
}

/* Remove o spinner do input number do captcha */
.arth-contato__field--captcha input::-webkit-outer-spin-button,
.arth-contato__field--captcha input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.arth-contato__field--captcha input {
    -moz-appearance: textfield;
    appearance: textfield;
}

@media (max-width: 800px) {
    .arth-contato {
        padding: 56px 16px 80px;
    }
    .arth-contato__inner {
        gap: 56px;
    }
    .arth-contato__form {
        gap: 40px;
    }
    .arth-contato__row,
    .arth-contato__row--last {
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }
    .arth-contato__row-submit {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    .arth-contato__submit {
        width: 100%;
        min-width: 0;
    }
    .arth-contato__title {
        font-size: 26px;
        line-height: 1.1;
    }
    .arth-contato__lead {
        font-size: 16px;
    }
}

/* ===========================================================
   Filtro de categorias (expansor) — rendered by [arth_filtro_categorias]
   =========================================================== */

.arth-filtro {
    background-color: #ffa526;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    /* desabilita animação default do <details> */
}
.arth-filtro__toggle {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111530;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    padding: 0;
    margin: 0;
    user-select: none;
}
.arth-filtro__toggle::-webkit-details-marker {
    display: none;
}
.arth-filtro__toggle::marker {
    content: '';
}
.arth-filtro__toggle:focus-visible {
    outline: 2px solid #111530;
    outline-offset: 4px;
    border-radius: 2px;
}
.arth-filtro__chevron {
    width: 12px;
    height: 8px;
    display: block;
    transition: transform .3s ease;
}
.arth-filtro[open] .arth-filtro__chevron,
.arth-filtro.is-expanded .arth-filtro__chevron {
    transform: rotate(180deg);
}
.arth-filtro.is-closing .arth-filtro__chevron {
    transform: rotate(0deg);
}
.arth-filtro__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    overflow: hidden;
    transition: height .35s ease;
}
.arth-filtro__divider {
    width: 120px;
    height: 1px;
    background-color: #ffffff;
    list-style: none;
}
.arth-filtro__item {
    list-style: none;
    text-align: center;
}
.arth-filtro__link {
    color: #ffffff !important;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    text-decoration: none !important;
    transition: opacity .2s ease;
    display: inline-block;
}
.arth-filtro__link:hover,
.arth-filtro__link:focus-visible {
    opacity: 0.75;
    text-decoration: none !important;
}
.arth-filtro__item.is-active .arth-filtro__link {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* ===========================================================
   Compartilhe cards grid — rendered by [arth_compartilhe]
   =========================================================== */

.arth-compartilhe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 40px;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}
.arth-compartilhe-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}
.arth-compartilhe-card__image {
    width: 100%;
    aspect-ratio: 333 / 390;
    background-color: #6a6a6a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.arth-compartilhe-card__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.arth-compartilhe-card__title {
    margin: 0;
    color: #00064c;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
}
.arth-compartilhe-card__text {
    margin: 0;
    color: #00064c;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
}
.arth-compartilhe-card__share {
    display: flex;
    gap: 9px;
    align-items: center;
}
.arth-compartilhe-card__share-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #111530;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: none !important;
    transition: opacity .2s ease, color .2s ease;
    flex-shrink: 0;
}
.arth-compartilhe-card__share-item:hover,
.arth-compartilhe-card__share-item:focus-visible {
    opacity: 0.7;
}
.arth-compartilhe-card__share-item svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}
.arth-compartilhe-card__share-copy {
    cursor: pointer;
}
/* O ícone de copiar é traçado (chain link), não preenchido — anula o
   fill: currentColor herdado de .arth-compartilhe-card__share-item svg que
   o transformava num blob sólido. O traço usa currentColor (ver SVG),
   então acompanha a cor padrão e o estado .is-copied (verde). */
.arth-compartilhe-card__share-copy svg {
    fill: none;
}
.arth-compartilhe-card__share-copy.is-copied {
    color: #00a820;
    opacity: 1;
}

@media (max-width: 980px) {
    .arth-compartilhe {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .arth-compartilhe {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .arth-compartilhe-card__title {
        font-size: 26px;
    }
}

/* Posicionamento variant — 3 colunas no desktop, mesmo card style */
.arth-compartilhe--posicionamento {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) {
    .arth-compartilhe--posicionamento {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .arth-compartilhe--posicionamento {
        grid-template-columns: 1fr;
    }
}

/* ===========================================================
   Single Post body — rendered by [arth_post_corpo]
   Categoria + Título + Tempo + Conteúdo num único bloco
   =========================================================== */

.arth-post-corpo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 932px;
    margin: 0 auto;
    width: 100%;
}

.arth-post-categoria {
    /* base styles vêm de .arth-btn-outline-dark */
    align-self: flex-start;
}

/* Faixa de categoria no topo do Single Post (rendered by [arth_post_categoria]).
   Texto centralizado sobre a seção Divi de fundo escuro (#111530). */
.arth-post-categoria-banner {
    width: 100%;
    text-align: center;
    color: #f1f1e9;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: .3px;
}

/* Espaçamento entre os blocos avulsos do Single Post quando cada peça vive em
   seu próprio módulo de Texto do Divi (layout montado no Builder). O combinador
   de filho direto garante que NÃO afete as mesmas classes dentro de .arth-post-corpo
   (lá o espaçamento vem do gap do flex container). */
.et_pb_text > .arth-post-titulo,
.et_pb_text_inner > .arth-post-titulo {
    margin-top: 28px;
}
.et_pb_text > .arth-post-conteudo,
.et_pb_text_inner > .arth-post-conteudo {
    margin-top: 24px;
}

@media (max-width: 800px) {
    .arth-post-categoria-banner {
        font-size: 30px;
    }
}

.arth-post-titulo {
    margin: 0;
    color: #00064c;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
}

.arth-post-tempo {
    margin: 0;
    color: #00064c;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    text-transform: uppercase;
}

.arth-post-imagem {
    width: 100%;
    overflow: hidden;
    background-color: #6a6a6a;
}
.arth-post-imagem__img {
    display: block;
    width: 100%;
    height: 612px;
    max-height: 612px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 800px) {
    .arth-post-imagem__img {
        height: 360px;
    }
}
@media (max-width: 500px) {
    .arth-post-imagem__img {
        height: 240px;
    }
}

.arth-post-conteudo {
    color: #00064c;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
    max-width: 932px;
    margin: 0 auto;
    width: 100%;
}
.arth-post-conteudo p {
    margin: 0 0 24px;
    color: #00064c;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.3;
}
.arth-post-conteudo p:last-child {
    margin-bottom: 0;
}
.arth-post-conteudo strong,
.arth-post-conteudo b {
    font-weight: 700;
    color: #00064c;
}
.arth-post-conteudo em,
.arth-post-conteudo i {
    font-style: italic;
}
.arth-post-conteudo h1,
.arth-post-conteudo h2,
.arth-post-conteudo h3,
.arth-post-conteudo h4,
.arth-post-conteudo h5,
.arth-post-conteudo h6 {
    margin: 32px 0 16px;
    color: #00064c;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}
/* O primeiro elemento do conteúdo não deve empurrar o topo do bloco. */
.arth-post-conteudo > :first-child {
    margin-top: 0;
}
.arth-post-conteudo h1 { font-size: 34px; }
.arth-post-conteudo h2 { font-size: 28px; }
.arth-post-conteudo h3 { font-size: 22px; }
.arth-post-conteudo h4 { font-size: 18px; }
.arth-post-conteudo h5 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.arth-post-conteudo h6 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: rgba(0, 6, 76, 0.65); }
.arth-post-conteudo a {
    color: #111530;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.arth-post-conteudo a:hover {
    opacity: 0.75;
}
.arth-post-conteudo ul,
.arth-post-conteudo ol {
    margin: 0 0 24px;
    padding-left: 26px;
}
.arth-post-conteudo ul { list-style: disc; }
.arth-post-conteudo ol { list-style: decimal; }
.arth-post-conteudo li {
    margin: 0 0 10px;
    padding-left: 4px;
    line-height: 1.4;
}
.arth-post-conteudo li:last-child {
    margin-bottom: 0;
}
/* Marcadores: âmbar (acento da marca) nas listas com bullets; números em
   navy/negrito nas ordenadas. */
.arth-post-conteudo ul li::marker {
    color: #ffba1d;
}
.arth-post-conteudo ol li::marker {
    color: #00064c;
    font-weight: 700;
}
/* Listas aninhadas */
.arth-post-conteudo li > ul,
.arth-post-conteudo li > ol {
    margin: 10px 0 0;
}
.arth-post-conteudo ul ul {
    list-style: circle;
}
.arth-post-conteudo img {
    max-width: 100%;
    height: auto;
    display: block;
}
.arth-post-conteudo blockquote {
    margin: 24px 0;
    padding: 8px 0 8px 22px;
    border-left: 4px solid #ffba1d;
    font-style: italic;
    color: #00064c;
}
.arth-post-conteudo blockquote p:last-child {
    margin-bottom: 0;
}

/* Linha divisória */
.arth-post-conteudo hr {
    border: 0;
    border-top: 1px solid rgba(0, 6, 76, 0.18);
    margin: 32px 0;
}

/* Código inline e blocos de código */
.arth-post-conteudo code,
.arth-post-conteudo pre {
    font-family: 'Courier New', Courier, monospace;
    font-size: .92em;
}
.arth-post-conteudo code {
    background: rgba(0, 6, 76, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
}
.arth-post-conteudo pre {
    background: #00064c;
    color: #f1f1e9;
    padding: 18px 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 0 0 24px;
}
.arth-post-conteudo pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Tabelas */
.arth-post-conteudo table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 16px;
}
.arth-post-conteudo th,
.arth-post-conteudo td {
    border: 1px solid rgba(0, 6, 76, 0.18);
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}
.arth-post-conteudo thead th {
    background: #00064c;
    color: #f1f1e9;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
}
.arth-post-conteudo tbody tr:nth-child(even) {
    background: rgba(0, 6, 76, 0.04);
}

/* Imagens com legenda (Gutenberg/clássico) */
.arth-post-conteudo figure {
    margin: 0 0 24px;
}
.arth-post-conteudo figcaption {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(0, 6, 76, 0.65);
    text-align: center;
}

/* ── Estilização vinda do editor de texto ────────────────────────────────────
   Negrito/itálico/listas já têm regras acima. Aqui entram alinhamento de
   parágrafo (editor de Blocos usa a classe .has-text-align-*; o Clássico aplica
   text-align inline, que já vence sozinho), alinhamento de imagem (.align*),
   sublinhado/tachado e sub/sobrescrito. */
.arth-post-conteudo .has-text-align-left   { text-align: left; }
.arth-post-conteudo .has-text-align-center { text-align: center; }
.arth-post-conteudo .has-text-align-right  { text-align: right; }
.arth-post-conteudo .has-text-align-justify { text-align: justify; }

/* Imagens/figuras alinhadas pelos botões de alinhamento do editor Clássico. */
.arth-post-conteudo .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.arth-post-conteudo img.aligncenter { margin-left: auto; margin-right: auto; }
.arth-post-conteudo .alignleft {
    float: left;
    margin: 4px 24px 16px 0;
    max-width: 50%;
}
.arth-post-conteudo .alignright {
    float: right;
    margin: 4px 0 16px 24px;
    max-width: 50%;
}
.arth-post-conteudo .alignnone { margin-bottom: 16px; }
/* Limpa o float das imagens alinhadas para não vazar entre parágrafos. */
.arth-post-conteudo p::after { content: ""; display: table; clear: both; }

/* Sublinhado, tachado e sub/sobrescrito. */
.arth-post-conteudo u,
.arth-post-conteudo ins { text-decoration: underline; }
.arth-post-conteudo s,
.arth-post-conteudo del,
.arth-post-conteudo strike { text-decoration: line-through; }
.arth-post-conteudo sub { vertical-align: sub; font-size: .78em; }
.arth-post-conteudo sup { vertical-align: super; font-size: .78em; }

/* Tamanhos de fonte do editor de Blocos (Pequeno/Médio/Grande/Enorme). */
.arth-post-conteudo .has-small-font-size  { font-size: 14px; }
.arth-post-conteudo .has-medium-font-size { font-size: 20px; }
.arth-post-conteudo .has-large-font-size  { font-size: 26px; }
.arth-post-conteudo .has-x-large-font-size,
.arth-post-conteudo .has-huge-font-size   { font-size: 34px; line-height: 1.15; }

@media (max-width: 800px) {
    .arth-post-titulo {
        font-size: 30px;
    }
    .arth-post-conteudo,
    .arth-post-conteudo p {
        font-size: 16px;
    }
    .arth-post-conteudo h1 { font-size: 26px; }
    .arth-post-conteudo h2 { font-size: 24px; }
    .arth-post-conteudo h3 { font-size: 20px; }
}

/* ===========================================================
   Post Share (HR + 5 ícones) — rendered by [arth_post_share]
   =========================================================== */

.arth-post-share {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 932px;
    margin: 50px auto 100px auto;
    width: 100%;
}
.arth-post-share__divider {
    border: 0;
    border-top: 1px solid #111530;
    margin: 0;
    width: 100%;
}

/* ===========================================================
   Post Relacionados — rendered by [arth_post_relacionados]
   =========================================================== */

.arth-post-relacionados {
    max-width: 932px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.arth-post-relacionados__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}
.arth-post-relacionados__title {
    margin: 0;
    color: #00064c;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
}
.arth-post-relacionados__view-all {
    color: #00064c !important;
    font-family: 'Basier Circle', 'Roboto', Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: opacity .2s ease;
    flex-shrink: 0;
}
.arth-post-relacionados__view-all:hover,
.arth-post-relacionados__view-all:focus-visible {
    opacity: 0.7;
}
.arth-post-relacionados__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}
.arth-post-relacionados__card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none !important;
    color: inherit;
    transition: opacity .2s ease;
}
.arth-post-relacionados__card:hover,
.arth-post-relacionados__card:focus-visible {
    opacity: 0.85;
}
.arth-post-relacionados__card--placeholder {
    pointer-events: none;
}
.arth-post-relacionados__card-image {
    width: 100%;
    height: 180px;
    background-color: #6a6a6a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.arth-post-relacionados__card-text {
    margin: 0;
    color: #00064c;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
}

@media (max-width: 800px) {
    .arth-post-relacionados__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .arth-post-relacionados__title {
        font-size: 28px;
    }
}
@media (max-width: 500px) {
    .arth-post-relacionados__grid {
        grid-template-columns: 1fr;
    }
    .arth-post-relacionados__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ===========================================================
   Cookie consent banner (rendered via wp_footer in functions.php)
   =========================================================== */

.arth-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background-color: #111530;
    color: #e5e1d6;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
    padding: 18px 22px;
    font-family: 'Roboto', sans-serif;
    transform: translateY(120%);
    opacity: 0;
    transition: transform .4s ease, opacity .4s ease;
}
.arth-cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
}
.arth-cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.arth-cookie-banner__text {
    margin: 0;
    flex: 1 1 280px;
    font-size: 14px;
    line-height: 1.5;
    color: #e5e1d6;
}
.arth-cookie-banner__text a {
    color: #ffba1d;
    text-decoration: underline;
    font-weight: 700;
}
.arth-cookie-banner__text a:hover,
.arth-cookie-banner__text a:focus-visible {
    color: #ffffff;
}
.arth-cookie-banner__accept {
    flex-shrink: 0;
    background-color: #ffba1d;
    color: #111530;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    border: 0;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
    transition: background-color .25s ease, color .25s ease;
}
.arth-cookie-banner__accept:hover,
.arth-cookie-banner__accept:focus-visible {
    background-color: #e5e1d6;
    color: #111530;
    outline: none;
}
@media (max-width: 600px) {
    .arth-cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px 18px;
    }
    .arth-cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        text-align: center;
    }
    .arth-cookie-banner__accept {
        width: 100%;
    }
}
