:root {
    color-scheme: light;
    --ink: #18201d;
    --muted: #65716c;
    --line: #e1e8e4;
    --paper: #fff;
    --soft: #f4f7f5;
    --green: #1d684e;
    --green-dark: #164e3b;
    --danger: #b42318;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--green);
}
button,
input,
textarea {
    font: inherit;
}
.container {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
}
.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
}
.nav-wrap,
.site-header nav,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-wrap {
    min-height: 76px;
}
.site-header nav {
    gap: 30px;
    color: #45514b;
    font-size: 0.94rem;
}
.brand {
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: -0.04em;
}
.brand span {
    color: var(--green);
}
.inline-form {
    display: inline;
    margin: 0;
}
.nav-button,
.text-button {
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    cursor: pointer;
}
.nav-button:hover,
.text-button:hover {
    color: var(--green);
}
.hero {
    padding: 112px 0 120px;
    background:
        radial-gradient(ellipse at 80% 0%, #e2f2e9 0, transparent 43%),
        linear-gradient(145deg, #f7faf8, #fff 62%);
}
.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2,
h3 {
    letter-spacing: -0.045em;
    line-height: 1.15;
}
.hero h1 {
    max-width: 850px;
    margin-bottom: 22px;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
}
.hero h1 span {
    color: var(--green);
}
.hero-copy {
    max-width: 560px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 1.12rem;
}
.hero-actions,
.form-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}
.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.94rem;
    font-weight: 650;
    cursor: pointer;
}
.button-primary {
    background: var(--green);
    color: white;
}
.button-primary:hover {
    background: var(--green-dark);
    color: white;
}
.button-full {
    width: 100%;
}
.text-link {
    color: var(--green);
    font-weight: 650;
}
.section {
    padding-top: 76px;
    padding-bottom: 84px;
}
.section-muted {
    background: var(--soft);
}
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.section-heading h2,
.section-heading h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.section-heading .eyebrow {
    margin-bottom: 8px;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.content-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
}
.card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--soft);
}
.card-body {
    padding: 24px;
}
.card-body h2,
.card-body h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}
.card-body p:not(.eyebrow) {
    color: var(--muted);
}
.card-body .eyebrow {
    margin-bottom: 10px;
}
.page-intro {
    padding-top: 76px;
    padding-bottom: 16px;
}
.page-intro h1 {
    margin-bottom: 12px;
    font-size: clamp(2.5rem, 6vw, 4rem);
}
.page-intro > p:last-child {
    color: var(--muted);
    font-size: 1.08rem;
}
.empty-state {
    border: 1px dashed #cdd8d2;
    border-radius: 12px;
    padding: 38px;
    background: rgba(255, 255, 255, 0.65);
}
.empty-state h2,
.empty-state h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}
.empty-state p {
    margin: 0;
    color: var(--muted);
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 20px;
    padding: 0;
    list-style: none;
}
.tag-list li,
.status-pill {
    border-radius: 999px;
    padding: 4px 10px;
    background: #edf4f0;
    color: #35614e;
    font-size: 0.78rem;
    font-weight: 600;
}
.article {
    max-width: 800px;
    padding-top: 52px;
    padding-bottom: 100px;
}
.back-link {
    display: inline-block;
    margin-bottom: 36px;
}
.article h1 {
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 6vw, 4rem);
}
.article-lead {
    color: var(--muted);
    font-size: 1.22rem;
}
.article-image {
    display: block;
    width: 100%;
    max-height: 560px;
    margin: 32px 0;
    border-radius: 12px;
    object-fit: cover;
}
.article-body {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 1.08rem;
    line-height: 1.9;
}
.article-tags {
    margin-bottom: 28px;
}
.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}
.footer-inner {
    min-height: 76px;
}
.footer-inner a {
    color: var(--green);
}
.pagination {
    margin-top: 28px;
}
.pagination nav {
    display: flex;
    justify-content: center;
}
.pagination nav > div:first-child {
    display: none;
}
.pagination nav > div:last-child > span,
.pagination nav > div:last-child > a {
    margin: 0 3px;
}
.pagination a,
.pagination span[aria-current] span {
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 5px 10px;
}
.pagination span[aria-current] span {
    background: var(--green);
    color: white;
}
.auth-wrap {
    display: grid;
    min-height: 70vh;
    place-items: center;
    padding-top: 48px;
    padding-bottom: 64px;
}
.form-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px;
    background: white;
    box-shadow: 0 10px 32px rgba(24, 32, 29, 0.04);
}
.auth-card {
    width: min(460px, 100%);
}
.auth-card h1 {
    margin-bottom: 8px;
    font-size: 2rem;
}
.form-intro {
    margin-bottom: 24px;
    color: var(--muted);
}
.form-card > label:not(.checkbox-row),
.field > label {
    display: block;
    margin: 16px 0 6px;
    font-size: 0.92rem;
    font-weight: 650;
}
.form-card input:not([type="checkbox"]),
.form-card textarea,
.form-card select {
    width: 100%;
    border: 1px solid #cfd9d3;
    border-radius: 7px;
    padding: 10px 12px;
    background: white;
    color: var(--ink);
}
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
    outline: 3px solid #d8eee2;
    border-color: var(--green);
}
.checkbox-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 18px 0;
    font-size: 0.92rem;
}
.checkbox-row input {
    width: 16px;
    height: 16px;
    accent-color: var(--green);
}
.error-summary,
.field-error {
    color: var(--danger);
}
.error-summary {
    margin: 16px 0;
    border-radius: 7px;
    padding: 10px 12px;
    background: #fff0ee;
}
.field-error {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
}
.admin-section {
    min-height: 68vh;
}
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
th,
td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
}
th {
    background: var(--soft);
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
tbody tr:last-child td {
    border-bottom: 0;
}
.table-subtitle {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
}
.table-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}
.danger {
    color: var(--danger);
}
.status-pill {
    background: #f0f1f0;
    color: #525b56;
}
.status-pill.is-published {
    background: #e7f5eb;
    color: #267344;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.stat-card {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 26px;
}
.stat-card strong {
    font-size: 2.5rem;
    line-height: 1;
}
.stat-card > span:last-child {
    color: var(--muted);
    font-size: 0.9rem;
}
.form-page {
    max-width: 900px;
}
.compact-intro {
    padding: 0 0 26px;
}
.compact-intro h1 {
    font-size: 2.5rem;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
}
.field-wide {
    grid-column: 1 / -1;
}
.field > label {
    margin-top: 8px;
}
.field > label span:not(.label-hint) {
    color: var(--danger);
}
.label-hint {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 400;
}
.upload-preview {
    display: block;
    width: min(320px, 100%);
    max-height: 200px;
    margin: 4px 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
}
.form-card input[type="file"] {
    padding: 9px;
    background: var(--soft);
}
.form-actions {
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.notice {
    margin-top: 20px;
    border-radius: 7px;
    padding: 10px 14px;
    background: #e7f5eb;
    color: #267344;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 32px, 600px);
    }
    .nav-wrap {
        min-height: 68px;
    }
    .site-header nav {
        gap: 14px;
        font-size: 0.86rem;
    }
    .hero {
        padding: 82px 0 90px;
    }
    .section {
        padding-top: 56px;
        padding-bottom: 62px;
    }
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .site-header nav {
        gap: 10px;
    }
    .site-header nav > a,
    .nav-button {
        font-size: 0.8rem;
    }
    .brand {
        font-size: 1rem;
    }
    .card-grid,
    .stats-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
    .field-wide {
        grid-column: auto;
    }
    .section-heading {
        align-items: start;
    }
    .section-heading > .button {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    .form-card {
        padding: 22px;
    }
}

.admin-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 252px minmax(0, 1fr);
    background: #f8faf9;
}
.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    border-right: 1px solid var(--line);
    padding: 27px 16px 18px;
    background: #fff;
}
.sidebar-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px;
    padding: 0 12px;
    font-size: 1.25rem;
}
.sidebar-brand small {
    flex-basis: 100%;
    margin-top: 2px;
    color: #87928c;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}
.sidebar-label {
    margin: 38px 12px 10px;
    color: #929d97;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.13em;
}
.sidebar-nav {
    display: grid;
    gap: 5px;
}
.sidebar-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 12px;
    border-radius: 7px;
    padding: 9px 12px;
    color: #58645e;
    font-size: 0.91rem;
    font-weight: 560;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}
