:root {
    --brand-purple: #2A1B3D;
    --brand-purple-light: #3E2A57;
    --brand-gold: #E3B873;
    --brand-gold-dark: #C99A4F;
    --brand-teal: #5FBFB3;
    --brand-cream: #F4EFE6;
    --text-light: #F4EFE6;
    --sidebar-width: 250px;
}

* { box-sizing: border-box; }

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #F6F4F8;
    margin: 0;
    color: #2A1B3D;
}

/* ---------- Login screen ---------- */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-light) 100%);
}

.login-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    width: 380px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    text-align: center;
}

.login-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-gold);
    color: var(--brand-purple);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
}

.login-card h1 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brand-purple);
    font-size: 22px;
    margin-bottom: 4px;
}

.login-card p.tagline {
    color: var(--brand-gold-dark);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.login-card .form-control {
    border-radius: 8px;
    padding: 10px 14px;
}

.btn-brand {
    background-color: var(--brand-purple);
    border: none;
    color: var(--brand-gold);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 14px;
    width: 100%;
}

.btn-brand:hover {
    background-color: var(--brand-purple-light);
    color: var(--brand-gold);
}

/* ---------- Admin shell ---------- */
.admin-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--brand-purple);
    color: var(--text-light);
    flex-shrink: 0;
    padding: 20px 0;
}

.sidebar .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 12px;
}

.sidebar .brand .logo-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-gold);
    color: var(--brand-purple);
    font-family: Georgia, serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar .brand-name {
    font-family: Georgia, serif;
    font-size: 16px;
    color: var(--brand-gold);
    line-height: 1.1;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    padding: 11px 20px;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
    border-left: 3px solid transparent;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background: rgba(255,255,255,0.08);
    opacity: 1;
    border-left-color: var(--brand-gold);
}

.main-content {
    flex-grow: 1;
    padding: 28px 34px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.topbar h2 {
    font-family: Georgia, serif;
    color: var(--brand-purple);
    margin: 0;
}

.card-panel {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.color-swatch {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.15);
    vertical-align: middle;
    margin-right: 8px;
}

.table-brand thead {
    background: var(--brand-purple);
    color: var(--brand-gold);
}

.btn-gold {
    background: var(--brand-gold);
    border: none;
    color: var(--brand-purple);
    font-weight: 600;
}

.btn-gold:hover {
    background: var(--brand-gold-dark);
    color: var(--brand-purple);
}

/* ---------- Live preview of the public header ---------- */
.preview-header {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

.preview-topbar {
    background: linear-gradient(90deg, #d9a85c, #f0d9a4, #d9a85c);
    color: #3a2a13;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
    padding: 8px 10px;
}

.preview-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.preview-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-weight: bold;
    overflow: hidden;
}

.preview-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-heading {
    font-family: Georgia, serif;
    font-size: 18px;
    margin: 0;
}

.preview-subheading {
    font-size: 11px;
    letter-spacing: .5px;
    opacity: 0.85;
    margin: 0;
}

.preview-social {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

@media (max-width: 900px) {
    .admin-shell { flex-direction: column; }
    .sidebar { width: 100%; }
    .main-content { padding: 20px; }
    .preview-main { flex-direction: column; align-items: flex-start; gap: 10px; }
}

:root {
    --brand-purple: #2A1B3D;
    --brand-purple-light: #3E2A57;
    --brand-gold: #E3B873;
    --brand-gold-dark: #C99A4F;
    --brand-teal: #5FBFB3;
    --brand-cream: #F4EFE6;
    --text-light: #F4EFE6;
    --sidebar-width: 250px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #F6F4F8;
    margin: 0;
    color: #2A1B3D;
}

/* ---------- Login screen ---------- */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-light) 100%);
}

.login-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    width: 380px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    text-align: center;
}

.login-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-gold);
    color: var(--brand-purple);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
}

.login-card h1 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brand-purple);
    font-size: 22px;
    margin-bottom: 4px;
}

.login-card p.tagline {
    color: var(--brand-gold-dark);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.login-card .form-control {
    border-radius: 8px;
    padding: 10px 14px;
}

.btn-brand {
    background-color: var(--brand-purple);
    border: none;
    color: var(--brand-gold);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 14px;
    width: 100%;
}

    .btn-brand:hover {
        background-color: var(--brand-purple-light);
        color: var(--brand-gold);
    }

/* ---------- Admin shell ---------- */
.admin-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--brand-purple);
    color: var(--text-light);
    flex-shrink: 0;
    padding: 20px 0;
}

    .sidebar .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 20px 20px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        margin-bottom: 12px;
    }

        .sidebar .brand .logo-circle {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--brand-gold);
            color: var(--brand-purple);
            font-family: Georgia, serif;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
        }

    .sidebar .brand-name {
        font-family: Georgia, serif;
        font-size: 16px;
        color: var(--brand-gold);
        line-height: 1.1;
    }

    .sidebar nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-light);
        padding: 11px 20px;
        text-decoration: none;
        font-size: 14px;
        opacity: 0.85;
        border-left: 3px solid transparent;
    }

        .sidebar nav a:hover,
        .sidebar nav a.active {
            background: rgba(255,255,255,0.08);
            opacity: 1;
            border-left-color: var(--brand-gold);
        }

