:root {
    --color-red: #c94f5c;
    --color-blue: #5f8fb8;
    --color-gold: #c9a45a;
    --color-black: #111114;
    --color-ink: #222226;
    --color-muted: #68646a;
    --color-warm: #f8f3ea;
    --color-white: #ffffff;
    --color-line: rgba(17, 17, 20, 0.1);
    --shadow-soft: 0 14px 34px rgba(17, 17, 20, 0.08);
    --radius: 12px;
    --section-radius: 24px;
    --section-gap: clamp(18px, 2.2vw, 34px);
    --max-width: 1760px;
    --font-display: "Playfair Display", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background:
        radial-gradient(circle at 14% 0%, rgba(201, 79, 92, 0.28), transparent 32rem),
        radial-gradient(circle at 86% 2%, rgba(95, 143, 184, 0.26), transparent 34rem),
        linear-gradient(180deg, #111114 0, #17212a 340px, #263845 620px, var(--color-warm) 1120px);
    background-attachment: fixed;
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

section,
footer {
    scroll-margin-top: 110px;
}

.compact-card[id] {
    scroll-margin-top: 120px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px clamp(20px, 4vw, 56px);
    color: var(--color-white);
    background: rgba(17, 17, 20, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.main-nav {
    display: flex;
    align-items: center;
}

.brand {
    grid-column: 1;
    grid-row: 1;
    gap: 10px;
    min-width: max-content;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-red), var(--color-blue));
    border-radius: 50%;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.main-nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    gap: clamp(18px, 2vw, 30px);
    margin: 0;
    padding: 0;
    overflow: visible;
    border-top: 0;
    flex-wrap: nowrap;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.0625rem, 0.32vw + 0.8rem, 1.1875rem);
    font-weight: 600;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav a {
    flex: 0 0 auto;
}

.mobile-nav-footer {
    display: none;
    visibility: hidden;
}

.nav-accordion {
    position: relative;
    flex: 0 0 auto;
}

.nav-accordion::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 18px;
}

.nav-accordion-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.nav-accordion-toggle:hover,
.nav-accordion-toggle.is-active,
.nav-accordion:hover .nav-accordion-toggle,
.nav-accordion:focus-within .nav-accordion-toggle,
.nav-accordion.is-open .nav-accordion-toggle {
    color: var(--color-red);
}

.nav-chevron {
    display: inline-block;
    font-size: 0.9rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.nav-accordion.is-open .nav-chevron {
    transform: rotate(180deg);
}

.nav-accordion:hover .nav-chevron,
.nav-accordion:focus-within .nav-chevron {
    transform: rotate(180deg);
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: calc(100vw - 40px);
    padding: 14px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid rgba(201, 164, 90, 0.34);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(17, 17, 20, 0.98), rgba(27, 24, 29, 0.96)),
        rgba(17, 17, 20, 0.98);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.36);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-submenu-wide {
    gap: 12px;
}

.nav-accordion:hover .nav-submenu,
.nav-accordion:focus-within .nav-submenu,
.nav-accordion.is-open .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-submenu a {
    padding: 12px 14px;
    border-radius: 12px;
    white-space: nowrap;
}

.nav-submenu a:hover {
    color: var(--color-white);
    background: rgba(201, 79, 92, 0.18);
}

.main-nav a:hover,
.main-nav a.is-active,
.link-access:hover,
.footer-links a:hover {
    color: var(--color-red);
}

.footer-action-link {
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.footer-action-link:hover,
.footer-action-link:focus-visible {
    color: var(--color-red);
    outline: 0;
}

.header-actions {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
    gap: 12px;
    min-width: max-content;
}

.menu-toggle {
    display: none;
    grid-row: 1;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 12px;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.menu-toggle-lines {
    display: grid;
    gap: 4px;
    width: 18px;
}

.menu-toggle-lines span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open .menu-toggle-lines span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-lines span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle-lines span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1360px) {
    .site-header {
        grid-template-columns: minmax(220px, 1fr) auto auto;
        padding-bottom: 12px;
    }

    .menu-toggle {
        display: inline-flex;
        grid-column: 3;
    }

    .main-nav {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        margin: 0;
        padding: 10px 0 0;
        max-height: calc(100vh - 86px);
        overflow-x: hidden;
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        font-size: 1rem;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 10px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .nav-accordion,
    .nav-accordion-toggle {
        width: 100%;
    }

    .mobile-nav-footer {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 8px;
        padding: 14px 16px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-nav-footer button,
    .mobile-nav-footer a {
        width: 100%;
    }

    .mobile-nav-footer .button-primary {
        justify-content: center;
        text-align: center;
    }

    .mobile-nav-footer .link-access {
        display: inline-flex;
        justify-content: center;
        padding: 10px 0;
    }

    .header-actions {
        display: none;
    }

    .main-nav.is-open .mobile-nav-footer {
        display: flex;
        visibility: visible;
    }

    .nav-accordion::after {
        display: none;
    }

    .nav-accordion-toggle {
        justify-content: space-between;
        padding: 10px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .nav-submenu {
        position: static;
        display: none;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        margin: 0 0 6px;
        padding: 4px 0 4px 16px;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.035);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .nav-submenu-wide {
        gap: 8px;
    }

    .nav-accordion.is-open .nav-submenu {
        display: flex;
    }

    .nav-submenu a {
        width: auto;
        padding: 9px 10px;
        white-space: nowrap;
    }

    .header-actions {
        grid-column: 2;
    }
}

@media (max-width: 760px) {
    .nav-submenu {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-submenu a {
        width: 100%;
    }

    .legal-modal {
        padding: 8px;
    }

    .legal-dialog {
        max-height: calc(100vh - 16px);
        border-radius: 16px;
    }

    .legal-dialog-header,
    .legal-dialog-actions,
    .cookie-consent-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-consent {
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 16px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-dialog,
    .cookie-consent {
        transition: none;
    }
}

.location-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 180px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.location-trigger span:first-child {
    color: var(--color-red);
}

.location-trigger span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-trigger:hover {
    border-color: var(--color-red);
}

.link-access {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.profile-menu {
    position: relative;
}

.profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
}

.profile-avatar {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-red), #4e161d);
    border: 1px solid rgba(248, 229, 182, 0.42);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
    display: block;
}

.profile-avatar-large {
    width: 58px;
    height: 58px;
    font-size: 1.35rem;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 20;
    display: grid;
    min-width: 210px;
    padding: 10px;
    background: rgba(17, 17, 20, 0.96);
    border: 1px solid rgba(201, 164, 90, 0.34);
    border-radius: 18px;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.profile-dropdown a {
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.82);
    border-radius: 12px;
    font-weight: 700;
}

.profile-dropdown a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.profile-menu:hover .profile-dropdown,
.profile-menu:focus-within .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius);
    font-weight: 800;
    line-height: 1.1;
}

.button-primary {
    color: var(--color-white);
    background: var(--color-red);
    box-shadow: 0 12px 28px rgba(201, 79, 92, 0.3);
}

.button-primary:hover {
    background: #b94652;
}

.button-secondary {
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 660px;
    margin: 0 auto;
    color: var(--color-white);
    background:
        radial-gradient(circle at 16% 24%, rgba(201, 79, 92, 0.34), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(95, 143, 184, 0.32), transparent 28%),
        linear-gradient(135deg, #111114 0%, #1a171a 48%, #101821 100%);
    overflow: hidden;
    isolation: isolate;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../images/flamenco-header-art.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.78;
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(12, 13, 17, 0.18), rgba(12, 13, 17, 0.62)),
        radial-gradient(circle at center, rgba(12, 13, 17, 0.06), rgba(12, 13, 17, 0.42));
    pointer-events: none;
}

.page-intro {
    position: relative;
    width: 100%;
    margin: 0 0 var(--section-gap);
    padding: clamp(58px, 8vw, 104px) clamp(24px, 5vw, 72px);
    color: var(--color-white);
    text-align: center;
    background:
        radial-gradient(circle at 18% 20%, rgba(201, 79, 92, 0.28), transparent 28%),
        radial-gradient(circle at 82% 14%, rgba(95, 143, 184, 0.28), transparent 26%),
        linear-gradient(135deg, #171419, #15222d);
    overflow: hidden;
    isolation: isolate;
}

.page-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../images/flamenco-header-art.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    mix-blend-mode: normal;
    opacity: 0.82;
    pointer-events: none;
}

.page-intro::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(12, 13, 17, 0.24), rgba(12, 13, 17, 0.58) 48%, rgba(12, 13, 17, 0.3)),
        radial-gradient(circle at center, rgba(12, 13, 17, 0.04), rgba(12, 13, 17, 0.34));
    pointer-events: none;
}

.page-intro > * {
    position: relative;
    z-index: 1;
}

.page-intro h1 {
    max-width: 1200px;
    margin-inline: auto;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.page-intro > p:not(.section-kicker) {
    max-width: 880px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: stretch;
    width: min(100%, 1800px);
    min-height: 660px;
    margin-inline: auto;
    padding: clamp(72px, 8vw, 118px) clamp(32px, 4vw, 72px);
}

.content-section,
.cta-section {
    width: min(calc(100% - 24px), var(--max-width));
    margin-inline: auto;
}

.hero-content {
    width: 100%;
    margin: -64px auto 0;
    text-align: center;
}

.hero-content h1 {
    margin-inline: auto;
}

.section-kicker {
    margin: 0 0 12px;
    color: var(--color-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.02;
}

h1 {
    max-width: 1200px;
    font-size: clamp(3.8rem, 7vw, 6.7rem);
}

h2 {
    color: var(--color-black);
    font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
    margin: 0;
    color: var(--color-black);
    font-size: 1.14rem;
    line-height: 1.25;
}

.hero-lead {
    max-width: none;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.06rem, 2vw, 1.35rem);
    white-space: nowrap;
}

.hero-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 0;
}

.hero-panel {
    width: 100%;
    margin: 0;
    padding: clamp(24px, 2.5vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.2);
}

.hero-panel-label {
    display: block;
    margin-bottom: 12px;
    color: var(--color-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.hero-panel-title {
    color: var(--color-white);
    font-family: "Inter", Arial, sans-serif;
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
    line-height: 1.15;
}

.hero-panel-header p {
    margin: 12px 0 22px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
}

.community-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.community-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(11, 14, 18, 0.44);
}

.community-card-image {
    display: block;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.community-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.community-card:hover .community-card-image img {
    transform: scale(1.04);
}

.community-card-content {
    display: grid;
    gap: 6px;
    padding: 13px;
}

.community-card-content > span {
    color: var(--color-blue);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.community-card h3 {
    color: var(--color-white);
    font-size: 0.96rem;
}

.community-card p {
    min-height: 2.6em;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.74rem;
    line-height: 1.3;
}

.community-card-link {
    width: max-content;
    margin-top: 2px;
    padding: 7px 10px;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 7px;
    font-size: 0.72rem;
    font-weight: 800;
}

.community-card-link:hover {
    color: var(--color-white);
    border-color: var(--color-red);
    background: var(--color-red);
}

.landing-hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
    gap: clamp(24px, 3.2vw, 44px);
}

.landing-hero-copy {
    margin: 0;
    text-align: center;
}

.landing-title {
    display: inline-grid;
    grid-auto-flow: column;
    align-items: baseline;
    gap: 0.22em;
    color: var(--color-white);
    white-space: nowrap;
    overflow-wrap: normal;
}

.landing-title span {
    display: inline-block;
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 0.85, 0.18, 1), opacity 0.8s ease;
}

.landing-title-red {
    color: var(--color-red);
    transform: translateX(110vw);
}

.landing-title-white {
    color: var(--color-white);
    transform: translateX(-110vw);
    transition-delay: 0.1s;
}

.landing-title.is-visible span {
    opacity: 1;
    transform: translateX(0);
}

.home-hero .hero-inner {
    min-height: 0;
    padding-top: clamp(28px, 4vw, 50px);
    padding-bottom: clamp(18px, 3vw, 34px);
}

.home-hero .hero-content {
    margin-top: 0;
}

.story-slider-band {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: clamp(14px, 2vw, 26px) clamp(12px, 2vw, 24px) clamp(26px, 3.5vw, 42px);
    background: linear-gradient(180deg, rgba(16, 24, 33, 0.82), rgba(248, 243, 234, 0));
}

.hero-section .story-slider-band {
    width: 100%;
    margin: 0;
    padding: clamp(18px, 2vw, 30px) clamp(18px, 4vw, 42px) 0;
    background: transparent;
}

.hero-section .story-slider {
    width: min(100%, 1420px);
    margin-inline: auto;
}

.hero-section .story-slider-controls {
    justify-content: space-between;
}

.hero-section .landing-hero-copy {
    max-width: 980px;
    margin-inline: auto;
}

.story-slider {
    width: min(100%, 1860px);
    margin-inline: auto;
}

.story-slider-track {
    position: relative;
    min-height: clamp(360px, 44vw, 530px);
}

.story-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(16px, 2.2vw, 30px);
    padding: clamp(14px, 1.8vw, 24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--section-radius);
    background: transparent;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-110vw, 78vh) scale(0.88);
    transition: opacity 0.72s ease, transform 0.95s cubic-bezier(0.16, 0.85, 0.18, 1), visibility 0.72s ease;
}

.story-slide:nth-child(1) {
    transform: translate(-110vw, -78vh) scale(0.88);
}

.story-slide:nth-child(2) {
    transform: translate(110vw, -78vh) scale(0.88);
}

.story-slide:nth-child(3) {
    transform: translate(-110vw, 78vh) scale(0.88);
}

.story-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0) scale(1);
}

.story-slide-image-right {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.story-slide-image-right .story-slide-media {
    order: 2;
}

.story-slide-image-right .story-slide-copy {
    order: 1;
}

.story-slide-media {
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    min-height: 300px;
}

.story-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-slide-media-transparent img {
    object-fit: contain;
    filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.42));
}

.story-slide-copy {
    display: grid;
    align-content: center;
    gap: 10px;
}

.story-slide-kicker {
    margin: 0;
    color: #f1a5ae;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.story-slide-copy h2 {
    color: var(--color-white);
    font-size: clamp(1.7rem, 3.2vw, 3rem);
}

.story-slide-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
}

.story-slide-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    justify-items: center;
    align-items: start;
    gap: clamp(18px, 2.4vw, 30px);
    width: min(100%, 620px);
    margin: 22px auto 0;
}

.story-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--color-white);
    background: transparent;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.story-chip-icon {
    width: clamp(58px, 7vw, 82px);
    height: clamp(58px, 7vw, 82px);
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.96;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.34));
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.story-chip:hover .story-chip-icon {
    opacity: 1;
    transform: translateY(-3px) scale(1.04);
}

.chip-red {
    color: #f0717f;
}

.chip-blue {
    color: #9fc3df;
}

.chip-gold {
    color: #f0c77a;
}

.chip-dark {
    color: rgba(255, 255, 255, 0.9);
}

.story-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.story-slider-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: var(--color-white);
    background: rgba(17, 17, 20, 0.7);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.story-slider-arrow:hover {
    border-color: rgba(201, 79, 92, 0.8);
    background: rgba(201, 79, 92, 0.34);
}

.story-slider-dots {
    display: flex;
    gap: 8px;
}

.story-slider-dots button {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
}

.story-slider-dots button.is-active {
    background: var(--color-red);
}

.landing-focus-panel {
    backdrop-filter: blur(3px);
}

.landing-rotator {
    min-height: 1.6em;
    transition: opacity 0.24s ease;
}

.landing-rotator.is-switching {
    opacity: 0.22;
}

.landing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 16px;
}

.landing-tags span {
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.76rem;
    font-weight: 800;
}

.landing-focus-block h3 {
    color: var(--color-white);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.landing-focus-block p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.landing-focus-block ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
}

.landing-focus-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.landing-focus-actions .text-button {
    color: rgba(255, 255, 255, 0.82);
}

.landing-spotlight-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.12fr);
    gap: 16px;
    margin-top: 20px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(8, 12, 16, 0.52);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
}

.landing-spotlight-image {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    min-height: 220px;
}

.landing-spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.landing-spotlight-card:hover .landing-spotlight-image img {
    transform: scale(1.035);
}

.landing-spotlight-content {
    display: grid;
    align-content: center;
    gap: 8px;
}

.landing-spotlight-content > span {
    color: #f1a5ae;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.landing-spotlight-content h2 {
    color: var(--color-white);
    font-size: clamp(1.2rem, 2.1vw, 1.75rem);
}

.landing-spotlight-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
}

.landing-spotlight-content a {
    width: max-content;
    margin-top: 4px;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
    font-size: 0.82rem;
    font-weight: 800;
}

.landing-spotlight-content a:hover {
    color: #f6d4d9;
    border-color: rgba(246, 212, 217, 0.9);
}

.landing-value {
    margin-top: var(--section-gap);
}

