:root {
    --brand-primary: #335c67;
    --brand-primary-hover: #284850;
    --brand-accent: #ff834d;
    --brand-accent-hover: #f06d33;
    --surface-base: #f5f7fb;
    --surface-card: #ffffff;
    --surface-muted: #eef3f6;
    --text-strong: #17212b;
    --text-muted: #5f6b7a;
    --border-soft: rgba(51, 92, 103, 0.14);
    --success-color: #1f9d74;
    --warning-color: #d9901a;
    --danger-color: #c64646;
    --info-color: #3578e5;
    --shadow-soft: 0 18px 50px rgba(23, 33, 43, 0.08);
    --shadow-card: 0 12px 30px rgba(23, 33, 43, 0.08);
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-pill: 999px;
    --content-width: 1320px;
    --motion-fast: 160ms;
    --motion-normal: 240ms;
    --motion-slow: 420ms;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
    color: var(--text-strong);
    min-width: 320px;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}

a:hover {
    color: var(--brand-primary-hover);
}

:focus-visible {
    outline: 3px solid rgba(255, 131, 77, 0.35);
    outline-offset: 2px;
}

.mud-button-root,
.mud-chip,
.mud-card,
.mud-paper,
.mud-alert,
.mud-input-control,
.festival-card,
.festival-sponsored-box .img-box img,
.side-menu,
.site-header,
.footer .footer-footer {
    transition: transform var(--motion-normal) ease, box-shadow var(--motion-normal) ease, background-color var(--motion-normal) ease, border-color var(--motion-normal) ease, color var(--motion-normal) ease;
}

.mud-button-root {
    border-radius: var(--radius-pill) !important;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.mud-button-root:hover:not(.mud-disabled),
.mud-chip:hover:not(.mud-disabled) {
    transform: translateY(-1px);
}

.mud-button-root:active:not(.mud-disabled),
.mud-chip:active:not(.mud-disabled) {
    transform: translateY(0);
}

.main-layout {
    min-height: 100vh;
    background:
        radial-gradient(circle at 7% 2%, rgba(255, 131, 77, 0.07), transparent 24rem),
        radial-gradient(circle at 93% 12%, rgba(51, 92, 103, 0.08), transparent 28rem);
}

.main-header {
    min-height: 4.25rem;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 8px 24px rgba(23, 33, 43, 0.05);
    position: relative;
    z-index: 20;
}

.main-header .mud-image {
    max-width: 9.5rem;
    max-height: 3.25rem;
    object-fit: contain;
}

.main-header .menu-items,
.main-header .account-items {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.main-header .menu-items .mud-button-root,
.main-header .account-items .mud-button-root {
    min-height: 2.5rem;
}

.main-header .btn-login {
    border: 1px solid var(--border-soft);
}

.main-drawer {
    border-inline-end: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.97);
}

.side-menu-bac {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(23, 33, 43, 0.38);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--motion-normal) ease;
}

.side-menu-bac.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    transition: transform var(--motion-slow) cubic-bezier(0.22, 1, 0.36, 1);
}

.side-menu.show {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mud-main-content {
    overflow-x: clip;
}

.mud-main-content > .container,
.mud-main-content .container {
    width: min(100%, var(--content-width));
}

.section-heading,
.sponsored-festival-title {
    color: var(--brand-primary);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-heading::after,
.sponsored-festival-title::after {
    content: "";
    display: block;
    width: 3rem;
    height: 0.2rem;
    margin-top: 0.55rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--brand-accent), rgba(255, 131, 77, 0.15));
}

.festival-key-search-box {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(51, 92, 103, 0.96), rgba(40, 72, 80, 0.93)),
        var(--brand-primary);
    box-shadow: var(--shadow-soft);
}

.festival-key-search-box::before,
.festival-key-search-box::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.festival-key-search-box::before {
    width: 16rem;
    height: 16rem;
    top: -9rem;
    right: -4rem;
    background: rgba(255, 131, 77, 0.22);
}

.festival-key-search-box::after {
    width: 12rem;
    height: 12rem;
    bottom: -8rem;
    left: 12%;
    background: rgba(255, 255, 255, 0.08);
}

