/*
 * Abrigo com Deus — páginas internas premium / dev23
 * Primeira categoria: Reflexões de Fé + modelo editorial de leitura.
 */

body.acd-internal-site {
    --acd-reading-width: 780px;
    --acd-sidebar-width: 320px;
    background: var(--acd-cream);
    color: var(--acd-ink);
    font-family: var(--acd-font-sans);
}
body.acd-internal-site .acd-header { position: sticky; }
body.acd-internal-site .acd-footer { margin-top: 0; }
body.acd-internal-site .acd-internal-header { box-shadow: 0 5px 22px rgba(72,43,24,.035); }
body.acd-internal-site .acd-shell { width: min(1440px, calc(100% - 64px)); }

/* HERO DA CATEGORIA */
.acd-category-page { background: var(--acd-cream); }
.acd-category-hero {
    position: relative;
    min-height: 390px;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background-image: linear-gradient(90deg, rgba(25,37,48,.97) 0%, rgba(34,35,40,.87) 38%, rgba(30,33,37,.38) 67%, rgba(30,33,37,.12) 100%), var(--acd-category-hero);
    background-size: cover;
    background-position: center 36%;
}
.acd-category-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--acd-gold) 34%, #f2d886 50%, var(--acd-gold) 66%, transparent);
    opacity: .8;
    z-index: 2;
}
.acd-category-hero-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../images/decor/reflections-cathedral-ornament.svg');
    background-repeat: no-repeat;
    background-size: min(760px, 61vw) auto;
    background-position: 98% 56%;
    opacity: .9;
    pointer-events: none;
}
.acd-category-hero-inner { position: relative; z-index: 1; }
.acd-category-hero-copy { max-width: 680px; padding: 58px 0 64px; color: #fff8ed; }
.acd-category-kicker,
.acd-category-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e4bc50;
    font: 800 13px/1.2 var(--acd-font-sans);
    letter-spacing: .09em;
    text-transform: uppercase;
}
.acd-category-kicker svg { width: 20px; height: 20px; }
.acd-category-hero h1 {
    margin: 12px 0 15px;
    color: #fff7ea;
    font: 600 clamp(54px, 5vw, 78px)/.98 var(--acd-font-serif);
    letter-spacing: -.025em;
}
.acd-category-hero p {
    max-width: 625px;
    margin: 0;
    color: rgba(255,248,237,.91);
    font-size: 21px;
    line-height: 1.55;
}
.acd-category-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(226,189,82,.74);
    border-radius: 999px;
    color: #fff7ea !important;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.acd-category-hero-link svg { color: #e4bc50; }
@media (hover:hover) {
    .acd-category-hero-link:hover { transform: translateY(-2px); background: rgba(212,175,55,.13); }
}

/* DIVISOR SACRO */
.acd-sacred-divider,
.acd-article-ornament {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto 28px;
    color: var(--acd-gold-deep);
}
.acd-sacred-divider span,
.acd-article-ornament span { height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,.72)); }
.acd-sacred-divider span:last-child,
.acd-article-ornament span:last-child { background: linear-gradient(90deg, rgba(212,175,55,.72), transparent); }
.acd-sacred-divider b,
.acd-article-ornament b { font-size: 12px; font-weight: 400; }

/* DESTAQUE DA CATEGORIA */
.acd-category-featured-section { padding: 46px 0 34px; }
.acd-category-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--acd-line);
    border-radius: 22px;
    background: var(--acd-card);
    box-shadow: 0 18px 55px rgba(83,47,25,.09);
}
.acd-category-featured-image { position: relative; min-height: 420px; overflow: hidden; background: var(--acd-cream-2); }
.acd-category-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.acd-image-badge {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 7px;
    color: #fff;
    background: var(--acd-category-accent, var(--acd-wine));
    box-shadow: 0 5px 18px rgba(31,26,22,.18);
    font: 800 11px/1.15 var(--acd-font-sans);
    letter-spacing: .035em;
}
.acd-category-featured-copy {
    padding: clamp(34px, 4vw, 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.acd-category-featured-copy::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 18px;
    width: 150px;
    height: 150px;
    border: 1px solid color-mix(in srgb, var(--acd-gold) 28%, transparent);
    border-radius: 50%;
    opacity: .35;
    pointer-events: none;
}
.acd-category-featured-copy h2 {
    margin: 9px 0 14px;
    color: var(--acd-ink);
    font: 600 clamp(37px, 3.3vw, 52px)/1 var(--acd-font-serif);
    letter-spacing: -.02em;
}
.acd-category-featured-copy h2 a { color: inherit; }
.acd-category-featured-copy > p { margin: 0 0 18px; color: var(--acd-muted); font-size: 18px; line-height: 1.58; }
.acd-internal-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--acd-muted); font-size: 14px; }
.acd-internal-meta span { display: inline-flex; align-items: center; gap: 5px; }
.acd-internal-meta svg { color: var(--acd-wine); }
.acd-internal-read-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 23px;
    color: var(--acd-wine) !important;
    font-size: 16px;
    font-weight: 800;
}
@media (hover:hover) {
    .acd-category-featured-card:hover .acd-category-featured-image img { transform: scale(1.025); }
    .acd-category-featured-copy h2 a:hover { color: var(--acd-wine); }
}

/* ARQUIVO DA CATEGORIA */
.acd-category-listing { padding: 36px 0 72px; }
.acd-category-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 17px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--acd-line);
}
.acd-category-section-heading h2 { margin: 4px 0 0; color: var(--acd-ink); font: 600 clamp(38px, 3.6vw, 52px)/1 var(--acd-font-serif); }
.acd-category-section-heading > p { max-width: 500px; margin: 0; color: var(--acd-muted); font-size: 16px; line-height: 1.5; text-align: right; }
.acd-category-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.acd-category-post-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--acd-line);
    border-radius: 16px;
    background: var(--acd-card);
    box-shadow: 0 10px 30px rgba(75,46,29,.055);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.acd-category-card-image { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--acd-cream-2); }
.acd-category-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.acd-category-card-copy { position: relative; min-height: 260px; padding: 22px 23px 25px; display: flex; flex-direction: column; }
.acd-category-card-copy h3 { margin: 0 0 13px; color: var(--acd-ink); font: 600 29px/1.04 var(--acd-font-serif); }
.acd-category-card-copy h3 a { color: inherit; }
.acd-category-card-copy p { margin: 15px 0 0; color: var(--acd-muted); font-size: 16.5px; line-height: 1.52; }
.acd-card-arrow-link {
    width: 40px;
    height: 40px;
    margin-top: auto;
    align-self: flex-end;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--acd-gold) 56%, var(--acd-line));
    border-radius: 50%;
    color: var(--acd-wine) !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
