/* ============================================================  GALLERY V2 (MODERN MOCKUP)  */

.gh-v2-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.gh-v2-main-img img {
    height: 550px;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(13, 11, 74, 0.15);
}

.gh-v2-slider-wrap {
    padding: 0 20px;
}

.slider-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.slider-item {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    padding-bottom: 10px;
}

.si-inner {
    background: #0d0b4a;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s;
}

.slider-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateX(-50%);
    border-radius: 10px;
}

.slider-item.active::after {
    width: 40px;
}

.slider-item.active .si-inner {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(22, 16, 106, 0.2);
}

.si-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 11, 74, 0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 15px;
    opacity: 0.8;
    transition: all 0.3s;
}

.slider-item.active .si-overlay {
    background: linear-gradient(0deg, rgba(22, 16, 106, 0.9) 0%, transparent 100%);
    opacity: 1;
}

.si-inner i {
    font-size: 2rem;
    opacity: 0.4;
}

.si-inner span {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-item:hover {
    transform: translateY(-5px);
}

.slider-item:hover .si-inner {
    background: var(--primary);
    box-shadow: 0 15px 30px rgba(22, 16, 106, 0.2);
}

.slider-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 3rem;
    color: #0d0b4a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0.3;
}

.slider-arrow:hover {
    opacity: 1;
    color: var(--primary);
    transform: scale(1.1);
}

.slider-arrow.prev {
    transform: rotate(0deg);
}

.slider-arrow.next {
    transform: rotate(0deg);
}

@media (max-width: 991px) {
    .slider-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gh-v2-main-img img {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .slider-grid {
        grid-template-columns: 1fr;
    }

    .gh-v2-card {
        padding: 2rem;
    }

    .slider-arrow {
        display: none;
    }
}

/* ============================================================  GALLERY PAGE  */

.gallery-page .glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(22, 16, 106, 0.08);
}

.gh-title {
    letter-spacing: -0.04em;
}

.gh-stat-card {
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(22, 16, 106, 0.05);
    text-align: center;
    min-width: 100px;
}

.gh-stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.gh-stat-lbl {
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
}

/* SEARCH BAR */
.gallery-search-wrap {
    flex: 1;
    max-width: 450px;
}

.gallery-search-box {
    position: relative;
    width: 100%;
}

.gallery-search-box input {
    width: 100%;
    padding: 0.385rem 1.25rem 0.385rem 3.5rem;
    border-radius: 14px;
    border: 2px solid #eee;
    /* Red border as seen in screenshot highlight */
    background: white;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-search-box input::placeholder {
    color: rgba(22, 16, 106, 0.3);
}

.gallery-search-box input:focus {
    outline: none;
    border-color: #d1d1d1;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.15);
    transform: translateY(-2px);
}

.gallery-search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #cecece;
    pointer-events: none;
    transition: all 0.4s;
}

.gallery-search-box input:focus+i {
    transform: translateY(-50%) scale(1.2);
}

/* FILTERS */
.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid rgba(22, 16, 106, 0.08);
    background: var(--white);
    color: rgba(22, 16, 106, 0.6);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(22, 16, 106, 0.15);
}

/* GALLERY CARD */
.gallery-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(22, 16, 106, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.gc-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

.gc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover .gc-img {
    transform: scale(1.1);
}

.gc-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #e11d48;
    color: var(--white);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 800;
    z-index: 10;
    letter-spacing: 0.05em;
}

.gc-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #e11d48;
    z-index: 5;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.gc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 16, 106, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s;
    backdrop-filter: blur(4px);
}

.gallery-card:hover .gc-overlay {
    opacity: 1;
}

