/* ============================================================
   DELTA ACADEMY - OUR RESULTS PAGE
   Page-specific styles only. Existing global/header/footer styles
   continue to come from custom.css + style.min.css.
============================================================ */
/* =========================================================
   RESULTS PAGE HERO
========================================================= */

.results-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* Hero Background */
.results-hero .about-slider {
    position: relative;
    width: 100%;
    min-height: 390px;

    display: flex;
    align-items: center;

    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}


/* Dark Overlay */
.results-hero .about-slider::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.68) 38%,
        rgba(0, 0, 0, 0.32) 68%,
        rgba(0, 0, 0, 0.08) 100%
    );

    z-index: 1;
}


/* Content above overlay */
.results-hero .container {
    position: relative;
    z-index: 2;
}


/* Content Width */
.results-hero .slider-content {
    max-width: 760px;
}


/* Small Subtitle */
.results-hero .hero-subtitle {
    display: inline-block;

    margin-bottom: 18px;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: #ffffff;
}


/* Main Heading */
.results-hero .title {
    margin: 0 0 22px;

    font-size: 64px;
    line-height: 1.05;
    font-weight: 800;

    letter-spacing: -1px;

    color: #ffffff;
}


/* Red Highlight */
.results-hero .title .abouttext {
    color: #e31e24;
}


/* Description */
.results-hero .hero-text {
    max-width: 700px;

    margin: 0;

    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;

    color: rgba(255, 255, 255, 0.88);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .results-hero .about-slider {
        min-height: 520px;
    }

    .results-hero .slider-content {
        max-width: 650px;
    }

    .results-hero .title {
        font-size: 52px;
    }

    .results-hero .hero-text {
        font-size: 17px;
        line-height: 1.7;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .results-hero .about-slider {
        min-height: 480px;

        background-position: center center !important;
    }

    .results-hero .about-slider::before {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.68) 60%,
            rgba(0, 0, 0, 0.40) 100%
        );
    }

    .results-hero .slider-content {
        max-width: 100%;
        padding-right: 10px;
    }

    .results-hero .hero-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .results-hero .title {
        font-size: 40px;
        line-height: 1.1;
        margin-bottom: 18px;
    }

    .results-hero .hero-text {
        max-width: 100%;

        font-size: 15px;
        line-height: 1.7;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .results-hero .about-slider {
        min-height: 430px;
    }

    .results-hero .title {
        font-size: 34px;
    }

    .results-hero .hero-text {
        font-size: 14px;
    }

}

/* -------------------- Main Results Section -------------------- */
.results-gallery-section {
  padding: 0px 0 30px;
  background: #fff;
}

.results-title-wrap {
  max-width: 850px;
  margin-bottom: 42px;
}

.results-title-wrap .section-description {
  text-align: center;
}

/* -------------------- Category Tabs -------------------- */
.results-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 42px;
}

.results-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #f7f7f7;
  box-shadow: 0 10px 30px rgba(18, 18, 18, 0.05);
}

