:root {
    --navy: #061b3a;
    --blue: #0d4f9e;
    --sky: #028aec;
    --ice: #eef8ff;
    --line: #d8e6f4;
    --ink: #12243d;
    --muted: #5f7188;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(6, 27, 58, 0.12);
    --font-sans: "Google Sans", "Product Sans", Inter, Arial, Helvetica, sans-serif;
    --admin-bg: #f4f8fb;
    --admin-panel: #ffffff;
    --admin-panel-soft: #f8fbfd;
    --admin-primary: #253080;
    --admin-primary-dark: #18205d;
    --admin-primary-soft: #edf1ff;
    --admin-brand-blue: #1c75bc;
    --admin-brand-cyan: #27aae1;
    --admin-line: #d8e3ee;
    --admin-line-strong: #c7d6e5;
    --admin-shadow: 0 14px 40px rgba(37, 48, 128, 0.08);
    --sidebar-width: 292px;
    --sidebar-collapsed-width: 86px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-sans);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: var(--blue);
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}



.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 64px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}

.brand-logo {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border: none;
    border-radius: 8px;
    color: var(--navy);
    background: #fff;
    cursor: pointer;
    font-size: 18px;
}

.main-nav,
.admin-header nav {
    display: flex;
    align-items: center;
    gap: 3vw;
    flex-wrap: wrap;
}

.main-nav a,
.admin-header a {
    position: relative;
    color: var(--ink);
    padding: 8px 3px;
    font-size: 14px;
}

.main-nav a:hover,
.main-nav .is-active {
    color: var(--navy);
}

