/* Inherit theme font */
:root { --ahb-shadow: 0 4px 20px rgba(0,0,0,.06); }
.ahb-cards-grid { display:grid; gap: var(--ahb-grid-gap,20px); grid-template-columns: repeat(var(--ahb-cols,3), minmax(0,1fr)); }
@media (max-width: 960px) { .ahb-cards-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .ahb-cards-grid { grid-template-columns: 1fr; } }
/* Equal-height cards with responsive overrides (from settings) */
.ahb-card { border-radius: var(--ahb-radius,18px); box-shadow: var(--ahb-shadow); overflow:hidden; transition: transform .18s ease, box-shadow .18s ease; display:flex; flex-direction:column; height: var(--ahb-card-h, 480px); position:relative; background:#fff; }
.ahb-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.10); }
.ahb-card-media { margin:0; height: min(var(--ahb-media-h, 260px), calc(var(--ahb-card-h, 480px) * 0.55)); background:#e9eef3; display:block; overflow:hidden; }
.ahb-card .ahb-card-media img { width:100% !important; height:100% !important; object-fit: cover !important; display:block; }
.ahb-card-media--placeholder { background:#e9eef3; }
.ahb-badge { position:absolute; top:0; left:0; margin:12px; padding:6px 12px; border-radius:999px; background:#ffffffcc; backdrop-filter:saturate(180%) blur(6px); font-size:.9rem; }
.ahb-card-body { padding: var(--ahb-body-pad, 18px 20px 22px); display:flex; flex-direction:column; gap:10px; flex:1; }
.ahb-card-title { margin:0; font-size:1.25rem; line-height:1.2; }
.ahb-card-sub { margin:0; color:#6b7280; }
.ahb-card-desc { margin:0; color:#374151; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.ahb-card-cta { margin-top:auto; }
.ahb-card-footer { margin-top:auto; padding-top: 8px; }
.ahb-card-link { font-family: inherit; font-weight: 700; color: var(--ahb-link, #00AEEF); text-decoration: none; }
.ahb-card-link:hover { text-decoration: underline; }
.ahb-link { text-decoration:none; font-weight:600; color: var(--ahb-link, #0ea5e9); }
.ahb-link:hover { text-decoration: underline; }
.ahb-btn { display:inline-block; padding:10px 16px; border-radius:12px; background: var(--ahb-accent,#10b981); color:#fff; text-decoration:none; font-weight:600; }
.ahb-btn:hover { filter: brightness(0.95); }
/* Responsive size scaling */
@media (max-width: 960px) {
  .ahb-card { height: var(--ahb-card-h-tablet, calc(var(--ahb-card-h) * .85)); }
  /* Keep media capped to a % of the card height (prevents uneven image blocks) */
  .ahb-card-media {
    height: min(
      var(--ahb-media-h-tablet, calc(var(--ahb-media-h) * .85)),
      calc(var(--ahb-card-h-tablet, calc(var(--ahb-card-h) * .85)) * 0.55)
    );
  }
}
@media (max-width: 640px) {
  .ahb-card { height: var(--ahb-card-h-mobile, calc(var(--ahb-card-h) * .70)); }
  /* Keep media capped to a % of the card height (prevents uneven image blocks) */
  .ahb-card-media {
    height: min(
      var(--ahb-media-h-mobile, calc(var(--ahb-media-h) * .70)),
      calc(var(--ahb-card-h-mobile, calc(var(--ahb-card-h) * .70)) * 0.55)
    );
  }
}
/* FAQ */
.ahb-faq details { background:#f8fafc; border:1px solid #e5e7eb; border-radius:14px; padding:14px 16px; margin-bottom:10px; }
.ahb-faq summary { cursor:pointer; font-weight:600; }
.ahb-faq .ahb-faq-answer { margin-top:8px; color:#374151; }

/* -----------------------------
   Mobile-first Homepage Sections
   Palette aligned w/ your site:
   - Blue: #00AEEF
   - Yellow: #EFCD0F
   Typography: inherits your theme (Astra / WordPress global typography)
------------------------------ */

.ahb-section { max-width: 1200px; margin: 0 auto; padding: 18px 16px; }

.ahb-section-head { max-width: 1200px; margin: 0 auto; padding: 18px 16px 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ahb-section-head .ahb-section-title { margin: 0; }
.ahb-section-head a { font-family: inherit; font-weight: 700; color: #00AEEF; text-decoration: none; }
.ahb-section-head a:hover { text-decoration: underline; }

.ahb-section-title {
  font-family: inherit;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 12px 0;
  color: #222;
  display: inline-block;
  border-bottom: 2px solid #EFCD0F;
  padding-bottom: 4px;
}

.ahb-section-sub {
  font-family: inherit;
  margin: 0 0 12px 0;
  color: #4b5563;
}

/* Hero */
.ahb-home-hero {
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  min-height: var(--ahb-hero-h, 320px);
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,var(--ahb-hero-ov,0.40)), rgba(0,0,0,var(--ahb-hero-ov,0.40))),
    var(--ahb-hero-bg, radial-gradient(circle at 30% 20%, #00AEEF 0%, #0b3a4a 55%, #06171e 100%));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ahb-home-hero__inner {
  width: min(620px, 92%);
  text-align: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px 16px;
}

.ahb-home-hero__title {
  font-family: inherit;
  margin: 0 0 6px 0;
  color: #fff;
  letter-spacing: 0.2px;
  font-size: 1.35rem;
}

.ahb-home-hero__sub {
  font-family: inherit;
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.92);
  line-height: 1.35;
}

.ahb-home-hero__btn {
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #EFCD0F;
  color: #111 !important;
  box-shadow: 0 10px 22px rgba(0,0,0,0.20);
}

.ahb-home-hero__btn:hover { filter: brightness(0.97); }

@media (min-width: 768px) {
  .ahb-home-hero__inner { padding: 22px 22px; }
  .ahb-home-hero__title { font-size: 1.8rem; }
}

/* Carousel */
.ahb-carousel-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 16px; overflow: visible; }
.ahb-carousel {
  display: flex;
  gap: var(--ahb-carousel-gap, 14px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 10px 2px;
}

.ahb-carousel::-webkit-scrollbar { height: 8px; }
.ahb-carousel::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.16); border-radius: 999px; }

/* Default "peek" sizing (mobile-first) */
.ahb-carousel .ahb-card {
  flex: 0 0 var(--ahb-carousel-peek, 78%);
  max-width: var(--ahb-carousel-peek, 78%);
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .ahb-carousel .ahb-card { flex-basis: 48%; max-width: 48%; }
}

@media (min-width: 1024px) {
  .ahb-carousel { overflow: visible; flex-wrap: wrap; }
  .ahb-carousel .ahb-card { flex-basis: calc(25% - var(--ahb-carousel-gap,14px)); max-width: calc(25% - var(--ahb-carousel-gap,14px)); }
}

.ahb-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.ahb-carousel-btn--prev { left: -8px; }
.ahb-carousel-btn--next { right: -8px; }

@media (min-width: 1024px) {
  /* On large screens we render as a grid (no horizontal scrolling), so hide arrows */
  .ahb-carousel-btn { display: none; }
}

/* Where to stay pills */
.ahb-city-pills {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(var(--ahb-city-cols-mobile, 1), minmax(0, 1fr));
}

@media (min-width: 640px) {
  .ahb-city-pills {
    grid-template-columns: repeat(var(--ahb-city-cols-tablet, var(--ahb-city-cols, 3)), minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ahb-city-pills {
    grid-template-columns: repeat(var(--ahb-city-cols, 3), minmax(0, 1fr));
  }
}

.ahb-city-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    var(--ahb-pill-bg, linear-gradient(135deg, rgba(0,174,239,0.35), rgba(239,205,15,0.18)));
  background-size: cover;
  background-position: center;
  box-shadow: var(--ahb-shadow);
  min-height: 72px;
}

.ahb-city-pill__label {
  font-family: inherit;
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* Events list */
.ahb-events {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: var(--ahb-shadow);
  background: #fff;
}

.ahb-event-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid #f0f0f0;
}

.ahb-event-row:first-child { border-top: none; }

.ahb-event-date {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0b3a4a;
  background: #fcfbf2;
  border-left: 4px solid #EFCD0F;
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}

.ahb-event-title {
  font-family: inherit;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

.ahb-event-title:hover { text-decoration: underline; }


.ahb-city-pill__text{display:flex;flex-direction:column;gap:4px;text-align:center;}
.ahb-city-pill__title{font-family:inherit;font-weight:700;color:#fff;font-size:1.05rem;line-height:1.15;text-shadow:0 2px 8px rgba(0,0,0,0.35);} 
.ahb-city-pill__sub{font-family:inherit;font-weight:600;color:rgba(255,255,255,0.92);font-size:0.9rem;line-height:1.2;text-shadow:0 2px 8px rgba(0,0,0,0.35);} 