.landing-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-point-card {
    min-height: 210px;
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, #ffffff, #f6efe5);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.landing-point-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-point-number {
    display: inline-block;
    color: var(--color-red);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.landing-point-card h3 {
    margin-top: 10px;
    font-size: 1.06rem;
}

.landing-point-card p {
    margin: 10px 0 0;
    color: var(--color-muted);
}

.landing-profiles {
    margin-top: var(--section-gap);
    background: #efe4d8;
}

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

.landing-profile-card {
    min-height: 204px;
    padding: 20px;
    border: 1px solid rgba(17, 17, 20, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.landing-profile-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-profile-card h3 {
    font-size: 1.08rem;
}

.landing-profile-card p {
    margin: 10px 0 0;
    color: var(--color-muted);
}

.landing-profile-card a {
    display: inline-block;
    margin-top: 12px;
    color: var(--color-red);
    font-size: 0.82rem;
    font-weight: 800;
}

.landing-profile-card a:hover {
    color: #b94652;
}

.landing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.content-section {
    --section-gutter: clamp(20px, 2.5vw, 36px);
    padding: 0 var(--section-gutter) clamp(60px, 7vw, 84px);
    background: #f6efe6;
    border-radius: var(--section-radius);
    border: 1px solid rgba(201, 164, 90, 0.34);
    overflow: hidden;
}

.page-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: clamp(24px, 2vw, 36px);
    align-items: start;
    width: min(100%, 1900px);
    margin-top: var(--section-gap);
    margin-inline: auto;
    padding-inline: clamp(16px, 1.7vw, 32px);
}

.primary-content {
    min-width: 0;
}

.primary-content > section + section {
    margin-top: var(--section-gap);
}

.page-shell .content-section {
    width: 100%;
    max-width: none;
}

.page-shell .soft-band {
    padding-inline: var(--section-gutter);
    border-radius: var(--section-radius);
}

.soft-band {
    width: 100%;
    max-width: none;
    background: #eee5da;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    margin: 0 calc(var(--section-gutter) * -1) 38px;
    padding: clamp(28px, 4vw, 44px) var(--section-gutter);
    text-align: left;
    background:
        radial-gradient(circle at 88% 15%, rgba(95, 143, 184, 0.2), transparent 28%),
        linear-gradient(135deg, #1b181c, #202c36);
}

.section-heading.align-left {
    margin: 0 calc(var(--section-gutter) * -1) 38px;
    text-align: left;
}

.section-heading-content {
    max-width: 900px;
}

.section-heading h2 {
    color: var(--color-white);
}

.section-heading .section-kicker {
    color: #f1a5ae;
}

.section-heading p:not(.section-kicker) {
    margin: 16px 0 0;
    max-width: 900px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
}

.section-enter-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    color: var(--color-white);
    font-size: 0.86rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.section-enter-link:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    transform: translateY(-2px);
}

.editorial-heading {
    max-width: none;
    text-align: left;
}

#revista {
    background: #eadfce;
}

#fotografia {
    background: #eaf0f4;
}

#flamenco {
    background: #f1e3df;
}

#artistas {
    background: #f4ede3;
}

#eventos {
    background: #e8eff4;
}

#academias {
    background: #f1e5e2;
}

#cursos {
    background: #e8eef2;
}

#penas {
    background: #eee5d9;
}

#tablaos {
    background: #e7edf1;
}

#festivales {
    background: #f1e3dd;
}

#concursos {
    background: #ece8f1;
}

#servicios {
    background: #e9eef0;
}

#moda {
    background: #f0e4e7;
}

