/* ==========================================================================
   TEST HOME TEMPLATE - self-contained styles
   Used only by page-test-home.php (Template Name: Test Home)
   Does not affect the live homepage / newhome.css
   ========================================================================== */

.test-home-page * {
  box-sizing: border-box;
}

/* TEMP-STAGING-SOURCE-LINK: debug-only badge for finding each hero slide's
   source post/event on staging (different data than this dev DB). Delete
   this whole rule block (and the matching <a> in page-test-home.php) once
   staging images are set - or just flip to `display: none` to hide it fast
   without removing anything. */
.test-home-page .hero-temp-source-link {
  display: none;
  position: absolute;
  top: calc(var(--site-header-height, 76px) + 14px);
  right: 14px;
  z-index: 5;
  background: #ffcc00;
  color: #000 !important;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  padding: 8px 12px;
  border: 1px dashed #000;
  border-radius: 3px;
  text-decoration: none !important;
  max-width: 260px;
}

.test-home-page .hero-temp-source-link:hover {
  background: #ffe066;
}

.test-home-page {
  --site-header-height: 76px;
}

/* Temporarily hide the reserved ad slot the theme header prints right after
   </header> (elements/new-header.php) - it renders as empty space with no ad
   filled in local/staging. Scoped to this template's body class only, since
   this section sits outside .test-home-page in the DOM. */
body.page-template-page-test-home-php .content-banner.otherpages-banner.desktopdisplay,
body.page-template-page-test-home-php #header>.add {
  display: none !important;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.test-home-page .top-page-banner {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
  margin-top: 0 !important;
  margin-bottom: 40px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.test-home-page .hero-fullwidth-wrapper {
  width: 100% !important;
  position: relative;
  background-color: #050505;
}

.test-home-page .hero-main-slider.music-slider {
  position: relative;
  margin-bottom: 0 !important;
  width: 100% !important;
}

.test-home-page .hero-slide-item {
  position: relative;
  /* 30% shorter than the full-screen hero (was calc(100vh - header)); min-height keeps the text from clipping */
  min-height: 400px;
  height: calc((100vh - var(--site-header-height, 100px)) * 0.7);
  display: flex !important;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 70px 0;
  box-sizing: border-box;
  background-color: #050505;
  overflow: hidden;
}

.test-home-page .hero-slide-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(2px) brightness(0.55) saturate(0.9);
  transform: scale(1.04);
  z-index: 0;
}

.test-home-page .hero-slide-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.71) 35%, rgba(0, 0, 0, 0.42) 62%, rgba(0, 0, 0, 0.11) 100%);
  z-index: 1;
}

.test-home-page .hero-slide-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 5;
}

.test-home-page .hero-slide-content {
  max-width: 560px;
  text-align: left;
  color: #ffffff;
}

.test-home-page .hero-slide-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.04;
  color: #ffffff !important;
  margin: 0 0 22px 0;
  text-transform: none;
  letter-spacing: -1.5px;
}

.test-home-page .hero-slide-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0 36px 0;
  max-width: 480px;
}

.test-home-page .hero-slide-btn {
  display: inline-block;
  background-color: #FF0055 !important;
  color: #ffffff !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 0.25s ease-in-out;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
}

.test-home-page .hero-slide-btn:hover,
.test-home-page .hero-slide-btn:focus {
  background-color: #e0004b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 0, 85, 0.6);
}

/* Slick Slider Controls (Bottom Right Pagination Dots & Arrows) */
.test-home-page .hero-main-slider.music-slider .slick-dots {
  position: absolute !important;
  bottom: 28px !important;
  right: 76px !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  z-index: 20 !important;
  background: none !important;
  border-radius: 0 !important;
  backdrop-filter: none;
}

.test-home-page .hero-main-slider.music-slider .slick-dots li {
  margin: 0 !important;
  padding: 0 !important;
  width: 8px !important;
  height: 8px !important;
  display: inline-block !important;
}

