/* ============================================================
   Dr. Arthur Furst — Memorial Website
   styles.css — Complete Stylesheet
   ============================================================
   TABLE OF CONTENTS
   1.  Reset & Base
   2.  Navigation
   3.  Hero — Desktop
   4.  Hero — Mobile
   5.  General Layout
   6.  Section Titles (shared)
   7.  Biography
   8.  Timeline
   9.  Accomplishments
   10. Scholarships
   11. Publications
   12. Testimonials
   13. Gallery
   14. Awards
   15. Footer
   16. Slick Overrides
   ============================================================ */


/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  color: #211f1b;
  background: #fff;
}


/* ============================================================
   2. NAVIGATION
   ============================================================ */
/* ============================================================
   2. NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 50;
}

nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  max-width: 1152px;
  margin: 0 auto;
  padding: 12px 16px;
}

nav a {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #211f1b;
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 20px;
  transition: color 0.2s, background 0.2s;
}

nav a:hover {
  color: #1c79a2;
  background: #e8f4fb;
}

nav a.nav-active {
  color: #1c79a2;
  background: #e8f4fb;
}

@media (max-width: 767px) {
  nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  nav::-webkit-scrollbar {
    display: none;
  }
  nav ul {
    justify-content: flex-start;
    padding: 10px 16px;
    width: max-content;
    min-width: 100%;
    gap: 6px;
  }
  nav a {
    font-size: 0.88rem;
    padding: 5px 10px;
    white-space: nowrap;
  }
}

/* ============================================================
   3. HERO — DESKTOP
   ============================================================ */
.hero-desktop {
  display: none;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

@media (min-width: 768px) {
  .hero-desktop {
    display: block;
  }
  .hero-mobile {
    display: none;
  }
}

.hero-inner {
  position: relative;
  height: 580px;
}

.hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.film-strip-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 148px;
  overflow: hidden;
  z-index: 1;
}

.film-scroll {
  display: flex;
  width: max-content;
  height: 148px;
  will-change: transform;
}

.film-scroll img {
  flex-shrink: 0;
  width: 160px;
  height: 148px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  margin-right: 10px;
}

.hero-portrait {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42%;
  z-index: 10;
}

.hero-portrait img {
  width: 100%;
  object-fit: cover;
  object-position: top;
  max-height: 580px;
  display: block;
}

.hero-text {
  position: absolute;
  top: 0;
  right: 0;
  left: 42%;
  bottom: 168px;
  display: flex;
  align-items: center;
  padding-left: 4%;
  padding-right: 5%;
  z-index: 5;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #211f1b;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-text .subtitle {
  color: #1c79a2;
  font-size: 1rem;
  margin-bottom: 16px;
}

.hero-text .tagline {
  color: #211f1b;
  font-size: 1rem;
  max-width: 440px;
}
.hero-quote {
  margin-top: 24px;
  font-size: 0.95rem;
  font-style: italic;
  color: #555;
  line-height: 1.6;
  max-width: 420px;
  border-left: 3px solid #1c79a2;
  padding-left: 14px;
}

.hero-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1c79a2;
}

@media (max-width: 767px) {
  .hero-quote {
    margin: 16px auto 0;
    max-width: 100%;
    text-align: left;
  }
}

/* ============================================================
   4. HERO — MOBILE
   ============================================================ */
.hero-mobile {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.hero-mobile-bg {
  position: absolute;
  inset: 0;
  background: #f5f5f0;
  border-radius: 0 0 40px 40px;
}

.hero-mobile-portrait {
  position: relative;
  z-index: 10;
  width: 75%;
  margin: 24px auto 0;
}

.hero-mobile-portrait img {
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-mobile-text {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 16px 24px;
}

.hero-mobile-text h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #211f1b;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-mobile-text .subtitle {
  color: #1c79a2;
  margin-bottom: 12px;
}

.film-strip-mobile {
  position: relative;
  overflow: hidden;
  height: 110px;
}

.film-scroll-mobile {
  display: flex;
  width: max-content;
  height: 110px;
  will-change: transform;
}

.film-scroll-mobile img {
  flex-shrink: 0;
  width: 140px;
  height: 110px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  margin-right: 10px;
}


/* ============================================================
   5. GENERAL LAYOUT
   ============================================================ */
section {
  padding: 48px 16px;
}

@media (min-width: 768px) {
  section {
    padding: 0px 50px;
  }
}

/* All sections from Timeline onward get vertical padding */
#timeline,
#timeline ~ section {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  #timeline,
  #timeline ~ section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

.container {
  max-width: 1152px;
  margin: 0 auto;
}


/* ============================================================
   6. SECTION TITLES (shared)
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

/* Default: blue  */
.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #1c79a2;
}