.sidebar-link svg,
.sidebar-logout svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.sidebar-link:hover {
    background: #f3f7f4;
    color: var(--green);
}
.sidebar-link.is-active {
    background: #eaf4ee;
    color: var(--green-dark);
    font-weight: 680;
}
.sidebar-account {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding: 18px 4px 0;
}
.account-avatar {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #e5f1e9;
    color: var(--green-dark);
    font-size: 0.9rem;
    font-weight: 700;
}
.account-details {
    display: grid;
    min-width: 0;
    flex: 1;
    line-height: 1.35;
}
.account-details strong,
.account-details span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.account-details strong {
    font-size: 0.82rem;
}
.account-details span {
    color: var(--muted);
    font-size: 0.72rem;
}
.sidebar-account form {
    margin: 0;
}
.sidebar-logout {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #66736c;
    cursor: pointer;
}
.sidebar-logout:hover {
    background: #f3f7f4;
    color: var(--danger);
}
.admin-main-column {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    flex-direction: column;
}
.admin-topbar {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid var(--line);
    padding: 0 34px;
    background: #fff;
    color: var(--muted);
    font-size: 0.85rem;
}
.topbar-divider {
    color: #b4bdb8;
}
.topbar-page {
    color: var(--ink);
    font-weight: 650;
}
.topbar-user {
    margin-left: auto;
    color: #47544d;
    font-size: 0.82rem;
}
.admin-content {
    width: 100%;
    flex: 1;
}
.admin-content > .section,
.admin-content > .page-intro {
    width: min(1180px, calc(100% - 64px));
}
.admin-content .page-intro {
    padding-top: 48px;
}
.admin-content .section {
    padding-top: 42px;
    padding-bottom: 56px;
}
.admin-content .section-heading h1,
.admin-content .page-intro h1 {
    font-size: clamp(1.9rem, 4vw, 2.55rem);
}
.admin-footer {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding: 0 34px;
    color: #89948e;
    font-size: 0.78rem;
}
.login-header-label {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}
.auth-main {
    min-height: calc(100vh - 153px);
}

@media (max-width: 760px) {
    .admin-shell {
        display: block;
    }
    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 16px 18px 12px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .sidebar-brand {
        padding: 0 2px;
        font-size: 1.1rem;
    }
    .sidebar-brand small {
        display: none;
    }
    .sidebar-label {
        display: none;
    }
    .sidebar-nav {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        margin-top: 14px;
    }
    .sidebar-link {
        min-height: 40px;
        flex: 0 0 auto;
        gap: 8px;
        padding: 8px 10px;
        font-size: 0.84rem;
    }
    .sidebar-link svg {
        width: 17px;
        height: 17px;
    }
    .sidebar-account {
        display: none;
    }
    .admin-main-column {
        min-height: calc(100vh - 120px);
    }
    .admin-topbar {
        min-height: 56px;
        padding: 0 20px;
    }
    .admin-content > .section,
    .admin-content > .page-intro {
        width: min(100% - 40px, 600px);
    }
    .admin-content .page-intro {
        padding-top: 34px;
    }
    .admin-content .section {
        padding-top: 30px;
        padding-bottom: 42px;
    }
    .admin-footer {
        padding: 0 20px;
    }
}

@media (max-width: 520px) {
    .admin-content > .section,
    .admin-content > .page-intro {
        width: calc(100% - 32px);
    }
    .admin-topbar {
        padding: 0 16px;
    }
    .topbar-user {
        font-size: 0.74rem;
    }
    .admin-footer {
        padding: 0 16px;
        font-size: 0.7rem;
    }
}

/* Admin workspace */
:root {
    --ink: #202a25;
    --muted: #78847d;
    --line: #e8ece9;
    --paper: #fff;
    --soft: #f6f8f6;
    --green: #25845f;
    --green-dark: #176544;
    --danger: #c34c4c;
    --sidebar: #172b24;
    --sidebar-muted: #9aada3;
}

body {
    background: #f7f8f7;
    color: var(--ink);
}
a {
    transition:
        color 0.16s ease,
        background 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease;
}
.button {
    min-height: 44px;
    border-radius: 9px;
    padding: 10px 17px;
    font-weight: 650;
    box-shadow: 0 2px 4px #123a2610;
}
.button-primary {
    background: var(--green);
}
.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px #17654425;
}
.text-link {
    color: var(--green-dark);
}
.eyebrow {
    margin-bottom: 9px;
    font-size: 0.69rem;
    letter-spacing: 0.15em;
}
.admin-shell {
    grid-template-columns: 258px minmax(0, 1fr);
    background: #f7f8f7;
}
.admin-sidebar {
    z-index: 2;
    border-right: 0;
    padding: 28px 17px 18px;
    background: var(--sidebar);
    color: #f4f8f5;
}
.sidebar-brand {
    align-items: center;
    padding: 0 13px;
    color: #fff;
    font-size: 1.32rem;
}
.sidebar-brand:hover {
    color: #fff;
}
.sidebar-brand > span {
    color: #83d2a9;
}
.sidebar-brand small {
    margin-top: 8px;
    color: #8da49a;
    font-size: 0.6rem;
    letter-spacing: 0.17em;
}
.sidebar-label {
    margin: 43px 13px 12px;
    color: #81978c;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
}
.sidebar-nav {
    gap: 6px;
}
.sidebar-link {
    position: relative;
    min-height: 47px;
    gap: 13px;
    border-radius: 8px;
    padding: 10px 13px;
    color: #afbeb6;
    font-size: 0.88rem;
}
.sidebar-link:hover {
    background: #ffffff0c;
    color: #fff;
}
.sidebar-link.is-active {
    background: #2e805c;
    color: #fff;
    box-shadow: inset 0 0 0 1px #ffffff10;
}
.sidebar-link.is-active::before {
    position: absolute;
    top: 11px;
    bottom: 11px;
    left: -17px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #83d2a9;
    content: "";
}
.sidebar-dropdown {
    min-width: 0;
}
.sidebar-dropdown-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    list-style: none;
    text-align: left;
}
.sidebar-dropdown-toggle::-webkit-details-marker {
    display: none;
}
.sidebar-dropdown-toggle > span {
    flex: 1;
}
.sidebar-dropdown-toggle .sidebar-chevron {
    width: 15px;
    height: 15px;
    transition: transform 0.15s ease;
}
.sidebar-dropdown[open] .sidebar-dropdown-toggle .sidebar-chevron {
    transform: rotate(180deg);
}
.sidebar-dropdown-menu {
    display: grid;
    gap: 4px;
    padding: 5px 0 2px 35px;
}
.sidebar-sub-link {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 10px;
    border-radius: 7px;
    padding: 8px 12px;
    color: #afbeb6;
    font-size: 0.83rem;
}
.sidebar-sub-link:hover,
.sidebar-sub-link.is-active {
    background: #ffffff0c;
    color: #fff;
}
.sidebar-sub-link > span {
    width: 6px;
    height: 6px;
    border: 1px solid currentColor;
    border-radius: 50%;
}
.sidebar-sub-link.is-active > span {
    border-color: #83d2a9;
    background: #83d2a9;
}
.hero-image-preview {
    display: block;
    max-width: 100%;
    max-height: 190px;
    margin: 0 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
}
.hero-portrait-preview {
    width: 130px;
    height: 160px;
}
.field > h2 {
    margin: 14px 0 0;
    color: var(--ink);
    font-size: 1rem;
}
.field .checkbox-row {
    margin-top: 10px;
}
.admin-content .form-page.hero-editor-page {
    width: min(1050px, calc(100% - 80px)) !important;
    max-width: 1050px;
    padding-bottom: 55px;
    margin: auto;
}
.hero-editor-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 24px !important;
}
.hero-editor-intro > div {
    min-width: 0;
}
.hero-editor-intro .eyebrow {
    color: var(--green);
}
.hero-editor-intro h1 {
    margin-bottom: 8px;
}
.hero-editor-intro p:last-child {
    max-width: 600px;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}
.hero-single-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    border: 1px solid #dcebe1;
    border-radius: 999px;
    padding: 8px 12px;
    background: #f5faf6;
    color: #477257;
    font-size: 0.72rem;
    font-weight: 650;
}
.hero-single-badge > span,
.hero-save-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #39a66b;
}
.hero-editor-form {
    gap: 14px;
}
.hero-editor-form .settings-card {
    padding: 24px 26px 26px;
}
.hero-editor-form .settings-card-heading {
    margin-bottom: 19px;
}
.hero-editor-form .settings-fields {
    gap: 18px 22px;
}
.hero-editor-form .field > label {
    margin: 0 0 7px;
    color: #49564d;
    font-size: 0.76rem;
    font-weight: 650;
}
.hero-editor-form .field > label span,
.hero-field-label > span {
    color: var(--danger);
}
.hero-editor-form .field > input:not([type="file"]),
.hero-editor-form .field textarea,
.hero-editor-form .field > input[type="file"] {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dfe6e1;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
.hero-editor-form .field > input:not([type="file"]),
.hero-editor-form .field textarea {
    padding: 10px 12px;
}
.hero-editor-form .field textarea {
    display: block;
    resize: vertical;
    line-height: 1.65;
}
.hero-editor-form .field > input[type="file"] {
    border-style: dashed;
    padding: 9px;
    background: #fafcfb;
    color: #68766d;
    font-size: 0.73rem;
}
.hero-editor-form .field > input::placeholder,
.hero-editor-form .field textarea::placeholder {
    color: #a5afa8;
}
.hero-editor-form .field > input:focus,
.hero-editor-form .field textarea:focus {
    outline: 0;
    border-color: #62a77f;
    box-shadow: 0 0 0 3px #25845f18;
}
.hero-editor-form .field .label-hint {
    margin-top: 6px;
    color: #89958d;
    font-size: 0.69rem;
    line-height: 1.55;
}
.hero-field-label {
    display: block;
    margin-bottom: 4px;
    color: #49564d;
    font-size: 0.76rem;
    font-weight: 650;
}
.hero-headline-fields {
    margin-bottom: -5px;
}
.hero-image-fields {
    align-items: start;
}
.hero-background-preview,
.hero-portrait-preview {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #e6ebe7;
    border-radius: 9px;
    background: #f3f6f4;
}
.hero-background-preview {
    height: 155px;
}
.hero-background-preview img,
.hero-portrait-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-background-preview img {
    object-position: center;
}
.hero-background-preview::after,
.hero-portrait-preview::after {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, #10251bd9);
    content: "";
    pointer-events: none;
}
.hero-background-preview > span,
.hero-portrait-preview > span {
    position: absolute;
    z-index: 1;
    right: 11px;
    bottom: 10px;
    left: 12px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 650;
}
.hero-portrait-preview {
    width: min(100%, 190px);
    height: 210px;
}
.hero-remove-image {
    margin: 0 0 12px;
    color: #8d5550;
    font-size: 0.72rem;
}
.hero-remove-image input {
    accent-color: #bd625a;
}
.hero-editor-form .field-error {
    margin-top: 5px;
    font-size: 0.73rem;
}
.hero-error-summary {
    display: grid;
    gap: 3px;
    margin: 0;
    border: 1px solid #f1ceca;
    padding: 14px 17px;
    font-size: 0.8rem;
}
.hero-error-summary strong {
    color: #943e37;
}
.hero-error-summary span {
    color: #936c68;
}
.hero-editor-actions {
    position: sticky;
    z-index: 1;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    border: 1px solid #e2e9e4;
    border-radius: 12px;
    padding: 12px 15px;
    background: #ffffffed;
    box-shadow: 0 8px 28px #17362115;
    backdrop-filter: blur(12px);
}
.hero-editor-actions > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #77847c;
    font-size: 0.72rem;
}
.hero-editor-actions .button {
    min-width: 155px;
    gap: 9px;
}
.hero-editor-actions .button > span {
    font-size: 0.95rem;
}

