/* =========================================================
   Astra Portada SEO Child - global landing/design
   ========================================================= */

:root{
  --alc-bg:#f7f6ef;
  --alc-surface:#fffdf7;
  --alc-surface-soft:#edf2e9;
  --alc-text:#12231d;
  --alc-muted:#5f6c63;
  --alc-soft:#8b9389;
  --alc-border:#d7dfd2;
  --alc-accent:#d6a72c;
  --alc-accent-2:#0b4a35;
  --alc-black:#093627;
  --alc-white:#fffdf7;
  --alc-radius-xl:26px;
  --alc-radius-lg:20px;
  --alc-radius-md:14px;
  --alc-pill:999px;
  --alc-shadow:0 14px 42px rgba(11,47,36,.10);
  --alc-shadow-soft:0 8px 24px rgba(11,47,36,.08);
  --alc-container:min(1160px, calc(100% - 40px));
  --alc-container-narrow:min(760px, calc(100% - 40px));
  --alc-font-display:Georgia, "Times New Roman", serif;
  --alc-font-ui:Inter, Manrope, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.alc-theme{
  background:var(--alc-bg);
  color:var(--alc-text);
  font-family:var(--alc-font-ui);
  overflow-x:hidden;
}

html,
body{
  max-width:100%;
  overflow-x:hidden;
}

.alc-theme .site,
.alc-theme .site-content,
.alc-theme .ast-container{
  max-width:100%;
  overflow-x:clip;
}

.alc-theme .site-content{
  background:var(--alc-bg);
}

.alc-theme .site-content > .ast-container{
  max-width:none;
  padding-left:0;
  padding-right:0;
  display:block;
}

.alc-site,
.alc-site *{
  box-sizing:border-box;
}

.alc-site{
  width:100%;
  max-width:100%;
  padding:clamp(18px, 3vw, 40px) 0 clamp(30px, 4vw, 54px);
  color:var(--alc-text);
  overflow-x:hidden;
}

.alc-site a{
  color:inherit;
  text-decoration:none;
}

.alc-site img{
  max-width:100%;
  height:auto;
  display:block;
}

.alc-eyebrow{
  margin:0 0 12px;
  color:var(--alc-accent-2);
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  line-height:1.2;
  text-transform:uppercase;
}

.alc-eyebrow--link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  margin-inline:auto;
  padding:8px 14px;
  border:1px solid rgba(14,74,52,.18);
  border-radius:var(--alc-pill);
  background:rgba(14,74,52,.07);
  transition:transform .2s ease, background .2s ease;
}

.alc-eyebrow--link:hover,
.alc-eyebrow--link:focus-visible{
  background:rgba(14,74,52,.12);
  transform:translateY(-1px);
}

.alc-button,
.alc-theme .alc-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 22px;
  border:1px solid var(--alc-black);
  border-radius:var(--alc-pill);
  background:var(--alc-black);
  color:var(--alc-white);
  font-size:13px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
  transition:transform .2s ease, opacity .2s ease, background .2s ease, color .2s ease;
}

.alc-button:hover,
.alc-button:focus-visible{
  color:var(--alc-white);
  opacity:.9;
  transform:translateY(-1px);
}

.alc-button--ghost,
.alc-theme .alc-button--ghost{
  background:transparent;
  color:var(--alc-black);
}

.alc-button--ghost:hover,
.alc-button--ghost:focus-visible{
  background:var(--alc-black);
  color:var(--alc-white);
}

/* =========================================================
   Single post
   ========================================================= */

.alc-single{
  width:100%;
}

.alc-single-heading{
  width:var(--alc-container);
  margin:0 auto clamp(16px, 3vw, 34px);
  text-align:center;
}

.alc-single-heading__title{
  max-width:860px;
  margin:0 auto;
  color:var(--alc-text);
  font-family:var(--alc-font-display);
  font-size:clamp(30px, 3.9vw, 56px);
  font-weight:500;
  line-height:.9;
  letter-spacing:-.06em;
}

.alc-single-heading__intro{
  max-width:820px;
  margin:clamp(13px, 1.5vw, 20px) auto 0;
  color:var(--alc-muted);
  font-size:clamp(15px, 1.5vw, 18px);
  line-height:1.55;
}

.alc-single-card{
  width:var(--alc-container);
  margin:0 auto clamp(24px, 4vw, 45px);
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(300px, .95fr);
  overflow:hidden;
  border:1px solid rgba(17,24,39,.06);
  border-radius:var(--alc-radius-xl);
  background:var(--alc-surface);
  box-shadow:var(--alc-shadow);
}

.alc-single-card__media{
  min-height:434px;
  margin:0;
  background:linear-gradient(135deg, #e2e8df, #f7f6ef);
}

.alc-single-card__image,
.alc-single-card__placeholder{
  width:100%;
  height:100%;
  min-height:434px;
}

.alc-single-card__image{
  object-fit:cover;
  object-position:center;
}

.alc-single-card__placeholder{
  display:grid;
  place-items:center;
  color:rgba(17,24,39,.18);
  font-family:var(--alc-font-display);
  font-size:clamp(63px, 11vw, 126px);
}

.alc-single-card__content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:clamp(13px, 1.5vw, 20px);
  padding:clamp(20px, 3vw, 42px);
}

.alc-rating-summary{
  display:grid;
  gap:7px;
}

.alc-rating-stars{
  display:inline-flex;
  gap:2px;
  color:var(--alc-accent);
  font-size:16px;
  letter-spacing:.03em;
}

.alc-rating-summary p{
  margin:0;
  color:var(--alc-text);
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.alc-rating-summary small{
  color:var(--alc-muted);
  font-size:13px;
}

.alc-entry-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  color:var(--alc-muted);
  font-size:13px;
  line-height:1.4;
}

.alc-entry-meta a{
  color:var(--alc-text);
  font-weight:800;
}

.alc-single-card__subtitle{
  margin:0;
  color:var(--alc-text);
  font-family:var(--alc-font-display);
  font-size:clamp(18px, 1.7vw, 24px);
  font-weight:600;
  line-height:1.03;
  letter-spacing:-.035em;
}

.alc-single-card__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:auto;
  padding-top:clamp(13px, 1.5vw, 20px);
}

.alc-avatar-stack{
  display:flex;
  align-items:center;
  min-height:40px;
}

.alc-avatar-stack__image,
.alc-anon-avatar{
  width:40px;
  height:40px;
  border:3px solid var(--alc-surface);
  border-radius:50%;
  object-fit:cover;
  margin-left:-10px;
  box-shadow:0 8px 20px rgba(17,24,39,.08);
}

.alc-avatar-stack__image:first-child,
.alc-anon-avatar:first-child{
  margin-left:0;
}

.alc-anon-avatar{
  display:grid;
  place-items:center;
  background:var(--alc-black);
  color:var(--alc-white);
  font-weight:900;
}

.alc-avatar-stack__empty{
  color:var(--alc-muted);
  font-size:13px;
  font-weight:700;
}

.alc-share-button{
  min-height:42px;
  padding:10px 18px;
  border:1px solid var(--alc-border);
  border-radius:var(--alc-pill);
  background:var(--alc-surface-soft);
  color:var(--alc-black);
  font-size:13px;
  font-weight:900;
  cursor:pointer;
  transition:transform .2s ease, background .2s ease;
}

.alc-share-button:hover,
.alc-share-button:focus-visible,
.alc-share-button.is-copied{
  background:var(--alc-black);
  color:var(--alc-white);
  transform:translateY(-1px);
}

.alc-entry-content{
  width:var(--alc-container-narrow);
  margin:0 auto clamp(22px, 3vw, 40px);
  padding:clamp(20px, 3vw, 40px);
  border:1px solid rgba(17,24,39,.06);
  border-radius:var(--alc-radius-xl);
  background:var(--alc-surface);
  box-shadow:var(--alc-shadow-soft);
  color:var(--alc-text);
  font-size:clamp(14px, 1.05vw, 16px);
  line-height:1.82;
}

.alc-entry-content > *:first-child{margin-top:0}
.alc-entry-content > *:last-child{margin-bottom:0}

.alc-entry-content h2,
.alc-entry-content h3,
.alc-entry-content h4{
  margin:1.6em 0 .5em;
  color:var(--alc-text);
  font-family:var(--alc-font-display);
  letter-spacing:-.03em;
  line-height:1.05;
}

.alc-entry-content h2{font-size:clamp(24px, 2.8vw, 38px)}
.alc-entry-content h3{font-size:clamp(21px, 2.2vw, 28px)}
.alc-entry-content p{margin:0 0 1.25em}
.alc-entry-content a{color:var(--alc-accent-2);font-weight:800;text-decoration:underline;text-underline-offset:3px}
.alc-entry-content ul,.alc-entry-content ol{padding-left:1.3em;margin-bottom:1.25em}
.alc-entry-content blockquote{
  margin:1.8em 0;
  padding:16px 18px;
  border-left:4px solid var(--alc-accent-2);
  border-radius:18px;
  background:var(--alc-surface-soft);
  color:var(--alc-text);
  font-family:var(--alc-font-display);
  font-size:1.18em;
  line-height:1.45;
}


.alc-entry-content .alignwide,
.alc-entry-content .alignfull,
.alc-entry-content .wp-block-image,
.alc-entry-content .wp-block-gallery{
  width:100%;
  max-width:100%;
  margin-left:0;
  margin-right:0;
}

.alc-entry-content iframe,
.alc-entry-content video,
.alc-entry-content embed{
  max-width:100%;
}

