:root {
    --bg: #ffffff;
    --panel: #ffffff;
    --panel-soft: #f4f4f4;
    --text: #555555;
    --muted: #666666;
    --accent: #c02cbc;
    --danger: #c0392b;
    --success: #2e8b57;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.85;
}

a {
    color: var(--accent);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 136px;
    padding: 0 30px;
    background: #fff;
    border-bottom: 1px solid #eeeeee;
}

.site-footer {
    padding: 2rem 30px;
    color: #8a8a8a;
    background: #fff;
    text-align: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 255px;
    max-width: 34vw;
    height: auto;
}

.nav-toggle {
    display: none;
}

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

.site-nav a,
.nav-dropdown-trigger,
.nav-toggle {
    color: #555;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.site-nav > a:first-child,
.nav-dropdown-trigger {
    color: #c02cbc;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger span {
    display: block;
    font-size: 14px;
    line-height: 1;
    transform: translateY(1px);
}

.nav-dropdown-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 16px);
    left: 0;
    display: none;
    min-width: 225px;
    background: #fff;
    border-top: 3px solid #26b8ff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 11px 18px;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    border-bottom: 1px solid #eeeeee;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
    color: #c02cbc;
    background: #fafafa;
}

.page-title-band {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    background: #f5f5f5;
    border-bottom: 1px solid #ececec;
}

.page-title-band h1 {
    margin: 0;
    color: #444;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
}

.page-wrap {
    width: 100%;
    margin: 0 auto;
}

.content-card,
.login-panel {
    background: var(--panel);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 28px 30px;
    margin: 0 auto 1.5rem;
    max-width: 1180px;
}

.public-shell .content-card > h1 {
    display: none;
}

.public-shell .content-card p {
    margin: 0 0 1.15rem;
}

.lede {
    color: var(--muted);
    font-size: 1.2rem;
}

.page-section {
    padding-block: 1rem;
}

/* Compatibility for imported Elementor page bodies from the current site. */
.public-shell .elementor-section {
    margin: 0 auto;
}

.public-shell .elementor-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.public-shell .elementor-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 -8px;
}

.public-shell .elementor-column {
    min-width: 0;
    padding: 0 8px;
}

.public-shell .elementor-col-100 {
    flex: 0 0 100%;
    max-width: 100%;
}

.public-shell .elementor-col-50 {
    flex: 0 0 50%;
    max-width: 50%;
}

.public-shell .elementor-col-33 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

.public-shell .elementor-widget-image {
    margin: 0 0 30px;
}

.public-shell .elementor-image,
.public-shell .elementor-widget-image a {
    display: block;
}

.public-shell .elementor-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.public-shell .elementor-text-editor {
    margin-bottom: 22px;
}

.public-shell .elementor-divider-separator {
    display: block;
    width: 100%;
    border-top: 1px solid #222222;
    margin: 18px 0 30px;
}

.public-shell .elementor-widget-video,
.public-shell .elementor-widget-shortcode {
    margin: 0 0 30px;
}

.public-shell .elementor-fit-aspect-ratio {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.public-shell .elementor-fit-aspect-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.public-shell iframe {
    max-width: 100%;
}

input,
textarea,
select,
button,
.button {
    border-radius: 10px;
    border: 1px solid #cfcfcf;
    font: inherit;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    background: #fff;
    color: var(--text);
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
.button:focus-visible {
    border-color: var(--accent);
    outline: 2px solid rgba(192, 44, 188, 0.18);
    outline-offset: 2px;
}

label {
    display: block;
    margin: 0 0 1rem;
    color: var(--muted);
}

button,
.button {
    display: inline-block;
    margin: 0.35rem 0.35rem 0.35rem 0;
    padding: 0.75rem 1.05rem;
    background: var(--accent);
    color: #141006;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}

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

.admin-table th,
.admin-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem;
    text-align: left;
}

.section-editor {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: var(--panel-soft);
}

.admin-shell {
    --bg: #08090d;
    --panel: #151720;
    --panel-soft: #202330;
    --text: #f4f0e8;
    --muted: #b9b2a6;
    --accent: #d7a84f;
    background: radial-gradient(circle at top, #27212d 0, var(--bg) 48rem);
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
}

.admin-shell .site-header,
.admin-shell .site-footer {
    min-height: auto;
    background: rgba(0, 0, 0, 0.35);
}

.admin-shell .site-header {
    padding: 1rem clamp(1rem, 4vw, 4rem);
}

.admin-shell .brand {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 700;
}

.admin-shell .site-nav {
    gap: 1rem;
}

.admin-shell .site-nav a,
.admin-shell .nav-dropdown-trigger,
.admin-shell .nav-toggle {
    color: var(--accent);
    font-family: Georgia, "Times New Roman", serif;
}

.admin-shell .page-wrap {
    width: min(1120px, calc(100% - 2rem));
    margin: 2rem auto;
}

.admin-shell .content-card,
.admin-shell .login-panel {
    background: rgba(21, 23, 32, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

.admin-shell input,
.admin-shell textarea,
.admin-shell select {
    background: #0f1118;
    color: var(--text);
}

@media (max-width: 920px) {
    .site-header {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        min-height: auto;
        padding: 18px 22px;
    }

    .brand img {
        max-width: 240px;
        width: min(70vw, 240px);
    }

    .site-header {
        position: relative;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        margin-left: auto;
        width: 44px;
        height: 42px;
        padding: 0;
        background: #fff;
        color: #555;
        border: 1px solid #dddddd;
        border-radius: 0;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
    }

    .site-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: 100%;
        flex-basis: 100%;
        padding-top: 12px;
    }

    .js .site-nav {
        display: none;
    }

    .js .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 5px 0;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        margin-top: 8px;
        border-top: 2px solid #26b8ff;
        box-shadow: none;
    }

    .nav-dropdown-menu a {
        padding: 9px 14px;
        white-space: normal;
    }

    .page-title-band {
        min-height: 66px;
        padding: 0 20px;
        text-align: center;
    }

    .page-title-band h1 {
        font-size: 21px;
    }

    .content-card,
    .login-panel {
        padding: 24px 20px;
    }

}

@media (min-width: 641px) and (max-width: 800px) {
    .public-shell .elementor-col-33 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 640px) {
    .public-shell .elementor-row {
        margin: 0;
    }

    .public-shell .elementor-column,
    .public-shell .elementor-col-50,
    .public-shell .elementor-col-33 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
}

@media (min-width: 761px) and (max-width: 1024px) {
    .site-header {
        padding: 0 24px;
    }

    .brand img {
        width: 230px;
        max-width: 30vw;
    }

    .site-nav {
        gap: 18px;
    }

}

.notice {
    border-radius: 12px;
    margin: 1rem 0;
    padding: 0.8rem 1rem;
}

.notice-error {
    background: color-mix(in srgb, var(--danger) 25%, transparent);
}

.notice-success {
    background: color-mix(in srgb, var(--success) 25%, transparent);
}
