/* Austin Stops By: keep one logo on the homepage. */
body.home .site-header .brand-link,
body.home .site-footer .footer-brand {
  display: none;
}

body.home .site-header .header-inner {
  justify-content: center;
}

@media (min-width: 901px) {
  body.home .site-footer .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: clamp(20px, 3vw, 48px);
  }
  body.home .site-footer .footer-socials {
    border-inline-start: 0;
  }
}

@media (max-width: 700px) {
  body.home .hero-home {
    min-height: 0;
    padding-block: 30px 42px;
  }
}

/* Match the Home wordmark and the About/Contact navigation treatment. */
body .site-header .header-inner,
body.asb-editorial-release .asb-editorial-view > header > .wrap.nav {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-sizing:border-box; min-height:0; width:100%; max-width:1280px;
  margin-inline:auto; padding:19px 19px 0; gap:10px;
}
body .site-header .header-inner > .brand-link,
body.asb-editorial-release .asb-editorial-view > header > .wrap.nav > .brand {
  position:relative; display:block; flex:none; width:min(740px, 82vw);
  aspect-ratio:3; overflow:hidden;
  --asb-home-wordmark: url('/wp-content/plugins/asb-editorial-layout/assets/austin-stops-by-original-masthead.png');
}
body .site-header .header-inner > .brand-link > img,
body.asb-editorial-release .asb-editorial-view > header > .wrap.nav > .brand > img {
  opacity:0; width:100%; height:auto; display:block;
}
:is(body .site-header .header-inner > .brand-link, body.asb-editorial-release .asb-editorial-view > header > .wrap.nav > .brand)::before,
:is(body .site-header .header-inner > .brand-link, body.asb-editorial-release .asb-editorial-view > header > .wrap.nav > .brand)::after {
  content:''; position:absolute; inset:0; background:var(--asb-home-wordmark) center / 100% 100% no-repeat; pointer-events:none;
}
:is(body .site-header .header-inner > .brand-link, body.asb-editorial-release .asb-editorial-view > header > .wrap.nav > .brand)::before { clip-path:inset(68.8% 0 0); }
:is(body .site-header .header-inner > .brand-link, body.asb-editorial-release .asb-editorial-view > header > .wrap.nav > .brand)::after {
  clip-path:inset(0 0 31.2%); transform:scale(1.17); transform-origin:50% 68.8%;
}
body.asb-editorial-release .asb-editorial-view > header nav {justify-content:center; gap:clamp(16px, 5vw, 34px); margin-top:0;}
body.asb-editorial-release .asb-editorial-view > header nav a {
  position:relative; color:#fafbff; font:700 clamp(13px, 1.5vw, 20px)/1.3 Arial,Helvetica,sans-serif;
  letter-spacing:normal; text-transform:uppercase; text-decoration:none; border-bottom:0; padding:12px 4px 21px;
}
body.asb-editorial-release .asb-editorial-view > header nav a[aria-current='page'] {border-bottom:0;}
body.asb-editorial-release .asb-editorial-view > header nav a[aria-current='page']::after {
  content:''; position:absolute; inset-inline:0; bottom:9px; height:6px; border-radius:999px;
  background:linear-gradient(90deg,#ff00e9,#ff6a9b,#ffd742); box-shadow:0 0 13px #ff00e999;
}
@media(max-width:700px){
  body.asb-editorial-release .asb-editorial-view > header nav a {font-size:13px; padding:10px 0 15px;}
  body.asb-editorial-release .asb-editorial-view > header nav a[aria-current='page']::after {inset-inline:-4px; bottom:6px; height:4px;}
}
@media(max-width:600px){
  body .site-header .header-inner,
  body.asb-editorial-release .asb-editorial-view > header > .wrap.nav {padding-top:11px; gap:9px;}
  body .site-header .header-inner > .brand-link,
  body.asb-editorial-release .asb-editorial-view > header > .wrap.nav > .brand {width:min(100%,480px);}
}

/* Latest Stories heading: use the same accent as the page titles. */
body.home .asb-editorial-view .section-title #latest {
  color: var(--head, #fafbff);
  position: relative;
  padding-inline-start: 21px;
  font-size: clamp(1.6rem, 3.2vw, 2.55rem);
}
body.home .asb-editorial-view .section-title #latest::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .075em;
  width: .11em;
  min-width: 5px;
  height: .88em;
  transform: skew(-15deg);
  border-radius: 50px;
  background: linear-gradient(#ffbadf, #ff5bad 48%, #ffdd51);
  box-shadow: 0 0 15px #ff59ad59;
}
@media (max-width: 600px) {
  body.home .asb-editorial-view .section-title #latest {
    padding-inline-start: 15px;
    font-size: clamp(1.3rem, 6.1vw, 2rem);
  }
}


/* ASB cookie button contrast: preserve matching choices. */
.cky-consent-bar .cky-btn-accept,
.cky-consent-bar .cky-btn-reject {
  background-color: #0D5FCE !important;
  border-color: #0D5FCE !important;
  color: #FFFFFF !important;
}


/* ASB Only in Florida card crop: retain the approved sleigh framing. */
body.page-id-194 .article-shell img.wp-image-156 { object-position: 50% 29%; }

/* ASB Only in Florida: category headline and roundup section hierarchy. */
body.single-post article.category-only-in-florida > h1 {
  color: #ff76bd !important;
  font-style: italic !important;
  text-transform: uppercase !important;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  body.single-post article.category-only-in-florida > h1 {
    background-image: linear-gradient(112deg, #ff76bd 10%, #ff9d9b 48%, #ffd17a 86%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
  }
}
body.single-post article.post-261 > h2:is(#animals, #roads, #events, #ordinary) {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  line-height: 1.12;
  margin-top: 1.6em;
}
body.single-post article.post-261 > h2:is(#animals, #roads, #events, #ordinary)::after {
  content: "";
  display: block;
  width: 3.75rem;
  height: 0.19rem;
  margin-top: 0.42em;
  border-radius: 1rem;
  background: linear-gradient(90deg, #ff76bd, #ffd17a);
}
@media (forced-colors: active) {
  body.single-post article.category-only-in-florida > h1 {
    background-image: none !important;
    -webkit-text-fill-color: CanvasText !important;
    color: CanvasText !important;
  }
  body.single-post article.post-261 > h2:is(#animals, #roads, #events, #ordinary)::after {
    height: 0;
    border-top: 2px solid CanvasText;
  }
}


/* ASB: fit the full Reddit screenshot on the roundup card on phones. */
@media (max-width: 700px) {
  a.card[href*="/only-in-florida-stories/"] > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 719 / 242;
    flex: 0 0 auto;
    object-fit: contain;
  }
}