.test-home-page .hero-main-slider.music-slider .slick-dots li button {
  font-size: 0 !important;
  line-height: 0 !important;
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  padding: 0 !important;
  cursor: pointer;
  color: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
  outline: none !important;
  background: transparent !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.test-home-page .hero-main-slider.music-slider .slick-dots li.slick-active button {
  background: #FF0055 !important;
  border-color: #FF0055 !important;
}

.test-home-page .hero-main-slider.music-slider .slick-prev,
.test-home-page .hero-main-slider.music-slider .slick-next {
  position: absolute !important;
  bottom: 22px !important;
  top: auto !important;
  transform: none !important;
  width: 20px !important;
  height: 20px !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 0 !important;
  z-index: 20 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease !important;
  opacity: 1;
}

.test-home-page .hero-main-slider.music-slider .slick-prev i,
.test-home-page .hero-main-slider.music-slider .slick-next i {
  display: none !important;
}

.test-home-page .hero-main-slider.music-slider .slick-prev::before,
.test-home-page .hero-main-slider.music-slider .slick-next::before {
  content: '' !important;
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  border-top: 2px solid #ffffff !important;
  border-right: 2px solid #ffffff !important;
  transition: border-color 0.2s ease !important;
}

.test-home-page .hero-main-slider.music-slider .slick-prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.test-home-page .hero-main-slider.music-slider .slick-next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

.test-home-page .hero-main-slider.music-slider .slick-prev {
  right: 40px !important;
  left: auto !important;
}

.test-home-page .hero-main-slider.music-slider .slick-next {
  right: 16px !important;
  left: auto !important;
}

.test-home-page .hero-main-slider.music-slider .slick-prev:hover::before,
.test-home-page .hero-main-slider.music-slider .slick-next:hover::before {
  border-color: #FF0055 !important;
}

@media (max-width: 768px) {
  .test-home-page .top-page-banner {
    margin-bottom: 25px !important;
  }

  .test-home-page .hero-slide-item {
    min-height: 400px !important;
    height: calc((100vh - var(--site-header-height, 76px)) * 0.7) !important;
    padding: 50px 0 85px 0 !important;
  }

  .test-home-page .hero-slide-container {
    padding: 0 24px !important;
  }

  .test-home-page .hero-slide-title {
    font-size: 40px !important;
    line-height: 1.08 !important;
    margin-bottom: 16px !important;
  }

  .test-home-page .hero-slide-subtitle {
    font-size: 16px !important;
    margin-bottom: 26px !important;
  }

  .test-home-page .hero-slide-btn {
    padding: 13px 28px !important;
    font-size: 14px !important;
  }

  .test-home-page .hero-main-slider.music-slider .slick-dots {
    right: 100px !important;
    bottom: 30px !important;
  }

  .test-home-page .hero-main-slider.music-slider .slick-prev {
    right: 55px !important;
    bottom: 22px !important;
  }

  .test-home-page .hero-main-slider.music-slider .slick-next {
    right: 15px !important;
    bottom: 22px !important;
  }
}

/* ==========================================================================
   Featured Events - Card Grid
   ========================================================================== */
.test-home-page .test-featured-head {
  max-width: 1440px;
  margin: 0 auto 24px;
  padding: 0 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.test-home-page .test-featured-head h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
}

.test-home-page .test-view-all-events {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-decoration: none !important;
  white-space: nowrap;
}

.test-home-page .test-view-all-events:hover {
  color: #FF0055;
}

.test-home-page #ajax-load-more {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 24px;
  box-sizing: border-box;
}

.test-home-page #ajax-load-more .alm-listing {
  display: grid;
  /* Explicit 4 equal columns (reference layout) - auto-fit was fitting 5
     tracks at this container width and only *looked* like 4 because the
     unused 5th track collapsed to 0, which breaks the moment the item
     count or viewport width changes. */
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
  width: 100%;
}

/* The ALM repeater prints a .clearfix div between events; as a grid child it
   would take up a card slot, so drop it. */
.test-home-page #ajax-load-more .alm-listing>.clearfix,
.test-home-page #ajax-load-more .alm-listing:after {
  display: none !important;
}

/* "View More" (load more) button */
.test-home-page #ajax-load-more .alm-btn-wrap {
  display: flex;
  justify-content: center;
  margin: 40px 0 0;
  padding: 0;
}

.test-home-page #ajax-load-more .alm-load-more-btn {
  display: inline-block;
  width: auto;
  min-width: 200px;
  background: #FF0055 !important;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  height: auto;
  cursor: pointer;
  transition: background 0.2s ease;
}

.test-home-page #ajax-load-more .alm-load-more-btn:hover,
.test-home-page #ajax-load-more .alm-load-more-btn:focus {
  background: #e0004b !important;
  color: #fff !important;
}

.test-home-page #ajax-load-more .alm-load-more-btn.done {
  display: none;
}

.test-home-page #ajax-load-more .single-event {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.test-home-page #ajax-load-more .single-event-text,
.test-home-page #ajax-load-more .single-event-text * {
  min-width: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.test-home-page #ajax-load-more .single-event-text {
  width: 100%;
  position: static;
  padding-left: 0;
  padding-top: 14px;
}

.test-home-page #ajax-load-more .single-event-image {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: none;
  background: #111;
}

.test-home-page #ajax-load-more .single-event-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.test-home-page #ajax-load-more .single-event-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.test-home-page #ajax-load-more .single-event-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #050505 100%);
}

