/* ============================================================
   HOME PAGE – exclusive styles
   ============================================================ */


  
body {
    background: #f5f5f5;
}
/* --- HERO --- */
.hero-section {
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    height: auto;
    background: #ffffff;   /* was #000 — no black area behind/next to the nav */
  }
}
.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-video-wrap {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 0;
  }
}



.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}
@media (max-width: 768px) {
  .hero-bg-video {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }
  .hero-video-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 5vw 60px 5vw;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .hero-content {
    display: none;
  }
}

.hero-content h1 {
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 0 30px 0;
  text-shadow: none;
}

.hero-content h1:last-child {
  font-size: clamp(1.1rem, 2.6vw, 1.8rem);
}

/* --- Desktop-only: smaller hero headings (mobile uses .hero-mobile-info instead) --- */
@media (min-width: 769px) {
  .hero-content h1 {
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  }
  .hero-content h1:last-child {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
  }
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-btn {
  display: inline-block;
  box-sizing: border-box;
  height: 50px;
  padding: 0 30px;
  background: #ffffff;
  color: #BE1333;
  border: 2px solid #BE1333;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  line-height: 46px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.hero-btn-submit { width: 260px; }
.hero-btn-accred { width: 200px; }
.hero-btn:hover {
  background: #BE1333;
  color: #ffffff;
  border-color: #BE1333;
}

.hero-divider {
    height: 50px;
    width: 100%;
    background: #ffff;
}

/* --- MOBILE HERO INFO (shown only on small screens, replaces hidden hero-content) --- */
.hero-mobile-info {
  display: none;
}

@media (max-width: 768px) {
  .hero-mobile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    background: #fff;
    padding: 32px 6vw 40px;
  }

  .hero-mobile-info__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #BE1333;
  }

  .hero-mobile-info__title {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin: 0;
    color: #111;
  }

  .hero-mobile-info__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    margin-top: 4px;
  }

  .hero-mobile-info__btn {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    line-height: 44px;
    padding: 0 20px;
    background: #ffffff;
    color: #BE1333;
    border: 2px solid #BE1333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.3s ease;
  }

  .hero-mobile-info__btn:hover,
  .hero-mobile-info__btn:active {
    background: #BE1333;
    color: #ffffff;
    border-color: #BE1333;
  }
}


/* ============================================================
   SCREENINGS GALLERY – editorial masonry
   ============================================================ */

.screenings-section {
    background: #fff;
    padding: 50px 5vw 0px;
}

.screenings-grid {
    columns: 4;
    column-gap: 18px;
    max-width: 1500px;
    margin: 0 auto;
}

.screening-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 18px;
    overflow: hidden;
    text-decoration: none;
    break-inside: avoid;
}

.screening-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s ease;
}

.screening-item:hover img {
    transform: scale(1.03);
}

/* dark gradient always visible */

.screening-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 25px 25px 5px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.8),
        rgba(0,0,0,0) 65%
    );

    color: white;
}


/* text block */
.screening-overlay h3 {
    font-size:1.5rem;
    margin:0 0 8px;
    transform:translateY(0);
    transition:.35s ease;
}

.screening-date,
.screening-venue {
    margin:0;
    font-size:.85rem;
    opacity:.85;
    transform:translateY(0);
    transition:.35s ease;
}

.screening-more {
    margin-top:15px;
    opacity:0;
    transform:translateY(10px);
    transition:.35s ease;
    display:inline-block;
    width:max-content;
    padding:8px 22px;
    background:white;
    color:#BE1333;
    font-size:.8rem;
    font-weight: 400;
    text-transform:uppercase;
}

.screening-item:hover .screening-overlay h3,
.screening-item:hover .screening-overlay p {
    transform:translateY(-12px);
}

.screening-item:hover .screening-more {
    opacity:1;
    transform:translateY(-5px);
}

@media(max-width:1100px){
    .screenings-grid{
        columns:3;
    }
}

@media(max-width:700px){
    .screenings-grid{
        columns:2;
    }
}

@media(max-width:450px){
    .screenings-grid{
        columns:1;
    }
}

/* ============================================================
   NEWS GRID
   ============================================================ */