.gc-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.gc-date {
    font-size: 0.65rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.gc-comments {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.gc-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.gc-title a {
    color: inherit;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.gc-title a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #e11d48;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 8px rgba(225, 29, 72, 0.3);
}

.gc-title a:hover::after {
    width: 100%;
}

.gallery-card:hover .gc-title {
    color: #e11d48;
}

.gc-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(22, 16, 106, 0.05);
}

.gc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 1.15rem;
    background: rgba(22, 16, 106, 0.04);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 12px;
    border: 1px solid rgba(22, 16, 106, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.gc-btn i {
    font-size: 0.95rem;
    transition: all 0.4s;
    background: var(--white);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.gc-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(22, 16, 106, 0.18);
    border-color: var(--primary);
}

.gc-btn:hover i {
    transform: rotate(45deg);
    color: var(--primary);
}

/* ============================================================  MAGAZINE STYLE (SINGLE)  */

.single-gallery-magazine {
    font-family: 'Inter', sans-serif;
    background: #fdfdfd;
}

.magazine-hero {
    height: 75vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.mag-hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
}

.mag-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 11, 74, 0.95) 0%, rgba(13, 11, 74, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.mag-floating-meta {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 3.5rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.mag-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: #e11d48;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 50px;
    letter-spacing: 0.12em;
    width: fit-content;
    box-shadow: 0 8px 16px rgba(225, 29, 72, 0.3);
}

.mag-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.mag-hero-footer {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.m-f-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
}

.m-f-item i {
    font-size: 1.2rem;
    color: #e11d48;
}

/* ARTICLE BODY */
.magazine-body {
    background: #fdfdfd;
    position: relative;
}

.mag-lead-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    position: relative;
    padding-left: 2rem;
    border-left: 4px solid #e11d48;
}

.mag-article-content p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
    color: #4b5563;
}

.mag-dropcap::first-letter {
    float: left;
    font-size: 5rem;
    line-height: 0.7;
    padding: 0.6rem 1.2rem 0.2rem 0;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

/* SIDEBAR */
.mag-sticky-side {
    position: sticky;
    top: 100px;
}

.mag-details-glass {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(22, 16, 106, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
}

.mag-side-title {
    font-size: 0.65rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mag-side-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.03);
}

.m-stat-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding: 6px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.m-stat-row:last-child {
    margin-bottom: 0;
}

.m-stat-row:hover {
    background: rgba(22, 16, 106, 0.02);
}

.m-stat-ico {
    width: 32px;
    height: 32px;
    background: rgba(22, 16, 106, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.m-stat-info {
    display: flex;
    flex-direction: column;
}

.m-stat-lbl {
    font-size: 0.6rem;
    font-weight: 800;
    color: #a0a4ab;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.m-stat-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.mag-share-pill {
    background: var(--primary);
    border-radius: 20px;
    padding: 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.mag-share-pill::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.2) 0%, transparent 60%);
}

.mag-social-grid {
    display: flex;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.mag-soc-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    transition: all 0.3s;
    text-decoration: none !important;
}

.mag-soc-btn:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* VISUAL JOURNAL */
.mag-journal-header {
    margin-bottom: 4rem;
    text-align: center;
}

.mag-journal-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
}

.mag-journal-header p {
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.mag-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
}