.main-nav a::after {
    position: absolute;
    right: 3px;
    bottom: 2px;
    left: 3px;
    height: 2px;
    background: var(--sky);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav .is-active::after {
    transform: scaleX(1);
}

.hero,
.page-hero {
    position: relative;
    display: grid;
    min-height: 560px;
    align-items: center;
    padding: clamp(64px, 10vw, 118px) clamp(18px, 4vw, 64px);
    color: var(--white);
    background-image: linear-gradient(90deg, rgba(6, 27, 58, 0.88), rgba(13, 79, 158, 0.54)), var(--hero-image);
    background-position: center;
    background-size: cover;
}

.hero-slider {
    overflow: hidden;
    background-image: none;
}

.hero-slides,
.hero-slide,
.hero-slider::before {
    position: absolute;
    inset: 0;
}

.hero-slides {
    z-index: 0;
}

.hero-slider .eyebrow {
    color: var(--line);
}

.hero-slide {
    background-image: var(--slide-image);
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 900ms ease, transform 6500ms ease;
}

@supports (background-image: image-set(url("") 1x)) {
    .hero-slide {
        background-image: var(--slide-image-set, var(--slide-image));
    }
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slider::before {
    z-index: 1;
    background: linear-gradient(90deg, rgba(6, 27, 58, 0.9), rgba(13, 79, 158, 0.46));
    content: "";
    pointer-events: none;
}

.hero-slider .hero-inner,
.hero-slider-controls {
    position: relative;
    z-index: 2;
}

.hero-slider .hero-inner {
    animation: heroFadeUp 760ms ease both;
}

.hero-fade-up {
    animation: heroFadeUp 760ms ease both;
}

.hero-fade-right {
    animation: heroFadeRight 760ms ease both;
}

.hero-fade-left {
    animation: heroFadeLeft 760ms ease both;
}

.hero-fade-soft {
    animation: heroFadeSoft 760ms ease both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeRight {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroFadeLeft {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroFadeSoft {
    from {
        opacity: 0;
        transform: scale(0.985);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-slider-controls {
    display: flex;
    align-self: end;
    gap: 10px;
    margin-top: 34px;
}

.hero-slider-controls button {
    width: 36px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

.hero-slider-controls button.is-active,
.hero-slider-controls button:hover {
    background: var(--sky);
}

.page-hero {
    min-height: 360px;
    justify-items: center;
    text-align: center;
}

.hero-inner {
    width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--sky);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(40px, 7vw, 74px);
    line-height: 1.05;
}

h2 {
    color: var(--navy);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
}

h3 {
    color: var(--navy);
}

.hero p {
    width: min(640px, 100%);
    color: #dbeeff;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.button.primary {
    color: var(--white);
    background: var(--blue);
}

.button.secondary {
    color: var(--navy);
    background: var(--ice);
    border: 1px solid var(--line);
}

.section {
    padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 64px);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 720ms ease, transform 720ms ease;
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-body .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.scroll-reveal:nth-of-type(2n) {
    transition-delay: 80ms;
}

.scroll-reveal:nth-of-type(3n) {
    transition-delay: 140ms;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal:nth-of-type(2n),
    .scroll-reveal:nth-of-type(3n) {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.section > * {
    width: min(1120px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.intro-grid,
.contact-section,
.service-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: stretch;
}

.intro-grid > *,
.contact-section > *,
.service-detail > * {
    width: auto;
}

.what-we-do {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.intro-copy {
    display: grid;
    align-self: stretch;
    align-content: center;
    gap: 12px;
    height: auto;
    padding-block: 2em;
}

.intro-copy h2,
.intro-copy p {
    margin-bottom: 0;
}

.intro-copy p {
    color: var(--muted);
    font-size: 18px;
}

.text-link {
    width: fit-content;
    color: var(--blue);
    font-weight: 800;
}

.text-link::after {
    content: " \2192";
}

.text-link:hover {
    color: var(--navy);
}

.intro-media {
    align-self: stretch;
    display: block;
    margin: 0;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.intro-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-overview {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 0.95fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.about-overview > * {
    width: auto;
}

.about-media {
    margin: 0;
}

.about-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-copy {
    display: grid;
    gap: 14px;
}

.about-copy h2,
.about-copy p {
    margin-bottom: 0;
}

.about-copy p,
.about-cta p {
    color: var(--muted);
}

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

.about-values article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.about-values span {
    color: var(--sky);
    font-weight: 800;
}

.about-values p {
    margin-bottom: 0;
    color: var(--muted);
}

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.about-cta > * {
    width: auto;
}

.muted {
    background: var(--ice);
}

.section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.service-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.service-card h2{
    font-size: clamp(20px, 2vw, 30px);
}

.service-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.service-card div {
    padding: 24px;
}

.service-card a {
    font-weight: 800;
}

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

.career-card {
    display: grid;
    gap: 22px;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.career-card-head {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.career-card-head h2,
.career-card-body h3 {
    margin: 0;
    color: var(--navy);
}

.career-card-head strong {
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--blue);
    background: var(--ice);
}

.career-card-body {
    display: grid;
    gap: 20px;
}

.career-card .button {
    width: fit-content;
}

.band {
    display: grid;
    min-height: 230px;
    place-items: center;
    padding: 46px 20px;
    text-align: center;
    color: var(--white);
    background-image: linear-gradient(rgba(6, 27, 58, 0.62), rgba(13, 79, 158, 0.45)), url('../uploads/9e260b9b-85b3-4c13-b834-de17e694e9bb.webp');
    background-position: center;
    background-size: cover;
}

.band span,
.band strong {
    display: block;
}

.band strong {
    font-size: clamp(30px, 5vw, 50px);
    line-height: 1.1;
}

.news-list {
    display: grid;
    gap: 18px;
}

.page-title {
    display: grid;
    justify-items: center;
    padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 64px);
    background: var(--ice);
    text-align: center;
}

.page-title > * {
    width: min(980px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.page-title .section-kicker {
    width: auto;
}

.page-title h1 {
    margin-bottom: 18px;
    color: var(--navy);
}

.page-title p {
    width: min(760px, 100%);
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
}

.news-item {
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.news-preview .news-item,
.news-list .news-item {
    display: grid;
    grid-template-columns: 0.1fr 0.2fr 1fr;
    gap: 22px;
    align-items: start;
}

.news-preview .news-item {
    grid-template-columns: 86px 220px minmax(0, 1fr);
    align-items: center;
}

.news-date-badge {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 104px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.news-date-badge strong {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 0;
}

.news-date-badge span,
.news-date-badge small {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

.news-date-badge small {
    margin-top: 2px;
}

.news-thumb {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--ice);
}

.news-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 220ms ease;
}

.news-thumb:hover img {
    transform: scale(1.04);
}

.news-content {
    display: grid;
    gap: 6px;
}

.news-content h2,
.news-content h3,
.news-content p {
    margin-bottom: 0;
}

.news-item time,
.article time {
    color: var(--blue);
    font-weight: 800;
    font-size: 14px;
}

.membership-carousel {
    display: grid;
    gap: 30px;
    padding-top: 38px;
    padding-bottom: 38px;
    background: #fff;
    text-align: center;
}

.membership-carousel h2 {
    max-width: 820px;
    margin: 0 auto;
    color: #06162d;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.22;
}

.membership-slider {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 14px;
    align-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.membership-window {
    overflow: hidden;
}

.membership-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 64px) / 5);
    gap: 16px;
    align-items: center;
    transition: transform 360ms ease;
}

.membership-logo {
    display: grid;
    min-width: 0;
    height: 92px;
    margin: 0;
    place-items: center;
}

.membership-logo img {
    display: block;
    width: 100%;
    max-width: 230px;
    max-height: 86px;
    object-fit: contain;
}

.membership-arrow {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: rgba(6, 22, 45, 0.24);
    background: transparent;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

.membership-arrow:hover {
    color: var(--blue);
    background: var(--ice);
}

.membership-arrow:disabled {
    opacity: 0.32;
    cursor: not-allowed;
}

.partners-carousel {
    display: grid;
    gap: 30px;
    padding-top: 38px;
    padding-bottom: 38px;
    text-align: center;
}

.partners-carousel h2 {
    max-width: 820px;
    margin: 0 auto;
    color: #06162d;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.22;
}

.partners-slider {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 14px;
    align-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.partners-window {
    overflow: hidden;
}

.partners-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 54px) / 4);
    gap: 18px;
    align-items: center;
    transition: transform 360ms ease;
}

.partner-logo {
    display: grid;
    min-width: 0;
    height: 96px;
    margin: 0;
    place-items: center;
}

.partner-logo a {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.partner-logo img {
    display: block;
    width: 100%;
    max-width: 230px;
    max-height: 86px;
    object-fit: contain;
}

.membership-carousel, .partners-carousel{
    padding:5em 0;
}

.article-featured {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.admin-thumb {
    width: 88px;
    height: 62px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--admin-line);
}

.media-field {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-panel-soft);
}

.media-field-head,
.media-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.media-field-head {
    justify-content: space-between;
}

.media-actions {
    flex-wrap: wrap;
}

.media-field-preview {
    display: grid;
    min-height: 132px;
    place-items: center;
    overflow: hidden;
    border: 1px dashed var(--admin-line-strong);
    border-radius: 8px;
    color: var(--muted);
    background: #fff;
}

.media-field-preview img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
}

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

.media-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(4, 18, 37, 0.58);
}

.media-modal.is-open {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
}

.media-modal-panel {
    width: min(920px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow: auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(6, 27, 58, 0.28);
}

.media-modal-panel.compact {
    width: min(460px, 100%);
    display: grid;
    gap: 16px;
    padding-bottom: 18px;
}

.media-modal-panel.compact label,
.media-modal-panel.compact .form-note {
    margin-inline: 18px;
}

.media-modal-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--admin-line);
    background: #fff;
}

.media-modal-head h3 {
    margin: 0;
    font-size: 18px;
}

.media-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    padding: 18px;
}

.media-pick-option {
    display: grid;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    cursor: pointer;
    text-align: left;
}

.media-pick-option:hover,
.media-pick-option.is-selected {
    border-color: #b9c8ff;
    background: var(--admin-primary-soft);
}

.media-pick-option img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    background: var(--admin-panel-soft);
}

.media-pick-option span {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    padding: 20px;
}

.media-card {
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: #fff;
}

.media-card-thumb {
    position: relative;
    background: var(--admin-panel-soft);
}

.media-card-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.media-delete-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(11, 31, 58, 0.16);
}

.media-delete-button:hover {
    background: #fff;
}

.media-delete-button:disabled {
    background: rgba(255, 255, 255, 0.78);
}

.media-card-body,
.media-card-actions {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.media-card small {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.icon-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.contact-section {
    color: var(--white);
    background: var(--navy);
}

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

.contact-section p {
    color: #d7e9fb;
}

.contact-form {
    width:100%;
    display: grid;
    gap: 18px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.contact-form label {
    color: var(--white);
}

.contact-form input,
.contact-form textarea {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.contact-form .button {
    width: fit-content;
    background: var(--sky);
    color: var(--navy);
}

.contact-form .button:disabled {
    opacity: 0.68;
    cursor: wait;
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: #d7e9fb;
    font-weight: 700;
}

.form-status.is-success {
    color: #bff7d5;
}

.form-status.is-error {
    color: #ffd1d1;
}

.detail-card {
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.service-detail img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    color: var(--blue);
    content: "\2713";
    font-weight: 900;
}

.faq {
    background: var(--ice);
}

.article {
    max-width: 920px;
    margin: 0 auto;
}

.related-section {
    background: var(--ice);
}

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

.related-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.related-thumb {
    display: block;
    overflow: hidden;
    background: var(--ice);
}

.related-thumb img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
    transition: transform 220ms ease;
}

.related-thumb:hover img {
    transform: scale(1.04);
}

.related-card div {
    display: grid;
    gap: 7px;
    padding: 22px;
}

.related-card h3,
.related-card p {
    margin-bottom: 0;
}

.related-card time {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.related-card p {
    color: var(--muted);
}

.related-archive-link {
    display: block;
    width: fit-content;
    margin: 26px auto 0;
}

.article h1,
.page-title h1 {
    color: var(--navy);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(160px, 0.7fr) minmax(230px, 1fr);
    gap: clamp(28px, 5vw, 64px);
    padding: 46px clamp(18px, 4vw, 64px);
    color: #d7e9fb;
    background: #041225;
}

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

.site-footer h3 {
    margin: 0 0 14px;
    font-size: 16px;
}

.site-footer p {
    margin: 0;
}

.footer-brand,
.footer-links,
.footer-contact {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-brand img {
    width: 120px;
    height: auto;
    margin-bottom: 8px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    width: min(390px, 100%);
}

.footer-links a,
.footer-contact p {
    color: #d7e9fb;
}

.footer-links a:hover {
    color: var(--sky);
}

.footer-contact strong {
    color: var(--sky);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: grid;
    gap: 4px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #9fb5ce;
    font-size: 13px;
}

.footer-bottom p,
.footer-bottom small {
    margin: 0;
}

.footer-bottom span::before {
    content: " | ";
    color: rgba(255, 255, 255, 0.32);
}

.admin-body {
    background: var(--admin-bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.45;
}

.admin-body button,
.admin-body input,
.admin-body select,
.admin-body textarea {
    font: inherit;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-card {
    width: min(460px, 100%);
    padding: clamp(26px, 5vw, 42px);
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-panel);
    box-shadow: var(--admin-shadow);
}

.auth-logo {
    display: block;
    width: min(180px, 100%);
    height: auto;
    margin-bottom: 20px;
}

.auth-card h1 {
    margin: 0;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.15;
}

.muted {
    color: var(--muted);
}

.auth-card .muted {
    margin: 8px 0 0;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    transition: grid-template-columns 180ms ease;
}

.sidebar-collapsed .app-shell {
    grid-template-columns: var(--sidebar-collapsed-width) minmax(0, 1fr);
}

.sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 22px;
    border-right: 1px solid var(--admin-line);
    background: #fff;
    box-shadow: 8px 0 28px rgba(37, 48, 128, 0.05);
}

.sidebar-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 10px;
    align-items: start;
    padding: 10px 0 18px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-brand {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.admin-brand-logo {
    display: block;
    width: min(210px, 100%);
    height: auto;
    object-fit: contain;
}

.admin-brand-icon {
    display: none;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.admin-brand small {
    color: var(--muted);
    font-weight: 700;
}

.sidebar-toggle {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    color: var(--admin-primary);
    background: #fff;
    cursor: pointer;
}

.sidebar-toggle:hover {
    border-color: #d6ddff;
    background: var(--admin-primary-soft);
}

.side-nav {
    display: grid;
    gap: 6px;
}

.side-nav a,
.ghost-button {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 8px;
    color: #40516a;
    font-weight: 700;
}

.side-nav i,
.ghost-button i {
    width: 18px;
    min-width: 18px;
    color: var(--admin-brand-blue);
    text-align: center;
}

.side-nav a.active,
.side-nav a:hover,
.ghost-button:hover {
    color: var(--admin-primary);
    background: var(--admin-primary-soft);
}

.ghost-button {
    width: 100%;
    margin-top: auto;
    border: 1px solid var(--admin-line);
    background: #fff;
}

.sidebar-collapsed .sidebar {
    align-items: center;
    padding: 18px 14px;
}

.sidebar-collapsed .sidebar-head {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 8px 0 16px;
}

.sidebar-collapsed .admin-brand {
    justify-items: center;
}

.sidebar-collapsed .admin-brand-logo,
.sidebar-collapsed .admin-brand small,
.sidebar-collapsed .side-nav span,
.sidebar-collapsed .ghost-button span {
    display: none;
}

.sidebar-collapsed .admin-brand-icon {
    display: block;
}

.sidebar-collapsed .side-nav,
.sidebar-collapsed .ghost-button {
    width: 100%;
}

.sidebar-collapsed .side-nav a,
.sidebar-collapsed .ghost-button {
    justify-content: center;
    padding: 12px;
}

.content {
    min-width: 0;
    padding: 30px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--admin-line);
}

.topbar h1,
.panel h2,
.auth-card h1 {
    margin: 0;
}

.topbar h1 {
    color: var(--ink);
    font-size: 28px;
    line-height: 1.15;
}

.topbar p,
.panel-header p {
    margin: 6px 0 0;
    color: var(--muted);
}

.user-pill {
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--admin-primary);
    background: var(--admin-primary-soft);
    font-size: 13px;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stats-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card,
.panel {
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-panel);
    box-shadow: var(--admin-shadow);
}

.stat-card {
    padding: 18px;
    border-top: 4px solid var(--admin-brand-cyan);
}

.stat-card span,
.stat-card small {
    color: var(--muted);
}

.stat-card strong {
    display: block;
    margin: 8px 0 4px;
    color: var(--admin-primary);
    font-size: 26px;
    line-height: 1.15;
}

.stat-card .stat-text {
    font-size: 17px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.panel {
    margin-bottom: 20px;
    overflow: hidden;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--admin-line);
    background: linear-gradient(180deg, #ffffff 0%, #f9fcfe 100%);
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.primary-button {
    color: #fff;
    background: var(--admin-primary);
    border-color: var(--admin-primary);
}

.primary-button:hover {
    background: var(--admin-primary-dark);
}

.danger-button,
.danger-button:hover {
    color: #fff;
    border-color: var(--danger);
    background: var(--danger);
}

.secondary-button {
    color: var(--admin-primary);
    background: #fff;
    border-color: var(--admin-line);
}

.secondary-button:hover {
    border-color: #d6ddff;
    background: var(--admin-primary-soft);
}

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

.admin-form.form-grid {
    padding: 20px;
}

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

.sub-panel {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-panel-soft);
}

.sub-panel legend {
    color: var(--admin-primary);
    font-weight: 800;
}

.button-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.repeater-stack {
    display: grid;
    gap: 16px;
}

.gallery-field {
    display: grid;
    gap: 12px;
    min-height: 210px;
    padding: 14px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: #fff;
}

.gallery-field p {
    margin: 0;
    color: #5a5660;
    font-size: 13px;
    font-weight: 800;
}

.gallery-field-grid {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 126px;
}

.gallery-field-item {
    position: relative;
    display: grid;
    gap: 7px;
    width: 118px;
    padding: 8px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: #fcfbf7;
}

.gallery-field-item.is-dragging {
    opacity: 0.58;
    outline: 2px solid var(--admin-brand-cyan);
}

.gallery-thumb {
    display: grid;
    width: 100%;
    aspect-ratio: 1.18 / 1;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-field-item > strong {
    overflow: hidden;
    color: var(--admin-primary);
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-chip {
    position: absolute;
    z-index: 1;
    top: 7px;
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 0;
    border-radius: 9px;
    color: var(--admin-primary);
    background: #eef1f1;
    cursor: grab;
}

.gallery-chip.drag-handle {
    left: 7px;
}

.gallery-chip.danger {
    right: 7px;
    color: #963015;
    background: #f9e1d6;
    cursor: pointer;
}

.gallery-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-toolbar .icon-button {
    width: 44px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: #f2ead8;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 9px;
    align-self: end;
    min-height: 42px;
    font-weight: 700;
}

.check-row input {
    width: 18px;
    height: 18px;
}

.danger-outline {
    color: var(--danger);
    border-color: #f2c8c8;
}

.danger-outline:hover {
    color: var(--danger);
    border-color: #efb1b1;
    background: #fff4f4;
}

.table-wrap {
    overflow-x: auto;
}

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

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--admin-line);
    text-align: left;
    vertical-align: top;
}

th {
    color: #344553;
    border-bottom-color: var(--admin-line-strong);
    background: #f2f7fb;
    font-size: 13px;
}

tbody tr:hover {
    background: #fbfdff;
}

.empty-cell {
    padding: 28px;
    color: var(--muted);
    text-align: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #7a5300;
    background: #fff4d8;
    font-size: 12px;
    font-weight: 800;
}

.status-pill.is-contacted {
    color: #0d4b2a;
    background: #e4f8eb;
}

.status-pill.is-closed {
    color: #465466;
    background: #edf1f5;
}

.enquiry-message {
    min-width: 260px;
    max-width: 430px;
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.actions form {
    margin: 0;
}

.icon-button {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    color: var(--admin-brand-blue);
    background: #fff;
    cursor: pointer;
}

.icon-button:hover {
    border-color: #d6ddff;
    color: var(--admin-primary);
    background: var(--admin-primary-soft);
}

.icon-button.danger {
    color: var(--danger);
}

.flash {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: 8px;
}

.flash.success {
    color: #0d4b2a;
    background: #edfbed;
}

.flash.warning {
    color: #725000;
    background: #fff8df;
}

.flash.error {
    color: #7a1d1d;
    background: #fff0f0;
}

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

.confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(4, 18, 37, 0.58);
}

.confirm-modal-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 16px;
    width: min(460px, 100%);
    padding: 22px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(6, 27, 58, 0.28);
}

.confirm-modal-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: var(--danger);
    background: #fff0f0;
}

.confirm-modal-copy {
    display: grid;
    gap: 6px;
}

.confirm-modal-copy h3,
.confirm-modal-copy p {
    margin: 0;
}

.confirm-modal-copy h3 {
    color: var(--admin-primary);
    font-size: 19px;
}

.confirm-modal-copy p {
    color: var(--muted);
    line-height: 1.55;
}

.confirm-modal-actions {
    grid-column: 1 / -1;
    justify-content: end;
    margin-top: 4px;
}

.form-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

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

.quick-grid a {
    display: grid;
    gap: 9px;
    padding: 18px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--admin-panel-soft);
}

.quick-grid a:hover {
    border-color: #d6ddff;
    background: var(--admin-primary-soft);
}

.quick-grid i {
    color: var(--admin-brand-blue);
    font-size: 22px;
}

.quick-grid strong {
    color: var(--admin-primary);
}

.quick-grid span {
    color: var(--muted);
    font-size: 13px;
}

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

.analytics-config-grid,
.analytics-metrics {
    padding: 0 20px;
}

.analytics-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.analytics-config-grid article,
.analytics-insight-card {
    padding: 15px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-panel-soft);
}

.analytics-config-grid span,
.analytics-status,
.seo-audit-row__type,
.seo-audit-count {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.analytics-config-grid strong {
    display: block;
    margin-top: 6px;
    color: var(--admin-primary);
    overflow-wrap: anywhere;
}

.analytics-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f3f5f7;
}

.analytics-status.is-connected {
    color: #126b3f;
    background: #e9f8ef;
}

.analytics-actions,
.analytics-filter {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px;
}

.analytics-actions form {
    display: inline-flex;
}

.analytics-filter label {
    display: grid;
    gap: 6px;
    min-width: 180px;
}

.analytics-table-wrap {
    overflow-x: auto;
    padding: 0 20px 20px;
}

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

.analytics-table th,
.analytics-table td {
    padding: 12px;
    border-bottom: 1px solid var(--admin-line);
    text-align: left;
}

.analytics-table th:not(:first-child),
.analytics-table td:not(:first-child) {
    text-align: right;
}

.dashboard-empty {
    margin: 0 20px 20px;
    padding: 16px;
    border: 1px dashed var(--admin-line-strong);
    border-radius: 8px;
    color: var(--muted);
    background: var(--admin-panel-soft);
}

.seo-audit-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr)) auto auto;
    gap: 12px;
    align-items: end;
    padding: 20px;
    border-bottom: 1px solid var(--admin-line);
}

.seo-audit-tools label {
    display: grid;
    gap: 6px;
}

.seo-audit-table {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.seo-audit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: #fff;
}

.seo-audit-row h3,
.seo-audit-row p {
    margin: 0;
}

.seo-audit-row p {
    color: var(--muted);
}

.seo-audit-row__score {
    min-width: 74px;
    text-align: center;
}

.seo-audit-row__score strong {
    display: block;
    color: var(--admin-primary);
    font-size: 28px;
}

.seo-audit-row__score span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.seo-audit-row__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: end;
}

.seo-check-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
}

.seo-check {
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 8px;
    background: #fff5f5;
}

.seo-check.is-pass {
    background: #edf9f1;
}

.seo-check strong {
    color: var(--ink);
    font-size: 12px;
}

.seo-check em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.seo-row-settings {
    grid-column: 1 / -1;
    padding: 0;
}

.seo-edit-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: var(--admin-panel-soft);
}

.seo-audit-empty {
    padding: 16px;
    border: 1px dashed var(--admin-line-strong);
    border-radius: 8px;
    color: var(--muted);
    background: var(--admin-panel-soft);
}

.login-box,
.admin-panel {
    width: min(980px, calc(100% - 32px));
    margin: 48px auto;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.login-box {
    width: min(460px, calc(100% - 32px));
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px clamp(18px, 4vw, 64px);
    color: var(--white);
    background: var(--navy);
}

.admin-header a {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--ink);
    font: inherit;
    font-weight: 400;
    background: var(--white);
}

fieldset {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

legend {
    color: var(--blue);
    font-weight: 800;
}

.alert {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: 8px;
    color: #7a1d1d;
    background: #fff0f0;
}

.alert.success {
    color: #0d4b2a;
    background: #edfbed;
}

.admin-list {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.admin-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-list time,
.admin-list strong {
    display: block;
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.row-actions form {
    margin: 0;
}

.row-actions button {
    border: 0;
    color: #a01818;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.admin-body .form-grid,
.admin-body .admin-form.form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.admin-body .two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-body label {
    color: #334450;
    font-weight: 700;
}

.admin-body input,
.admin-body textarea {
    min-height: 44px;
    border-color: var(--admin-line);
}

.admin-body textarea {
    resize: vertical;
}

.admin-body fieldset {
    margin: 0;
    border-color: var(--admin-line);
}

.admin-body .primary-button,
.admin-body .secondary-button {
    width: fit-content;
}

.admin-body .auth-card .primary-button {
    width: 100%;
}

.admin-body .panel h2 {
    color: var(--ink);
    font-size: 22px;
}

.admin-body .admin-form > h2 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 18px;
}

.admin-body .actions button.icon-button {
    border: 1px solid var(--admin-line);
    background: #fff;
    color: var(--danger);
}

.admin-body .actions button.icon-button:hover {
    border-color: #d6ddff;
    background: var(--admin-primary-soft);
}

@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .membership-track {
        grid-auto-columns: calc((100% - 32px) / 3);
    }

    .partners-track {
        grid-auto-columns: calc((100% - 18px) / 2);
    }
}

@media (max-width: 760px) {
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        padding: 12px 18px;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: 88px;
    }

    .brand span {
        min-width: 0;
    }

    .brand strong,
    .brand small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-toggle {
        display: grid;
    }

    .main-nav {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        border-top: 0 solid transparent;
        opacity: 0;
        transition: max-height 220ms ease, opacity 180ms ease, border-color 180ms ease, padding-top 180ms ease;
    }

    .main-nav.is-open {
        max-height: 360px;
        padding-top: 8px;
        border-top: 1px solid var(--line);
        opacity: 1;
    }

    .main-nav a {
        display: block;
        padding: 11px 2px;
    }

    .main-nav a::after {
        right: auto;
        bottom: 6px;
        left: 2px;
        width: 38px;
    }
}

@media (max-width: 575px) {
    .site-footer,
    .admin-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        min-height: 520px;
    }

    .intro-grid,
    .contact-section,
    .service-detail,
    .about-overview,
    .about-values,
    .career-grid,
    .related-grid,
    .news-preview .news-item,
    .news-list .news-item,
    .contact-form .two-col,
    .service-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .news-preview .news-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
    }

    .news-preview .news-thumb {
        grid-column: 2;
    }

    .news-preview .news-content {
        grid-column: 1 / -1;
    }

    .news-date-badge {
        min-height: 72px;
    }

    .news-date-badge strong {
        font-size: 30px;
    }

    .news-date-badge span,
    .news-date-badge small {
        font-size: 15px;
    }

    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        padding: 18px;
    }

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

    .sidebar-toggle {
        display: none;
    }

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

    .content {
        padding: 22px;
    }

    .topbar,
    .panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .what-we-do .intro-media {
        order: -1;
        min-height: 0;
        position: static;
        overflow: visible;
    }

    .intro-media img {
        position: static;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .about-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-body .two-col {
        grid-template-columns: 1fr;
    }

    .membership-carousel {
        padding-inline: 12px;
    }

    .membership-slider {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 8px;
    }

    .membership-track {
        grid-auto-columns: calc((100% - 16px) / 2);
    }

    .partners-slider {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 8px;
    }

    .partners-track {
        grid-auto-columns: 100%;
    }

    .partner-logo {
        min-height: 118px;
        padding: 20px;
    }

    .membership-logo {
        height: 82px;
    }

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

    .footer-contact {
        text-align: left;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .main-nav a {
        padding: 7px 9px;
    }

    h1 {
        font-size: 38px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .admin-list article,
    .row-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .quick-grid,
    .side-nav {
        grid-template-columns: 1fr;
    }

    .membership-track {
        grid-auto-columns: 100%;
    }
}
