/* =========================================================
   Mans Festival - Luxury Official Media Theme
   ملف التصميم الكامل
========================================================= */

:root {
    --navy: #07182f;
    --navy-2: #10284a;
    --navy-3: #030917;

    --gold: #d6a84f;
    --gold-2: #f2d08a;
    --gold-3: #b77d22;

    --red: #8d1f2d;
    --red-2: #6d1723;

    --bg: #f4f1eb;
    --bg-2: #f7f5ef;

    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;

    --success: #0f766e;
    --warning: #b45309;
    --danger: #b91c1c;

    --shadow-sm: 0 10px 25px rgba(15, 23, 42, .07);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, .10);
    --shadow-lg: 0 28px 70px rgba(15, 23, 42, .16);

    --radius: 18px;
    --radius-lg: 26px;
}

/* =========================================================
   Reset / Base
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Cairo", "Tahoma", "Arial", sans-serif;
    direction: rtl;
    background:
        radial-gradient(circle at top right, rgba(214,168,79,.10), transparent 28%),
        radial-gradient(circle at top left, rgba(141,31,45,.08), transparent 30%),
        var(--bg);
    color: var(--text);
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* =========================================================
   Header
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    padding: 16px 0;
    border-bottom: 3px solid rgba(214,168,79,.85);
    backdrop-filter: blur(14px);
    background:
        linear-gradient(135deg, rgba(7,24,47,.96), rgba(10,36,70,.94));
    box-shadow: 0 15px 45px rgba(0,0,0,.18);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-circle {
    position: relative;
    overflow: hidden;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    display: grid;
    place-items: center;
    color: var(--navy);
    font-weight: 900;
    font-size: 26px;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
}

.logo-circle::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
    transform: rotate(35deg) translateX(-90%);
    animation: logoShine 4s infinite;
}

@keyframes logoShine {
    0%, 70% {
        transform: rotate(35deg) translateX(-120%);
    }

    100% {
        transform: rotate(35deg) translateX(120%);
    }
}

.brand h1 {
    margin: 0;
    font-size: 25px;
    line-height: 1.4;
    font-weight: 900;
}

.brand p {
    margin: 4px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a {
    padding: 10px 13px;
    border-radius: 999px;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
    font-weight: 800;
    transition: .25s ease;
}

.nav a:hover {
    background: rgba(214,168,79,.22);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(214,168,79,.18);
}

/* =========================================================
   Buttons
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 13px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 900;
    font-size: 15px;
    line-height: 1.4;
    transition: .24s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
    box-shadow: 0 14px 30px rgba(214,168,79,.18);
}

.btn-primary:hover {
    box-shadow: 0 18px 40px rgba(214,168,79,.28);
}

.btn-outline {
    background: rgba(255,255,255,.09);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
}

.btn-luxury {
    background: linear-gradient(135deg, #c89534, #f5d487 55%, #b77d22);
    color: #07182f;
    border: 0;
    box-shadow: 0 18px 40px rgba(214,168,79,.24);
}

.btn-darkglass {
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(10px);
}

/* =========================================================
   Cinema Hero - Homepage
========================================================= */

.hero {
    background:
        linear-gradient(rgba(7,24,47,.78), rgba(7,24,47,.88)),
        radial-gradient(circle at center, rgba(214,168,79,.32), transparent 40%);
    color: #fff;
    padding: 62px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    display: grid;
    gap: 18px;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    background: rgba(214,168,79,.18);
    border: 1px solid rgba(214,168,79,.45);
    color: var(--gold-2);
    border-radius: 999px;
    font-weight: 800;
}

.hero h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.35;
    font-weight: 900;
}

.hero p {
    margin: 0;
    font-size: 18px;
    color: rgba(255,255,255,.82);
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* الهيرو السينمائي الجديد */
.cinema-hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3,9,23,.95) 0%, rgba(7,24,47,.86) 42%, rgba(7,24,47,.35) 100%),
        var(--hero-img, radial-gradient(circle at center, rgba(214,168,79,.35), transparent 38%)),
        linear-gradient(135deg, #050914, #0b1c35);
    background-size: cover;
    background-position: center;
}

.cinema-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(214,168,79,.24), transparent 24%),
        radial-gradient(circle at 80% 10%, rgba(141,31,45,.22), transparent 28%),
        linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
}

.cinema-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 130px;
    background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-stage-lines {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.10) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(500px) rotateX(54deg) translateY(120px);
    transform-origin: bottom;
}

.cinema-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 38px;
    align-items: center;
    padding: 70px 0 95px;
}

.cinema-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-radius: 999px;
    color: #ffe6a6;
    background: rgba(214,168,79,.12);
    border: 1px solid rgba(214,168,79,.45);
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(214,168,79,.08);
}

.cinema-kicker::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e8bd63;
    box-shadow: 0 0 18px #e8bd63;
}

.cinema-title {
    margin: 18px 0 14px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 18px 40px rgba(0,0,0,.32);
}

.cinema-title span {
    color: #f3cf82;
}

.cinema-lead {
    max-width: 760px;
    font-size: 20px;
    line-height: 2;
    color: rgba(255,255,255,.82);
    margin: 0;
}

.cinema-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.media-showcase {
    display: grid;
    gap: 16px;
}