.festival-key-search-box .mud-input-control,
.festival-key-search-box .mud-button-root {
    position: relative;
    z-index: 1;
}

.festival-browser-page {
    padding-block: clamp(1.25rem, 3vw, 2.75rem) clamp(3rem, 7vw, 6rem);
}

.festival-hero {
    min-height: clamp(14rem, 30vw, 23rem);
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 7rem) 1rem clamp(2.25rem, 6vw, 5rem);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(51, 92, 103, 0.96), rgba(40, 72, 80, 0.88)),
        radial-gradient(circle at 80% 15%, rgba(255, 131, 77, 0.36), transparent 25rem);
    color: #fff;
    text-align: center;
}

.festival-hero::before,
.festival-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.festival-hero::before {
    width: 26rem;
    height: 26rem;
    top: -19rem;
    right: 8%;
}

.festival-hero::after {
    width: 18rem;
    height: 18rem;
    bottom: -13rem;
    left: 12%;
}

.festival-hero h1 {
    max-width: 48rem;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.03;
    text-wrap: balance;
}

.festival-browser-page > .festival-key-search-box {
    max-width: 56rem;
    margin: clamp(-3rem, -5vw, -2rem) auto 2.5rem;
    padding: 1.5rem;
    box-shadow: 0 20px 55px rgba(23, 33, 43, 0.16);
}

.festival-browser-page > .festival-key-search-box .mud-input-control {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-pill);
}

.festival-section-intro,
.festival-results-heading,
.festival-filter-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.festival-section-intro {
    margin-bottom: 1rem;
}

.festival-eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--brand-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.festival-section-intro h2,
.festival-results-heading h2,
.festival-filter-heading h2 {
    margin: 0;
    color: var(--brand-primary);
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.festival-section-intro .sponsored-festival-title::after {
    display: none;
}

.festival-section-note,
.festival-results-hint {
    max-width: 22rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    text-align: end;
}

.festival-sponsored-box {
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.festival-sponsored-box .img-box {
    min-height: 12rem;
    padding: 0.7rem;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--surface-card);
    box-shadow: var(--shadow-card);
}

.festival-sponsored-box .img-box::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(transparent, rgba(23, 33, 43, 0.48));
    pointer-events: none;
}

.festival-sponsored-box .img-box img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.festival-sponsored-box .btn-view-festival {
    position: absolute;
    z-index: 1;
    right: 1.1rem;
    bottom: 1rem;
    left: 1.1rem;
    border-color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(255, 255, 255, 0.94);
    color: var(--brand-primary);
}

.festival-filter-panel {
    margin-top: 1rem;
    padding: clamp(1rem, 3vw, 1.75rem);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-soft);
}

.festival-filter-heading {
    align-items: center;
    padding-bottom: 1.15rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid var(--border-soft);
}

.festival-filter-heading h2 {
    font-size: 1.35rem;
}

