/* Root Variables */
:root {
  /* Layout */
  --container-padding: clamp(1rem, 3vw, 3rem);
  --container-width-max: 100%;
  --content-max-width: 2000px;
  
  /* Components */
  --card-border-radius: 0px;
  --transition-speed: 0.3s;
  
  /* Glow Effects */
  --glow-color-blue: rgba(4, 219, 238, 0.2);
  --glow-color-white: rgba(255, 255, 255, 0.2);
  --glow-spread: 15px;
  --glow-blur: 20px;
  --lift-amount: -8px;
}

/* Base Styles */
body {
  margin: 0;
  padding: 0;
  background-color: var(--variable-collection-HBO-1);
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  background-color: var(--variable-collection-HBO-1);
  width: 100%;
}

/* Layout & Container */
.site-header,
main,
.footer-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* Header Styles */
.site-header {
  position: relative;
  width: 100vw;
  padding: 0;
}

.top-bar {
  background-color: #000000;
  padding: 1.2rem 0;
  text-align: center;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.logo-container {
  display: flex;
  justify-content: center;
  padding: 0 3rem;
}

.company-logo {
  width: auto;
  height: 60px;
}

/* Mobile logo adjustments */
@media (max-width: 768px) {
  .company-logo {
    height: 40px;
  }
}

/* Navigation */
.main-nav {
  background-color: #fff;
  padding: 0.1rem 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.nav-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-family: var(--navigation-font-family);
  font-weight: var(--navigation-font-weight);
  color: #000;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
}

.nav-icon {
  transition: transform var(--transition-speed) ease;
}

.nav-item:hover .nav-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--variable-collection-HBO-1);
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-speed);
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 8px 0;
  z-index: 100;
  margin-top: 8px;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--variable-collection-white);
  text-decoration: none;
  transition: background-color 0.2s ease;
  font-family: var(--navigation-font-family);
  font-size: 20px;
  white-space: nowrap;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Utility Navigation */
.utility-nav {
  display: none; /* Hidden on mobile */
}

/* Hero Section */
.hero {
  position: relative;
  height: auto;
  margin-bottom: 2rem;
  overflow: hidden;
  width: 100vw; /* Full viewport width */
  margin-left: calc(-50vw + 50%); /* Offset the container padding */
  margin-right: calc(-50vw + 50%);
}

@media (max-width: 768px) {
  .hero {
    margin-bottom: 0;
  }
}

.slider-container {
  position: relative;
  height: auto;
  display: flex;
  transition: transform 1s ease-in-out;
  width: 100%;
  max-width: none;
}

.slide {
  min-width: 100%;
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  object-position: top;
}

/* On ultrawide displays, adjust height to show full image without black bars */
@media (min-width: 1920px) {
  .slide img {
    object-fit: contain;
    max-height: none;
    height: auto;
  }
}



.slide-content {
  position: absolute;
  bottom: 180px;
  right: max(var(--container-padding), calc((100vw - var(--content-max-width)) / 2 + var(--container-padding))); /* Align with content */
  transform: none;
  text-align: right;
  color: #ffffff;
  max-width: 500px;
  z-index: 5;
  width: 100%;
  padding: 0 20px;
}

.slide-content h2 {
  font-family: var(--h2-font-family);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.slide-content p {
  font-family: var(--body-font-family);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  opacity: 1;
}

.slide-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--variable-collection-white);
  color: var(--variable-collection-HBO-1);
  font-family: var(--navigation-font-family);
  font-size: var(--navigation-font-size);
  font-weight: var(--navigation-font-weight);
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed);
  text-decoration: none;
}

.slide-button:hover {
  transform: translateY(var(--lift-amount));
  box-shadow: 0 0 var(--glow-blur) calc(var(--glow-spread) / 2) var(--glow-color-white);
}

.slider-navigation {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 10;
  width: 100%;
  max-width: var(--content-max-width);
}

/* On ultrawide displays, make navigation responsive to image size */
@media (min-width: 1920px) {
  .slider-navigation {
    max-width: none;
    width: 100%;
    padding: 0 4rem;
  }
}

/* Mobile styles for slider navigation */
@media (max-width: 768px) {
  .slider-navigation {
    position: relative;
    background-color: #000;
    padding: 1rem 2rem;
    margin: 0;
    transform: none;
    left: auto;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--variable-collection-color);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--variable-collection-white);
}

.slider-buttons {
  display: flex;
  gap: 1rem;
}

.slider-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile styles for slider buttons */
@media (max-width: 768px) {
  .slider-button {
    width: 36px;
    height: 36px;
  }
  
  .slider-button img {
    width: 16px;
    height: 16px;
  }
}

h2.form-headline {
  text-align: center; 
  font-family: var(--h4-font-family); 
  font-size: 26px; 
  font-weight: 700; 
  color: var(--variable-collection-white); 
  margin-bottom: 1rem;
}