.main-content {
    flex-grow: 1;
    padding: 28px 34px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

    .topbar h2 {
        font-family: Georgia, serif;
        color: var(--brand-purple);
        margin: 0;
    }

.card-panel {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.color-swatch {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.15);
    vertical-align: middle;
    margin-right: 8px;
}

.table-brand thead {
    background: var(--brand-purple);
    color: var(--brand-gold);
}

.btn-gold {
    background: var(--brand-gold);
    border: none;
    color: var(--brand-purple);
    font-weight: 600;
}

    .btn-gold:hover {
        background: var(--brand-gold-dark);
        color: var(--brand-purple);
    }

/* ---------- Live preview of the public header ---------- */
.preview-header {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

.preview-topbar {
    background: linear-gradient(90deg, #d9a85c, #f0d9a4, #d9a85c);
    color: #3a2a13;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
    padding: 8px 10px;
}

.preview-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.preview-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-weight: bold;
    overflow: hidden;
}

    .preview-logo-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.preview-heading {
    font-family: Georgia, serif;
    font-size: 18px;
    margin: 0;
}

.preview-subheading {
    font-size: 11px;
    letter-spacing: .5px;
    opacity: 0.85;
    margin: 0;
}

.preview-social {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

/* ---------- Hero slider preview ---------- */
.hero-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*background: linear-gradient(120deg, #241433 0%, #5B3A8C 45%, #8B5FBF 65%, #D9A857 100%);*/
    padding: 36px 24px;
}

    .hero-preview .hero-bg-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.55;
        z-index: 0;
    }

    .hero-preview .hero-overlay {
        position: absolute;
        inset: 0;
        /*background: linear-gradient(120deg, rgba(36,20,51,0.75) 0%, rgba(91,58,140,0.55) 50%, rgba(217,168,87,0.35) 100%);*/
        z-index: 1;
    }

    .hero-preview .hero-content {
        position: relative;
        z-index: 2;
        max-width: 640px;
    }

.hero-badge {
    display: inline-block;
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.hero-heading-main {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 30px;
    color: #fff;
    margin: 0;
}

.hero-heading-highlight {
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 32px;
    color: var(--brand-gold);
    margin: 0 0 12px 0;
}

.hero-description {
    color: #EDE6F4;
    font-size: 14px;
    margin-bottom: 18px;
}

.hero-btn {
    display: inline-block;
    background: var(--brand-gold);
    color: #2A1B3D;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
}

.hero-dots {
    margin-top: 18px;
    display: flex;
    gap: 6px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

    .hero-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,0.4);
    }

        .hero-dots span.active {
            background: var(--brand-gold);
        }

/* Compact variant used when showing multiple slides side by side (Dashboard) */
.hero-preview-sm {
    min-height: 230px;
    padding: 26px 16px;
}

    .hero-preview-sm .hero-badge {
        font-size: 9px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .hero-preview-sm .hero-heading-main {
        font-size: 19px;
    }

    .hero-preview-sm .hero-heading-highlight {
        font-size: 21px;
        margin-bottom: 8px;
    }

    .hero-preview-sm .hero-description {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .hero-preview-sm .hero-btn {
        font-size: 11px;
        padding: 7px 16px;
    }

    .hero-preview-sm .hero-dots {
        margin-top: 10px;
    }

@media (max-width: 900px) {
    .admin-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .main-content {
        padding: 20px;
    }

    .preview-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

:root {
    --brand-purple: #2A1B3D;
    --brand-purple-light: #3E2A57;
    --brand-gold: #E3B873;
    --brand-gold-dark: #C99A4F;
    --brand-teal: #5FBFB3;
    --brand-cream: #F4EFE6;
    --text-light: #F4EFE6;
    --sidebar-width: 250px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #F6F4F8;
    margin: 0;
    color: #2A1B3D;
}

/* ---------- Login screen ---------- */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-light) 100%);
}

.login-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    width: 380px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    text-align: center;
}

.login-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-gold);
    color: var(--brand-purple);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
}

.login-card h1 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brand-purple);
    font-size: 22px;
    margin-bottom: 4px;
}