.section-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.section-subcategories a {
    padding: 8px 12px;
    color: var(--color-ink);
    border: 1px solid rgba(17, 17, 20, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    font-size: 0.78rem;
    font-weight: 800;
    scroll-margin-top: 120px;
}

.section-subcategories a:hover {
    color: var(--color-white);
    border-color: var(--color-red);
    background: var(--color-red);
}

.directory-filters {
    display: flex;
    gap: 10px;
    margin: 0 0 22px;
    padding: 6px;
    overflow-x: auto;
    border: 1px solid rgba(17, 17, 20, 0.1);
    border-radius: 14px;
    background: rgba(17, 17, 20, 0.04);
    scrollbar-width: thin;
}

.directory-filters a {
    flex: 0 0 auto;
    padding: 10px 16px;
    color: var(--color-ink);
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.directory-filters a:hover,
.directory-filters a:focus-visible {
    color: var(--color-red);
    border-color: rgba(201, 79, 92, 0.28);
    outline: 0;
}

.directory-filters a.is-active {
    color: var(--color-white);
    background: var(--color-red);
    box-shadow: 0 12px 24px rgba(201, 79, 92, 0.24);
}

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

.directory-card .editorial-story-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.empty-state {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid rgba(17, 17, 20, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--color-muted);
    font-weight: 700;
}

.editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
    grid-template-rows: repeat(2, minmax(235px, 1fr));
    gap: 18px;
}

.editorial-story {
    position: relative;
    min-height: 235px;
    overflow: hidden;
    color: var(--color-white);
    border-radius: var(--radius);
    background: var(--color-black);
    box-shadow: var(--shadow-soft);
}

.editorial-story-main {
    grid-row: 1 / 3;
    min-height: 488px;
}

.editorial-story::after {
    content: "";
    position: absolute;
    inset: 25% 0 0;
    background: linear-gradient(transparent, rgba(7, 8, 11, 0.94));
}

.editorial-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.editorial-story:hover img {
    transform: scale(1.035);
}

.editorial-story-content {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 22px;
    left: 24px;
}

.editorial-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.editorial-meta strong {
    color: #f1b3ba;
}

.ranking-source {
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
}

.ranking-source.is-sponsored {
    color: #fff1bd;
    border-color: rgba(224, 184, 92, 0.5);
    background: rgba(224, 184, 92, 0.18);
}

.editorial-story[id] {
    scroll-margin-top: 120px;
}

.editorial-story h3 {
    color: var(--color-white);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.editorial-story-main h3 {
    max-width: 720px;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.editorial-story p {
    max-width: 700px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.editorial-read {
    display: inline-block;
    margin-top: 12px;
    color: var(--color-white);
    font-size: 0.76rem;
    font-weight: 800;
}

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

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

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

.four-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.compact-card,
.event-card,
.wide-card,
.service-card {
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.compact-card:hover,
.event-card:hover,
.wide-card:hover,
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(17, 17, 20, 0.12);
}

.feature-card {
    display: grid;
    gap: 18px;
    min-height: 260px;
    align-content: end;
    color: var(--color-white);
    background: var(--color-black);
    overflow: hidden;
    position: relative;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.72;
}

.feature-card > * {
    position: relative;
}

.feature-card h3,
.feature-card p {
    color: var(--color-white);
}

.feature-card span,
.event-card span {
    width: max-content;
    padding: 6px 10px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.feature-card p,
.compact-card p,
.event-card p,
.wide-card p,
.service-card p {
    margin: 10px 0 0;
    color: var(--color-muted);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

.photo-card {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-black);
    box-shadow: var(--shadow-soft);
}

.photo-card::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(8, 8, 10, 0.92));
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.photo-card div {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 20px;
    left: 20px;
}

.photo-card span {
    color: #f1b3ba;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.photo-card h3 {
    margin-top: 6px;
    color: var(--color-white);
    font-size: 1.2rem;
}

.accent-red::before {
    background: linear-gradient(145deg, rgba(201, 79, 92, 0.86), rgba(17, 17, 20, 0.6));
}

.accent-blue::before {
    background: linear-gradient(145deg, rgba(95, 143, 184, 0.86), rgba(17, 17, 20, 0.62));
}

.accent-dark::before {
    background: linear-gradient(145deg, rgba(17, 17, 20, 0.86), rgba(201, 79, 92, 0.44));
}

.compact-card {
    min-height: 180px;
    background: linear-gradient(145deg, #ffffff, #f7f1e9);
}

.compact-card h3::before,
.service-card h3::before {
    content: "";
    display: block;
    width: 38px;
    height: 4px;
    margin-bottom: 18px;
    background: var(--color-blue);
    border-radius: 999px;
}

.split-section {
    display: block;
}

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

.event-card {
    display: block;
    min-height: 240px;
    background: linear-gradient(145deg, #ffffff, #edf3f7);
}

.event-card span {
    color: var(--color-black);
    background: rgba(95, 143, 184, 0.18);
}

.event-card h3 {
    margin-top: 18px;
}

.event-card p {
    grid-column: auto;
    margin-top: 12px;
}

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

.wide-card {
    min-height: 250px;
    align-content: end;
    display: grid;
    background: linear-gradient(145deg, #ffffff, #f3ece3);
}

.directory-section {
    display: block;
}

.directory-section .section-heading {
    margin-bottom: 38px;
}

.service-card {
    background: linear-gradient(145deg, #ffffff, #edf2f4);
}

.service-grid .service-card:nth-child(odd) h3::before {
    background: var(--color-red);
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: var(--section-gap);
    margin-bottom: 12px;
    padding: clamp(30px, 5vw, 48px);
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-black), #17212a);
    border-radius: var(--section-radius);
    border: 1px solid rgba(201, 164, 90, 0.42);
    overflow: hidden;
}

.cta-section h2,
.cta-section p {
    color: var(--color-white);
}

.cta-section p:not(.section-kicker) {
    max-width: 680px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.auth-section,
.legal-section {
    width: min(calc(100% - 24px), var(--max-width));
    margin: var(--section-gap) auto;
    padding: clamp(44px, 7vw, 86px) clamp(20px, 4vw, 56px);
    border-radius: var(--section-radius);
    border: 1px solid rgba(201, 164, 90, 0.38);
    overflow: hidden;
}

.auth-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
    align-items: start;
    gap: clamp(28px, 5vw, 72px);
    background: linear-gradient(135deg, #19171b, #243443);
}

.auth-section-narrow {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 480px);
}

.auth-page-intro {
    padding-block: clamp(48px, 6vw, 78px);
}

.auth-page-intro h1 {
    max-width: 980px;
    font-size: clamp(2.1rem, 4.8vw, 4.2rem);
}

.auth-section-register {
    grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 520px);
    align-items: stretch;
    gap: clamp(22px, 3.5vw, 48px);
    padding-block: clamp(30px, 4vw, 52px);
    background:
        radial-gradient(circle at 18% 18%, rgba(201, 79, 92, 0.2), transparent 28%),
        linear-gradient(135deg, #161317, #22303d);
}

.auth-visual-card {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    color: var(--color-white);
    border: 1px solid rgba(201, 164, 90, 0.32);
    border-radius: var(--radius);
    background: #08080a;
    box-shadow: var(--shadow-soft);
}

.auth-visual-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
}

.auth-visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.04), rgba(8, 8, 10, 0.76));
}

.auth-visual-caption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 1;
    display: grid;
    gap: 7px;
}

.auth-visual-caption span {
    color: var(--color-gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-visual-caption strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1;
}

.auth-visual-caption p {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.auth-copy h1,
.auth-copy p,
.legal-section h1 {
    color: var(--color-white);
}

.auth-copy h1 {
    max-width: 760px;
}

.auth-copy p:not(.section-kicker) {
    max-width: 640px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.74);
}

.auth-card {
    display: grid;
    gap: 12px;
    padding: clamp(24px, 4vw, 36px);
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.auth-card-register {
    align-self: start;
    gap: 9px;
    padding: clamp(22px, 3vw, 30px);
}

.auth-card h2 {
    margin-bottom: 4px;
}

.auth-card-register h2 {
    max-width: 320px;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 0.95;
}

.auth-card label,
.auth-card .checkbox-field {
    font-size: 0.84rem;
    font-weight: 800;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="url"],
.auth-card input[type="file"],
.auth-card select,
.auth-card textarea,
.member-profile-form input,
.member-profile-form select,
.member-profile-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--color-ink);
    font: inherit;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: #fbf8f3;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: none;
    background: transparent;
    color: var(--color-ink);
    cursor: pointer;
    padding: 0;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.password-toggle.is-active svg {
    opacity: 0.75;
}

.auth-card-register input[type="text"],
.auth-card-register input[type="email"],
.auth-card-register input[type="password"],
.auth-card-register input[type="file"],
.auth-card-register select,
.auth-card-register textarea {
    min-height: 42px;
    padding: 9px 12px;
}

.auth-card textarea,
.member-profile-form textarea {
    resize: vertical;
}

.form-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.public-url-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.public-url-control label {
    margin: 0;
}

.public-url-save {
    min-height: 52px;
    padding-inline: 22px;
    white-space: nowrap;
}

.public-url-preview {
    grid-column: 1 / -1;
    overflow-wrap: anywhere;
}

.auth-card-register label,
.auth-card-register .checkbox-field {
    font-size: 0.78rem;
}

.auth-card-register .button {
    min-height: 44px;
}

.auth-card-login {
    align-self: center;
}

.auth-card input:focus,
.auth-card select:focus,
.auth-card textarea:focus,
.member-profile-form input:focus,
.member-profile-form select:focus,
.member-profile-form textarea:focus {
    outline: 3px solid rgba(95, 143, 184, 0.24);
    border-color: var(--color-blue);
}

.field-help,
.auth-switch {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.auth-switch a,
.checkbox-field a {
    color: var(--color-red);
    font-weight: 800;
}

.checkbox-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    color: var(--color-ink);
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.form-alert {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.92rem;
}

.form-alert p {
    margin: 0;
    color: inherit;
}

.form-alert-error {
    color: #fff7f7;
    border-color: rgba(255, 176, 176, 0.42);
    background: #8f1f2d;
    box-shadow: 0 14px 34px rgba(143, 31, 45, 0.24);
}

.form-alert-success {
    color: #f3fff8;
    border-color: rgba(156, 230, 183, 0.42);
    background: #14633f;
    box-shadow: 0 14px 34px rgba(20, 99, 63, 0.24);
}

.auth-copy .form-alert p {
    color: inherit;
}

.legal-section {
    max-width: 980px;
    color: var(--color-ink);
    background: #ffffff;
}

.legal-section h1 {
    color: var(--color-black);
}

.legal-section h2 {
    margin-top: 30px;
}

.member-panel {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(18px, 2vw, 28px);
    width: min(calc(100% - 32px), 1660px);
    margin: 0 auto var(--section-gap);
    align-items: start;
}

.member-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 12px;
    padding: 14px;
    color: var(--color-white);
    background:
        linear-gradient(160deg, rgba(25, 20, 25, 0.96), rgba(46, 23, 25, 0.95)),
        radial-gradient(circle at 20% 0%, rgba(201, 79, 92, 0.28), transparent 34%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(12, 15, 18, 0.26);
}

.member-sidebar-card,
.member-sidebar-nav,
.member-summary-card,
.member-config-card,
.banner-status-card,
.banner-form {
    padding: 22px;
    background: rgba(255, 250, 242, 0.92);
    border: 1px solid rgba(201, 164, 90, 0.24);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.member-sidebar-card {
    display: grid;
    gap: 8px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.member-sidebar-card span:not(.profile-avatar) {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
}

.member-sidebar-nav {
    display: grid;
    gap: 8px;
    padding: 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.member-sidebar-nav a {
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.78);
    border-radius: 10px;
    font-weight: 800;
}

.member-sidebar-nav a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.member-panel-tabs,
.member-profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tab-button.active {
    background: rgba(201, 79, 92, 0.22);
    border-color: rgba(201, 79, 92, 0.48);
    color: var(--color-white);
}

.member-panel-section {
    padding-top: 0;
    display: none;
}

.member-panel-section.active {
    display: block;
}

.profile-tab-panel {
    display: none;
}

.profile-tab-panel.active {
    display: block;
}

.artist-landing {
    width: min(calc(100% - 24px), 1160px);
    margin: clamp(14px, 2vw, 24px) auto var(--section-gap);
    display: grid;
    gap: 18px;
}

.artist-hero,
.artist-bio,
.artist-contact {
    border: 1px solid rgba(201, 164, 90, 0.24);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.artist-hero {
    color: var(--color-white);
    background:
        radial-gradient(circle at 14% 0%, rgba(201, 79, 92, 0.34), transparent 32%),
        radial-gradient(circle at 88% 6%, rgba(95, 143, 184, 0.28), transparent 30%),
        linear-gradient(140deg, #111114, #1f2f3c);
}

.artist-hero .container,
.artist-bio .container,
.artist-contact .container {
    width: 100%;
    max-width: 100%;
    padding: clamp(20px, 3.4vw, 34px);
}

.artist-hero h1 {
    margin: 0;
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.02;
}

.artist-hero p {
    margin: 14px 0 0;
    max-width: 72ch;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.02rem;
}

.artist-hero img {
    display: block;
    width: min(260px, 46vw);
    aspect-ratio: 1 / 1;
    margin-top: 16px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.artist-bio,
.artist-contact {
    background: rgba(255, 250, 242, 0.96);
}

.artist-bio h2,
.artist-contact h2 {
    margin: 0 0 12px;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.artist-bio p,
.artist-contact p,
.artist-contact a,
.artist-bio li {
    font-size: 1rem;
    line-height: 1.6;
}

.artist-contact a {
    color: var(--color-red);
    font-weight: 700;
}

.artist-contact a:hover {
    text-decoration: underline;
}

.rich-text-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
    padding: 10px;
    border: 1px solid rgba(17, 17, 20, 0.1);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(244, 238, 229, 0.96));
}

.rich-text-button {
    min-width: 34px;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid rgba(17, 17, 20, 0.12);
    border-radius: 8px;
    color: #111114;
    background: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.rich-text-select {
    min-height: 32px;
    max-width: 150px;
    padding: 6px 28px 6px 10px;
    border: 1px solid rgba(17, 17, 20, 0.12);
    border-radius: 8px;
    color: #111114;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 800;
}

.rich-text-button:hover {
    border-color: rgba(201, 79, 92, 0.38);
    background: #ffffff;
    transform: translateY(-1px);
}

.button-small {
    font-size: 0.9rem;
    padding: 10px 16px;
    min-width: auto;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    transition: background 0.2s ease;
}

.button-small:hover {
    background: rgba(255, 255, 255, 0.16);
}

.member-profile-photo {
    position: relative;
    display: grid;
    place-items: center;
    width: 160px;
    min-width: 160px;
    height: 160px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.member-profile-photo img,
.member-profile-photo .member-photo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.04);
}

.member-profile-photo button {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    padding: 8px 14px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    background: rgba(17, 17, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-white);
}

.main-photo-field {
    position: relative;
    display: grid;
    gap: 10px;
    align-items: center;
}

.main-photo-field input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
    white-space: nowrap;
}

.main-photo-field label {
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.rich-text-editor {
    min-height: 220px;
    padding: 18px 20px;
    border: 1px solid rgba(17, 17, 20, 0.1);
    border-radius: 0 0 14px 14px;
    background: #ffffff;
    color: #111114;
    font-family: "Inter", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow-wrap: break-word;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.rich-text-editor:focus {
    outline: none;
    border-color: rgba(201, 79, 92, 0.6);
    box-shadow: 0 0 0 8px rgba(201, 79, 92, 0.08);
}

.rich-text-editor h3 {
    margin: 0 0 10px;
    color: #111114;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.rich-text-editor p,
.rich-text-editor ul,
.rich-text-editor ol,
.rich-text-editor blockquote {
    margin: 0 0 12px;
    font-weight: 400;
}

.rich-text-editor strong,
.rich-text-editor b {
    font-weight: 800;
}

.rich-text-editor blockquote {
    padding-left: 14px;
    border-left: 3px solid var(--color-red);
    color: #343038;
}

.member-panel-content {
    display: grid;
    gap: 18px;
}

.member-panel-section {
    padding-top: 0;
}

.member-panel-section.content-section {
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.member-panel-section .section-heading {
    margin: 0 0 28px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.09), rgba(201, 164, 90, 0.1));
    border: 1px solid rgba(201, 79, 92, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.member-panel-section .section-heading h2 {
    margin: 8px 0 0;
    color: var(--color-ink);
    font-size: clamp(24px, 4vw, 32px);
}

.member-panel-section .section-heading .section-kicker {
    text-transform: uppercase;
    color: var(--color-red);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.member-panel-section .section-heading-content p:not(.section-kicker) {
    max-width: 680px;
    color: var(--color-muted);
    margin-top: 6px;
}

.member-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: stretch;
    padding: clamp(22px, 3vw, 34px);
    color: var(--color-white);
    background:
        linear-gradient(135deg, rgba(19, 18, 24, 0.96), rgba(46, 23, 25, 0.95)),
        radial-gradient(circle at 85% 10%, rgba(201, 164, 90, 0.26), transparent 32%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(12, 15, 18, 0.24);
}

.member-dashboard-identity {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.member-dashboard-photo-edit {
    position: relative;
    display: grid;
    place-items: center;
    width: 132px;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    color: var(--color-white);
    background: transparent;
    border: 0;
    border-radius: 16px;
    cursor: pointer;
}

.member-dashboard-identity img,
.member-dashboard-photo-placeholder {
    width: 132px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.member-dashboard-photo-edit > span {
    position: absolute;
    inset: auto 10px 10px;
    z-index: 2;
    display: grid;
    place-items: center;
    min-height: 34px;
    color: var(--color-white);
    background: rgba(17, 17, 20, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0;
    backdrop-filter: blur(10px);
}

.member-dashboard-photo-edit:hover > span,
.member-dashboard-photo-edit:focus-visible > span {
    opacity: 1;
    transform: translateY(0);
}

.member-dashboard-photo-placeholder {
    display: grid;
    place-items: center;
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.9), rgba(201, 164, 90, 0.78));
    font-size: 2.4rem;
    font-weight: 900;
}

.member-dashboard-identity span,
.member-dashboard-stats span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.member-dashboard-photo-edit > span {
    color: var(--color-white);
    font-size: 0.78rem;
    text-transform: none;
    letter-spacing: 0;
}

.member-dashboard-identity h2 {
    margin: 6px 0;
    color: var(--color-white);
    font-size: clamp(1.8rem, 3.2vw, 3.25rem);
    line-height: 1;
}

.member-dashboard-identity p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.member-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
    gap: 10px;
}

.member-dashboard-stats article {
    display: grid;
    align-content: end;
    min-height: 132px;
    padding: 16px;
    min-width: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.member-dashboard-stats strong {
    margin-top: 8px;
    color: var(--color-white);
    font-size: clamp(1rem, 1.3vw, 1.35rem);
    line-height: 1;
    overflow-wrap: anywhere;
}

.member-dashboard-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.member-card-qr-link.member-dashboard-qr-link {
    grid-template-columns: 120px minmax(0, 1fr);
    max-width: 320px;
    padding: 10px 16px 10px 10px;
    background: rgba(17, 17, 20, 0.24);
}

.member-card-qr-link.member-dashboard-qr-link img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
}

.member-summary-grid,
.banner-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.member-summary-card {
    display: grid;
    gap: 10px;
    min-height: 120px;
    align-content: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(244, 238, 229, 0.92));
    border: 1px solid rgba(201, 164, 90, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.member-summary-card:hover {
    border-color: rgba(201, 79, 92, 0.3);
    box-shadow: 0 8px 20px rgba(201, 79, 92, 0.1);
}

.member-summary-card span,
.banner-status-card span {
    color: var(--color-red);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.member-summary-card strong,
.banner-status-card strong {
    font-size: 1.15rem;
    color: var(--color-ink);
    font-weight: 700;
}

.member-profile-editor {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.member-website-grid {
    display: grid;
    gap: 14px;
}

.member-web-form {
    display: grid;
    gap: 18px;
}

.website-slide-editor {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    gap: 16px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 250, 242, 0.52)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.05), transparent);
}

.website-slide-preview {
    min-height: 188px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: rgba(255, 250, 242, 0.92);
    border: 1px dashed rgba(17, 17, 20, 0.16);
    border-radius: 13px;
    background:
        linear-gradient(135deg, rgba(17, 17, 20, 0.86), rgba(32, 56, 71, 0.8)),
        url("../images/flamenco-header-art.png");
    background-position: center;
    background-size: cover;
    font-weight: 900;
    text-align: center;
}

.website-slide-preview span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17, 17, 20, 0.56);
}

.website-slide-fields {
    display: grid;
    gap: 10px;
}

.website-slide-fields > strong {
    color: #9d414b;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.website-gallery-item {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 8px;
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 12px;
}

.website-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 9px;
}

.website-gallery-item span,
.website-contact-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 800;
}

.website-empty-state {
    grid-column: 1 / -1;
    padding: 18px;
    background: rgba(17, 17, 20, 0.04);
    border: 1px dashed rgba(17, 17, 20, 0.16);
    border-radius: 12px;
}

.website-contact-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.website-contact-options label {
    min-height: 52px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 12px;
}

.website-simple-repeat-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.website-simple-repeat-row {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(17, 17, 20, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
}

.compact-card-header {
    align-items: center;
    margin-bottom: 0;
}

.remove-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9d414b;
    font-size: 0.82rem;
    font-weight: 900;
}

.website-news-editor-grid {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 16px;
}

.website-news-image-field {
    display: grid;
    gap: 10px;
    align-content: start;
}

.website-news-image-field img,
.website-news-image-field > span {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    color: rgba(17, 17, 20, 0.58);
    border: 1px dashed rgba(17, 17, 20, 0.14);
    border-radius: 12px;
    background: rgba(17, 17, 20, 0.04);
    object-fit: cover;
    font-weight: 800;
}

.member-profile-preview,
.member-profile-form {
    padding: 20px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(201, 164, 90, 0.18);
    border-radius: 14px;
    box-shadow: none;
}

.member-profile-preview {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.member-profile-preview img,
.member-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    background: #17171b;
}

.member-photo-placeholder {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 900;
}

.member-profile-preview span:not(.status-pill) {
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.member-profile-preview strong {
    display: block;
    margin-top: 4px;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.member-profile-preview p {
    margin: 6px 0 0;
    color: var(--color-muted);
}

.member-profile-form {
    display: grid;
    gap: 18px;
}

.member-profile-form label {
    display: grid;
    gap: 6px;
    color: var(--color-ink);
    font-weight: 800;
}

.cv-editor-field {
    display: grid;
    gap: 6px;
    color: var(--color-ink);
    font-weight: 400;
}

.cv-editor-field .field-label {
    font-weight: 800;
}

.cv-editor-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.cv-editor-actions .button-secondary {
    color: var(--color-ink);
    border-color: rgba(17, 17, 20, 0.16);
    background: rgba(255, 255, 255, 0.72);
}

.cv-fieldset {
    display: grid;
    gap: 16px;
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(201, 164, 90, 0.2);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(244, 238, 229, 0.88));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.cv-fieldset:hover {
    border-color: rgba(201, 79, 92, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cv-fieldset legend,
.cv-section-heading legend {
    padding: 0;
    color: var(--color-black);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.2;
    font-weight: 700;
}

.visibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.visibility-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.68);
}

.visibility-toggle input {
    width: 18px;
    height: 18px;
}

.visibility-toggle.compact-toggle {
    justify-self: start;
    max-width: 360px;
    padding: 8px 10px;
    color: #3d3a36;
    background: rgba(255, 255, 255, 0.54);
}

.cv-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(17, 17, 20, 0.08);
}

.cv-section-heading legend {
    display: grid;
    gap: 5px;
}

.cv-section-heading legend span {
    color: #c94f5c;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cv-section-title-input {
    padding: 8px 12px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 700;
    color: var(--color-ink);
    border: 1px solid rgba(201, 79, 92, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.cv-section-title-input:focus {
    outline: none;
    border-color: var(--color-red);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(201, 79, 92, 0.1);
}

.cv-section-title-input::placeholder {
    color: rgba(17, 17, 20, 0.3);
}

.cv-section-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.cv-section-tools label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cv-section-tools select,
.cv-section-tools input[type="number"] {
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid rgba(17, 17, 20, 0.12);
    border-radius: 999px;
    background: #ffffff;
}

.cv-section-tools input[type="number"] {
    width: 74px;
}

.cv-section-toggle {
    padding: 6px 9px;
    color: #173d2c;
    border: 1px solid rgba(23, 61, 44, 0.16);
    border-radius: 999px;
    background: rgba(229, 245, 236, 0.74);
}

.cv-section-toggle input,
.cv-entry-controls .visibility-toggle input {
    width: 16px;
    height: 16px;
}

.cv-repeat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(201, 164, 90, 0.18);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(250, 248, 244, 0.82));
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.cv-repeat-row:hover {
    border-color: rgba(201, 79, 92, 0.2);
    box-shadow: 0 4px 12px rgba(201, 79, 92, 0.08);
}

.cv-repeat-row-with-media {
    grid-template-columns: minmax(220px, 280px) repeat(3, minmax(0, 1fr));
    gap: 14px 16px;
    align-items: start;
}

.cv-entry-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    grid-column: 1 / -1;
}

.cv-entry-controls label {
    width: auto;
}

.cv-entry-controls input[type="number"] {
    width: 84px;
    min-height: 42px;
}

.cv-row-help,
.cv-entry-title-field,
.cv-entry-description-field,
.cv-repeat-row:not(.cv-repeat-row-with-media) .cv-entry-image-field {
    grid-column: 1 / -1;
}

.cv-repeat-row-with-media .cv-entry-image-field {
    grid-column: 1;
    grid-row: 1 / span 4;
}

.cv-repeat-row-with-media .cv-row-help,
.cv-repeat-row-with-media .cv-entry-controls,
.cv-repeat-row-with-media .cv-entry-title-field,
.cv-repeat-row-with-media .cv-entry-description-field {
    grid-column: 2 / -1;
}

.cv-repeat-row-with-media .cv-entry-category-field {
    grid-column: 2 / -1;
    max-width: 520px;
}

.cv-repeat-row-with-media .cv-entry-description-field {
    display: grid;
    gap: 0;
}

.cv-entry-title-field input {
    max-width: 720px;
}

.cv-entry-description-field textarea {
    min-height: 92px;
}

.cv-entry-image-box {
    display: grid;
    place-items: center;
    min-height: 240px;
    color: var(--color-muted);
    border: 1px dashed rgba(17, 17, 20, 0.18);
    border-radius: 14px;
    background: rgba(17, 17, 20, 0.04);
    overflow: hidden;
}

.cv-entry-image-preview {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.cv-entry-image-field input[type="file"] {
    width: 100%;
    min-height: 42px;
    padding: 9px;
    border: 1px solid rgba(17, 17, 20, 0.1);
    border-radius: 10px;
    background: rgba(255, 250, 242, 0.84);
}

.cv-header-background-field {
    display: grid;
    gap: 8px;
}

.cv-header-background-preview {
    position: relative;
    display: grid;
    gap: 7px;
    min-height: 110px;
    place-items: center;
    color: var(--color-white);
    border: 1px solid rgba(17, 17, 20, 0.12);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(17, 17, 20, 0.72), rgba(32, 56, 71, 0.68)),
        rgba(17, 17, 20, 0.36);
    background-size: cover;
    background-position: center;
    font-weight: 900;
    cursor: pointer;
    overflow: hidden;
}

.cv-header-background-preview em {
    padding: 7px 12px;
    color: var(--color-white);
    background: rgba(17, 17, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.78rem;
    font-style: normal;
}

.cv-repeat-section .cv-repeat-row:nth-of-type(n + 5) {
    opacity: 0.94;
}

.cv-add-row {
    justify-self: start;
    margin-top: 8px;
    padding: 12px 22px;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-red), rgba(201, 79, 92, 0.88));
    border: 1px solid var(--color-red);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cv-add-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 79, 92, 0.3);
}

.cv-add-row:active {
    transform: translateY(0);
}

.cv-print-document {
    display: none;
}

.status-pill {
    display: inline-flex;
    width: max-content;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-pill-active {
    color: #23543b;
    background: #dcf2e6;
}

.status-pill-pending {
    color: #7a5720;
    background: #fff0c8;
}

.member-card-heading-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
}

.member-card-qr-link {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    max-width: 280px;
    padding: 10px 14px 10px 10px;
    color: var(--color-white);
    text-decoration: none;
    background: rgba(17, 17, 20, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

.member-card-qr-link img {
    width: 120px;
    height: 120px;
    padding: 10px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 18px;
}

.member-card-qr-link span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.member-card-qr-link strong {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 900;
}

.member-card-qr-link small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.76rem;
    font-weight: 800;
}

.member-card-layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(300px, 0.7fr);
    gap: 22px;
    align-items: start;
}

.member-card-preview {
    position: relative;
    aspect-ratio: 1.586 / 1;
    overflow: hidden;
    color: var(--color-white);
    background: #111114;
    border-radius: 22px;
    border: 1px solid rgba(201, 164, 90, 0.42);
    box-shadow: 0 28px 72px rgba(17, 17, 20, 0.24);
}

.member-card-preview > img:not(.member-card-seal):not(.member-card-access-qr) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-card-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 10, 0.18), rgba(8, 8, 10, 0.06) 50%, rgba(8, 8, 10, 0.18));
}

.member-card-overlay {
    position: absolute;
    top: 21%;
    z-index: 1;
    display: grid;
    gap: 6px;
    max-width: 56%;
    transform: translateY(-50%);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.member-card-preview-woman .member-card-overlay {
    left: clamp(26px, 4vw, 46px);
    text-align: left;
}

.member-card-preview-man .member-card-overlay {
    left: 43%;
    right: 24px;
    text-align: left;
}

.member-card-seal {
    position: absolute;
    bottom: clamp(16px, 2vw, 24px);
    z-index: 2;
    display: block;
    width: clamp(54px, 8vw, 82px);
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.member-card-preview-woman .member-card-seal {
    left: clamp(18px, 3vw, 32px);
}

.member-card-preview-man .member-card-seal {
    right: clamp(18px, 3vw, 32px);
}

.member-card-access-qr {
    position: absolute;
    bottom: clamp(16px, 2vw, 24px);
    z-index: 3;
    width: clamp(58px, 7vw, 78px);
    height: clamp(58px, 7vw, 78px);
    padding: 6px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid rgba(248, 229, 182, 0.58);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.46);
}

.member-card-preview-woman .member-card-access-qr {
    right: clamp(18px, 3vw, 32px);
}

.member-card-preview-man .member-card-access-qr {
    left: clamp(18px, 3vw, 32px);
}

.member-card-space {
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.member-card-overlay strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.5rem, 3.1vw, 2.55rem);
    line-height: 1;
}

.member-card-headline,
.member-card-specialties {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.78rem, 1.25vw, 1rem);
    font-weight: 800;
    line-height: 1.12;
}

.member-card-headline {
    color: #f8e5b6;
}

.member-card-specialties {
    font-size: clamp(0.72rem, 1.1vw, 0.9rem);
}

.member-card-overlay p {
    display: none;
}

.member-card-overlay code {
    justify-self: inherit;
    width: max-content;
    padding: 6px 10px;
    color: var(--color-white);
    background: rgba(201, 79, 92, 0.74);
    border: 1px solid rgba(248, 229, 182, 0.36);
    border-radius: 999px;
    font-weight: 900;
}

.member-card-preview-man .member-card-overlay code {
    justify-self: end;
}

.member-card-footer {
    position: absolute;
    left: 43%;
    right: 24px;
    bottom: 18px;
    z-index: 1;
    display: grid;
    gap: 6px;
    color: var(--color-white);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.member-card-preview-woman .member-card-footer {
    left: clamp(96px, 15vw, 130px);
    right: 46%;
}

.member-card-preview-man .member-card-footer {
    right: clamp(96px, 15vw, 130px);
}

.member-card-footer > span {
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
    font-weight: 900;
}

.member-card-footer strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    line-height: 1;
}

.member-card-footer strong > span:first-child,
.member-card-footer small {
    color: var(--color-white);
}

.member-card-footer strong em,
.member-card-footer strong > span:nth-child(3) {
    color: var(--color-red);
    font-style: normal;
}

.artist-public-body {
    background: #0d1014;
}

.artist-web-page {
    min-height: 100vh;
    color: rgba(255, 250, 242, 0.9);
    background: #0d1014;
}

.artist-web-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    color: var(--color-white);
    background: rgba(17, 17, 20, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
}

.artist-web-topbar-inner {
    min-height: 74px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-content: start;
    gap: 14px;
}

.artist-web-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.artist-web-logo img,
.artist-web-logo span {
    flex: 0 0 auto;
    width: 86px;
    height: 50px;
    border: 1px solid rgba(248, 229, 182, 0.22);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.artist-web-logo img {
    object-fit: cover;
}

.artist-web-logo-profile img {
    width: 52px;
    height: 52px;
    border-radius: 999px;
}

.artist-web-logo span {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.92), rgba(95, 143, 184, 0.7));
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
}

.artist-web-logo strong {
    overflow: hidden;
    max-width: 34vw;
    color: rgba(255, 250, 242, 0.94);
    font-size: 1rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.artist-web-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    gap: 8px;
}

.artist-web-menu a {
    flex: 0 0 auto;
    padding: 9px 13px;
    color: rgba(255, 250, 242, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 850;
}

.artist-web-menu a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(248, 229, 182, 0.26);
}

.artist-web-topbar-action {
    justify-self: end;
    padding: 9px 14px;
    color: var(--color-white);
    background: rgba(201, 79, 92, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 900;
}

.artist-web-name-band {
    color: var(--color-white);
    background: #050506;
    border-top: 1px solid rgba(248, 229, 182, 0.08);
    border-bottom: 1px solid rgba(248, 229, 182, 0.12);
}

.artist-web-name-band .container {
    min-height: clamp(82px, 9vw, 118px);
    display: grid;
    place-items: center;
}

.artist-web-name-band h1 {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 4.8vw, 4.4rem);
    line-height: 0.95;
    text-align: center;
    text-shadow: 0 12px 42px rgba(0, 0, 0, 0.56);
}

.artist-web-hero-slider {
    position: relative;
    min-height: clamp(460px, calc(100vh - 190px), 720px);
    color: var(--color-white);
    background: #111114;
    overflow: hidden;
    isolation: isolate;
}

.artist-web-hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: end;
    padding: 56px 0 64px;
    background:
        linear-gradient(90deg, rgba(17, 17, 20, 0.94), rgba(17, 17, 20, 0.48) 56%, rgba(32, 56, 71, 0.74)),
        linear-gradient(180deg, rgba(17, 17, 20, 0.18), rgba(17, 17, 20, 0.72));
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 780ms ease;
    pointer-events: none;
}

.artist-web-hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.artist-web-hero-slide::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(17, 17, 20, 0.74));
    pointer-events: none;
    z-index: -1;
}