@media (max-width: 760px) {
    .admin-content .form-page.hero-editor-page {
        width: calc(100% - 44px) !important;
        padding-top: 31px;
    }
    .hero-editor-intro {
        align-items: flex-start;
    }
    .hero-editor-form .settings-card {
        padding: 20px 18px;
    }
}

@media (max-width: 560px) {
    .admin-content .form-page.hero-editor-page {
        width: calc(100% - 32px) !important;
        padding-top: 27px;
    }
    .hero-editor-intro {
        flex-direction: column;
        gap: 13px;
    }
    .hero-editor-intro h1 {
        font-size: 1.8rem;
    }
    .hero-editor-intro p:last-child {
        font-size: 0.76rem;
    }
    .hero-editor-form .settings-card {
        padding: 17px 15px 19px;
    }
    .hero-editor-form .settings-card-heading {
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 14px;
    }
    .hero-editor-form .settings-fields {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hero-editor-form .settings-fields .field-wide {
        grid-column: auto;
    }
    .hero-editor-actions {
        bottom: 8px;
        padding: 9px;
    }
    .hero-editor-actions > span {
        max-width: 130px;
        font-size: 0.65rem;
    }
    .hero-editor-actions .button {
        min-width: 130px;
        min-height: 40px;
        padding: 8px 11px;
        font-size: 0.75rem;
    }
}

/* Public Insights */
.insights-page {
    min-height: 72vh;
    padding: clamp(112px, 12vw, 170px) 0 clamp(80px, 10vw, 140px);
    background:
        radial-gradient(ellipse at 88% 4%, rgba(215, 165, 103, 0.09), transparent 34%),
        #101a1e;
    color: #f3f0e9;
}
.insights-container {
    width: min(1440px, calc(100% - clamp(40px, 10vw, 168px)));
    margin-inline: auto;
}
.insights-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 44px;
    margin-bottom: 46px;
}
.insights-eyebrow,
.insight-category {
    color: #e5b979;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    line-height: 1.6;
    text-transform: uppercase;
}
.insights-heading h1 {
    margin: 16px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 6vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.08;
}
.insights-heading h1 em {
    color: #e8bd82;
    font-weight: 500;
}
.insights-intro {
    max-width: 315px;
    margin: 0 0 8px;
    color: #aeb8b7;
    font-size: 0.93rem;
    line-height: 1.85;
}
.insights-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
    gap: clamp(24px, 3vw, 46px);
}
.insight-feature {
    min-width: 0;
    border: 1px solid rgba(229, 218, 198, 0.13);
    background: #172226;
}
.insight-image-wrap {
    position: relative;
    height: clamp(280px, 34vw, 470px);
    overflow: hidden;
}
.insight-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.insight-cover-featured {
    display: grid;
    place-items: center;
    background:
        radial-gradient(ellipse at 72% 20%, rgba(219, 172, 113, 0.33), transparent 34%),
        linear-gradient(135deg, #39423e, #17262b 68%, #10181b);
}
.insight-cover-featured span {
    color: rgba(244, 220, 184, 0.78);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 0.98;
    text-align: center;
}
.insight-image-label {
    position: absolute;
    bottom: 19px;
    left: 19px;
    padding: 10px 12px;
    background: rgba(10, 20, 23, 0.9);
    color: #f1cc97;
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.12em;
}
.insight-feature-content {
    padding: clamp(25px, 3vw, 43px);
}
.insight-category {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.61rem;
    letter-spacing: 0.12em;
}
.insight-category i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e5b979;
}
.insight-feature-content h2 {
    margin: 15px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.2vw, 2.85rem);
    font-weight: 500;
    line-height: 1.18;
}
.insight-feature-content > p {
    max-width: 680px;
    margin: 0;
    color: #aeb8b7;
    font-size: 0.91rem;
    line-height: 1.8;
}
.insight-read-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    border: 0;
    border-bottom: 1px solid #d5a665;
    padding: 7px 0;
    background: transparent;
    color: #f3f0e9;
    font-size: 0.77rem;
    font-weight: 700;
    cursor: pointer;
}
.insight-read-button:hover {
    color: #edc88f;
}
.insight-sidebar {
    display: grid;
    align-content: start;
    gap: 22px;
}
.insight-mini {
    display: grid;
    grid-template-columns: minmax(110px, 0.72fr) minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 150px;
    border-bottom: 1px solid rgba(229, 218, 198, 0.16);
    padding-bottom: 20px;
}
.insight-mini-image {
    height: 138px;
    overflow: hidden;
}
.insight-mini-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.insight-mini:hover .insight-mini-image img {
    transform: scale(1.04);
}
.insight-cover-mini {
    display: grid;
    height: 100%;
    place-items: center;
    background: linear-gradient(145deg, #46544d, #26363a 70%, #1a292d);
    color: #e9c48d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.8rem;
}
.insight-mini:nth-child(2n) .insight-cover-mini {
    background: linear-gradient(145deg, #50483e, #333b3a 70%, #1a292d);
}
.insight-mini-content h2 {
    margin: 9px 0 2px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    font-weight: 500;
    line-height: 1.24;
}
.insight-mini-content .insight-read-button {
    margin-top: 11px;
    font-size: 0.7rem;
}
.insight-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px 20px;
    border: 1px solid rgba(229, 218, 198, 0.13);
    padding: 24px;
    background: #172226;
}
.insight-cta .insights-eyebrow {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.59rem;
}
.insight-cta strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.22;
}
.insight-cta-arrow {
    color: #e5b979;
    font-size: 1.8rem;
}
.insight-empty {
    border: 1px solid rgba(229, 218, 198, 0.16);
    padding: clamp(28px, 5vw, 60px);
    background: #172226;
}
.insight-empty-main {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
}
.insight-empty h2 {
    margin: 10px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 500;
}
.insight-empty p {
    color: #aeb8b7;
}
.insight-dialog {
    position: fixed;
    inset: 0;
    width: min(720px, calc(100% - 32px));
    max-height: min(82vh, 850px);
    margin: auto;
    overflow: auto;
    border: 1px solid rgba(229, 218, 198, 0.35);
    padding: clamp(28px, 5vw, 52px);
    background: #121d21;
    color: #f3f0e9;
    box-shadow: 0 35px 120px #0009;
}
.insight-dialog::backdrop {
    background: rgba(3, 10, 13, 0.84);
    backdrop-filter: blur(5px);
}
.insight-dialog-close {
    position: absolute;
    top: 12px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #f3f0e9;
    font-size: 2rem;
    cursor: pointer;
}
.insight-dialog h2 {
    margin: 15px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 500;
    line-height: 1.15;
}
.insight-dialog-date {
    display: block;
    color: #aeb8b7;
    font-size: 0.78rem;
}
.insight-dialog-body {
    margin: 25px 0 0;
    color: #d2d7d4;
    font-size: 1rem;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .insights-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .insight-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
    .insight-mini {
        grid-template-columns: 1fr;
        gap: 13px;
    }
    .insight-mini-image {
        height: 180px;
    }
    .insight-cta {
        align-self: stretch;
    }
}
@media (max-width: 600px) {
    .insights-container {
        width: calc(100% - 40px);
    }
    .insights-heading {
        display: block;
        margin-bottom: 28px;
    }
    .insights-heading h1 {
        font-size: clamp(2.5rem, 11vw, 3.6rem);
    }
    .insights-intro {
        margin-top: 18px;
    }
    .insight-image-wrap {
        height: 260px;
    }
    .insight-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .insight-mini {
        grid-template-columns: 40% minmax(0, 1fr);
        gap: 14px;
    }
    .insight-mini-image {
        height: 130px;
    }
    .insight-mini-content h2 {
        font-size: 1.15rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .insight-mini-image img {
        transition: none;
    }
}

.insight-article-page {
    min-height: 60vh;
    padding: clamp(108px, 12vw, 160px) 0 90px;
    background:
        radial-gradient(ellipse at 85% 8%, rgba(215, 165, 103, 0.08), transparent 32%),
        #101a1e;
    color: #f3f0e9;
}
.insight-article-container,
.insight-related-container {
    width: min(1080px, calc(100% - clamp(40px, 10vw, 168px)));
    margin-inline: auto;
}
.insight-back-link {
    display: inline-flex;
    margin-bottom: 38px;
    color: #e5b979;
    font-size: 0.78rem;
    font-weight: 700;
}
.insight-article-header {
    max-width: 900px;
    margin: 0 auto 35px;
}
.insight-article-header h1 {
    margin: 16px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 6.5vw, 5.4rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.08;
}
.insight-article-excerpt {
    max-width: 760px;
    margin: 0;
    color: #aeb8b7;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.75;
}
.insight-article-cover {
    display: block;
    width: 100%;
    max-height: 580px;
    margin: 0 auto 44px;
    object-fit: cover;
}
.insight-article-body {
    max-width: 760px;
    margin: 0 auto;
    color: #d6dcda;
    font-size: 1.05rem;
    line-height: 2;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.insight-related-section {
    padding: 78px 0 100px;
    background: #121e22;
    color: #f3f0e9;
}
.insight-related-container {
    width: min(1280px, calc(100% - clamp(40px, 10vw, 168px)));
}
.insight-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}
.insight-related-heading h2 {
    margin: 10px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}
.insight-related-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    color: #e5b979;
    font-size: 0.8rem;
    font-weight: 700;
}
.insight-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.insight-related-card {
    min-width: 0;
    border: 1px solid rgba(229, 218, 198, 0.13);
    background: #172226;
}
.insight-related-image {
    display: grid;
    height: 210px;
    overflow: hidden;
    place-items: center;
    background: linear-gradient(145deg, #46544d, #26363a 70%, #1a292d);
    color: #e9c48d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
}
.insight-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.insight-related-image:hover img {
    transform: scale(1.04);
}
.insight-related-content {
    padding: 23px;
}
.insight-related-content h3 {
    margin: 12px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
}
.insight-related-content h3 a:hover {
    color: #e8bd82;
}
.insight-related-content > p {
    margin: 0;
    color: #aeb8b7;
    font-size: 0.84rem;
    line-height: 1.75;
}
@media (max-width: 800px) {
    .insight-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .insight-article-container,
    .insight-related-container {
        width: calc(100% - 40px);
    }
    .insight-related-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    .insight-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .insight-related-image {
        height: 190px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .insight-related-image img {
        transition: none;
    }
}

.contact-page {
    min-height: 75vh;
    padding: clamp(110px, 12vw, 165px) 0 clamp(90px, 10vw, 140px);
    background:
        radial-gradient(ellipse at 85% 8%, rgba(215, 165, 103, 0.08), transparent 32%),
        #101a1e;
    color: #f3f0e9;
}
.contact-container {
    width: min(1440px, calc(100% - clamp(40px, 10vw, 168px)));
    margin-inline: auto;
}
.contact-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 42px;
    margin-bottom: 50px;
}
.contact-heading h1 {
    margin: 16px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 6vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.08;
}
.contact-heading h1 em {
    color: #e8bd82;
    font-weight: 500;
}
.contact-heading > p {
    max-width: 350px;
    margin: 0 0 8px;
    color: #aeb8b7;
    font-size: 0.9rem;
    line-height: 1.85;
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
    gap: clamp(32px, 8vw, 112px);
}
.contact-aside {
    display: flex;
    min-height: 490px;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid #e5b979;
    padding-top: 32px;
}
.contact-kicker,
.contact-values {
    color: #aeb8b7;
    font-size: 0.63rem;
    font-weight: 750;
    letter-spacing: 0.16em;
}
.contact-company-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(229, 218, 198, 0.2);
    padding-bottom: 16px;
    color: #f3f0e9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}
.contact-company-link span {
    color: #e5b979;
    font-family: inherit;
}
.contact-aside-copy {
    max-width: 360px;
    margin: 16px 0 0;
    color: #aeb8b7;
    font-size: 0.82rem;
    line-height: 1.75;
}
.contact-values {
    display: grid;
    gap: 10px;
    color: #c3cbc7;
}
.contact-form {
    border: 1px solid rgba(229, 218, 198, 0.14);
    padding: clamp(24px, 3.4vw, 46px);
    background: #172226;
}
.contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.contact-form label {
    display: block;
    margin-top: 23px;
    color: #f3f0e9;
    font-size: 0.75rem;
    font-weight: 700;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 9px;
    border: 1px solid rgba(229, 218, 198, 0.18);
    border-radius: 3px;
    padding: 13px 14px;
    outline: 0;
    background: #101a1e;
    color: #f3f0e9;
    font: inherit;
    font-size: 0.82rem;
}
.contact-form select:invalid {
    color: #aeb8b7;
}
.contact-form textarea {
    min-height: 145px;
    resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #81908d;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #e5b979;
    box-shadow: 0 0 0 3px rgba(202, 160, 108, 0.12);
}
.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
}
.contact-form-footer p {
    max-width: 290px;
    margin: 0;
    color: #aeb8b7;
    font-size: 0.7rem;
    line-height: 1.65;
}
.contact-submit {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 3px;
    padding: 0 20px;
    background: linear-gradient(105deg, #efc58b, #e8ab62);
    color: #10191d;
    font-size: 0.74rem;
    font-weight: 750;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.contact-submit:hover:not(:disabled) {
    transform: translateY(-2px);
}
.contact-submit:disabled {
    cursor: wait;
    opacity: 0.65;
}
.contact-feedback {
    margin: 18px 0 0;
    color: #e8bd82;
    font-size: 0.82rem;
    line-height: 1.65;
}
.contact-feedback.is-error {
    color: #ff9d91;
}
.contact-sender {
    display: grid;
    gap: 3px;
}
.contact-sender a {
    color: var(--green-dark);
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}
.contact-message-cell {
    min-width: 220px;
    max-width: 440px;
    white-space: normal;
}
.contact-message-cell details summary {
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}
.contact-message-cell details p {
    margin: 10px 0 0;
    color: #4d5a54;
    font-size: 0.82rem;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.contact-inbox-page .list-heading > div > p:last-child {
    color: var(--muted);
}
@media (max-width: 800px) {
    .contact-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .contact-aside {
        min-height: 300px;
        margin-bottom: 12px;
    }
}
@media (max-width: 560px) {
    .contact-container {
        width: calc(100% - 40px);
    }
    .contact-heading h1 {
        font-size: clamp(2.5rem, 11vw, 3.7rem);
    }
    .contact-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .contact-form {
        padding: 23px 19px;
    }
    .contact-form-footer {
        align-items: stretch;
        flex-direction: column;
    }
    .contact-submit {
        width: 100%;
    }
}

.public-ventures-body {
    min-height: 100vh;
    background: #101a20;
    color: #f4f1ea;
    --venture-gold: #e9bd7d;
    --venture-muted: #a6b0b2;
    --venture-line: #ffffff1b;
}
.public-ventures-body a:hover {
    color: inherit;
}
.ventures-header {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-bottom: 1px solid var(--venture-line);
    padding: 0 clamp(24px, 5vw, 84px);
    background: #101a20;
}
.ventures-brand {
    color: #f4f1ea;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.ventures-brand span {
    color: var(--venture-gold);
}
.ventures-brand img {
    display: block;
    max-width: 180px;
    max-height: 46px;
    object-fit: contain;
}
.ventures-header nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 38px);
    color: #c2c9c8;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.74rem;
    font-weight: 650;
}
.ventures-header nav a[aria-current="page"] {
    color: var(--venture-gold);
}
.ventures-header .ventures-nav-cta {
    border: 1px solid #e9bd7d70;
    border-radius: 4px;
    padding: 8px 13px;
    color: var(--venture-gold);
}
.language-switch,
.language-switch form {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}
.language-switch button {
    border: 1px solid #ffffff35;
    border-radius: 4px;
    padding: 5px 8px;
    background: transparent;
    color: #c2c9c8;
    font-size: inherit;
    cursor: pointer;
}
.language-switch button[aria-current="true"] {
    border-color: var(--venture-gold);
    color: var(--venture-gold);
}
html[lang="bn"] .public-ventures-body {
    font-family: "Noto Sans Bengali", "Nirmala UI", "Vrinda", sans-serif;
}
html[lang="bn"] .public-ventures-body .ventures-eyebrow,
html[lang="bn"] .public-ventures-body .insights-eyebrow,
html[lang="bn"] .public-ventures-body .contact-kicker,
html[lang="bn"] .public-ventures-body .ventures-header nav {
    letter-spacing: normal;
}
.ventures-section {
    min-height: calc(100vh - 145px);
    padding: clamp(72px, 9vw, 132px) 0 clamp(76px, 9vw, 132px);
    background:
        radial-gradient(ellipse at 12% 3%, #c9904410, transparent 36%),
        #101a20;
}
.ventures-container {
    width: min(1540px, calc(100% - 48px));
    margin: 0 auto;
}
.ventures-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}
.ventures-eyebrow {
    margin: 0 0 20px;
    color: var(--venture-gold);
    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.23em;
}
.ventures-heading h1 {
    margin: 0;
    color: #f2efe8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 5.3vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.08;
}
.ventures-heading h1 em {
    color: var(--venture-gold);
    font-weight: 500;
}
.ventures-intro {
    max-width: 290px;
    margin: 0 0 8px;
    color: var(--venture-muted);
    font-size: 0.87rem;
    line-height: 1.85;
}
.venture-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
}
.venture-filters button {
    min-height: 41px;
    border: 1px solid var(--venture-line);
    border-radius: 999px;
    padding: 9px 16px;
    background: transparent;
    color: #c3cbca;
    cursor: pointer;
    font-size: 0.69rem;
    font-weight: 700;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}
