/* Abrigo com Deus — Família + Vídeos v0.10.5 */
.acd-hub-page{--hub-ink:#17283a;--hub-wine:#861126;--hub-gold:#d5a933;--hub-paper:#fffaf2;--hub-card:#fffdfa;--hub-muted:#74665f;--hub-line:#ead9c9;background:var(--hub-paper);color:var(--hub-ink);min-height:70vh}
.acd-hub-page a{text-decoration:none}
.acd-hub-hero{position:relative;min-height:470px;display:flex;align-items:center;overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat}
.acd-family-hero{background-image:linear-gradient(90deg,rgba(34,22,18,.80) 0%,rgba(48,31,23,.66) 38%,rgba(46,28,19,.19) 67%,rgba(28,18,13,.04) 100%),url('../images/categories/familia.webp')}
.acd-video-hero{background-image:linear-gradient(90deg,rgba(31,19,13,.86) 0%,rgba(45,28,18,.69) 38%,rgba(37,23,16,.20) 68%,rgba(22,14,10,.04) 100%),url('../images/categories/videos.webp')}
.acd-hub-hero::after{content:"";position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,transparent,var(--hub-gold),#f4df95,var(--hub-gold),transparent);opacity:.8}
.acd-hub-hero-inner{position:relative;z-index:2;width:100%}
.acd-hub-hero-copy{max-width:650px;padding:70px 0 78px;color:#fff9ef}
.acd-hub-kicker{display:inline-flex;align-items:center;gap:7px;color:#e8bd52;font:800 11px/1.2 var(--acd-font-sans,"Source Sans 3",sans-serif);letter-spacing:.15em;text-transform:uppercase}
.acd-hub-hero h1{margin:12px 0 15px;color:#fff9ef;font:600 clamp(64px,6vw,92px)/.94 var(--acd-font-serif,"Cormorant Garamond",Georgia,serif);letter-spacing:-.035em;text-shadow:0 5px 30px rgba(0,0,0,.25)}
.acd-hub-hero p{max-width:610px;margin:0;color:rgba(255,249,239,.94);font-size:21px;line-height:1.52;text-shadow:0 2px 15px rgba(0,0,0,.25)}
.acd-hub-hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:28px}
.acd-hub-button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 21px;border-radius:12px;font-weight:800;transition:.18s ease}
.acd-hub-button svg{width:19px;height:19px}
.acd-hub-button.is-primary{background:var(--hub-wine);border:1px solid #b04759;color:#fff}
.acd-hub-button.is-ghost{background:rgba(255,255,255,.07);border:1px solid rgba(236,199,104,.68);color:#fff9ef}
@media(hover:hover){.acd-hub-button:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(35,18,12,.18)}}

.acd-hub-intro{padding:42px 0 28px;background:linear-gradient(180deg,#fffdf8,#fff9ef)}
.acd-hub-intro-grid{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(520px,1.28fr);gap:42px;align-items:center}
.acd-hub-intro-copy{display:grid;grid-template-columns:58px 1fr;gap:18px;align-items:start}
.acd-hub-round-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:50%;background:#fff3da;color:#b77d12;border:1px solid #ecd8b3}
.acd-hub-round-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6}
.acd-hub-intro h2,.acd-hub-heading h2,.acd-hub-see-also h2{margin:7px 0 10px;color:var(--hub-ink);font:600 clamp(34px,3vw,46px)/1.02 var(--acd-font-serif,"Cormorant Garamond",Georgia,serif)}
.acd-hub-intro-copy p{margin:0;color:var(--hub-muted);font-size:17px;line-height:1.6}
.acd-hub-featured{min-height:285px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);overflow:hidden;border:1px solid var(--hub-line);border-radius:20px;background:var(--hub-card);box-shadow:0 18px 50px rgba(84,53,31,.09)}
.acd-hub-featured-image{position:relative;display:block;min-height:285px;padding:0;border:0;background:#efe1d0;overflow:hidden;cursor:pointer}
.acd-hub-featured-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.acd-hub-featured-copy{padding:30px 34px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.acd-hub-featured-copy>span,.acd-hub-post-copy>span,.acd-video-copy>span{color:#b87913;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.acd-hub-featured-copy h3{margin:8px 0 10px;font:600 clamp(30px,2.5vw,39px)/1.02 var(--acd-font-serif,"Cormorant Garamond",Georgia,serif);color:var(--hub-ink)}
.acd-hub-featured-copy h3 a{color:inherit}
.acd-hub-featured-copy p{margin:0 0 15px;color:var(--hub-muted);font-size:16px;line-height:1.52}
.acd-hub-text-link{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:var(--hub-wine);font:800 15px/1.2 var(--acd-font-sans,"Source Sans 3",sans-serif);cursor:pointer}
.acd-hub-text-link svg{width:18px;height:18px}
.acd-hub-image-fallback{width:100%;height:100%;min-height:220px;display:grid;place-items:center;background:linear-gradient(145deg,#f4e4d1,#fff9ef);color:#b88628}
.acd-hub-image-fallback svg{width:56px;height:56px}
.acd-hub-preparing{display:flex;align-items:center;min-height:270px}

.acd-hub-themes,.acd-hub-listing,.acd-hub-share,.acd-hub-see-also{padding:34px 0}
.acd-hub-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}
.acd-hub-heading h2{margin-bottom:0}
.acd-hub-clear{color:var(--hub-wine);font-weight:800}
.acd-hub-theme-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.acd-hub-theme-card{min-height:112px;display:grid;grid-template-columns:48px 1fr 20px;gap:12px;align-items:center;padding:16px;border:1px solid var(--hub-line);border-radius:16px;background:var(--hub-card);color:var(--hub-ink);box-shadow:0 8px 22px rgba(80,48,29,.05);transition:.18s ease}
.acd-hub-theme-card>span{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#fff4df;color:#b77d12}
.acd-hub-theme-card>span svg{width:24px;height:24px}
.acd-hub-theme-card>svg{width:18px;height:18px;color:#c0902e}
.acd-hub-theme-card strong{display:block;font:600 20px/1.05 var(--acd-font-serif,"Cormorant Garamond",Georgia,serif)}
.acd-hub-theme-card small{display:block;margin-top:5px;color:var(--hub-muted);font-size:12.5px;line-height:1.35}
.acd-hub-theme-card.is-active{border-color:#d9b35a;box-shadow:0 12px 30px rgba(117,75,27,.12)}
@media(hover:hover){.acd-hub-theme-card:hover{transform:translateY(-3px);border-color:#d9b35a}}

.acd-hub-listing{padding-top:28px}
.acd-hub-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.acd-hub-post-card,.acd-video-card{overflow:hidden;border:1px solid var(--hub-line);border-radius:17px;background:var(--hub-card);box-shadow:0 10px 28px rgba(83,50,29,.06)}
.acd-hub-post-image{height:190px;display:block;overflow:hidden;background:#f0e2d2}
.acd-hub-post-image img{width:100%;height:100%;object-fit:cover;display:block}
.acd-hub-post-copy,.acd-video-copy{padding:19px 20px 21px}
.acd-hub-post-copy h3,.acd-video-copy h3{margin:6px 0 8px;color:var(--hub-ink);font:600 27px/1.04 var(--acd-font-serif,"Cormorant Garamond",Georgia,serif)}
.acd-hub-post-copy h3 a{color:inherit}
.acd-hub-post-copy p,.acd-video-copy p{margin:0 0 13px;color:var(--hub-muted);line-height:1.48}
.acd-hub-empty{display:flex;gap:18px;align-items:center;padding:28px;border:1px dashed #dfc9ad;border-radius:18px;background:rgba(255,255,255,.48)}
.acd-hub-empty>span{width:62px;height:62px;flex:0 0 62px;display:grid;place-items:center;border-radius:50%;background:#fff1d3;color:#b27a18}
.acd-hub-empty>span svg{width:30px;height:30px}
.acd-hub-empty h3{margin:0 0 6px;font:600 29px/1.05 var(--acd-font-serif,"Cormorant Garamond",Georgia,serif)}
.acd-hub-empty p{margin:0;color:var(--hub-muted)}

.acd-hub-share{background:#fff7eb}
.acd-hub-share-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.acd-hub-share-grid a{overflow:hidden;border:1px solid var(--hub-line);border-radius:15px;background:var(--hub-card);color:var(--hub-ink)}
.acd-hub-share-grid img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}
.acd-hub-share-grid strong{display:block;padding:13px 14px 15px;font-family:var(--acd-font-serif,"Cormorant Garamond",Georgia,serif);font-size:22px}
.acd-hub-see-also{padding-bottom:62px}
.acd-hub-see-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.acd-hub-see-grid>a{display:grid;grid-template-columns:46px 1fr 22px;gap:13px;align-items:center;padding:17px 18px;border:1px solid var(--hub-line);border-radius:15px;background:var(--hub-card);color:var(--hub-ink)}
.acd-hub-see-grid>a>span{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fff3da;color:#b77d12}.acd-hub-see-grid svg{width:22px;height:22px}.acd-hub-see-grid>a>svg{width:18px;height:18px;color:#c0902e}.acd-hub-see-grid strong{display:block;font-size:17px}.acd-hub-see-grid small{display:block;margin-top:3px;color:var(--hub-muted)}

/* Vídeos */
.acd-video-featured .acd-hub-featured-image,.acd-video-thumb{appearance:none;text-align:left}
.acd-video-play{position:absolute;left:50%;top:50%;translate:-50% -50%;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:rgba(17,27,36,.78);border:2px solid #fff;color:#fff;box-shadow:0 9px 28px rgba(0,0,0,.25)}
.acd-video-play svg{width:25px;height:25px;stroke:#fff}
.acd-video-source{display:block;margin:2px 0 14px;color:#8b7567;font-size:12px}
.acd-video-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.acd-video-thumb{position:relative;width:100%;height:185px;padding:0;border:0;display:block;overflow:hidden;background:#20150f;cursor:pointer}
.acd-video-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.acd-video-thumb>small{position:absolute;right:9px;bottom:8px;padding:4px 7px;border-radius:7px;background:rgba(10,16,21,.78);color:#fff;font-size:11px}
.acd-video-thumb .acd-video-play{width:48px;height:48px}.acd-video-thumb .acd-video-play svg{width:21px;height:21px}
.acd-video-copy h3{font-size:25px}.acd-video-copy .acd-hub-text-link{margin-top:3px}
.acd-video-modal[hidden]{display:none!important}.acd-video-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:24px}.acd-video-backdrop{position:absolute;inset:0;background:rgba(7,13,18,.76);backdrop-filter:blur(5px)}.acd-video-dialog{position:relative;z-index:2;width:min(1040px,calc(100vw - 48px));padding:22px;border:1px solid rgba(222,187,92,.55);border-radius:22px;background:#101c26;color:#fff;box-shadow:0 28px 80px rgba(0,0,0,.35)}.acd-video-dialog h2{margin:0 54px 16px 0;color:#fff8ec;font:600 clamp(30px,3vw,42px)/1 var(--acd-font-serif,"Cormorant Garamond",Georgia,serif)}.acd-video-close{position:absolute;right:18px;top:16px;width:42px;height:42px;border:1px solid #5b7180;border-radius:50%;background:#172936;color:#fff;font-size:26px;cursor:pointer}.acd-video-frame{aspect-ratio:16/9;background:#000;border-radius:14px;overflow:hidden}.acd-video-frame iframe{width:100%;height:100%;border:0;display:block}.acd-video-youtube-link{display:inline-flex;margin-top:15px;color:#f0c85b;font-weight:800}

html[data-theme="dark"] .acd-hub-page{--hub-ink:#fff5e8;--hub-paper:#111a21;--hub-card:#182833;--hub-muted:#c9bbb0;--hub-line:#324754;background:var(--hub-paper)}
html[data-theme="dark"] .acd-hub-intro{background:linear-gradient(180deg,#111a21,#121e27)}
html[data-theme="dark"] .acd-hub-round-icon,html[data-theme="dark"] .acd-hub-theme-card>span,html[data-theme="dark"] .acd-hub-see-grid>a>span,html[data-theme="dark"] .acd-hub-empty>span{background:#243846;color:#f0c85b}
html[data-theme="dark"] .acd-hub-image-fallback{background:#1a2c37;color:#f0c85b}
html[data-theme="dark"] .acd-hub-share{background:#101a22}
html[data-theme="dark"] .acd-hub-empty{background:#15242e;border-color:#3d5461}

@media(max-width:1180px){.acd-hub-theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.acd-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.acd-hub-intro-grid{grid-template-columns:1fr;gap:28px}}
@media(max-width:820px){.acd-hub-hero{min-height:430px;background-position:64% center}.acd-hub-hero-copy{max-width:72%;padding:58px 0 62px}.acd-hub-hero h1{font-size:62px}.acd-hub-hero p{font-size:18px}.acd-hub-featured{grid-template-columns:1fr}.acd-hub-featured-image{min-height:260px;aspect-ratio:16/9}.acd-hub-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acd-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acd-hub-see-grid{grid-template-columns:1fr}.acd-hub-share-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.acd-hub-hero{min-height:500px;background-position:72% center}.acd-hub-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(19,14,11,.88),rgba(25,17,12,.62) 68%,rgba(25,17,12,.35))}.acd-hub-hero-copy{position:relative;z-index:2;max-width:100%;padding:52px 0 58px}.acd-hub-hero h1{font-size:56px}.acd-hub-hero-actions{flex-direction:column;align-items:stretch}.acd-hub-button{width:100%}.acd-hub-intro-copy{grid-template-columns:1fr}.acd-hub-round-icon{width:50px;height:50px}.acd-hub-theme-grid,.acd-hub-post-grid,.acd-video-grid,.acd-hub-share-grid{grid-template-columns:1fr}.acd-hub-theme-card{min-height:96px}.acd-hub-heading{align-items:flex-start;flex-direction:column}.acd-hub-featured-copy{padding:25px 22px}.acd-hub-empty{align-items:flex-start;padding:22px}.acd-video-dialog{width:calc(100vw - 24px);padding:14px}.acd-video-dialog h2{font-size:30px}}


/* v0.10.3 — cabeçalho e botão de retorno ao topo coerentes com o Design System. */
body.acd-family-page .acd-header-actions,
body.acd-videos-page .acd-header-actions{gap:9px}

body.acd-family-page .acd-font-controls,
body.acd-videos-page .acd-font-controls{
  height:48px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
  padding:4px!important;
  border:1px solid color-mix(in srgb,var(--acd-line) 76%,var(--acd-gold) 24%)!important;
  border-radius:999px!important;
  background:color-mix(in srgb,var(--acd-card) 96%,var(--acd-gold) 4%)!important;
  box-shadow:0 5px 16px rgba(76,44,24,.05)!important;
  overflow:hidden!important;
}
body.acd-family-page .acd-font-controls button,
body.acd-videos-page .acd-font-controls button{
  appearance:none!important;
  min-width:35px!important;
  width:auto!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 7px!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:transparent!important;
  background-color:transparent!important;
  color:var(--acd-navy)!important;
  font-family:var(--acd-font-sans,"Source Sans 3",sans-serif)!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body.acd-family-page .acd-font-controls button[data-font-increase],
body.acd-videos-page .acd-font-controls button[data-font-increase]{color:var(--acd-wine)!important}
body.acd-family-page .acd-font-controls button[aria-pressed="true"],
body.acd-videos-page .acd-font-controls button[aria-pressed="true"]{
  background:rgba(212,175,55,.20)!important;
  background-color:rgba(212,175,55,.20)!important;
  color:var(--acd-wine)!important;
  box-shadow:inset 0 0 0 1px rgba(212,175,55,.38)!important;
}
body.acd-family-page .acd-font-controls button:hover,
body.acd-videos-page .acd-font-controls button:hover{
  background:rgba(212,175,55,.12)!important;
  background-color:rgba(212,175,55,.12)!important;
}

html[data-theme='dark'] body.acd-family-page .acd-font-controls,
html[data-theme='dark'] body.acd-videos-page .acd-font-controls{background:#172837!important;border-color:#3b4f5e!important}
html[data-theme='dark'] body.acd-family-page .acd-font-controls button,
html[data-theme='dark'] body.acd-videos-page .acd-font-controls button{color:#fff7e9!important}
html[data-theme='dark'] body.acd-family-page .acd-font-controls button[aria-pressed="true"],
html[data-theme='dark'] body.acd-videos-page .acd-font-controls button[aria-pressed="true"]{color:#f2cf6b!important;background:#30424d!important}

body.acd-family-page #ast-scroll-top,
body.acd-videos-page #ast-scroll-top,
body.acd-family-page .ast-scroll-to-top-right,
body.acd-videos-page .ast-scroll-to-top-right,
body.acd-family-page .ast-scroll-to-top-left,
body.acd-videos-page .ast-scroll-to-top-left{
  background:#7d0d20!important;
  background-color:#7d0d20!important;
  color:#fff8ed!important;
  border:1px solid rgba(212,175,55,.72)!important;
  border-radius:10px!important;
  box-shadow:0 8px 20px rgba(67,15,27,.22)!important;
}
body.acd-family-page #ast-scroll-top:hover,
body.acd-videos-page #ast-scroll-top:hover,
body.acd-family-page #ast-scroll-top:focus-visible,
body.acd-videos-page #ast-scroll-top:focus-visible{
  background:#95142c!important;
  background-color:#95142c!important;
  color:#fff!important;
  outline:2px solid #d4af37!important;
  outline-offset:2px!important;
}
html[data-theme='dark'] body.acd-family-page #ast-scroll-top,
html[data-theme='dark'] body.acd-videos-page #ast-scroll-top{
  background:#8d1429!important;
  background-color:#8d1429!important;
  color:#fff8ed!important;
  border-color:#caa84e!important;
}

@media(max-width:580px){
  body.acd-family-page .acd-font-controls,
  body.acd-videos-page .acd-font-controls{display:none!important}
}


/* v0.10.4 — Família: respiro editorial do Hero.
 * Mantém o conteúdo alinhado ao eixo visual das páginas premium sem
 * alterar a arte, tipografia ou estrutura aprovada. */
.acd-family-hero .acd-hub-hero-inner{
  box-sizing:border-box;
  padding-left:clamp(38px,4.6vw,78px);
  padding-right:clamp(28px,3.2vw,56px);
}
@media(max-width:820px){
  .acd-family-hero .acd-hub-hero-inner{padding-left:clamp(26px,5vw,44px);padding-right:26px}
}
@media(max-width:620px){
  .acd-family-hero .acd-hub-hero-inner{padding-left:22px;padding-right:22px}
}