.media-tile {
    position: relative;
    min-height: 170px;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 24px 65px rgba(0,0,0,.30);
    backdrop-filter: blur(16px);
}

.media-tile.big {
    min-height: 250px;
}

.media-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(214,168,79,.38), transparent 36%),
        linear-gradient(135deg, rgba(141,31,45,.40), rgba(7,24,47,.42));
}

.media-tile-content {
    position: absolute;
    inset: auto 20px 20px 20px;
    z-index: 2;
}

.media-tile-content strong {
    display: block;
    font-size: 22px;
    margin-bottom: 7px;
    font-weight: 900;
}

.media-tile-content span {
    color: rgba(255,255,255,.75);
    line-height: 1.7;
}

.play-mark {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.92);
    color: var(--red);
    font-size: 22px;
    box-shadow: 0 18px 35px rgba(0,0,0,.25);
}

/* =========================================================
   Sections / Layouts
========================================================= */

.section {
    padding: 38px 0;
}

.section-title {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 13px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 86px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--red));
}

.section-title h3 {
    margin: 0;
    font-size: 31px;
    color: var(--navy);
    font-weight: 900;
}

.section-title p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* =========================================================
   Cards
========================================================= */

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-body {
    padding: 18px;
}

.event-card {
    position: relative;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    transition: .28s ease;
    box-shadow: var(--shadow-md);
    background: #fff;
}

.event-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.event-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--red), var(--navy));
    z-index: 2;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.event-card h4 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 22px;
    line-height: 1.5;
    font-weight: 900;
}

.event-card p {
    color: var(--muted);
    margin: 0 0 14px;
    line-height: 1.9;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid rgba(15,23,42,.06);
}

.pill-gold {
    background: rgba(214,168,79,.16);
    color: #8a5d0b;
}

.pill-live {
    background: rgba(15,118,110,.12);
    color: var(--success);
}

.pill-finished {
    background: rgba(107,114,128,.13);
    color: #4b5563;
}

.pill-cancelled {
    background: rgba(185,28,28,.12);
    color: var(--danger);
}

.empty {
    text-align: center;
    padding: 38px;
    color: var(--muted);
}

/* =========================================================
   Stats
========================================================= */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(214,168,79,.75), rgba(7,24,47,.14), rgba(141,31,45,.38)) border-box;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.stat-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    left: -50px;
    top: -50px;
    border-radius: 50%;
    background: rgba(214,168,79,.10);
}

.stat-card span {
    position: relative;
    z-index: 2;
    color: var(--muted);
    font-weight: 800;
}

.stat-card strong {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 8px;
    font-size: 31px;
    color: var(--navy);
    font-weight: 900;
}

/* =========================================================
   Schedule Page
========================================================= */

.timeline {
    position: relative;
    display: grid;
    gap: 16px;
}

.day-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 22px;
}

.day-tab {
    white-space: nowrap;
    padding: 11px 15px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15,23,42,.05);
}

.day-tab.active {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
    border-color: var(--navy);
}

/* =========================================================
   Page Head
========================================================= */

.page-head {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 18% 10%, rgba(214,168,79,.28), transparent 28%),
        linear-gradient(135deg, #061326, #10284a);
    padding: 54px 0;
}

.page-head::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--red), var(--gold));
}

.page-head h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 900;
}

.page-head p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.78);
    line-height: 1.8;
}

/* =========================================================
   Event Details
========================================================= */

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 22px;
}

.info-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.info-box h3 {
    margin-top: 0;
    color: var(--navy);
    font-weight: 900;
}

.info-list {
    display: grid;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 10px;
}

.info-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-row span {
    color: var(--muted);
}

.info-row strong {
    color: var(--navy);
}

/* =========================================================
   Video / YouTube
========================================================= */

.youtube-box {
    position: relative;
    padding-top: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.youtube-box iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================================
   Footer
========================================================= */

.footer {
    background:
        radial-gradient(circle at top left, rgba(214,168,79,.14), transparent 25%),
        var(--navy);
    color: rgba(255,255,255,.76);
    padding: 30px 0;
    margin-top: 40px;
    border-top: 4px solid var(--gold);
}

.footer p {
    margin: 7px 0;
    line-height: 1.8;
}

.footer strong {
    color: #fff;
}

/* =========================================================
   Forms
========================================================= */

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-weight: 900;
}

.form-control {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 13px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(214,168,79,.14);
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.alert-danger {
    background: rgba(185,28,28,.12);
    color: var(--danger);
}

.alert-success {
    background: rgba(15,118,110,.12);
    color: var(--success);
}

/* =========================================================
   Admin Login
========================================================= */

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(214,168,79,.24), transparent 32%),
        linear-gradient(135deg, var(--navy), #030917);
    padding: 20px;
}

.login-card {
    width: min(430px, 100%);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
    padding: 26px;
}

.login-card h1 {
    margin: 0 0 8px;
    color: var(--navy);
    font-weight: 900;
}

.login-card p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.8;
}

/* =========================================================
   Admin Dashboard
========================================================= */

.admin-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: #f5f7fb;
}

.sidebar {
    background:
        radial-gradient(circle at top, rgba(214,168,79,.13), transparent 24%),
        var(--navy);
    color: #fff;
    padding: 20px;
}

.sidebar h2 {
    margin: 0 0 22px;
    font-size: 21px;
    font-weight: 900;
}

