.mmect-about-cinematic-section,
.hist-essay-section,
.vision-mission-section,
.roadmap-section {
    scroll-margin-top: 150px;
}

.mmect-about-cinematic-section {
    padding-top: var(--inner-page-section-gap-desktop);
    padding-bottom: 20px; /* Reduced to minimize gap */
    min-height: auto;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15), transparent 55%),
                linear-gradient(125deg, #4d092d 0%, #25041a 45%, #08010a 100%);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Glossy sheen overlay */
.mmect-about-cinematic-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 60%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 55%);
    transform: translateY(-30%) rotate(10deg);
    pointer-events: none;
    opacity: 0.7;
}

.mmect-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    grid-template-areas:
        "title title"
        "media content";
    column-gap: 48px;
    row-gap: 24px;
    padding: 0 40px;
    align-items: start;
    padding-bottom: 20px;
    padding-top: 0;
}


/* IMAGE BOX FIX: Removes forced square to prevent zoom/crops */
.mmect-image-wrapper {
    grid-area: media;
    flex: 1;
    min-width: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mmect-image-frame {
    background: #916b18;
    padding: 6px;
    border-radius: 60px; /* Arched corners as requested earlier */
    box-shadow: 0 32px 64px rgba(0,0,0,0.5);
    border: 1px solid rgba(191,149,63,0.22);
    
    /* FORCE EQUAL HEIGHT & WIDTH */
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1; /* Ensures it is a perfect square */
    
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.mmect-full-view-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 40px;
    display: block;
}

.mmect-full-view-img.mmect-focus-top {
    object-position: top center;
}

.mmect-image-slider {
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.1), transparent 42%),
        linear-gradient(160deg, #9a7623, #6d4a0f);
}




.mmect-image-slide {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    opacity: 0;
    transform: translateX(60%) scale(0.98) rotateY(-7deg);
    transition: opacity 2s cubic-bezier(0.4,0,0.2,1), transform 2s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(255,255,255,0.14);
    z-index: 1;
    backface-visibility: hidden;
}

.mmect-image-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform: translateX(0) scale(1) rotateY(0deg);
    box-shadow: 0 16px 48px rgba(191,149,63,0.18), 0 2px 16px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(255,255,255,0.14);
}

.mmect-image-slide.is-prev {
    opacity: 0;
    z-index: 0;
    transform: translateX(-60%) scale(0.98) rotateY(7deg);
    transition: opacity 2s cubic-bezier(0.4,0,0.2,1), transform 2s cubic-bezier(0.4,0,0.2,1);
}
.mmect-image-slide.is-next {
    opacity: 0;
    z-index: 0;
    transform: translateX(60%) scale(0.98) rotateY(-7deg);
    transition: opacity 2s cubic-bezier(0.4,0,0.2,1), transform 2s cubic-bezier(0.4,0,0.2,1);
}

.mmect-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 16, 20, 0.82), rgba(32, 24, 10, 0.7));
    border: 1px solid rgba(244, 212, 122, 0.5);
    color: #fff1bd;
    font-size: 26px;
    line-height: 1;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mmect-slider-btn:hover {
    transform: translateY(-50%) scale(1.06);
    background: linear-gradient(135deg, rgba(191, 149, 63, 0.86), rgba(38, 30, 12, 0.82));
    border-color: rgba(252, 246, 186, 0.78);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3), 0 0 18px rgba(191, 149, 63, 0.14);
}

.mmect-slider-btn-prev {
    left: 24px;
}

.mmect-slider-btn-next {
    right: 24px;
}

/* Text Styles */
.mmect-text-essay-wrapper {
    grid-area: content;
    flex: 1.2;
    min-width: 0;
}

.mmect-glass-essay-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    padding: 56px 64px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0;
    padding-bottom: 50px;
}

.mmect-essay-title {
    font-size: calc(3.5rem + 2px);
    color: #fff;
    font-weight: 900;
    margin: 0 0 30px 0;
}

/* Mobile-only title when the card flows below the image */
.mmect-essay-title--mobile {
    grid-area: title;
    display: block;
    text-align: center;
    margin: 0 0 6px;
    position: relative;
    padding-bottom: 14px;
}