.artist-web-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
}

.artist-web-hero-content {
    width: min(680px, 100%);
    margin: 0;
    padding: clamp(20px, 3vw, 34px);
    color: rgba(255, 250, 242, 0.9);
    border: 1px solid rgba(248, 229, 182, 0.14);
    border-radius: 10px;
    background: rgba(17, 17, 20, 0.46);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.artist-web-hero-content h2 {
    margin: 0 0 10px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5vw, 5rem);
    line-height: 0.96;
}

.artist-web-hero-content p {
    margin: 0;
    max-width: 58ch;
    color: rgba(255, 250, 242, 0.86);
    font-size: clamp(1.02rem, 1.4vw, 1.22rem);
    font-weight: 750;
    line-height: 1.45;
}

.artist-web-hero-content a {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    padding: 12px 18px;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(201, 79, 92, 0.86);
    box-shadow: 0 16px 36px rgba(201, 79, 92, 0.24);
    font-weight: 900;
}

.artist-web-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 2;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.artist-web-slider-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 1px solid rgba(255, 250, 242, 0.64);
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.22);
    cursor: pointer;
}

.artist-web-slider-dots button.active {
    background: #c94f5c;
    border-color: #c94f5c;
}

.artist-web-section {
    padding: clamp(64px, 7vw, 96px) 0;
    color: rgba(255, 250, 242, 0.9);
    background: #0d1014;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.artist-web-gallery {
    background: #0d1014;
}

.artist-web-section .section-heading.align-left {
    display: grid;
    gap: 8px;
    margin: 0 0 30px;
    text-align: left;
}

.artist-web-section .section-heading h2 {
    margin: 0;
    color: var(--color-white);
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    line-height: 0.98;
}

.artist-web-events .section-heading h2 {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.artist-web-section .section-heading > p:not(.section-kicker) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 250, 242, 0.66);
}

.artist-web-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.artist-web-gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.artist-web-contact {
    background: #0d1014;
}

.artist-web-contact .section-heading.align-left {
    justify-items: center;
    text-align: center;
}

.artist-web-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
    justify-content: center;
    gap: 14px;
    max-width: 1120px;
    margin: 0 auto;
}

.artist-web-contact-grid a {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 132px;
    padding: 22px;
    color: var(--color-white);
    text-align: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
        rgba(17, 17, 20, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}

.artist-web-contact-grid span {
    color: #ff8a96;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.artist-web-contact-grid strong {
    color: rgba(255, 250, 242, 0.96);
    overflow-wrap: anywhere;
}

.artist-web-footer {
    padding: 32px 0;
    color: rgba(255, 250, 242, 0.72);
    background: #111114;
    border-top: 1px solid rgba(248, 229, 182, 0.16);
}

.artist-web-footer-inner {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.artist-web-footer-brand {
    display: grid;
    gap: 4px;
}

.artist-web-footer-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.artist-web-footer-brand strong {
    display: block;
    color: var(--color-white);
    font-size: 1rem;
}

.artist-web-footer-brand p {
    margin: 2px 0 0;
    color: rgba(255, 250, 242, 0.62);
    font-size: 0.9rem;
}

.artist-web-footer-copy {
    margin: 0;
    color: rgba(255, 250, 242, 0.52);
    font-size: 0.88rem;
}

@media (max-width: 980px) {
    .artist-web-hero-slider {
        min-height: 560px;
    }

    .artist-web-hero-slide {
        padding: 58px 0 60px;
    }

    .artist-web-hero-inner {
        grid-template-columns: 1fr;
    }

    .artist-web-topbar-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 70px;
    }

    .artist-web-name-band h1 {
        font-size: 3.8rem;
    }

    .artist-web-menu {
        grid-column: 1 / -1;
        grid-row: 2;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .artist-web-topbar-action {
        grid-column: 2;
        grid-row: 1;
    }

    .artist-web-footer-inner {
        display: grid;
        justify-content: start;
    }

    .artist-web-footer nav {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .artist-web-topbar-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        min-height: auto;
        padding-block: 10px;
    }

    .artist-web-logo img,
    .artist-web-logo span {
        width: 74px;
        height: 44px;
    }

    .artist-web-logo strong {
        max-width: calc(100vw - 120px);
    }

    .artist-web-menu {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 2px;
    }

    .artist-web-topbar-action {
        display: none;
    }

    .artist-web-menu a {
        padding: 8px 11px;
        font-size: 0.78rem;
    }

    .artist-web-hero-slider {
        min-height: 520px;
    }

    .artist-web-hero-slide {
        padding: 52px 0 44px;
    }

    .artist-web-name-band h1 {
        font-size: 2.7rem;
        line-height: 0.98;
    }

    .artist-web-section {
        padding: 58px 0;
    }

    .artist-web-footer-brand {
        align-items: flex-start;
    }
}

.member-config-card,
.banner-form {
    display: grid;
    gap: 12px;
}

.card-background-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.card-background-options label {
    display: grid;
    gap: 8px;
    cursor: pointer;
}

.card-background-options input {
    justify-self: start;
}

.card-background-options img {
    width: 100%;
    aspect-ratio: 1.586 / 1;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 14px;
}

.card-background-options input:checked + img {
    border-color: var(--color-red);
}

.member-card-public-page {
    min-height: calc(100vh - 86px);
    padding: clamp(28px, 5vw, 72px) var(--section-gutter);
    background:
        radial-gradient(circle at 18% 18%, rgba(201, 79, 92, 0.20), transparent 28%),
        linear-gradient(135deg, #111114, #203847);
}

.member-card-public-shell {
    display: grid;
    gap: 28px;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(20px, 3vw, 36px);
    background: rgba(255, 250, 242, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.member-card-public-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    color: var(--color-white);
}

.member-card-public-heading h1 {
    margin: 0;
    color: var(--color-white);
    font-size: clamp(2.2rem, 5vw, 5rem);
}

.member-card-public-heading p:not(.section-kicker) {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.member-card-public-stage {
    width: min(980px, 100%);
    margin: 0 auto;
}

/* Member area elegance pass */
.member-panel {
    grid-template-columns: 252px minmax(0, 1fr);
    gap: clamp(22px, 2.4vw, 36px);
    width: min(calc(100% - 44px), 1580px);
}

.member-sidebar {
    padding: 12px;
    background:
        linear-gradient(165deg, rgba(17, 17, 20, 0.96), rgba(18, 34, 42, 0.98)),
        linear-gradient(135deg, rgba(201, 79, 92, 0.16), rgba(201, 164, 90, 0.08));
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(6, 10, 14, 0.22);
}

.member-sidebar-card {
    gap: 10px;
    padding: 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
}

.member-sidebar-card strong {
    color: #fffaf2;
    font-size: 1rem;
    line-height: 1.3;
}

.member-sidebar-card span:not(.profile-avatar) {
    color: rgba(255, 250, 242, 0.62);
    font-size: 0.8rem;
    line-height: 1.45;
}

.member-sidebar-nav {
    gap: 4px;
    padding: 4px;
}

.member-sidebar-nav a {
    position: relative;
    padding: 11px 12px 11px 18px;
    color: rgba(255, 250, 242, 0.72);
    border-radius: 8px;
    font-size: 0.94rem;
    font-weight: 750;
}

.member-sidebar-nav a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 7px;
    width: 3px;
    height: 0;
    border-radius: 999px;
    background: var(--color-red);
    transform: translateY(-50%);
    transition: height 0.2s ease;
}

.member-sidebar-nav a:hover,
.member-sidebar-nav a:focus-visible,
.member-sidebar-nav a.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.075);
}

.member-sidebar-nav a:hover::before,
.member-sidebar-nav a:focus-visible::before,
.member-sidebar-nav a.active::before {
    height: 18px;
}

.member-sidebar-progress {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.member-sidebar-progress div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.member-sidebar-progress span {
    color: rgba(255, 250, 242, 0.66);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.member-sidebar-progress strong {
    color: #fffaf2;
    font-size: 0.95rem;
    line-height: 1;
}

.member-sidebar-progress meter {
    width: 100%;
    height: 10px;
    appearance: none;
}

.member-sidebar-progress meter::-webkit-meter-bar {
    background: rgba(255, 255, 255, 0.12);
    border: 0;
    border-radius: 999px;
}

.member-sidebar-progress meter::-webkit-meter-optimum-value {
    background: linear-gradient(90deg, #c94f5c, #e7bf68);
    border-radius: 999px;
}

.member-sidebar-progress meter::-moz-meter-bar {
    background: linear-gradient(90deg, #c94f5c, #e7bf68);
    border-radius: 999px;
}

.member-sidebar-print {
    width: 100%;
    padding: 10px 14px;
    color: var(--color-white);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 850;
    background: rgba(201, 79, 92, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.member-sidebar-print:hover,
.member-sidebar-print:focus-visible {
    transform: translateY(-1px);
    background: rgba(201, 79, 92, 0.34);
    border-color: rgba(255, 250, 242, 0.3);
}

.member-panel-content {
    gap: 22px;
}

.member-panel-alerts {
    display: grid;
    gap: 10px;
}

.member-panel-tabs {
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    padding: 8px;
    width: max-content;
    max-width: 100%;
    border: 1px solid rgba(255, 250, 242, 0.14);
    border-radius: 12px;
    background: rgba(17, 17, 20, 0.28);
}

.member-panel-tabs .tab-button {
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 8px;
    border-color: transparent;
    background: transparent;
    color: rgba(255, 250, 242, 0.74);
    font-size: 0.9rem;
    font-weight: 800;
}

.member-panel-tabs .tab-button:hover,
.member-panel-tabs .tab-button:focus-visible {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.member-panel-tabs .tab-button.active {
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.9), rgba(164, 52, 66, 0.9));
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(201, 79, 92, 0.22);
}

.member-dashboard-hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
    gap: clamp(18px, 2.4vw, 34px);
    padding: clamp(24px, 3vw, 38px);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(14, 15, 18, 0.98), rgba(46, 23, 25, 0.97)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.14), transparent 45%);
    border-color: rgba(255, 250, 242, 0.12);
    box-shadow: 0 22px 58px rgba(6, 10, 14, 0.24);
}

.member-dashboard-identity {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 22px;
}

.member-dashboard-photo-edit,
.member-dashboard-identity img,
.member-dashboard-photo-placeholder {
    width: 116px;
    border-radius: 10px;
}

.member-dashboard-photo-placeholder {
    font-size: 2.15rem;
}

.member-dashboard-identity span,
.member-dashboard-stats span {
    color: rgba(255, 250, 242, 0.66);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.member-dashboard-identity h2 {
    max-width: 900px;
    margin: 6px 0 4px;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 0.95;
}

.member-dashboard-identity p {
    color: rgba(255, 250, 242, 0.74);
    font-size: 1rem;
}

.member-dashboard-actions {
    align-content: center;
}

.member-card-qr-link.member-dashboard-qr-link {
    grid-template-columns: 128px minmax(0, 1fr);
    max-width: 360px;
    padding: 10px 16px 10px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

.member-card-qr-link.member-dashboard-qr-link img {
    width: 128px;
    height: 128px;
    padding: 10px;
    border-radius: 12px;
}

.member-card-qr-link strong {
    font-size: 0.84rem;
}

.member-card-qr-link small {
    font-size: 0.72rem;
}

.member-panel-section .section-heading {
    margin-bottom: 22px;
    padding: clamp(24px, 3vw, 42px);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(17, 17, 20, 0.96), rgba(29, 48, 59, 0.95)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.12), transparent 45%);
    border-color: rgba(255, 250, 242, 0.12);
    box-shadow: 0 18px 44px rgba(6, 10, 14, 0.14);
}

.member-panel-section .section-heading h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4.6vw, 4.2rem);
    line-height: 0.98;
}

.member-panel-section .section-heading .section-kicker {
    color: #ff8a96;
}

.member-panel-section .section-heading-content p:not(.section-kicker) {
    color: rgba(255, 250, 242, 0.62);
    font-size: 1rem;
    line-height: 1.7;
}

.member-summary-grid {
    gap: 14px;
}

.member-summary-card,
.member-config-card,
.banner-status-card,
.member-profile-form,
.cv-fieldset {
    border-radius: 10px;
    border-color: rgba(17, 17, 20, 0.08);
    background: rgba(255, 250, 242, 0.94);
    box-shadow: 0 14px 32px rgba(13, 17, 20, 0.08);
}

.member-summary-card {
    min-height: 104px;
    padding: 18px 20px;
}

.member-summary-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 79, 92, 0.22);
    box-shadow: 0 18px 38px rgba(13, 17, 20, 0.11);
}