.sidebar a {
    display: block;
    padding: 12px 13px;
    border-radius: 12px;
    color: rgba(255,255,255,.82);
    margin-bottom: 7px;
    font-weight: 800;
    transition: .2s ease;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(214,168,79,.2);
    color: #fff;
}

.admin-main {
    padding: 24px;
}

.admin-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.admin-head h1 {
    margin: 0;
    color: var(--navy);
    font-weight: 900;
}

.admin-head p {
    margin: 6px 0 0;
    color: var(--muted);
}

/* =========================================================
   Tables - للإدارة لاحقًا
========================================================= */

.table-wrap {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    overflow: auto;
    border: 1px solid var(--border);
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.table th,
.table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    text-align: right;
    vertical-align: middle;
}

.table th {
    background: #f9fafb;
    color: var(--navy);
    font-weight: 900;
}

.table td {
    color: #374151;
}

.table tr:hover td {
    background: #fbfaf6;
}

/* =========================================================
   Media Cards Helpers
========================================================= */

.image-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.video-thumb {
    position: relative;
}

.video-thumb::after {
    content: "▶";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--red);
    font-size: 23px;
    box-shadow: 0 14px 35px rgba(0,0,0,.28);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1100px) {
    .cinema-content {
        grid-template-columns: 1fr;
    }

    .media-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-tile.big {
        min-height: 190px;
    }
}

@media (max-width: 900px) {
    .topbar,
    .section-title,
    .admin-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        width: 100%;
    }

    .nav a {
        font-size: 13px;
        padding: 9px 11px;
    }

    .grid-3,
    .grid-2,
    .detail-layout,
    .stat-grid,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .brand h1 {
        font-size: 20px;
    }

    .brand p {
        font-size: 13px;
    }

    .logo-circle {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        font-size: 23px;
    }

    .hero {
        padding: 42px 0;
    }

    .cinema-hero {
        min-height: auto;
    }

    .cinema-content {
        grid-template-columns: 1fr;
        padding: 44px 0 72px;
    }

    .media-showcase {
        grid-template-columns: 1fr;
    }

    .media-tile,
    .media-tile.big {
        min-height: 155px;
    }

    .cinema-title {
        font-size: 40px;
        letter-spacing: 0;
    }

    .cinema-lead {
        font-size: 17px;
    }

    .section-title h3 {
        font-size: 25px;
    }

    .page-head {
        padding: 38px 0;
    }

    .admin-main {
        padding: 18px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .site-header {
        padding: 13px 0;
    }

    .brand {
        align-items: flex-start;
    }

    .nav {
        gap: 6px;
    }

    .nav a {
        border-radius: 10px;
    }

    .cinema-title {
        font-size: 34px;
    }

    .cinema-lead {
        font-size: 16px;
        line-height: 1.9;
    }

    .cinema-actions {
        flex-direction: column;
    }

    .cinema-actions .btn {
        width: 100%;
    }

    .card-body {
        padding: 16px;
    }

    .event-card h4 {
        font-size: 20px;
    }

    .stat-card strong {
        font-size: 27px;
    }
}

/* =========================================================
   Clean Event Covers + Featured Events
   استبدال كل باتشات الصور والمميز القديمة
========================================================= */

/* كروت الاندكس العادية */
.event-index-card {
    display: flex;
    flex-direction: column;
}

.event-index-cover {
    position: relative;
    width: 100%;
    height: 145px;
    overflow: hidden;
    background: #07182f;
    display: grid;
    place-items: center;
}

.event-index-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--cover-url);
    background-size: cover;
    background-position: center top;
    filter: blur(16px);
    transform: scale(1.15);
    opacity: .36;
}

.event-index-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7,24,47,.08), rgba(7,24,47,.28));
}

.event-index-cover-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 145px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 6px;
    transition: transform .35s ease;
}

.event-index-card:hover .event-index-cover-img {
    transform: scale(1.03);
}

/* برنامج المهرجان - صورة جانبية */
.schedule-event-card.has-cover {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
}

.schedule-event-cover {
    position: relative;
    min-height: 185px;
    overflow: hidden;
    background: #07182f;
    display: grid;
    place-items: center;
}

.schedule-event-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--cover-url);
    background-size: cover;
    background-position: center top;
    filter: blur(16px);
    transform: scale(1.14);
    opacity: .38;
}

.schedule-event-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,24,47,.08), rgba(7,24,47,.34));
}

.schedule-event-cover-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 185px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 8px;
}

.schedule-event-body {
    min-width: 0;
}

/* صفحة تفاصيل الفعالية */
.event-detail-cover {
    position: relative;
    width: 100%;
    height: 410px;
    border-radius: 24px;
    overflow: hidden;
    background: #07182f;
    margin-bottom: 24px;
    box-shadow: 0 22px 55px rgba(15,23,42,.15);
}

.event-detail-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--cover-url);
    background-size: cover;
    background-position: center;
    filter: blur(24px);
    transform: scale(1.16);
    opacity: .55;
}

.event-detail-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,24,47,.45), rgba(7,24,47,.05), rgba(7,24,47,.45)),
        linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35));
}

.event-detail-cover-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 14px;
}

/* بلوك الفعاليات المميزة */
.featured-section {
    padding-top: 18px;
}

.featured-section .section-title h3,
.featured-section-title h3 {
    color: var(--red);
}