.home-news-section {
    padding: 40px 5vw;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.home-news-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.home-news-header span {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #BE1333;
}

.home-news-header h2 {
    font-size: clamp(2rem, 4vw, 3.75rem);
    margin: 0;
    max-width: 760px;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.home-news-card {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    color: #111;
    border: 1px solid #e2e2e2;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-news-card:hover {
    transform: translateY(-6px);
    border-color: #BE1333;
    box-shadow: 0 20px 45px rgba(0,0,0,0.1);
}

.home-news-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #111;
    text-decoration: none;
}

.home-news-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 150px;
}

.home-news-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.home-news-card:hover .home-news-image-wrap img {
    transform: scale(1.05);
}

.home-news-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 20px;
    background: #fff;
}

.home-news-date {
    margin: 0 0 0.6rem;
    font-size: 0.75rem;
    color: #BE1333;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-news-meta h3 {
    margin: 0 0 0.6rem;
    font-size: 1.25rem;
    line-height: 1.25;
    color: #111;
}

.home-news-excerpt {
    margin: 0 0 1rem;
    color: #555;
    line-height: 1.5;
    font-size: 0.85rem;
}

.home-news-readmore {
    margin-top: auto;
    color: #BE1333;
    font-weight: 400;
    font-size: 0.85rem;
    border-bottom: 1px solid #BE1333;
    padding-bottom: 2px;
    width: max-content;
}

@media (max-width: 1100px) {
    .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================================
   MASTERCLASSES FEATURE SECTION
   ============================================================ */

.masterclasses-section {
    padding: 70px 5vw;
    background:#fff;
    margin-bottom: 40px;
}

.masterclasses-header h2 {
    font-size:clamp(2rem,4vw,40px);
    font-weight: 400;
    margin:0 0 45px;
}

.masterclasses-layout {
    display:grid;
    grid-template-columns:1.6fr 1fr;
    gap:30px;
}

.masterclass-feature {
    position:relative;
    height:440px;
    overflow:hidden;
    display:block;
    text-decoration:none;
    color:inherit;
    cursor:pointer;
}

.masterclass-feature img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition: transform 0.4s ease;
}

.masterclass-feature:hover img {
    transform: scale(1.06);
}

.masterclass-feature-overlay {
    position:absolute;
    inset:auto 0 0 0;
    padding:60px 35px 30px;
    color:white;
    background:
    linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    );
}

.masterclass-feature-overlay h3 {
    font-size:clamp(1.7rem,3vw,35px);
    margin:0 0 15px;
}

.masterclass-feature-overlay p {
    max-width:650px;
    font-size:15px;
    margin-bottom:15px;
}

.masterclass-feature-overlay span {
    font-size:12px;
    text-transform:uppercase;
}

.masterclass-list {
    display:flex;
    flex-direction:column;
}

.masterclass-list-item {
    height:103px;
    display:flex;
    align-items:center;
    gap:25px;
    border-bottom:1px solid #111;
    text-decoration:none;
    color:inherit;
    cursor:pointer;
    transition: background 0.25s ease, padding-left 0.25s ease;
}

.masterclass-list-item:hover {
    background:#f8f8f8;
    padding-left:8px;
}

.masterclass-list-item img {
    width:100px;
    height:72px;
    object-fit:cover;
    transition: transform 0.4s ease;
}

.masterclass-list-item:hover img {
    transform: scale(1.08);
}

.masterclass-list-item h4 {
  
    font-size:16px;
    font-weight: 400;
    margin:0 0 12px;
    transition: color 0.25s ease;
}

.masterclass-list-item:hover h4 {
    color:#BE1333;
}

.masterclass-list-item small {
    font-size:11px;
}

.masterclass-view {
    display:block;
    width:max-content;
    margin-left:auto;
    margin-top:30px;
    background:#BE1333;
    color:white;
    padding:10px 35px;
    text-decoration:none;
    font-size:14px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.masterclass-view:hover {
    background:#a3002a;
    transform: translateY(-2px);
}

@media(max-width:900px){
    .masterclasses-layout{
        grid-template-columns:1fr;
    }

    .masterclass-feature{
        height:350px;
    }
}