.member-summary-card span,
.banner-status-card span {
    color: #9d414b;
    font-size: 0.72rem;
}

.member-summary-card strong,
.banner-status-card strong {
    font-size: 1.05rem;
}

.member-profile-editor {
    gap: 18px;
}

.member-profile-form {
    gap: 20px;
    padding: clamp(18px, 2vw, 26px);
}

.cv-fieldset {
    gap: 18px;
    padding: clamp(18px, 2.2vw, 28px);
    background: linear-gradient(135deg, rgba(255, 250, 242, 0.97), rgba(247, 242, 234, 0.94));
}

.cv-fieldset:hover,
.cv-repeat-row:hover {
    box-shadow: 0 18px 36px rgba(13, 17, 20, 0.09);
}

.cv-fieldset legend,
.cv-section-heading legend {
    font-size: clamp(1.45rem, 2.2vw, 2.25rem);
    line-height: 1.05;
}

.cv-section-heading {
    align-items: start;
    padding-bottom: 14px;
}

.cv-section-heading legend span {
    color: #c94f5c;
    font-size: 0.68rem;
}

.cv-section-tools {
    padding: 5px;
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
}

.cv-section-tools label {
    font-size: 0.66rem;
}

.cv-section-toggle {
    background: rgba(229, 245, 236, 0.92);
}

.cv-repeat-row {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: none;
}

.cv-entry-image-box,
.rich-text-toolbar,
.rich-text-editor,
.cv-entry-image-field input[type="file"],
.cv-header-background-preview {
    border-radius: 8px;
}

.rich-text-toolbar {
    padding: 8px;
    background: rgba(247, 242, 234, 0.96);
}

.rich-text-editor {
    min-height: 190px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.cv-add-row {
    border-radius: 8px;
    background: #c94f5c;
    box-shadow: none;
}

.cv-add-row:hover {
    box-shadow: 0 12px 24px rgba(201, 79, 92, 0.2);
}

.member-card-layout {
    gap: 24px;
}

.member-config-card {
    padding: clamp(20px, 2.4vw, 30px);
}

.banner-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
}

.banner-form input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--color-ink);
    font: inherit;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: #fbf8f3;
}

.banner-date-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.banner-date-grid label {
    display: grid;
    gap: 6px;
    color: var(--color-ink);
    font-size: 0.84rem;
    font-weight: 800;
}

/* Member panel modern polish */
.member-panel {
    grid-template-columns: 320px minmax(0, 1fr);
    width: min(calc(100% - 36px), 1720px);
    align-items: start;
}

.member-sidebar {
    position: sticky;
    top: 94px;
    padding: 16px;
    border-radius: 18px;
}

.member-sidebar-card {
    padding: 22px;
    border-radius: 14px;
}

.member-sidebar-card .profile-avatar-large {
    width: 72px;
    height: 72px;
    margin-bottom: 4px;
    font-size: 1.4rem;
}

.member-sidebar-card strong {
    font-size: 1.08rem;
}

.member-sidebar-nav {
    gap: 7px;
    padding: 6px;
}

.member-sidebar-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 14px 12px 22px;
    border: 1px solid transparent;
}

.member-sidebar-nav a:hover,
.member-sidebar-nav a:focus-visible,
.member-sidebar-nav a.active {
    border-color: rgba(255, 255, 255, 0.1);
}

.member-sidebar-progress {
    padding: 18px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.12), rgba(201, 164, 90, 0.08));
}

.member-sidebar-print {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: #fffaf2;
    background:
        linear-gradient(135deg, rgba(201, 79, 92, 0.34), rgba(201, 164, 90, 0.12));
    border-radius: 14px;
}

.member-panel-tabs {
    display: none;
}

.member-profile-form {
    gap: 24px;
}

.profile-core-fieldset,
.profile-data-fieldset {
    position: relative;
    gap: 20px;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(201, 79, 92, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(246, 239, 229, 0.94)),
        linear-gradient(90deg, rgba(95, 143, 184, 0.06), transparent 42%);
    box-shadow: 0 24px 54px rgba(13, 17, 20, 0.1);
}

.profile-core-fieldset legend,
.profile-data-fieldset legend {
    margin-bottom: 4px;
    color: #111114;
    font-size: clamp(1.75rem, 3vw, 2.8rem);
    line-height: 0.98;
}

.profile-core-fieldset > label,
.profile-core-fieldset .form-grid-two > label,
.profile-data-fieldset .form-grid-two > label,
.profile-data-fieldset .form-grid-three > label {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.profile-core-fieldset input,
.profile-core-fieldset select,
.profile-data-fieldset input,
.profile-data-fieldset select,
.profile-data-fieldset textarea {
    min-height: 46px;
    border-radius: 10px;
    background: rgba(255, 252, 246, 0.92);
}

.profile-data-fieldset .field-help {
    color: #69646b;
}

.public-url-control {
    align-items: stretch;
}

.public-url-control label {
    padding: 14px;
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
}

.public-url-save {
    align-self: end;
    min-height: 54px;
    color: #fffaf2;
    background: linear-gradient(135deg, #c94f5c, #9d414b);
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(201, 79, 92, 0.18);
}

.member-form-savebar {
    position: sticky;
    bottom: 18px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 4px;
    padding: 14px;
    color: #fffaf2;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(17, 17, 20, 0.94), rgba(25, 44, 55, 0.94)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.18), rgba(201, 164, 90, 0.08));
    box-shadow: 0 24px 58px rgba(6, 10, 14, 0.26);
    backdrop-filter: blur(16px);
}

.member-form-savebar div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.member-form-savebar strong {
    color: #fffaf2;
    font-size: 0.98rem;
}

.member-form-savebar span {
    color: rgba(255, 250, 242, 0.62);
    font-size: 0.84rem;
}

.member-save-button {
    min-height: 48px;
    padding-inline: 22px;
    border-radius: 12px;
    box-shadow: 0 16px 32px rgba(201, 79, 92, 0.24);
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .member-panel {
        grid-template-columns: 1fr;
        width: min(calc(100% - 24px), 960px);
    }

    .member-sidebar {
        position: static;
    }

    .member-sidebar-card {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }

    .member-sidebar-card .profile-avatar-large {
        margin-bottom: 0;
    }

    .member-sidebar-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }

    .member-sidebar-nav a {
        justify-content: center;
        padding: 11px 10px;
        text-align: center;
    }

    .member-sidebar-nav a::before {
        display: none;
    }

    .member-sidebar-print {
        width: auto;
    }
}

@media (max-width: 760px) {
    .member-panel {
        width: min(calc(100% - 16px), 100%);
        gap: 16px;
    }

    .member-sidebar {
        padding: 12px;
        border-radius: 14px;
    }

    .member-sidebar-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-sidebar-progress,
    .member-sidebar-print {
        border-radius: 12px;
    }

    .member-dashboard-hero,
    .profile-core-fieldset,
    .profile-data-fieldset,
    .cv-fieldset {
        padding: 18px;
        border-radius: 14px;
    }

    .member-summary-grid {
        grid-template-columns: 1fr;
    }

    .public-url-save {
        width: 100%;
    }

    .member-form-savebar {
        position: static;
        display: grid;
        padding: 14px;
    }

    .member-save-button {
        width: 100%;
    }

    .cv-section-heading,
    .cv-section-tools {
        display: grid;
        justify-content: stretch;
    }

    .cv-section-tools {
        border-radius: 14px;
    }
}

.site-footer {
    width: 100vw;
    max-width: none;
    margin: 0 calc(50% - 50vw);
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    padding: 52px clamp(20px, 4vw, 56px);
    color: rgba(255, 255, 255, 0.76);
    background: var(--color-black);
    border-radius: 0;
    border: 1px solid rgba(201, 164, 90, 0.38);
    border-inline: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.ad-sidebar {
    padding-block: 0 clamp(60px, 7vw, 84px);
}

.ad-sidebar-inner {
    position: sticky;
    top: 126px;
}

.ad-mobile-strip {
    display: none;
}

.ad-sidebar-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-line);
}