.featured-grid,
.featured-events-grid {
    display: grid;
    gap: 22px;
}

.featured-event-card {
    position: relative;
    display: grid;
    grid-template-columns: 330px 1fr;
    min-height: 250px;
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(214,168,79,.95), rgba(141,31,45,.62), rgba(7,24,47,.50)) border-box;
    border: 2px solid transparent;
    box-shadow: 0 28px 80px rgba(15,23,42,.16);
}

.featured-event-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 7px;
    background: linear-gradient(90deg, var(--gold-2), var(--red), var(--gold));
    z-index: 4;
}

.featured-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 999px;
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 14px 35px rgba(214,168,79,.28);
}

.featured-ribbon::before {
    content: "★";
    font-size: 14px;
}

/* دعم الاسمين الموجودين في نسخ الاندكس */
.featured-cover,
.featured-event-cover {
    position: relative;
    min-height: 250px;
    height: 100%;
    background: #07182f;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.featured-cover::before,
.featured-event-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--cover-url);
    background-size: cover;
    background-position: center top;
    filter: blur(18px);
    transform: scale(1.14);
    opacity: .44;
}

.featured-cover::after,
.featured-event-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(214,168,79,.12), transparent 42%),
        linear-gradient(180deg, rgba(7,24,47,.08), rgba(7,24,47,.52));
}

.featured-cover-img,
.featured-event-cover-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 10px;
}

.featured-cover-empty,
.featured-event-placeholder {
    min-height: 250px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.86);
    font-weight: 900;
    font-size: 22px;
    text-align: center;
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(214,168,79,.25), transparent 35%),
        linear-gradient(135deg, var(--navy), var(--navy-2));
}

.featured-content,
.featured-event-content {
    padding: 30px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.featured-content h4,
.featured-event-content h4 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.45;
    font-weight: 900;
}

.featured-content p,
.featured-event-content p {
    margin: 0 0 15px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 16px;
}

.featured-location {
    color: var(--navy-2) !important;
    font-weight: 800;
}

.featured-content .btn,
.featured-event-content .btn {
    width: fit-content;
}

.featured-mini-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
    box-shadow: 0 8px 18px rgba(214,168,79,.24);
}

@media (max-width: 900px) {
    .featured-event-card {
        grid-template-columns: 1fr;
    }

    .featured-cover,
    .featured-event-cover,
    .featured-cover-img,
    .featured-event-cover-img,
    .featured-cover-empty,
    .featured-event-placeholder {
        height: 230px;
        min-height: 230px;
    }

    .featured-content,
    .featured-event-content {
        padding: 24px 20px;
    }

    .schedule-event-card.has-cover {
        display: block;
    }

    .schedule-event-cover,
    .schedule-event-cover-img {
        height: 200px;
        min-height: 200px;
    }

    .event-detail-cover {
        height: 320px;
    }
}

@media (max-width: 520px) {
    .event-index-cover,
    .event-index-cover-img {
        height: 140px;
    }

    .featured-ribbon {
        top: 12px;
        right: 12px;
        font-size: 13px;
        padding: 8px 12px;
    }

    .featured-cover,
    .featured-event-cover,
    .featured-cover-img,
    .featured-event-cover-img,
    .featured-cover-empty,
    .featured-event-placeholder {
        height: 200px;
        min-height: 200px;
    }

    .featured-content,
    .featured-event-content {
        padding: 18px;
    }

    .featured-content .btn,
    .featured-event-content .btn {
        width: 100%;
    }

    .schedule-event-cover,
    .schedule-event-cover-img {
        height: 180px;
        min-height: 180px;
    }

    .event-detail-cover {
        height: 260px;
        border-radius: 18px;
    }

    .event-detail-cover-img {
        padding: 8px;
    }
}
.event-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.btn-registration {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    box-shadow: 0 14px 30px rgba(20,184,166,.20);
}

.btn-registration:hover {
    box-shadow: 0 18px 40px rgba(20,184,166,.30);
}

@media (max-width: 520px) {
    .event-actions-row .btn {
        width: 100%;
    }
}/* =========================================================
   Registration Forms Buttons & Admin Selection
========================================================= */

.event-actions-row,
.event-registration-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.event-registration-buttons {
    margin-bottom: 10px;
}

.btn-registration {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    box-shadow: 0 14px 30px rgba(20,184,166,.20);
}

.btn-registration:hover {
    box-shadow: 0 18px 40px rgba(20,184,166,.30);
}

.featured-content .event-registration-buttons {
    margin-top: 10px;
    margin-bottom: 14px;
}

.registration-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.registration-check-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #dbe3ea;
    background: #fff;
    cursor: pointer;
    transition: .2s ease;
}

.registration-check-card:hover,
.registration-check-card.is-selected {
    border-color: #14b8a6;
    box-shadow: 0 14px 30px rgba(20,184,166,.12);
}

.registration-check-card input {
    margin-top: 6px;
}

.registration-check-card strong {
    display: block;
    color: #07182f;
    line-height: 1.6;
}

.registration-check-card small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
}

.registration-detail-card h3 {
    margin-top: 0;
    color: #07182f;
}

.registration-detail-list {
    display: grid;
    gap: 12px;
}

.registration-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fbfaf6;
}