.alc-page-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:28px;
}

/* =========================================================
   Author box compact
   ========================================================= */

.alc-author-box{
  width:var(--alc-container-narrow);
  margin:0 auto clamp(16px, 2.4vw, 28px);
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 12px;
  border:1px solid rgba(17,24,39,.06);
  border-radius:16px;
  background:var(--alc-surface);
  box-shadow:0 6px 18px rgba(17,24,39,.045);
}

.alc-author-box__avatar{
  flex:0 0 auto;
}

.alc-author-box__image{
  width:46px;
  height:46px;
  border-radius:50%;
  object-fit:cover;
}

.alc-author-box__content{
  min-width:0;
}

.alc-author-box__label{
  margin:0 0 3px;
  color:var(--alc-accent-2);
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
  line-height:1;
  text-transform:uppercase;
}

.alc-author-box h2{
  margin:0 0 3px;
  max-width:100%;
  overflow:hidden;
  color:var(--alc-text);
  font-family:var(--alc-font-ui);
  font-size:16px;
  font-weight:900;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.alc-author-box__role{
  margin:0;
  color:var(--alc-muted);
  font-size:13px;
  font-weight:700;
  line-height:1.25;
}

/* =========================================================
   Blog / archive
   ========================================================= */

.alc-page-hero{
  width:var(--alc-container);
  margin:0 auto clamp(18px, 3vw, 34px);
  text-align:center;
}

.alc-page-hero h1{
  max-width:930px;
  margin:0 auto;
  color:var(--alc-text);
  font-family:var(--alc-font-display);
  font-size:clamp(30px, 4vw, 52px);
  font-weight:500;
  line-height:.92;
  letter-spacing:-.06em;
}

.alc-page-hero p,
.alc-page-hero__description{
  max-width:720px;
  margin:18px auto 0;
  color:var(--alc-muted);
  font-size:clamp(14px, 1.5vw, 17px);
  line-height:1.55;
}

.alc-page-hero__description p{margin:0}

.alc-post-grid{
  width:var(--alc-container);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.alc-post-grid--compact{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.alc-post-card{
  overflow:hidden;
  border:1px solid rgba(17,24,39,.06);
  border-radius:var(--alc-radius-lg);
  background:var(--alc-surface);
  box-shadow:var(--alc-shadow-soft);
  transition:transform .22s ease, box-shadow .22s ease;
}

.alc-post-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--alc-shadow);
}

.alc-post-card--featured{
  width:var(--alc-container);
  margin:0 auto clamp(18px, 3vw, 30px);
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);
  align-items:stretch;
  border-radius:var(--alc-radius-xl);
}

.alc-post-card__media-link{display:block;height:100%}
.alc-post-card__media{
  height:100%;
  min-height:210px;
  margin:0;
  aspect-ratio:4 / 3;
  background:linear-gradient(135deg, #e2e8df, #f7f6ef);
}

.alc-post-card--featured .alc-post-card__media{
  min-height:300px;
  aspect-ratio:auto;
}

.alc-post-card__image,
.alc-post-card__placeholder{
  width:100%;
  height:100%;
  min-height:inherit;
}

.alc-post-card__image{
  object-fit:cover;
  object-position:center;
}

.alc-post-card__placeholder{
  display:grid;
  place-items:center;
  color:rgba(17,24,39,.18);
  font-family:var(--alc-font-display);
  font-size:58px;
}

.alc-post-card__content{
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:clamp(15px, 1.9vw, 22px);
}

.alc-post-card--featured .alc-post-card__content{
  justify-content:center;
  padding:clamp(20px, 3.5vw, 44px);
}

.alc-post-card__category{
  width:max-content;
  padding:7px 12px;
  border-radius:var(--alc-pill);
  background:rgba(14,74,52,.08);
  color:var(--alc-accent-2)!important;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1;
  text-transform:uppercase;
}

.alc-post-card__title{
  margin:0;
  color:var(--alc-text);
  font-family:var(--alc-font-display);
  font-size:clamp(21px, 2.4vw, 31px);
  font-weight:600;
  line-height:1;
  letter-spacing:-.04em;
}

.alc-post-card--featured .alc-post-card__title{
  font-size:clamp(31px, 4.2vw, 57px);
  line-height:.92;
}

.alc-post-card__title a:hover,
.alc-post-card__title a:focus-visible{
  color:var(--alc-accent-2);
}

.alc-post-card__excerpt{
  margin:0;
  color:var(--alc-muted);
  font-size:14px;
  line-height:1.65;
}

.alc-post-card--featured .alc-post-card__excerpt{
  font-size:clamp(14px, 1.2vw, 17px);
}

.alc-post-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
  color:var(--alc-soft);
  font-size:13px;
  font-weight:700;
}

.alc-pagination{
  width:var(--alc-container);
  margin:24px auto 0;
  text-align:center;
}

.alc-pagination .nav-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}

.alc-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  min-height:42px;
  padding:8px 13px;
  border:1px solid var(--alc-border);
  border-radius:var(--alc-pill);
  background:var(--alc-surface);
  color:var(--alc-text);
  font-size:13px;
  font-weight:800;
}

.alc-pagination .page-numbers.current,
.alc-pagination .page-numbers:hover{
  background:var(--alc-black);
  color:var(--alc-white);
}

/* =========================================================
   Comments
   ========================================================= */

.alc-comments{
  width:var(--alc-container-narrow);
  margin:0 auto;
  display:grid;
  gap:26px;
}

.alc-comments__list-block,
.alc-comment-respond,
.alc-comments .comment-respond{
  padding:clamp(18px, 3vw, 30px);
  border:1px solid rgba(17,24,39,.06);
  border-radius:var(--alc-radius-xl);
  background:var(--alc-surface);
  box-shadow:var(--alc-shadow-soft);
}

.alc-section-heading h2,
.alc-comment-form__title{
  margin:0;
  color:var(--alc-text);
  font-family:var(--alc-font-display);
  font-size:clamp(24px, 2.8vw, 39px);
  font-weight:600;
  line-height:1;
  letter-spacing:-.04em;
}

.alc-section-heading--comments{
  margin-bottom:22px;
}

.alc-comment-list{
  display:grid;
  gap:16px;
  margin:0;
  padding:0;
  list-style:none;
}

.alc-comment-list .children{
  margin:16px 0 0 28px;
  padding:0;
  list-style:none;
}

.alc-comment-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  padding:14px;
  border:1px solid var(--alc-border);
  border-radius:var(--alc-radius-md);
  background:var(--alc-surface-soft);
}

.alc-comment-card__avatar-img,
.alc-comment-card__avatar .alc-anon-avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  object-fit:cover;
}

.alc-comment-card__header{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  margin-bottom:8px;
}

.alc-comment-card__author{
  color:var(--alc-text);
  font-size:14px;
  font-weight:900;
}

.alc-comment-card__date{
  color:var(--alc-soft)!important;
  font-size:12px;
  font-weight:800;
}

.alc-comment-card__content{
  color:var(--alc-text);
  font-size:14px;
  line-height:1.7;
}

.alc-comment-card__content p:last-child{margin-bottom:0}

.alc-comment-card__moderation{
  margin:0 0 8px;
  color:var(--alc-accent-2);
  font-size:13px;
  font-weight:800;
}

.alc-comment-card__reply{
  margin-top:10px;
}

.alc-comment-card__reply a{
  color:var(--alc-accent-2)!important;
  font-size:13px;
  font-weight:900;
}

.alc-empty-comments{
  padding:14px;
  border-radius:var(--alc-radius-md);
  background:var(--alc-surface-soft);
  color:var(--alc-muted);
}

.alc-comment-form__intro{
  margin:12px 0 22px;
  color:var(--alc-muted);
  line-height:1.6;
}

.alc-comment-identity{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:center;
  margin:0 0 20px;
  padding:14px;
  border:1px solid var(--alc-border);
  border-radius:var(--alc-radius-md);
  background:var(--alc-surface-soft);
}

.alc-comment-identity__avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  object-fit:cover;
}

.alc-comment-identity strong{
  display:block;
  margin-bottom:3px;
}

.alc-comment-identity p{
  margin:0;
  color:var(--alc-muted);
  font-size:13px;
  line-height:1.5;
}