.mj-item {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mj-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mj-item:hover img {
    transform: scale(1.1);
}

.mj-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 11, 74, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.mj-item:hover .mj-overlay {
    opacity: 1;
}

.mj-btn {
    width: 45px;
    height: 45px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: translateY(10px);
    transition: all 0.4s 0.1s;
}

.mj-item:hover .mj-btn {
    transform: translateY(0);
}

.mj-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.mj-wide {
    grid-column: span 2;
}

/* NAV CARDS */
.mag-nav-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.nav-card {
    background: white;
    border-radius: 30px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.nav-card:hover::before {
    transform: translateY(0);
}

.nav-card * {
    position: relative;
    z-index: 2;
    transition: color 0.4s;
}

.nav-card .nc-lbl {
    font-size: 0.7rem;
    font-weight: 900;
    color: #e11d48;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.nav-card .nc-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.nav-card:hover .nc-lbl {
    color: rgba(255, 255, 255, 0.6);
}

.nav-card:hover .nc-title {
    color: white;
}

/* REVEAL ANIMATIONS */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-up.in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .mag-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mag-floating-meta {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .magazine-hero {
        height: 60vh;
    }

    .mag-floating-meta {
        bottom: 20px;
        width: 95%;
        padding: 1.5rem;
    }

    .mag-title {
        font-size: 1.8rem;
    }

    .mag-hero-footer {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .mag-modern-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .mj-lg,
    .mj-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .editorial-pull-quote {
        max-width: 100%;
    }

    .editorial-pull-quote blockquote {
        font-size: 1.5rem;
    }
}

/* ARTICLE MILESTONES */
.article-milestones {
    position: relative;
    padding-left: 10px;
}

.article-milestones::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: rgba(0, 0, 0, 0.05);
}

.milestone-dot {
    width: 10px;
    height: 10px;
    background: #e11d48;
    border-radius: 50%;
    margin-top: 6px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px white;
}

.milestone-dot.active {
    background: #e11d48;
    box-shadow: 0 0 0 6px rgba(225, 29, 72, 0.1), 0 0 0 4px white;
}

/* ============================================================  GLOBAL STANDARDS & UI ENHANCEMENTS  */

/* Reading Progress Bar */
.reading-progress-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: #e11d48;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.5);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 15;
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    opacity: 0.6;
}

.si-line {
    width: 40px;
    height: 1px;
    background: white;
    position: relative;
    overflow: hidden;
}

.si-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #e11d48;
    transform: translateX(-100%);
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Pull Quote */
.editorial-pull-quote {
    text-align: center;
    position: relative;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.editorial-pull-quote .q-icon {
    font-size: 3rem;
    color: #e11d48;
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.editorial-pull-quote blockquote {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.editorial-pull-quote cite {
    font-style: normal;
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Interactive Gallery Info */
.mj-info {
    flex: 1;
    color: white;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s 0.1s;
}

.mj-item:hover .mj-info {
    transform: translateY(0);
    opacity: 1;
}

.mj-info h6 {
    font-weight: 800;
    margin: 0;
    font-size: 1rem;
}

.mj-info p {
    font-size: 0.75rem;
    margin: 0;
    opacity: 0.7;
}

/* Nav Card Backgrounds */
.nav-card .nc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.nav-card:hover .nc-bg {
    opacity: 0.15;
    transform: scale(1);
}

.nav-card .nc-content {
    position: relative;
    z-index: 5;
}

/* Back to Top */
.mag-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mag-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mag-back-to-top:hover {
    background: #e11d48;
    transform: scale(1.1);
}

/* Editorial Polish */
.mag-article-content {
    letter-spacing: -0.01em;
}

.mag-article-content p {
    line-height: 1.8;
}

/* Force Fix: Hide LightGallery License Nag UI */
.lg-container .lg-license-warning,
.lg-container .lg-toolbar .lg-icon-license,
.lg-container .lg-error-msg,
.lg-container #lg-license-warning {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.lg-outer.lg-components-open:not(.lg-zoomed) .lg-components .lg-sub-html h4 {
    color: var(--white);
}

/* ============================================================  MAGAZINE HEADER  */

.gh-v2-meta-row {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.gh-meta-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gh-meta-item i {
    font-size: 1rem;
    color: var(--primary);
    opacity: 0.6;
}

.gh-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.2;
}

.meta-simple-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.meta-simple-wrap i {
    font-size: 1rem;
    color: var(--primary);
    opacity: 0.7;
}

.dot-sep {
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

/* Typography Utilities */
.fs-tiny {
    font-size: 0.75rem !important;
}

.fs-xtra-tiny {
    font-size: 0.65rem !important;
}

.ls-widest {
    letter-spacing: 0.15em !important;
}

.ls-wider {
    letter-spacing: 0.05em !important;
}


/* ============================================================  PREMIUM CINEMATIC HEADER  */

.gallery-hero-premium {
    background: radial-gradient(at 0% 0%, rgba(22, 16, 106, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(225, 29, 72, 0.03) 0px, transparent 50%);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.premium-tag {
    background: #e11d48;
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
    animation: pulse-soft 3s infinite;
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 12px 25px rgba(225, 29, 72, 0.35);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
    }
}

.premium-divider {
    width: 40px;
    height: 2px;
    background: rgba(13, 11, 74, 0.1);
}

.premium-cat {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.premium-title {
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--primary);
    margin-bottom: 2.5rem !important;
    text-shadow: 0 10px 30px rgba(22, 16, 106, 0.05);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #e11d48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.meta-pill-horizontal {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    padding: 0.8rem 2.5rem;
    box-shadow: 0 20px 40px rgba(13, 11, 74, 0.06);
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.meta-pill-horizontal:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 25px 50px rgba(13, 11, 74, 0.1);
    border-color: rgba(225, 29, 72, 0.15);
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s;
}

.meta-pill-horizontal:hover .meta-row {
    opacity: 0.6;
}

.meta-pill-horizontal .meta-row:hover {
    opacity: 1;
    transform: scale(1.05);
}

.meta-row i {
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #e11d48;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s;
}

.meta-row:hover i {
    background: #e11d48;
    color: white;
    transform: rotate(15deg);
}

.meta-row label {
    display: block;
    font-size: 0.55rem;
    font-weight: 900;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0;
    line-height: 1;
}

.meta-row span {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
}

.meta-sep-line {
    width: 1px;
    height: 25px;
    background: rgba(13, 11, 74, 0.1);
}

/* Staggered Reveals */
.reveal-delay-1 {
    transition-delay: 0.15s !important;
}

.reveal-delay-2 {
    transition-delay: 0.3s !important;
}

.reveal-delay-3 {
    transition-delay: 0.45s !important;
}

@media (max-width: 991px) {
    .premium-title {
        font-size: 3rem;
    }

    .meta-pill-horizontal {
        padding: 1.5rem;
        border-radius: 30px;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        align-items: flex-start;
    }

    .meta-sep-line {
        display: none;
    }

    .meta-pill-horizontal:hover {
        transform: none;
    }
}

@media (max-width: 767px) {
    .premium-title {
        font-size: 2.2rem;
    }
}

/* ============================================================  EDITORIAL TIMELINE  */
.editorial-timeline {
    position: relative;
    padding-left: 1rem;
}

.timeline-v2-wrap {
    position: relative;
    padding: 1rem 0;
}

.timeline-v2-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(22, 16, 106, 0.05) 100%);
    border-radius: 2px;
}

.timeline-v2-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3.5rem;
}

.timeline-v2-item:last-child {
    margin-bottom: 0;
}

.milestone-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-v2-item:hover .milestone-badge {
    transform: scale(1.3);
    background: #e11d48;
    border-color: #e11d48;
    box-shadow: 0 0 0 6px rgba(225, 29, 72, 0.1);
}

.timeline-v2-item.active .milestone-badge {
    background: #e11d48;
    border-color: #e11d48;
    box-shadow: 0 0 20px rgba(225, 29, 72, 0.4);
}

.timeline-v2-item.active .t-date-pill {
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
}

.t-date-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(22, 16, 106, 0.04);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.t-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.t-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.milestone-img-wrap {
    width: 100px;
    height: 65px;
    margin: 1rem 0 1.25rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(22, 16, 106, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
}

.milestone-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.timeline-v2-item:hover .milestone-img-wrap {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(22, 16, 106, 0.1);
}

.timeline-v2-item:hover .milestone-img-wrap img {
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .editorial-timeline {
        padding-left: 0;
    }

    .timeline-v2-item {
        padding-left: 2rem;
    }
}

/* ============================================================  VISUAL JOURNAL (MOSAIC)  */
.mag-modern-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.mosaic-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mosaic-item.tall {
    grid-row: span 2;
}

.mosaic-item.wide {
    grid-column: span 2;
}

.mosaic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 11, 74, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s;
    backdrop-filter: blur(0px);
}

.mosaic-item:hover .mosaic-overlay {
    opacity: 1;
    backdrop-filter: blur(4px);
}

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

.mosaic-info h6 {
    color: white;
    font-weight: 800;
    margin-bottom: 0.25rem;
    transform: translateY(10px);
    transition: all 0.4s 0.1s;
}

.mosaic-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
    transform: translateY(10px);
    transition: all 0.4s 0.2s;
}

.mosaic-item:hover .mosaic-info h6,
.mosaic-item:hover .mosaic-info p {
    transform: translateY(0);
}

@media (max-width: 991px) {
    .mag-modern-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .mag-modern-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .mosaic-item.tall,
    .mosaic-item.wide {
        grid-row: auto;
        grid-column: auto;
    }
}

/* View All Link */
.mag-view-all {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    padding: 0.5rem 1.25rem;
    background: rgba(22, 16, 106, 0.04);
    border-radius: 50px;
}

.mag-view-all:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 16, 106, 0.1);
}

.mag-view-all i {
    font-size: 1rem;
    transition: transform 0.3s;
}

.mag-view-all:hover i {
    transform: translate(3px, -3px);
}