.registration-detail-item strong {
    display: block;
    color: #07182f;
    font-weight: 900;
}

.registration-detail-item span {
    display: block;
    color: #6b7280;
    margin-top: 4px;
}

.aside-registration-box {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb;
    display: grid;
    gap: 10px;
}

.aside-registration-box strong {
    color: #07182f;
    font-weight: 900;
}

.aside-registration-box .btn {
    width: 100%;
}

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

@media (max-width: 520px) {
    .event-actions-row .btn,
    .event-registration-buttons .btn,
    .registration-detail-item .btn {
        width: 100%;
    }

    .registration-admin-grid {
        grid-template-columns: 1fr;
    }

    .registration-detail-item {
        align-items: stretch;
        flex-direction: column;
    }
}
/* =========================================================
   Schedule actions layout: details first, forms beside it
========================================================= */
.schedule-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.schedule-actions-row .event-registration-buttons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
}

.schedule-actions-row .btn-primary {
    order: 1;
}

.schedule-actions-row .event-registration-buttons {
    order: 2;
}

@media (max-width: 520px) {
    .schedule-actions-row,
    .schedule-actions-row .event-registration-buttons {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .schedule-actions-row .btn,
    .schedule-actions-row .event-registration-buttons .btn {
        width: 100%;
    }
}

/* =========================================================
   Videos Page - Mans Festival
========================================================= */

.video-filter-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.videos-grid {
    align-items: stretch;
}

.video-card {
    border-radius: 24px;
    overflow: hidden;
}

.video-card-thumb {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #07182f;
    display: grid;
    place-items: center;
}

.video-card-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--video-thumb);
    background-size: cover;
    background-position: center;
    filter: blur(14px);
    transform: scale(1.12);
    opacity: .45;
}

.video-card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,24,47,.08), rgba(7,24,47,.55));
}

.video-card-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-button,
.video-open-button {
    cursor: pointer;
}

.video-play-button {
    position: absolute;
    z-index: 4;
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #8d1f2d;
    background: rgba(255,255,255,.94);
    font-size: 25px;
    box-shadow: 0 18px 42px rgba(0,0,0,.30);
    transition: .25s ease;
}

.video-play-button:hover {
    transform: scale(1.08);
}

.video-thumb-empty {
    position: relative;
    z-index: 2;
    color: #f2d08a;
    font-weight: 900;
    font-size: 22px;
}

.video-card h4 {
    margin: 0 0 10px;
    color: #07182f;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 900;
}

.video-card p {
    color: #6b7280;
    line-height: 1.9;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.video-modal.is-open {
    display: flex;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3,9,23,.82);
    backdrop-filter: blur(8px);
}

.video-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(980px, 100%);
    background: #050914;
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
    border: 1px solid rgba(214,168,79,.28);
}

.video-modal-close {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #d6a84f, #f2d08a);
    color: #07182f;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

@media (max-width: 520px) {
    .video-card-thumb {
        height: 185px;
    }

    .video-modal {
        padding: 12px;
    }

    .video-modal-dialog {
        padding: 8px;
        border-radius: 16px;
    }

    .video-modal-close {
        top: -12px;
        left: -8px;
    }
}

/* =========================================================
   Photos / Gallery - Mans Festival
========================================================= */

.admin-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.admin-photo-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.admin-photo-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.admin-photo-info {
    padding: 13px;
    display: grid;
    gap: 8px;
}

.admin-photo-info strong {
    color: var(--navy);
    font-weight: 900;
    line-height: 1.5;
}

.admin-photo-info span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.gallery-filter-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 22px;
}

.gallery-filter-tab {
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--border);
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15,23,42,.05);
}

.gallery-filter-tab.active {
    color: #fff;
    border-color: var(--navy);
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-card {
    cursor: pointer;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15,23,42,.06);
    transition: .25s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-thumb {
    position: relative;
    height: 260px;
    background: #07182f;
    overflow: hidden;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.gallery-card:hover .gallery-thumb img {
    transform: scale(1.045);
}

.gallery-featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #07182f;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    box-shadow: 0 12px 25px rgba(0,0,0,.22);
}

.gallery-caption {
    padding: 16px;
}

.gallery-caption h4 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 900;
}

.gallery-caption p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    place-items: center;
    padding: 28px;
    background: rgba(3,9,23,.88);
    backdrop-filter: blur(10px);
}

.gallery-lightbox.active {
    display: grid;
}

.gallery-lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.gallery-lightbox-close {
    position: fixed;
    top: 22px;
    left: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    color: var(--navy);
    background: #fff;
    font-size: 30px;
    font-weight: 900;
    cursor: pointer;
}

.gallery-lightbox-title {
    color: #fff;
    margin-top: 14px;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}

@media (max-width: 1000px) {
    .admin-photo-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .admin-photo-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-thumb {
        height: 230px;
    }

    .gallery-lightbox {
        padding: 16px;
    }
}