.login-card p.tagline {
    color: var(--brand-gold-dark);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.login-card .form-control {
    border-radius: 8px;
    padding: 10px 14px;
}

.btn-brand {
    background-color: var(--brand-purple);
    border: none;
    color: var(--brand-gold);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 14px;
    width: 100%;
}

    .btn-brand:hover {
        background-color: var(--brand-purple-light);
        color: var(--brand-gold);
    }

/* ---------- Admin shell ---------- */
.admin-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--brand-purple);
    color: var(--text-light);
    flex-shrink: 0;
    padding: 20px 0;
}

    .sidebar .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 20px 20px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        margin-bottom: 12px;
    }

        .sidebar .brand .logo-circle {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--brand-gold);
            color: var(--brand-purple);
            font-family: Georgia, serif;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
        }

    .sidebar .brand-name {
        font-family: Georgia, serif;
        font-size: 16px;
        color: var(--brand-gold);
        line-height: 1.1;
    }

    .sidebar nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-light);
        padding: 11px 20px;
        text-decoration: none;
        font-size: 14px;
        opacity: 0.85;
        border-left: 3px solid transparent;
    }

        .sidebar nav a:hover,
        .sidebar nav a.active {
            background: rgba(255,255,255,0.08);
            opacity: 1;
            border-left-color: var(--brand-gold);
        }

.main-content {
    flex-grow: 1;
    padding: 28px 34px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

    .topbar h2 {
        font-family: Georgia, serif;
        color: var(--brand-purple);
        margin: 0;
    }

.card-panel {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.color-swatch {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.15);
    vertical-align: middle;
    margin-right: 8px;
}

.table-brand thead {
    background: var(--brand-purple);
    color: var(--brand-gold);
}

.btn-gold {
    background: var(--brand-gold);
    border: none;
    color: var(--brand-purple);
    font-weight: 600;
}

    .btn-gold:hover {
        background: var(--brand-gold-dark);
        color: var(--brand-purple);
    }

/* ---------- Live preview of the public header ---------- */
.preview-header {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

/* ---------- Unified website preview: header + hero stacked as one page ---------- */
.website-preview {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

    .website-preview .preview-header {
        border-radius: 0;
        border: none;
    }

    .website-preview .hero-preview {
        border-radius: 0;
    }

.preview-topbar {
    background: linear-gradient(90deg, #d9a85c, #f0d9a4, #d9a85c);
    color: #3a2a13;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-align: center;
    padding: 8px 10px;
}

.preview-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.preview-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-weight: bold;
    overflow: hidden;
}

    .preview-logo-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.preview-heading {
    font-family: Georgia, serif;
    font-size: 18px;
    margin: 0;
}

.preview-subheading {
    font-size: 11px;
    letter-spacing: .5px;
    opacity: 0.85;
    margin: 0;
}

.preview-social {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

/* ---------- Hero slider preview ---------- */
.hero-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*background: linear-gradient(120deg, #241433 0%, #5B3A8C 45%, #8B5FBF 65%, #D9A857 100%);*/
    padding: 36px 24px;
}

    .hero-preview .hero-bg-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.55;
        z-index: 0;
    }

    .hero-preview .hero-overlay {
        position: absolute;
        inset: 0;
        /*background: linear-gradient(120deg, rgba(36,20,51,0.75) 0%, rgba(91,58,140,0.55) 50%, rgba(217,168,87,0.35) 100%);*/
        z-index: 1;
    }

    .hero-preview .hero-content {
        position: relative;
        z-index: 2;
        max-width: 640px;
    }

.hero-badge {
    display: inline-block;
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.hero-heading-main {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 30px;
    color: #fff;
    margin: 0;
}

.hero-heading-highlight {
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 32px;
    color: var(--brand-gold);
    margin: 0 0 12px 0;
}

.hero-description {
    color: #EDE6F4;
    font-size: 14px;
    margin-bottom: 18px;
}

.hero-btn {
    display: inline-block;
    background: var(--brand-gold);
    color: #2A1B3D;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
}

.hero-dots {
    margin-top: 18px;
    display: flex;
    gap: 6px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

    .hero-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,0.4);
    }

        .hero-dots span.active {
            background: var(--brand-gold);
        }

/* Compact variant used when showing multiple slides side by side (Dashboard) */
.hero-preview-sm {
    min-height: 230px;
    padding: 26px 16px;
}

    .hero-preview-sm .hero-badge {
        font-size: 9px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .hero-preview-sm .hero-heading-main {
        font-size: 19px;
    }

    .hero-preview-sm .hero-heading-highlight {
        font-size: 21px;
        margin-bottom: 8px;
    }

    .hero-preview-sm .hero-description {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .hero-preview-sm .hero-btn {
        font-size: 11px;
        padding: 7px 16px;
    }

    .hero-preview-sm .hero-dots {
        margin-top: 10px;
    }

@media (max-width: 900px) {
    .admin-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .main-content {
        padding: 20px;
    }

    .preview-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.hero-preview {
    position: relative; /* establishes a stacking context */
    overflow: hidden; /* clips anything escaping the bounds */
    /*background-color: #2b1f4a;*/ /* solid fallback so nothing behind can show through */
    border-radius: 8px;
    min-height: 220px;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45,27,77,0.85), rgba(212,175,116,0.85));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3; /* sits above image + overlay */
    padding: 2rem;
    text-align: center;
    color: #fff;
}