h4.eyebrow {
  font-size: 16px;
  color: #1c79a2;
  text-transform:uppercase;
  text-align: center;
  padding-bottom: 10px;
}
.section-title p {
  font-size: 1rem;
  color: #211f1b;
}

/* Exception: Accomplishments card — white text on blue background */
.accomplishments-card .section-title h2 {
  color: #fff;
}

.accomplishments-card .section-title p {
  color: rgba(255,255,255,0.9);
}

/* Scholarships subtitle needs max-width centering */
#scholarships .section-title p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Link button — text style, used for Bio Read More toggle and View All CTAs */
.link-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #1c79a2;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1rem;
  margin-top: 24px;
  transition: color 0.2s;
}

.link-btn:hover {
  color: #155a7a;
}

/* Solid blue button */
.pub-card .link-btn,
.pub-list .link-btn {
  background: #1c79a2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0;
}
.btn-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.pub-card .link-btn:hover,
.pub-list .link-btn:hover {
  background: #155f82;
  color: #fff;
}


/* ============================================================
   7. BIOGRAPHY
   ============================================================ */
.bio-card {
  background: #f5f5f0;
  border-radius: 40px;
  padding: 48px;
}

@media (max-width: 767px) {
  .bio-card {
    padding: 24px;
    border-radius: 24px;
  }
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

/* Bio h2 is dark — it's inside a card, not a .section-title */
.bio-grid h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #211f1b;
  margin-bottom: 8px;
}

.bio-sub {
  color: #928673;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.bio-text p {
  color: #211f1b;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.bio-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1c79a2;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.bio-img {
  display: none;
}

@media (min-width: 768px) {
  .bio-img {
    display: block;
  }
}

.bio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}


/* ============================================================
   8. TIMELINE
   ============================================================ */
.timeline-wrapper {
  position: relative;
}

.timeline-line {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1c79a2;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .timeline-line {
    display: block;
  }
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.timeline-item {
  position: relative;
}

@media (min-width: 768px) {
  .timeline-item-inner {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .timeline-year-left {
    width: 50%;
    padding-right: 48px;
    text-align: right;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1c79a2;
  }

  .timeline-year-right {
    width: 50%;
    padding-left: 48px;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1c79a2;
  }

  .timeline-card-left {
    width: 50%;
    padding-right: 48px;
  }

  .timeline-card-right {
    width: 50%;
    padding-left: 48px;
  }

  .timeline-dot-wrap {
    position: relative;
    z-index: 10;
  }

  .timeline-mobile {
    display: none;
  }
}

@media (max-width: 767px) {
  .timeline-item-inner {
    display: none;
  }
  .timeline-mobile {
    display: flex;
    gap: 16px;
  }
}

.timeline-dot {
  width: 28px;
  height: 28px;
  background: #1c79a2;
  border-radius: 50%;
  border: 4px solid #fff;
  flex-shrink: 0;
}

.timeline-card {
  background: #f5f5f0;
  border: 1px solid #dedede;
  border-radius: 16px;
  padding: 24px;
  max-width: 400px;
}

.timeline-card-right .timeline-card {
  margin-right: auto;
}

.timeline-card-left .timeline-card {
  margin-left: auto;
}

.timeline-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1c79a2;
  margin-bottom: 12px;
}

.timeline-card p {
  font-size: 0.9rem;
  color: #211f1b;
  line-height: 1.6;
}

.timeline-mobile-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-mobile-line {
  width: 2px;
  background: #1c79a2;
  flex-grow: 1;
  min-height: 80px;
  margin: 8px 0;
}

.timeline-mobile-content {
  flex-grow: 1;
  padding-bottom: 16px;
}

.timeline-mobile-content .year {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1c79a2;
  margin-bottom: 12px;
  display: block;
}

.timeline-mobile-card {
  background: #f5f5f0;
  border: 1px solid #dedede;
  border-radius: 16px;
  padding: 20px;
}

.timeline-mobile-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1c79a2;
  margin-bottom: 8px;
}