.mmect-essay-title--mobile::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    border-radius: 999px;
    background: #bf953f;
}

.mmect-glass-essay-card .mmect-essay-title {
    display: none;
}

@media (max-width: 768px) {
    .mmect-essay-title--mobile {
        margin: 0 0 14px 0;
    }
}

.mmect-gold-text {
    background: linear-gradient(90deg, #bf953f, #fcf6ba, #b38728);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mmect-essay-content {
    font-size: calc(1.2rem + 2px);
    color: #e0e0e0;
    line-height: 1.8;
    text-align: justify;
}

.mmect-highlight-pink {
    color: #d2ba73;
}

.mmect-essay-footer-line {
    width: 80px;
    height: 4px;
    background: #bf953f;
    margin-top: 40px;
}

/* ==========================================================================
   HISTORY SECTION - RICH PARCHMENT STYLE
   ========================================================================== */

   /* SECTION WRAPPER */
.hist-essay-section {
    padding: 20px 0; /* Reduced to minimize gap */
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: radial-gradient(circle at 70% 20%, #240829 0%, #0f1a1a 100%), linear-gradient(135deg, rgba(191, 149, 63, 0.15), transparent);
}

/* BACKGROUND WATERMARK */
.hist-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: calc(20vw + 2px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: 1;
    letter-spacing: 20px;
    pointer-events: none;
}

.hist-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 0 30px;
}

/* HEADER */
.hist-header {
    text-align: center;
    margin-bottom: 60px;
}

.hist-main-title {
    font-size: calc(4.5rem + 2px);
    font-weight: 900;
    margin: 0;
    background: linear-gradient(90deg, #bf953f, #fcf6ba, #b38728, #fcf6ba, #aa771c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.4));
}

.hist-title-divider {
    width: 100px;
    height: 4px;
    background: #ff007a;
    margin: 20px auto;
    box-shadow: 0 0 15px #ff007a;
    border-radius: 10px;
}

/* THE ESSAY CARD */
.hist-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 80px;
    position: relative;
    overflow: hidden; /* Clips the sliding aura */
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

/* --- THE GOLDEN SLIDING LIGHT AURA --- */
.hist-aura-shimmer {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg, 
        transparent, 
        rgba(191, 149, 63, 0.1), 
        rgba(252, 246, 186, 0.2), 
        rgba(191, 149, 63, 0.1), 
        transparent
    );
    transform: skewX(-25deg);
    animation: slidingAura 6s infinite ease-in-out;
}

@keyframes slidingAura {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

/* CONTENT STYLES */
.hist-para-lead {
    font-size: calc(1.35rem + 2px);
    line-height: 1.9;
    color: #f0f0f0;
    margin-bottom: 35px;
    text-align: justify;
}

.hist-drop-cap {
    float: left;
    font-size: calc(5.5rem + 2px);
    line-height: 0.8;
    padding: 10px 15px 0 0;
    color: #ff007a;
    font-weight: 900;
    text-shadow: 3px 3px 0px #bf953f;
}

.hist-para {
    font-size: calc(1.30rem + 2px);
    line-height: 1.9;
    color: #d0d0d0;
    margin-bottom: 30px;
    text-align: justify;
}

/* HIGHLIGHTS */
.hist-highlight-white { color: #fff; font-weight: 700; }
.hist-highlight-gold { color: #bf953f; font-weight: 700; }
.hist-link,
.hist-link:visited,
.hist-link:focus {
    color: #bf953f;
    text-decoration: none;
}

.hist-link {
    cursor: pointer;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hist-link:hover,
.hist-link:focus {
    color: #fcf6ba;
    text-decoration: underline;
    text-decoration-color: #fcf6ba;
    text-underline-offset: 0.16em;
}

.hist-footer-block {
    margin-top: 50px;
    padding: 40px;
    background: rgba(255, 0, 122, 0.04);
    border-left: 5px solid #ff007a;
    border-radius: 0 30px 30px 0;
    font-size: calc(1.2rem + 2px);
    line-height: 1.8;
    color: #fff;
    font-style: normal;
}

.hist-footer-block p {
    margin: 0;
    max-width: none;
    width: 100%;
    text-align: justify;
}

.hist-footer-line {
    display: block;
}

.hist-footer-line + .hist-footer-line {
    margin-top: 10px;
}

@media (max-width: 768px) {
    /* Reduce glare on mobile and improve text contrast */
    .hist-card {
        background: rgba(0, 0, 0, 0.60);
        padding: 40px;
    }

    .hist-aura-shimmer {
        background: linear-gradient(
            120deg,
            transparent,
            rgba(191, 149, 63, 0.06),
            rgba(252, 246, 186, 0.10),
            rgba(191, 149, 63, 0.06),
            transparent
        );
    }

    .hist-para-lead,
    .hist-para,
    .hist-footer-block {
        color: #f2f2f2;
    }
}


/* ==========================================================================
   VISION & MISSION - REFINED GLASS STYLES
   ========================================================================== */
 .vision-mission-section {
            padding: 20px 0; /* Reduced to minimize gap */
            position: relative;
            background: radial-gradient(circle at 30% 20%, rgba(191, 149, 63, 0.25), transparent 60%), linear-gradient(135deg, #0a0a2e 0%, #1e1e4e 50%, #0a0a2e 100%);
            font-family: 'Poppins', sans-serif;
            overflow: hidden;
            color: #fff;
        }

        /* Ambient light pulsing in the background */
        .vm-ambient-light {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(255, 0, 122, 0.05) 0%, transparent 70%);
            transform: translate(-50%, -50%);
            z-index: 1;
            pointer-events: none;
        }

        .vm-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 40px;
            position: relative;
            z-index: 10;
        }

        /* HEADER STYLES */
        .vm-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .vm-main-title {
            font-size: calc(4rem + 2px);
            font-weight: 900;
            margin: 0;
            background: linear-gradient(90deg, #bf953f, #fcf6ba, #b38728);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .vm-title-line {
            width: 80px;
            height: 4px;
            background: #ff007a;
            margin: 20px auto;
            border-radius: 10px;
            box-shadow: 0 0 15px #ff007a;
        }

        .vm-subtitle {
            font-size: calc(1.1rem + 2px);
            color: #d0d0d0;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* GRID & CARDS */
        .vm-grid {
            display: flex;
            gap: 40px;
            perspective: 1000px; /* Vital for 3D effect */
        }

        .vm-card {
            flex: 1;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 40px;
            padding: 60px 50px;
            position: relative;
            transition: transform 0.2s ease-out, box-shadow 0.3s ease;
            transform-style: preserve-3d;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .vm-card:hover {
            border: 1px solid rgba(191, 149, 63, 0.5);
            box-shadow: 0 30px 60px rgba(0,0,0,0.6);
        }

        /* Inner Content Padding */
        .vm-card-content {
            position: relative;
            z-index: 5;
            transform: translateZ(50px); /* Lifts text off the card */
        }

        .vm-card-title {
            font-size: calc(2.5rem + 2px);
            font-weight: 800;
            color: #fff;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .vm-card-title::before {
            content: '';
            width: 10px;
            height: 40px;
            background: #ff007a;
            border-radius: 5px;
        }

        .vm-text {
            font-size: calc(1.2rem + 2px);
            line-height: 1.8;
            color: #e0e0e0;
            text-align: justify;
        }

        /* MISSION LIST STYLES */
        .mission-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mission-list li {
            font-size: calc(1.1rem + 2px);
            margin-bottom: 18px;
            padding-left: 35px;
            position: relative;
            line-height: 1.6;
            color: #d0d0d0;
        }

        .mission-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #bf953f;
            font-weight: 900;
            font-size: calc(1.3rem + 2px);
        }

        .mission-list li strong {
            color: #fff;
            font-weight: 600;
        }

        /* THE HOVER GLOW LAYER */
        .vm-card-glow {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: radial-gradient(circle at var(--x) var(--y), rgba(191, 149, 63, 0.2) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }

        .vm-card:hover .vm-card-glow {
            opacity: 1;
        }

        /* Mobile Fix */
        @media (max-width: 992px) {
            .vm-grid { flex-direction: column; }
            .vm-main-title { font-size: calc(2.8rem + 2px); }
        }


       /* ============================================================
   ROADMAP SECTION - PRESTIGE THEME (CSS ONLY)
   ============================================================ */

.roadmap-section {
    padding: 20px 0; /* Reduced to minimize gap */
    /* Deep Midnight Plum Gradient */
    background: radial-gradient(circle at bottom, #2a0a1a 0%, #0d0106 100%);
    width: 100%;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    overflow: hidden;
}

.roadmap-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- HEADER --- */
.roadmap-header {
    text-align: center;
    margin-bottom: 50px;
}

.roadmap-title {
    font-family: 'Playfair Display', serif;
    font-size: calc(clamp(2.8rem, 6vw, 4.5rem) + 2px);
    /* Golden Metallic Gradient */
    background: linear-gradient(90deg, #bf953f, #fcf6ba, #b38728, #fcf6ba, #aa771c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.roadmap-intro {
    font-size: 26px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #ff007a; /* Neon Magenta accent */
    text-shadow: 0 0 15px rgba(255, 0, 122, 0.3);
}

/* --- THE CENTRAL LINE --- */
.roadmap-wrapper {
    position: relative;
    padding-left: 100px;
}

.roadmap-line {
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    /* Gradient line from Magenta to Gold to Transparent */
    background: linear-gradient(to bottom, #ff007a, #bf953f, transparent);
    box-shadow: 0 0 15px rgba(255, 0, 122, 0.4);
}

/* --- ITEMS & DOTS --- */
.roadmap-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.roadmap-item.active {
    opacity: 1;
    transform: translateX(0);
}

.roadmap-dot {
    position: absolute;
    left: -105px;
    top: 0;
    width: 80px;
    height: 45px;
    background: #1c050e; /* Deep Wine background */
    border: 1px solid #bf953f; /* Gold border */
    color: #fcf6ba; /* Light gold text */
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    z-index: 5;
    box-shadow: 0 0 20px rgba(191, 149, 63, 0.3);
}

/* --- CONTENT CARDS --- */
.roadmap-content {
    background: rgba(255, 255, 255, 0.03); /* Glassmorphism */
    backdrop-filter: blur(20px);
    padding: 40px 50px;
    border-radius: 30px;
    border-left: 5px solid #ff007a; /* Magenta border start */
    transition: all 0.4s ease;
}

.roadmap-content:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: scale(1.02) translateX(10px);
    border-left: 5px solid #bf953f; /* Changes to Gold on hover */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.roadmap-content p {
    font-size: 20px;
    line-height: 1.9;
    color: #efefef;
    margin: 0;
}

.roadmap-content .main-text { 
    font-weight: 700; 
    color: #ffffff; 
    margin-bottom: 20px; 
}

/* --- SUB-ITEMS (a, b, c, d) --- */
.sub-roadmap {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.sub-item .sub-letter:empty {
    background: transparent;
    border: none;
    min-width: 35px;
    height: 35px;
}

.sub-letter {
    font-weight: 900;
    color: #ff007a;
    background: rgba(255, 0, 122, 0.1);
    min-width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
}

/* --- FINAL FOOTER CARD --- */
.roadmap-footer {
    margin-top: 65px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(191, 149, 63, 0.1), transparent);
    border: 1px solid #bf953f;
    border-radius: 40px;
    text-align: center;
    position: relative;
}

.roadmap-footer p {
    font-size: calc(1.5rem + 2px);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #fcf6ba;
    margin: 0;
}

.roadmap-wrapper-document {
    padding-left: 0;
}

.roadmap-wrapper-document .roadmap-line {
    display: none;
}

.roadmap-document {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 46px 50px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.roadmap-clause + .roadmap-clause {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-clause > p {
    margin: 0;
    font-size: 20px;
    line-height: 1.95;
    color: #efefef;
    text-align: left;
}

.roadmap-clause-number {
    color: #fcf6ba;
    font-weight: 800;
    margin-right: 12px;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .roadmap-wrapper { padding-left: 40px; }
    .roadmap-line { left: 15px; }
    .roadmap-dot { left: -75px; width: 60px; font-size: 14px; height: 35px; }
    .roadmap-content { padding: 25px; border-radius: 0 20px 20px 20px; }
    .roadmap-wrapper-document {
        padding-left: 0;
    }

    .roadmap-document {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .roadmap-clause + .roadmap-clause {
        margin-top: 24px;
        padding-top: 22px;
    }
}

@media (max-width: 1100px) {
    .mmect-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "media"
            "content";
        gap: 28px;
        padding: 0 24px 24px;
    }

    .mmect-image-wrapper,
    .mmect-text-essay-wrapper {
        min-width: 0;
        width: 100%;
    }

    .mmect-image-frame {
        max-width: 520px;
        margin: 0 auto;
    }

    .mmect-glass-essay-card,
    .hist-card {
        padding: 42px 28px;
        border-radius: 32px;
    }

    .hist-main-title {
        font-size: calc(clamp(2.4rem, 8vw, 3.4rem) + 2px);
    }

    .roadmap-content,
    .roadmap-footer {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .mmect-container {
        gap: 24px;
    }

    .mmect-image-wrapper {
        min-width: 0;
    }

    .mmect-image-frame {
        max-width: 100%;
    }

    .mmect-glass-essay-card {
        padding: 40px 26px;
    }

    .mmect-essay-title {
        font-size: calc(clamp(2.8rem, 10vw, 3.2rem) + 2px);
    }

    .mmect-essay-content {
        font-size: calc(1rem + 2px);
        line-height: 1.7;
    }
}


@media (max-width: 600px) {
    .mmect-about-cinematic-section,
    .hist-essay-section,
    .vision-mission-section,
    .roadmap-section {
        padding-top: var(--inner-page-section-gap-mobile);
    }

    .mmect-container,
    .hist-container,
    .roadmap-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mmect-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "media"
            "content";
        gap: 18px;
        align-items: stretch;
    }

    .mmect-text-essay-wrapper,
    .mmect-glass-essay-card {
        display: contents;
    }

    .mmect-essay-title {
        order: 1;
        text-align: center;
        margin-bottom: 0;
    }

    .mmect-image-wrapper {
        order: 2;
        justify-content: center;
    }

    .mmect-essay-content {
        order: 3;
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(18px);
        padding: 24px 18px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mmect-essay-footer-line {
        order: 4;
        margin: 6px auto 0;
    }

    .mmect-image-frame {
        max-width: 100%;
        border-radius: 28px;
    }

    .mmect-full-view-img {
        border-radius: 20px;
    }

    .mmect-slider-btn {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .mmect-slider-btn-prev {
        left: 16px;
    }

    .mmect-slider-btn-next {
        right: 16px;
    }

    .mmect-essay-title,
    .vm-main-title,
    .roadmap-title {
        font-size: calc(clamp(2rem, 10vw, 2.8rem) + 2px);
    }

    .mmect-essay-content,
    .hist-para-lead,
    .hist-para,
    .hist-footer-block p,
    .vm-text,
    .roadmap-content p {
        font-size: calc(1rem + 2px);
        line-height: 1.7;
        text-align: left;
    }

    .hist-footer-block p {
        text-align: left !important;
        text-justify: auto;
        word-spacing: normal;
        letter-spacing: normal;
    }

    .hist-drop-cap {
        font-size: calc(4rem + 2px);
        padding-right: 10px;
    }

    .roadmap-intro,
    .roadmap-footer p {
        font-size: calc(1.1rem + 2px);
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .mmect-container {
        padding-left: 12px;
        padding-right: 12px;
        gap: 16px;
    }

    .mmect-essay-title {
        font-size: calc(1.8rem + 2px);
    }

    .mmect-essay-content {
        padding: 20px 14px;
    }

    .mmect-image-frame {
        border-radius: 22px;
    }

    .mmect-slider-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .mmect-about-cinematic-section {
        padding-top: var(--inner-page-section-gap-mobile);
        padding-bottom: 15px;
    }
}