.venture-filters button:hover,
.venture-filters button[aria-pressed="true"] {
    border-color: var(--venture-gold);
    background: var(--venture-gold);
    color: #132029;
}
.venture-filters button span {
    margin-left: 7px;
    opacity: 0.66;
}
.venture-grid {
    display: grid;
    grid-auto-rows: minmax(250px, 24vw);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.venture-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--venture-line);
    background: #18262d;
    color: #fff;
    isolation: isolate;
}
.venture-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.venture-card[hidden] {
    display: none;
}
.venture-image,
.venture-art,
.venture-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.venture-image {
    z-index: -2;
    object-fit: cover;
    filter: saturate(0.76) brightness(0.72);
    transition:
        transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
        filter 0.5s ease;
}
.venture-card:hover .venture-image {
    transform: scale(1.06);
    filter: saturate(0.92) brightness(0.87);
}
.venture-art {
    z-index: -2;
    display: grid;
    overflow: hidden;
    place-items: center;
    background:
        radial-gradient(ellipse at 70% 35%, #f2d7a12c, transparent 31%),
        linear-gradient(135deg, #1d343a, #19232b 64%, #293b3a);
}
.venture-card-education .venture-art {
    background:
        radial-gradient(ellipse at 68% 30%, #a1b8a526, transparent 34%),
        linear-gradient(135deg, #283a3b, #17262e 72%, #463e31);
}
.venture-card-lifestyle .venture-art {
    background:
        radial-gradient(ellipse at 68% 30%, #d5b9822d, transparent 36%),
        linear-gradient(135deg, #384139, #17242a 68%, #4a3a2e);
}
.venture-card-business .venture-art {
    background:
        radial-gradient(ellipse at 70% 30%, #82b6a52b, transparent 35%),
        linear-gradient(135deg, #173a3a, #19262b 72%, #3d3c35);
}
.venture-art::before,
.venture-art::after {
    position: absolute;
    width: min(68%, 330px);
    aspect-ratio: 1;
    border: 1px solid #e9bd7d1e;
    border-radius: 50%;
    content: "";
    transform: translate(20%, -12%);
}
.venture-art::after {
    width: min(48%, 230px);
    transform: translate(20%, -12%);
}
.venture-art > span {
    color: #f0c8891c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(7rem, 19vw, 18rem);
    line-height: 1;
}
.venture-art i {
    position: absolute;
    right: 14%;
    bottom: 12%;
    width: 28%;
    height: 33%;
    border: 1px solid #f1ca8a21;
    border-bottom: 0;
    border-radius: 50% 50% 0 0;
    transform: skew(-9deg);
}
.venture-overlay {
    z-index: -1;
    background: linear-gradient(180deg, #020d138c, transparent 35%, #010a0fe0);
    pointer-events: none;
}
.venture-card-top {
    position: absolute;
    top: 20px;
    right: 21px;
    left: 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #f2eee6;
    font-size: 0.6rem;
    font-weight: 750;
    letter-spacing: 0.15em;
}
.venture-arrow {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #ffffff78;
    border-radius: 50%;
    color: white;
    font-size: 1.12rem;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}
.venture-arrow:hover,
.venture-card:hover .venture-arrow {
    border-color: var(--venture-gold);
    background: var(--venture-gold);
    color: #132029 !important;
}
.venture-card-copy {
    position: absolute;
    right: 24px;
    bottom: 23px;
    left: 24px;
}
.venture-card-copy h2 {
    margin: 0 0 6px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 2.7vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.12;
}
.venture-card:not(:first-child) .venture-card-copy h2 {
    font-size: clamp(1.35rem, 2vw, 2.25rem);
}
.venture-card-copy p {
    margin: 0;
    color: #d1d7d7;
    font-size: 0.77rem;
}
.ventures-note {
    margin: 22px 0 0;
    color: #818e91;
    font-size: 0.7rem;
    line-height: 1.7;
}
.ventures-empty {
    display: grid;
    min-height: 280px;
    align-content: center;
    justify-items: center;
    border: 1px dashed var(--venture-line);
    padding: 32px;
    text-align: center;
}
.ventures-empty > span {
    color: var(--venture-gold);
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.2em;
}
.ventures-empty h2 {
    margin: 14px 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;
}
.ventures-empty p {
    margin: 0;
    color: var(--venture-muted);
    font-size: 0.84rem;
}
.ventures-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--venture-line);
    padding: 20px clamp(24px, 5vw, 84px);
    color: #8d999b;
    font-size: 0.67rem;
}
.ventures-footer span span {
    color: var(--venture-gold);
}

@media (max-width: 1100px) {
    .venture-grid {
        grid-auto-rows: minmax(240px, 31vw);
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .venture-card:first-child {
        grid-row: span 1;
    }
}
@media (max-width: 800px) {
    .ventures-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
    .ventures-intro {
        max-width: 520px;
        margin: 0;
    }
    .venture-grid {
        grid-auto-rows: minmax(240px, 42vw);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .venture-card:first-child {
        grid-column: span 2;
    }
}
@media (max-width: 540px) {
    .ventures-header {
        min-height: 66px;
        padding-inline: 20px;
    }
    .ventures-header nav {
        gap: 15px;
        font-size: 0.68rem;
    }
    .ventures-header .ventures-nav-cta {
        padding: 6px 9px;
    }
    .ventures-container {
        width: calc(100% - 40px);
    }
    .ventures-section {
        padding: 72px 0 76px;
    }
    .ventures-heading {
        gap: 13px;
        margin-bottom: 27px;
    }
    .ventures-eyebrow {
        margin-bottom: 15px;
        font-size: 0.57rem;
        letter-spacing: 0.15em;
    }
    .ventures-heading h1 {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
    }
    .ventures-intro {
        font-size: 0.78rem;
    }
    .venture-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -20px;
        padding: 0 20px 8px 0;
        scrollbar-width: thin;
    }
    .venture-filters button {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 8px 13px;
        font-size: 0.65rem;
    }
    .venture-grid {
        grid-auto-rows: 285px;
        grid-template-columns: 1fr;
        gap: 11px;
    }
    .venture-card:first-child {
        grid-column: span 1;
    }
    .venture-card-copy {
        right: 18px;
        bottom: 19px;
        left: 18px;
    }
    .venture-card-copy h2,
    .venture-card:not(:first-child) .venture-card-copy h2 {
        font-size: 2rem;
    }
    .venture-card-top {
        top: 15px;
        right: 15px;
        left: 15px;
        font-size: 0.54rem;
    }
    .ventures-footer {
        flex-direction: column;
        padding: 18px 20px;
        font-size: 0.63rem;
    }
}
.sidebar-account {
    gap: 10px;
    border-top-color: #ffffff19;
    padding: 17px 4px 2px;
}
.account-avatar {
    width: 38px;
    height: 38px;
    background: #2e805c;
    color: #fff;
}
.account-details strong {
    color: #f2f7f4;
    font-size: 0.79rem;
}
.account-details span {
    color: #9aada3;
    font-size: 0.68rem;
}
.sidebar-logout {
    color: #a9bab1;
}
.sidebar-logout:hover {
    background: #ffffff12;
    color: #ffb5ae;
}
.admin-topbar {
    min-height: 65px;
    border-bottom-color: #e9ecea;
    padding: 0 42px;
    background: #fff;
    font-size: 0.8rem;
}
.topbar-section {
    color: #869189;
}
.topbar-divider {
    color: #c3cbc6;
}
.topbar-page {
    font-weight: 600;
}
.topbar-user {
    border-left: 1px solid var(--line);
    padding-left: 18px;
    color: #65736b;
    font-size: 0.78rem;
}
.admin-content {
    min-height: calc(100vh - 123px);
}
.admin-content > .section,
.admin-content > .page-intro {
    width: min(1220px, calc(100% - 80px));
}
.admin-content .page-intro {
    padding-top: 45px;
}
.admin-content .section {
    padding-top: 34px;
    padding-bottom: 52px;
}
.admin-footer {
    min-height: 58px;
    border-top-color: #e9ecea;
    padding: 0 42px;
    font-size: 0.72rem;
}
.notice {
    margin: 20px auto 0;
    border: 1px solid #cde9d8;
    border-radius: 9px;
    padding: 11px 15px;
    background: #f0faf3;
    color: #267344;
    font-size: 0.88rem;
}
.error-summary {
    border: 1px solid #f1ceca;
    background: #fff4f2;
    font-size: 0.88rem;
}

.dashboard-page,
.admin-list-page {
    width: min(1220px, calc(100% - 80px));
    margin-inline: auto;
}
.dashboard-page {
    padding: 43px 0 54px;
}
.dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 30px;
}
.dashboard-heading h1 {
    margin: 0 0 9px;
    font-size: clamp(1.75rem, 3vw, 2.2rem);
    letter-spacing: -0.05em;
}
.dashboard-heading h1 span {
    font-size: 0.76em;
}
.dashboard-heading > div > p:last-child,
.list-heading > div > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.today-pill {
    flex: 0 0 auto;
    border: 1px solid #e4e9e5;
    border-radius: 999px;
    padding: 8px 13px;
    background: #fff;
    color: #637168;
    font-size: 0.76rem;
    font-weight: 570;
}
.stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.stat-card {
    position: relative;
    min-height: 166px;
    gap: 0;
    overflow: hidden;
    border: 1px solid #e7ebe8;
    border-radius: 13px;
    padding: 22px 23px 18px;
    background: #fff;
    box-shadow: 0 2px 7px #17392405;
}
.stat-card:hover {
    transform: translateY(-2px);
    border-color: #d4e6da;
    box-shadow: 0 9px 24px #1739240c;
}
.stat-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: #eaf6ee;
    color: #25845f;
}
.stat-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.stat-posts .stat-icon {
    background: #f1edff;
    color: #7864c8;
}
.stat-label {
    position: absolute;
    top: 29px;
    left: 71px;
    color: #68766d;
    font-size: 0.84rem;
    font-weight: 560;
}
.stat-card strong {
    display: block;
    margin-top: 13px;
    font-size: 2.15rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
}
.stat-foot {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 11px;
    color: #78847d;
    font-size: 0.77rem;
}
.stat-projects .stat-foot span {
    color: var(--green);
}
.quick-actions {
    margin-top: 36px;
}
.subsection-heading,
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.subsection-heading {
    margin-bottom: 14px;
}
.subsection-heading h2,
.panel-heading h2 {
    margin: 0;
    font-size: 1.04rem;
    letter-spacing: -0.03em;
}
.subsection-heading p,
.panel-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.77rem;
}
.action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}
.action-card {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 14px;
    border: 1px solid #e7ebe8;
    border-radius: 11px;
    padding: 15px 17px;
    background: #fff;
}
.action-card:hover {
    transform: translateY(-2px);
    border-color: #cfe4d6;
    box-shadow: 0 8px 20px #1739240b;
}
.action-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: #eaf6ee;
    color: var(--green-dark);
    font-size: 1.35rem;
}
.action-icon-lilac {
    background: #f1edff;
    color: #7864c8;
    font-size: 1.08rem;
}
.action-card > span:nth-child(2) {
    display: grid;
    flex: 1;
    gap: 3px;
}
.action-card strong {
    font-size: 0.85rem;
}
.action-card small {
    color: var(--muted);
    font-size: 0.73rem;
}
.action-arrow {
    color: #93a097;
    font-size: 1rem;
}
.recent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 35px;
}
.recent-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e7ebe8;
    border-radius: 12px;
    background: #fff;
}
.panel-heading {
    min-height: 71px;
    border-bottom: 1px solid #edf0ee;
    padding: 15px 18px;
}
.panel-heading a {
    flex: 0 0 auto;
    color: var(--green-dark);
    font-size: 0.76rem;
    font-weight: 650;
}
.recent-row {
    display: flex;
    min-height: 66px;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid #f0f2f0;
    padding: 10px 17px;
}
.recent-row:last-of-type {
    border-bottom: 0;
}
.recent-row:hover {
    background: #fafcfb;
}
.recent-thumb {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 8px;
    object-fit: cover;
}
.thumb-placeholder {
    display: grid;
    place-items: center;
    background: #eaf5ed;
    color: #438363;
    font-size: 0.9rem;
    font-weight: 700;
}
.thumb-post {
    background: #f1edff;
    color: #7864c8;
}
.recent-copy {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 2px;
}
.recent-copy strong {
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.recent-copy small {
    color: var(--muted);
    font-size: 0.69rem;
}
.recent-row .status-pill {
    flex: 0 0 auto;
}
.recent-empty {
    margin: 0;
    padding: 21px 18px;
    color: var(--muted);
    font-size: 0.8rem;
}

.admin-list-page {
    min-height: calc(100vh - 123px);
    padding: 42px 0 55px;
}
.list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}
.list-heading h1 {
    margin: 0 0 9px;
    font-size: clamp(1.85rem, 3vw, 2.3rem);
    letter-spacing: -0.05em;
}
.list-heading .button {
    flex: 0 0 auto;
}
.list-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    border: 1px solid #e7ebe8;
    border-bottom: 0;
    border-radius: 11px 11px 0 0;
    background: #fff;
    color: #8a958e;
    font-size: 0.73rem;
}
.list-toolbar strong {
    color: #47564d;
}
.admin-table-wrap {
    overflow: auto;
    border-color: #e7ebe8;
    border-radius: 0 0 11px 11px;
    background: #fff;
    box-shadow: 0 3px 12px #17392404;
}
.admin-table-wrap table {
    min-width: 620px;
}
.admin-table-wrap th {
    padding: 11px 16px;
    border-bottom: 1px solid #edf0ee;
    background: #fbfcfb;
    color: #87928b;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
}
.admin-table-wrap td {
    height: 76px;
    padding: 11px 16px;
    border-bottom-color: #eff2f0;
    font-size: 0.78rem;
}
.admin-table-wrap tbody tr {
    transition: background 0.14s ease;
}
.admin-table-wrap tbody tr:hover {
    background: #fbfdfb;
}
.admin-table-wrap tbody tr:last-child td {
    border-bottom: 0;
}
.table-item {
    display: flex;
    min-width: 230px;
    align-items: center;
    gap: 12px;
}
.table-thumb {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 8px;
    object-fit: cover;
}
.table-item > span:last-child {
    display: grid;
    min-width: 0;
    gap: 4px;
}
.table-item strong {
    color: #26332b;
    font-size: 0.81rem;
    font-weight: 650;
}
.table-item small {
    max-width: 310px;
    overflow: hidden;
    color: #8a958e;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    background: #f0f2f0;
    color: #6f7b73;
    font-size: 0.67rem;
    font-weight: 650;
    white-space: nowrap;
}
.status-pill.is-published {
    background: #e8f6ec;
    color: #28774c;
}
.date-cell {
    color: #77837b;
    white-space: nowrap;
}
.table-actions {
    justify-content: flex-end;
    gap: 8px;
}
.table-actions form {
    margin: 0;
}
.row-edit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #e1e8e3;
    border-radius: 7px;
    padding: 6px 9px;
    color: #397858;
    font-size: 0.73rem;
    font-weight: 650;
}
.row-edit:hover {
    border-color: #c9e1d1;
    background: #eff8f1;
    color: var(--green-dark);
}
.icon-delete {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #9b8582;
    cursor: pointer;
}
.icon-delete svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}
.icon-delete:hover {
    border-color: #f2d7d4;
    background: #fff4f2;
    color: var(--danger);
}
.empty-panel {
    display: grid;
    min-height: 300px;
    justify-items: center;
    align-content: center;
    border: 1px dashed #dce5df;
    border-radius: 13px;
    padding: 35px 20px;
    background: #fff;
    text-align: center;
}
.empty-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 15px;
    background: #eaf6ee;
    color: var(--green);
    font-size: 1.6rem;
}
.empty-icon-post {
    background: #f1edff;
    color: #7864c8;
}
.empty-panel h2 {
    margin: 17px 0 7px;
    font-size: 1.12rem;
    letter-spacing: -0.03em;
}
.empty-panel p {
    max-width: 370px;
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 0.81rem;
}
.pagination {
    margin-top: 20px;
}
.pagination a,
.pagination span[aria-current] span {
    border-color: #e5eae6;
    background: #fff;
    color: #55645a;
    font-size: 0.78rem;
}
.pagination span[aria-current] span {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}

