body {
      user-select: none;
      -webkit-user-select: none;
      -ms-user-select: none;
      -moz-user-select: none;
    }

    /* ============ RESET & BASE ============ */
    *,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Segoe UI',sans-serif}
    a{text-decoration:none;color:inherit}
    body {
      background: linear-gradient(to bottom right, #f9f7f7, #e3f2fd, #fce1e4);
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-size: cover;
      font-family: 'Segoe UI', sans-serif;
      color: #333;
    }


    /* ============ NAVBAR ============ */

    header {
      background-color: #06498c;
      padding: 1rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      position: sticky;
      top: 0;
      z-index: 20;
    }
    
    .logo-container {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .logo-img {
      width: 50px;
      height: 50px;
    }
    
    .logo-text {
      font-size: 1.5rem;
      font-weight: bold;
      color: white;
    }
    
    /* Tombol Burger */
    .menu-toggle {
      display: none;
      font-size: 2rem;
      background: none;
      border: none;
      color: white;
      cursor: pointer;
    }
    nav {
      display: flex;
      gap: 1rem;
      position: relative;
      padding-right: 1rem; /* atau coba 1.5rem atau 20px sesuai kebutuhan */
    }
    nav a, .dropdown-toggle {
      color: white;
      text-decoration: none;
      font-weight: bold;
      cursor: pointer;
    }
    nav a:hover, .dropdown:hover .dropdown-toggle { color: #fcd34d; }

    .dropdown {
      position: relative;
    }
    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: white;
      min-width: 160px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
      z-index: 1;
    }
    .dropdown-content a {
      color: black;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
    }
    .dropdown-content a:hover {
      background-color: #f1f1f1;
    }
    .dropdown:hover .dropdown-content {
      display: block;
    }
    

    /* ============ HERO MARQUEE ============ */
      
    /* =========================================
       TV NEWS TICKER STYLE
    ========================================= */

        .hero{
        
            position: relative;
            width: 100%;
            
            background:
            linear-gradient(
                90deg,
                #021b3a 0%,
                #06498c 50%,
                #021b3a 100%
            );
        
            border-top: 3px solid #0ea5ff;
            border-bottom: 3px solid #0ea5ff;
        
            overflow: hidden;
        
            box-shadow:
                0 2px 10px rgba(0,0,0,0.25);
        
            z-index: 10;
        }
        
        /* LABEL BREAKING NEWS */
        
        .hero::before{
        
            content: "BREAKING NEWS";
        
            position: absolute;
        
            left: 0;
            top: 0;
            bottom: 0;
        
            display: flex;
            align-items: center;
        
            padding: 0 22px;
        
            background:
            linear-gradient(
                180deg,
                #ff0000 0%,
                #c40000 100%
            );
        
            color: #fff;
        
            font-size: 15px;
            font-weight: 800;
        
            letter-spacing: 1px;
        
            text-transform: uppercase;
        
            z-index: 20;
        
            box-shadow:
                3px 0 10px rgba(0,0,0,0.3);
        }
        
        
        /* MARQUEE */
        
        .hero marquee{
        
            display: block;
        
            padding:
                13px
                20px
                13px
                190px;
        
            color: #fff;
        
            font-size: 16px;
            font-weight: 600;
        
            font-family:
                "Segoe UI",
                Arial,
                sans-serif;
        
            letter-spacing: 0.3px;
        }
        
        /* LINK BERITA */
        
        .hero marquee a{
        
            color: #ffffff;
        
            text-decoration: none;
        
            transition: all 0.3s ease;
        }
        
        /* HOVER */
        
        .hero marquee a:hover{
        
            color: #ffe600;
        
            text-shadow:
                0 0 8px rgba(255,230,0,0.7);
        }
        
        /* ICON */
        
        .hero marquee a::before{
        
            content: "●";
        
            color: #ffcc00;
        
            margin-right: 10px;
        
            font-size: 14px;
        
            vertical-align: middle;
        }
        
        /* RESPONSIVE */
        
        @media(max-width:768px){
        
            .hero::before{
        
                font-size: 11px;
        
                padding: 0 12px;
            }
        
            .hero marquee{
        
                padding-left: 140px;
        
                font-size: 13px;
            }
        
        }
        
        /* JARAK BERITA */
        
        .hero marquee a{
        
            display:inline-block;
        
            white-space:nowrap;
        
            padding-right:10px;
        }
        
        /* DIVIDER */
        
        .news-divider{
        
            color:#ffd700;
        
            margin-left:18px;
        
            font-size:12px;
        
            opacity:0.8;
        }

    /* ============ MAIN CAROUSEL ============ */
    
    .carousel {
      display: flex;
      height: 480px;
      width: 100%;
      overflow: hidden;
      position: relative;
      gap: 10px;
    }
    
    /* Kolom kiri kecil */
    .carousel-left {
      width: 30%;
      overflow: hidden;
      position: relative;
      border-radius: 10px;
    }
    
    .left-slides {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.2s ease;
    }
    
    .left-slide {
      min-width: 100%;
      height: 100%;
    }
    
    .left-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      cursor: pointer;
    }
    
    /* Kolom kanan */
    .carousel-right {
      width: 70%;
      overflow: hidden;
      position: relative;
      border-radius: 10px;
    }
    
    .slides {
      display: flex;
      height: 100%;
      transition: transform 0.6s ease;
    }
    
    .slide {
      min-width: 100%;
      position: relative;
    }
    
    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      cursor: pointer;
    }
    
    .slide-caption {
      position: absolute;
      bottom: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      padding: 0.8rem;
      text-align: center;
      font-size: 1rem;
    }
    
    /* =========================
       RESPONSIVE SMARTPHONE
    ========================= */
    @media (max-width: 768px) {
    
      .carousel {
        flex-direction: column;
        height: auto;
      }
    
      .carousel-left,
      .carousel-right {
        width: 100%;
      }
    
      .carousel-left {
        height: 180px;
      }
    
      .carousel-right {
        height: 250px;
      }
    
      .slide-caption {
        font-size: 0.9rem;
        padding: 0.6rem;
      }
    }
    
    @media (max-width: 480px) {
    
      .carousel-left {
        height: 150px;
      }
    
      .carousel-right {
        height: 220px;
      }
    
      .slide-caption {
        font-size: 0.8rem;
        padding: 0.5rem;
      }
    }
    
    /* =========================
       POPUP IMAGE MODAL
    ========================= */
    
    .image-modal {
      display: none;
      position: fixed;
      z-index: 9999;
      padding-top: 40px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background: rgba(0,0,0,0.95);
    }
    
    .modal-content {
      display: block;
      margin: auto;
      max-width: 90%;
      max-height: 85vh;
      border-radius: 10px;
      animation: zoomIn 0.3s ease;
    }
    
    .close-modal {
      position: absolute;
      top: 15px;
      right: 25px;
      color: white;
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
    }
    
    .close-modal:hover {
      color: #ccc;
    }
    
    @keyframes zoomIn {
      from {
        transform: scale(0.7);
        opacity: 0;
      }
      to {
        transform: scale(1);
        opacity: 1;
      }
    }

    
    /* Tombol navigasi */
    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.7);
      border: none;
      border-radius: 50%;
      padding: 0.4rem 0.6rem;
      cursor: pointer;
    }
    
    .left-prev {
      left: 10px;
    }
    
    .left-next {
      right: 10px;
    }
    
    .right-prev {
      left: 10px;
    }
    
    .right-next {
      right: 10px;
    }


    /* ——— Card utama ——— */
    .card{
      display:flex;
      align-items:center;
      width: 100%;        /* persis contoh */
      background-color: #e6e4da;
      overflow:hidden;     /* potong foto */
      box-shadow:0 4px 16px rgba(0,0,0,.15);
    }
    
    /* ——— Foto bundar ——— */
    .photo-wrapper{
      flex:0 0 285px;      /* lebar photo area */
      aspect-ratio: 1 / 1; /* agar tetap bujur sangkar */
      position:relative;
      background:#fff;     /* lingkaran putih */
      border-right: none;  /* hilangkan garis tengah */
    }
    .photo-wrapper img{
      position:absolute;
      top:50%;left:50%;
      width:100%;
      height:100%;
      object-fit:cover;
      transform:translate(-50%,-50%);
      border:4px solid #000; /* outline hitam (tebal 6px) */
    }
    
    /* ——— Area info teks ——— */
    .info-wrapper {
      flex: 1;
      padding: 2rem 2.5rem;
      color: #000;
      text-align: justify; /* Tambahan agar teks rata kiri-kanan */
    }
    
    .info-wrapper h1 {
      font-size: 1rem;
      margin-bottom: .25rem;
      font-weight: 700;
    }
    
    .role {
      font-style: italic;
      margin-bottom: 1.2rem;
      color: #000;
    }
    
    .contact {
      list-style: none;
      font-size: .95rem;
      line-height: 1.8;
    }
    
    .contact i {
      margin-right: .7rem;
      width: 18px;
    }
    
    /* ——— Responsif ——— */
    @media (max-width: 720px) {
      .card {
        flex-direction: column;
      }
    
      .photo-wrapper {
        width: 200px;
        height: 200px;
        flex: none;
        margin-top: 1.5rem;
      }
    
      .info-wrapper {
        padding: 1.5rem 1.75rem;
        text-align: justify; /* Tetap justify untuk responsif */
      }
    }
    /*===========ACCORDION CANTIK ==============*/
    /* === Struktur dasar === */
    .horizontal-accordion {
      display: flex;
      width: 100%;
      height: auto;
      overflow: hidden;
      /*border-radius: 8px;*/
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      font-family: 'Segoe UI', sans-serif;
    }
    
    /* Item accordion */
    .accordion-item {
      flex: 1;
      background: linear-gradient(135deg, #06498c, #8f94fb);
      color: white;
      padding: 1rem;
      box-sizing: border-box;
      cursor: pointer;
      transition: flex 0.5s ease;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: justify;
      min-width: 180px;
    }
    
    .accordion-item h3 {
      margin: 0 0 0.5rem;
      font-size: 1.2rem;
    }
    
    .accordion-item p {
      font-size: 0.95rem;
      line-height: 1.5;
      display: none;
    }
    
    .accordion-item.active {
      flex: 3;
      padding: 1.5rem;
    }
    
    .accordion-item.active p {
      display: block;
    }
    
    /* === Responsif: ubah ke vertikal di layar kecil === */
    @media (max-width: 768px) {
      .horizontal-accordion {
        flex-direction: column;
      }
    
      .accordion-item {
        width: 100%;
        flex: unset;
        padding: 1rem;
      }
    
      .accordion-item h3 {
        font-size: 1.1rem;
      }
    
      .accordion-item p {
        font-size: 0.95rem;
      }
    
      .accordion-item.active {
        flex: unset;
      }
    }

     /*===========ACCORDION VERTICAL==============*/
    .vertical-accordion {
      width: 100%;
      max-width: 100%;
      margin: 2rem auto;
      border-radius: 8px;
      overflow: hidden;
      font-family: sans-serif;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .accordion-header {
      width: 100%;
      background: linear-gradient(135deg, #4e54c8, #8f94fb);
      color: #fff;
      padding: 1rem;
      font-size: 1.1rem;
      text-align: left;
      border: none;
      outline: none;
      cursor: pointer;
      transition: background 0.3s;
    }
    
    .accordion-header:hover {
      background: #4e54c8;
    }
    
    .accordion-content {
      max-height: 0;
      overflow: hidden;
      background: #f7f7f7;
      color: #333;
      padding: 0 1rem;
      transition: max-height 0.4s ease, padding 0.4s ease;
    }
    
    .accordion-content p {
      margin: 1rem 0;
    }
    
    .accordion-item.active .accordion-content {
      max-height: 200px; /* Adjust if content longer */
      padding: 1rem;
    }


   /* ============ SECOND CAROUSEL (PRESTASI) ============ */
    
    .image-carousel {
      position: relative;
      padding: 1.5rem 0;
      display: flex;
      justify-content: center;
      overflow: hidden;
      background: transparent;
    }
    
    .carousel-wrapper {
      width: 100%;
      overflow: hidden;
      padding: 0 1rem;
      position: relative;
    }
    
    /* =========================
       TRACK CAROUSEL
    ========================= */
    
    .carousel-track {
      display: flex;
      gap: 0.8rem;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
    }
    
    /* =========================
       ITEM
    ========================= */
    
    .carousel-item {
      flex: 0 0 auto;
      width: 375px;
      position: relative;
      scroll-snap-align: center;
    }
    
    .carousel-item img {
      height: 375px;
      width: 100%;
      object-fit: cover;
      border-radius: 8px 8px 0 0;
      cursor: pointer;
      display: block;
    }
    
    /* =========================
       CAPTION
    ========================= */
    
    .carousel-caption {
      width: 100%; height: 30px;
      padding: 0.75rem;
      background: #e1e6e5;
      border-radius: 0 0 8px 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 2px;
    
      min-height: 108px;
    }
    
    .carousel-caption p {
      margin: 0;
    }
    
    .carousel-caption p:nth-child(1){
      color:#000;
      font-size:11px;
      font-weight:bold;
    }
    
    .carousel-caption p:nth-child(2){
      color:#000;
      font-size:9px;
    }
    
    .carousel-caption p:nth-child(3){
      color:#000;
      font-size:12px;
    }
    
    .carousel-caption p:nth-child(4){
      color:#000;
      font-size:13px;
    }
    
    .carousel-caption p:nth-child(5){
      color:#000;
      font-size:12px;
    }
    
    /* =========================
       RESPONSIVE MOBILE
    ========================= */
    
    @media (max-width:600px){
    
      .carousel-track {
        gap: 0.5rem;
      }
    
      .carousel-item {
        width: 90vw;
      }
    
      .carousel-item img{
        height:350px;
      }
    
      .carousel-caption {
        min-height: 90px;
      }
    
      .carousel-caption p {
        font-size: 12px !important;
      }
    
      .carousel-caption p:nth-child(1){
        font-size:14px !important;
      }
    }
    
    /* =========================
       HINT
    ========================= */
    
    .carousel-hint{
      display:flex;
      justify-content:center;
      align-items:center;
      gap:.4rem;
      font-size:14px;
      color:#333;
      margin:1rem auto;
      animation:bounce 1.2s infinite;
    }
    
    .carousel-hint i{
      color:#2563eb;
    }
    
    @keyframes bounce{
      0%,100%{
        transform:translateX(0)
      }
      50%{
        transform:translateX(6px)
      }
    }
    
    /* =========================
       ZOOM POPUP
    ========================= */
    
    .zoom-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.85);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }
    
    .zoom-overlay img {
      max-width: 90%;
      max-height: 90%;
      box-shadow: 0 0 20px white;
      border-radius: 8px;
      transition: transform 0.3s ease;
    }
    
    .zoom-overlay.show {
      display: flex;
    }

    /* ============ SERVICES GRID ============ */
  
    .services{
      padding:1.5rem 1rem;
      display:flex;                 /* kolom-tunggal, setiap “row” jadi child */
      flex-direction:column;
      align-items:center;
      gap:1.5rem;
      background:#f2f2f2;
    }
    
    /* baris dinamis yang di-generate JS */
    .services-row{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:1rem;
    }
    
    .service-card{
      width:160px;                  /* lebar baku */
      background:#fff;
      border-radius:12px;
      padding:1rem;
      text-align:center;
      box-shadow:0 4px 12px rgba(0,0,0,.1);
      transition:.3s;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
    }
    .service-card:hover{
      transform:translateY(-5px);
      box-shadow:0 6px 16px rgba(0,0,0,.2);
    }
    .service-card img{width:50px;margin-bottom:.5rem}
    .service-card h3{font-size:.9rem;color:#06498c}
    
    @media(max-width:500px){        /* tampilan ponsel kecil */
      .service-card{width:45%;max-width:180px}
    }
    
    /* ============ PROFILE SECTION ============ */
    .profile{padding:2rem 2rem;text-align:center;color:#fff;background:#06498c;}

    /* ============ CONTACT FORM ============ */
    .contact{padding:3rem 2rem;background:#e5e7eb}
    .contact form{max-width:600px;margin:0 auto;display:flex;flex-direction:column;gap:1rem}
    .contact input,.contact textarea{padding:.75rem;border:1px solid #ccc;border-radius:6px;width:100%}
    .contact button{padding:.75rem;border:none;border-radius:6px;background:#068c39;color:#fff;font-weight:600;cursor:pointer;transition:.3s}
    .contact button:hover{background:#c70490}

    /* ============ FOOTER ============ */
   
    footer {
      background: #111;
      color: #fff;
      text-align: center;
      padding: 20px;
    }
    
    .social-icons {
      margin-bottom: 15px;
    }
    
    .social-icons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      margin: 0 8px;
      border-radius: 50%;
      background: #222;
      color: #fff;
      font-size: 18px;
      text-decoration: none;
      transition: 0.3s ease;
    }
    
    .social-icons a:hover {
      background: #0d6efd;
      transform: translateY(-3px);
    }
   
    /* =========================
       Main Gallery Styling
    ========================= */
    .gallery {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 20px;
      padding: 20px;
      flex-wrap: wrap;
    
      /* Menyesuaikan lebar layar */
      width: 100%;
      max-width: 1400px; /* batas maksimum desktop besar */
      margin: 0 auto;
      box-sizing: border-box;
    }

   /* Main Gallery Styling */
    .gallery {
      display: flex;
      justify-content: center; /* Center the gallery horizontally */
      gap: 10px;
      padding: 10px;
      flex-wrap: wrap;
      justify-content: center; /* Center items within the gallery */
    }
    
    .gallery-column {
      width: 30%; /* 3 columns */
      position: relative;
      overflow: hidden; /* Hide the overflow for horizontal scroll */
    }
    
    h3 {
      text-align: center;
      margin-bottom: 10px;
      font-size: 1.2rem;
    }
    
    .carousel-wrapper {
      display: flex;
      position: relative;
      overflow-x: scroll; /* Allow horizontal scrolling */
      scroll-snap-type: x mandatory; /* Make scrolling snap to the images */
      height: 513px; /* Fix height for consistency */
      justify-content: center; /* Center carousel horizontally */
    }
    
    .carousel-track {
      display: flex;
    }
    
    .carousel-item-gallery {
      min-width: 100%;
      scroll-snap-align: start; /* Ensure each item aligns to the left */
    }
    
    .carousel-item-gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 8px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    /* Scroll bar customization (optional) */
    .carousel-wrapper::-webkit-scrollbar {
      height: 10px;
    }
    
    .carousel-wrapper::-webkit-scrollbar-thumb {
      background-color: #888;
      border-radius: 5px;
    }
    
    .carousel-wrapper::-webkit-scrollbar-thumb:hover {
      background-color: #555;
    }
    
    /* Hover Effect for Images */
    .carousel-item img:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    /* Responsive Design: Stack images on small screens */
    @media (max-width: 800px) {
      .gallery {
        flex-direction: column;
      }
    
      .gallery-column {
        width: 100%;
      }
    }
    
    /* Modal Styles */
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    
    .modal-content img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 8px;
    }

/* Overlay */
.modern-popup-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:999999;
    opacity:0;
    visibility:hidden;
    transition:all .4s ease;
    padding:15px;
}

/* Active */
.modern-popup-overlay.show{
    opacity:1;
    visibility:visible;
}

/* Popup Box */
.modern-popup{
    width:100%;
    max-width:500px;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(0,0,0,.3);
    animation:popupZoom .4s ease;
    position:relative;
}

/* Animation */
@keyframes popupZoom{
    from{
        transform:scale(.7);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

/* Header */
.popup-header{
    background:linear-gradient(135deg,#06498c,#0ea5e9);
    color:#fff;
    padding:20px;
    text-align:center;
}

.popup-header h2{
    font-size:1.5rem;
    margin-bottom:8px;
}

.popup-header p{
    font-size:.95rem;
    opacity:.95;
}

/* Body */
.popup-body{
    padding:20px;
    text-align:center;
}

.popup-body img{
    width:100%;
    max-height:250px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:15px;
}

/* Text */
.popup-body h3{
    color:#06498c;
    margin-bottom:10px;
    font-size:1.2rem;
}

.popup-body p{
    font-size:.95rem;
    color:#555;
    line-height:1.6;
}

/* Buttons */
.popup-buttons{
    display:flex;
    gap:10px;
    margin-top:20px;
    flex-wrap:wrap;
    justify-content:center;
}

.popup-btn{
    padding:12px 18px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
    text-decoration:none;
    display:inline-block;
}

.popup-btn-primary{
    background:#06498c;
    color:#fff;
}

.popup-btn-primary:hover{
    background:#04396d;
}

.popup-btn-secondary{
    background:#e5e7eb;
    color:#333;
}

.popup-btn-secondary:hover{
    background:#d1d5db;
}

/* Close Button */
.popup-close{
    position:absolute;
    top:12px;
    right:15px;
    font-size:28px;
    color:#fff;
    cursor:pointer;
    font-weight:bold;
}

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

    .modern-popup{
        max-width:95%;
        border-radius:16px;
    }

    .popup-header h2{
        font-size:1.2rem;
    }

    .popup-body{
        padding:15px;
    }

    .popup-btn{
        width:100%;
    }
}

/* =========================
   WORDPRESS NEWS SLIDER
========================= */

.carousel-right{

    position:relative;

    width:100%;

    overflow:hidden;

}

.carousel-right .slides{

    display:flex;

    width:100%;

    transition:transform 0.6s ease;

}

.carousel-right .slide{

    min-width:100%;

    flex-shrink:0;

    position:relative;

}

.carousel-right .slide img{

    width:100%;

    height:420px;

    object-fit:cover;

    display:block;

}

.carousel-right .slide-caption{

    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;

    padding: 20px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0)
    );

    color: white;

    font-size: 1.2rem;
    font-weight: bold;

}

.carousel-right .slide a{
    color: white;
    text-decoration: none;
}

/* MOBILE */

@media(max-width:768px){

    .carousel-right .slide img{

        height: 260px;

    }

    .carousel-right .slide-caption{

        font-size: 0.95rem;
        padding: 12px;

    }

}

/* =========================
   TEACHER SLIDER
========================= */

.teacher-carousel-wrapper{

    width:100%;

    overflow:hidden;

    position:relative;

    cursor:grab;
}

.teacher-carousel-track{

    display:flex;

    gap:15px;

    width:max-content;

    will-change:transform;
}

.teacher-carousel-track .carousel-item{

    flex-shrink:0;
}