.ad-eyebrow,
.ad-label,
.ad-category {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ad-eyebrow {
    color: var(--color-red);
}

.ad-sidebar-heading h2 {
    margin-top: 5px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.35;
}

.text-button {
    padding: 0;
    color: var(--color-blue);
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
}

.text-button:hover {
    color: var(--color-red);
}

.ad-slots {
    display: grid;
    gap: 16px;
}

.ad-banner {
    position: relative;
    display: grid;
    align-content: space-between;
    min-height: 165px;
    padding: 18px;
    color: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.ad-banner::after {
    content: "CSF";
    position: absolute;
    right: -8px;
    bottom: -24px;
    color: rgba(255, 255, 255, 0.08);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.ad-banner-premium {
    min-height: 245px;
    background:
        radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(145deg, #b94250, #171419 72%);
}

.ad-banner-standard {
    background: linear-gradient(145deg, #4f7fa8, #17232e);
}

.ad-label {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.62);
}

.ad-banner-content {
    position: relative;
    z-index: 1;
}

.ad-category {
    display: inline-block;
    margin-bottom: 9px;
    color: #f1b3ba;
}

.ad-banner h3 {
    color: var(--color-white);
    font-size: 1.16rem;
}

.ad-banner p {
    margin: 8px 0 14px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

.ad-cta {
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 800;
}

.ad-disclosure {
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: 0.7rem;
    line-height: 1.4;
}

.admin-shell {
    display: grid;
    gap: 22px;
}

.admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-metric-card,
.admin-editor-card {
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 252, 246, 0.94);
    box-shadow: var(--shadow-soft);
}

.admin-metric-card {
    padding: 20px;
}

.admin-metric-card span {
    display: block;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-metric-card strong {
    display: block;
    margin-top: 8px;
    color: var(--color-black);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.admin-kpi-groups {
    display: grid;
    gap: 28px;
}

.admin-kpi-group {
    display: grid;
    gap: 12px;
}

.admin-kpi-group-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.admin-kpi-group-heading span {
    color: var(--color-red);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-kpi-group-heading h3 {
    margin: 0;
    color: var(--color-black);
    font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.admin-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.admin-kpi-card {
    min-height: 124px;
    padding: 16px;
    box-shadow: none;
}

.admin-kpi-card strong {
    font-size: clamp(1.45rem, 2.4vw, 2.05rem);
}

.admin-kpi-card small {
    display: block;
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 252, 246, 0.96);
}

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

.admin-table th,
.admin-table td {
    padding: 15px 16px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.09);
    color: var(--color-black);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.admin-table td small {
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 0.8rem;
}

.admin-editor-grid {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.admin-editor-card {
    padding: clamp(20px, 3vw, 30px);
}

.admin-form {
    display: grid;
    gap: 10px;
}

.admin-form label {
    color: var(--color-black);
    font-weight: 900;
}

.legal-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.legal-admin-card h3 {
    margin-top: 0;
}

.legal-admin-card textarea {
    font-family: Consolas, "Courier New", monospace;
    min-height: 260px;
}

.legal-version-list {
    margin-top: 16px;
    color: var(--color-ink);
}

.legal-version-list summary {
    cursor: pointer;
    font-weight: 900;
}

.legal-modal,
.province-modal {
    z-index: 100;
}

.legal-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(14px, 3vw, 34px);
}

.legal-modal[hidden] {
    display: none;
}

.legal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(12px);
}

.legal-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(980px, 100%);
    max-height: min(86vh, 920px);
    overflow: hidden;
    color: var(--color-white);
    border: 1px solid rgba(248, 243, 234, 0.16);
    border-radius: 22px;
    background: rgba(17, 17, 20, 0.98);
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
}

.legal-dialog-header,
.legal-dialog-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px clamp(18px, 3vw, 30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-dialog-actions {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
}

.legal-dialog h2 {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.legal-dialog-header p,
.legal-dialog-content p,
.legal-dialog-content li {
    color: rgba(255, 255, 255, 0.78);
}

.legal-dialog-content {
    overflow-y: auto;
    padding: 24px clamp(18px, 3vw, 34px);
}

.legal-dialog-content h2,
.legal-dialog-content h3,
.legal-dialog-content h4,
.legal-document-body h2,
.legal-document-body h3,
.legal-document-body h4 {
    color: var(--color-red);
}

.legal-dialog-content a,
.legal-document-body a {
    color: var(--color-red);
    font-weight: 800;
}

.legal-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.cookie-consent {
    position: fixed;
    right: clamp(14px, 3vw, 34px);
    bottom: clamp(14px, 3vw, 34px);
    z-index: 90;
    width: min(680px, calc(100vw - 28px));
    color: var(--color-white);
    border: 1px solid rgba(248, 243, 234, 0.16);
    border-radius: 20px;
    background: rgba(17, 17, 20, 0.97);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.cookie-consent[hidden],
.cookie-settings[hidden],
.cookie-consent-summary[hidden] {
    display: none;
}

.cookie-consent-summary,
.cookie-settings {
    padding: 20px;
}

.cookie-consent h2,
.cookie-settings h2 {
    margin: 0 0 8px;
    color: var(--color-white);
    font-size: 1.35rem;
}

.cookie-consent p,
.cookie-consent small {
    color: rgba(255, 255, 255, 0.76);
}

.cookie-consent a {
    color: var(--color-red);
    font-weight: 800;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.cookie-consent-actions .button {
    flex: 1 1 170px;
}

.cookie-settings-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.cookie-category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category input {
    width: 22px;
    height: 22px;
    accent-color: var(--color-red);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
}

.province-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    overflow-y: auto;
}

.province-modal[hidden] {
    display: none;
}

.province-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, 0.76);
    backdrop-filter: blur(9px);
}

.province-dialog {
    position: relative;
    z-index: 1;
    width: calc(100vw - 40px);
    max-width: 570px;
    margin-block: auto;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: var(--color-warm);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.province-dialog h2 {
    max-width: 460px;
    font-size: clamp(2rem, 6vw, 3.5rem);
}

.province-dialog > p:not(.section-kicker) {
    margin: 18px 0 24px;
    color: var(--color-muted);
}

.province-dialog form {
    display: grid;
    gap: 12px;
}

.province-dialog label {
    font-size: 0.82rem;
    font-weight: 800;
}

.province-dialog select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    color: var(--color-ink);
    border: 1px solid rgba(17, 17, 20, 0.2);
    border-radius: var(--radius);
    background: var(--color-white);
    font: inherit;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    color: var(--color-muted);
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-skip {
    display: block;
    margin: 18px auto 0;
}

.site-footer h2,
.site-footer h3 {
    color: var(--color-white);
}

.site-footer h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer-links div {
    display: grid;
    gap: 8px;
}

.footer-links h3 {
    margin-bottom: 8px;
}

@media (max-width: 1480px) {
    .member-panel {
        width: min(calc(100% - 28px), 1420px);
    }

    .member-dashboard-hero {
        grid-template-columns: 1fr;
    }

    .member-dashboard-stats {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }

    .page-shell {
        display: block;
        max-width: 1420px;
    }

    .ad-sidebar {
        display: none;
    }

    .ad-mobile-strip {
        display: block;
        margin: 34px clamp(20px, 4vw, 44px) 0;
        padding: 22px;
        border: 1px solid var(--color-line);
        border-radius: var(--radius);
        background: #fffaf2;
    }

    .ad-mobile-strip .ad-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ad-banner,
    .ad-banner-premium {
        min-height: 210px;
    }
}

/* Admin Sidebar Styles */
.admin-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: calc(100vh - 110px);
    position: relative;
}

.admin-sidebar-toggle {
    display: none;
    position: fixed;
    top: 70px;
    left: 20px;
    z-index: 15;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 18px;
}

.admin-sidebar {
    background: var(--color-white);
    border-right: 1px solid var(--color-line);
    padding: 34px 0;
    overflow-y: auto;
    max-height: calc(100vh - 110px);
    position: sticky;
    top: 110px;
}

.admin-sidebar-header {
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--color-line);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-sidebar-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.admin-sidebar-close {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 12px;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--color-ink);
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 500;
}

.admin-sidebar-link:hover {
    background: rgba(201, 79, 92, 0.08);
    border-color: var(--color-red);
}

.admin-sidebar-link.is-active {
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.12), rgba(95, 143, 184, 0.12));
    color: var(--color-red);
    border-color: var(--color-red);
}

.admin-main-content {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1080px) {
    .admin-container {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        left: 0;
        top: 110px;
        width: 280px;
        height: calc(100vh - 110px);
        z-index: 14;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .admin-sidebar.is-open {
        transform: translateX(0);
        box-shadow: var(--shadow-soft);
    }

    .admin-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .admin-sidebar-close {
        display: block;
    }

    .admin-main-content {
        margin-left: 0;
    }

    .admin-main-content.sidebar-open {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .site-header {
        align-items: center;
    }

    .main-nav {
        justify-content: flex-start;
    }

	    .hero-inner,
	    .split-section,
	    .directory-section,
	    .auth-section,
	    .auth-section-register,
	    .member-panel,
	    .member-dashboard-hero,
	    .member-card-layout,
	    .banner-dashboard-grid,
	    .site-footer {
	        grid-template-columns: 1fr;
	    }

	    .member-sidebar {
	        position: static;
	    }

	    .member-dashboard-stats {
	        grid-template-columns: repeat(3, minmax(140px, 1fr));
	    }

    .hero-inner {
        gap: 44px;
    }

    .landing-hero-inner {
        grid-template-columns: 1fr;
    }

    .landing-hero-copy {
        text-align: center;
    }

    .landing-title {
        grid-auto-flow: row;
        justify-items: center;
        white-space: normal;
        line-height: 0.98;
    }

    .landing-title-red,
    .landing-title-white {
        transform: translateY(48px);
    }

    .landing-title.is-visible .landing-title-red,
    .landing-title.is-visible .landing-title-white {
        transform: translateY(0);
    }

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

    .story-slide,
    .story-slide-image-right {
        grid-template-columns: 1fr;
    }

    .story-slide-image-right .story-slide-media,
    .story-slide-image-right .story-slide-copy {
        order: initial;
    }

    .story-slide-media {
        min-height: 250px;
    }

    .story-slider-track {
        min-height: 660px;
    }

    .landing-spotlight-card {
        grid-template-columns: 1fr;
    }

    .landing-spotlight-image {
        min-height: 250px;
    }

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

    .hero-lead {
        max-width: 860px;
        white-space: normal;
    }

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

    .editorial-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .editorial-story.editorial-story-main {
        grid-row: auto;
        min-height: 430px;
    }

    .editorial-story {
        min-height: 280px;
    }

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

    .three-columns,
    .feature-grid,
    .four-columns,
    .duo-grid,
    .admin-metric-grid,
    .admin-editor-grid,
    .member-summary-grid,
    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    :root {
        --section-radius: 18px;
        --section-gap: 14px;
    }

    .site-header,
    .hero-actions,
    .section-heading,
    .cta-section {
        align-items: stretch;
    }

    .hero-actions,
    .section-heading,
    .cta-section {
        flex-direction: column;
    }

    .section-enter-link {
        width: max-content;
        max-width: 100%;
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr) auto auto;
        padding-top: 10px;
    }

    .brand {
        font-size: 0.9rem;
    }

    .header-actions {
        flex-direction: row;
        align-items: center;
    }

    .header-actions .link-access,
    .header-actions .button {
        display: none;
    }

    .main-nav {
        gap: 12px;
        font-size: 0.88rem;
    }

    .location-trigger {
        max-width: 132px;
        justify-content: center;
    }

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

    .auth-visual-card img {
        position: static;
        min-height: 320px;
    }

    .hero-section::before {
        background-position: 58% bottom;
        background-size: auto 100%;
        opacity: 0.68;
    }

    .page-intro::before {
        background-position: 58% bottom;
        background-size: auto 100%;
        opacity: 0.7;
    }

    .hero-inner {
        min-height: auto;
        gap: 40px;
        padding: 64px 24px 48px;
    }

    .home-hero .hero-inner {
        padding-top: 22px;
        padding-bottom: 18px;
        gap: 20px;
    }

    .home-hero .section-kicker {
        margin-bottom: 8px;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .landing-title {
        display: grid;
        gap: 0.02em;
    }

    .hero-section .story-slider-band {
        padding: 10px 0 0;
    }

    .story-slider-track {
        min-height: 0;
    }

    .story-slide {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }

    .story-slide.is-active {
        display: grid;
    }

    .story-slide-copy {
        gap: 8px;
        align-content: start;
    }

    .story-slide-copy h2 {
        font-size: clamp(1.35rem, 5.8vw, 1.85rem);
        line-height: 1.08;
    }

    .story-slide-copy p {
        font-size: 0.92rem;
    }

    .story-slide-media {
        min-height: 220px;
        border-radius: 12px;
    }

    .hero-content {
        margin-top: 0;
    }

    .landing-focus-actions,
    .landing-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-focus-actions .button,
    .landing-focus-actions .text-button,
    .landing-cta-actions .button {
        width: 100%;
    }

    .landing-points {
        grid-template-columns: 1fr;
    }

    .admin-metric-grid,
    .admin-editor-grid {
        grid-template-columns: 1fr;
    }

    .story-slider-track {
        min-height: 0;
    }

    .story-slider-controls {
        gap: 8px;
        margin-top: 10px;
    }

    .story-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .story-slide-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
        gap: 14px;
        width: 100%;
        margin-top: 14px;
    }

    .story-chip {
        min-width: 0;
        font-size: 0.64rem;
        letter-spacing: 0.04em;
    }

    .story-chip-icon {
        width: 50px;
        height: 50px;
    }

    .landing-spotlight-image {
        min-height: 210px;
    }

    .landing-profiles-grid {
        grid-template-columns: 1fr;
    }

    .community-cards {
        grid-template-columns: 1fr;
    }

    .editorial-story-main,
    .editorial-story {
        min-height: 320px;
    }

    .editorial-story-content {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .timeline-cards {
        grid-template-columns: 1fr;
    }

    .three-columns,
    .feature-grid,
    .four-columns,
    .duo-grid,
    .member-summary-grid,
    .member-dashboard-stats,
    .form-grid-two,
    .form-grid-three,
    .website-gallery-grid,
    .website-contact-options,
    .artist-web-hero-inner,
    .artist-web-gallery-grid,
    .public-url-control,
    .cv-repeat-row,
    .banner-date-grid,
    .footer-links,
    .ad-slots {
        grid-template-columns: 1fr;
    }

    .member-dashboard-identity {
        grid-template-columns: 1fr;
    }

    .member-profile-preview {
        grid-template-columns: 1fr;
    }

    .public-url-save {
        width: 100%;
    }

        .cv-repeat-row-with-media .cv-entry-image-field,
        .cv-repeat-row-with-media .cv-entry-controls,
        .cv-repeat-row-with-media .cv-row-help,
        .cv-repeat-row-with-media .cv-entry-title-field,
        .cv-repeat-row-with-media .cv-entry-category-field,
        .cv-repeat-row-with-media .cv-entry-description-field {
            grid-column: 1 / -1;
            grid-row: auto;
        }

    .profile-name {
        display: none;
    }

    .profile-dropdown {
        right: -12px;
    }

    .member-card-overlay {
        top: 28%;
        max-width: 68%;
    }

    .member-card-preview-woman .member-card-overlay {
        left: 16px;
    }

    .member-card-preview-man .member-card-overlay {
        right: 16px;
    }

    .ad-mobile-strip .ad-slots {
        grid-template-columns: 1fr;
    }

    .ad-banner,
    .ad-banner-premium {
        min-height: 180px;
    }

    .ad-mobile-strip {
        margin-inline: 20px;
        padding: 18px;
    }

    .province-modal {
        padding: 12px;
    }

    .province-dialog {
        width: calc(100vw - 24px);
        padding: 28px;
    }

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

    .event-card p {
        grid-column: auto;
        margin-top: 0;
    }

    .artist-landing {
        width: min(calc(100% - 16px), 1160px);
        gap: 12px;
    }

    .artist-hero .container,
    .artist-bio .container,
    .artist-contact .container {
        padding: 18px;
    }

    .artist-hero img {
        width: min(190px, 54vw);
    }
}

/* Member panel final polish */
.member-panel {
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: clamp(26px, 3vw, 46px);
    width: min(calc(100% - 44px), 1760px);
}

.member-sidebar {
    top: 96px;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    background:
        linear-gradient(155deg, rgba(16, 17, 21, 0.98), rgba(46, 23, 25, 0.96)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.12), rgba(201, 164, 90, 0.06));
    box-shadow: 0 30px 80px rgba(5, 9, 12, 0.32);
}

.member-sidebar-card {
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.075);
}

.member-sidebar-nav {
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.member-sidebar-nav a {
    min-height: 54px;
    padding: 14px 16px 14px 26px;
    border-radius: 14px;
    font-size: 0.98rem;
}

.member-sidebar-progress,
.member-sidebar-print {
    border-radius: 18px;
}

/* === Redes sociales en topbar del artista === */
.artist-web-social-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-shrink: 0;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.artist-web-social-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: rgba(255, 250, 242, 0.95);
    border: none;
    border-radius: 10px;
    transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0;
}

/* Colores específicos por red social */
.artist-web-social-icon[data-social-network="instagram"] {
    background: linear-gradient(135deg, #E1306C, #C13584);
}

.artist-web-social-icon[data-social-network="instagram"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.35);
}

.artist-web-social-icon[data-social-network="facebook"] {
    background: #1877F2;
}

.artist-web-social-icon[data-social-network="facebook"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35);
}

.artist-web-social-icon[data-social-network="youtube"] {
    background: #FF0000;
}

.artist-web-social-icon[data-social-network="youtube"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
}

.artist-web-social-icon[data-social-network="tiktok"] {
    background: linear-gradient(135deg, #25F4EE, #000000);
}

.artist-web-social-icon[data-social-network="tiktok"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 244, 238, 0.35);
}

.artist-web-social-icon[data-social-network="spotify"] {
    background: #1DB954;
}

.artist-web-social-icon[data-social-network="spotify"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(29, 185, 84, 0.35);
}

.artist-web-social-icon[data-social-network="twitter"] {
    background: #000000;
}

.artist-web-social-icon[data-social-network="twitter"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.artist-web-social-icon svg {
    width: 22px;
    height: 22px;
}

/* === Sección Eventos del artista === */
.artist-web-events {
    background: #0d1014;
    color: var(--color-white);
    padding: clamp(42px, 5vw, 70px) 0;
}

.artist-web-events .container {
    width: min(calc(100% - 32px), 1180px);
}

.artist-web-videos {
    color: var(--color-white);
    background: #0d1014;
}

.artist-web-news {
    background: #0d1014;
}

.artist-web-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
    justify-content: start;
    gap: 18px;
    margin-top: 24px;
}

.artist-web-event-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
        rgba(5, 5, 6, 0.72);
    border: 1px solid rgba(255, 250, 242, 0.14);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.artist-web-event-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.artist-web-event-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.artist-web-event-meta {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff8a96;
    margin: 0;
}

.artist-web-event-info h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.25;
}

.artist-web-event-info p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 250, 242, 0.78);
    line-height: 1.55;
}

.artist-web-event-link {
    display: inline-block;
    margin-top: auto;
    padding: 10px 16px;
    color: var(--color-white);
    background: rgba(201, 79, 92, 0.88);
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 800;
    align-self: flex-start;
    transition: background 0.18s;
}

.artist-web-event-link:hover {
    background: rgba(201, 79, 92, 1);
}

.artist-web-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.artist-web-video-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.artist-web-video-card iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #050506;
}

.artist-web-video-link {
    display: grid;
    place-items: center;
    min-height: 190px;
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.78), rgba(95, 143, 184, 0.52));
    font-weight: 900;
}

.artist-web-news .artist-web-event-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
        rgba(5, 5, 6, 0.72);
    border-color: rgba(255, 250, 242, 0.13);
}

.artist-web-news .artist-web-event-info h3 {
    color: var(--color-white);
}

.artist-web-news .artist-web-event-info p {
    color: rgba(255, 250, 242, 0.76);
}

.artist-public-body .artist-web-page,
.artist-public-body .artist-web-section,
.artist-public-body .artist-web-gallery,
.artist-public-body .artist-web-videos,
.artist-public-body .artist-web-events,
.artist-public-body .artist-web-news,
.artist-public-body .artist-web-contact {
    background: #0d1014;
}

body.artist-public-body,
body.artist-public-body main.artist-web-page,
body.artist-public-body .artist-web-section,
body.artist-public-body #galeria,
body.artist-public-body #videos,
body.artist-public-body #eventos,
body.artist-public-body #actualidad,
body.artist-public-body #contacto {
    background: #0d1014;
}

body.artist-public-body .artist-web-gallery-grid,
body.artist-public-body .artist-web-events-grid,
body.artist-public-body .artist-web-video-grid,
body.artist-public-body .artist-web-contact-grid {
    background: transparent;
}

/* Topbar con redes sociales: ajustar grid para 3 columnas */
.artist-web-topbar-inner:has(.artist-web-social-links) {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

/* === EVENTOS EN PANEL DE USUARIO === */
#web-eventos {
    padding: 0;
    border: none;
    background: transparent;
}

#web-eventos .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.09), rgba(201, 164, 90, 0.08));
    border-bottom: 1px solid rgba(201, 79, 92, 0.2);
}

#web-eventos .card-header h3 {
    margin: 0 0 6px 0;
}

#web-eventos .card-header p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.68);
}

.event-counter {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: rgba(201, 79, 92, 0.1);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(201, 79, 92, 0.9);
}

.event-counter .event-count {
    font-size: 1.2rem;
}

.event-list-container {
    padding: 20px 0;
}

.event-row-card {
    margin: 0 0 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.04), rgba(201, 164, 90, 0.05));
    border: 1.5px solid rgba(201, 79, 92, 0.15);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.22s;
}

.event-row-card:hover {
    border-color: rgba(201, 79, 92, 0.3);
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.08), rgba(201, 164, 90, 0.09));
}

.event-row-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.event-row-title-group {
    flex: 1;
}

.event-row-title-group .event-field-label {
    margin-bottom: 0;
}

.button-remove-event {
    width: 32px;
    height: 32px;
    padding: 0;
    background: rgba(201, 79, 92, 0.12);
    border: 1px solid rgba(201, 79, 92, 0.2);
    border-radius: 8px;
    color: rgba(201, 79, 92, 0.8);
    cursor: pointer;
    transition: all 0.18s;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 24px;
}

.button-remove-event:hover {
    background: rgba(201, 79, 92, 0.2);
    border-color: rgba(201, 79, 92, 0.4);
    color: rgba(201, 79, 92, 1);
}

.button-remove-event svg {
    width: 18px;
    height: 18px;
}

.event-row-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 20px;
}

.event-image-section {
    display: flex;
    flex-direction: column;
}

.event-image-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    flex: 1;
}

.event-image-preview-container {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(201, 164, 90, 0.1), rgba(201, 79, 92, 0.04));
    border: 2px dashed rgba(201, 79, 92, 0.3);
    border-radius: 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: all 0.22s;
}

.event-image-upload:hover .event-image-preview-container {
    background: linear-gradient(135deg, rgba(201, 164, 90, 0.16), rgba(201, 79, 92, 0.08));
    border-color: rgba(201, 79, 92, 0.5);
}

.event-image-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(201, 79, 92, 0.6);
    font-size: 0.9rem;
    text-align: center;
    padding: 16px;
}

.event-image-placeholder svg {
    width: 32px;
    height: 32px;
    opacity: 0.8;
}

.image-help {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.52);
    text-align: center;
}

.event-fields-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.event-date-time-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.event-field-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.82);
}

.event-field-label .required {
    color: rgba(201, 79, 92, 0.8);
    font-size: 0.95rem;
}

.event-field-label input,
.event-field-label textarea {
    padding: 10px 14px;
    border: 1.5px solid rgba(201, 79, 92, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.18s;
}

.event-field-label input:focus,
.event-field-label textarea:focus {
    outline: none;
    border-color: rgba(201, 79, 92, 0.5);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(201, 79, 92, 0.08);
}

.event-field-label textarea {
    resize: vertical;
    min-height: 72px;
}

.char-count,
.field-hint {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.52);
}

.event-actions {
    padding: 20px 28px;
    background: rgba(201, 79, 92, 0.05);
    border-top: 1px solid rgba(201, 79, 92, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.event-actions button {
    margin: 0;
}

.events-info {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.68);
}

.events-info svg {
    width: 18px;
    height: 18px;
    color: rgba(201, 164, 90, 0.9);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .event-row-content {
        grid-template-columns: 1fr;
    }

    .website-news-editor-grid {
        grid-template-columns: 1fr;
    }
    
    .event-date-time-group {
        grid-template-columns: 1fr;
    }
    
    .event-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .event-actions button {
        width: 100%;
    }
}

/* === REDES SOCIALES EN PANEL DE USUARIO === */
#web-redes-sociales {
    padding: 0;
    border: none;
    background: transparent;
}

#web-redes-sociales .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.09), rgba(201, 164, 90, 0.08));
    border-bottom: 1px solid rgba(201, 79, 92, 0.2);
}

#web-redes-sociales .card-header h3 {
    margin: 0 0 6px 0;
}