.form-page {
    width: min(900px, calc(100% - 80px)) !important;
    max-width: 900px;
}
.form-page > .back-link {
    margin-bottom: 19px;
    color: #63776a;
    font-size: 0.8rem;
}
.compact-intro {
    padding-bottom: 21px;
}
.compact-intro .eyebrow {
    margin-bottom: 8px;
}
.compact-intro h1 {
    font-size: 2rem;
}
.form-card {
    border-color: #e6ebe7;
    border-radius: 12px;
    padding: 27px 30px;
    box-shadow: 0 3px 13px #16372007;
}
.form-grid {
    gap: 16px 22px;
}
.field > label,
.form-card > label:not(.checkbox-row) {
    margin: 0 0 7px;
    color: #3f4c44;
    font-size: 0.79rem;
    font-weight: 650;
}
.field > label span:not(.label-hint) {
    color: var(--danger);
}
.label-hint {
    margin-top: 6px;
    color: #89958d;
    font-size: 0.7rem;
    line-height: 1.55;
}
.form-card input:not([type="checkbox"]),
.form-card textarea {
    min-height: 41px;
    border-color: #dfe6e1;
    border-radius: 7px;
    padding: 9px 11px;
    font-size: 0.82rem;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
.form-card textarea {
    min-height: auto;
    resize: vertical;
    line-height: 1.6;
}
.form-card input::placeholder,
.form-card textarea::placeholder {
    color: #a8b1ab;
}
.form-card input:focus,
.form-card textarea:focus {
    outline: 0;
    border-color: #62a77f;
    box-shadow: 0 0 0 3px #25845f18;
}
.form-card input[type="file"] {
    min-height: auto;
    border: 1px dashed #cfdad2;
    background: #fafcfb;
}
.form-card input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
.checkbox-row {
    margin: 3px 0;
    color: #4f5c54;
    font-size: 0.78rem;
}
.form-actions {
    gap: 12px;
    margin-top: 23px;
    padding-top: 18px;
}
.form-actions .text-link {
    font-size: 0.79rem;
}
.form-actions .button {
    min-width: 135px;
}
.upload-preview {
    width: min(360px, 100%);
    max-height: 210px;
    border-radius: 9px;
}
.field-error {
    font-size: 0.73rem;
}
.form-card .error-summary {
    margin-top: 8px;
}

.login-header-label {
    color: #829087;
    font-size: 0.63rem;
}
.auth-main {
    min-height: calc(100vh - 153px);
}
.login-page {
    display: grid;
    min-height: calc(100vh - 153px);
    grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
    background: #fff;
}
.login-showcase {
    position: relative;
    display: flex;
    min-height: 590px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 42px clamp(36px, 7vw, 105px) 33px;
    background: #172b24;
    color: #fff;
    isolation: isolate;
}
.showcase-brand {
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
    font-weight: 750;
    letter-spacing: -0.05em;
}
.showcase-brand span {
    color: #83d2a9;
}
.showcase-copy {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 42px 0;
}
.showcase-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: #abd2bc;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}
.showcase-kicker span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #71d59f;
    box-shadow: 0 0 0 4px #71d59f21;
}
.showcase-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.7rem, 5.3vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 0.99;
}
.showcase-copy h1 em {
    color: #83d2a9;
    font-style: normal;
}
.showcase-copy p {
    max-width: 390px;
    margin: 0;
    color: #b1c3b9;
    font-size: 0.91rem;
    line-height: 1.8;
}
.showcase-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #93aa9d;
    font-size: 0.57rem;
    font-weight: 650;
    letter-spacing: 0.12em;
}
.showcase-foot i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #70c795;
}
.showcase-orb {
    position: absolute;
    z-index: -1;
    border: 1px solid #b0e2c31b;
    border-radius: 50%;
    pointer-events: none;
}
.orb-one {
    right: -220px;
    bottom: 15%;
    width: 570px;
    height: 570px;
    box-shadow:
        0 0 0 44px #b0e2c308,
        0 0 0 90px #b0e2c306,
        0 0 0 140px #b0e2c304;
}
.orb-two {
    top: 18%;
    right: 8%;
    width: 9px;
    height: 9px;
    border: 0;
    background: #83d2a9;
    box-shadow: 0 0 30px 8px #83d2a93b;
}
.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px clamp(34px, 7vw, 100px);
}
.login-form {
    width: min(390px, 100%);
    margin-inline: auto;
}
.login-form-heading {
    margin-bottom: 30px;
}
.login-form-heading .eyebrow {
    margin-bottom: 12px;
    color: var(--green);
    font-size: 0.62rem;
}
.login-form-heading h2 {
    margin: 0 0 9px;
    font-size: 1.72rem;
    letter-spacing: -0.055em;
}
.login-form-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}
.login-field {
    display: grid;
    gap: 7px;
    margin-top: 19px;
}
.login-field label {
    color: #45534a;
    font-size: 0.76rem;
    font-weight: 650;
}
.login-field input {
    width: 100%;
    height: 46px;
    border: 1px solid #dfe6e1;
    border-radius: 8px;
    padding: 0 13px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
.login-field input::placeholder {
    color: #a7b0aa;
}
.login-field input:focus {
    outline: 0;
    border-color: #62a77f;
    box-shadow: 0 0 0 3px #25845f18;
}
.login-remember {
    margin: 16px 0 20px;
    font-size: 0.75rem;
}
.login-submit {
    min-height: 47px;
    justify-content: space-between;
    padding-inline: 16px;
    font-size: 0.81rem;
}
.login-submit span {
    font-size: 1rem;
}
.login-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 21px 0 0;
    color: #929d96;
    font-size: 0.69rem;
}
.login-security svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}
.login-panel-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 50px;
    color: #9aa49e;
    font-size: 0.64rem;
}
.login-panel-foot span {
    font-size: 0.57rem;
    font-weight: 650;
    letter-spacing: 0.12em;
}