.timeline-mobile-card p {
  font-size: 0.85rem;
  color: #211f1b;
  line-height: 1.6;
}

.timeline-photo {
  width: 100%;
  border-radius: 10px;
  margin-top: 16px;
  object-fit: cover;
  object-position: top center;
  max-height: 250px;
  display: block;
}
/* ============================================================
   9. ACCOMPLISHMENTS
   ============================================================ */
.accomplishments-card {
  background: #1c79a2;
  border-radius: 40px;
  padding: 48px;
}

@media (max-width: 767px) {
  .accomplishments-card {
    padding: 32px 24px;
    border-radius: 24px;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  color: #fff;
}

.stat-card .stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
}


/* ============================================================
   10. SCHOLARSHIPS
   ============================================================ */
.scholars-slider-wrap {
  position: relative;
}

@media (min-width: 641px) {
  .scholars-slider-wrap {
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

.scholars-track .slick-list {
  overflow: hidden !important;
}

.scholar-slide {
  padding: 0 10px;
}

.scholar-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scholar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

.scholar-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.scholar-info {
  padding: 20px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  row-gap: 8px;
}

.scholar-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #211f1b;
  margin: 0;
  line-height: 1.3;
}

.scholar-btn {
  background: #1c79a2 !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
  transition: background 0.2s;
  margin-top: 0 !important;
}

.scholar-btn:hover {
  background: #155f82 !important;
  color: #fff !important;
}

.scholars-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .scholars-nav {
    display: none;
  }
}

.scholar-year {
  display: inline-block;
  color: #1c79a2;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  order: -1;
  flex: 0 0 100%;
  text-align: center;
}

/* ============================================================
   11. PUBLICATIONS
   ============================================================ */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pub-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pub-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .pub-card {
    flex-direction: row;
    align-items: center;
  }
}

.pub-year {
  color: #1c79a2;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pub-info {
  flex-grow: 1;
}

.pub-info h3 {
  font-weight: 700;
  color: #211f1b;
  margin-bottom: 4px;
}

.pub-info p {
  font-size: 0.85rem;
  color: #928673;
}


/* ============================================================
   12. TESTIMONIALS
   ============================================================ */
.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-slide {
  margin-bottom: 20px;
}

.testimonials-container {
  overflow: hidden;
  border-radius: 16px;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(0,0,0,0.12);
  padding: 48px;
  margin: 0 auto;
  max-width: 800px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 32px 24px;
    margin: 10px;
  }
}

.quote-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: block;
}

.quote-mark svg {
  width: 100%;
  height: 100%;
}

.testimonial-card blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: #211f1b;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

.testimonial-card blockquote.expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

@media (max-width: 768px) {
  .testimonial-card blockquote {
    font-size: 1.1rem;
  }
}

@media (max-width: 640px) {
  .testimonials-container {
    overflow: visible;
  }
  .testimonial-card blockquote {
    -webkit-line-clamp: 6;
  }
  .testimonials-slider {
    overflow: hidden;
  }
}

.testimonial-read-more {
  background: none;
  border: none;
  color: #1c79a2;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
  text-decoration: underline;
}

.testimonial-author p:first-child {
  font-weight: 700;
  font-size: 1.1rem;
  color: #211f1b;
  margin-bottom: 4px;
}

.testimonial-author p:last-child {
  color: #1c79a2;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* Nav controls — shared by testimonials and scholars sliders */
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.testimonials-btn {
  background: #fff !important;
  border: none !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15) !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  color: #1c79a2;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-btn:hover {
  background: #1c79a2 !important;
  box-shadow: 0 4px 16px rgba(28,121,162,0.3) !important;
  color: #fff;
  transform: none;
}

.testimonials-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.testimonials-btn:active {
  transform: scale(0.95);
}

.testimonials-btn:disabled {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15) !important;
  color: #dedede;
  cursor: not-allowed;
  transform: none;
}