/* Apply hover effects only on devices with hover capability */
@media (hover: hover) {
  .slider-button:hover {
    transform: scale(1.1);
  }
}

/* Remove hover effects for touch devices */
@media (hover: none) {
  .slider-button:hover {
    transform: none;
  }
}

/* Section Spacing */
.dealer-resources {
  margin-bottom: 2rem;
}

.revenue-opportunities {
  margin-bottom: 2rem;
}

.programming {
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: .5rem;
}
/* Regular text style for most headers */
.section-header h1,
.section-header h2,
.revenue-opportunities .section-header h2 {
  color: #ffffff;
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  opacity: 1;
  text-transform: none;
  margin-bottom: 0.1rem;
}

/* Large headline style for Programming and Brand Reel */
.programming .section-header h2 {
  font-family: var(--h2-font-family);
  font-size: var(--h2-font-size);
  font-weight: var(--h2-font-weight);
  line-height: var(--h2-line-height);
  opacity: 1;
  margin-bottom: 0.1rem;
  letter-spacing: .5px;
}

.section-header p {
  color: #ffffff;
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  opacity: 1;
}

/* Card Grids */
.resources-grid,
.opportunities-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.program-grid {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.program-grid a.program-card {
  position: relative;
}

/* Card Typography Updates */
.card-content h2,
.card-content h3 {
  font-family: var(--h4-font-family);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: 1px;
  max-width: 80%;
  color: #ffffff;
}

/* Resource & Opportunity Cards */
.resource-card,
.opportunity-card {
  background: linear-gradient(to right, #444 0%, #AAA 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 1.5rem 2rem;
  color: #ffffff;
  transition: all var(--transition-speed);
  background-color: transparent;
  border: none;
  height: 120px;
  display: flex;
  align-items: center;
}

.opportunity-card {
  background: linear-gradient(to right, #444 0%, #AAA 100%);
}

.card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: #ffffff;
  padding: 1rem 1.5rem;
  height: 100%;
}

/* Regular Program Cards */
.program-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.program-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.hover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity var(--transition-speed);
  z-index: 1;
}

.program-card .hover-content h3 {
  font-family: var(--h4-font-family);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: 1px;
  line-height: 1.2;
  width: 100%;
}

.program-card .hover-content p {
  font-family: var(--body-font-family);
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  opacity: 0.9;
  width: 100%;
}

/* Program Schedule Link - Disable All Hover Effects */
a.program-schedule-link {
  pointer-events: none;
}

.program-schedule-link .hover-content,
.program-schedule-link::before {
  display: none;
}

/* Program Schedule Link */
.program-schedule-link {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  padding: 1rem 1rem 2rem;
  color: white;
  text-decoration: none;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.schedule-header h3 {
  font-family: var(--h4-font-family);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: white;
  transition: color var(--transition-speed);
  letter-spacing: -0.3px;
}

.schedule-header img {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-speed);
}

/* Hide old program schedule */
.program-schedule {
  display: none;
}

/* Brand Reel Section */
.video-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-speed);
}

.play-button:hover {
  transform: scale(1.1);
}

/* Footer */
.site-footer {
  background-color: #000000;
  padding: 5rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--variable-collection-white);
  margin: 2rem 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--variable-collection-white);
  text-decoration: underline;
  font-family: var(--text-small-link-font-family);
  font-size: var(--text-small-link-font-size);
}

.copyright {
  color: var(--variable-collection-white);
  font-family: var(--text-small-normal-font-family);
  font-size: var(--text-small-normal-font-size);
}