.alc-comment-form{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.alc-comment-form .comment-notes,
.alc-comment-form .logged-in-as,
.alc-comment-form .form-submit,
.alc-form-field--full{
  grid-column:1 / -1;
}

.alc-form-field{
  margin:0;
}

.alc-form-field label{
  display:block;
  margin-bottom:7px;
  color:var(--alc-text);
  font-size:13px;
  font-weight:900;
}

.alc-form-field label span{color:var(--alc-accent-2)}

.alc-form-field input,
.alc-form-field textarea,
.alc-comments input[type="text"],
.alc-comments input[type="email"],
.alc-comments textarea,
.alc-error-card input[type="search"]{
  width:100%;
  border:1px solid var(--alc-border);
  border-radius:18px;
  background:var(--alc-surface-soft);
  color:var(--alc-text);
  font:inherit;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.alc-form-field input,
.alc-comments input[type="text"],
.alc-comments input[type="email"],
.alc-error-card input[type="search"]{
  min-height:40px;
  padding:11px 14px;
}

.alc-form-field textarea,
.alc-comments textarea{
  min-height:120px;
  padding:14px;
  resize:vertical;
}

.alc-form-field input:focus,
.alc-form-field textarea:focus,
.alc-comments input:focus,
.alc-comments textarea:focus,
.alc-error-card input[type="search"]:focus{
  border-color:rgba(14,74,52,.55);
  background:#fff;
  box-shadow:0 0 0 4px rgba(14,74,52,.10);
}

.alc-comments .form-submit{
  margin:4px 0 0;
}

.alc-comment-pagination{
  margin-top:18px;
}

/* =========================================================
   404 / empty states
   ========================================================= */

.alc-error-card,
.alc-not-found{
  width:var(--alc-container-narrow);
  margin:0 auto clamp(26px, 4vw, 45px);
  padding:clamp(24px, 3.5vw, 50px);
  border:1px solid rgba(17,24,39,.06);
  border-radius:var(--alc-radius-xl);
  background:var(--alc-surface);
  box-shadow:var(--alc-shadow);
  text-align:center;
}

.alc-error-card h1,
.alc-not-found h2{
  max-width:760px;
  margin:0 auto;
  color:var(--alc-text);
  font-family:var(--alc-font-display);
  font-size:clamp(36px, 5.6vw, 70px);
  font-weight:500;
  line-height:.92;
  letter-spacing:-.06em;
}

.alc-error-card p,
.alc-not-found p{
  max-width:620px;
  margin:18px auto 0;
  color:var(--alc-muted);
  font-size:15px;
  line-height:1.6;
}

.alc-error-card__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:9px;
  margin-top:24px;
}

.alc-error-card__search{
  max-width:520px;
  margin:26px auto 0;
}

.alc-error-card .search-form{
  display:flex;
  gap:10px;
}

.alc-error-card .search-submit{
  border-radius:var(--alc-pill);
  background:var(--alc-black);
  color:var(--alc-white);
  border:0;
  padding:0 18px;
  font-weight:900;
}

.alc-section-block{
  width:var(--alc-container);
  margin:0 auto;
}

.alc-section-heading{
  margin:0 0 22px;
  text-align:center;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width:1100px){
  .alc-single-card,
  .alc-post-card--featured{
    grid-template-columns:1fr;
  }

  .alc-single-card__media,
  .alc-single-card__image,
  .alc-single-card__placeholder{
    min-height:322px;
  }

  .alc-post-card--featured .alc-post-card__media{
    min-height:266px;
  }

  .alc-post-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:760px){
  :root{
    --alc-container:calc(100% - 24px);
    --alc-container-narrow:calc(100% - 24px);
  }

  .alc-theme .site-content > .ast-container{
    width:100%;
    max-width:100%;
    margin-left:0;
    margin-right:0;
  }

  .alc-single-heading,
  .alc-page-hero,
  .alc-single-card,
  .alc-post-card--featured,
  .alc-post-grid,
  .alc-entry-content,
  .alc-author-box,
  .alc-comments,
  .alc-section-block,
  .alc-error-card,
  .alc-not-found{
    width:var(--alc-container);
    max-width:var(--alc-container);
    margin-left:auto;
    margin-right:auto;
  }

  .alc-site{
    padding-top:18px;
  }

  .alc-single-heading__title,
  .alc-page-hero h1,
  .alc-error-card h1,
  .alc-not-found h2{
    font-size:clamp(25px, 7.4vw, 34px);
    line-height:1.02;
    letter-spacing:-.045em;
  }

  .alc-single-heading__intro,
  .alc-page-hero p,
  .alc-page-hero__description{
    font-size:13px;
  }

  .alc-entry-content{
    padding:16px 18px;
    font-size:14px;
    line-height:1.68;
  }

  .alc-author-box{
    gap:10px;
    padding:10px 12px;
    border-radius:15px;
  }

  .alc-author-box__image{
    width:42px;
    height:42px;
  }

  .alc-author-box__label{
    font-size:9px;
  }

  .alc-author-box h2{
    font-size:15px;
  }

  .alc-author-box__role{
    font-size:12px;
  }

  .alc-single-card,
  .alc-post-card,
  .alc-author-box,
  .alc-entry-content,
  .alc-comments__list-block,
  .alc-comments .comment-respond,
  .alc-error-card,
  .alc-not-found{
    border-radius:18px;
  }

  .alc-single-card__media,
  .alc-single-card__image,
  .alc-single-card__placeholder{
    min-height:238px;
  }

  .alc-single-card__content{
    padding:14px;
  }

  .alc-single-card__subtitle{
    font-size:18px;
    line-height:1.16;
  }

  .alc-single-card__footer,
  .alc-error-card .search-form{
    align-items:flex-start;
    flex-direction:column;
  }

  .alc-post-grid,
  .alc-post-grid--compact{
    grid-template-columns:1fr;
  }

  .alc-post-card--featured .alc-post-card__media{
    min-height:210px;
  }

  .alc-comment-card,
  .alc-comment-identity{
    grid-template-columns:1fr;
  }

  .alc-comment-form{
    grid-template-columns:1fr;
  }

  .alc-comment-list .children{
    margin-left:14px;
  }
}

@media (max-width:420px){
  .alc-single-card__media,
  .alc-single-card__image,
  .alc-single-card__placeholder{
    min-height:205px;
  }

  .alc-entry-content,
  .alc-comments__list-block,
  .alc-comments .comment-respond,
  .alc-error-card,
  .alc-not-found{
    padding:16px;
  }
}

/* =========================================================
   V1.3 - diseño más compacto + autor dentro de la tarjeta
   ========================================================= */

:root{
  --alc-container:min(1080px, calc(100% - 44px));
  --alc-container-narrow:min(680px, calc(100% - 44px));
  --alc-radius-xl:20px;
  --alc-radius-lg:17px;
  --alc-radius-md:13px;
  --alc-shadow:0 10px 30px rgba(17,24,39,.075);
  --alc-shadow-soft:0 6px 18px rgba(17,24,39,.055);
}

.alc-site{
  padding:clamp(16px, 2.4vw, 32px) 0 clamp(24px, 3vw, 42px);
}

.alc-eyebrow{
  margin-bottom:8px;
  font-size:10px;
  letter-spacing:.13em;
}

.alc-eyebrow--link{
  padding:6px 11px;
}

.alc-single-heading,
.alc-page-hero{
  margin-bottom:clamp(12px, 2.2vw, 24px);
}

.alc-single-heading__title{
  max-width:780px;
  font-size:clamp(27px, 3.2vw, 44px);
  line-height:.98;
  letter-spacing:-.052em;
}

.alc-page-hero h1{
  max-width:820px;
  font-size:clamp(28px, 3.2vw, 44px);
  line-height:.98;
}

.alc-page-hero p,
.alc-page-hero__description{
  margin-top:12px;
  font-size:14px;
}

.alc-single-card{
  grid-template-columns:minmax(0, .96fr) minmax(285px, .78fr);
  margin-bottom:clamp(16px, 2.5vw, 26px);
  border-radius:20px;
}

.alc-single-card__media,
.alc-single-card__image,
.alc-single-card__placeholder{
  min-height:340px;
}

.alc-single-card__content{
  gap:10px;
  padding:clamp(16px, 2.4vw, 30px);
}

.alc-rating-summary{
  gap:5px;
}

.alc-rating-stars{
  font-size:14px;
}

.alc-rating-summary p{
  font-size:11px;
  letter-spacing:.035em;
}

.alc-rating-summary small{
  font-size:12px;
}

.alc-entry-meta{
  gap:7px 14px;
  font-size:12px;
}

.alc-single-card__subtitle{
  font-size:clamp(16px, 1.45vw, 21px);
  line-height:1.12;
}

.alc-single-card__footer{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:end;
  gap:12px;
  margin-top:2px;
  padding-top:8px;
}

.alc-card-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
  min-width:0;
}

.alc-avatar-stack{
  min-height:30px;
}

.alc-avatar-stack__image,
.alc-anon-avatar{
  width:32px;
  height:32px;
  border-width:2px;
  margin-left:-8px;
}

.alc-avatar-stack__empty{
  font-size:12px;
  line-height:1.25;
}

.alc-share-button{
  min-height:34px;
  padding:8px 15px;
  font-size:12px;
}

.alc-inline-author{
  display:grid;
  grid-template-columns:34px minmax(0, 1fr);
  align-items:center;
  gap:8px;
  max-width:210px;
  min-width:0;
  color:var(--alc-text);
  text-align:left;
}

.alc-inline-author__avatar{
  width:34px;
  height:34px;
  flex:0 0 auto;
}

.alc-inline-author__image{
  width:34px;
  height:34px;
  border-radius:50%;
  object-fit:cover;
}

.alc-inline-author__content{
  display:grid;
  gap:1px;
  min-width:0;
}

.alc-inline-author__label{
  color:var(--alc-accent-2);
  font-size:8px;
  font-weight:900;
  letter-spacing:.16em;
  line-height:1;
  text-transform:uppercase;
}