/* =========================================================
   News Pages - Mans Festival
========================================================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.news-card {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.news-card-cover,
.news-featured-cover,
.news-detail-cover {
    position: relative;
    overflow: hidden;
    background: #07182f;
}

.news-card-cover {
    height: 190px;
}

.news-card-cover::before,
.news-featured-cover::before,
.news-detail-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--cover-url);
    background-size: cover;
    background-position: center;
    filter: blur(16px);
    transform: scale(1.13);
    opacity: .42;
}

.news-card-cover::after,
.news-featured-cover::after,
.news-detail-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,24,47,.04), rgba(7,24,47,.32));
}

.news-card-img,
.news-featured-img,
.news-detail-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.news-card-img {
    padding: 6px;
}

.news-card h4 {
    margin: 0 0 10px;
    color: #07182f;
    font-size: 21px;
    line-height: 1.55;
    font-weight: 900;
}

.news-card p {
    color: #6b7280;
    line-height: 1.9;
    margin: 0 0 15px;
}

.news-featured-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 310px;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15,23,42,.14);
    position: relative;
}

.news-featured-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, #d6a84f, #8d1f2d, #07182f);
    z-index: 4;
}

.news-featured-cover {
    min-height: 310px;
}

.news-featured-img {
    height: 310px;
    padding: 10px;
}

.news-featured-empty {
    position: relative;
    z-index: 2;
    height: 310px;
    display: grid;
    place-items: center;
    color: #f2d08a;
    font-weight: 900;
    font-size: 24px;
    background:
        radial-gradient(circle at top left, rgba(214,168,79,.25), transparent 35%),
        linear-gradient(135deg, #07182f, #10284a);
}

.news-featured-content {
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-content h3 {
    margin: 0 0 14px;
    color: #07182f;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.45;
    font-weight: 900;
}

.news-featured-content p {
    color: #4b5563;
    line-height: 2;
    margin: 0 0 18px;
}

.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 22px;
}

.news-detail-cover {
    height: 430px;
    border-radius: 24px;
    margin-bottom: 22px;
    box-shadow: 0 22px 55px rgba(15,23,42,.15);
}

.news-detail-cover::before {
    filter: blur(24px);
    transform: scale(1.16);
    opacity: .52;
}

.news-detail-img {
    padding: 14px;
}

.news-detail-card {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.news-detail-summary {
    font-size: 19px;
    line-height: 2;
    color: #10284a;
    font-weight: 800;
    padding: 16px;
    border-radius: 16px;
    background: #fbfaf6;
    border-right: 5px solid #d6a84f;
}

.news-detail-body {
    color: #1f2937;
    line-height: 2.15;
    font-size: 17px;
}

.related-news-list {
    display: grid;
    gap: 12px;
}

.related-news-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: #fbfaf6;
    transition: .2s ease;
}

.related-news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15,23,42,.08);
}

.related-news-item img {
    width: 70px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
}

.related-news-item span {
    color: #07182f;
    font-weight: 900;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .news-grid,
    .news-featured-card,
    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-featured-cover,
    .news-featured-img,
    .news-featured-empty {
        height: 250px;
        min-height: 250px;
    }

    .news-detail-cover {
        height: 320px;
    }
}

@media (max-width: 520px) {
    .news-card-cover {
        height: 175px;
    }

    .news-featured-cover,
    .news-featured-img,
    .news-featured-empty {
        height: 220px;
        min-height: 220px;
    }

    .news-featured-content {
        padding: 22px 18px;
    }

    .news-detail-cover {
        height: 260px;
        border-radius: 18px;
    }

    .news-detail-img {
        padding: 8px;
    }
}
/* =========================================================
   Persons / Guests - Mans Festival
========================================================= */

.persons-home-section {
    padding-top: 18px;
}

.persons-home-title h3 {
    color: var(--navy);
}

.home-persons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-person-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(214,168,79,.70), rgba(141,31,45,.28), rgba(7,24,47,.20)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 18px 45px rgba(15,23,42,.09);
    transition: .28s ease;
}

.home-person-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 70px rgba(15,23,42,.15);
}

.home-person-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--red), var(--navy));
    z-index: 3;
}

.home-person-photo {
    position: relative;
    display: grid;
    place-items: center;
    height: 250px;
    background: #07182f;
    overflow: hidden;
}

.home-person-photo::before,
.person-public-photo::before,
.person-event-photo::before,
.person-detail-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--person-img);
    background-size: cover;
    background-position: center top;
    filter: blur(18px);
    transform: scale(1.14);
    opacity: .42;
}

.home-person-photo::after,
.person-public-photo::after,
.person-event-photo::after,
.person-detail-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,24,47,.08), rgba(7,24,47,.35));
}

.home-person-photo img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    padding: 8px 8px 0;
    display: block;
}

.home-person-photo span,
.person-public-photo span,
.person-event-photo span,
.person-detail-photo span {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
    font-size: 42px;
    font-weight: 900;
}

.home-person-body {
    padding: 18px;
    text-align: center;
}

.home-person-body h4 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.5;
    font-weight: 900;
}

.home-person-body p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.7;
}

.home-person-body a {
    color: var(--red);
    font-weight: 900;
}

.persons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.person-public-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 230px;
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15,23,42,.09);
}

.person-public-photo {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 230px;
    background: #07182f;
    overflow: hidden;
}

.person-public-photo img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    padding: 8px 8px 0;
}

.person-public-body {
    padding: 20px;
}

.person-public-body h3 {
    margin: 10px 0 6px;
    color: var(--navy);
    font-size: 23px;
    line-height: 1.45;
    font-weight: 900;
}

.person-title-line {
    color: var(--red) !important;
    font-weight: 900;
}