.festival-filter-count {
    color: var(--brand-primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.festival-filter-count span {
    color: var(--text-muted);
    font-weight: 600;
}

.festival-results-heading {
    align-items: center;
    margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.festival-results-heading h2 {
    font-size: 1.65rem;
}

.festival-results-grid {
    margin-top: 1.25rem !important;
}

.festival-cards,
.festival-sponsored-box {
    align-items: stretch;
}

.festival-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.festival-card .mud-card-content {
    flex: 1 1 auto;
    padding: clamp(1rem, 2vw, 1.35rem);
}

.festival-card .mud-card-actions {
    padding: 0.9rem 1.1rem 1.15rem;
    border-top: 1px solid var(--border-soft);
    background: rgba(238, 243, 246, 0.38);
}

.festival-card .mud-card-actions .mud-button-root {
    min-height: 2.55rem;
    flex: 1 1 0;
}

.festival-card .mud-card-actions .mud-button-filled {
    box-shadow: 0 8px 16px rgba(51, 92, 103, 0.18);
}

.festival-card:focus-within {
    border-color: rgba(255, 131, 77, 0.65);
    box-shadow: 0 0 0 4px rgba(255, 131, 77, 0.12), var(--shadow-card);
}

.festival-card img {
    object-fit: cover;
    transition: transform var(--motion-slow) ease;
}

.festival-card:hover img {
    transform: scale(1.035);
}

.festival-detail-page {
    padding-block: 1rem 3rem;
}

.festival-detail-hero {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.festival-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(23, 33, 43, 0.58));
    pointer-events: none;
}

.festival-detail-hero .festival-cover-description {
    position: relative;
    z-index: 1;
}

.festival-detail-layout {
    position: relative;
    margin-top: -1.4rem;
    z-index: 2;
}

.festival-detail-heading {
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

.festival-detail-heading .mud-typography-h1 {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.festival-detail-content > .mud-tabs,
.festival-detail-content > div > .mud-paper,
.festival-detail-content > div > .mud-card,
.festival-detail-layout .side-box,
.festival-detail-layout .mud-paper {
    border-radius: var(--radius-md);
}

.festival-detail-content > .mud-tabs {
    padding: 0.5rem;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-card);
}

.festival-detail-content .mud-tab {
    border-radius: var(--radius-pill);
    font-weight: 700;
}

.festival-detail-content .mud-tab-slider {
    border-radius: var(--radius-pill);
}

.festival-product-section {
    padding: 2.5rem 0 4rem;
    background:
        linear-gradient(135deg, rgba(51, 92, 103, 0.98), rgba(40, 72, 80, 0.94)),
        var(--brand-primary);
}

.festival-product-section > .mud-typography {
    width: min(100% - 2rem, var(--content-width));
    margin-inline: auto;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer {
    margin-top: clamp(3rem, 8vw, 7rem);
    background: linear-gradient(180deg, rgba(238, 243, 246, 0.3), rgba(238, 243, 246, 0.8));
}

.footer .festivals-footer-box img {
    max-width: 8rem;
    max-height: 4rem;
    object-fit: contain;
    filter: grayscale(0.2);
    opacity: 0.86;
    transition: transform var(--motion-normal) ease, opacity var(--motion-normal) ease, filter var(--motion-normal) ease;
}

.footer .festivals-footer-box a:hover img {
    transform: translateY(-3px);
    filter: grayscale(0);
    opacity: 1;
}

.footer .footer-footer {
    min-height: 4.5rem;
    align-items: center;
    gap: 0.75rem;
}

.footer .footer-footer > img {
    width: 9rem;
    height: auto;
    object-fit: contain;
}

.loading-progress {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent)) !important;
}

.mud-paper,
.mud-card,
.festival-card,
.festival-tabs .tab-pane,
.news-desc {
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
}

.mud-paper,
.mud-card {
    border-radius: var(--radius-md) !important;
}

.mud-input > input,
.mud-input-slot,
.mud-select-input {
    color: var(--text-strong);
}

.mud-input-outlined-border,
.mud-input-filled {
    border-radius: var(--radius-sm) !important;
}

.mud-input-control {
    border-radius: var(--radius-sm);
}

.mud-alert {
    border-radius: var(--radius-sm) !important;
}

.auth-page {
    min-height: calc(100vh - 180px);
    align-items: center;
}

.auth-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-soft);
}

.auth-form-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.auth-form-subtitle {
    color: var(--text-muted);
}

.site-header {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(51, 92, 103, 0.1);
}

.main-header {
    padding-inline: clamp(0.75rem, 2vw, 1.5rem);
}

.public-header-container {
    max-width: var(--content-width);
}

.public-header-row {
    min-height: 4.25rem;
    align-items: center;
    gap: 0.7rem;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-strong);
    text-decoration: none;
    flex-shrink: 0;
}

.public-brand img {
    width: clamp(7.75rem, 14vw, 10.5rem);
    height: auto;
    max-height: 3.25rem;
    object-fit: contain;
}