.test-home-page #ajax-load-more .single-event-image-placeholder img {
  width: 34px;
  height: auto;
  object-fit: contain;
  filter: invert(1) grayscale(1) opacity(0.5);
}

.test-home-page #ajax-load-more .single-event:hover .single-event-image img {
  transform: scale(1.05);
}

.test-home-page #ajax-load-more .single-event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #ffffff;
  border-radius: 0;
  padding: 6px 10px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.test-home-page #ajax-load-more .single-event-date-badge .badge-month {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.test-home-page #ajax-load-more .single-event-date-badge .badge-day {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.test-home-page #ajax-load-more .events-box-cta {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.test-home-page #ajax-load-more .single-event:hover .events-box-cta {
  opacity: 1;
}

.test-home-page #ajax-load-more .events-box-cta a {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #fff;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none !important;
}

.test-home-page #ajax-load-more .event-info-box-region {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.test-home-page #ajax-load-more .single-event-text h2 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.3;
}

.test-home-page #ajax-load-more .single-event-text h2 a {
  color: #111 !important;
  font-weight: 700;
  text-decoration: none;
}

.test-home-page #ajax-load-more .single-event-text h2 a:hover {
  color: #FF0055 !important;
}

.test-home-page #ajax-load-more .event-info-box-venue {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #555;
  margin-bottom: 2px;
}

.test-home-page #ajax-load-more .event-info-box-date {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #888;
}

@media (max-width: 640px) {
  .test-home-page .test-featured-head {
    padding: 0 24px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .test-home-page .test-featured-head h1 {
    font-size: 21px;
  }

  .test-home-page .test-view-all-events {
    font-size: 13px;
  }

  .test-home-page #ajax-load-more {
    padding: 0 24px 16px;
  }

  .test-home-page #ajax-load-more .alm-listing {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Reference layout: a horizontal row per event (small square thumb +
     badge on the left, details on the right) instead of stacked cards. */
  .test-home-page #ajax-load-more .single-event {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
  }

  .test-home-page #ajax-load-more .single-event:first-child {
    padding-top: 0;
  }

  .test-home-page #ajax-load-more .single-event-image {
    flex: 0 0 42%;
    width: auto;
    aspect-ratio: 1 / 1;
  }

  .test-home-page #ajax-load-more .single-event-text {
    flex: 1 1 0;
    min-width: 0;
    padding-top: 0;
  }

  .test-home-page #ajax-load-more .single-event-date-badge {
    top: 8px;
    left: 8px;
    padding: 5px 8px;
  }

  .test-home-page #ajax-load-more .single-event-date-badge .badge-month {
    font-size: 10px;
  }

  .test-home-page #ajax-load-more .single-event-date-badge .badge-day {
    font-size: 15px;
  }

  .test-home-page #ajax-load-more .event-info-box-region {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .test-home-page #ajax-load-more .single-event-text h2 {
    font-size: 15px;
    margin: 0 0 4px;
  }

  .test-home-page #ajax-load-more .event-info-box-venue,
  .test-home-page #ajax-load-more .event-info-box-date {
    font-size: 13px;
  }

  /* Hover-only "Watch" overlay serves no purpose on a small touch thumbnail. */
  .test-home-page #ajax-load-more .events-box-cta {
    display: none;
  }
}

/* ==========================================================================
   News & Music
   ========================================================================== */
.test-home-page .news-music-section {
  background: #fff;
  padding: 40px 0;
}

.test-home-page .news-music-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.test-home-page .news-music-head {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.test-home-page .news-music-head h2 {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
  white-space: nowrap;
}

.test-home-page .news-music-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
}

.test-home-page .news-tab-btn {
  background: none;
  border: none;
  padding: 4px 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #999;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.test-home-page .news-tab-btn.active {
  color: #111;
  border-bottom-color: #FF0055;
}

.test-home-page .news-tab-btn:hover {
  color: #111;
}

.test-home-page .news-music-more {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-decoration: none !important;
  white-space: nowrap;
}

.test-home-page .news-music-more:hover {
  color: #FF0055;
}

.test-home-page .news-tab-panel {
  display: none;
}

.test-home-page .news-tab-panel.active {
  display: block;
}

.test-home-page .news-music-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 1fr);
  gap: 27px;
}

.test-home-page .news-music-featured {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.test-home-page .news-music-featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 16px;
  background: #111;
}

.test-home-page .news-music-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.test-home-page .news-music-featured-image.no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #050505 100%);
}

.test-home-page .news-music-featured-image.no-thumb img {
  width: 40px;
  height: auto;
  object-fit: contain;
  filter: invert(1) grayscale(1) opacity(0.5);
}

.test-home-page .news-music-featured-cat {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #FF0055;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.test-home-page .news-music-featured h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.25;
}

.test-home-page .news-music-featured p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 14px;
}

