/* AMIIN CORE 15.0.53 — visual continuity of the eight editorial section
   landings and their internal guides. Uses the ONE native Core header/footer.
   No changes to WP themes, plugins' private apps or native tools. */

/* Keep the title near the navigation: the only top offset is the fixed
   Core header's own spacer. Section landings have no redundant Inicio route. */
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-section-landing-v15053 {
  padding-top:clamp(6px,1.2vw,14px);
  padding-bottom:clamp(32px,4.3vw,56px);
}
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-section-landing-v15053 > .awc-native-hero:first-child {
  margin-top:0;
}
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-section-landing-v15053 .awc-area-photo-hero {
  position:relative;isolation:isolate;display:flex;align-items:center;
  min-height:clamp(270px,29vw,365px);
  padding:clamp(28px,4.5vw,60px);
  background:linear-gradient(115deg,#e6efe6,#f6f1e6);
  border-radius:clamp(17px,2vw,25px);
  box-shadow:0 14px 38px rgba(17,55,43,.10);
  overflow:hidden;
}
/* The original photo layer was behind a negative z-index. Keep it in the
   local stacking context, behind the readable text and contrast overlay. */
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-section-landing-v15053 .awc-area-photo-hero__media {
  z-index:0;inset:0;position:absolute;pointer-events:none;
}
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-section-landing-v15053 .awc-area-photo-hero__media img {
  display:block;width:100%;height:100%;max-width:none;max-height:none;
  object-fit:cover;object-position:center 48%;
}
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-section-landing-v15053 .awc-area-photo-hero--image::before {
  z-index:1;background:linear-gradient(90deg,rgba(12,38,32,.84) 0%,rgba(14,43,34,.65) 48%,rgba(14,43,34,.21) 100%);
}
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-section-landing-v15053 .awc-area-photo-hero__content {
  position:relative;z-index:2;max-width:720px;
}
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-section-landing-v15053 .awc-area-photo-hero h1 {
  margin:9px 0 12px;font-size:clamp(2rem,4.5vw,3.9rem);line-height:1.08;
}
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-section-landing-v15053 .awc-area-photo-hero p {
  margin:0;line-height:1.55;font-size:clamp(.98rem,1.5vw,1.15rem);
}
/* Where no safe thematic image exists, the light fallback keeps high contrast. */
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-section-landing-v15053 .awc-area-photo-hero:not(.awc-area-photo-hero--image) .awc-native-kicker {color:#366d56;}
/* The eight landing pages and 24 native guides share the same visual canvas.
   The separate provider interfaces are deliberately not affected. */
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 :is(.awc-section-landing-v15053,.awc-native-guide) {box-sizing:border-box;}
body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route)
 .awc-native-guide {padding-top:clamp(12px,2.2vw,24px);}
/* ONE corporate footer on Core's standalone routes; avoid a floating extra gap. */
body.awc-standalone-document:has(.awc-section-landing-v15053) .awc-standalone-body,
body.awc-standalone-document:has(.awc-native-guide) .awc-standalone-body {
  padding-bottom:clamp(10px,1.5vw,20px)!important;
}
body.awc-standalone-document:has(.awc-section-landing-v15053) .awc-editorial-footer,
body.awc-standalone-document:has(.awc-native-guide) .awc-editorial-footer {
  margin-top:0!important;
}
@media(max-width:680px){
 body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route) .awc-section-landing-v15053 {padding-top:6px;padding-inline:12px;}
 body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route) .awc-section-landing-v15053 .awc-area-photo-hero {min-height:275px;padding:24px;}
 body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route) .awc-section-landing-v15053 .awc-area-photo-hero--image::before {background:linear-gradient(90deg,rgba(12,38,32,.88),rgba(12,38,32,.54));}
}
@media(prefers-reduced-motion:reduce){
 body.awc-standalone-document #amiin-core-preview:not(.awc-native-tool-route) .awc-section-landing-v15053 .awc-area-photo-hero *{animation:none!important;transition:none!important;}
}