.alc-inline-author__name{
  overflow:hidden;
  color:var(--alc-text);
  font-family:var(--alc-font-ui);
  font-size:13px;
  font-weight:900;
  line-height:1.12;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.alc-inline-author__role{
  overflow:hidden;
  color:var(--alc-muted);
  font-size:11px;
  font-weight:700;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.alc-single-page > .alc-author-box{
  display:none;
}

.alc-entry-content{
  margin-bottom:clamp(14px, 2vw, 22px);
  padding:clamp(16px, 2.3vw, 26px);
  border-radius:18px;
  font-size:14px;
  line-height:1.7;
}

.alc-entry-content h2{font-size:clamp(21px, 2.2vw, 31px)}
.alc-entry-content h3{font-size:clamp(18px, 1.9vw, 24px)}
.alc-entry-content p{margin-bottom:1.05em}
.alc-entry-content blockquote{
  margin:1.3em 0;
  padding:13px 15px;
  border-radius:14px;
  font-size:1.05em;
}

.alc-comments{
  gap:18px;
}

.alc-comments__list-block,
.alc-comment-respond,
.alc-comments .comment-respond{
  padding:clamp(16px, 2.4vw, 24px);
  border-radius:18px;
}

.alc-section-heading h2,
.alc-comment-form__title{
  font-size:clamp(22px, 2.2vw, 31px);
}

.alc-section-heading--comments{
  margin-bottom:14px;
}

.alc-comment-card{
  gap:11px;
  padding:12px;
}

.alc-empty-comments{
  padding:12px;
  font-size:14px;
}

.alc-post-grid{
  gap:14px;
}

.alc-post-card__media{
  min-height:180px;
}

.alc-post-card--featured .alc-post-card__media{
  min-height:260px;
}

.alc-post-card__content{
  gap:8px;
  padding:clamp(13px, 1.6vw, 18px);
}

.alc-post-card--featured .alc-post-card__content{
  padding:clamp(18px, 2.8vw, 32px);
}

.alc-post-card__title{
  font-size:clamp(19px, 1.9vw, 26px);
}

.alc-post-card--featured .alc-post-card__title{
  font-size:clamp(28px, 3.5vw, 46px);
}

.alc-post-card__excerpt,
.alc-post-card--featured .alc-post-card__excerpt{
  font-size:13px;
  line-height:1.55;
}

@media (max-width:1100px){
  .alc-single-card__media,
  .alc-single-card__image,
  .alc-single-card__placeholder{
    min-height:260px;
  }
}

@media (max-width:760px){
  :root{
    --alc-container:calc(100% - 32px);
    --alc-container-narrow:calc(100% - 32px);
  }

  .alc-site{
    padding-top:12px;
    padding-bottom:26px;
  }

  .alc-single-heading,
  .alc-page-hero{
    margin-bottom:12px;
  }

  .alc-single-heading__title,
  .alc-page-hero h1,
  .alc-error-card h1,
  .alc-not-found h2{
    font-size:clamp(23px, 6.4vw, 30px);
    line-height:1.04;
    letter-spacing:-.04em;
  }

  .alc-single-card{
    margin-bottom:16px;
  }

  .alc-single-card__media,
  .alc-single-card__image,
  .alc-single-card__placeholder{
    min-height:185px;
  }

  .alc-single-card__content{
    gap:9px;
    padding:12px;
  }

  .alc-rating-stars{
    font-size:13px;
  }

  .alc-rating-summary p{
    font-size:10.5px;
  }

  .alc-rating-summary small,
  .alc-entry-meta{
    font-size:11.5px;
  }

  .alc-entry-meta{
    gap:6px 12px;
  }

  .alc-single-card__footer{
    grid-template-columns:1fr;
    align-items:start;
    gap:10px;
    padding-top:6px;
  }

  .alc-card-actions{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    gap:9px;
  }

  .alc-inline-author{
    max-width:100%;
    grid-template-columns:32px minmax(0, 1fr);
    gap:8px;
  }

  .alc-inline-author__avatar,
  .alc-inline-author__image{
    width:32px;
    height:32px;
  }

  .alc-inline-author__name{
    font-size:12.5px;
  }

  .alc-inline-author__role{
    font-size:10.5px;
  }

  .alc-entry-content{
    padding:14px 16px;
    font-size:13.5px;
    line-height:1.64;
  }

  .alc-comments__list-block,
  .alc-comments .comment-respond,
  .alc-error-card,
  .alc-not-found{
    padding:14px 16px;
  }

  .alc-section-heading h2,
  .alc-comment-form__title{
    font-size:clamp(21px, 6vw, 28px);
  }

  .alc-post-card--featured .alc-post-card__media,
  .alc-post-card__media{
    min-height:180px;
  }
}

@media (max-width:420px){
  :root{
    --alc-container:calc(100% - 28px);
    --alc-container-narrow:calc(100% - 28px);
  }

  .alc-single-card__media,
  .alc-single-card__image,
  .alc-single-card__placeholder{
    min-height:165px;
  }

  .alc-single-card__content{
    padding:11px;
  }

  .alc-entry-content,
  .alc-comments__list-block,
  .alc-comments .comment-respond,
  .alc-error-card,
  .alc-not-found{
    padding:13px 14px;
  }
}

/* =========================================================
   V1.4 - autor interno más pequeño y compacto
   ========================================================= */

.alc-inline-author{
  grid-template-columns:24px minmax(0, 1fr);
  gap:6px;
  max-width:170px;
  align-self:end;
}

.alc-inline-author__avatar,
.alc-inline-author__image{
  width:24px;
  height:24px;
}

.alc-inline-author__label{
  font-size:6.5px;
  letter-spacing:.14em;
}

.alc-inline-author__name{
  font-size:10.5px;
  line-height:1.05;
}

.alc-inline-author__role{
  font-size:8.8px;
  line-height:1.05;
}

.alc-inline-author__content{
  gap:0;
}

@media (max-width:760px){
  .alc-inline-author{
    grid-template-columns:24px minmax(0, 1fr);
    gap:6px;
    max-width:165px;
  }

  .alc-inline-author__avatar,
  .alc-inline-author__image{
    width:24px;
    height:24px;
  }

  .alc-inline-author__label{
    font-size:6.5px;
  }

  .alc-inline-author__name{
    font-size:10.5px;
  }

  .alc-inline-author__role{
    font-size:8.6px;
  }
}

@media (max-width:420px){
  .alc-single-card__footer{
    gap:7px;
  }

  .alc-inline-author{
    grid-template-columns:22px minmax(0, 1fr);
    gap:5px;
    max-width:150px;
  }

  .alc-inline-author__avatar,
  .alc-inline-author__image{
    width:22px;
    height:22px;
  }

  .alc-inline-author__label{
    font-size:6px;
  }

  .alc-inline-author__name{
    font-size:10px;
  }

  .alc-inline-author__role{
    font-size:8.2px;
  }
}

/* =========================================================
   Version 1.5.0 - Header/menu landing integrado
   ========================================================= */

.alc-page-shell{
  min-height:100vh;
  background:var(--alc-bg);
}

.alc-site-header{
  position:sticky;
  top:0;
  z-index:900;
  width:100%;
  background:rgba(255,253,247,.88);
  border-bottom:1px solid rgba(17,24,39,.08);
  backdrop-filter:saturate(140%) blur(14px);
  box-shadow:0 10px 28px rgba(17,24,39,.035);
}

.admin-bar .alc-site-header{top:32px;}

.alc-header-inner{
  width:var(--alc-container);
  min-height:66px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  position:relative;
  box-sizing:border-box;
}

.alc-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
  color:var(--alc-text)!important;
  text-decoration:none!important;
}

.alc-brand__mark,
.alc-brand__logo{
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:14px;
  object-fit:cover;
}

.alc-brand__mark{
  display:grid;
  place-items:center;
  background:var(--alc-black);
  color:var(--alc-white);
  font-family:var(--alc-font-display);
  font-size:19px;
  font-weight:700;
  line-height:1;
  box-shadow:0 12px 26px rgba(17,24,39,.14);
}

.alc-brand__copy{
  display:grid;
  gap:2px;
  min-width:0;
}

.alc-brand__copy strong{
  max-width:220px;
  color:var(--alc-text);
  font-size:15px;
  font-weight:900;
  line-height:1.05;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.alc-brand__copy small{
  max-width:220px;
  color:var(--alc-muted);
  font-size:11px;
  font-weight:700;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.alc-header-drawer{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  min-width:0;
}

.alc-main-nav{
  min-width:0;
}

.alc-main-menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  margin:0;
  padding:0;
  list-style:none;
}

.alc-main-menu li{
  margin:0;
  padding:0;
}

.alc-main-menu a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  color:var(--alc-text)!important;
  font-size:13px;
  font-weight:850;
  line-height:1;
  text-decoration:none!important;
  transition:background .18s ease, color .18s ease, transform .18s ease;
}

.alc-main-menu a:hover,
.alc-main-menu a:focus-visible,
.alc-main-menu .current-menu-item > a,
.alc-main-menu .current_page_item > a{
  background:rgba(14,74,52,.10);
  color:var(--alc-accent-2)!important;
  transform:translateY(-1px);
}

.alc-header-account{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:max-content;
}

.alc-site-header .amce-user-menu{
  gap:7px;
}

.alc-site-header .amce-user-link{
  min-height:36px;
  padding:0 13px;
  box-shadow:none;
  background:#fffdf7;
  font-size:13px;
}

.alc-site-header .amce-user-link--primary{
  background:var(--alc-black);
  border-color:var(--alc-black);
  color:#fff!important;
}

.alc-site-header .amce-user-trigger{
  min-height:38px;
  padding:5px 11px 5px 6px;
  box-shadow:none;
  background:#fffdf7;
}

.alc-site-header .amce-user-panel{
  top:calc(100% + 11px);
}

.alc-header-toggle{
  display:none;
  width:40px;
  height:40px;
  min-width:40px;
  border:1px solid rgba(17,24,39,.11);
  border-radius:999px;
  background:#fffdf7;
  padding:0;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(17,24,39,.06);
}

.alc-header-toggle__bar{
  width:16px;
  height:2px;
  border-radius:999px;
  background:var(--alc-text);
  transition:transform .18s ease, opacity .18s ease;
}

.alc-site-header.is-open .alc-header-toggle__bar:first-child{
  transform:translateY(3.5px) rotate(45deg);
}

.alc-site-header.is-open .alc-header-toggle__bar:nth-child(2){
  transform:translateY(-3.5px) rotate(-45deg);
}

.alc-site-content{
  background:var(--alc-bg);
}

.alc-site-footer{
  border-top:1px solid rgba(17,24,39,.08);
  background:rgba(255,253,247,.82);
}

.alc-footer-inner{
  width:var(--alc-container);
  min-height:72px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:var(--alc-muted);
  font-size:13px;
  font-weight:700;
}

.alc-footer-inner p{
  margin:0;
}

.alc-footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.alc-footer-nav a{
  color:var(--alc-text);
  text-decoration:none;
  font-weight:850;
}

@media (max-width: 921px){
  .alc-header-toggle{
    display:inline-flex;
    order:3;
  }

  .alc-header-inner{
    min-height:60px;
  }

  .alc-header-drawer{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    display:none;
    align-items:stretch;
    justify-content:start;
    gap:12px;
    padding:12px;
    border:1px solid rgba(17,24,39,.09);
    border-radius:22px;
    background:rgba(255,253,247,.98);
    box-shadow:0 22px 50px rgba(17,24,39,.14);
  }

  .alc-site-header.is-open .alc-header-drawer{
    display:grid;
  }

  .alc-main-menu{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
  }

  .alc-main-menu a{
    justify-content:flex-start;
    width:100%;
    min-height:40px;
    padding:0 13px;
    background:#edf2e9;
  }

  .alc-header-account,
  .alc-site-header .amce-user-menu,
  .alc-site-header .amce-user-dropdown,
  .alc-site-header .amce-user-trigger{
    width:100%;
  }

  .alc-site-header .amce-user-menu{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .alc-site-header .amce-user-link{
    width:100%;
    min-height:40px;
  }

  .alc-site-header .amce-user-dropdown{
    grid-column:1 / -1;
  }

  .alc-site-header .amce-user-trigger{
    justify-content:flex-start;
  }

  .alc-site-header .amce-user-panel{
    position:static;
    width:100%;
    min-width:0;
    margin-top:8px;
    box-shadow:none;
  }
}

@media (max-width: 782px){
  .admin-bar .alc-site-header{top:46px;}
}

@media (max-width: 640px){
  .alc-header-inner{
    width:min(100%, calc(100% - 24px));
  }

  .alc-brand__mark,
  .alc-brand__logo{
    width:34px;
    height:34px;
    min-width:34px;
    border-radius:12px;
  }

  .alc-brand__copy strong{
    max-width:150px;
    font-size:14px;
  }

  .alc-brand__copy small{
    display:none;
  }

  .alc-header-drawer{
    left:0;
    right:0;
    border-radius:20px;
  }

  .alc-site-header .amce-user-trigger__text small{
    display:block;
  }

  .alc-footer-inner{
    min-height:auto;
    padding:18px 0;
    flex-direction:column;
    text-align:center;
  }
}

/* =========================================================
   Version 1.6.0 - Archivo/categorías + menú de cuenta propio
   ========================================================= */

/* Menú de cuenta creado por el tema, no por el shortcode suelto. */
.alc-account-nav{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}

.alc-account-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px;
  border:1px solid rgba(17,24,39,.10);
  border-radius:999px;
  background:#fffdf7;
  color:var(--alc-text)!important;
  font-size:13px;
  font-weight:850;
  line-height:1;
  text-decoration:none!important;
  box-shadow:0 8px 18px rgba(17,24,39,.045);
  transition:transform .18s ease, background .18s ease, color .18s ease;
}

.alc-account-link:hover,
.alc-account-link:focus-visible{
  transform:translateY(-1px);
  background:var(--alc-black);
  color:#fff!important;
}

.alc-account-link--primary{
  background:var(--alc-black);
  border-color:var(--alc-black);
  color:#fff!important;
}

.alc-account-link--primary:hover,
.alc-account-link--primary:focus-visible{
  opacity:.9;
}

.alc-account-dropdown{
  position:relative;
  display:block;
}

.alc-account-dropdown > summary{
  list-style:none;
}

.alc-account-dropdown > summary::-webkit-details-marker{
  display:none;
}

.alc-account-trigger{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  max-width:190px;
  padding:5px 12px 5px 6px;
  border:1px solid rgba(17,24,39,.10);
  border-radius:999px;
  background:#fffdf7;
  color:var(--alc-text);
  cursor:pointer;
  box-shadow:0 8px 18px rgba(17,24,39,.045);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.alc-account-dropdown[open] .alc-account-trigger,
.alc-account-trigger:hover,
.alc-account-trigger:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(17,24,39,.075);
}

.alc-account-avatar,
.alc-account-panel__avatar{
  display:block;
  border-radius:50%;
  object-fit:cover;
}

.alc-account-avatar{
  width:30px!important;
  height:30px!important;
  min-width:30px;
}

.alc-account-trigger__text{
  display:grid;
  gap:1px;
  min-width:0;
  line-height:1;
}

.alc-account-trigger__text strong{
  overflow:hidden;
  color:var(--alc-text);
  font-size:12px;
  font-weight:900;
  line-height:1.05;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.alc-account-trigger__text small{
  overflow:hidden;
  color:var(--alc-muted);
  font-size:10px;
  font-weight:700;
  line-height:1.05;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.alc-account-panel{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:999;
  width:220px;
  padding:12px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:18px;
  background:#fffdf7;
  box-shadow:0 24px 60px rgba(17,24,39,.16);
}

.alc-account-panel__head{
  display:grid;
  grid-template-columns:42px minmax(0, 1fr);
  align-items:center;
  gap:10px;
  padding:4px 4px 11px;
  margin-bottom:8px;
  border-bottom:1px solid var(--alc-border);
}

.alc-account-panel__head strong{
  display:block;
  overflow:hidden;
  color:var(--alc-text);
  font-size:13px;
  font-weight:900;
  line-height:1.1;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.alc-account-panel__head small{
  display:block;
  margin-top:2px;
  color:var(--alc-accent-2);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1;
  text-transform:uppercase;
}

.alc-account-panel a{
  display:flex;
  align-items:center;
  min-height:38px;
  padding:0 10px;
  border-radius:12px;
  color:var(--alc-text)!important;
  font-size:13px;
  font-weight:850;
  text-decoration:none!important;
}

.alc-account-panel a:hover,
.alc-account-panel a:focus-visible{
  background:var(--alc-surface-soft);
  color:var(--alc-accent-2)!important;
}

/* Archivo/categorías: antes usaba una grilla de 3 columnas y una sola entrada quedaba como tarjeta vacía. */
.alc-archive-page{
  padding-top:clamp(28px, 4vw, 56px);
}

.alc-page-hero--archive{
  margin-bottom:clamp(24px, 4vw, 42px);
}

.alc-page-hero--archive h1{
  font-size:clamp(32px, 3.4vw, 48px);
}

.alc-archive-list{
  width:min(920px, calc(100% - 44px));
  margin:0 auto;
  display:grid;
  gap:18px;
}

.alc-post-card--archive{
  display:grid;
  grid-template-columns:minmax(240px, .85fr) minmax(0, 1.15fr);
  align-items:stretch;
  overflow:hidden;
  border-radius:24px;
}

.alc-post-card--archive .alc-post-card__media-link{
  min-width:0;
}

.alc-post-card--archive .alc-post-card__media{
  height:100%;
  min-height:260px;
  aspect-ratio:auto;
}

.alc-post-card--archive .alc-post-card__placeholder{
  min-height:260px;
  font-size:64px;
}

.alc-post-card--archive .alc-post-card__content{
  justify-content:center;
  gap:10px;
  padding:clamp(22px, 3vw, 34px);
}

.alc-post-card--archive .alc-post-card__title{
  max-width:560px;
  font-size:clamp(28px, 3vw, 42px);
  line-height:.96;
  letter-spacing:-.05em;
}

.alc-post-card--archive .alc-post-card__excerpt{
  max-width:540px;
  font-size:14px;
  line-height:1.58;
}

.alc-post-card--archive .alc-post-card__meta{
  font-size:12px;
}

.alc-archive-page .alc-pagination{
  width:min(920px, calc(100% - 44px));
}

/* Blog: mantener el diseño que ya gustó, pero centrar y compactar mejor la tarjeta destacada. */
.alc-blog-page .alc-post-card--featured{
  max-width:980px;
  margin-left:auto!important;
  margin-right:auto!important;
}

.alc-blog-page .alc-post-card--featured .alc-post-card__media{
  min-height:280px;
}

.alc-blog-page .alc-post-card--featured .alc-post-card__title{
  font-size:clamp(30px, 3.25vw, 46px);
}

.alc-blog-page .alc-post-card--featured .alc-post-card__content{
  padding:clamp(22px, 3vw, 34px);
}

@media (max-width:921px){
  .alc-account-nav,
  .alc-account-dropdown,
  .alc-account-trigger{
    width:100%;
  }

  .alc-account-nav{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .alc-account-link{
    width:100%;
    min-height:42px;
  }

  .alc-account-dropdown{
    grid-column:1 / -1;
  }

  .alc-account-trigger{
    max-width:none;
    justify-content:flex-start;
  }

  .alc-account-panel{
    position:static;
    width:100%;
    margin-top:8px;
    box-shadow:none;
  }
}

@media (max-width:760px){
  .alc-archive-page{
    padding-top:18px;
  }

  .alc-archive-list{
    width:calc(100% - 28px);
    gap:14px;
  }

  .alc-post-card--archive{
    grid-template-columns:1fr;
    border-radius:20px;
  }

  .alc-post-card--archive .alc-post-card__media,
  .alc-post-card--archive .alc-post-card__placeholder{
    min-height:190px;
  }

  .alc-post-card--archive .alc-post-card__content{
    padding:16px;
  }

  .alc-post-card--archive .alc-post-card__title{
    font-size:clamp(24px, 7vw, 32px);
    line-height:1.02;
  }

  .alc-blog-page .alc-post-card--featured{
    width:calc(100% - 28px);
    max-width:calc(100% - 28px);
  }

  .alc-blog-page .alc-post-card--featured .alc-post-card__media{
    min-height:190px;
  }
}


/* =========================================================
   Version 1.7.0 - Comentarios más anchos en escritorio
   ========================================================= */

@media (min-width: 922px){
  /* La conversación y el formulario ya no quedan angostos; ocupan aprox. 70% del ancho visible. */
  .alc-single-page .alc-comments,
  .alc-single-page .alc-comment-respond,
  .alc-single-page .alc-comments .comment-respond{
    width:min(70vw, 1120px);
    max-width:1120px;
  }

  .alc-single-page .alc-comments{
    margin-left:auto;
    margin-right:auto;
  }

  .alc-single-page .alc-comments__list-block,
  .alc-single-page .alc-comment-respond,
  .alc-single-page .alc-comments .comment-respond{
    padding:clamp(20px, 2.4vw, 32px);
  }

  .alc-single-page .alc-comment-card{
    padding:16px 18px;
  }

  .alc-single-page .alc-comment-card__content{
    max-width:920px;
  }

  .alc-single-page .alc-comment-form textarea,
  .alc-single-page .alc-comments textarea{
    min-height:150px;
  }
}

/* =========================================================
   Version 1.8.0 - Menú más limpio: Inicio + Categorías desplegable
   ========================================================= */

.alc-main-menu .is-current > a,
.alc-main-menu .is-current > .alc-nav-dropdown > .alc-nav-dropdown__summary{
  background:rgba(14,74,52,.10);
  color:var(--alc-accent-2)!important;
}

.alc-nav-dropdown{
  position:relative;
  display:block;
}

.alc-nav-dropdown > summary{
  list-style:none;
}

.alc-nav-dropdown > summary::-webkit-details-marker{
  display:none;
}

.alc-nav-dropdown__summary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:36px;
  padding:0 13px;
  border-radius:999px;
  color:var(--alc-text)!important;
  font-size:13px;
  font-weight:850;
  line-height:1;
  cursor:pointer;
  user-select:none;
  transition:background .18s ease, color .18s ease, transform .18s ease;
}

.alc-nav-dropdown__summary::after{
  content:"";
  width:7px;
  height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  opacity:.75;
  transition:transform .18s ease;
}

.alc-nav-dropdown[open] .alc-nav-dropdown__summary::after{
  transform:translateY(2px) rotate(225deg);
}

.alc-nav-dropdown[open] .alc-nav-dropdown__summary,
.alc-nav-dropdown__summary:hover,
.alc-nav-dropdown__summary:focus-visible{
  background:rgba(14,74,52,.10);
  color:var(--alc-accent-2)!important;
  transform:translateY(-1px);
}

.alc-nav-dropdown__panel{
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  z-index:999;
  width:280px;
  max-height:min(420px, 70vh);
  overflow:auto;
  padding:9px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:18px;
  background:#fffdf7;
  box-shadow:0 24px 60px rgba(17,24,39,.16);
}

.alc-nav-dropdown__panel::-webkit-scrollbar{
  width:8px;
}

.alc-nav-dropdown__panel::-webkit-scrollbar-track{
  background:transparent;
}

.alc-nav-dropdown__panel::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:rgba(17,24,39,.18);
}

.alc-category-link{
  display:grid!important;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:center;
  gap:10px;
  min-height:40px!important;
  width:100%;
  padding:0 10px!important;
  border-radius:12px!important;
  background:transparent!important;
  color:var(--alc-text)!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.1!important;
  text-align:left;
  text-decoration:none!important;
  transform:none!important;
}

.alc-category-link span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.alc-category-link small{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  background:rgba(14,74,52,.08);
  color:var(--alc-accent-2);
  font-size:10px;
  font-weight:900;
  line-height:1;
}

.alc-category-link:hover,
.alc-category-link:focus-visible,
.alc-category-link.is-current{
  background:var(--alc-surface-soft)!important;
  color:var(--alc-accent-2)!important;
}

.alc-category-link--empty{
  display:block!important;
  color:var(--alc-muted)!important;
  cursor:default;
}

@media (max-width: 921px){
  .alc-main-menu__item--categories,
  .alc-nav-dropdown,
  .alc-nav-dropdown__summary{
    width:100%;
  }

  .alc-nav-dropdown__summary{
    justify-content:space-between;
    min-height:40px;
    padding:0 13px;
    background:#edf2e9;
  }

  .alc-nav-dropdown__panel{
    position:static;
    width:100%;
    max-height:260px;
    margin-top:7px;
    padding:7px;
    border-radius:16px;
    box-shadow:none;
    background:#fffdf7;
  }

  .alc-category-link{
    min-height:40px!important;
  }
}

@media (max-width: 520px){
  .alc-nav-dropdown__panel{
    max-height:230px;
  }

  .alc-category-link{
    font-size:12px!important;
  }
}

/* =========================================================
   Version 1.9.0 - Categorías más compactas y sin desplazamientos visuales
   ========================================================= */

/* Evita que el menú se mueva al pasar el mouse o al seleccionar. */
.alc-site-header .alc-main-menu a,
.alc-site-header .alc-main-menu a:hover,
.alc-site-header .alc-main-menu a:focus-visible,
.alc-site-header .alc-main-menu .current-menu-item > a,
.alc-site-header .alc-main-menu .current_page_item > a,
.alc-site-header .alc-main-menu .is-current > a,
.alc-site-header .alc-nav-dropdown__summary,
.alc-site-header .alc-nav-dropdown[open] .alc-nav-dropdown__summary,
.alc-site-header .alc-nav-dropdown__summary:hover,
.alc-site-header .alc-nav-dropdown__summary:focus-visible,
.alc-site-header .alc-category-link,
.alc-site-header .alc-category-link:hover,
.alc-site-header .alc-category-link:focus-visible,
.alc-site-header .alc-category-link.is-current{
  transform:none!important;
}

/* Botón principal de categorías: más pequeño, menos pesado y sin salto. */
.alc-site-header .alc-nav-dropdown__summary{
  min-height:32px;
  padding:0 11px;
  gap:6px;
  font-size:12px;
  font-weight:750;
  letter-spacing:0;
}

.alc-site-header .alc-nav-dropdown__summary::after{
  width:6px;
  height:6px;
  border-right-width:1.5px;
  border-bottom-width:1.5px;
}

/* Panel más compacto, sin barra horizontal y con espacio para categorías largas. */
.alc-site-header .alc-nav-dropdown__panel{
  width:min(260px, calc(100vw - 32px));
  max-height:min(350px, 66vh);
  overflow-y:auto;
  overflow-x:hidden;
  padding:6px;
  border-radius:16px;
}

/* Cada categoría ocupa menos altura y permite texto en dos o más líneas. */
.alc-site-header .alc-category-link{
  grid-template-columns:minmax(0, 1fr) auto;
  gap:8px;
  min-height:32px!important;
  padding:7px 8px!important;
  border-radius:10px!important;
  font-size:11.5px!important;
  font-weight:700!important;
  line-height:1.18!important;
  letter-spacing:0;
}

.alc-site-header .alc-category-link span{
  display:block;
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
  word-break:normal;
  overflow-wrap:anywhere;
}

.alc-site-header .alc-category-link small{
  min-width:20px;
  height:18px;
  padding:0 6px;
  font-size:9px;
  font-weight:800;
}

/* Menú principal ligeramente más compacto para que combine con Categorías. */
.alc-site-header .alc-main-menu a{
  min-height:32px;
  padding:0 11px;
  font-size:12px;
  font-weight:750;
}

@media (max-width: 921px){
  .alc-site-header .alc-nav-dropdown__summary{
    min-height:36px;
    padding:0 11px;
    font-size:12px;
  }

  .alc-site-header .alc-nav-dropdown__panel{
    width:100%;
    max-height:240px;
    padding:6px;
  }

  .alc-site-header .alc-category-link{
    min-height:34px!important;
    padding:7px 9px!important;
    font-size:11.5px!important;
  }
}

@media (max-width: 520px){
  .alc-site-header .alc-nav-dropdown__panel{
    max-height:220px;
  }

  .alc-site-header .alc-category-link{
    font-size:11px!important;
  }
}


/* =========================================================
   Version 1.10.0 - Desplegable de categorías más limpio
   ========================================================= */

/* El desplegable ya no muestra contador de entradas ni genera una caja tan ancha. */
.alc-site-header .alc-nav-dropdown__panel{
  width:210px!important;
  min-width:0!important;
  max-width:calc(100vw - 28px)!important;
  right:0!important;
  left:auto!important;
  top:calc(100% + 7px)!important;
  padding:6px!important;
  border:0!important;
  border-radius:15px!important;
  box-shadow:0 14px 34px rgba(17,24,39,.12)!important;
  background:#fffdf7!important;
  overflow-x:hidden!important;
}

/* Por compatibilidad, si alguna versión anterior todavía imprime el número, se oculta. */
.alc-site-header .alc-category-link small{
  display:none!important;
}

/* Categoría compacta, sin borde pesado, sin número y con texto en varias líneas si es largo. */
.alc-site-header .alc-category-link{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  padding:8px 10px!important;
  border-radius:10px!important;
  background:transparent!important;
  color:var(--alc-text)!important;
  font-size:11.5px!important;
  font-weight:560!important;
  line-height:1.22!important;
  letter-spacing:0!important;
  text-align:left!important;
  box-shadow:none!important;
}

.alc-site-header .alc-category-link span{
  display:block!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

.alc-site-header .alc-category-link:hover,
.alc-site-header .alc-category-link:focus-visible,
.alc-site-header .alc-category-link.is-current{
  background:rgba(14,74,52,.07)!important;
  color:var(--alc-accent-2)!important;
  transform:none!important;
}

/* Botón Categorías: mantiene el tamaño sin saltos visuales. */
.alc-site-header .alc-nav-dropdown__summary{
  min-height:31px!important;
  padding:0 10px!important;
  font-size:11.5px!important;
  font-weight:700!important;
  box-shadow:none!important;
}

.alc-site-header .alc-nav-dropdown[open] .alc-nav-dropdown__summary,
.alc-site-header .alc-nav-dropdown__summary:hover,
.alc-site-header .alc-nav-dropdown__summary:focus-visible{
  box-shadow:none!important;
  transform:none!important;
}

@media (max-width:921px){
  .alc-site-header .alc-nav-dropdown__panel{
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    max-height:230px!important;
    margin-top:6px!important;
    padding:5px!important;
    box-shadow:none!important;
    border:1px solid rgba(17,24,39,.06)!important;
  }

  .alc-site-header .alc-category-link{
    padding:8px 9px!important;
    font-size:11.5px!important;
  }
}

@media (max-width:520px){
  .alc-site-header .alc-category-link{
    font-size:11px!important;
  }
}


/* =========================================================
   Version 2.2.0 - Portada estática + cabecera limpia + footer SEO
   Paleta: verde oscuro, marfil claro y dorado suave
   Más limpia, menos amarilla, con dorado solo como acento.
   ========================================================= */

body.alc-theme{
  background:var(--alc-bg);
  color:var(--alc-text);
}

.alc-theme .site-content,
.alc-site-content,
.alc-page-shell{
  background:var(--alc-bg);
}

.alc-site-header--simple{
  background:rgba(247,246,239,.96);
  border-bottom:1px solid rgba(14,74,52,.16);
  box-shadow:0 10px 30px rgba(11,47,36,.055);
}

.alc-header-inner--simple{
  min-height:72px;
  justify-content:flex-start;
}

.alc-brand--simple{
  gap:12px;
}

.alc-brand--logo-only .alc-brand__copy{
  display:none;
}

.alc-brand--logo-only{
  gap:0;
}

.alc-brand__mark{
  background:var(--alc-accent-2);
  color:var(--alc-accent);
  box-shadow:0 12px 26px rgba(11,47,36,.18);
}

.alc-brand__logo{
  width:auto;
  max-width:220px;
  height:auto;
  max-height:54px;
  min-width:0;
  border-radius:0;
  object-fit:contain;
  box-shadow:none;
}

.alc-brand__copy strong{
  color:var(--alc-accent-2);
  font-size:16px;
  letter-spacing:.01em;
}

.alc-brand__copy small{
  color:var(--alc-muted);
}

.alc-front-page{
  padding-top:0;
}

.alc-front-page__article,
.alc-front-page__content{
  width:100%;
  max-width:100%;
}

.alc-front-page__content > *:first-child{
  margin-top:0;
}

.alc-page-view{
  padding-top:clamp(22px, 3vw, 42px);
}

.alc-page-article{
  width:var(--alc-container-narrow);
  max-width:var(--alc-container-narrow);
  margin:0 auto;
}

.alc-page-heading--inner{
  margin:0 auto clamp(18px, 3vw, 30px);
  text-align:center;
}

.alc-page-heading--inner h1{
  margin:0;
  color:var(--alc-accent-2);
  font-family:var(--alc-font-display);
  font-size:clamp(34px, 5vw, 58px);
  line-height:.98;
  letter-spacing:-.045em;
}

.alc-page-entry-content{
  width:100%;
  max-width:100%;
}

.alc-button,
.alc-theme .alc-button,
.alc-pagination .page-numbers.current,
.alc-pagination .page-numbers:hover{
  background:var(--alc-accent-2);
  border-color:var(--alc-accent-2);
  color:var(--alc-white)!important;
}

.alc-button:hover,
.alc-button:focus-visible{
  background:#123f2f;
  border-color:#123f2f;
}

.alc-eyebrow,
.alc-comment-card__reply a,
.alc-comment-card__moderation,
.alc-post-card__category{
  color:var(--alc-accent-2)!important;
}

.alc-rating-stars,
.alc-share-button,
.alc-post-card__category{
  color:var(--alc-accent)!important;
}

.alc-share-button{
  background:var(--alc-accent-2);
  border-color:var(--alc-accent-2);
  color:var(--alc-white)!important;
}

.alc-comments__list-block,
.alc-comment-respond,
.alc-comments .comment-respond,
.alc-single-card,
.alc-entry-content,
.alc-post-card,
.alc-error-card,
.alc-not-found{
  border-color:rgba(14,74,52,.12);
  background:var(--alc-surface);
}

.alc-comment-card,
.alc-comment-identity,
.alc-empty-comments{
  border-color:rgba(14,74,52,.14);
  background:var(--alc-surface-soft);
}

.alc-form-field input:focus,
.alc-form-field textarea:focus,
.alc-comments input:focus,
.alc-comments textarea:focus,
.alc-error-card input[type="search"]:focus{
  border-color:rgba(14,74,52,.58);
  box-shadow:0 0 0 4px rgba(14,74,52,.12);
}

.alc-site-footer--seo{
  border-top:1px solid rgba(14,74,52,.18);
  background:linear-gradient(180deg, rgba(11,74,53,.035), rgba(11,74,53,.075)), var(--alc-bg);
}

.alc-footer-inner--seo{
  width:var(--alc-container);
  min-height:0;
  padding:clamp(28px, 4vw, 52px) 0 22px;
  display:grid;
  gap:24px;
  color:var(--alc-text);
}

.alc-footer-seo-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  width:100%;
}

.alc-footer-seo-column,
.alc-footer-seo-widget{
  min-width:0;
}

.alc-footer-seo-widget{
  padding:20px;
  border:1px solid rgba(14,74,52,.14);
  border-radius:var(--alc-radius-lg);
  background:rgba(255,253,247,.92);
  box-shadow:var(--alc-shadow-soft);
}

.alc-footer-seo-widget h2,
.alc-footer-seo-title{
  margin:0 0 10px;
  color:var(--alc-accent-2);
  font-family:var(--alc-font-display);
  font-size:clamp(22px, 2.2vw, 30px);
  font-weight:700;
  line-height:1.06;
  letter-spacing:-.03em;
}

.alc-footer-seo-widget h3{
  margin:16px 0 8px;
  color:var(--alc-text);
  font-size:15px;
  font-weight:900;
  line-height:1.2;
}

.alc-footer-seo-widget p,
.alc-footer-seo-widget li{
  color:var(--alc-muted);
  font-size:14px;
  line-height:1.65;
}

.alc-footer-seo-widget p:last-child,
.alc-footer-seo-widget ul:last-child,
.alc-footer-seo-widget ol:last-child{
  margin-bottom:0;
}

.alc-footer-seo-widget a{
  color:var(--alc-accent-2);
  font-weight:850;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.alc-footer-bottom{
  display:flex;
  justify-content:center;
  padding-top:16px;
  border-top:1px solid rgba(14,74,52,.12);
  color:var(--alc-muted);
  font-size:13px;
  font-weight:750;
}

.alc-footer-bottom p{
  margin:0;
}

.alc-footer-nav{
  display:none!important;
}

@media (max-width:921px){
  .alc-footer-seo-grid{
    grid-template-columns:1fr;
  }

  .alc-header-inner--simple{
    min-height:64px;
  }

  .alc-brand__logo{
    max-width:190px;
    max-height:48px;
  }
}

@media (max-width:640px){
  .alc-header-inner--simple{
    width:min(100%, calc(100% - 24px));
    min-height:60px;
  }

  .alc-brand__logo{
    max-width:170px;
    max-height:44px;
  }

  .alc-brand__copy strong{
    max-width:190px;
    font-size:14px;
  }

  .alc-brand__copy small{
    display:none;
  }

  .alc-footer-inner--seo{
    width:min(100%, calc(100% - 24px));
    text-align:left;
  }

  .alc-footer-seo-widget{
    padding:17px;
  }
}

/* =========================================================
   Páginas normales sin maquetador
   ========================================================= */

.alc-page-view--front,
.alc-page-view{
  padding-top:clamp(24px, 4vw, 48px);
}

.alc-page-article--standard{
  width:100%;
  max-width:100%;
  margin:0 auto;
}

.alc-page-hero--standard{
  width:var(--alc-container);
  margin:0 auto clamp(18px, 3vw, 30px);
  padding:clamp(20px, 3vw, 34px) clamp(16px, 3vw, 28px);
  border:1px solid rgba(14,74,52,.12);
  border-radius:var(--alc-radius-xl);
  background:linear-gradient(135deg, rgba(11,74,53,.055), rgba(214,167,44,.045)), var(--alc-surface);
  box-shadow:var(--alc-shadow-soft);
  text-align:center;
}

.alc-page-hero--standard h1{
  max-width:920px;
  margin:0 auto;
  color:var(--alc-accent-2);
  font-family:var(--alc-font-display);
  font-size:clamp(32px, 5vw, 60px);
  font-weight:700;
  line-height:.98;
  letter-spacing:-.045em;
}

.alc-page-hero--standard .alc-page-hero__description{
  max-width:760px;
  margin:clamp(12px, 2vw, 18px) auto 0;
  color:var(--alc-muted);
  font-size:clamp(15px, 1.45vw, 18px);
  line-height:1.65;
}

.alc-page-cover{
  width:var(--alc-container);
  margin:0 auto clamp(18px, 3vw, 30px);
  overflow:hidden;
  border:1px solid rgba(14,74,52,.12);
  border-radius:var(--alc-radius-xl);
  background:var(--alc-surface-soft);
  box-shadow:var(--alc-shadow-soft);
}

.alc-page-cover__image{
  width:100%;
  height:auto;
  max-height:520px;
  object-fit:cover;
  object-position:center;
}

.alc-page-entry-content{
  width:var(--alc-container-narrow);
  max-width:var(--alc-container-narrow);
  margin-left:auto;
  margin-right:auto;
}

.alc-page-entry-content .wp-block-heading:first-child,
.alc-page-entry-content h2:first-child,
.alc-page-entry-content h3:first-child{
  margin-top:0;
}

@media (max-width:640px){
  .alc-page-view--front,
  .alc-page-view{
    padding-top:18px;
  }

  .alc-page-hero--standard,
  .alc-page-cover,
  .alc-page-entry-content{
    width:min(100%, calc(100% - 24px));
    max-width:min(100%, calc(100% - 24px));
  }

  .alc-page-hero--standard{
    padding:20px 16px;
  }

  .alc-page-entry-content{
    padding:18px;
  }
}


/* =========================================================
   Version 2.3.0 - Página más ancha + botón a comentarios
   ========================================================= */

html{
  scroll-behavior:smooth;
}

:root{
  --alc-container:min(1240px, calc(100% - 56px));
  --alc-container-narrow:min(860px, calc(100% - 56px));
}

.alc-page-hero--standard h1{
  max-width:1040px;
}

.alc-page-hero--standard .alc-page-hero__description{
  max-width:860px;
}

.alc-page-entry-content,
.alc-comments{
  width:var(--alc-container-narrow);
  max-width:var(--alc-container-narrow);
}

.alc-page-actions{
  display:flex;
  justify-content:center;
  margin-top:clamp(16px, 2.4vw, 24px);
}

.alc-button--comments,
.alc-theme .alc-button--comments{
  min-height:44px;
  padding:12px 22px;
  border-color:var(--alc-accent-2);
  background:var(--alc-accent-2);
  color:var(--alc-white)!important;
  box-shadow:0 10px 22px rgba(11,74,53,.15);
}

.alc-button--comments::after{
  content:"↓";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  margin-left:8px;
  border-radius:50%;
  background:rgba(255,253,247,.16);
  color:var(--alc-accent);
  font-size:13px;
  line-height:1;
}

#primer-comentario,
#comments{
  scroll-margin-top:96px;
}

.alc-comment-anchor{
  display:block;
  width:1px;
  height:1px;
  margin-top:-1px;
  overflow:hidden;
}

@media (max-width:921px){
  :root{
    --alc-container:min(100%, calc(100% - 32px));
    --alc-container-narrow:min(100%, calc(100% - 32px));
  }
}

@media (max-width:640px){
  :root{
    --alc-container:min(100%, calc(100% - 24px));
    --alc-container-narrow:min(100%, calc(100% - 24px));
  }

  .alc-page-entry-content,
  .alc-comments{
    width:var(--alc-container-narrow);
    max-width:var(--alc-container-narrow);
  }

  .alc-button--comments,
  .alc-theme .alc-button--comments{
    width:100%;
    max-width:260px;
  }
}

/* =========================================================
   Version 2.4.0 - Corrección de subcomentarios anidados
   ========================================================= */

.alc-comment-list,
.alc-comment-list .children{
  list-style:none;
}

.alc-comment-list li.comment,
.alc-comment-list li.pingback,
.alc-comment-list li.trackback{
  margin:0;
  padding:0;
}

.alc-comment-list > li.comment + li.comment,
.alc-comment-list > li.pingback + li.pingback,
.alc-comment-list > li.trackback + li.trackback{
  margin-top:16px;
}

.alc-comment-list .children{
  display:grid;
  gap:16px;
  margin:16px 0 0 clamp(24px, 3vw, 46px);
  padding:0 0 0 clamp(14px, 1.8vw, 22px);
  border-left:2px solid rgba(14,74,52,.16);
}

.alc-comment-list .children .children{
  margin-left:clamp(12px, 2vw, 28px);
  gap:14px;
}

.alc-comment-list .children .alc-comment-card{
  background:#f3f7f0;
  border-color:rgba(14,74,52,.18);
}

.alc-comment-card{
  width:100%;
  margin:0;
}

.alc-comment-card__body,
.alc-comment-card__content{
  min-width:0;
  overflow-wrap:anywhere;
}

.alc-comment-card__content p{
  margin-top:0;
}

.alc-comment-card__reply{
  clear:both;
}

@media (max-width: 760px){
  .alc-comment-list .children{
    gap:12px;
    margin:12px 0 0 0;
    padding-left:12px;
    border-left:2px solid rgba(14,74,52,.14);
  }

  .alc-comment-list .children .children{
    margin-left:0;
    padding-left:10px;
  }

  .alc-comment-list > li.comment + li.comment,
  .alc-comment-list > li.pingback + li.pingback,
  .alc-comment-list > li.trackback + li.trackback{
    margin-top:12px;
  }
}

@media (max-width: 480px){
  .alc-comments__list-block{
    padding-left:12px;
    padding-right:12px;
  }

  .alc-comment-card{
    padding:12px;
  }

  .alc-comment-card__avatar-img,
  .alc-comment-card__avatar .alc-anon-avatar{
    width:34px;
    height:34px;
  }

  .alc-comment-card__content{
    font-size:13px;
    line-height:1.62;
  }
}


/* =========================================================
   Version 2.6.0 - Carga progresiva de comentarios
   ========================================================= */

.alc-comments-load-intro{
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid rgba(14,74,52,.12);
  border-radius:18px;
  background:#f7faf2;
  color:var(--alc-muted);
  font-size:13px;
  font-weight:700;
  line-height:1.55;
  text-align:center;
}

.alc-comment-list.is-loading{
  opacity:.72;
}

.alc-load-comments{
  display:grid;
  justify-items:center;
  gap:10px;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(14,74,52,.12);
}

.alc-load-comments__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:12px 22px;
  border:1px solid var(--alc-accent-2);
  border-radius:999px;
  background:var(--alc-accent-2);
  color:var(--alc-white);
  box-shadow:0 10px 22px rgba(11,74,53,.15);
  font:inherit;
  font-size:13px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.alc-load-comments__button:hover,
.alc-load-comments__button:focus{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(11,74,53,.18);
}

.alc-load-comments__button:disabled,
.alc-load-comments__button.is-loading{
  cursor:wait;
  opacity:.72;
  transform:none;
}

.alc-load-comments__status{
  margin:0;
  color:var(--alc-muted);
  font-size:12px;
  font-weight:800;
  line-height:1.45;
  text-align:center;
}

.alc-load-comments__status.is-error{
  color:#8a281d;
}

@media (max-width: 640px){
  .alc-load-comments__button{
    width:100%;
    max-width:280px;
  }

  .alc-comments-load-intro{
    text-align:left;
  }
}


/* =========================================================
   Version 2.7.0 - Carga progresiva con paginación SEO-friendly
   ========================================================= */

.alc-load-comments__button,
.alc-load-comments__button:visited{
  text-decoration:none;
}

.alc-load-comments__button[aria-disabled="true"]{
  pointer-events:none;
  cursor:wait;
  opacity:.72;
  transform:none;
}

.alc-comments-seo-pagination{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:6px;
  max-width:100%;
  margin-top:4px;
  color:var(--alc-muted);
  font-size:12px;
  font-weight:800;
  line-height:1.35;
}

.alc-comments-seo-pagination__label{
  margin-right:4px;
}

.alc-comments-seo-pagination a,
.alc-comments-seo-pagination .alc-comments-seo-pagination__ellipsis{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  min-height:30px;
  padding:5px 9px;
  border-radius:999px;
}

.alc-comments-seo-pagination a{
  border:1px solid rgba(14,74,52,.16);
  background:#fffdf7;
  color:var(--alc-accent-2);
  text-decoration:none;
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.alc-comments-seo-pagination a:hover,
.alc-comments-seo-pagination a:focus,
.alc-comments-seo-pagination a.is-current{
  border-color:var(--alc-accent-2);
  background:var(--alc-accent-2);
  color:var(--alc-white);
  transform:translateY(-1px);
}

.alc-comments-seo-pagination__ellipsis{
  color:rgba(17,24,39,.46);
}

@media (max-width: 640px){
  .alc-comments-seo-pagination{
    justify-content:flex-start;
  }

  .alc-comments-seo-pagination__label{
    width:100%;
    margin:0 0 2px;
  }
}
