/* --- CUSTOM FONT SETUP (Brightwall) --- */
        @font-face {
            font-family: 'Brightwall';
            src: url('fonts/Brightwall Personal Use Only.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        /* --- PREMIUM THEME STYLE --- */
        :root {
            --primary-green: #2d462f;
            --accent-gold: #c5a065;
            --bg-cream: #f9f8f6;
            --text-dark: #1a1a1a;
            --text-light: #555555;
            --white: #ffffff;
            --highlight-red: #a02222;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body { 
            font-family: 'Lato', sans-serif; 
            line-height: 1.8; 
            color: var(--text-dark); 
            background-color: var(--bg-cream);
            overflow-x: hidden;
        }

        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            color: var(--primary-green);
        }

        /* --- ACCOMMODATION INTRO STYLES (WIDE STACKED) --- */
        .acc-intro-container {
            max-width: 1000px;
            margin: 0 auto 4rem auto;
            text-align: center;
        }

        .acc-stacked-images {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 30px;
        }

        .acc-wide-img {
            width: 100%;
            height: 450px;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .acc-wide-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .acc-wide-img:hover img {
            transform: scale(1.03);
        }

        .img-label {
            position: absolute;
            bottom: 15px;
            left: 20px;
            background: rgba(255, 255, 255, 0.9);
            padding: 5px 15px;
            border-radius: 4px;
            font-size: 0.9rem;
            font-weight: bold;
            color: var(--primary-green);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .acc-text-box {
            background: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            border-top: 5px solid var(--accent-gold);
            text-align: justify;
        }

        .acc-text-box p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #444;
            margin: 0;
        }

        .acc-text-box strong {
            color: var(--highlight-red);
            font-weight: 700;
        }
        
        @media (max-width: 768px) {
            .acc-wide-img { height: 250px; } 
            .acc-text-box { padding: 20px; }
        }

        /* --- CALENDAR STYLES --- */
        .kv-cal-wrap {
            max-width: 1100px;
            margin: 0 auto;
            width: 100%; 
            overflow: hidden;
            position: relative;
        }
        .kv-cal {
            width: 100%;
            border: 1px solid #ddd;
            border-radius: 8px;
            height: 800px; 
            display: block;
        }
        @media (max-width: 1024px) { .kv-cal { height: 700px; } }
        @media (max-width: 768px) { 
            .kv-cal-wrap { padding: 0; margin: 0; } 
            .kv-cal { height: 600px; border: none; border-radius: 0; } 
        }
        @media (max-width: 480px) { .kv-cal { height: 500px; } }

        /* --- FORM STYLES --- */
        .kekatoo-form {
            max-width: 800px; 
            margin: auto;
            font-family: 'Lato', sans-serif;
            background: #ffffff;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 1px solid #eee;
        }

        .kekatoo-form h2 {
            text-align: center;
            margin-bottom: 15px;
            color: var(--primary-green);
            font-family: 'Playfair Display', serif;
        }

        .form-intro {
            text-align: center;
            margin-bottom: 30px;
            color: #666;
            font-size: 1rem;
            line-height: 1.6;
        }

        .kekatoo-form label {
            font-weight: 600;
            display: block;
            margin-top: 20px;
            margin-bottom: 8px;
            color: var(--text-dark);
        }

        .kekatoo-form label .required {
            color: #e74c3c;
            margin-left: 4px;
        }

        .kekatoo-form input,
        .kekatoo-form select,
        .kekatoo-form textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            box-sizing: border-box;
            background-color: #fdfdfd;
            transition: 0.3s;
            font-family: 'Lato', sans-serif;
        }
        
        .kekatoo-form input:focus,
        .kekatoo-form select:focus,
        .kekatoo-form textarea:focus {
            border-color: var(--accent-gold);
            outline: none;
            background-color: #fff;
        }

        .kekatoo-form button {
            margin-top: 35px;
            background-color: #25D366;
            color: #fff;
            padding: 15px;
            width: 100%;
            border: none;
            border-radius: 50px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease-in-out;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        }

        .kekatoo-form button:hover {
            background-color: #1da851;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
        }

        .required-note {
            font-size: 13px;
            color: #777;
            margin-top: 20px;
            font-style: italic;
            text-align: center;
        }

        /* --- ANIMATION ON SCROLL --- */
        .reveal {
            position: relative;
            transform: translateY(50px);
            opacity: 0;
            transition: all 1s ease;
        }
        
        .card-reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-out;
        }

        .reveal.active, .card-reveal.active {
            transform: translateY(0);
            opacity: 1;
        }
        
        /* Staggered Animation Delays */
        .grid-3 .card-reveal:nth-child(1) { transition-delay: 0.1s; }
        .grid-3 .card-reveal:nth-child(2) { transition-delay: 0.3s; }
        .grid-3 .card-reveal:nth-child(3) { transition-delay: 0.5s; }
        .grid-2 .card-reveal:nth-child(1) { transition-delay: 0.1s; }
        .grid-2 .card-reveal:nth-child(2) { transition-delay: 0.3s; }

        /* --- NAVIGATION --- */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.8rem 5%; 
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: 0.4s;
            background: transparent;
        }

        .navbar.scrolled {
            background: var(--white);
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            padding: 0.5rem 5%;
        }

        .nav-logo {
            height: 60px; 
            width: auto;
            transition: all 0.3s ease;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        }

        .nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
        .nav-links a { 
            text-decoration: none; 
            color: var(--white); 
            font-size: 0.9rem; 
            text-transform: uppercase; 
            letter-spacing: 1px;
            font-weight: 600;
            transition: 0.3s;
        }

        .navbar.scrolled .nav-links a { color: var(--primary-green); }
        .nav-links a:hover { color: var(--accent-gold); }

        .btn-book {
            border: 2px solid var(--white);
            padding: 10px 25px;
            color: var(--white) !important;
            border-radius: 50px;
            white-space: nowrap; 
        }
        .btn-book:hover { background: var(--white); color: var(--primary-green) !important; }

        .navbar.scrolled .btn-book { border-color: var(--primary-green); color: var(--primary-green) !important; }
        .navbar.scrolled .btn-book:hover { background: var(--primary-green); color: var(--white) !important; }

        .menu-toggle { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
        .navbar.scrolled .menu-toggle { color: var(--primary-green); }

        /* --- HERO SECTION --- */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url('images/homepageimage.jpg');
            background-size: cover;
            background-position: center;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: var(--white);
            padding: 0 20px;
            background-color: #555; 
        }

        /* HERO TEXT (BRIGHTWALL) */
        .hero h1 { 
            font-family: 'Brightwall', cursive; 
            font-size: 6.5rem;
            color: var(--white); 
            margin-bottom: 0.5rem; 
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            line-height: 1.2;
            font-weight: normal;
            animation: fadeInDown 1.5s ease-out;
        }
        
        .hero p { 
            font-size: 1.2rem; 
            max-width: 600px; 
            margin-bottom: 2rem; 
            font-weight: 300; 
            letter-spacing: 1px;
            animation: fadeInUp 1.5s ease-out;
        }

        .hero-btn {
            background: var(--accent-gold);
            color: var(--white);
            padding: 15px 40px;
            text-decoration: none;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            transition: 0.3s;
            animation: fadeInUp 2s ease-out;
        }
        .hero-btn:hover { background: #b08d55; }

        /* Keyframes */
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* --- SECTIONS --- */
        .section { padding: 6rem 5%; }
        .bg-white { background: var(--white); }
        .bg-dark { background: var(--primary-green); color: var(--white); }
        .bg-light { background-color: #f9f9f9; }

        @media (max-width: 768px) { .section { padding: 4rem 5%; } }

        .section-header { text-align: center; margin-bottom: 4rem; }
        .section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
        .section-header p { color: #666; font-style: italic; }
        .divider { width: 60px; height: 3px; background: var(--accent-gold); margin: 20px auto; }

        /* --- SPLIT LAYOUT --- */
        .split-container { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; }
        .split-text { flex: 1; min-width: 300px; }
        .split-image { flex: 1; min-width: 300px; }

        .sub-heading { color: var(--accent-gold); letter-spacing: 2px; text-transform: uppercase; font-weight: bold; font-size: 0.8rem; display: block; margin-bottom: 15px; }
        .split-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
        .split-text p { margin-bottom: 20px; color: var(--text-light); }
        .feature-box { color: var(--primary-green); font-weight: bold; display: flex; align-items: center; gap: 10px; }

        .split-image img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 5px;
            box-shadow: 20px 20px 0px var(--bg-cream);
        }

        /* --- GALLERY & VIDEO SPLIT LAYOUT --- */
        .gallery-video-wrapper {
            display: flex;
            gap: 2rem;
            align-items: flex-start;
            flex-wrap: wrap;
        }
        .video-side, .gallery-side {
            flex: 1;
            min-width: 300px;
        }
        
        /* Slideshow Styles */
        .slideshow-container {
            position: relative;
            width: 100%;
            height: 580px; 
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            background: #000;
        }
        
        .mySlides {
            display: none;
            width: 100%;
            height: 100%;
        }
        
        .mySlides img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .fade { animation-name: fade; animation-duration: 1.5s; }
        @keyframes fade { from {opacity: .4} to {opacity: 1} }
        blockquote.tiktok-embed { margin: 0 auto !important; }

        /* --- CARDS --- */
        .card {
            background: var(--white);
            border: 1px solid #eee;
            transition: 0.3s;
            position: relative;
            overflow: hidden;
        }
        .card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
        
        .card-img { height: 250px; width: 100%; overflow: hidden; }
        .card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .card:hover .card-img img { transform: scale(1.1); }

        .card-content { padding: 2rem; text-align: center; }
        .card-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
        .unit-desc { color: #777; font-size: 0.9rem; margin-bottom: 1.5rem; }

        /* --- GRID SYSTEM --- */
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }

        .highlight-card { border-top: 5px solid var(--accent-gold); }
        .gold-text { color: var(--accent-gold) !important; }

        .price-tag {
            display: block;
            color: var(--primary-green);
            font-family: 'Playfair Display', serif;
            font-size: 1.2rem;
            font-weight: 700;
            margin: 10px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            padding: 10px 0;
        }
        .price-tag small { font-size: 0.8rem; font-weight: normal; color: #888; }

        .btn-outline {
            display: inline-block;
            border: 1px solid var(--primary-green);
            color: var(--primary-green);
            padding: 10px 30px;
            text-decoration: none;
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 1px;
            margin-top: 10px;
            transition: 0.3s;
            background: transparent;
            cursor: pointer;
        }
        .btn-outline:hover { background: var(--primary-green); color: var(--white); }
        
        .btn-check-date {
            display: inline-block;
            background-color: var(--primary-green);
            color: white;
            padding: 12px 35px;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            margin-top: 20px;
            transition: 0.3s;
        }
        .btn-check-date:hover {
            background-color: #1e3020;
            transform: translateY(-3px);
        }
        
        .booking-steps {
            text-align: left;
            margin: 20px auto;
            display: inline-block;
            color: var(--text-dark);
        }
        .booking-steps li { margin-bottom: 10px; display: flex; align-items: flex-start; }
        .booking-steps i { color: var(--accent-gold); margin-right: 10px; margin-top: 5px; }

        /* --- FACILITIES & POLICY LIST STYLES (NEW) --- */
        .facilities-list-container {
            max-width: 1000px;
            margin: 3rem auto;
            padding: 0 1rem;
            text-align: left;
        }

        .fac-policy-box {
            background: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            margin-bottom: 30px;
            border-left: 5px solid var(--primary-green);
        }

        .fac-policy-box h3 {
            color: var(--primary-green);
            border-bottom: 2px solid #eee;
            padding-bottom: 10px;
            margin-bottom: 20px;
            font-family: 'Playfair Display', serif;
            font-weight: 700;
        }

        .fac-policy-box ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .fac-policy-box li {
            margin-bottom: 15px;
            padding-left: 0;
            position: relative;
        }
        
        .fac-policy-box p {
            margin-bottom: 0.5rem;
        }

        .sub-list {
            margin-left: 25px;
            margin-top: 5px;
            list-style-type: disc;
            color: #555;
            padding-left: 15px !important;
        }
        
        .sub-list li {
            margin-bottom: 5px;
        }

        /* --- FACILITIES STRIP --- */
        .facilities-wrapper { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; }
        .fac-item { text-align: center; width: 150px; margin: 10px 0; }
        .fac-item i { font-size: 2.5rem; color: var(--accent-gold); margin-bottom: 15px; }
        .fac-item span { display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

        footer { background: #111; color: #888; padding: 4rem 5%; text-align: center; }
        .social-icons { margin-bottom: 20px; }
        .social-icons a { color: var(--white); margin: 0 10px; font-size: 1.2rem; transition: 0.3s; }
        .social-icons a:hover { color: var(--accent-gold); }

        /* --- RESPONSIVE MOBILE --- */
        @media (max-width: 1024px) {
            .hero h1 { font-size: 4rem; line-height: 1.1; } 
            .split-container { flex-direction: column; }
            .split-image img { height: 250px; }
            .gallery-video-wrapper { flex-direction: column; }
            .slideshow-container { height: 300px; } 
            .grid-2 { grid-template-columns: 1fr; }
            .navbar { background: var(--white); padding: 1rem 5%; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
            .nav-logo { height: 45px; }
            .menu-toggle { display: block; color: var(--primary-green); }
            .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 2rem; display: none; gap: 1rem; text-align: center; }
            .nav-links.active { display: flex; }
            .nav-links a, .btn-book { color: var(--text-dark) !important; border-color: var(--text-dark); }
            .btn-book:hover { background: var(--primary-green); color: var(--white) !important; }
        }

/* ===============================
   RESPONSIVE IMAGE FIX – KEKATOO
   (Fix zoom/crop on phone/tablet/PC)
================================ */

/* Ensure images never overflow */
img { max-width: 100%; display: block; }

/* Make stacked intro images feel full-width but still premium */
.acc-intro-container{
  max-width: 1200px;
  padding: 0 5%;
}

/* Use fluid height instead of forcing aspect-ratio (prevents "zoom" feeling) */
.acc-wide-img{
  width: 100%;
  height: clamp(240px, 32vw, 520px);
  border-radius: 12px;
  overflow: hidden;
}

/* Default: lifestyle images look premium */
.acc-wide-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Special: overview image MUST NOT look zoomed/cropped */
.acc-wide-img.acc-no-zoom img{
  object-fit: contain !important;
  background: #000;
}

/* Cards: make image height responsive (less cramped on mobile) */
.card-img{
  height: clamp(220px, 24vw, 320px);
}

/* Slideshow: keep consistent */
.slideshow-container{
  height: clamp(280px, 30vw, 580px);
}

/* Mobile fine-tuning */
@media (max-width: 768px){
  .acc-intro-container{ padding: 0 4%; }
  .acc-wide-img{ height: 260px; border-radius: 14px; }
  .card-img{ height: 260px; }
  .slideshow-container{ height: 320px; }
}

/* Small phones */
@media (max-width: 420px){
  .acc-wide-img{ height: 240px; }
  .card-img{ height: 240px; }
  .slideshow-container{ height: 300px; }
}


/* ===============================
   PANORAMA PAN & SCAN (Gambar Wide)
   - Sesuai untuk gambar sangat lebar tanpa crop bangunan
================================ */
.panorama-pan{
  overflow: hidden;
  position: relative;
}

/* Wide image: lebih lebar dari container, gerak perlahan */
.panorama-pan img{
  width: 175%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateX(-35%);
  transition: transform 1.6s ease-out;
  will-change: transform;
}

/* Bila masuk viewport (reveal active) */
@media (max-width: 768px){
  .panorama-pan img{
    width: 195%;
    transform: translateX(-40%);
  }
  }


/* ===============================
   ZOOM OUT ON SCROLL (Image only)
   - Khas untuk gallery (contoh: Rumah Atuk)
================================ */
.zoom-out-img{ overflow: hidden; }
.zoom-out-img img{
  transform: scale(1.10);
  transition: transform 1s ease;
  will-change: transform;
}
.card-reveal.active .zoom-out-img img,
.reveal.active .zoom-out-img img{
  transform: scale(1);
}


/* ===============================
   PANORAMA PAN & SCAN (Option B)
   - Bergerak hanya bila dalam viewport (tak stuck)
================================ */

.panorama-pan{ overflow: hidden; position: relative; }

/* Base state: static */
.panorama-pan img{
  width: 175%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateX(-45%);
  will-change: transform;
}

/* Play only when in view */
.panorama-pan.is-playing img{
  animation: panoPan 10s ease-in-out infinite alternate;
}

@media (max-width: 768px){
  .panorama-pan img{ width: 195%; }
  .panorama-pan.is-playing img{ animation-duration: 12s; }
}

@keyframes panoPan{
  from { transform: translateX(-35%); }
  to   { transform: translateX(-60%); }
}

@media (prefers-reduced-motion: reduce){
  .panorama-pan.is-playing img{ animation: none; }
}


/* ===============================
   RESPONSIVE CALENDAR (FULL WIDTH)
================================ */
.calendar-wrap,
.calendar-container,
.calendar-section{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.calendar-wrap iframe,
.calendar-container iframe,
.calendar-section iframe{
  width: 100% !important;
  max-width: 100% !important;
  border: 0;
  display: block;
  height: 760px;
}

/* Tablet */
@media (max-width: 1024px){
  .calendar-wrap iframe,
  .calendar-container iframe,
  .calendar-section iframe{
    height: 720px;
  }
}

/* Mobile */
@media (max-width: 768px){
  .calendar-wrap iframe,
  .calendar-container iframe,
  .calendar-section iframe{
    height: 680px;
  }
}


/* ===============================
   HERO IMAGE – FINAL SAFE FIX
================================ */
.acc-wide-img{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.acc-wide-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
}

@media (max-width: 768px){
  .acc-wide-img{
    border-radius: 18px;
    aspect-ratio: 4 / 3;
  }
}


/* ===============================
   HERO IMAGE – NO ANIMATION, NO BLACK BORDER (FINAL)
================================ */

/* Container */
.acc-wide-img{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;   /* REMOVE BLACK */
}

/* Image */
.acc-wide-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* FULL COVER, NO BLACK */
  object-position: center;
  border-radius: inherit;
  animation: none !important; /* REMOVE ALL ANIMATION */
  transform: none !important;
}

/* Mobile optimisation */
@media (max-width: 768px){
  .acc-wide-img{
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }
}


/* ===============================
   HERO IMAGE – MOBILE FULL (NO CROP)
   Gambar anda 2400x1350 (16:9), jadi mobile pun kekalkan 16:9
================================ */
@media (max-width: 768px){
  .acc-wide-img{
    aspect-ratio: 16 / 9 !important; /* jangan paksa 4:3 */
  }
  .acc-wide-img img{
    object-fit: cover !important;    /* penuh tanpa border hitam */
  }
}


/* ===============================
   PACKAGES SECTION – ALIGN & RESPONSIVE FIX
================================ */
#packages .section-header{
  margin-bottom: 2.5rem; /* kurang gap */
  padding: 0 16px;       /* elak text kena tepi */
}

#packages .section-header h2{
  line-height: 1.2;
}

#packages .section-header p{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
  font-style: italic;
}

/* Center the packages grid and keep spacing consistent */
#packages .grid-3{
  max-width: 1200px;
  margin: 0 auto;
}

/* On smaller screens, reduce min column width so cards don't overflow */
@media (max-width: 768px){
  #packages .grid-3{
    grid-template-columns: 1fr; /* 1 column on phone */
    gap: 1.25rem;
  }
}