.test-home-page .news-music-readmore {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.test-home-page .news-music-featured:hover .news-music-readmore {
  color: #FF0055;
}

.test-home-page .news-music-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.test-home-page .news-music-list-item {
  display: flex;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  text-decoration: none !important;
  color: inherit;
}

.test-home-page .news-music-list-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.test-home-page .news-music-list-thumb {
  flex: 0 0 37%;
  width: auto;
  aspect-ratio: 3 / 2;
  height: auto;
  border-radius: 0;
  overflow: hidden;
  background: #111;
}

.test-home-page .news-music-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.test-home-page .news-music-list-thumb.no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #050505 100%);
}

.test-home-page .news-music-list-thumb.no-thumb img {
  width: 22px;
  height: auto;
  object-fit: contain;
  filter: invert(1) grayscale(1) opacity(0.5);
}

.test-home-page .news-music-list-text {
  min-width: 0;
  flex: 1 1 auto;
}

.test-home-page .news-music-list-cat {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #FF0055;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.test-home-page .news-music-list-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.35;
}

.test-home-page .news-music-list-item:hover h4 {
  color: #FF0055;
}

@media (max-width: 900px) {
  .test-home-page .news-music-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .test-home-page .news-music-container {
    padding: 0 24px;
  }

  .test-home-page .news-music-tabs {
    gap: 14px;
    overflow-x: auto;
  }
}

/* ==========================================================================
   Stay in the Know - Newsletter Bar
   ========================================================================== */
.test-home-page .stay-know-section {
  background: #f4f4f4;
  padding: 36px 0;
}

.test-home-page .stay-know-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 64px;
  flex-wrap: wrap;
}

.test-home-page .stay-know-text {
  flex: 0 0 auto;
  max-width: 400px;
}

/* <form> printed by [newsletter_form form="2"]; the fields row is .stay-know-fields */
.test-home-page .stay-know-container form {
  flex: 1 1 0;
  min-width: 560px;
  margin: 0;
}

.test-home-page .stay-know-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 4px;
}

.test-home-page .stay-know-text p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0;
}

.test-home-page .stay-know-fields {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}

.test-home-page .stay-know-fields input,
.test-home-page .stay-know-fields select {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #111;
  height: 44px;
  box-sizing: border-box;
}

.test-home-page .stay-know-fields button {
  background: #FF0055;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 28px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.test-home-page .stay-know-fields button:hover {
  background: #e0004b;
}

.test-home-page .stay-know-note {
  width: 100%;
  text-align: right;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .test-home-page .stay-know-container {
    padding: 0 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .test-home-page .stay-know-container form {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }

  .test-home-page .stay-know-fields {
    width: 100%;
  }

  .test-home-page .stay-know-fields input,
  .test-home-page .stay-know-fields select {
    flex: 1 1 auto;
  }

  .test-home-page .stay-know-note {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .test-home-page .stay-know-section {
    padding: 28px 16px;
  }

  /* Reference design: a centered card with each field stacked full-width,
     rather than the email input alone filling a row while the city select
     and subscribe button wrap onto a shared second row. */
  .test-home-page .stay-know-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 28px 20px;
    background: #f4f4f4;
    border-radius: 10px;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .test-home-page .stay-know-text {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .test-home-page .stay-know-text h2 {
    font-size: 20px;
  }

  .test-home-page .stay-know-fields {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .test-home-page .stay-know-fields input,
  .test-home-page .stay-know-fields select {
    width: 100%;
    flex: none;
  }

  .test-home-page .stay-know-fields button {
    width: 100%;
  }

  .test-home-page .stay-know-note {
    text-align: center;
    margin-top: 14px;
  }
}

/* City dropdown (theme's nice-select). The page wrapper (#flownews-outer-wrap) has
   overflow:hidden and ends right where the footer starts, so a list opening
   downward is cut off at the footer. Open it upward instead and cap its height
   so the 14 cities scroll. */
.test-home-page .stay-know-fields .nice-select .list {
  top: auto !important;
  bottom: calc(100% + 6px);
  margin: 0;
  transform-origin: 50% 100%;
  max-height: 260px;
  overflow-y: auto;
}

/* Ad banner placed between Featured Events and News & Music */
.test-home-page .content-banner.otherpages-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto 40px;
  padding: 0 40px;
  box-sizing: border-box;
  text-align: center;
  background: transparent;
}

/* Rectangle ads (flexrec / medrec) from the old front-page sidebar */
.test-home-page .content-banner .ad-slot-rect {
  flex: 0 0 auto;
  min-width: 300px;
}

/* Ad below the newsletter bar */
.test-home-page .content-banner.otherpages-banner.ad-after-newsletter {
  justify-content: center;
  margin: 40px auto;
}
