/* Abrigo com Deus — Cores Litúrgicas v0.8.8 */
.acd-liturgical-colors-page{background:var(--acd-cream,#fbf3e7);color:var(--acd-ink,#17283a);}
.acd-liturgical-colors-page main{overflow:hidden;}
.acd-litcolors-hero{position:relative;isolation:isolate;width:min(calc(100% - 44px),1600px);min-height:clamp(330px,31vw,430px);margin:18px auto 0;border:1px solid rgba(183,138,47,.22);border-radius:28px;overflow:hidden;background-image:linear-gradient(90deg,rgba(13,16,16,.94) 0%,rgba(17,18,17,.84) 29%,rgba(18,18,17,.40) 48%,rgba(16,15,13,.08) 72%),var(--acd-litcolors-hero-image);background-size:cover;background-position:center center;box-shadow:0 18px 46px rgba(66,43,24,.12);}
.acd-litcolors-hero::after{content:"";position:absolute;inset:auto auto -82px -58px;width:220px;height:220px;opacity:.72;pointer-events:none;background:radial-gradient(circle at 50% 100%,transparent 0 50%,rgba(218,175,70,.13) 51% 52%,transparent 53%),linear-gradient(62deg,transparent 48%,rgba(220,177,73,.68) 49% 50%,transparent 51%);transform:rotate(-12deg);}
.acd-litcolors-hero-inner{position:relative;z-index:2;min-height:inherit;display:flex;align-items:center;}
.acd-litcolors-hero-copy{width:min(570px,46vw);padding:52px 0 58px 56px;color:#fff8ed;text-shadow:0 1px 15px rgba(0,0,0,.18);}
.acd-litcolors-breadcrumb{display:flex;align-items:center;gap:9px;margin-bottom:22px;font:700 13px/1.2 var(--acd-font-sans,"Source Sans 3",sans-serif);letter-spacing:.02em;color:#fff7e8;}
.acd-litcolors-breadcrumb a{color:#d8ad42;text-decoration:none;}
.acd-litcolors-breadcrumb a:hover{text-decoration:underline;}
.acd-litcolors-hero h1{margin:0;font-family:var(--acd-font-serif,"Cormorant Garamond",Georgia,serif);font-size:clamp(52px,5.3vw,78px);font-weight:650;line-height:.98;letter-spacing:-.025em;color:#fff9ef;}
.acd-litcolors-ornament{display:flex;align-items:center;gap:10px;width:260px;margin:20px 0 18px;color:#d8ad42;}
.acd-litcolors-ornament span{height:1px;flex:1;background:linear-gradient(90deg,#d8ad42,rgba(216,173,66,.22));}.acd-litcolors-ornament span:last-child{background:linear-gradient(90deg,rgba(216,173,66,.22),#d8ad42)}
.acd-litcolors-ornament i{font-style:normal;font-size:12px;}
.acd-litcolors-hero p{max-width:530px;margin:0;color:#fff7ea;font-size:18px;line-height:1.55;}

.acd-litcolors-today{position:relative;z-index:4;margin-top:-52px;padding:0 0 48px;}
.acd-litcolors-today-strip{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,390px);align-items:center;gap:28px;max-width:1320px;margin:0 auto;padding:24px 28px 24px 34px;border:1px solid #e4d1b8;border-radius:23px;background:rgba(255,253,248,.97);box-shadow:0 16px 34px rgba(73,48,27,.10);backdrop-filter:blur(8px);}
.acd-litcolors-today-main{min-width:0;}
.acd-litcolors-today-date,.acd-litcolors-section-kicker,.acd-litcolor-ref{font-family:var(--acd-font-sans,"Source Sans 3",sans-serif);font-size:12px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;}
.acd-litcolors-today-date{display:inline-flex;padding:8px 12px;border-radius:999px;background:#f8ecec;color:#7a1024;}
.acd-litcolors-today-main h2{margin:13px 0 0;font-family:var(--acd-font-serif,"Cormorant Garamond",Georgia,serif);font-size:clamp(30px,3.2vw,44px);font-weight:650;line-height:1.05;color:#17283a;}
.acd-litcolors-today-color{position:relative;z-index:2;display:grid;grid-template-columns:62px 1fr;align-items:center;gap:14px;min-height:90px;padding:10px 18px;border:1px solid color-mix(in srgb,var(--acd-lit-today,#d4af37) 45%,#dec8a6);border-radius:17px;background:#fffaf1;}
.acd-litcolors-today-color img{width:54px;height:72px;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(57,39,24,.12));}
.acd-litcolors-today-color small{display:block;margin-bottom:3px;color:#76665c;font:700 13px/1.25 var(--acd-font-sans,"Source Sans 3",sans-serif);}
.acd-litcolors-today-color strong{display:block;color:#17283a;font:800 22px/1.1 var(--acd-font-sans,"Source Sans 3",sans-serif);}
.acd-litcolors-branch{position:absolute;right:13px;bottom:-28px;width:130px;height:110px;opacity:.22;pointer-events:none;transform:rotate(-14deg);background:linear-gradient(68deg,transparent 47%,#c99c38 48% 49%,transparent 50%);}
.acd-litcolors-branch::before,.acd-litcolors-branch::after{content:"";position:absolute;width:62px;height:34px;border:1.5px solid #c99c38;border-color:#c99c38 transparent transparent transparent;border-radius:50%;transform:rotate(-28deg);}.acd-litcolors-branch::before{left:43px;top:25px}.acd-litcolors-branch::after{left:69px;top:54px;transform:rotate(20deg)}

.acd-litcolors-article-section{padding:68px 0;}
.acd-litcolors-reading-width{max-width:940px;}
.acd-litcolors-section-kicker{display:inline-flex;align-items:center;color:#a66d16;}
.acd-litcolors-article-section h2,.acd-litcolors-heading h2,.acd-litcolors-next h2{margin:7px 0 20px;font-family:var(--acd-font-serif,"Cormorant Garamond",Georgia,serif);font-size:clamp(40px,4vw,56px);font-weight:650;line-height:1;color:#17283a;}
.acd-litcolors-intro{padding-top:24px;}
.acd-litcolors-intro p{margin:0 0 18px;color:#69594f;font-size:18px;line-height:1.72;}
.acd-litcolors-intro sup{margin-left:3px}.acd-litcolors-intro sup a,.acd-litcolors-gold-note sup a{color:#7a1024;font-weight:800;text-decoration:none;}

.acd-litcolors-grid-section{padding:52px 0 70px;}
.acd-litcolors-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid #e6d2b7;}
.acd-litcolors-heading h2{margin-bottom:0;}.acd-litcolors-heading p{max-width:560px;margin:0;color:#75645a;line-height:1.55;}
.acd-litcolors-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;}
.acd-litcolor-card{position:relative;overflow:hidden;display:grid;grid-template-columns:104px 1fr;gap:15px;align-items:center;min-height:190px;padding:18px 20px 18px 16px;border:1px solid #e6d3bb;border-radius:19px;background:#fffdf9;box-shadow:0 10px 27px rgba(70,46,26,.055);grid-column:span 3;}
.acd-litcolor-card:nth-child(5){grid-column:2/span 3}.acd-litcolor-card:nth-child(6){grid-column:5/span 3}.acd-litcolor-card:nth-child(7){grid-column:8/span 3}
.acd-litcolor-card::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--acd-lit-color,#d4af37);}
.acd-litcolor-card-visual{display:grid;place-items:center;align-self:stretch;min-height:145px;border-radius:14px;background:linear-gradient(145deg,#fffaf0,#f8efe0);}
.acd-litcolor-card img{width:88px;height:132px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,0,0,.10));transition:transform .25s ease;}.acd-litcolor-card:hover img{transform:translateY(-3px) scale(1.025)}
.acd-litcolor-ref{color:#a17525;font-size:10px;letter-spacing:.065em;}
.acd-litcolor-card h3{margin:4px 0 4px;font-family:var(--acd-font-serif,"Cormorant Garamond",Georgia,serif);font-size:31px;line-height:1;color:#17283a;}
.acd-litcolor-summary{margin:0 0 7px!important;color:#7a1024!important;font-weight:750;}
.acd-litcolor-card p{margin:0;color:#6c5c52;font-size:14px;line-height:1.48;}
.acd-litcolors-gold-note{margin-top:24px;padding:22px 25px;border:1px solid #e0c68d;border-radius:17px;background:#fff7e7;color:#65564d;line-height:1.58;}.acd-litcolors-gold-note strong{display:block;margin-bottom:5px;color:#7a1024;font-size:17px}.acd-litcolors-gold-note p{margin:0;}

.acd-litcolors-usage{background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(248,235,215,.42));border-top:1px solid #ead8c2;border-bottom:1px solid #ead8c2;}
.acd-litcolors-use-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.acd-litcolors-use-card{display:grid;grid-template-columns:16px 1fr;gap:14px;padding:22px 23px;border:1px solid #e5d2ba;border-radius:18px;background:#fffdf9;box-shadow:0 8px 22px rgba(68,45,27,.04);}
.acd-litcolors-use-dot{width:12px;height:12px;margin-top:9px;border-radius:50%;background:var(--acd-lit-color);box-shadow:0 0 0 4px color-mix(in srgb,var(--acd-lit-color) 13%,transparent);}
.acd-litcolors-use-card h3{margin:0 0 7px;font-family:var(--acd-font-serif,"Cormorant Garamond",Georgia,serif);font-size:29px;color:#17283a;}
.acd-litcolors-use-card p{margin:0 0 8px;color:#69594f;line-height:1.55;}.acd-litcolors-use-card p:last-child{margin-bottom:0}.acd-litcolors-use-card strong{color:#7a1024;}

.acd-litcolors-year-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;}
.acd-litcolors-year-track>div{position:relative;min-height:150px;padding:44px 17px 18px;border:1px solid #e5d2ba;border-radius:17px;background:#fffdf9;box-shadow:0 8px 21px rgba(68,45,27,.04);}
.acd-litcolors-year-track>div>span{position:absolute;left:17px;top:18px;width:58px;height:10px;border-radius:999px;background:var(--acd-season);border:1px solid rgba(86,64,43,.15);}
.acd-litcolors-year-track strong{display:block;margin-bottom:7px;font:700 23px/1.05 var(--acd-font-serif,"Cormorant Garamond",Georgia,serif);color:#17283a;}.acd-litcolors-year-track small{color:#74645a;line-height:1.45;}

.acd-litcolors-observe{background:#fff9ef;}
.acd-litcolors-observe-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:42px;align-items:center;}
.acd-litcolors-observe-grid>div>p{color:#69594f;font-size:17px;line-height:1.68;}
.acd-litcolors-observe-callout{position:relative;overflow:hidden;padding:30px;border:1px solid #dec69c;border-radius:23px;background:linear-gradient(145deg,#fffdf7,#f5ead6);box-shadow:0 14px 34px rgba(77,49,25,.07);}.acd-litcolors-observe-callout>span{display:inline-grid;place-items:center;width:39px;height:39px;margin-bottom:15px;border-radius:50%;background:#7a1024;color:#fff2cf}.acd-litcolors-observe-callout strong{display:block;margin-bottom:9px;font:700 28px/1.05 var(--acd-font-serif,"Cormorant Garamond",Georgia,serif);color:#17283a}.acd-litcolors-observe-callout p{margin:0;color:#6d5d52;line-height:1.58;}

.acd-litcolors-faq{border-top:1px solid #ead8c2;}
.acd-litcolors-faq-list{margin-top:26px;display:grid;gap:10px;}
.acd-litcolors-faq details{border:1px solid #e5d2ba;border-radius:15px;background:#fffdf9;box-shadow:0 5px 14px rgba(66,44,25,.035);}.acd-litcolors-faq summary{cursor:pointer;list-style:none;padding:18px 22px;font-weight:800;color:#24374a;}.acd-litcolors-faq summary::-webkit-details-marker{display:none}.acd-litcolors-faq summary::after{content:"+";float:right;color:#a66d16;font-size:22px;line-height:1}.acd-litcolors-faq details[open] summary::after{content:"–"}.acd-litcolors-faq details p{margin:0;padding:0 22px 19px;color:#6a5a50;line-height:1.6;}

.acd-litcolors-sources{padding-top:48px;}
.acd-litcolors-sources-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;padding:34px 36px;border:1px solid #dcc18e;border-radius:24px;background:linear-gradient(145deg,#fff9e9,#fffdf9);box-shadow:0 13px 32px rgba(73,47,25,.06);}
.acd-litcolors-sources-card h2{font-size:42px;margin-bottom:12px}.acd-litcolors-sources-card p{margin:0;color:#6a5a50;line-height:1.6}.acd-litcolors-sources-card ol{margin:0;padding-left:23px;display:grid;gap:14px}.acd-litcolors-sources-card li{color:#a66d16}.acd-litcolors-sources-card a{display:block;padding:15px 17px;border:1px solid #e7d5b8;border-radius:14px;background:rgba(255,255,255,.65);text-decoration:none;color:#17283a}.acd-litcolors-sources-card a:hover{border-color:#cda746;box-shadow:0 7px 18px rgba(72,47,26,.06)}.acd-litcolors-sources-card a strong,.acd-litcolors-sources-card a span{display:block}.acd-litcolors-sources-card a span{margin-top:4px;color:#76665b;font-size:14px;line-height:1.45;}

.acd-litcolors-next{padding-bottom:86px;text-align:center}.acd-litcolors-next-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:25px}.acd-litcolors-next-grid a{display:grid;grid-template-columns:auto 1fr;text-align:left;column-gap:12px;row-gap:2px;align-items:center;padding:19px 20px;border:1px solid #e3cfb1;border-radius:17px;background:#fffdf9;color:#17283a;text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.acd-litcolors-next-grid a:hover{transform:translateY(-2px);border-color:#cda746;box-shadow:0 10px 24px rgba(72,47,26,.07)}.acd-litcolors-next-grid a>span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff4da;color:#9a6719}.acd-litcolors-next-grid svg{width:20px;height:20px}.acd-litcolors-next-grid strong{font-size:16px}.acd-litcolors-next-grid small{color:#77675c;}

html[data-theme="dark"] .acd-liturgical-colors-page{background:#101a24;color:#fff7ea;}
html[data-theme="dark"] .acd-litcolors-hero{border-color:#364956;box-shadow:0 20px 50px rgba(0,0,0,.24);}
html[data-theme="dark"] .acd-litcolors-today-strip,html[data-theme="dark"] .acd-litcolor-card,html[data-theme="dark"] .acd-litcolors-use-card,html[data-theme="dark"] .acd-litcolors-year-track>div,html[data-theme="dark"] .acd-litcolors-faq details,html[data-theme="dark"] .acd-litcolors-next-grid a{background:#172735;border-color:#40515d;box-shadow:0 10px 28px rgba(0,0,0,.12);}
html[data-theme="dark"] .acd-litcolors-today-main h2,html[data-theme="dark"] .acd-litcolors-today-color strong,html[data-theme="dark"] .acd-litcolors-article-section h2,html[data-theme="dark"] .acd-litcolors-heading h2,html[data-theme="dark"] .acd-litcolor-card h3,html[data-theme="dark"] .acd-litcolors-use-card h3,html[data-theme="dark"] .acd-litcolors-year-track strong,html[data-theme="dark"] .acd-litcolors-observe-callout strong,html[data-theme="dark"] .acd-litcolors-faq summary,html[data-theme="dark"] .acd-litcolors-sources-card a,html[data-theme="dark"] .acd-litcolors-next-grid a{color:#fff7ea;}
html[data-theme="dark"] .acd-litcolors-today-color{background:#1d303d;border-color:#52606a;}html[data-theme="dark"] .acd-litcolors-today-color small,html[data-theme="dark"] .acd-litcolors-heading p,html[data-theme="dark"] .acd-litcolor-card p,html[data-theme="dark"] .acd-litcolors-use-card p,html[data-theme="dark"] .acd-litcolors-year-track small,html[data-theme="dark"] .acd-litcolors-faq details p,html[data-theme="dark"] .acd-litcolors-next-grid small,html[data-theme="dark"] .acd-litcolors-intro p,html[data-theme="dark"] .acd-litcolors-observe-grid>div>p{color:#d8cbc0;}
html[data-theme="dark"] .acd-litcolor-card-visual{background:linear-gradient(145deg,#203341,#142631);}
html[data-theme="dark"] .acd-litcolors-usage{background:linear-gradient(180deg,#101a24,#142431);border-color:#354653}html[data-theme="dark"] .acd-litcolors-observe{background:#12202b}html[data-theme="dark"] .acd-litcolors-observe-callout{background:linear-gradient(145deg,#1c303d,#152630);border-color:#5a503d}html[data-theme="dark"] .acd-litcolors-observe-callout p{color:#d9ccc1}
html[data-theme="dark"] .acd-litcolors-gold-note{background:#1a2b37;border-color:#625638;color:#d8cbc0}html[data-theme="dark"] .acd-litcolors-sources-card{background:linear-gradient(145deg,#172b38,#12232f);border-color:#64583d}html[data-theme="dark"] .acd-litcolors-sources-card p,html[data-theme="dark"] .acd-litcolors-sources-card a span{color:#d7cabf}html[data-theme="dark"] .acd-litcolors-sources-card a{background:#1a2d39;border-color:#40515c}
html[data-theme="dark"] .acd-litcolors-heading{border-color:#344653}html[data-theme="dark"] .acd-litcolors-today-date{background:#3a202a;color:#ffd8df}

@media(max-width:1180px){.acd-litcolor-card{grid-column:span 6}.acd-litcolor-card:nth-child(5),.acd-litcolor-card:nth-child(6),.acd-litcolor-card:nth-child(7){grid-column:span 6}.acd-litcolors-year-track{grid-template-columns:repeat(3,minmax(0,1fr))}.acd-litcolors-next-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.acd-litcolors-hero{width:calc(100% - 28px);min-height:370px;background-position:64% center}.acd-litcolors-hero-copy{width:65%;padding-left:32px}.acd-litcolors-today-strip{grid-template-columns:1fr;max-width:calc(100% - 18px)}.acd-litcolors-today-color{max-width:420px}.acd-litcolors-use-grid{grid-template-columns:1fr}.acd-litcolors-observe-grid,.acd-litcolors-sources-card{grid-template-columns:1fr}.acd-litcolors-year-track{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.acd-litcolors-hero{width:100%;margin-top:0;border-radius:0;min-height:430px;background-position:72% center;background-image:linear-gradient(90deg,rgba(12,16,17,.95) 0%,rgba(12,16,17,.82) 62%,rgba(12,16,17,.28) 100%),var(--acd-litcolors-hero-image)}.acd-litcolors-hero-copy{width:88%;padding:44px 22px}.acd-litcolors-hero h1{font-size:50px}.acd-litcolors-hero p{font-size:16px}.acd-litcolors-today{margin-top:-28px;padding-bottom:28px}.acd-litcolors-today-strip{max-width:calc(100% - 24px);padding:20px}.acd-litcolors-today-main h2{font-size:31px}.acd-litcolors-article-section{padding:50px 0}.acd-litcolors-heading{align-items:flex-start;flex-direction:column}.acd-litcolors-grid{display:grid;grid-template-columns:1fr}.acd-litcolor-card,.acd-litcolor-card:nth-child(5),.acd-litcolor-card:nth-child(6),.acd-litcolor-card:nth-child(7){grid-column:auto}.acd-litcolors-year-track{grid-template-columns:1fr}.acd-litcolors-next-grid{grid-template-columns:1fr}.acd-litcolors-sources-card{padding:25px 20px}.acd-litcolors-reading-width{padding-left:20px;padding-right:20px}}
@media(prefers-reduced-motion:reduce){.acd-litcolor-card img,.acd-litcolors-next-grid a{transition:none!important}}

/* v0.8.8 — o sétimo bloco da explicação deixa de criar um vazio de meia tela.
   Dourado vira uma conclusão editorial horizontal e deliberadamente especial. */
.acd-litcolors-use-card:last-child{
    position:relative;
    overflow:hidden;
    grid-column:1/-1;
    padding:25px 30px;
    border-color:#dfc37d;
    background:
        radial-gradient(circle at 92% 25%,rgba(198,156,50,.11),transparent 26%),
        linear-gradient(135deg,#fffdf8,#fff7e6);
}
.acd-litcolors-use-card:last-child>div{
    display:grid;
    grid-template-columns:minmax(150px,.36fr) minmax(0,1fr) minmax(0,1fr);
    gap:24px;
    align-items:start;
}
.acd-litcolors-use-card:last-child h3{margin:0;align-self:center;font-size:34px;}
.acd-litcolors-use-card:last-child p{margin:0;}
.acd-litcolors-use-card:last-child::after{
    content:"";
    position:absolute;
    right:-16px;
    bottom:-30px;
    width:175px;
    height:125px;
    opacity:.16;
    pointer-events:none;
    background-repeat:no-repeat;
    background-size:contain;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 135'%3E%3Cg fill='none' stroke='%23c49a35' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 116C54 97 94 66 126 15M39 103C31 86 20 72 8 65M63 87C59 68 52 51 43 39M87 68C101 59 113 45 121 29M109 47C126 45 141 39 154 29M128 17c15 2 28 8 40 19'/%3E%3C/g%3E%3C/svg%3E");
}
html[data-theme="dark"] .acd-litcolors-use-card:last-child{
    background:radial-gradient(circle at 92% 25%,rgba(240,205,113,.07),transparent 26%),#172735;
    border-color:#665a38;
}
@media(max-width:900px){
    .acd-litcolors-use-card:last-child>div{grid-template-columns:1fr;gap:8px;}
    .acd-litcolors-use-card:last-child h3{margin-bottom:4px;}
}


/* =========================================================
   v0.10.8 — contraste litúrgico consolidado no modo escuro
   ---------------------------------------------------------
   Rótulos e resumos que perdiam leitura em vinho sobre navy
   passam ao dourado do portal, preservando hierarquia.
   ========================================================= */
html[data-theme="dark"] body.acd-core-audit-v0108.acd-liturgical-colors-page .acd-litcolor-summary,
html[data-theme="dark"] body.acd-core-audit-v0108.acd-liturgical-colors-page .acd-litcolors-use-card strong,
html[data-theme="dark"] body.acd-core-audit-v0108.acd-liturgical-colors-page .acd-litcolors-gold-note strong,
html[data-theme="dark"] body.acd-core-audit-v0108.acd-liturgical-colors-page .acd-litcolors-intro strong,
html[data-theme="dark"] body.acd-core-audit-v0108.acd-liturgical-colors-page .acd-litcolors-intro sup a,
html[data-theme="dark"] body.acd-core-audit-v0108.acd-liturgical-colors-page .acd-litcolors-gold-note sup a{
  color:#f1cc68!important;
}
html[data-theme="dark"] body.acd-core-audit-v0108.acd-liturgical-colors-page .acd-litcolor-ref,
html[data-theme="dark"] body.acd-core-audit-v0108.acd-liturgical-colors-page .acd-litcolors-section-kicker{
  color:#e6b94f!important;
}