@media (max-width: 1000px) {
    .admin-shell {
        grid-template-columns: 226px minmax(0, 1fr);
    }
    .admin-content > .section,
    .admin-content > .page-intro,
    .dashboard-page,
    .admin-list-page {
        width: calc(100% - 52px);
    }
    .login-page {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
    }
    .login-showcase {
        padding-inline: 48px;
    }
    .login-panel {
        padding-inline: 42px;
    }
    .recent-grid {
        gap: 13px;
    }
}

@media (max-width: 760px) {
    .admin-shell {
        display: block;
    }
    .admin-sidebar {
        position: relative;
        min-height: auto;
        padding: 15px 18px 12px;
    }
    .sidebar-brand {
        padding: 0 2px;
    }
    .sidebar-brand small {
        display: none;
    }
    .sidebar-label {
        display: none;
    }
    .sidebar-nav {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        margin-top: 14px;
    }
    .sidebar-link {
        min-height: 41px;
        flex: 0 0 auto;
        gap: 8px;
        padding: 8px 10px;
        font-size: 0.82rem;
    }
    .sidebar-dropdown {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
    }
    .sidebar-dropdown-toggle {
        width: auto;
    }
    .sidebar-dropdown-menu {
        display: flex;
        gap: 3px;
        padding: 0 0 0 3px;
    }
    .sidebar-sub-link {
        min-height: 38px;
        flex: 0 0 auto;
        padding: 7px 9px;
        font-size: 0.79rem;
    }
    .sidebar-dropdown-toggle .sidebar-chevron {
        width: 13px;
        height: 13px;
    }
    .sidebar-link.is-active::before {
        top: auto;
        right: 10px;
        bottom: -12px;
        left: 10px;
        width: auto;
        height: 3px;
        border-radius: 3px 3px 0 0;
    }
    .sidebar-account {
        display: none;
    }
    .admin-main-column {
        min-height: calc(100vh - 112px);
    }
    .admin-topbar {
        min-height: 54px;
        padding-inline: 25px;
    }
    .admin-content > .section,
    .admin-content > .page-intro,
    .dashboard-page,
    .admin-list-page {
        width: calc(100% - 44px);
    }
    .admin-content .page-intro {
        padding-top: 31px;
    }
    .admin-content .section {
        padding-top: 26px;
    }
    .dashboard-page,
    .admin-list-page {
        padding-top: 31px;
    }
    .admin-footer {
        padding-inline: 25px;
    }
    .login-page {
        min-height: auto;
        grid-template-columns: 1fr;
    }
    .login-showcase {
        min-height: 330px;
        padding: 26px 30px 23px;
    }
    .showcase-copy {
        margin: 34px 0;
    }
    .showcase-copy h1 {
        font-size: clamp(2.5rem, 8vw, 3.8rem);
    }
    .showcase-copy p {
        max-width: 450px;
        font-size: 0.82rem;
    }
    .orb-one {
        right: -180px;
        bottom: -270px;
        width: 470px;
        height: 470px;
    }
    .login-panel {
        padding: 48px 28px 27px;
    }
    .login-panel-foot {
        padding-top: 35px;
    }
    .auth-main {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .sidebar-dropdown-menu {
        gap: 1px;
    }
    .sidebar-sub-link {
        min-height: 36px;
        gap: 6px;
        padding-inline: 7px;
        font-size: 0.75rem;
    }
}

@media (max-width: 560px) {
    .admin-topbar {
        padding-inline: 17px;
    }
    .topbar-user {
        display: none;
    }
    .admin-content > .section,
    .admin-content > .page-intro,
    .dashboard-page,
    .admin-list-page {
        width: calc(100% - 32px);
    }
    .admin-content .page-intro {
        padding-top: 28px;
    }
    .admin-footer {
        min-height: 51px;
        padding-inline: 17px;
        font-size: 0.66rem;
    }
    .dashboard-page,
    .admin-list-page {
        padding-top: 27px;
    }
    .dashboard-heading {
        align-items: flex-start;
    }
    .dashboard-heading h1 {
        font-size: 1.55rem;
    }
    .dashboard-heading > div > p:last-child {
        max-width: 255px;
        font-size: 0.78rem;
    }
    .today-pill {
        padding: 6px 9px;
        font-size: 0.65rem;
    }
    .stats-grid,
    .action-grid,
    .recent-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        gap: 11px;
    }
    .stat-card {
        min-height: 145px;
        padding: 18px;
    }
    .quick-actions,
    .recent-grid {
        margin-top: 26px;
    }
    .action-grid {
        gap: 10px;
    }
    .recent-grid {
        gap: 12px;
    }
    .list-heading {
        align-items: flex-start;
    }
    .list-heading h1 {
        font-size: 1.8rem;
    }
    .list-heading > div > p:last-child {
        max-width: 220px;
        font-size: 0.76rem;
    }
    .list-heading .button {
        min-height: 40px;
        gap: 5px;
        padding: 7px 10px;
        font-size: 0.72rem;
        white-space: nowrap;
    }
    .list-toolbar > span:last-child {
        display: none;
    }
    .form-page {
        width: calc(100% - 32px) !important;
    }
    .form-page .form-card {
        padding: 20px 17px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .field-wide {
        grid-column: auto;
    }
    .compact-intro h1 {
        font-size: 1.75rem;
    }
    .form-actions .button {
        min-width: 120px;
    }
    .login-showcase {
        min-height: 300px;
        padding: 23px 22px 20px;
    }
    .showcase-copy {
        margin: 27px 0;
    }
    .showcase-copy h1 {
        font-size: 2.6rem;
    }
    .showcase-copy p {
        max-width: 330px;
        font-size: 0.75rem;
    }
    .showcase-foot {
        gap: 8px;
        font-size: 0.49rem;
    }
    .login-panel {
        padding: 39px 23px 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.sidebar-logo {
    display: block;
    width: auto;
    max-width: 170px;
    max-height: 42px;
    object-fit: contain;
    object-position: left center;
}
.admin-settings-page {
    width: min(980px, calc(100% - 80px));
    margin-inline: auto;
    padding: 42px 0 54px;
}
.settings-heading {
    margin-bottom: 25px;
}
.settings-heading h1 {
    margin-bottom: 9px;
    font-size: clamp(1.85rem, 3vw, 2.3rem);
    letter-spacing: -0.05em;
}
.settings-heading > div > p:last-child {
    max-width: 590px;
}
.settings-saved-note {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    border: 1px solid #e4ebe6;
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: #738078;
    font-size: 0.7rem;
}
.settings-saved-note > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4da874;
    box-shadow: 0 0 0 3px #4da8741c;
}
.settings-error {
    display: grid;
    gap: 3px;
    margin: 0 0 17px;
}
.settings-error strong {
    font-size: 0.8rem;
}
.settings-error span {
    font-size: 0.74rem;
}
.settings-form {
    display: grid;
    gap: 16px;
}
.settings-card {
    min-width: 0;
    border: 1px solid #e6ebe7;
    border-radius: 12px;
    padding: 22px 24px 24px;
    background: #fff;
    box-shadow: 0 3px 12px #18372105;
}
.settings-card-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 21px;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf0ee;
}
.settings-section-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: #eaf6ee;
    color: #2b8058;
}
.settings-section-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}
.social-icon {
    background: #eef2ff;
    color: #5e71bc;
}
.appearance-icon {
    background: #fff4e7;
    color: #c17c33;
}
.seo-icon {
    background: #f2edff;
    color: #7964c4;
}
.settings-card-heading h2 {
    margin: 0 0 4px;
    font-size: 0.98rem;
    letter-spacing: -0.03em;
}
.settings-card-heading p {
    margin: 0;
    color: #89948d;
    font-size: 0.72rem;
}
.settings-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 20px;
}
.settings-fields .field-wide {
    grid-column: 1 / -1;
}
.settings-fields .field {
    min-width: 0;
}
.settings-fields .field > label {
    display: block;
    margin: 0 0 7px;
    color: #49564d;
    font-size: 0.76rem;
    font-weight: 650;
}
.settings-fields .field > label span:not(.label-hint) {
    color: var(--danger);
}
.settings-fields .field > input:not([type="file"]),
.settings-fields .field textarea,
.input-with-icon {
    width: 100%;
    min-height: 41px;
    border: 1px solid #dfe6e1;
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.79rem;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
.settings-fields .field > input:not([type="file"]),
.settings-fields .field textarea {
    padding: 9px 11px;
}
.settings-fields .field textarea {
    display: block;
    resize: vertical;
    line-height: 1.6;
}
.settings-fields .field > input::placeholder,
.settings-fields .field textarea::placeholder,
.input-with-icon input::placeholder {
    color: #a5afa8;
}
.settings-fields .field > input:focus,
.settings-fields .field textarea:focus,
.input-with-icon:focus-within {
    outline: 0;
    border-color: #62a77f;
    box-shadow: 0 0 0 3px #25845f18;
}
.settings-fields .field > input[type="file"] {
    width: 100%;
    min-height: 40px;
    border: 1px dashed #cfdad2;
    border-radius: 7px;
    padding: 8px;
    background: #fafcfb;
    color: #68766d;
    font: inherit;
    font-size: 0.72rem;
}
.input-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
}
.input-with-icon > span {
    color: #84928a;
    font-size: 0.9rem;
}
.input-with-icon input {
    width: 100%;
    min-width: 0;
    height: 39px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.79rem;
}
.color-input {
    display: flex;
    min-height: 41px;
    align-items: center;
    gap: 10px;
    border: 1px solid #dfe6e1;
    border-radius: 7px;
    padding: 5px 9px;
}
.color-input input[type="color"] {
    width: 29px;
    height: 27px;
    overflow: hidden;
    border: 1px solid #e2e8e4;
    border-radius: 6px;
    padding: 2px;
    background: #fff;
    cursor: pointer;
}
.color-input span {
    color: #6d7971;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.74rem;
}
.settings-image-preview {
    display: block;
    max-width: 100%;
    margin: 0 0 10px;
    border: 1px solid #e6ebe7;
    border-radius: 8px;
    background: #f8faf8;
    object-fit: contain;
}
.logo-preview {
    width: 220px;
    height: 82px;
    padding: 9px;
}
.favicon-preview {
    width: 64px;
    height: 64px;
    padding: 6px;
}
.settings-form-actions {
    display: flex;
    justify-content: flex-end;
    padding: 3px 0 0;
}
.settings-form-actions .button {
    min-width: 146px;
}
.settings-reset-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 27px;
    border: 1px solid #f0dfdc;
    border-radius: 11px;
    padding: 17px 20px;
    background: #fffdfc;
}
.settings-reset-card h2 {
    margin: 0 0 5px;
    color: #684846;
    font-size: 0.83rem;
    letter-spacing: -0.01em;
}
.settings-reset-card p {
    max-width: 530px;
    margin: 0;
    color: #98827f;
    font-size: 0.7rem;
    line-height: 1.6;
}
.settings-reset-card form {
    flex: 0 0 auto;
}
.button-danger-outline {
    min-height: 38px;
    border-color: #ecd5d1;
    background: #fff;
    color: #a34f48;
    font-size: 0.72rem;
    box-shadow: none;
}
.button-danger-outline:hover {
    border-color: #dbb8b2;
    background: #fff4f2;
    color: #963e37;
}