#web-redes-sociales .card-header p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.68);
}

.social-networks-grid {
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.social-network-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(201, 164, 90, 0.18), rgba(201, 79, 92, 0.14));
    border: 2px solid rgba(201, 79, 92, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.social-network-field:hover {
    transform: translateX(4px);
    border-color: rgba(201, 79, 92, 0.6);
    background: linear-gradient(135deg, rgba(201, 164, 90, 0.28), rgba(201, 79, 92, 0.24));
}

/* Colores específicos para cada red social */
.social-network-field[data-network="instagram"] {
    border-color: rgba(225, 48, 108, 0.5);
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.12), rgba(225, 48, 108, 0.06));
}

.social-network-field[data-network="instagram"]:hover {
    border-color: rgba(225, 48, 108, 0.8);
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.22), rgba(225, 48, 108, 0.14));
}

.social-network-field[data-network="facebook"] {
    border-color: rgba(24, 119, 242, 0.5);
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.12), rgba(24, 119, 242, 0.06));
}

.social-network-field[data-network="facebook"]:hover {
    border-color: rgba(24, 119, 242, 0.8);
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.22), rgba(24, 119, 242, 0.14));
}

.social-network-field[data-network="youtube"] {
    border-color: rgba(255, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.12), rgba(255, 0, 0, 0.06));
}

.social-network-field[data-network="youtube"]:hover {
    border-color: rgba(255, 0, 0, 0.8);
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.22), rgba(255, 0, 0, 0.14));
}

.social-network-field[data-network="tiktok"] {
    border-color: rgba(37, 244, 238, 0.5);
    background: linear-gradient(135deg, rgba(37, 244, 238, 0.12), rgba(0, 0, 0, 0.08));
}

.social-network-field[data-network="tiktok"]:hover {
    border-color: rgba(37, 244, 238, 0.8);
    background: linear-gradient(135deg, rgba(37, 244, 238, 0.22), rgba(0, 0, 0, 0.16));
}

.social-network-field[data-network="spotify"] {
    border-color: rgba(29, 185, 84, 0.5);
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.12), rgba(29, 185, 84, 0.06));
}

.social-network-field[data-network="spotify"]:hover {
    border-color: rgba(29, 185, 84, 0.8);
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.22), rgba(29, 185, 84, 0.14));
}

.social-network-field[data-network="twitter"] {
    border-color: rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.06));
}

.social-network-field[data-network="twitter"]:hover {
    border-color: rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.14));
}

.social-network-icon-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.social-network-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(201, 79, 92, 0.9);
}

.social-network-icon svg {
    width: 100%;
    height: 100%;
}

/* Colores de iconos por red social */
.social-network-field[data-network="instagram"] .social-network-icon {
    color: #E1306C;
}

.social-network-field[data-network="facebook"] .social-network-icon {
    color: #1877F2;
}

.social-network-field[data-network="youtube"] .social-network-icon {
    color: #FF0000;
}

.social-network-field[data-network="tiktok"] .social-network-icon {
    color: #25F4EE;
}

.social-network-field[data-network="spotify"] .social-network-icon {
    color: #1DB954;
}

.social-network-field[data-network="twitter"] .social-network-icon {
    color: #000000;
}

.social-network-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.88);
    text-transform: capitalize;
}

.social-network-input {
    padding: 9px 12px;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.16s;
    font-family: inherit;
}

.social-network-input:focus {
    outline: none;
    border-color: rgba(95, 143, 184, 0.5);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(95, 143, 184, 0.08);
}

.social-networks-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    margin: 0;
    background: rgba(201, 164, 90, 0.06);
    border-top: 1px solid rgba(201, 164, 90, 0.16);
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.68);
}

.social-networks-info svg {
    width: 18px;
    height: 18px;
    color: rgba(201, 164, 90, 0.9);
    flex-shrink: 0;
}

.member-sidebar-print {
    min-height: 54px;
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.38), rgba(157, 65, 75, 0.52));
}

.member-panel-content {
    display: grid;
    gap: 22px;
}

.member-editor-toolbar {
    position: sticky;
    top: 84px;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    color: #fffaf2;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(17, 17, 20, 0.96), rgba(24, 45, 56, 0.96)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.16), rgba(201, 164, 90, 0.08));
    box-shadow: 0 22px 58px rgba(5, 9, 12, 0.22);
    backdrop-filter: blur(16px);
}

.member-editor-toolbar div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.member-editor-toolbar span {
    color: #ff8a96;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.member-editor-toolbar strong {
    color: #fffaf2;
    font-size: clamp(1rem, 1.6vw, 1.28rem);
    line-height: 1.2;
}

.member-profile-form {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.profile-core-fieldset,
.profile-data-fieldset,
.cv-repeat-section,
.member-profile-form > .cv-fieldset {
    border-radius: 24px;
    border-color: rgba(201, 79, 92, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 231, 0.96)),
        linear-gradient(90deg, rgba(201, 164, 90, 0.07), transparent 44%);
    box-shadow: 0 22px 54px rgba(13, 17, 20, 0.11);
}

.profile-core-fieldset legend,
.profile-data-fieldset legend {
    margin-bottom: 8px;
    padding-left: 14px;
    border-left: 4px solid #c94f5c;
    font-size: clamp(2rem, 3.3vw, 3.15rem);
}

.profile-core-fieldset > label,
.profile-core-fieldset .form-grid-two > label,
.profile-data-fieldset .form-grid-two > label,
.profile-data-fieldset .form-grid-three > label,
.public-url-control label {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
}

.profile-core-fieldset input,
.profile-core-fieldset select,
.profile-data-fieldset input,
.profile-data-fieldset select,
.profile-data-fieldset textarea {
    min-height: 50px;
    border-radius: 12px;
}

.cv-repeat-section {
    overflow: hidden;
}

.cv-section-heading {
    margin: calc(clamp(18px, 2.2vw, 28px) * -1) calc(clamp(18px, 2.2vw, 28px) * -1) 18px;
    padding: clamp(18px, 2.2vw, 28px);
    background:
        linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(238, 232, 222, 0.95)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.08), transparent 50%);
}

.cv-repeat-row-with-media {
    grid-template-columns: minmax(250px, 330px) repeat(3, minmax(0, 1fr));
    border-radius: 18px;
    border-color: rgba(201, 79, 92, 0.16);
    background: rgba(255, 255, 255, 0.9);
}

.cv-entry-image-box {
    min-height: 290px;
    border-radius: 16px;
}

.cv-entry-image-preview {
    min-height: 290px;
}

.cv-entry-image-field small {
    color: #746f73;
    font-size: 0.78rem;
    font-weight: 700;
}

.member-form-savebar-pending {
    border-color: rgba(255, 191, 105, 0.48);
    box-shadow: 0 26px 64px rgba(201, 79, 92, 0.2);
}

/* Member identity editor composition */
.profile-core-fieldset,
.profile-data-fieldset {
    padding: 0 !important;
    overflow: hidden;
}

.profile-core-fieldset > legend,
.profile-data-fieldset > legend {
    display: grid;
    gap: 7px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: clamp(24px, 3vw, 34px);
    color: #fffaf2;
    border: 0;
    background:
        linear-gradient(135deg, rgba(17, 17, 20, 0.98), rgba(46, 23, 25, 0.96)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.16), rgba(201, 164, 90, 0.08));
}

.profile-core-fieldset > legend span,
.profile-data-fieldset > legend span {
    color: #ff8a96;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-core-fieldset > legend strong,
.profile-data-fieldset > legend strong {
    color: #fffaf2;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.4vw, 3.45rem);
    line-height: 0.96;
}

.profile-core-fieldset > legend em,
.profile-data-fieldset > legend em {
    max-width: 760px;
    color: rgba(255, 250, 242, 0.66);
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.98rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
}

.profile-core-fieldset > .form-grid-two,
.profile-core-fieldset > label,
.profile-core-fieldset > .public-url-control,
.profile-data-fieldset > .form-grid-two,
.profile-data-fieldset > .form-grid-three,
.profile-data-fieldset > .main-photo-field,
.profile-data-fieldset > .field-help,
.profile-data-fieldset > .cv-header-background-field,
.profile-data-fieldset > .visibility-toggle {
    margin-inline: clamp(22px, 3vw, 34px);
}

.profile-core-fieldset > .form-grid-two:first-of-type,
.profile-data-fieldset > .form-grid-three:first-of-type {
    margin-top: clamp(22px, 2.8vw, 32px);
}

.profile-core-fieldset > label,
.profile-core-fieldset > .form-grid-two,
.profile-data-fieldset > .form-grid-two,
.profile-data-fieldset > .form-grid-three,
.profile-data-fieldset > .main-photo-field,
.profile-data-fieldset > .cv-header-background-field,
.profile-data-fieldset > .visibility-toggle {
    margin-top: 16px;
}

.profile-core-fieldset > .public-url-control,
.profile-data-fieldset > .visibility-toggle {
    margin-bottom: clamp(22px, 3vw, 34px);
}

.profile-core-fieldset > label,
.profile-core-fieldset .form-grid-two > label,
.profile-data-fieldset .form-grid-two > label,
.profile-data-fieldset .form-grid-three > label,
.public-url-control label {
    padding: 0;
    color: #3a3437;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profile-core-fieldset input,
.profile-core-fieldset select,
.profile-data-fieldset input,
.profile-data-fieldset select,
.profile-data-fieldset textarea {
    min-height: 54px;
    padding: 13px 15px;
    color: #161417;
    border: 1px solid rgba(17, 17, 20, 0.13);
    border-radius: 14px;
    background: rgba(255, 252, 247, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(13, 17, 20, 0.045);
    font-size: 0.96rem;
    font-weight: 800;
    text-transform: none;
}

.profile-core-fieldset input:focus,
.profile-core-fieldset select:focus,
.profile-data-fieldset input:focus,
.profile-data-fieldset select:focus,
.profile-data-fieldset textarea:focus {
    outline: none;
    border-color: rgba(201, 79, 92, 0.55);
    box-shadow:
        0 0 0 4px rgba(201, 79, 92, 0.1),
        0 14px 30px rgba(13, 17, 20, 0.06);
}

.public-url-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px 14px;
    padding: 16px;
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 250, 242, 0.48)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.06), transparent 50%);
}

.public-url-control label {
    min-width: 0;
}

.public-url-save {
    min-height: 54px;
    padding-inline: 22px;
    border-radius: 14px;
}

.public-url-preview {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    color: #746f73;
    font-size: 0.86rem;
}

.public-url-preview a {
    color: #9d414b;
    font-weight: 800;
}

.main-photo-field {
    padding: 16px;
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.52);
}

.profile-data-fieldset > .field-help {
    color: #746f73;
    line-height: 1.55;
}

/* Member premium profile composition */
.member-editor-toolbar {
    display: none;
}

.member-sidebar {
    width: 100%;
    max-width: 340px;
    justify-self: end;
}

.member-sidebar-card {
    min-height: 168px;
    align-content: end;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.12), rgba(201, 164, 90, 0.05));
}

.member-sidebar-card .profile-avatar-large {
    width: 78px;
    height: 78px;
    border: 1px solid rgba(255, 250, 242, 0.22);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.profile-avatar .profile-avatar-initial {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
}

.member-sidebar-progress {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.18), rgba(201, 164, 90, 0.08));
}

.member-sidebar-nav {
    gap: 6px;
}

.member-sidebar-nav a {
    color: rgba(255, 250, 242, 0.74);
}

.member-sidebar-nav a.active {
    background: rgba(255, 250, 242, 0.1);
}

.profile-core-fieldset {
    border: 1px solid rgba(255, 250, 242, 0.08);
    background: rgba(255, 250, 242, 0.96);
}

.profile-core-fieldset > legend {
    position: relative;
    min-height: 150px;
    align-content: end;
    padding: clamp(26px, 3.5vw, 46px);
    background:
        linear-gradient(135deg, rgba(17, 17, 20, 0.98), rgba(46, 23, 25, 0.98)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.2), rgba(201, 164, 90, 0.08));
}

.profile-core-fieldset > legend::after {
    content: "";
    width: 86px;
    height: 3px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #c94f5c, #c9a45a);
}

.profile-identity-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 3vw, 36px);
    padding: clamp(24px, 3.3vw, 42px);
}

.profile-identity-fields {
    display: grid;
    gap: 18px;
    align-content: start;
}

.profile-identity-fields .form-grid-two {
    gap: 18px;
}

.profile-identity-fields > label,
.profile-identity-fields .form-grid-two > label {
    display: grid;
    gap: 8px;
    color: #4b4448;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.profile-identity-fields input,
.profile-identity-fields select {
    min-height: 56px;
    border-radius: 16px;
    background: #fffdfa;
}

.profile-identity-fields input[readonly] {
    color: #61585d;
    background: rgba(255, 250, 242, 0.66);
    cursor: not-allowed;
}

.profile-identity-fields .field-help {
    color: #746f73;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
}

.profile-identity-fields .public-url-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    margin: 0;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 242, 0.56)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.07), rgba(201, 164, 90, 0.04));
}

.public-url-cta {
    display: grid;
    grid-column: 1 / -1;
    gap: 4px;
    min-width: 0;
    padding: 16px 18px;
    color: #fffaf2;
    text-decoration: none;
    border: 1px solid rgba(201, 79, 92, 0.34);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(201, 79, 92, 0.96), rgba(123, 53, 66, 0.96)),
        linear-gradient(90deg, rgba(255, 250, 242, 0.12), rgba(201, 164, 90, 0.08));
    box-shadow: 0 18px 38px rgba(201, 79, 92, 0.2);
}