.public-brand span {
    max-width: 8rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.public-brand--drawer {
    padding: 1rem 1rem 0.5rem;
    flex-direction: column;
    align-items: flex-start;
}

.public-brand--drawer img {
    width: 10rem;
}

.public-brand--mobile {
    margin-inline-start: auto;
}

.public-nav,
.public-mobile-nav {
    flex: 1 1 auto;
}

.public-nav ul,
.public-mobile-nav ul {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.public-nav ul {
    justify-content: center;
}

.public-nav li,
.public-mobile-nav li {
    display: flex;
}

.public-nav-link,
.public-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.public-nav-link:hover,
.public-nav-link:focus-visible {
    color: var(--brand-primary);
    background: rgba(51, 92, 103, 0.07);
    border-color: rgba(51, 92, 103, 0.1);
    transform: translateY(-1px);
}

.public-nav-link--login {
    color: var(--brand-primary);
}

.public-nav-cta {
    color: #fff;
    background: var(--brand-primary);
    box-shadow: 0 8px 18px rgba(51, 92, 103, 0.2);
}

.public-nav-cta:hover,
.public-nav-cta:focus-visible {
    color: #fff;
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
}

.public-header-auth {
    align-items: center;
    gap: 0.35rem;
}

.public-mobile-nav {
    padding: 1.25rem 1rem;
}

.public-mobile-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0.45rem;
}

.public-mobile-nav .public-nav-link,
.public-mobile-nav .public-nav-cta {
    width: 100%;
    justify-content: flex-start;
    min-height: 3rem;
    padding-inline: 1rem;
}

.public-mobile-nav .public-nav-cta {
    justify-content: center;
}

.main-header .menu ul,
.side-menu .menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-header .menu ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.side-menu {
    width: min(88vw, 360px);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(23, 33, 43, 0.18);
}

.side-menu .logo,
.site-header .logo {
    display: inline-flex;
    align-items: center;
}

.side-menu-close {
    position: absolute !important;
    top: 0.75rem;
    right: 0.75rem;
}

.festival-header h1,
.news-title,
.festival-meta-box h1 {
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.festival-sponsored-box .img-box img,
.festival-cards .festival-card img,
.news-top img {
    border-radius: var(--radius-md);
}

.festival-cards .festival-card,
.festival-browser-container .festival-card {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.festival-cards .festival-card:hover,
.festival-browser-container .festival-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(23, 33, 43, 0.14);
    border-color: rgba(255, 131, 77, 0.45);
}

.festival-filter-form .mud-input-control,
.festival-filter-form .mud-picker .mud-input-control {
    box-shadow: none !important;
    border: 1px solid var(--border-soft);
}

.festival-filter-form .mud-grid-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.festival-filter-form p,
.festival-filter-form .mud-typography {
    color: var(--text-muted);
    font-weight: 600;
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    margin: 2rem 0 0;
    list-style: none;
}

.pagination button {
    min-width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border-soft);
    background: var(--surface-card);
    border-radius: 999px;
    color: var(--text-strong);
    font-weight: 700;
}

.pagination button:hover,
.pagination button.current {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.footer .footer-footer {
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.82);
}

.overlay-gallery-box {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 991.98px) {
    .auth-page {
        min-height: auto;
    }

    .festival-filter-form {
        padding-inline: 0.25rem;
    }

    .main-header {
        min-height: 3.75rem;
    }

    .public-header-row {
        min-height: 3.75rem;
    }

    .public-brand span {
        display: none;
    }

    .footer .menu-items {
        width: 100%;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .festival-header {
        padding: 2rem 0 1rem;
    }

    .festival-header h1,
    .news-title {
        font-size: clamp(2rem, 7vw, 2.7rem) !important;
    }

    .mud-main-content {
        padding-inline: 0.75rem !important;
    }

    .festival-key-search-box {
        border-radius: var(--radius-md);
    }

    .festival-section-intro,
    .festival-results-heading,
    .festival-filter-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .festival-section-note,
    .festival-results-hint {
        max-width: none;
        text-align: start;
    }

    .festival-filter-panel {
        border-radius: var(--radius-md);
    }

    .festival-detail-page {
        padding-inline: 0.25rem;
    }

    .festival-detail-layout {
        margin-top: 0.75rem;
    }

    .festival-detail-heading {
        padding: 1rem;
    }

    .footer .footer-footer {
        justify-content: center;
        padding-block: 1rem;
    }

    .footer .footer-footer .menu-items {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Public marketplace and dashboard layer */
.public-content-page {
    padding: clamp(2rem, 5vw, 4.5rem) 0 5rem;
}

.public-page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 16rem;
    margin-bottom: 2rem;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 85% 12%, rgba(255, 131, 77, 0.18), transparent 14rem),
        linear-gradient(135deg, rgba(51, 92, 103, 0.98), rgba(40, 72, 80, 0.94));
    color: #fff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.public-page-hero h1 {
    max-width: 46rem;
    margin: .6rem 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.public-page-hero__copy {
    max-width: 42rem;
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
}

.public-page-hero__icon {
    display: grid;
    flex: 0 0 5rem;
    place-items: center;
    width: 5rem;
    height: 5rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 1.5rem;
    color: var(--brand-accent);
    background: rgba(255,255,255,.1);
}

.public-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
}

.public-toolbar__search,
.public-toolbar .mud-input-control {
    width: min(100%, 22rem);
}

.public-text-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
    color: var(--brand-primary);
    font-weight: 800;
    text-decoration: none;
}

.news-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--surface-card);
    box-shadow: var(--shadow-card);
}

