/* Almanaque Elementor 2.0 — base independente do Soledad Child. */
body.alm-el-home .header-header-3,
body.alm-el-home .footer-section { display:none!important; }
body.alm-el-home .elementor-page-title { display:none!important; }
body.alm-el-home .elementor-widget-container { min-width:0; }
.alm-el-home .alm-el-brand-text { display:flex; flex-direction:column; text-align:center; align-items:center; gap:5px; }
.alm-el-home .alm-el-brand-text strong { font:700 clamp(23px,2.5vw,34px)/1.1 Georgia,"Times New Roman",serif; letter-spacing:-.04em; white-space:nowrap; }
.alm-el-home .alm-el-brand-text small { color:#111; font:700 9px/1.2 Arial,sans-serif; letter-spacing:.22em; }

/* Slider de manchetes: imagem de fundo, setas sempre acessíveis e CTA. */
.alm-el-home .alm-sc-hero { position:relative; width:100%; overflow:hidden; background:#161616; }
.alm-el-home .alm-sc-slide { position:absolute; inset:0; overflow:hidden; }
.alm-el-home .alm-sc-slide[hidden] { display:none!important; }
.alm-el-home .alm-sc-slide-cover,
.alm-el-home .alm-sc-slide-cover img { position:absolute; inset:0; width:100%; height:100%; }
.alm-el-home .alm-sc-slide-cover img { object-fit:cover; filter:brightness(.51); }
.alm-el-home .alm-sc-slide-overlay { position:absolute; inset:0; z-index:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:#fff; padding:28px 70px; }
.alm-el-home .alm-sc-hero-category { font:400 13px Georgia,serif; color:#fff; }
.alm-el-home .alm-sc-slide-overlay h1 { margin:12px 0 23px; font:700 clamp(23px,2.45vw,39px)/1.2 Georgia,serif; color:white; max-width:1050px; }
.alm-el-home .alm-sc-slide-overlay h1 a { color:#fff; text-decoration:none; }
.alm-el-home .alm-sc-hero-link { border:1px solid #ddd; padding:11px 19px; color:#fff; font:600 11px Arial,sans-serif; text-decoration:none; }
.alm-el-home .alm-sc-slider-prev,.alm-el-home .alm-sc-slider-next { position:absolute; z-index:3; top:50%; transform:translateY(-50%); display:grid; place-items:center; cursor:pointer; }
.alm-el-home .alm-sc-slide-counter { position:absolute; right:18px; bottom:13px; z-index:3; color:#fff; font-size:11px; }

/* Cards de editorias adicionais: os Penci Featured Cat nativos permanecem independentes. */
.alm-el-home .alm-sc-card { min-width:0; margin:0; }
.alm-el-home .alm-sc-card-image { display:block; overflow:hidden; background:#eee; }
.alm-el-home .alm-sc-card-image img { display:block; width:100%; height:auto; aspect-ratio:1.6; object-fit:cover; }
.alm-el-home .alm-sc-card h3 { margin:8px 0 3px; font:700 14px/1.34 Georgia,serif; }
.alm-el-home .alm-sc-card h3 a { color:#191919; text-decoration:none; }
.alm-el-home .alm-sc-card p { color:#565656; font:13px/1.55 Georgia,serif; margin:12px 0 0; }
.alm-el-home .alm-sc-card.compact { display:grid; grid-template-columns:94px minmax(0,1fr); gap:11px; align-items:start; }
.alm-el-home .alm-sc-card.compact h3 { margin:0; font-size:13px; }
.alm-el-home .alm-sc-stacked { display:grid; gap:12px; }
.alm-el-home .alm-sc-cards-three { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.alm-el-home .alm-sc-cards-two,.alm-el-home .alm-sc-article-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.alm-el-home .alm-sc-side-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.alm-el-home .almel2-no-image { display:block; width:100%; aspect-ratio:1.6; background:linear-gradient(135deg,#eee,#f7f7f7); }
.alm-el-home .alm-sc-admin-hint { margin:6px 0; color:#9b5a14; font-size:12px; }

/* Módulos laterais e publicidade. */
.alm-el-home .alm-sc-label { font:700 12px Arial,sans-serif; border-bottom:1px solid #222; margin:0 0 13px; }
.alm-el-home .alm-sc-label>span { display:inline-block; background:#111; color:#fff; padding:9px 11px; }
.alm-el-home .alm-sc-social-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.alm-el-home .alm-sc-social-links a { color:#191919; text-decoration:none; font:700 12px/1.3 Georgia,serif; }
.alm-el-home .alm-sc-social-links a:hover { color:#3765a2; }
.alm-el-home .alm-sc-mag-aside-cover { display:block; text-align:center; background:#f6f6f6; overflow:hidden; }
.alm-el-home .alm-sc-mag-aside-cover img { display:block; max-width:100%; max-height:385px; height:auto; margin:auto; object-fit:contain; }
.alm-el-home .alm-sc-mag-aside h3 { font:700 18px/1.25 Georgia,serif; margin:10px 0; }
.alm-el-home .alm-sc-mag-aside p { font:13px/1.5 Georgia,serif; }
.alm-el-home .alm-sc-aside-mag-tabs { display:flex; gap:8px; justify-content:center; margin-bottom:12px; }
.alm-el-home .alm-sc-aside-mag-tabs button { cursor:pointer; border:0; border-bottom:2px solid transparent; background:transparent; color:#555; font:700 10px Arial,sans-serif; padding:9px 4px; }
.alm-el-home .alm-sc-aside-mag-tabs button.is-current { border-color:#222; color:#111; }
.alm-el-home .alm-sc-ad-caption { display:block; font:700 9px/1.5 Arial,sans-serif; letter-spacing:.18em; text-align:right; color:#555; }
.alm-el-home .alm-el-ad img { display:block; width:100%; height:auto; }
.alm-el-home .alm-el-ad-empty { display:grid; place-items:center; min-height:100px; background:#f1f1f1; border:1px dashed #c5c5c5; color:#999; font:600 11px Arial,sans-serif; letter-spacing:.1em; }
.alm-el-home .alm-el-header-banner .alm-el-ad-empty { min-height:85px; }
.alm-el-home .alm-el-sidebar .alm-el-ad-empty { min-height:320px; }

/* Acervo editável do WooCommerce: capa principal fixa, miniaturas estáveis. */
.alm-el-home .alm-sc-mag-container { max-width:1160px; margin:auto; padding:0 18px; }
.alm-el-home .alm-sc-mag-tabs { display:flex; justify-content:center; gap:20px; margin:0 0 26px; }
.alm-el-home .alm-sc-mag-tabs button { background:transparent; color:#888; border:0; border-bottom:2px solid transparent; cursor:pointer; padding:10px 0; font:700 11px Arial,sans-serif; }
.alm-el-home .alm-sc-mag-tabs button.is-current { color:#191919; border-color:#191919; }
.alm-el-home .alm-sc-mag-feature { display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; }
.alm-el-home .alm-sc-mag-cover { display:grid; place-items:center; padding:14px; background:repeating-linear-gradient(-30deg,#f0dbc2 0 1px,#fff 1px 11px); max-width:800px; width:min(100%,780px); }
.alm-el-home .alm-sc-mag-cover img { display:block; width:auto; max-width:100%; height:auto; max-height:400px; object-fit:contain; box-shadow:0 8px 25px #0002; }
.alm-el-home .alm-sc-mag-details { max-width:690px; padding:0 12px; }
.alm-el-home .alm-sc-mag-details h3 { margin:12px 0 4px; font:400 clamp(24px,2.3vw,32px)/1.25 Georgia,serif; }
.alm-el-home .alm-sc-mag-details p { color:#555; margin:4px 0; font:13px/1.5 Arial,sans-serif; }
.alm-el-home .alm-sc-mag-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:13px; }
.alm-el-home .alm-sc-mag-actions button,.alm-el-home .alm-sc-mag-actions a { display:inline-block; border:0; border-radius:20px; padding:11px 20px; text-decoration:none; cursor:pointer; font:700 11px/1.2 Arial,sans-serif; }
.alm-el-home .alm-sc-mag-actions button { color:white; background:#18365c; }
.alm-el-home .alm-sc-mag-actions .alm-sc-buy { color:#181818; background:#f6b21a; }
.alm-el-home .alm-sc-mag-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; width:min(100%,820px); margin:0 auto; }
.alm-el-home .alm-sc-mag-item { display:block; background:#fff; border:1px solid #eee; text-align:center; cursor:pointer; padding:8px; min-width:0; }
.alm-el-home .alm-sc-mag-item.is-selected { border-color:#b58a32; box-shadow:0 0 0 1px #b58a32; }
.alm-el-home .alm-sc-mag-item[hidden] { display:none!important; }
.alm-el-home .alm-sc-mag-image { display:grid; place-items:center; height:195px; overflow:hidden; }
.alm-el-home .alm-sc-mag-image img { display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
.alm-el-home .alm-sc-mag-item small { display:block; color:#777; font:11px Arial,sans-serif; margin-top:5px; }
.alm-el-home .alm-sc-more { display:block; margin:22px auto 0; padding:10px 20px; border:0; border-radius:20px; color:white; background:#1d1d1d; font:700 11px Arial,sans-serif; cursor:pointer; }
.alm-el-home .alm-sc-more[hidden] { display:none!important; }
.alm-el-home .alm-sc-mag-dialog { max-width:min(640px,90vw); border:0; border-radius:6px; padding:24px; box-shadow:0 10px 60px #0005; }
.alm-el-home .alm-sc-mag-dialog::backdrop { background:#0009; }
.alm-el-home .alm-sc-dialog-close { float:right; background:transparent; border:0; font-size:25px; cursor:pointer; }
.alm-el-home .alm-sc-dialog-end { margin-top:16px; border:0; background:#18365c; color:#fff; padding:9px 20px; cursor:pointer; }

@media (max-width:767px) {
  .alm-el-home .alm-el-brand-text strong { font-size:25px; }
  .alm-el-home .alm-sc-slide-overlay { padding:25px 42px; }
  .alm-el-home .alm-sc-slide-overlay h1 { font-size:22px; }
  .alm-el-home .alm-sc-cards-three,.alm-el-home .alm-sc-cards-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .alm-el-home .alm-sc-mag-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .alm-el-home .alm-sc-mag-cover img { max-height:330px; }
}