.testimonials-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e5e7eb;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.testimonial-dot:hover {
  background: #928673;
  transform: scale(1.1);
}

.testimonial-dot.active {
  background: #1c79a2;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .testimonials-nav {
    gap: 16px;
    margin: 24px;
  }
  .testimonials-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .testimonials-btn svg {
    width: 20px;
    height: 20px;
  }
  .testimonial-dot {
    width: 10px;
    height: 10px;
  }
}


/* ============================================================
   13. GALLERY
   ============================================================ */
.gallery-section {
  background: #ffffff;
  padding: 4rem 2rem 5rem;
}

.gallery-inner {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #211f1b;
  text-align: center;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.gallery-intro {
  text-align: center;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.85rem;
  color: #928673;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.75rem;
  background: #f5f5f0;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.00);
  padding: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.gallery-tab {
  display: flex;
  padding: 12px 18px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  align-self: stretch;
  background: transparent;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.00);
  box-shadow: none;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #211f1b;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.gallery-tab:hover:not(.active) {
  background: rgba(28,121,162,0.08);
  color: #1c79a2;
}

.gallery-tab.active {
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.00);
  background: #1c79a2;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.06);
  color: #ffffff;
  font-weight: 600;
}

.gallery-grid {
  position: relative;
}

.gallery-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  animation: galleryFadeIn 0.3s ease;
}

.gallery-panel.active {
  display: grid;
}

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

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #e8e6e0;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Placeholder checkerboard for broken/missing images */
.gallery-item img[src=""],
.gallery-item img:not([src]) {
  opacity: 0;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
          linear-gradient(45deg, #ddd 25%, transparent 25%),
          linear-gradient(-45deg, #ddd 25%, transparent 25%),
          linear-gradient(45deg, transparent 75%, #ddd 75%),
          linear-gradient(-45deg, transparent 75%, #ddd 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  background-color: #e8e6e0;
  z-index: 0;
}

.gallery-item img {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .gallery-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 10px;
    gap: 14px;
  }
  .gallery-tab {
    padding: 10px 8px;
    font-size: 0.8rem;
    text-align: center;
    width: 100%;
  }
  .gallery-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }
  .gallery-title {
    font-size: 1.5rem;
  }
}



/* GLightbox overrides */
.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.pswp__img,
.gslide-image img {
  max-height: 80vh !important;
  height: 80vh !important;
  width: auto !important;
  object-fit: contain !important;
}
/* ============================================================
   14. AWARDS
   ============================================================ */
.awards-index-section {
  padding: 80px 0 90px;
  background: #f5f5f0;
}

.awards-index-section .section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1c79a2;
  margin-bottom: 10px;
}

.awards-index-section h2 {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: #211f1b;
}

.awards-index-section .section-sub {
  font-size: 1rem;
  color: #211f1b;
  text-align: center;
}

.awards-index-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.award-index-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}

.award-index-card:hover {
  box-shadow: 0 4px 16px rgba(28,121,162,.12);
  transform: translateY(-1px);
}

.award-index-year {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1c79a2;
  min-width: 46px;
  text-align: center;
  flex-shrink: 0;
}

.award-index-divider {
  width: 1px;
  height: 36px;
  background: #e0e0d8;
  flex-shrink: 0;
}

.award-index-info {
  flex: 1;
  min-width: 0;
}

.award-index-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #211f1b;
  margin: 0 0 2px;
  line-height: 1.35;
}

.award-index-info p {
  font-size: 0.82rem;
  color: #888;
  margin: 0;
}

.award-index-arrow {
  color: #1c79a2;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}

.award-index-card:hover .award-index-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.awards-index-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 700px) {
  .awards-index-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   15. FOOTER
   ============================================================ */
footer {
  background: #1c79a2;
  color: #fff;
  padding: 48px 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1152px;
  margin: 0 auto;
  padding-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-grid h3 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-grid p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.footer-grid a {
  color: #fff;
  text-decoration: none;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1152px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}


/* ============================================================
   16. SLICK OVERRIDES
   ============================================================ */

/* Hide Slick's built-in arrows on testimonials only */
.testimonials-track .slick-prev,
.testimonials-track .slick-next {
  display: none !important;
}

.testimonials-track {
  will-change: transform;
}