.news-featured-card > img {
    width: 100%;
    height: 100%;
    min-height: 18rem;
    object-fit: cover;
}

.news-featured-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.news-featured-card__content h3 {
    margin: .75rem 0;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    line-height: 1.08;
}

.news-featured-card__content h3 a,
.editorial-card a {
    color: inherit;
    text-decoration: none;
}

.editorial-card,
.marketplace-product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 22px rgba(23,33,43,.05);
}

.editorial-card:hover,
.marketplace-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(255, 131, 77, .45);
}

.editorial-card__image {
    display: block;
    overflow: hidden;
    background: var(--surface-muted);
}

.editorial-card__image img {
    width: 100%;
    height: 13rem;
    object-fit: cover;
    transition: transform var(--motion-slow) ease;
}

.editorial-card:hover .editorial-card__image img {
    transform: scale(1.04);
}

.marketplace-product-card__image {
    display: grid;
    place-items: center;
    min-height: 13rem;
    background: linear-gradient(145deg, var(--surface-muted), #fff);
}

.marketplace-product-card__image img {
    max-width: 90%;
    object-fit: contain;
}

.product-card-description {
    display: -webkit-box;
    min-height: 2.8rem;
    overflow: hidden;
    color: var(--text-muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.public-empty-state {
    display: grid;
    place-items: center;
    gap: .5rem;
    min-height: 17rem;
    padding: 2rem;
    text-align: center;
    border: 1px dashed var(--border-soft);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    background: rgba(255,255,255,.6);
}

.ticket-market-grid .ticket {
    height: 100%;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--surface-card);
    box-shadow: 0 8px 22px rgba(23,33,43,.05);
}

.ticket-market-grid .ticket:hover {
    box-shadow: var(--shadow-card);
}

.advertise-layout {
    align-items: stretch;
}

.advertise-benefits,
.advertise-form-card {
    height: 100%;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.advertise-benefits {
    background: linear-gradient(160deg, rgba(51,92,103,.98), rgba(40,72,80,.95));
    color: #fff;
}

.advertise-benefit {
    display: flex;
    gap: .85rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,.16);
}

.advertise-benefit .mud-icon-root {
    color: var(--brand-accent);
}

.advertise-benefit .mud-typography-body2 {
    color: rgba(255,255,255,.72);
}

.advertise-upload-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-soft);
}

.advertise-submit {
    min-width: 14rem;
}

.dashboard-page-shell {
    padding-bottom: 3rem;
}

.dashboard-page-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: linear-gradient(120deg, rgba(51,92,103,.08), rgba(255,131,77,.08));
}

.dashboard-page-intro .mud-icon-root {
    color: var(--brand-primary);
    font-size: 2.8rem;
}

.dashboard-page-shell .mud-paper,
.dashboard-page-shell .mud-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 22px rgba(23,33,43,.05);
}

@media (max-width: 767.98px) {
    .public-page-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-page-hero__icon {
        display: none;
    }

    .public-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .public-toolbar__search,
    .public-toolbar .mud-input-control {
        width: 100%;
    }

    .news-featured-card {
        grid-template-columns: 1fr;
    }

    .news-featured-card > img {
        min-height: 13rem;
        max-height: 16rem;
    }

    .advertise-submit {
        width: 100%;
    }
}