.person-public-body p {
    color: var(--muted);
    line-height: 1.85;
}

.person-detail-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
}

.person-detail-card {
    background: #fff;
    border-radius: 26px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(15,23,42,.09);
    border: 1px solid var(--border);
}

.person-detail-photo {
    position: relative;
    display: grid;
    place-items: center;
    height: 360px;
    border-radius: 22px;
    overflow: hidden;
    background: #07182f;
    margin-bottom: 18px;
}

.person-detail-photo img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    padding: 10px 10px 0;
}

.person-detail-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-weight: 900;
    font-size: 26px;
}

.person-detail-card p {
    color: var(--muted);
    line-height: 1.8;
}

.persons-event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.person-event-card {
    display: grid;
    grid-template-columns: 155px 1fr;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15,23,42,.08);
    border: 1px solid var(--border);
}

.person-event-photo {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 190px;
    overflow: hidden;
    background: #07182f;
}

.person-event-photo img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    padding: 7px 7px 0;
}

.person-event-body {
    padding: 18px;
}

.person-event-body h4 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.5;
    font-weight: 900;
}

.person-role {
    color: var(--red) !important;
    font-weight: 900;
    margin-bottom: 8px !important;
}

.person-event-body p {
    color: var(--muted);
    line-height: 1.75;
}

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

    .persons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .person-public-card {
        grid-template-columns: 1fr;
    }

    .person-public-photo {
        height: 260px;
    }
}

@media (max-width: 900px) {
    .person-detail-layout,
    .persons-event-grid {
        grid-template-columns: 1fr;
    }

    .person-detail-photo {
        height: 300px;
    }
}

@media (max-width: 620px) {
    .home-persons-grid,
    .persons-grid {
        grid-template-columns: 1fr;
    }

    .home-person-photo {
        height: 220px;
    }

    .person-event-card {
        grid-template-columns: 1fr;
    }

    .person-event-photo {
        height: 220px;
    }
}

.table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d6a84f;
}

.table .form-control {
    min-width: 170px;
}

/* =========================================================
   Homepage Guests Moving Strip
========================================================= */

.guests-strip-section {
    overflow: hidden;
}

.guests-marquee {
    position: relative;
    overflow: hidden;
    padding: 6px 0 14px;
}

.guests-marquee::before,
.guests-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.guests-marquee::before {
    right: 0;
    background: linear-gradient(90deg, transparent, var(--bg));
}

.guests-marquee::after {
    left: 0;
    background: linear-gradient(270deg, transparent, var(--bg));
}

.guests-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: guestsScroll 45s linear infinite;
}

.guests-marquee:hover .guests-track {
    animation-play-state: paused;
}

@keyframes guestsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
    }
}

.home-guest-card {
    width: 210px;
    flex: 0 0 210px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(15,23,42,.10);
    border: 1px solid rgba(214,168,79,.18);
    transition: .25s ease;
}

.home-guest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(15,23,42,.16);
}

.home-guest-photo {
    height: 170px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(214,168,79,.18), transparent 35%),
        linear-gradient(135deg, #07182f, #10284a);
    display: grid;
    place-items: center;
}

.home-guest-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.home-guest-photo span {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
    font-size: 34px;
    font-weight: 900;
}

.home-guest-info {
    padding: 14px;
    text-align: center;
}

.home-guest-info strong {
    display: block;
    color: var(--navy);
    font-weight: 900;
    font-size: 17px;
    line-height: 1.5;
    min-height: 50px;
}

.home-guest-info small {
    display: block;
    color: var(--red);
    font-weight: 800;
    line-height: 1.6;
    min-height: 45px;
}

.home-guest-info em {
    display: inline-flex;
    margin-top: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid #e5e7eb;
}

/* =========================================================
   Persons Page - New Cards
========================================================= */

.persons-page-head {
    background:
        radial-gradient(circle at top left, rgba(214,168,79,.28), transparent 30%),
        radial-gradient(circle at bottom right, rgba(141,31,45,.22), transparent 32%),
        linear-gradient(135deg, #061326, #10284a);
}

.persons-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.person-modern-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(15,23,42,.10);
    border: 1px solid rgba(214,168,79,.16);
    transition: .25s ease;
}

.person-modern-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 30px 75px rgba(15,23,42,.16);
}

.person-modern-photo {
    position: relative;
    display: block;
    height: 260px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(214,168,79,.20), transparent 35%),
        linear-gradient(135deg, #07182f, #10284a);
}

.person-modern-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .35s ease;
}

.person-modern-card:hover .person-modern-photo img {
    transform: scale(1.04);
}

.person-modern-placeholder {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
    font-size: 42px;
    font-weight: 900;
    position: absolute;
    inset: 0;
    margin: auto;
}

.person-featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.person-modern-body {
    padding: 18px;
}

.person-modern-body h3 {
    margin: 0;
    color: var(--navy);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.5;
}

.person-modern-body h4 {
    margin: 8px 0 12px;
    color: var(--red);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.7;
}

.person-modern-body p {
    color: var(--muted);
    line-height: 1.9;
    margin: 0 0 16px;
    min-height: 82px;
}

.person-modern-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.person-events-count {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .persons-modern-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .home-guest-card {
        width: 185px;
        flex-basis: 185px;
    }

    .home-guest-photo {
        height: 150px;
    }
}