/* Utility Classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Media Queries */
@media (min-width: 768px) {
  :root {
    --container-padding: clamp(2rem, 4vw, 4rem);
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .utility-nav {
    display: block;
    position: absolute;
    top: 1rem;
    right: var(--container-padding);
  }

  .utility-list {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .footer-links {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .resources-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .opportunities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .program-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Consistent Hover Effects */
.nav-link:hover,
.dropdown-link:hover,
.card-content:hover,
.footer-nav a:hover {
  opacity: 0.9;
  transition: opacity var(--transition-speed);
}

/* Button Base Styles */
.dealer-card-button,
.claim-rebate-button,
.claim-button,
.download-button {
  width: calc(100% - 3rem);
  max-width: 400px;
  margin: 0 1.5rem;
  padding: 1.25rem;
  color: var(--variable-collection-white);
  background-color: #000000;
  border: none;
  border-radius: 50px;
  font-family: var(--navigation-font-family);
  font-weight: var(--navigation-font-weight);
  font-size: 21px;
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Button Hover Effects */
@media (hover: hover) {
  /* Form buttons should only lift */
  form .claim-button:hover,
  form .download-button:hover,
  form .slider-button:hover,
  form .play-button:hover {
    transform: translateY(var(--lift-amount));
    opacity: 0.9;
  }

  /* Forms themselves should not lift */
  form:hover {
    transform: none;
  }
}

/* Form container styles */
.form-container {
    transition: none;
}

.form-container:hover {
    transform: none;
    box-shadow: none;
}



/* Card Base Styles */
.resource-card,
.opportunity-card,
.sell-sheet-card,
.video-card,
.dealer-card,
.logo-card {
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

/* Card Hover Effects */
.resource-card:hover,
.opportunity-card:hover
{
  transform: translateY(var(--lift-amount));
}

/* Apply hover effects only on devices that support hover */
@media (hover: hover) {
  .program-card:hover img {
    transform: scale(1.1);
  }

  .program-card:hover .hover-content {
    opacity: 1;
  }
}

/* Touch device handling */
@media (hover: none) {
  .program-card {
    -webkit-tap-highlight-color: transparent;
  }

  .program-card:active img,
  .program-card.active img {
    transform: scale(1.1);
  }

  .program-card:active .hover-content,
  .program-card.active .hover-content {
    opacity: 1;
  }

  /* Remove transitions on touch devices for immediate feedback */
  .program-card img,
  .hover-content {
    transition: none;
  }
}

/* Dealer Dollars Page Styles */
.dealer-dollars-content {
  background-color: #181919;
  position: relative;
  overflow: hidden;
  min-height: 25vh;
  padding-bottom: 4rem;
}

.dealer-dollars-hero {
  position: relative;
  padding-top: 4rem;
  margin: 0 auto;
  max-width: var(--content-max-width);
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.dealer-dollars-hero .section-header {
  margin-bottom: 2rem;
}

.dealer-dollars-hero .section-header h1,
.section-header h1 {
  font-family: var(--h1-font-family);
  font-size: 48px;
  font-weight: var(--h1-font-weight);
  line-height: 1.1;
  color: var(--variable-collection-white);
  margin-bottom: 2rem;
}

.dealer-dollars-hero .section-header p,
.section-header p {
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: 1.5;
  color: var(--variable-collection-white);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.dealer-dollars-hero .section-header p:last-child,
.section-header p:last-child {
  margin-bottom: 0;
}

.dealer-dollars-hero .section-header a {
  color: var(--variable-collection-white);
  text-decoration: underline;
}

.dealer-dollars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.left-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr; /* Change to auto for first row */
  gap: 2rem;
}

.dealer-card {
  position: relative;
  width: 100%;
  background-image: none;
  background-color: black;
}

/* Style specifically for top row cards */
.left-section .dealer-card:not(.wide-card) {
  padding-top: 64.29%; /* 450/700 = 0.6429 or 64.29% to maintain 700x450 aspect ratio */
  height: auto;
}

/* Style for bottom wide card */
.left-section .wide-card {
  padding-top: 70%; /* 700/1000 = 0.7 or 70% to maintain 1000x700 aspect ratio */
  height: auto;
  grid-column: span 2;
}



.dealer-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.dealer-card-button {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 2rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--variable-collection-white);
  border: none;
  border-radius: 50px;
  font-family: var(--navigation-font-family);
  font-weight: var(--navigation-font-weight);
  font-size: var(--navigation-font-size);
  transition: all var(--transition-speed);
  cursor: pointer;
  width: auto;
  min-width: 200px;
  text-align: center;
}

/* Button hover effects - Split into two groups based on positioning needs */


.download-button:hover {
    background-color: rgba(0, 0, 0, 1);
    transform: translateY(var(--lift-amount));
    transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* The bottom card that spans two columns */
.wide-card {
  grid-column: span 2;
}

.claim-rebate-card {
  background-color: #202020;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.claim-rebate-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.claim-rebate-button {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 3rem;
  font-family: var(--card-title-font-family);
  font-size: var(--card-title-font-size);
  font-weight: var(--card-title-font-weight);
  background-color: #000;
  color: var(--variable-collection-white);
  border: none;
  border-radius: 50px;
  box-shadow: var(--card-default);
  transition: all var(--transition-speed);
  cursor: pointer;
  white-space: nowrap;
}

.background-gradient {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    var(--variable-collection-HBO-2) 0%,
    transparent 100%
  );
  opacity: 0.3;
  pointer-events: none;
}

/* Hospitality Page Specific Styles */
.hospitality-grid {
  width: 100%;
  margin: 0 auto;
}

.hospitality-grid .claim-rebate-card {
  width: 100%;
  position: relative;
  height: 640px; /* Set a specific height */
}

.hospitality-grid .claim-rebate-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hospitality-grid .claim-rebate-button {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 3rem;
  font-family: var(--card-title-font-family);
  font-size: var(--card-title-font-size);
  font-weight: var(--card-title-font-weight);
  background-color: #000;
  color: var(--variable-collection-white);
  border: none;
  border-radius: 50px;
  box-shadow: var(--card-default);
  transition: all var(--transition-speed);
  cursor: pointer;
  white-space: nowrap;
  z-index: 2;
}

.dealer-card-button:hover,
.claim-rebate-button:hover {
    background-color: rgba(0, 0, 0, 1);
    transform: translateX(-50%) translateY(var(--lift-amount));
    transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Responsive adjustments */
@media (max-width: 1240px) {
  .dealer-dollars-hero .section-header {
    max-width: 90%;
    padding: 2rem 0;
  }
}

@media (max-width: 768px) {
  .dealer-dollars-hero .section-header {
    padding: 1.5rem 0;
  }
}

/* Specific padding for max page programming section */
.dealer-dollars-content .programming {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--container-padding);
}

@media (max-width: 1024px) {
  .programming .program-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .programming .program-grid {
    grid-template-columns: 1fr;
  }
}

/* Sales Material Page Styles */
.sales-material-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Video Card */
.video-card {
  position: relative;
  background-color: #fff;
  border-radius: 0;
  overflow: hidden;
}

/* Download Button Groups */
.download-button-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  padding: 0 1.5rem;
  padding-bottom: 20px;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  background: #000;
}

.video-image {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-speed);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Sell Sheet Card */
.sell-sheet-card {
  position: relative;
  background-color: transparent;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sell-sheet-content {
  position: relative;
  padding: 1.5rem;
}

.tag {
  display: inline-block;
  background-color: var(--variable-collection-max-light-blue);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 0;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.sell-sheet-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.sell-sheet-content h2 {
  font-family: var(--h3-font-family);
  font-size: var(--h3-font-size);
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.sell-sheet-content p {
  color: #ffffff;
  opacity: 1;
}

/* Download Buttons */
.download-button {
  width: calc(100% - 3rem);
  margin: 0 1.5rem;
  padding: 1.25rem;
  color: var(--variable-collection-white);
  background-color: #000000;
  border: none;
  border-radius: 50px;
  font-family: var(--navigation-font-family);
  font-weight: var(--navigation-font-weight);
  font-size: 21px;
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.claim-button,
.download-button {
  width: calc(100% - 3rem);
  margin: 0 1.5rem;
  padding: 1.25rem;
  color: var(--variable-collection-white);
  background-color: #000000;
  border: none;
  border-radius: 50px;
  font-family: var(--navigation-font-family);
  font-weight: var(--navigation-font-weight);
  font-size: 21px;
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.claim-button:hover,
.download-button:hover {
  transform: translateY(var(--lift-amount));
  box-shadow: 0 0 var(--glow-blur) calc(var(--glow-spread) / 2) rgba(255, 255, 255, 0.15);
  background-color: #000000;
}

/* Logos Section */
.logos-section {
  padding: 0 var(--container-padding);
  margin-bottom: 4rem;
}

.logos-section h2 {
  font-family: var(--h2-font-family);
  font-size: var(--h2-font-size);
  color: #ffffff;
  margin-bottom: 2rem;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.logo-card {
  position: relative;
  background-color: #fff;
  border-radius: 0;
  overflow: hidden;
}

.logo-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .sales-material-grid {
    grid-template-columns: 1fr;
  }
  
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .logos-grid {
    grid-template-columns: 1fr;
  }
}

/* Logo Card Styles */
.logo-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background-color: #fff; /* Match button color */
}

.logo-preview {
  width: 100%;
  aspect-ratio: 3/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin: 0;
}


.logo-preview img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

/* Background variants */
.logo-preview--white {
  background-color: #ffffff;
}

.logo-preview--black {
  background-color: #000000;
}

.logo-preview--gray {
  background-color: #202020;
}

.download-button {
  width: 100%;
  padding: 1rem;
  background-color: #000000;
  color: var(--variable-collection-white);
  border: none;
  font-family: var(--navigation-font-family);
  font-weight: var(--navigation-font-weight);
  font-size: 1rem;
  text-wrap: wrap;
  cursor: pointer;
  transition: background-color var(--transition-speed);
  text-align: center;
  display: block;
  text-decoration: none;
  margin-top: -4px;
}

.download-button:hover {
  background-color: #000000;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .logos-grid {
    grid-template-columns: 1fr;
  }
}

.card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: #ffffff;
  padding: 1rem 1.5rem;
  height: 100%;
}

.discover-content {
  justify-content: flex-start !important;
  gap: 0.1rem;
}

.discover-content h2 {
  font-size: 28px;
  letter-spacing: -0.5px;
}

.discover-content .max-logo {
  margin-left: 2px;
  position: relative;
  top: 3px;
}

/* Update hover effects to account for links */
@media (hover: hover) {
  .card-content:hover {
    opacity: 0.9;
  }
}


/* Program Grid Styles */
.program-grid {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.programming .program-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(100px, 1fr)) !important;
  gap: 0.7rem !important;
  margin-top: .5rem;
}

.homepage-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

@media (max-width: 1024px) {
  .programming .program-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .programming .program-grid {
    grid-template-columns: 1fr !important;
  }
}



/* Responsive breakpoints for homepage grid */
@media (max-width: 1700px) {
  .program-grid.homepage-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 1400px) {
  .program-grid.homepage-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}



@media (max-width: 768px) {
  .program-grid.homepage-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .program-grid.homepage-grid {
    grid-template-columns: 1fr !important;
  }
}

/* MAX page specific grid */
.max-grid {
  grid-template-columns: repeat(5, 1fr);
}

/* Hospitality Page Layout */
.hospitality-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
  margin-bottom: 4rem;
}

.hospitality-text {
  padding-right: 2rem;
}

.hospitality-text h1 {
  font-family: var(--h1-font-family);
  font-size: 48px;
  font-weight: var(--h1-font-weight);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hospitality-text p {
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: 1.5;
  color: #ffffff;
  opacity: 1;
  margin-bottom: 1.5rem;
}

.hospitality-text p:last-child {
  margin-bottom: 0;
}

.hospitality-text a {
  color: #ffffff;
  text-decoration: underline;
}

.hospitality-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hospitality-cards.value-max {
  width: 100%;
  margin: 0 auto;
}

.bottom-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* New styles for the rebate cards */
.main-card {
  margin-bottom: 2rem;
}

.claim-button {
  width: calc(100% - 3rem);
  margin: 0 1.5rem;
  padding: 1.25rem;
  color: var(--variable-collection-white);
  background-color: #000000;
  border: none;
  border-radius: 50px;
  font-family: var(--navigation-font-family);
  font-weight: var(--navigation-font-weight);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.claim-button:hover {
  box-shadow: 0px 0px 20px rgba(4, 219, 238, 0.5);
}

.chain-specific-rebates {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.rebate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.sell-sheet-card {
  background-color: transparent;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.sell-sheet-content {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.sell-sheet-content img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.sell-sheet-content h2 {
  font-family: var(--h4-font-family);
  font-size: 26px;
  font-weight: 700;
  color: var(--variable-collection-HBO-1);
  margin-bottom: 1rem;
  text-align: center;
  max-width: 80%;
}

.claim-button,
.download-button {
  width: calc(100% - 3rem);
  margin: 0 1.5rem;
  padding: 1.25rem;
  color: var(--variable-collection-white);
  background-color: #000000;
  border: none;
  border-radius: 50px;
  font-family: var(--navigation-font-family);
  font-weight: var(--navigation-font-weight);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.claim-button:hover,
.download-button:hover {
  transform: translateY(var(--lift-amount));
  box-shadow: 0 0 var(--glow-blur) calc(var(--glow-spread) / 2) rgba(255, 255, 255, 0.15);
  background-color: #000000;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .rebate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hospitality-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hospitality-text {
    padding-right: 0;
  }

  .hospitality-text h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .rebate-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bottom-cards {
    grid-template-columns: 1fr;
  }

  /* Fix claim-rebate-button positioning on mobile */
  .claim-rebate-button {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 100%;
    margin: 0;
  }

  .claim-rebate-button:hover {
    transform: translateX(-50%) translateY(var(--lift-amount));
  }
}

.card-with-background {
  position: relative;
  height: 312px;
  background-color: transparent;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 30px;
}

.card-with-background .claim-button,
.card-with-background .download-button {
  margin: 0 auto;
  width: calc(100% - 100px);
  z-index: 2;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
}

/* Remove these styles for the top cards since we're using background images */
.card-with-background .sell-sheet-content {
  display: none;
}

/* Card Transitions */
.sell-sheet-card {
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.claim-button,
.download-button {
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.claim-button:hover,
.download-button:hover {
  transform: translateY(var(--lift-amount));
  box-shadow: 0 0 var(--glow-blur) calc(var(--glow-spread) / 2) rgba(255, 255, 255, 0.15);
  background-color: #000000;
}

/* Program Schedule Card - Completely Separate */
.program-grid a.program-card {
  pointer-events: auto;
  cursor: pointer;
}

.program-grid a.program-card:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.program-grid a.program-card .hover-content,
.program-grid a.program-card::before {
  display: none;
}

/* Program Schedule Card Text Styling */
.program-grid a.program-card {
  position: relative;
}

.program-grid a.program-card .schedule-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--variable-collection-white);
  font-family: var(--navigation-font-family);
  font-size: 18px;
  font-weight: var(--navigation-font-weight);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Card Grid Spacing */
.programming .program-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  row-gap: 0.7rem !important;
  column-gap: 0.7rem !important;
  margin-top: 2rem;
}

/* Keep index page title size original */
.homepage .section-header h1 {
  font-size: 62px;
}

.logo-group {
  margin-bottom: 4rem;
}

.logo-group h2 {
  color: #ffffff;
  margin-bottom: 2rem;
  font-family: var(--h2-font-family);
  font-size: var(--h2-font-size);
  font-weight: var(--h2-font-weight);
}

.logo-group:last-child {
  margin-bottom: 0;
}

/* Value of Max Page Styles */
.value-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.value-card {
  max-width: 800px;
  margin: 0 auto;
}

.value-card .card-with-background {
  height: 500px;
  cursor: pointer;
  position: relative;
}

.expand-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.expand-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 5px;
}

.close-modal:hover {
  opacity: 0.8;
}

/* Value Max Page Styles */
.value-max-card {
  height: 800px;
  width: 100%;
  cursor: pointer;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0;
  margin: 0;
}

.value-max-card:hover {
  transform: translateY(var(--lift-amount));
  box-shadow: none;
}

.hospitality-cards.value-max {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.main-card {
  padding: 0;
  margin: 0;
}

.hospitality-text .value-logos-img {
  max-width: 100%;
  height: auto;
  margin-top: 2rem;
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hospitality-text .value-logos-img:hover {
  transform: translateY(var(--lift-amount));
  box-shadow: 0 0 var(--glow-blur) var(--glow-spread) rgba(255, 255, 255, 0.15);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.rebate-details {
  margin-top: 2rem;
}

.rebate-details p {
  margin-bottom: 1.5rem;
}

.value-max-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.value-max-text {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.value-max-text .max-logo {
  width: 80px;
  height: auto;
  position: relative;
  top: 1px;
}

a.email-link {
  color: #a5c1d9 !important;
}

/* Add mobile styles */
@media (max-width: 768px) {
  .value-max-text .max-logo {
    display: none;
  }
  
  .value-max-text {
    width: 100%;
  }
  
  .value-max-text h3:after {
    content: " Max";
    font-family: var(--navigation-font-family);
    font-weight: var(--navigation-font-weight);
    font-size: inherit;
  }
}

.dealer-card .download-button-group {
  padding: 1rem 1.5rem;
}

.dealer-card .download-button {
  margin: 0 auto 1rem auto !important;
  max-width: 400px;
}



/* Mobile Menu Button */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  position: absolute;
  right: var(--container-padding);
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--variable-collection-white);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
@media (max-width: 1024px) {
  .top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem var(--container-padding);
  }

  .logo-container {
    padding: 0;
    justify-content: flex-start;
  }

  .mobile-menu-button {
    display: block;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
  }

  .mobile-menu-button span {
    background-color: white;
  }

  .logo-container {
    padding-right: 4rem;
  }

  .nav-container {
    padding: 0.5rem 0;
    position: relative;
  }

  /* Mobile Menu Overlay */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 120px; /* Start below the header (top-bar + nav height) */
    left: 0;
    width: 100%;
    height: calc(100vh - 120px); /* Subtract header height from viewport height */
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #494949;
    flex-direction: column;
    padding: 0;
    margin: 0;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .nav-list.active {
    display: flex;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 1.5rem var(--container-padding);
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #fff;
  }

  /* Dropdown Styles */
  .dropdown {
    position: static;
    width: 100%;
    display: none;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0.5rem 0;
    margin: 0;
  }

  .dropdown.active {
    display: block;
  }

  .dropdown-link {
    padding: 1.25rem 3.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
  }

  .dropdown-link:last-child {
    border-bottom: none;
  }

  .dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    padding-left: 4rem;
  }

  /* Arrow icon animation */
  .nav-icon {
    transition: transform 0.3s ease;
    opacity: 0.85;
  }

  .nav-link.active .nav-icon {
    transform: rotate(180deg);
  }

  /* Hamburger to X animation */
  .mobile-menu-button span {
    transition: all 0.3s ease;
    width: 26px;
    height: 2px;
    margin: 6px 0;
  }

  .mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  .mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Hospitality Cards Layout */
.hospitality-cards .sell-sheet-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.bottom-cards {
  display: flex;
  gap: 20px;
}

.bottom-cards .sell-sheet-card {
  flex: 1;
}

/* Override the default download button styles for hospitality cards */
.bottom-cards .download-button {
  margin: 0 auto !important; /* Center the button */
  width: 300px; /* Fixed width */
  display: block; /* Ensure margin auto works */
}

/* Chain Specific Rebates */
.chain-specific-rebates .sell-sheet-card {
  background-color: white;
}

.chain-specific-rebates .sell-sheet-card .claim-button {
  margin: 0 auto 1rem auto;
  max-width: 400px;
  width: 100%;
}

.chain-specific-rebates .sell-sheet-image {
  width: 200px;
  height: auto;
}

/* Specific logo sizes */
.chain-specific-rebates .sell-sheet-image[src*="choice-logo"],
.chain-specific-rebates .sell-sheet-image[src*="sonesta-logo"] {
  width: 300px;
}

/* Contact Info Section */
.contact-info {
  padding: 4rem var(--container-padding);
  padding: 0px;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.contact-container {
  text-align: left;
}

.contact-info h2 {
  font-family: var(--h2-font-family);
  font-size: var(--h2-font-size);
  font-weight: var(--h2-font-weight);
  line-height: var(--h2-line-height);
  color: var(--variable-collection-white);
  margin-bottom: .1rem;
}

.contact-info p {
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: 1.5;
  color: var(--variable-collection-white);
  opacity: 0.9;
}

.contact-info a {
  color: var(--variable-collection-white);
  text-decoration: underline;
  transition: opacity var(--transition-speed);
}

.contact-info a:hover {
  opacity: 0.8;
}

.claim-button {
  text-align: center;
}

/* Add mobile breakpoint styles */
@media (max-width: 768px) {
  .hero {
    margin-bottom: 1rem;
  }

  .slide {
    padding-bottom: 0;
  }

  .slide img {
    max-height: 70vh;
  }

  .slide-button {
    margin: 0 auto;
    display: inline-block;
    min-width: 200px;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
  }


  .slider-dots {
    gap: 0.75rem;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}

/* Mobile adjustments for download buttons */
@media (max-width: 768px) {
  .download-button {
    padding: 1rem 1.5rem;
    font-size: 16px;
    width: calc(100% - 2rem);
    margin: 0 1rem;
    white-space: normal;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }

  .dealer-card .download-button,
  .video-card .download-button {
    margin: 0.5rem 1rem;
  }

  .download-button-group {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Ensure buttons in groups are centered */
  .download-button-group .download-button {
    margin: 0 auto;
    width: 100%;
  }
}

/* Specific styles for dealer dollars page cards */
.dealer-dollars-grid .dealer-card {
  position: relative;
  width: 100%;
  padding-top: 0;
  height: 100%;
  background-image: none;
  background-color: black;
}

.dealer-dollars-grid .dealer-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.dealer-dollars-grid .dealer-card-button {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 400px;
  margin: 0;
}

.dealer-dollars-grid .dealer-card-button:hover {
  transform: translateX(-50%) translateY(var(--lift-amount));
}

/* Sales Material page card styles */
.sales-material-grid .dealer-card {
  background-image: url('img/sales-materials/max-sales-sheet.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  background-color: black;
  position: relative;
  padding-top: 60%; /* 600/1000 = 0.6 or 60% to maintain 1000x600 aspect ratio */
  height: auto;
}

/* small screen styles for dealer dollars grid */
@media (max-width: 1100px) {
  .dealer-dollars-grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .left-section {
    display: flex;
    flex-direction: column;
  }
}

.video-download-button {
  margin: 1rem auto !important;
  max-width: 400px;
}

/* Max Page Styles */
.max-hero {
  padding: 2rem 0;
  position: relative;
  padding-bottom: 0px
}

.max-layout {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  gap: 2rem;
  align-items: center;
}

.max-text {
  color: var(--variable-collection-white);
}

.max-text h1 {
  font-family: var(--h1-font-family);
  font-size: 48px;
  font-weight: var(--h1-font-weight);
  line-height: 1.1;
}

.max-text p {
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: 1.5;
  opacity: 0.9;
}

.max-hero-image {
  width: 100%;
  overflow: hidden;
}

.max-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Brands Section */
.max-brands {
  padding: 2rem 0;
}

.content-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.max-brands h2 {
  color: var(--variable-collection-white);
  font-family: var(--h2-font-family);
  font-size: var(--h2-font-size);
  font-weight: var(--h2-font-weight);
  margin-bottom: 2rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.brand-square {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-square:hover {
  transform: translateY(var(--lift-amount));
}

.brand-square img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .max-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .max-text {
    text-align: center;
  }

  .max-text p {
    margin: 0 auto;
  }

  .brands-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .max-hero {
    padding: 2rem 0;
  }

  .max-text h1 {
    font-size: 36px;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .brand-square {
    padding: 1.5rem;
  }
}

/* Standardize all button styles */
.dealer-card-button,
.claim-rebate-button,
.claim-button,
.download-button {
    width: calc(100% - 3rem);
    max-width: 400px;
    margin: 0 1.5rem;
    padding: 1.25rem;
    color: var(--variable-collection-white);
    background-color: #000000;
    border: none;
    border-radius: 50px;
    font-family: var(--navigation-font-family);
    font-weight: var(--navigation-font-weight);
    font-size: 21px;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: center;
}

/* Standardize hover effects */
.dealer-card-button:hover,
.claim-rebate-button:hover,
.claim-button:hover,
.download-button:hover {
    transform: translateY(var(--lift-amount));
    box-shadow: 0 0 var(--glow-blur) calc(var(--glow-spread) / 2) rgba(255, 255, 255, 0.15);
    background-color: #000000;
}

/* Special positioning for buttons inside cards */
.dealer-card-button,
.claim-rebate-button {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.dealer-card-button:hover,
.claim-rebate-button:hover {
    transform: translateX(-50%) translateY(var(--lift-amount));
}

/* Mobile Button Styles */
@media (max-width: 900px) {
  /* Standard button styles for all buttons */
  .dealer-card-button,
  .claim-rebate-button,
  .claim-button,
  .download-button,
  .slide-button {
    width: calc(100% - 2rem);
    max-width: 100%;
    margin: 0 1rem;
    padding: 1rem;
    font-size: 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }

  /* Fix for buttons inside cards */
  .dealer-card .dealer-card-button,
  .dealer-card .claim-rebate-button {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Fix hover state for positioned buttons */
  .dealer-card .dealer-card-button:hover,
  .dealer-card .claim-rebate-button:hover {
    transform: translateX(-50%) translateY(var(--lift-amount));
  }

  /* Button groups spacing */
  .download-button-group {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Ensure buttons in groups are centered */
  .download-button-group .download-button {
    margin: 0 auto;
    width: 100%;
  }
}

/* Special positioning for buttons inside cards */
.dealer-card-button,
.claim-rebate-button {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 400px;
    margin: 0;
    text-align: center;
}

/* Mobile Button Styles */
@media (max-width: 900px) {
    .dealer-card-button,
    .claim-rebate-button {
        bottom: 1rem;
        width: calc(100% - 2rem);
        max-width: 100%;
        padding: 1rem;
        font-size: 16px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .chain-specific-rebates .sell-sheet-card .claim-button {
      width: calc(100% - 2rem);
      margin: 0 1rem 1rem 1rem;
      max-width: 100%;
    }
}

/* Max Features Section */
.max-features {
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-item {
  background: rgba(255, 255, 255, 0.3);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-item:hover {
  transform: translateY(var(--lift-amount));
}

.feature-item h3 {
  font-family: var(--h3-font-family);
  font-size: 24px;
  font-weight: var(--h3-font-weight);
  color: var(--variable-collection-white);
  margin-bottom: 1rem;
}

.feature-item p {
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: 1.5;
  color: var(--variable-collection-white);
  opacity: 0.9;
}

.cta-text {
  text-align: left;
}

.cta-text p {
  font-family: var(--body-font-family);
  font-size: 24px;
  font-weight: 500;
  color: var(--variable-collection-white);
  opacity: 0.9;
}

/* Responsive adjustments for features */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-item {
    padding: 2rem 1.5rem;
  }
  
  .cta-text p {
    font-size: 20px;
  }
}

/* Sales Material page card styles */
.sales-material-grid .dealer-card {
  background-image: url('img/sales-materials/property-rebate.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  background-color: black;
  position: relative;
  padding-top: 60%; /* 600/1000 = 0.6 or 60% to maintain 1000x600 aspect ratio */
  height: auto;
}

/* MAX Sales Material page card styles */
.sales-material-grid .dealer-card-max {
  background-image: url('img/sales-materials/max-sales-sheet.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  background-color: black;
  position: relative;
  padding-top: 60%; /* 600/1000 = 0.6 or 60% to maintain 1000x600 aspect ratio */
  height: auto;
}

.sales-material-grid .dealer-card .download-button,
.sales-material-grid .dealer-card-max .download-button {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 400px;
  margin: 0;
}

.sales-material-grid .dealer-card .download-button:hover,
.sales-material-grid .dealer-card-max .download-button:hover {
  transform: translateX(-50%) translateY(var(--lift-amount));
}

/* Maintain mobile responsiveness */
@media (max-width: 900px) {
  .sales-material-grid .dealer-card .download-button,
  .sales-material-grid .dealer-card-max .download-button {
    bottom: 1rem;
    width: calc(100% - 2rem);
  }
}

@media (max-width: 900px) {
  .dealer-dollars-grid .left-section .wide-card {
    padding-top: 70%;
    height: auto;
  }
}

.program-card.active .hover-content {
  opacity: 1;
  pointer-events: auto;
}

.dealer-dollars-hero ul,
.dealer-dollars-hero li {
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  color: var(--variable-collection-white);
  list-style-type: disc;
  margin-left: 1.5em; /* ensures bullets are visible */
  margin-top: 0;
}

.dealer-dollars-hero strong,
.dealer-dollars-hero b {
  font-weight: 700 !important;
  font-family: MaxSans-Bold, MaxSans-Regular, Helvetica, Arial, sans-serif !important;
}

.dealer-dollars-hero .section-header p {
  margin-bottom: 0;        /* remove extra space below paragraph */
}

.dealer-dollars-hero .section-header ul {
  margin-top: 0;            /* remove space above list */
  padding-top: 0;
}

.dealer-dollars-hero .section-header li {
  margin-top: 0;
  padding-top: 0;
}

.dealer-dollars-hero p {
  margin-bottom: 0; /* keep no extra space before a following list */
}

.dealer-dollars-hero ul {
  margin-top: 0;           /* remove space above list */
  margin-bottom: 1em;      /* add space after list for next paragraph */
  padding-top: 0;
}