.results-tab {
  min-width: 132px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #242424;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.results-tab:hover {
  color: var(--tj-color-theme-primary, #e50914);
}

.results-tab.is-active {
  color: #fff;
  background: var(--tj-color-theme-primary, #e50914);
  box-shadow: 0 9px 20px rgba(229, 9, 20, 0.22);
}

.results-tab:focus-visible,
.results-load-more:focus-visible,
.results-card:focus-visible,
.results-cta-btn:focus-visible {
  outline: 3px solid rgba(229, 9, 20, 0.28);
  outline-offset: 3px;
}

/* -------------------- 4 x 3 Result Grid -------------------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.results-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: #f1f1f1;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.results-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: inherit;
  pointer-events: none;
}

.results-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.results-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.13);
}

.results-card:hover img {
  transform: scale(1.025);
}

.results-card.is-entering {
  animation: resultCardIn 0.42s ease both;
}

@keyframes resultCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-load-wrap {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

.results-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 164px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid var(--tj-color-theme-primary, #e50914);
  border-radius: 8px;
  background: var(--tj-color-theme-primary, #e50914);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.results-load-more:hover {
  transform: translateY(-2px);
  background: #111;
  border-color: #111;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.results-load-more i {
  font-size: 12px;
}

.results-load-more.is-hidden {
  display: none;
}

/* -------------------- Bottom CTA -------------------- */
.results-cta {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: var(--tj-color-theme-primary, #e50914);
}

.results-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
}

.results-cta-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.results-cta-shape-one {
  width: 420px;
  height: 420px;
  top: -230px;
  right: -100px;
}

.results-cta-shape-two {
  width: 280px;
  height: 280px;
  bottom: -190px;
  left: -60px;
}

.results-cta-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.results-cta-kicker {
  margin: 0 0 13px;
  color: #fff3b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.1px;
}

.results-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
}

.results-cta-content > p:not(.results-cta-kicker) {
  max-width: 760px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.results-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.results-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.results-cta-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.results-cta-btn-light {
  background: #fff;
  color: #111;
}

.results-cta-btn-light:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.results-cta-btn-outline {
  background: transparent;
  color: #fff;
}

.results-cta-btn-outline:hover {
  background: #fff;
  color: #111;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 1199px) {
  .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 991px) {
  .results-hero {
    min-height: 390px;
    background-position: 60% center;
  }

  .results-hero-copy {
    max-width: 620px;
    padding: 72px 0;
  }

  .results-gallery-section {
    padding: 72px 0 84px;
  }

  .results-title-wrap {
    margin-bottom: 32px;
  }

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

@media (max-width: 767px) {
  .results-hero {
    min-height: 330px;
    background-position: 68% center;
  }

  .results-hero-overlay {
    background: rgba(5, 5, 5, 0.78);
  }

  .results-hero-copy {
    padding: 58px 0;
    text-align: center;
  }

  .results-kicker {
    font-size: 13px;
    letter-spacing: 3px;
  }

  .results-hero h1 {
    font-size: 42px;
    letter-spacing: -0.8px;
  }

  .results-hero-copy > p:last-child {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.7;
  }

  .results-gallery-section {
    padding: 5px 0 30px;
  }

  .results-title-wrap {
    margin-bottom: 25px;
  }

  .results-tabs-wrap {
    margin-bottom: 30px;
  }

  .results-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 12px;
  }

  .results-tab {
    min-width: 0;
    width: 100%;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 13px;
  }

  .results-grid {
    gap: 14px;
  }

  .results-load-wrap {
    margin-top: 32px;
  }

  .results-load-more {
    min-height: 48px;
    padding: 12px 22px;
  }

  .results-cta {
    padding: 62px 0;
  }

  .results-cta-content > p:not(.results-cta-kicker) {
    font-size: 14px;
    line-height: 1.7;
  }

  .results-cta-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }
}

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

  .results-card {
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-card,
  .results-card img,
  .results-load-more,
  .results-cta-btn {
    transition: none;
  }

  .results-card.is-entering {
    animation: none;
  }
}







/* Delta Success Stories Hero */
.delta-success-hero {
    background: #ffffff;
    color: #000000;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0px 20px;
    padding-top: 120px !important;
    
}

.delta-success-content {
    width: 100%;
    text-align: center;
}

.delta-success-title {
    margin: 0 0 18px;
    color: #000000;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 700;
    text-align: center;
}

.delta-success-title span {
    color: #000000;
}

.delta-success-text {
    margin: 0 auto;
    max-width: 700px;
    color: #000000;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}


/* Mobile */
@media (max-width: 767px) {

    .delta-success-hero {
        min-height: 320px;
        padding: 60px 20px;
    }

    .delta-success-title {
        font-size: 36px;
        line-height: 1.15;
    }

    .delta-success-text {
        font-size: 16px;
        line-height: 1.5;
    }
}