@media (max-width: 1000px) {
    .admin-settings-page {
        width: calc(100% - 52px);
    }
}

@media (max-width: 760px) {
    .admin-settings-page {
        width: calc(100% - 44px);
        padding-top: 31px;
    }
}

@media (max-width: 560px) {
    .sidebar-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px 8px;
        overflow: visible;
    }
    .sidebar-link {
        min-width: 0;
        justify-content: flex-start;
        white-space: nowrap;
    }
    .sidebar-link.is-active::before {
        top: 9px;
        right: auto;
        bottom: 9px;
        left: 0;
        width: 3px;
        height: auto;
        border-radius: 0 3px 3px 0;
    }
    .admin-settings-page {
        width: calc(100% - 32px);
        padding-top: 27px;
    }
    .settings-heading {
        align-items: flex-start;
    }
    .settings-heading h1 {
        font-size: 1.8rem;
    }
    .settings-heading > div > p:last-child {
        max-width: 240px;
        font-size: 0.76rem;
    }
    .settings-saved-note {
        max-width: 130px;
        padding: 7px 9px;
        font-size: 0.62rem;
    }
    .settings-card {
        padding: 17px 15px 19px;
    }
    .settings-card-heading {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 17px;
        padding-bottom: 14px;
    }
    .settings-section-icon {
        width: 35px;
        height: 35px;
        border-radius: 9px;
    }
    .settings-card-heading h2 {
        font-size: 0.9rem;
    }
    .settings-card-heading p {
        font-size: 0.67rem;
    }
    .settings-fields {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .settings-fields .field-wide {
        grid-column: auto;
    }
    .settings-reset-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }
}
