/* ============================================================
   canyon-frights.css — Canyon Frights event page
   ============================================================ */

.cf-page {
  min-height: 100vh;
  background-color: #062726;
  display: flex;
  flex-direction: column;
}

/* ---- Hero ---- */
.cf-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--home-header-height, 56px));
  max-height: calc(100dvh - var(--home-header-height, 56px));
  overflow: hidden;
  background: #000;
}

.cf-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent 45%, rgba(0, 0, 0, 0.45));
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 2rem;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .cf-hero__overlay {
    padding: 3rem 4rem;
  }
}

.cf-hero__title {
  font-family: 'IvyJournal', serif;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: #fff;
  line-height: 1.2;
  margin: 0 0 4rem 4rem;
  text-align: left;
}

@media (min-width: 768px) {
  .cf-hero__title {
    margin: 0 0 5rem 6rem;
  }
}

@media (min-width: 1024px) {
  .cf-hero__title {
    margin: 0 0 6rem 9rem;
  }
}

/* ---- Video + info panel ---- */
.cf-content-section {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 768px) {
  .cf-content-section {
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
  }
}

.cf-content-video-wrap {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  box-sizing: border-box;
  background: #062726;
}

@media (min-width: 768px) {
  .cf-content-video-wrap {
    padding: 2rem;
  }
}

.cf-content-video {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .cf-content-video {
    min-height: 100%;
    aspect-ratio: 1 / 1;
  }
}

.cf-content-panel {
  background-color: #062726;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .cf-content-panel {
    padding: 3rem 2.5rem;
  }
}

.cf-content-icon {
  width: 72px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

.cf-content-title {
  font-family: 'IvyJournal', serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.5rem;
}

.cf-content-dates {
  font-family: 'Muli', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 1.25rem;
}

.cf-content-text,
.cf-content-block {
  font-family: 'Muli', system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1rem;
}

.cf-content-heading {
  font-family: 'Muli', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  margin: 1.25rem 0 0.5rem;
}

.cf-content-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Muli', system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.cf-content-list li {
  margin-bottom: 0.35rem;
}

.cf-content-link {
  color: #ffb81d;
  text-decoration: underline;
}

.cf-content-link:hover {
  color: #fff;
}

/* ---- What to See ---- */
.cf-info-section {
  width: 100%;
  background-color: #f2f3f4;
  padding: 3rem 1.5rem 4rem;
}

@media (min-width: 768px) {
  .cf-info-section {
    padding: 4rem 2rem 5rem;
  }
}

.cf-info-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .cf-info-inner {
    grid-template-columns: 1fr auto 1.5fr;
    gap: 2.5rem;
    max-width: 1600px;
  }
}

.cf-info-divider {
  width: 1px;
  min-height: 80px;
  background: rgba(45, 45, 45, 0.3);
  display: none;
}

@media (min-width: 1024px) {
  .cf-info-divider {
    display: block;
    align-self: stretch;
    min-height: 0;
  }
}

.cf-info-heading {
  font-family: 'IvyJournal', serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: rgb(0, 68, 57);
  margin: 0;
}

.cf-info-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cf-info-block-title {
  font-family: 'Muli', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2d2d2d;
  margin: 0 0 0.5rem;
}

.cf-info-block-text {
  font-family: 'Muli', system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #2d2d2d;
  margin: 0;
}

.cf-info-block-text a {
  color: rgb(0, 68, 57);
  text-decoration: underline;
}

.cf-info-block-text a:hover {
  color: #062726;
}

.cf-info-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  font-family: 'Muli', system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #2d2d2d;
}

.cf-info-list li {
  margin-bottom: 0.35rem;
}

/* ---- Gallery ---- */
.cf-gallery-section {
  width: 100%;
  background-color: #fff;
  padding-bottom: 2rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cf-gallery-section {
    padding-bottom: 2.5rem;
  }
}

.cf-gallery-inner {
  box-sizing: border-box;
  margin-left: clamp(0.75rem, 12vw, 11rem);
  margin-right: 0;
  width: calc(100% - clamp(0.75rem, 12vw, 11rem));
  padding-top: clamp(1.25rem, 4vw, 2.5rem);
}

@media (min-width: 768px) {
  .cf-gallery-inner {
    margin-left: clamp(2rem, 16vw, 12rem);
    width: calc(100% - clamp(2rem, 16vw, 12rem));
    padding-top: clamp(1.5rem, 3vw, 2.75rem);
  }
}

@media (min-width: 1200px) {
  .cf-gallery-inner {
    margin-left: clamp(3rem, 14vw, 14rem);
    width: calc(100% - clamp(3rem, 14vw, 14rem));
  }
}

.cf-gallery-viewport {
  width: 100%;
  overflow: hidden;
  background: #000;
}

.cf-gallery-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.cf-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
}

.cf-gallery-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.cf-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0 0;
  background: #fff;
}

@media (min-width: 768px) {
  .cf-gallery-controls {
    padding-top: 1.25rem;
  }
}

.cf-gallery-dots {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.cf-gallery-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1.5px solid #1a1a1a;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cf-gallery-dot.is-active {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.cf-gallery-dot:hover:not(.is-active) {
  border-color: #062726;
}

.cf-gallery-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cf-gallery-arrow-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid #062726;
  border-radius: 50%;
  background: transparent;
  color: #062726;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Muli', system-ui, sans-serif;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

@media (min-width: 768px) {
  .cf-gallery-arrow-btn {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }
}

.cf-gallery-arrow-btn:hover:not(:disabled) {
  background: rgba(6, 39, 38, 0.06);
}

.cf-gallery-arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