/* ===============================
   GLOBAL RESPONSIVE POLISH (All devices)
================================ */
html{ scroll-behavior: smooth; }
*,*::before,*::after{ box-sizing: border-box; }
body{ overflow-x: hidden; }

/* Consistent section width */
.section{
  padding: clamp(48px, 6vw, 96px) 5%;
}
.section .grid-3,
.section .grid-2,
.section .cards,
.section .content,
.section .wrapper{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Typography scaling */
h1{ font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; }
h2{ font-size: clamp(24px, 3vw, 36px); line-height: 1.2; }
p{ line-height: 1.65; }

/* ===============================
   HERO / OVERVIEW IMAGE – FIX (No crop issues from fixed height)
================================ */
.acc-wide-img{
  width: min(100%, 1200px);
  margin-left: auto;
  margin-right: auto;
  height: auto !important;        /* override older fixed heights */
  max-height: none !important;
  border-radius: 24px !important; /* consistent rounding */
  overflow: hidden;
  background: transparent !important;
}

.acc-wide-img img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover !important;   /* full look, no black border */
  object-position: center;
  border-radius: inherit;
  transform: none !important;
  animation: none !important;
}

/* Mobile: make hero feel full-width (edge-to-edge within viewport) */
@media (max-width: 768px){
  .acc-wide-img{
    width: 100%;
    border-radius: 18px !important;
  }
}

/* ===============================
   GRID BREAKPOINTS (prevent overflow on tablet/phone)
================================ */
@media (max-width: 1024px){
  .grid-3{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 768px){
  .grid-3, .grid-2{ grid-template-columns: 1fr !important; }
  .card, .cards > div{ min-width: 0; }
}

/* ===============================
   CALENDAR – make it usable on mobile (height + no side clipping)
================================ */
.kv-cal, iframe.kv-cal, .calendar-embed, .calendar-wrap iframe{
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 768px){
  .kv-cal, iframe.kv-cal, .calendar-embed, .calendar-wrap iframe{
    height: 720px !important;
  }
}