@media (max-width: 520px) {
    .persons-modern-grid {
        grid-template-columns: 1fr;
    }

    .person-modern-photo {
        height: 300px;
    }

    .guests-track {
        animation-duration: 32s;
    }
}
/* =========================================================
   Official Figures
========================================================= */

.official-figures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.official-figure-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(214,168,79,.18);
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
    transition: .25s ease;
}

.official-figure-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(15,23,42,.14);
}

.official-figure-photo {
    height: 270px;
    overflow: hidden;
    background: linear-gradient(135deg, #07182f, #10284a);
}

.official-figure-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.official-figure-body {
    padding: 18px;
}

.official-figure-label {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(214,168,79,.18);
    color: #8a5d0b;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
}

.official-figure-body h4 {
    margin: 0;
    color: var(--navy);
    font-size: 22px;
    font-weight: 900;
}

.official-figure-body h5 {
    margin: 8px 0 10px;
    color: var(--red);
    font-size: 15px;
    font-weight: 900;
}

.official-figure-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

/* =========================================================
   New Festival Stats
========================================================= */

.festival-stats-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.festival-stat-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(214,168,79,.85), rgba(7,24,47,.18), rgba(141,31,45,.35)) border-box;
    border: 1px solid transparent;
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.festival-stat-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    left: -55px;
    top: -55px;
    border-radius: 50%;
    background: rgba(214,168,79,.10);
}

.festival-stat-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.festival-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(214,168,79,.16);
    font-size: 21px;
}

.festival-stat-label {
    color: var(--navy);
    font-size: 15px;
    font-weight: 900;
}

.festival-stat-card strong {
    position: relative;
    z-index: 2;
    display: block;
    margin: 14px 0 8px;
    font-size: 38px;
    line-height: 1;
    color: var(--navy);
    font-weight: 900;
}

.festival-stat-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

/* =========================================================
   Guests Strip
========================================================= */

.guests-strip-section {
    overflow: hidden;
}

.guests-marquee {
    position: relative;
    overflow: hidden;
    padding: 6px 0 14px;
}

.guests-marquee::before,
.guests-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.guests-marquee::before {
    right: 0;
    background: linear-gradient(90deg, transparent, var(--bg));
}

.guests-marquee::after {
    left: 0;
    background: linear-gradient(270deg, transparent, var(--bg));
}

.guests-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: guestsScroll 42s linear infinite;
}

.guests-marquee:hover .guests-track {
    animation-play-state: paused;
}

@keyframes guestsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
    }
}

.home-guest-card {
    width: 205px;
    flex: 0 0 205px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(15,23,42,.10);
    border: 1px solid rgba(214,168,79,.18);
    transition: .25s ease;
}

.home-guest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(15,23,42,.16);
}

.home-guest-photo {
    height: 165px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(214,168,79,.18), transparent 35%),
        linear-gradient(135deg, #07182f, #10284a);
    display: grid;
    place-items: center;
}

.home-guest-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.home-guest-photo span {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
    font-size: 34px;
    font-weight: 900;
}

.home-guest-info {
    padding: 14px;
    text-align: center;
}

.home-guest-info strong {
    display: block;
    color: var(--navy);
    font-weight: 900;
    font-size: 17px;
    line-height: 1.5;
    min-height: 52px;
}

.home-guest-info small {
    display: block;
    color: var(--red);
    font-weight: 800;
    line-height: 1.6;
    min-height: 44px;
}

.home-guest-info em {
    display: inline-flex;
    margin-top: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid #e5e7eb;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1100px) {
    .official-figures-grid,
    .festival-stats-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .official-figures-grid,
    .festival-stats-wrap {
        grid-template-columns: 1fr;
    }

    .home-guest-card {
        width: 185px;
        flex-basis: 185px;
    }

    .home-guest-photo {
        height: 150px;
    }
}

@media (max-width: 520px) {
    .official-figure-photo {
        height: 240px;
    }

    .festival-stat-card strong {
        font-size: 32px;
    }

    .guests-track {
        animation-duration: 30s;
    }
}
/* =========================================================
   Official Footer
========================================================= */

.site-footer-official {
    text-align: center;
}

.footer-center {
    display: grid;
    place-items: center;
    gap: 8px;
}

.footer-main {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.8;
}

.footer-rights {
    margin: 0;
    color: rgba(255,255,255,.74);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.footer-credit {
    margin: 0;
    color: rgba(255,255,255,.70);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    direction: ltr;
}

.footer-credit a {
    color: #f2d08a;
    font-weight: 900;
    border-bottom: 1px dashed rgba(242,208,138,.55);
}

.footer-credit a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}
/* =========================================================
   Header Logo & Nav Fix
========================================================= */

.logo-img-box {
    background: #fff;
    padding: 6px;
}

.logo-img-box img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-img-box::after {
    display: none;
}

.nav {
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.nav a {
    white-space: nowrap;
    flex: 0 0 auto;
    line-height: 1.2;
    padding: 10px 14px;
}

@media (min-width: 1000px) {
    .site-header .container {
        width: min(1280px, calc(100% - 32px));
    }

    .topbar {
        align-items: center;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 320px;
    }

    .nav {
        flex: 0 0 auto;
    }
}

@media (max-width: 900px) {
    .nav a {
        font-size: 13px;
        padding: 9px 11px;
    }
}