

/* -~-~-~-~-~-~-~-~-~-~-~-~-~



  Carousel Styles

  -~-~-~-~-~-~-~-~-~-~-~-~-~ */
/* Carousel window (outer frame) */
.carousel-window {
  width: 100%;
  max-width: 1080px;
  /* stops growing past this */
  overflow: hidden;
  margin: 0 auto;
  cursor: grab;
  user-select: none;
}

/* Track (slides container) */
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
  will-change: transform;
}

/* Individual cards */
.card {
  height: 542px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  background-color: orange;
  /* Responsive cards 
     Default: 1 card per page 
     2 cards per page (451px–767px) 
     3 cards per page (≥768px) */
  display: grid;
  flex: 0 0 100%;
}
@media (min-width: 451px) and (max-width: 767px) {
  .card {
    /* 2 cards with 1 gap */
    flex: 0 0 calc((100% - 20px) / 1);
  }
}
@media (min-width: 768px) {
  .card {
    /* 3 cards with 2 gaps */
    flex: 0 0 calc((100% - 40px) / 3);
  }
}


/* Card content */
.card-content {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  color: #fff;
  padding: 16px;
  box-sizing: border-box;
  display: grid;
  align-content: center; /* centers content vertically */
  justify-items: start;  /* optional — aligns items horizontally (left) */
  gap: 12px;
  height: 100%; /* fills the card */
  width: 100%;
  place-content: end;
}
/* Special starter card */
.card-content.starter {
  place-content: center;
  gap: 0;
  background: linear-gradient(to bottom, #223842 20%, #ec8313);
}
.card-content * {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.card-header {
  margin: 0;
  font-size: 28px;
  font-family: 'Azo_Sans_Regular', 'sans-serif';
}
.card-body {
  flex-grow: 1;
  line-height: 22px;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  /* -webkit-line-clamp: 12; */
  /* limits lines shown */
  -webkit-box-orient: vertical;
  font-family: 'Azo_Sans_Regular', 'sans-serif';
}

.card-body a {
  display: flex;
}

.icon {
    background: url('/images/icons/video.png') no-repeat center center;
    background-size: contain;
    height: 20px;
    width: 20px;
    display: inline-block;
}


/* Card button */
.card-button {
    background: linear-gradient(to right, #f0ca6c, #ec8313);
    cursor: pointer;
    color: #000;
    text-decoration: none;
    display: flex;               /* <— makes icon + text sit horizontally */
    align-items: center;         /* center vertically */
    gap: 10px;                   /* space between icon and text */
    font-size: 15px;
    font-weight: 700;
    padding: .5rem 1.5rem;
    border-radius: 2rem;
    font-family: 'Azo_Sans_Bold', sans-serif;
    text-transform: uppercase;

     /* REMOVE SHADOWS */
    box-shadow: none !important;
    text-shadow: none !important;
}
/* Hover state */
.card-button:hover,
.card-button:focus {
  background: darkorange;
  outline: none;
}

/* -~-~-~-~-~-~-~-~-~-~-~-~-~
  Carousel Navigation
-~-~-~-~-~-~-~-~-~-~-~-~-~ */
/* Remove default button styles - add a few */
.carousel-nav button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  cursor: pointer;
  user-select: none;
  line-height: 1;
  font-size: 25px;
  color: #223842;
}
.carousel-nav {
  padding-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  /* Navigation buttons */
  /* Focus style for keyboard users */
  /* Pagination dots container */
}
.carousel-nav .nav-btn {
  padding: 0 12px 2px;
  background: unset;
}
.carousel-nav .nav-btn:focus {
  outline: 3px solid #ffa500;
  outline-offset: 2px;
}
.carousel-nav .dots {
  display: flex;
  gap: 20px;
}
.carousel-nav .dots button {
  width: 15px;
  height: 15px;
  background: #ebf5df;
  border-radius: 50%;
  padding: 0;
  text-indent: -9999px;
  /* hides text if you add labels later */
}
.carousel-nav .dots button.active {
  background: #1d5b2e;
}
.carousel-nav .dots.hidden {
  display: none !important;
}