@media (hover:hover) {
    .acd-category-post-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acd-gold) 52%, var(--acd-line)); box-shadow: 0 18px 42px rgba(75,46,29,.11); }
    .acd-category-post-card:hover img { transform: scale(1.025); }
    .acd-category-post-card:hover h3 a { color: var(--acd-wine); }
    .acd-card-arrow-link:hover { background: var(--acd-gold); color: #392817 !important; transform: translateX(2px); }
}
.acd-category-pagination { margin-top: 42px; }
.acd-category-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.acd-category-pagination a,
.acd-category-pagination span {
    min-height: 44px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--acd-line);
    border-radius: 999px;
    background: var(--acd-card);
    color: var(--acd-ink);
    font-weight: 700;
}
.acd-category-pagination .current { background: var(--acd-wine); color: #fff; border-color: var(--acd-wine); }
.acd-internal-empty { padding: 55px; text-align: center; border: 1px dashed var(--acd-line); border-radius: 18px; }

/* PÁGINA DE LEITURA */
.acd-reading-page { padding: 48px 0 76px; background: radial-gradient(circle at 8% 4%, rgba(212,175,55,.08), transparent 26%), var(--acd-cream); }
.acd-reading-shell {
    max-width: 1240px;
    display: grid;
    grid-template-columns: minmax(0, var(--acd-reading-width)) minmax(280px, var(--acd-sidebar-width));
    justify-content: center;
    align-items: start;
    gap: 54px;
}
.acd-reading-article { min-width: 0; }
.acd-article-header { padding: 14px 0 27px; }
.acd-article-category { display: inline-block; color: var(--acd-wine) !important; font-size: 13px; font-weight: 800; letter-spacing: .09em; }
.acd-article-header h1 { margin: 12px 0 17px; color: var(--acd-ink); font: 600 clamp(46px, 4.3vw, 66px)/.99 var(--acd-font-serif); letter-spacing: -.025em; text-wrap: balance; }
.acd-article-deck { margin: 0 0 23px; color: var(--acd-muted); font: italic 500 21px/1.58 var(--acd-font-serif); }
.acd-article-byline { display: flex; gap: 14px 22px; flex-wrap: wrap; color: var(--acd-muted); font-size: 14.5px; }
.acd-article-byline span { display: inline-flex; align-items: center; gap: 5px; }
.acd-article-byline svg { color: var(--acd-wine); }
.acd-article-featured-image { margin: 0 0 28px; overflow: hidden; border-radius: 20px; box-shadow: 0 14px 40px rgba(65,41,26,.09); }
.acd-article-featured-image img { width: 100%; max-height: 570px; object-fit: cover; }
.acd-article-ornament { margin: 30px auto 38px; }
.acd-article-content {
    max-width: 760px;
    color: var(--acd-ink);
    font-size: 20px;
    line-height: 1.82;
    letter-spacing: .002em;
}
.acd-article-content > *:first-child { margin-top: 0; }
.acd-article-content p { margin: 0 0 1.45em; }
.acd-article-content h2,
.acd-article-content h3 {
    color: var(--acd-ink);
    margin: 1.45em 0 .55em;
    line-height: 1.08;
    font-weight: 600;
}
.acd-article-content h2 { font-size: 40px; }
.acd-article-content h3 { font-size: 32px; }
.acd-article-content blockquote {
    position: relative;
    margin: 2em 0;
    padding: 28px 32px 28px 45px;
    border: 1px solid color-mix(in srgb, var(--acd-gold) 42%, var(--acd-line));
    border-left: 4px solid var(--acd-gold);
    border-radius: 14px;
    background: color-mix(in srgb, var(--acd-card) 86%, var(--acd-gold) 14%);
    color: var(--acd-ink);
    font: italic 600 25px/1.48 var(--acd-font-serif);
}
.acd-article-content blockquote::before { content: "✦"; position: absolute; left: 18px; top: 29px; color: var(--acd-gold-deep); font-size: 12px; }
.acd-article-content a { color: var(--acd-wine); text-decoration: underline; text-decoration-color: rgba(107,13,30,.35); text-underline-offset: .18em; }

.acd-article-prayer-callout {
    margin: 44px 0;
    padding: 30px 32px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--acd-gold) 46%, var(--acd-line));
    border-radius: 18px;
    background: linear-gradient(130deg, color-mix(in srgb, var(--acd-card) 92%, #fff 8%), color-mix(in srgb, var(--acd-gold) 12%, var(--acd-card)));
}
.acd-article-prayer-symbol { color: var(--acd-gold-deep); font-size: 20px; }
.acd-article-prayer-callout h2 { margin: 4px 0 6px; color: var(--acd-ink); font: 600 31px/1.08 var(--acd-font-serif); }
.acd-article-prayer-callout p { margin: 0; color: var(--acd-muted); font-size: 16px; line-height: 1.5; }
.acd-article-prayer-callout button,
.acd-sidebar-prayer button {
    border: 0;
    border-radius: 11px;
    background: var(--acd-wine);
    color: #fff;
    min-height: 48px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    cursor: pointer;
}

/* SIDEBAR */
.acd-reading-sidebar { position: sticky; top: 120px; display: grid; gap: 20px; }
.admin-bar .acd-reading-sidebar { top: 152px; }
.acd-sidebar-card,
.acd-sidebar-ad { border: 1px solid var(--acd-line); border-radius: 17px; background: var(--acd-card); overflow: hidden; box-shadow: 0 10px 30px rgba(73,45,27,.055); }
.acd-sidebar-prayer { padding: 27px; background: radial-gradient(circle at 84% 14%, rgba(212,175,55,.2), transparent 36%), var(--acd-card); }
.acd-sidebar-prayer h2 { margin: 7px 0 6px; color: var(--acd-ink); font: 600 34px/1 var(--acd-font-serif); }
.acd-sidebar-prayer p { margin: 0 0 17px; color: var(--acd-muted); font-size: 16px; }
.acd-sidebar-heading { padding: 18px 20px 13px; color: var(--acd-gold-deep); font-weight: 800; letter-spacing: .06em; }
.acd-sidebar-popular-list { padding: 0 20px 9px; }
.acd-sidebar-popular-item { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 11px; align-items: center; min-height: 82px; padding: 13px 0 13px 6px; border-top: 1px solid var(--acd-line); }
.acd-sidebar-popular-item:first-child { border-top: 0; }
.acd-sidebar-popular-item > b { position: absolute; left: -4px; top: 9px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--acd-gold); color: #473114; font-size: 12px; z-index: 2; }
.acd-sidebar-popular-item img { width: 62px; height: 53px; object-fit: cover; border-radius: 9px; }
.acd-sidebar-popular-item strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--acd-ink); font: 600 17px/1.08 var(--acd-font-serif); }
.acd-sidebar-popular-item small { display: block; margin-top: 4px; color: var(--acd-muted); font-size: 12px; }
.acd-sidebar-ad { padding: 12px; text-align: center; color: var(--acd-muted); }
.acd-sidebar-ad span { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.acd-sidebar-ad div { min-height: 250px; display: grid; place-items: center; border: 1px dashed var(--acd-line); border-radius: 12px; font-size: 13px; }

/* RELACIONADOS */
.acd-related-section { margin-top: 50px; }
.acd-related-section .acd-category-section-heading { margin-bottom: 20px; }
.acd-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.acd-related-card { overflow: hidden; border: 1px solid var(--acd-line); border-radius: 14px; background: var(--acd-card); }
.acd-related-image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.acd-related-image img { width:100%; height:100%; object-fit:cover; transition: transform .35s ease; }
.acd-related-card > div { padding: 14px 15px 16px; }
.acd-related-card h3 { margin: 0 0 7px; color: var(--acd-ink); font: 600 20px/1.08 var(--acd-font-serif); }
.acd-related-card span { color: var(--acd-muted); font-size: 12px; }
@media (hover:hover) { .acd-related-card:hover img { transform: scale(1.035); } .acd-related-card:hover h3 a { color: var(--acd-wine); } }

/* DARK GLOBAL — usa a mesma preferência escolhida na Home. */
html[data-theme="dark"] body.acd-internal-site .acd-category-hero { background-image: linear-gradient(90deg, rgba(9,20,29,.98) 0%, rgba(12,27,38,.9) 42%, rgba(12,27,38,.48) 70%, rgba(12,27,38,.18) 100%), var(--acd-category-hero); }
html[data-theme="dark"] body.acd-internal-site .acd-category-featured-card,
html[data-theme="dark"] body.acd-internal-site .acd-category-post-card,
html[data-theme="dark"] body.acd-internal-site .acd-sidebar-card,
html[data-theme="dark"] body.acd-internal-site .acd-sidebar-ad,
html[data-theme="dark"] body.acd-internal-site .acd-related-card { background: #172735; border-color: #334858; }
html[data-theme="dark"] body.acd-internal-site .acd-category-featured-copy h2,
html[data-theme="dark"] body.acd-internal-site .acd-category-card-copy h3,
html[data-theme="dark"] body.acd-internal-site .acd-category-section-heading h2,
html[data-theme="dark"] body.acd-internal-site .acd-article-header h1,
html[data-theme="dark"] body.acd-internal-site .acd-article-content,
html[data-theme="dark"] body.acd-internal-site .acd-article-content h2,
html[data-theme="dark"] body.acd-internal-site .acd-article-content h3,
html[data-theme="dark"] body.acd-internal-site .acd-article-prayer-callout h2,
html[data-theme="dark"] body.acd-internal-site .acd-sidebar-prayer h2,
html[data-theme="dark"] body.acd-internal-site .acd-sidebar-popular-item strong,
html[data-theme="dark"] body.acd-internal-site .acd-related-card h3 { color: #fff7e9; }
html[data-theme="dark"] body.acd-internal-site .acd-category-featured-copy > p,
html[data-theme="dark"] body.acd-internal-site .acd-category-card-copy p,
html[data-theme="dark"] body.acd-internal-site .acd-category-section-heading > p,
html[data-theme="dark"] body.acd-internal-site .acd-internal-meta,
html[data-theme="dark"] body.acd-internal-site .acd-article-deck,
html[data-theme="dark"] body.acd-internal-site .acd-article-byline,
html[data-theme="dark"] body.acd-internal-site .acd-article-prayer-callout p,
html[data-theme="dark"] body.acd-internal-site .acd-sidebar-prayer p,
html[data-theme="dark"] body.acd-internal-site .acd-sidebar-popular-item small { color: #d1c4b8; }
html[data-theme="dark"] body.acd-internal-site .acd-reading-page { background: radial-gradient(circle at 8% 4%, rgba(212,175,55,.07), transparent 26%), #0c1620; }
html[data-theme="dark"] body.acd-internal-site .acd-article-prayer-callout { background: linear-gradient(130deg,#172735,#1c2c35); border-color:#66552f; }
html[data-theme="dark"] body.acd-internal-site .acd-article-content blockquote { background: #172735; border-color:#5d5133; border-left-color:#d4af37; }
html[data-theme="dark"] body.acd-internal-site .acd-article-content a { color: #efc861; text-decoration-color: rgba(239,200,97,.4); }

/* Acessibilidade / 60+: tamanho base mais confortável nas internas. */
html[data-acd-font-size="compact"] body.acd-internal-site .acd-article-content { font-size: 18px; }
html[data-acd-font-size="comfortable"] body.acd-internal-site .acd-article-content { font-size: 20px; }
html[data-acd-font-size="large"] body.acd-internal-site .acd-article-content { font-size: 22px; }
html[data-acd-font-size="xlarge"] body.acd-internal-site .acd-article-content { font-size: 24px; }

/* Modal Rezar Agora: frases de apoio maiores, sem redesenhar o componente. */
body.acd-dev21 .acd-pray-intro { font-size: 18px; line-height: 1.55; }
body.acd-dev21 .acd-pray-options small { font-size: 14px; line-height: 1.32; }
body.acd-dev21 .acd-pray-note { font-size: 14.5px; }
body.acd-dev21 .acd-pray-illustration > span { font-size: 15px; line-height: 1.5; }

@media (max-width: 1120px) {
    .acd-category-featured-card { grid-template-columns: 1.05fr .95fr; }
    .acd-category-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .acd-reading-shell { grid-template-columns: minmax(0,760px) 280px; gap: 30px; }
}
@media (max-width: 900px) {
    .acd-category-hero { min-height: 340px; }
    .acd-category-hero-copy { max-width: 72%; }
    .acd-category-featured-card { grid-template-columns: 1fr; }
    .acd-category-featured-image { min-height: 360px; }
    .acd-reading-shell { grid-template-columns: 1fr; max-width: 820px; }
    .acd-reading-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .acd-sidebar-ad { grid-column: 1/-1; }
}
@media (max-width: 720px) {
    body.acd-internal-site .acd-shell { width: min(100% - 28px, 1440px); }
    .acd-category-hero { min-height: 390px; background-position: 64% center; }
    .acd-category-hero-copy { max-width: 100%; padding: 48px 0; }
    .acd-category-hero h1 { font-size: 50px; }
    .acd-category-hero p { font-size: 18px; max-width: 92%; }
    .acd-category-hero-art { opacity: .48; background-size: 610px auto; background-position: 130% 60%; }
    .acd-category-featured-section { padding-top: 30px; }
    .acd-category-featured-image { min-height: 270px; }
    .acd-category-featured-copy { padding: 27px 25px 30px; }
    .acd-category-featured-copy h2 { font-size: 38px; }
    .acd-category-section-heading { display: block; }
    .acd-category-section-heading > p { text-align: left; margin-top: 10px; }
    .acd-category-post-grid { grid-template-columns: 1fr; gap: 18px; }
    .acd-category-card-copy { min-height: 230px; }
    .acd-reading-page { padding-top: 28px; }
    .acd-article-header h1 { font-size: 44px; }
    .acd-article-deck { font-size: 19px; }
    .acd-article-content { font-size: 19px; line-height: 1.75; }
    .acd-article-prayer-callout { grid-template-columns: 1fr; }
    .acd-article-prayer-symbol { display: none; }
    .acd-article-prayer-callout button { justify-self: start; }
    .acd-reading-sidebar { grid-template-columns: 1fr; }
    .acd-related-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   DEV22 — acabamento funcional de Reflexões + artigos
   ========================================================= */

/* A categoria fica mais direta: o título já explica a ordenação. */
body.acd-dev23 .acd-category-section-heading:not(:has(> p)) {
    align-items: center;
}

/* Navegação do arquivo: ação humana em vez de paginação técnica dominante. */
body.acd-dev23 .acd-category-more-nav {
    margin-top: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
body.acd-dev23 .acd-category-more-button,
body.acd-dev23 .acd-category-back-link {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
body.acd-dev23 .acd-category-more-button {
    padding: 0 24px;
    border: 1px solid color-mix(in srgb, var(--acd-gold) 72%, var(--acd-line));
    background: linear-gradient(135deg, #fffaf0, #f8ecd3);
    color: var(--acd-wine) !important;
    box-shadow: 0 9px 24px rgba(99,65,31,.08);
}
body.acd-dev23 .acd-category-more-button svg { width: 19px; height: 19px; }
body.acd-dev23 .acd-category-back-link {
    padding: 0 18px;
    border: 1px solid var(--acd-line);
    background: var(--acd-card);
    color: var(--acd-muted) !important;
}
@media (hover:hover) {
    body.acd-dev23 .acd-category-more-button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(99,65,31,.14); background: #f6e5bd; }
    body.acd-dev23 .acd-category-back-link:hover { transform: translateY(-1px); border-color: var(--acd-gold); color: var(--acd-wine) !important; }
}

/* Compartilhamento: claro, grande o bastante para 60+, sem depender de perfis próprios. */
body.acd-dev23 .acd-article-share {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--acd-line);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}
body.acd-dev23 .acd-share-label {
    color: var(--acd-muted);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}
body.acd-dev23 .acd-share-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
body.acd-dev23 .acd-share-button {
    min-height: 43px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid color-mix(in srgb, var(--acd-gold) 42%, var(--acd-line));
    border-radius: 999px;
    background: color-mix(in srgb, var(--acd-card) 93%, var(--acd-gold) 7%);
    color: var(--acd-ink) !important;
    font: 700 14px/1 var(--acd-font-sans);
    cursor: pointer;
    box-shadow: none;
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
body.acd-dev23 button.acd-share-button { appearance: none; }
body.acd-dev23 .acd-share-button svg { width: 18px; height: 18px; color: var(--acd-gold-deep); }
body.acd-dev23 .acd-share-feedback { min-height: 18px; color: var(--acd-wine); font-size: 13px; font-weight: 700; }
@media (hover:hover) {
    body.acd-dev23 .acd-share-button:hover { transform: translateY(-2px); border-color: var(--acd-gold); background: #f7e9c8; color: var(--acd-wine) !important; }
}

/* Afiliado nas internas: editorial, não "banner". */
body.acd-dev23 .acd-internal-affiliate {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--acd-gold) 42%, var(--acd-line));
    border-radius: 18px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--acd-card) 95%, #fff 5%), color-mix(in srgb, var(--acd-gold) 8%, var(--acd-card)));
    box-shadow: 0 12px 34px rgba(72,45,28,.07);
}
body.acd-dev23 .acd-internal-affiliate-image { display: block; overflow: hidden; background: var(--acd-cream-2); }
body.acd-dev23 .acd-internal-affiliate-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
body.acd-dev23 .acd-internal-affiliate-copy { padding: 23px 24px 25px; }
body.acd-dev23 .acd-internal-affiliate-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--acd-gold-deep);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}
body.acd-dev23 .acd-internal-affiliate-badge svg { width: 16px; height: 16px; }
body.acd-dev23 .acd-internal-affiliate h2 {
    margin: 8px 0 9px;
    color: var(--acd-ink);
    font: 600 31px/1.02 var(--acd-font-serif);
}
body.acd-dev23 .acd-internal-affiliate p { margin: 0 0 17px; color: var(--acd-muted); font-size: 15.5px; line-height: 1.5; }
body.acd-dev23 .acd-internal-affiliate-button {
    min-height: 47px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
    background: var(--acd-wine);
    color: #fff !important;
    font-weight: 800;
}
body.acd-dev23 .acd-internal-affiliate-button svg { width: 17px; height: 17px; }
body.acd-dev23 .acd-internal-affiliate small { display: block; margin-top: 13px; color: var(--acd-muted); font-size: 11.5px; line-height: 1.4; }
body.acd-dev23 .acd-internal-affiliate-sidebar .acd-internal-affiliate-image { aspect-ratio: 16/9; }
body.acd-dev23 .acd-internal-affiliate-sidebar h2 { font-size: 29px; }
body.acd-dev23 .acd-internal-affiliate-end {
    margin: 42px 0 45px;
    display: grid;
    grid-template-columns: minmax(220px,.82fr) minmax(0,1.18fr);
}
body.acd-dev23 .acd-internal-affiliate-end .acd-internal-affiliate-image { min-height: 260px; }
body.acd-dev23 .acd-internal-affiliate-end .acd-internal-affiliate-copy { padding: 32px 34px; align-self: center; }
body.acd-dev23 .acd-internal-affiliate-end h2 { font-size: 38px; }
@media (hover:hover) {
    body.acd-dev23 .acd-internal-affiliate:hover .acd-internal-affiliate-image img { transform: scale(1.025); }
    body.acd-dev23 .acd-internal-affiliate-button:hover { background: #7b1328; }
}

/* Dark global: a mesma escolha feita na Home. */
html[data-theme="dark"] body.acd-dev23 .acd-category-more-button {
    background: linear-gradient(135deg,#2c2b25,#28271f);
    color: #f2cf72 !important;
    border-color: #6b5930;
}
html[data-theme="dark"] body.acd-dev23 .acd-category-back-link,
html[data-theme="dark"] body.acd-dev23 .acd-share-button,
html[data-theme="dark"] body.acd-dev23 .acd-internal-affiliate {
    background: #172735;
    border-color: #3c4d57;
}
html[data-theme="dark"] body.acd-dev23 .acd-share-button { color: #fff4e3 !important; }
html[data-theme="dark"] body.acd-dev23 .acd-share-button svg,
html[data-theme="dark"] body.acd-dev23 .acd-internal-affiliate-badge { color: #efc861; }
html[data-theme="dark"] body.acd-dev23 .acd-share-feedback { color: #efc861; }
html[data-theme="dark"] body.acd-dev23 .acd-internal-affiliate h2 { color: #fff7e9; }
html[data-theme="dark"] body.acd-dev23 .acd-internal-affiliate p,
html[data-theme="dark"] body.acd-dev23 .acd-internal-affiliate small { color: #d1c4b8; }

@media (max-width: 900px) {
    body.acd-dev23 .acd-internal-affiliate-end { grid-template-columns: 1fr; }
    body.acd-dev23 .acd-internal-affiliate-end .acd-internal-affiliate-image { min-height: 240px; aspect-ratio: 16/8; }
}
@media (max-width: 720px) {
    body.acd-dev23 .acd-article-share { align-items: flex-start; }
    body.acd-dev23 .acd-share-label { width: 100%; }
    body.acd-dev23 .acd-share-actions { width: 100%; }
    body.acd-dev23 .acd-share-button { min-height: 46px; padding-inline: 12px; }
    body.acd-dev23 .acd-share-button span { font-size: 13.5px; }
    body.acd-dev23 .acd-category-more-nav { align-items: stretch; }
    body.acd-dev23 .acd-category-more-button,
    body.acd-dev23 .acd-category-back-link { width: 100%; }
    body.acd-dev23 .acd-internal-affiliate-end .acd-internal-affiliate-copy { padding: 26px 24px 28px; }
}


/* DEV23 — compartilhamento passa a encerrar a leitura antes dos relacionados. */
body.acd-dev23 .acd-reading-article > .acd-article-share {
    margin-top: 28px;
    margin-bottom: 34px;
}
body.acd-dev23 .acd-reading-article > .acd-article-share .acd-share-label {
    font-size: 14px;
    letter-spacing: .08em;
}

/* =========================================================
   DEV25 — ORAÇÕES / REZAR AGORA (Núcleo v0.6)
   ========================================================= */
.acd-prayers-page { background: var(--acd-cream); }
.acd-prayers-hero {
    position: relative; min-height: 430px; display: grid; align-items: center; overflow: hidden; isolation: isolate;
    background-image: linear-gradient(90deg,rgba(20,35,48,.97) 0%,rgba(34,34,39,.86) 42%,rgba(39,34,31,.38) 72%,rgba(39,34,31,.18) 100%), var(--acd-prayers-hero);
    background-size: cover; background-position: center 44%;
}
.acd-prayers-hero::after { content:""; position:absolute; inset:auto 0 0; height:5px; z-index:2; background:linear-gradient(90deg,transparent,var(--acd-gold),#f2d886,var(--acd-gold),transparent); opacity:.85; }
.acd-prayers-hero-shade { position:absolute; inset:0; z-index:0; background:radial-gradient(circle at 18% 48%,rgba(212,175,55,.13),transparent 35%); }
.acd-prayers-ornament { position:absolute; right:7%; top:50%; translate:0 -50%; color:rgba(241,204,101,.22); font:400 clamp(100px,12vw,190px)/1 var(--acd-font-serif); }
.acd-prayers-hero-inner { position:relative; z-index:1; }
.acd-prayers-hero-copy { max-width:720px; padding:65px 0 72px; color:#fff8ed; }
.acd-prayers-hero-copy h1 { margin:10px 0 14px; color:#fff7ea; font:600 clamp(58px,5.2vw,82px)/.96 var(--acd-font-serif); letter-spacing:-.03em; }
.acd-prayers-hero-copy > p { max-width:650px; margin:0; color:rgba(255,248,237,.92); font-size:21px; line-height:1.52; }
.acd-prayers-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:27px; }
.acd-prayers-hero-actions .acd-button { min-height:50px; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:0 18px; border-radius:12px; font-weight:800; }
.acd-prayers-hero-actions .acd-button-primary { border:1px solid var(--acd-gold); background:var(--acd-wine); color:#fff; }
.acd-prayers-hero-actions .acd-button-secondary { border:1px solid rgba(238,204,106,.75); background:rgba(255,255,255,.06); color:#fff8ed !important; }
.acd-prayers-hero-actions svg { width:18px; height:18px; }
.acd-prayers-hero-note { display:block; margin-top:17px; color:#f3d889; font-size:14px; font-weight:600; }

.acd-prayers-intentions-section { padding:48px 0 24px; }
.acd-prayers-heading { margin-bottom:22px; }
.acd-prayers-clear-filter { color:var(--acd-wine)!important; font-weight:800; }
.acd-prayer-intention-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.acd-prayer-intention-card {
    min-height:142px; padding:20px 16px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:7px;
    border:1px solid var(--acd-line); border-radius:18px; background:var(--acd-card); color:var(--acd-ink)!important;
    box-shadow:0 10px 30px rgba(83,47,25,.055); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.acd-prayer-intention-card.is-active { border-color:var(--acd-gold); box-shadow:0 12px 32px rgba(166,113,21,.13); }
.acd-prayer-intention-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; color:var(--acd-wine); background:color-mix(in srgb,var(--acd-gold) 14%,var(--acd-card)); }
.acd-prayer-intention-icon svg { width:20px; height:20px; }
.acd-prayer-intention-card strong { font:600 23px/1.05 var(--acd-font-serif); }
.acd-prayer-intention-card small { color:var(--acd-muted); font-size:13px; }
@media (hover:hover) { .acd-prayer-intention-card:hover { transform:translateY(-3px); border-color:var(--acd-gold); box-shadow:0 15px 38px rgba(83,47,25,.1); } }

.acd-prayer-featured-section { padding:26px 0 42px; }
.acd-prayer-featured-card { max-width:1240px; margin:0 auto; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr); overflow:hidden; border:1px solid var(--acd-line); border-radius:22px; background:var(--acd-card); box-shadow:0 18px 55px rgba(83,47,25,.08); }
.acd-prayer-featured-image { position:relative; min-height:390px; display:block; overflow:hidden; background:linear-gradient(145deg,#f4e7d8,#fff9ef); }
.acd-prayer-featured-image img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.acd-prayer-featured-copy { padding:clamp(34px,4vw,60px); display:flex; flex-direction:column; justify-content:center; }
.acd-prayer-featured-copy h2 { margin:9px 0 14px; color:var(--acd-ink); font:600 clamp(38px,3.2vw,52px)/1 var(--acd-font-serif); }
.acd-prayer-featured-copy h2 a { color:inherit; }
.acd-prayer-featured-copy > p { margin:0 0 18px; color:var(--acd-muted); font-size:18px; line-height:1.58; }
.acd-prayer-image-fallback { width:100%; height:100%; min-height:220px; display:grid; place-items:center; color:var(--acd-gold-deep); background:radial-gradient(circle at 50% 42%,rgba(212,175,55,.17),transparent 28%),linear-gradient(145deg,#f5e9db,#fffaf2); }
.acd-prayer-image-fallback svg { width:56px; height:56px; opacity:.8; }
@media (hover:hover) { .acd-prayer-featured-card:hover .acd-prayer-featured-image img { transform:scale(1.025); } }

.acd-prayers-listing { padding-top:30px; }
.acd-prayer-post-card .acd-category-card-image { background:linear-gradient(145deg,#f4e6d6,#fff9ef); }
.acd-prayer-post-card .acd-internal-read-link { margin-top:14px; }
.acd-prayer-empty { text-align:center; max-width:760px; margin:0 auto; }
.acd-prayer-empty > span { width:70px; height:70px; margin:0 auto 18px; display:grid; place-items:center; border-radius:50%; background:color-mix(in srgb,var(--acd-gold) 13%,var(--acd-card)); color:var(--acd-gold-deep); }
.acd-prayer-empty > span svg { width:34px; height:34px; }

html[data-theme="dark"] .acd-prayer-intention-card,
html[data-theme="dark"] .acd-prayer-featured-card { background:#172735; border-color:#354a59; }
html[data-theme="dark"] .acd-prayer-intention-card strong,
html[data-theme="dark"] .acd-prayer-featured-copy h2 { color:#fff6e8; }
html[data-theme="dark"] .acd-prayer-intention-card small,
html[data-theme="dark"] .acd-prayer-featured-copy > p { color:#cfc2b5; }
html[data-theme="dark"] .acd-prayer-intention-icon { background:#243947; color:#f0cb69; }
html[data-theme="dark"] .acd-prayer-image-fallback { background:radial-gradient(circle at 50% 42%,rgba(212,175,55,.12),transparent 28%),#182b39; }

@media (max-width:1100px) {
    .acd-prayer-intention-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .acd-prayer-featured-card { grid-template-columns:1fr 1fr; }
}
@media (max-width:820px) {
    .acd-prayers-hero { min-height:390px; }
    .acd-prayers-ornament { display:none; }
    .acd-prayer-intention-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .acd-prayer-featured-card { grid-template-columns:1fr; }
    .acd-prayer-featured-image { min-height:300px; aspect-ratio:16/9; }
}
@media (max-width:560px) {
    .acd-prayers-hero-copy { padding:48px 0 55px; }
    .acd-prayers-hero-copy h1 { font-size:52px; }
    .acd-prayers-hero-copy > p { font-size:18px; }
    .acd-prayers-hero-actions { flex-direction:column; align-items:stretch; }
    .acd-prayers-hero-actions .acd-button { width:100%; }
    .acd-prayer-intention-grid { grid-template-columns:1fr 1fr; gap:9px; }
    .acd-prayer-intention-card { min-height:124px; padding:16px 13px; }
    .acd-prayer-intention-card strong { font-size:20px; }
    .acd-prayer-featured-copy { padding:28px 24px 32px; }
    .acd-prayer-featured-copy h2 { font-size:38px; }
}

/* =========================================================
   DEV26 — AJUSTES DE CONTRASTE / ACABAMENTO ORAÇÕES
   Patch visual do MVP v0.6.1. Escopo restrito à página Orações.
   ========================================================= */
.acd-prayers-page { overflow-x: clip; }

/* O hero é sempre fotográfico/escuro: impede que regras globais do modo claro
   transformem o botão secundário em creme com texto claro. */
.acd-prayers-hero-actions .acd-button-primary {
    background: linear-gradient(180deg,#86142b,#6b0d1e) !important;
    border-color: #a56d35 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.12);
}
.acd-prayers-hero-actions .acd-button-secondary {
    background: rgba(13,29,41,.58) !important;
    border-color: rgba(238,204,106,.88) !important;
    color: #fff8ed !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.34);
    backdrop-filter: blur(7px);
}
.acd-prayers-hero-actions .acd-button-secondary svg,
.acd-prayers-hero-actions .acd-button-primary svg { color: currentColor; }
@media (hover:hover) {
    .acd-prayers-hero-actions .acd-button-primary:hover {
        background: linear-gradient(180deg,#971a34,#761024) !important;
        border-color: #ddb85a !important;
        transform: translateY(-1px);
    }
    .acd-prayers-hero-actions .acd-button-secondary:hover {
        background: rgba(17,39,54,.82) !important;
        border-color: #f0cf72 !important;
        color: #ffffff !important;
        transform: translateY(-1px);
    }
}

/* O CTA principal do destaque passa a parecer ação, não apenas um link vinho. */
.acd-prayer-featured-copy .acd-internal-read-link {
    margin-top: 24px;
    padding: 11px 16px;
    border: 1px solid #7b1025;
    border-radius: 999px;
    background: #7b1025;
    color: #ffffff !important;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(107,13,30,.14);
}
.acd-prayer-featured-copy .acd-internal-read-link svg { color: currentColor; }
@media (hover:hover) {
    .acd-prayer-featured-copy .acd-internal-read-link:hover {
        background: #8b142b;
        border-color: #b98d35;
        color: #ffffff !important;
        transform: translateY(-1px);
    }
}

/* Contraste mais confortável nas áreas de leitura/seleção. */
.acd-prayers-page .acd-category-section-label { color: #a06c12; }
.acd-prayers-page .acd-internal-meta { color: #6f5b50; }
.acd-prayer-intention-card small { color: #66564d; }
.acd-prayer-intention-card:focus-visible,
.acd-prayers-hero-actions .acd-button:focus-visible,
.acd-prayer-featured-copy .acd-internal-read-link:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 3px;
}

html[data-theme="dark"] .acd-prayers-page .acd-category-section-label { color: #f1ce70; }
html[data-theme="dark"] .acd-prayers-page .acd-internal-meta { color: #d8cbbc; }
html[data-theme="dark"] .acd-prayer-intention-card small { color: #d2c6b8; }
html[data-theme="dark"] .acd-prayer-intention-card {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 10px 28px rgba(0,0,0,.09);
}
html[data-theme="dark"] .acd-prayer-featured-copy .acd-internal-read-link {
    background: #8b142b;
    border-color: #c59a39;
    color: #ffffff !important;
    box-shadow: 0 9px 23px rgba(0,0,0,.18);
}
html[data-theme="dark"] .acd-prayer-featured-copy .acd-internal-read-link:hover {
    background: #9a1934;
    border-color: #e0bd5e;
    color: #ffffff !important;
}

@media (max-width:560px) {
    .acd-prayer-featured-copy .acd-internal-read-link {
        min-height: 46px;
        justify-content: center;
        padding-inline: 18px;
    }
}


/* =========================================================
   DEV27 — HOVER DE TÍTULOS / ORAÇÕES (MVP v0.6.2)
   Reforça a resposta visual dos títulos clicáveis no claro e no escuro.
   ========================================================= */
.acd-prayers-page .acd-prayer-featured-copy h2 a,
.acd-prayers-page .acd-category-card-copy h3 a,
.acd-prayers-page .acd-prayer-intention-card strong {
    transition: color .18s ease, text-decoration-color .18s ease, text-shadow .18s ease;
    text-decoration-line: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: .16em;
}

@media (hover:hover) {
    /* Claro: vinho evidente + sublinhado dourado. */
    html:not([data-theme="dark"]) .acd-prayers-page .acd-prayer-featured-copy h2 a:hover,
    html:not([data-theme="dark"]) .acd-prayers-page .acd-category-card-copy h3 a:hover,
    html:not([data-theme="dark"]) .acd-prayers-page .acd-category-post-card:hover .acd-category-card-copy h3 a {
        color: #6b0d1e !important;
        text-decoration-color: #d4af37;
    }
    html:not([data-theme="dark"]) .acd-prayers-page .acd-prayer-intention-card:hover strong {
        color: #6b0d1e !important;
        text-decoration-color: #d4af37;
    }

    /* Escuro: dourado claro, bem mais legível que o vinho sobre azul. */
    html[data-theme="dark"] .acd-prayers-page .acd-prayer-featured-copy h2 a:hover,
    html[data-theme="dark"] .acd-prayers-page .acd-category-card-copy h3 a:hover,
    html[data-theme="dark"] .acd-prayers-page .acd-category-post-card:hover .acd-category-card-copy h3 a,
    html[data-theme="dark"] .acd-prayers-page .acd-prayer-intention-card:hover strong {
        color: #f4d77f !important;
        text-decoration-color: #d4af37;
        text-shadow: 0 0 14px rgba(212,175,55,.10);
    }
}

/* Teclado recebe a mesma pista visual do mouse. */
.acd-prayers-page .acd-prayer-featured-copy h2 a:focus-visible,
.acd-prayers-page .acd-category-card-copy h3 a:focus-visible,
.acd-prayers-page .acd-prayer-intention-card:focus-visible strong {
    color: #6b0d1e !important;
    text-decoration-color: #d4af37;
}
html[data-theme="dark"] .acd-prayers-page .acd-prayer-featured-copy h2 a:focus-visible,
html[data-theme="dark"] .acd-prayers-page .acd-category-card-copy h3 a:focus-visible,
html[data-theme="dark"] .acd-prayers-page .acd-prayer-intention-card:focus-visible strong {
    color: #f4d77f !important;
}

/* =========================================================
   DEV28 — PALAVRA DE DEUS / LITURGIA (MVP v0.7.0)
   Estrutura funcional; refinamento visual global fica para v0.9.
   ========================================================= */
.acd-scripture-page { --acd-scripture-navy:#102130; overflow-x:clip; }
.acd-scripture-hero { position:relative; overflow:hidden; color:#fff8ed; background:radial-gradient(circle at 78% 18%,rgba(212,175,55,.18),transparent 25%),linear-gradient(120deg,#0f202e 0%,#142b3a 58%,#2a231c 100%); border-bottom:3px solid rgba(212,175,55,.68); }
.acd-scripture-hero::before { content:""; position:absolute; inset:0; opacity:.12; background:linear-gradient(90deg,transparent 49.8%,rgba(255,255,255,.12) 50%,transparent 50.2%); background-size:82px 100%; pointer-events:none; }
.acd-scripture-hero-art { position:absolute; right:-80px; top:-120px; width:560px; height:560px; border-radius:50%; border:1px solid rgba(212,175,55,.2); box-shadow:0 0 0 60px rgba(212,175,55,.035),0 0 0 120px rgba(212,175,55,.025); }
.acd-scripture-hero-inner { min-height:390px; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(330px,.65fr); align-items:center; gap:clamp(42px,6vw,90px); position:relative; z-index:1; }
.acd-scripture-hero-copy { padding:62px 0; max-width:780px; }
.acd-scripture-hero-copy .acd-category-kicker { color:#f0c95d; }
.acd-scripture-hero-copy h1 { margin:12px 0 16px; color:#fff8ed; font:600 clamp(58px,6vw,86px)/.95 var(--acd-font-serif); }
.acd-scripture-hero-copy > p { max-width:720px; margin:0; color:#eee2d2; font-size:clamp(19px,1.6vw,23px); line-height:1.55; }
.acd-scripture-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.acd-scripture-hero-actions .acd-button-secondary { color:#fff8ed !important; border-color:rgba(212,175,55,.72) !important; background:rgba(255,255,255,.035) !important; }
.acd-scripture-day-card { padding:28px 30px; border:1px solid rgba(212,175,55,.34); border-radius:20px; background:rgba(8,20,29,.54); box-shadow:0 20px 50px rgba(0,0,0,.16); backdrop-filter:blur(8px); }
.acd-scripture-day-card > span { display:block; margin-bottom:9px; color:#e8c45d; font-weight:800; letter-spacing:.12em; font-size:13px; }
.acd-scripture-day-card > strong { display:block; color:#fff8ed; font:600 30px/1.1 var(--acd-font-serif); }
.acd-scripture-color { display:flex; align-items:center; gap:8px; margin-top:18px; color:#e9ddce; font-size:15px; }
.acd-scripture-color i,.acd-scripture-color-pill i { width:14px; height:14px; flex:0 0 14px; border-radius:50%; background:var(--acd-liturgical-today); border:1px solid rgba(255,255,255,.55); box-shadow:0 0 0 3px rgba(212,175,55,.08); }

.acd-scripture-today-section { padding:28px 0 50px; background:var(--acd-cream); }
.acd-scripture-heading { align-items:end; }
.acd-scripture-color-pill { display:inline-flex; align-items:center; gap:9px; padding:9px 13px; border:1px solid var(--acd-line); border-radius:999px; color:var(--acd-ink); background:var(--acd-card); font-weight:700; }
.acd-scripture-reading-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:20px; }
.acd-scripture-reading-card { padding:26px; border:1px solid var(--acd-line); border-radius:20px; background:var(--acd-card); box-shadow:0 12px 34px rgba(76,48,27,.06); }
.acd-scripture-reading-card.is-gospel { border-color:color-mix(in srgb,var(--acd-gold) 55%,var(--acd-line)); box-shadow:inset 4px 0 0 var(--acd-gold),0 12px 34px rgba(76,48,27,.06); }
.acd-scripture-reading-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:15px; border-bottom:1px solid var(--acd-line); }
.acd-scripture-reading-head span { color:var(--acd-wine); font-size:12px; font-weight:800; letter-spacing:.1em; }
.acd-scripture-reading-head strong { color:var(--acd-gold-deep); font-size:16px; }
.acd-scripture-reading-title { margin:17px 0 0; color:var(--acd-muted); font-size:16px; font-weight:600; }
.acd-scripture-reading-card blockquote { margin:18px 0 2px; padding:16px 18px; border-left:3px solid var(--acd-gold); background:color-mix(in srgb,var(--acd-gold) 8%,var(--acd-card)); color:var(--acd-ink); font:600 22px/1.35 var(--acd-font-serif); }
.acd-scripture-reading-details { margin-top:18px; }
.acd-scripture-reading-details summary { display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; color:var(--acd-wine); font-weight:800; list-style:none; }
.acd-scripture-reading-details summary::-webkit-details-marker { display:none; }
.acd-scripture-reading-details summary span { width:28px; height:28px; display:grid; place-items:center; border:1px solid var(--acd-line); border-radius:50%; color:var(--acd-gold-deep); transition:transform .2s ease; }
.acd-scripture-reading-details[open] summary span { transform:rotate(45deg); }
.acd-scripture-reading-text { margin-top:18px; padding-top:18px; border-top:1px solid var(--acd-line); color:var(--acd-ink); font-size:18px; line-height:1.72; }
.acd-scripture-alternative-note { display:block; margin-top:14px; color:var(--acd-muted); }
.acd-scripture-empty > span { width:64px; height:64px; display:grid; place-items:center; margin:0 auto 14px; border-radius:50%; color:var(--acd-gold-deep); background:color-mix(in srgb,var(--acd-gold) 12%,var(--acd-card)); }

.acd-scripture-word-section { padding:8px 0 46px; background:var(--acd-cream); }
.acd-scripture-word-card { max-width:980px; margin:0 auto; padding:34px 44px; text-align:center; border:1px solid color-mix(in srgb,var(--acd-gold) 45%,var(--acd-line)); border-radius:22px; background:linear-gradient(145deg,var(--acd-card),color-mix(in srgb,var(--acd-gold) 5%,var(--acd-card))); box-shadow:0 16px 45px rgba(76,48,27,.06); }
.acd-scripture-word-card blockquote { margin:10px auto 8px; max-width:790px; color:var(--acd-ink); font:600 clamp(30px,3vw,43px)/1.18 var(--acd-font-serif); }
.acd-scripture-word-card > strong { display:block; color:var(--acd-gold-deep); }
.acd-scripture-word-card > a { display:inline-flex; gap:7px; align-items:center; margin-top:16px; color:var(--acd-wine); font-weight:800; }
.acd-scripture-editorial-section { padding-top:46px; }
.acd-scripture-card-fallback { width:100%; height:100%; min-height:220px; display:grid; place-items:center; color:var(--acd-gold-deep); background:radial-gradient(circle at 50% 40%,rgba(212,175,55,.15),transparent 25%),linear-gradient(145deg,#efe2d2,#fff9ef); }
.acd-scripture-card-fallback svg { width:50px; height:50px; }

html[data-theme="dark"] .acd-scripture-today-section,
html[data-theme="dark"] .acd-scripture-word-section { background:#101a24; }
html[data-theme="dark"] .acd-scripture-reading-card,
html[data-theme="dark"] .acd-scripture-color-pill,
html[data-theme="dark"] .acd-scripture-word-card { background:#172735; border-color:#354958; }
html[data-theme="dark"] .acd-scripture-reading-card.is-gospel { border-color:#6f6338; }
html[data-theme="dark"] .acd-scripture-reading-head span,
html[data-theme="dark"] .acd-scripture-reading-details summary { color:#f1ce70; }
html[data-theme="dark"] .acd-scripture-reading-head strong,
html[data-theme="dark"] .acd-scripture-word-card > strong { color:#e9c968; }
html[data-theme="dark"] .acd-scripture-reading-title,
html[data-theme="dark"] .acd-scripture-alternative-note { color:#cfc1b4; }
html[data-theme="dark"] .acd-scripture-reading-card blockquote,
html[data-theme="dark"] .acd-scripture-reading-text,
html[data-theme="dark"] .acd-scripture-word-card blockquote,
html[data-theme="dark"] .acd-scripture-color-pill { color:#fff6e8; }
html[data-theme="dark"] .acd-scripture-reading-card blockquote { background:#1d3140; }
html[data-theme="dark"] .acd-scripture-word-card > a { color:#f0cd71; }
html[data-theme="dark"] .acd-scripture-card-fallback { background:radial-gradient(circle at 50% 40%,rgba(212,175,55,.1),transparent 25%),#182b39; }

@media (max-width:960px) {
    .acd-scripture-hero-inner { grid-template-columns:1fr; gap:0; padding-bottom:42px; }
    .acd-scripture-hero-copy { padding-bottom:30px; }
    .acd-scripture-day-card { max-width:640px; }
}
@media (max-width:760px) {
    .acd-scripture-reading-grid { grid-template-columns:1fr; }
    .acd-scripture-hero-copy h1 { font-size:58px; }
    .acd-scripture-reading-card { padding:22px; }
}
@media (max-width:540px) {
    .acd-scripture-hero-copy { padding-top:48px; }
    .acd-scripture-hero-actions { flex-direction:column; align-items:stretch; }
    .acd-scripture-hero-actions .acd-button { width:100%; justify-content:center; }
    .acd-scripture-day-card { padding:22px; }
    .acd-scripture-day-card > strong { font-size:26px; }
    .acd-scripture-reading-head { align-items:flex-start; flex-direction:column; gap:5px; }
    .acd-scripture-reading-text { font-size:17px; }
    .acd-scripture-word-card { padding:28px 22px; }
}

/* dev29 / MVP v0.7.1 — Palavra de Deus: grade sem buracos + cor litúrgica */
.acd-scripture-reading-grid.has-1-cols{grid-template-columns:1fr}
.acd-scripture-reading-grid.has-2-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
.acd-scripture-reading-grid.has-3-cols{grid-template-columns:repeat(3,minmax(0,1fr))}
.acd-scripture-gospel-row{display:grid;grid-template-columns:1fr;margin-top:18px}
.acd-scripture-gospel-row .acd-scripture-reading-card{width:100%}
.acd-scripture-color-feature{text-decoration:none!important;transition:border-color .18s ease,background .18s ease,transform .18s ease}
a.acd-scripture-color-feature:hover{transform:translateY(-1px);color:#fff8ed;border-color:rgba(212,175,55,.48)}
.acd-scripture-color-feature>span:last-child{display:grid;gap:2px}.acd-scripture-color-feature b{font-size:12px;letter-spacing:.04em}.acd-scripture-color-feature em{color:#fff8ed;font-style:normal;font-weight:800;font-size:17px}
.acd-scripture-vestment-mini{width:42px;height:48px;display:grid;place-items:center;flex:0 0 42px;border-radius:10px;overflow:hidden;background:rgba(255,248,237,.09);border:1px solid rgba(212,175,55,.28)}
.acd-scripture-vestment-mini img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.08)}
.acd-scripture-color-pill img{width:24px;height:28px;object-fit:cover;border-radius:6px;border:1px solid color-mix(in srgb,var(--acd-gold) 40%,var(--acd-line));box-shadow:0 2px 8px rgba(0,0,0,.08)}
@media(max-width:1180px){.acd-scripture-reading-grid.has-3-cols{grid-template-columns:1fr}.acd-scripture-reading-grid.has-2-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.acd-scripture-reading-grid.has-2-cols,.acd-scripture-reading-grid.has-3-cols{grid-template-columns:1fr}.acd-scripture-gospel-row{margin-top:14px}}
/* dev29 refinement: mini-casula vetorial, leve e legível em tamanhos pequenos */
.acd-scripture-vestment-mini{overflow:visible;background:rgba(255,248,237,.06)}
.acd-scripture-vestment-mini svg{width:27px;height:34px;display:block;filter:drop-shadow(0 3px 5px rgba(0,0,0,.16))}
.acd-scripture-vestment-body{fill:var(--acd-liturgical-today);stroke:rgba(255,248,237,.72);stroke-width:.7}
.acd-scripture-vestment-neck{fill:none;stroke:#e7c65f;stroke-width:1.5;stroke-linecap:round}
.acd-scripture-vestment-gold{fill:none;stroke:#e7c65f;stroke-width:1.6;stroke-linecap:round}
.acd-scripture-pill-vestment{width:22px;height:26px;display:grid;place-items:center}.acd-scripture-pill-vestment svg{width:18px;height:23px;display:block}.acd-scripture-pill-vestment .acd-scripture-vestment-body{stroke:var(--acd-gold-deep);stroke-width:.75}.acd-scripture-pill-vestment .acd-scripture-vestment-gold{stroke:var(--acd-gold-deep);stroke-width:1.7}
