/**
 * Veterans Day page — full-bleed hero, content shell, grid tuning.
 * Enqueued when any [vdd_veterans_day_*] shortcode renders.
 */

/* Bricks shortcode wrapper: don’t clip the hero band */
.brxe-shortcode:has(.vdd-vd-hero-bleed),
.brxe-shortcode:has(.vdd-vd-shell) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
}

/* Full-width black hero band (escapes Bricks container width) */
.vdd-vd-hero-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

/* Full-width tan band behind search bar */
.vdd-vd-search-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #e9e5dc;
  box-sizing: border-box;
}

.vdd-vd-hero-bleed .vdd-main-section {
  width: 100%;
  padding: 0;
  margin: 0;
  border-top: 3px solid #19242c;
}

.vdd-vd-shell {
  width: 100%;
  max-width: 1362px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 64px;
  padding-right: 64px;
  box-sizing: border-box;
}

.vdd-vd-shell--hero {
  padding-top: 48px;
  padding-bottom: 44px;
}

.vdd-vd-shell--search {
  padding-top: 40px;
  padding-bottom: 28px;
}

.vdd-vd-shell--search .vdd-deal-search--veterans-day {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.vdd-vd-shell--grid {
  padding-bottom: 56px;
}

/* Match home hero proportions — same flex split, same carousel sizing */
.vdd-veterans-day-hero .vdd-main-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
}

.vdd-veterans-day-hero .vdd-main-explainer {
  flex: 1 1 30%;
  max-width: 360px;
}

.vdd-veterans-day-hero .vdd-main-featured {
  flex: 1 1 52%;
  max-width: 100%;
}

.vdd-veterans-day-hero .vdd-featured-slide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vdd-veterans-day-hero .vdd-featured-brand-card,
.vdd-veterans-day-hero .vdd-featured-brand-card--spacer {
  width: 100%;
  max-width: 292px;
  height: 128px;
  padding: 20px 34px;
}

.vdd-veterans-day-hero .vdd-featured-brand-logo img {
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.vdd-veterans-day-hero .vdd-featured-dots {
  margin-top: 20px;
  padding-bottom: 2px;
}

/* Grid block on this page */
.vdd-grid-wrap--veterans-day {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.vdd-grid-wrap--veterans-day .vdd-grid-head {
  margin-bottom: 22px;
  align-items: flex-end;
}

.vdd-grid-wrap--veterans-day .vdd-grid-title {
  font-size: 30px;
}

.vdd-grid-wrap--veterans-day .vdd-grid-title span {
  font-size: 18px;
}

.vdd-grid-wrap--veterans-day .vdd-grid-cards {
  align-items: stretch;
}

.vdd-grid-wrap--veterans-day .vdd-grid-card,
.vdd-grid-wrap--veterans-day article.vdd-grid-card {
  min-height: 0;
  height: auto;
}

.vdd-grid-wrap--veterans-day .vdd-grid-card-brand-link {
  min-height: 72px;
  padding: 14px 12px 6px;
}

.vdd-grid-wrap--veterans-day .vdd-grid-card-title {
  min-height: 0;
  padding-bottom: 10px;
}

.vdd-grid-wrap--veterans-day .vdd-grid-card-brand {
  font-size: 16px;
  padding-bottom: 6px;
}

@media (max-width: 980px) {
  .vdd-vd-shell,
  .vdd-vd-shell--hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .vdd-vd-shell--hero {
    padding-top: 32px;
    padding-bottom: 36px;
  }

  .vdd-vd-shell--search {
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .vdd-veterans-day-hero .vdd-main-container {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .vdd-veterans-day-hero .vdd-main-explainer,
  .vdd-veterans-day-hero .vdd-main-featured {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .vdd-veterans-day-hero .vdd-featured-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .vdd-veterans-day-hero .vdd-featured-brand-card,
  .vdd-veterans-day-hero .vdd-featured-brand-card--spacer {
    max-width: 292px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 900px) {
  .vdd-grid-wrap--veterans-day .vdd-grid-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vdd-grid-wrap--veterans-day .vdd-grid-title {
    font-size: 26px;
  }
}