.public-url-cta span {
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.public-url-cta strong {
    min-width: 0;
    overflow: hidden;
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-url-cta:hover,
.public-url-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 46px rgba(201, 79, 92, 0.26);
}

.member-web-public-url {
    margin: 0 0 22px;
}

.profile-public-preview {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 16px;
    color: #fffaf2;
    border: 1px solid rgba(255, 250, 242, 0.13);
    border-radius: 24px;
    background:
        linear-gradient(160deg, rgba(17, 17, 20, 0.98), rgba(20, 39, 49, 0.98)),
        linear-gradient(90deg, rgba(201, 79, 92, 0.18), rgba(201, 164, 90, 0.07));
    box-shadow: 0 24px 54px rgba(13, 17, 20, 0.2);
}

.profile-public-preview-kicker {
    color: #ff8a96;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-public-preview-card {
    display: grid;
    gap: 7px;
    min-height: 250px;
    align-content: end;
    padding: 18px;
    border: 1px solid rgba(255, 250, 242, 0.1);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        linear-gradient(135deg, rgba(201, 79, 92, 0.12), rgba(95, 143, 184, 0.06));
}

.profile-public-preview-avatar {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    margin-bottom: 10px;
    overflow: hidden;
    color: #fffaf2;
    border: 1px solid rgba(255, 250, 242, 0.2);
    border-radius: 18px;
    background: linear-gradient(135deg, #c94f5c, #5f8fb8);
    font-size: 1.8rem;
    font-weight: 900;
}

.profile-public-preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-public-preview-card small {
    color: #c9a45a;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-public-preview-card strong {
    color: #fffaf2;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.96;
}

.profile-public-preview-card em {
    color: rgba(255, 250, 242, 0.78);
    font-style: normal;
    font-weight: 800;
}

.profile-public-preview-card p {
    margin: 0;
    color: rgba(255, 250, 242, 0.62);
}

.profile-public-preview > a {
    min-width: 0;
    overflow: hidden;
    color: #ffd8dd;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-preview-save {
    width: 100%;
    min-height: 52px;
}

.profile-data-fieldset > legend {
    min-height: 130px;
    align-content: end;
}

@media (max-width: 1180px) {
    .member-panel {
        grid-template-columns: 1fr;
        width: min(calc(100% - 28px), 980px);
    }

    .member-sidebar {
        position: static;
    }

    .member-sidebar-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-editor-toolbar {
        top: 72px;
    }

    .member-sidebar {
        max-width: none;
        justify-self: stretch;
    }

    .profile-identity-layout {
        grid-template-columns: 1fr;
    }

    .profile-public-preview {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .profile-public-preview-card {
        min-height: 220px;
    }
}

@media (max-width: 700px) {
    .member-panel {
        width: min(calc(100% - 18px), 100%);
        gap: 16px;
    }

    .member-sidebar {
        padding: 14px;
        border-radius: 18px;
    }

    .member-sidebar-nav {
        grid-template-columns: 1fr;
    }

    .member-editor-toolbar,
    .member-form-savebar {
        position: static;
        flex-direction: column;
        align-items: stretch;
    }

    .member-editor-toolbar .member-save-button,
    .member-form-savebar .member-save-button {
        width: 100%;
    }

    .profile-core-fieldset,
    .profile-data-fieldset,
    .cv-repeat-section,
    .member-profile-form > .cv-fieldset {
        padding: 18px;
        border-radius: 18px;
    }

    .profile-core-fieldset legend,
    .profile-data-fieldset legend {
        font-size: clamp(1.75rem, 9vw, 2.35rem);
    }

    .profile-core-fieldset > legend,
    .profile-data-fieldset > legend {
        padding: 22px;
    }

    .profile-core-fieldset > .form-grid-two,
    .profile-core-fieldset > label,
    .profile-core-fieldset > .public-url-control,
    .profile-data-fieldset > .form-grid-two,
    .profile-data-fieldset > .form-grid-three,
    .profile-data-fieldset > .main-photo-field,
    .profile-data-fieldset > .field-help,
    .profile-data-fieldset > .cv-header-background-field,
    .profile-data-fieldset > .visibility-toggle {
        margin-inline: 18px;
    }

    .public-url-control {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .website-slide-editor {
        grid-template-columns: 1fr;
    }

    .website-slide-preview {
        min-height: 160px;
    }

    .profile-identity-layout {
        padding: 18px;
    }

    .profile-public-preview {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .profile-public-preview-card {
        min-height: 210px;
    }

    .cv-section-heading {
        margin: -18px -18px 16px;
        padding: 18px;
        border-radius: 0;
    }

    .cv-section-tools {
        width: 100%;
        border-radius: 16px;
    }

    .cv-repeat-row-with-media {
        grid-template-columns: 1fr;
    }

    .cv-entry-image-box,
    .cv-entry-image-preview {
        min-height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-title span,
    .story-slide {
        transition: none;
    }

    .landing-title span,
    .story-slide,
    .story-slide:nth-child(1),
    .story-slide:nth-child(2),
    .story-slide:nth-child(3) {
        transform: none;
    }
}

@media print {
    @page {
        size: A4;
        margin: 0;
    }

    * {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    html,
    body {
        width: 210mm;
        min-height: 297mm;
        margin: 0;
        background: #ffffff;
    }

    body * {
        visibility: hidden !important;
    }

    .site-header,
    .page-intro,
    .member-sidebar,
    .member-dashboard-hero,
    .member-summary-grid,
    .member-profile-preview,
    .member-profile-form,
    #tarjeta-miembro,
    #banners,
    #seguridad,
    .site-footer,
    .province-modal {
        display: none !important;
    }

    .cv-print-document,
    .cv-print-document * {
        visibility: visible !important;
    }

    .member-panel,
    .member-panel-content,
    .member-panel-section,
    .member-profile-editor {
        display: block !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .member-panel-section .section-heading,
    .form-alert {
        display: none;
    }

    .cv-print-document {
        position: absolute;
        top: 0;
        left: 0;
        display: block !important;
        width: 100%;
        min-height: 297mm;
        box-sizing: border-box;
        color: #111114;
        font-family: "Inter", Arial, sans-serif;
        padding: 9mm 11mm 20mm;
        font-size: 10.5px;
    }

    .cv-print-header {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 11px;
        align-items: center;
        padding: 9px 11px;
        color: #ffffff;
        background: linear-gradient(135deg, #111114, #203847);
        background-size: cover;
        background-position: center;
        border-radius: 10px;
    }

    .cv-print-header img {
        width: 78px;
        height: 78px;
        object-fit: cover;
        border-radius: 10px;
        filter: none;
    }

    .cv-print-header span {
        font: 700 11px Arial, sans-serif;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .cv-print-header h1 {
        margin: 2px 0;
        max-width: none;
        color: #ffffff;
        font-family: "Playfair Display", Georgia, serif;
        font-size: 25px;
        line-height: 1.05;
    }

    .cv-print-name {
        margin-top: 4px;
        color: rgba(255, 255, 255, 0.92);
        font-size: 13px;
        font-weight: 800;
    }

    .cv-print-document section {
        margin-top: 6px;
        padding: 4px 0;
        border-bottom: 1px solid #e2ded7;
        break-inside: avoid;
    }

    .cv-print-document h2 {
        margin-bottom: 3px;
        color: #c94f5c;
        font-family: "Playfair Display", Georgia, serif;
        font-size: 15px;
    }

    .cv-print-document p {
        margin: 2px 0;
    }

    .cv-print-document dl {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px 12px;
        margin: 0;
    }

    .cv-print-document dt {
        font-weight: 700;
    }

    .cv-print-document dd {
        margin: 0;
    }

    .cv-print-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .cv-print-list article {
        padding: 4px 0;
        border-bottom: 1px solid #dddddd;
        break-inside: avoid;
    }

    .cv-print-entry {
        display: grid;
        gap: 5px;
    }

    .cv-print-entry-with-image {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 7px 9px;
        align-items: start;
    }

    .cv-print-entry-image {
        width: 58px;
        height: 58px;
        object-fit: cover;
        border-radius: 7px;
        filter: none;
    }

    .cv-print-entry-title {
        margin: 0 0 2px;
        font-weight: 800;
    }

    .cv-print-entry-description {
        max-width: none;
        line-height: 1.42;
    }

    .cv-print-entry-description p,
    .cv-print-entry-description ul,
    .cv-print-entry-description ol,
    .cv-print-entry-description blockquote {
        margin: 0 0 3px;
    }

    .cv-print-entry-description ul,
    .cv-print-entry-description ol {
        padding-left: 14px;
    }

    .cv-print-entry-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px 10px;
        margin-top: 3px;
    }

    .cv-print-entry-dates dd {
        display: flex;
        flex-wrap: wrap;
        gap: 2px 9px;
    }

    .cv-print-footer {
        position: fixed;
        right: 11mm;
        bottom: 7mm;
        left: 11mm;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 16mm;
        padding-top: 4px;
        color: #555555;
        border-top: 2px solid #111114;
        font-size: 10px;
    }

    .cv-print-footer img {
        width: 15mm;
        height: 15mm;
        object-fit: contain;
        filter: none;
    }

    .cv-print-footer strong {
        color: #c94f5c;
    }

    body.member-card-public-body,
    body.member-card-public-body * {
        visibility: visible !important;
    }

    body.member-card-public-body {
        width: 100%;
        min-height: auto;
        background: #ffffff !important;
    }

    body.member-card-public-body .site-header,
    body.member-card-public-body .site-footer,
    body.member-card-public-body .province-modal,
    body.member-card-public-body .member-card-public-heading {
        display: none !important;
    }

    body.member-card-public-body .member-card-public-page {
        display: block !important;
        min-height: auto;
        padding: 12mm 10mm;
        background: #ffffff !important;
    }

    body.member-card-public-body .member-card-public-shell {
        display: block !important;
        width: 100%;
        margin: 0;
        padding: 0;
        background: transparent !important;
        border: 0;
        box-shadow: none;
    }

    body.member-card-public-body .member-card-public-stage {
        width: 100%;
        margin: 0;
    }

    body.member-card-public-body .member-card-preview {
        width: 180mm;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 7mm;
        box-shadow: none;
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
.service-public-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(18px, 2vw, 28px);
}

.service-public-grid-featured {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-public-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: rgba(255, 250, 242, 0.96);
    box-shadow: var(--shadow-soft);
}

.service-public-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.service-public-content {
    display: grid;
    gap: 14px;
    padding: clamp(20px, 2.4vw, 30px);
}

.service-public-content h3,
.public-contact-form h3 {
    margin: 0;
    color: var(--color-black);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.service-public-content p,
.service-public-description,
.professional-contact-info p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.service-public-description h2,
.service-public-description h3 {
    margin: 10px 0 0;
    font-size: 1.08rem;
}

.service-public-description ul,
.service-public-description ol {
    margin: 0;
    padding-left: 20px;
    color: var(--color-muted);
}

.service-public-topline,
.service-public-footer,
.professional-contact-actions,
.professional-social-links,
.admin-actions-cell,
.inline-admin-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.service-public-topline span {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(95, 143, 184, 0.12);
    color: var(--color-blue);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-public-footer {
    justify-content: space-between;
    margin-top: 6px;
}

.service-public-footer strong {
    color: var(--color-red);
    font-size: 1.05rem;
}

.professional-contact-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(232, 240, 244, 0.94) 58%, rgba(244, 222, 214, 0.78)),
        var(--color-warm);
}

.contact-page .page-shell {
    align-items: start;
}

.contact-page-intro {
    padding-bottom: clamp(34px, 5vw, 64px);
}

.contact-page-intro h1 {
    max-width: 820px;
}

.contact-page-intro p {
    max-width: 760px;
}

.contact-page .professional-contact-section {
    border-color: rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(17, 17, 20, 0.18);
}

.contact-page .professional-contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(201, 79, 92, 0.1), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 62%);
}

.professional-contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.professional-contact-info,
.public-contact-form,
.admin-editor-card {
    min-width: 0;
}

.professional-contact-info h2 {
    margin: 0 0 16px;
    color: var(--color-black);
    font-size: clamp(2.35rem, 4.4vw, 4.35rem);
    line-height: 1.08;
}

.contact-page .professional-contact-info {
    padding: clamp(4px, 1vw, 14px) 0;
}

.professional-contact-image,
.admin-image-preview {
    display: block;
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

.professional-contact-image {
    margin: 22px 0;
    max-height: 340px;
}

.admin-image-preview {
    max-width: 220px;
    aspect-ratio: 16 / 10;
    margin-top: 8px;
}

.professional-contact-list,
.contact-detail-list {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 12px 18px;
    margin: clamp(24px, 4vw, 40px) 0 0;
}

.professional-contact-list dt,
.contact-detail-list dt {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.professional-contact-list dd,
.contact-detail-list dd {
    margin: 0;
    color: var(--color-black);
    font-weight: 650;
    overflow-wrap: anywhere;
}

.professional-contact-list a,
.professional-social-links a {
    color: var(--color-red);
    font-weight: 800;
}

.public-contact-form {
    display: grid;
    gap: 16px;
    padding: clamp(26px, 3.4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 70px rgba(17, 17, 20, 0.16);
    backdrop-filter: blur(14px);
}

.public-contact-form label,
.admin-form label {
    min-width: 0;
}

.public-contact-form label {
    display: grid;
    gap: 7px;
    color: #3b3639;
    font-size: 0.82rem;
    font-weight: 850;
}

.public-contact-form .form-grid-two {
    gap: 16px;
}

.public-contact-form input,
.public-contact-form select,
.public-contact-form textarea,
.inline-admin-form input {
    width: 100%;
}

.public-contact-form input:not([type="checkbox"]),
.public-contact-form select,
.public-contact-form textarea {
    min-height: 46px;
    padding: 11px 13px;
    color: var(--color-ink);
    border: 1px solid rgba(17, 17, 20, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
    font: inherit;
    line-height: 1.35;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.public-contact-form textarea {
    min-height: 138px;
    resize: vertical;
}

.public-contact-form input:focus,
.public-contact-form select:focus,
.public-contact-form textarea:focus {
    outline: none;
    border-color: rgba(201, 79, 92, 0.72);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(201, 79, 92, 0.14);
}

.public-contact-form .button {
    min-height: 48px;
    margin-top: 4px;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(201, 79, 92, 0.28);
}

.privacy-check,
.checkbox-grid label,
.visibility-toggle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-check input,
.checkbox-grid input,
.visibility-toggle input {
    width: auto;
    margin-top: 4px;
}

.public-contact-form .privacy-check {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: var(--color-muted);
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 12px;
    background: rgba(248, 243, 234, 0.62);
    font-size: 0.9rem;
    font-weight: 650;
}

.public-contact-form .privacy-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--color-red);
}

.public-contact-form .privacy-check a {
    color: var(--color-red);
    font-weight: 850;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.checkbox-grid legend {
    padding: 0 6px;
    color: var(--color-muted);
    font-weight: 800;
}

.honeypot-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.admin-actions-cell form,
.admin-actions-cell button,
.inline-admin-form {
    margin: 0;
}

.admin-actions-cell button,
.inline-admin-form button {
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-black);
    font-weight: 700;
    cursor: pointer;
}

.admin-actions-cell button {
    padding: 6px 10px;
}

.inline-admin-form input {
    max-width: 76px;
}

.inline-admin-form button {
    padding: 8px 10px;
}

.service-admin-table {
    min-width: 660px;
}

.contact-message-detail {
    margin-bottom: 20px;
}

@media (max-width: 980px) {
    .professional-contact-grid {
        grid-template-columns: 1fr;
    }

    .professional-contact-info h2 {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }
}

@media (max-width: 640px) {
    .service-public-grid,
    .service-public-grid-featured {
        grid-template-columns: 1fr;
    }

    .professional-contact-list,
    .contact-detail-list {
        grid-template-columns: 1fr;
    }

    .service-public-footer,
    .professional-contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .service-public-footer .button,
    .professional-contact-actions .button,
    .public-contact-form .button {
        width: 100%;
    }
}

/* Admin Panel Refresh */
.admin-container {
    background: #f4f6f8;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    min-height: calc(100vh - 110px);
    background: #111114;
    color: var(--color-white);
    padding: 28px 0;
}

.admin-sidebar-header {
    border-bottom-color: rgba(255, 255, 255, 0.09);
}

.admin-sidebar-eyebrow,
.admin-sidebar-group-label {
    display: block;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-sidebar-header h2 {
    margin: 6px 0 0;
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 800;
}

.admin-sidebar-nav {
    gap: 18px;
    padding: 0 14px;
}

.admin-sidebar-nav-modern + .admin-sidebar-nav {
    display: none;
}

.admin-sidebar-group {
    display: grid;
    gap: 6px;
}

.admin-sidebar-group-label {
    padding: 0 10px 4px;
}

.admin-sidebar-link {
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.admin-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--color-white);
}

.admin-sidebar-link.is-active {
    background: linear-gradient(135deg, rgba(201, 79, 92, 0.92), rgba(95, 143, 184, 0.86));
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.admin-sidebar-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.65;
}

.admin-main-content {
    min-width: 0;
    padding: clamp(18px, 2.6vw, 34px);
}

.admin-main-content > .page-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: auto;
    margin: 0 0 24px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.admin-main-content > .page-intro h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-main-content > .page-intro p:not(.section-kicker) {
    margin: 8px 0 0;
    color: var(--color-muted);
}

.admin-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.admin-overview-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-overview-card,
.admin-recent-card,
.admin-placeholder-panel,
.admin-action-panel {
    border: 1px solid rgba(17, 17, 20, 0.08);
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.admin-overview-card {
    display: grid;
    gap: 8px;
    min-height: 142px;
    padding: 18px;
    color: var(--color-black);
    text-decoration: none;
}

.admin-overview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 79, 92, 0.24);
}

.admin-overview-card span,
.admin-overview-card small {
    color: var(--color-muted);
}

.admin-overview-card span {
    font-weight: 800;
}

.admin-overview-card strong {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.admin-recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.admin-recent-card {
    padding: 18px;
}

.admin-recent-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.admin-recent-card h3 {
    margin: 0;
    font-size: 1rem;
}

.admin-recent-card a,
.admin-muted-action {
    color: var(--color-red);
    font-size: 0.86rem;
    font-weight: 800;
}

.admin-recent-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-recent-card li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(17, 17, 20, 0.08);
}

.admin-recent-card strong,
.admin-recent-card small {
    display: block;
}

.admin-recent-card small,
.admin-empty-note {
    color: var(--color-muted);
}

.admin-action-panel {
    padding: 0;
    overflow: hidden;
}

.admin-action-panel summary {
    padding: 16px 18px;
    color: var(--color-black);
    font-weight: 800;
    cursor: pointer;
}

.admin-action-panel[open] summary {
    border-bottom: 1px solid rgba(17, 17, 20, 0.08);
}

.admin-compact-form {
    max-width: 680px;
    padding: 18px;
}

.admin-placeholder-panel {
    display: grid;
    gap: 16px;
    padding: clamp(20px, 3vw, 30px);
}

.admin-placeholder-panel h3 {
    margin: 0;
}

.admin-placeholder-panel p {
    max-width: 76ch;
    margin: 0;
    color: var(--color-muted);
}

.admin-list-panel {
    grid-column: 1 / -1;
    display: grid;
    gap: 18px;
}

.status-pill-danger {
    background: rgba(201, 79, 92, 0.14);
    color: #9f2432;
}

.status-pill-neutral {
    background: rgba(17, 17, 20, 0.08);
    color: #4b4b52;
}

.status-pill-info {
    background: rgba(95, 143, 184, 0.14);
    color: #315f86;
}

#articulos > .admin-editor-card:first-child {
    display: none;
}

.admin-legacy-hidden {
    display: none !important;
}

@media (max-width: 1080px) {
    .admin-sidebar {
        position: fixed;
        min-height: 0;
    }

    .admin-main-content {
        padding: 76px 16px 22px;
    }
}

@media (max-width: 720px) {
    .admin-main-content > .page-intro {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-main-content > .page-intro .button,
    .admin-overview-card {
        width: 100%;
    }

    .admin-overview-grid,
    .admin-recent-grid {
        grid-template-columns: 1fr;
    }
}
