:root {
    --navy: #071b33;
    --blue: #0866ff;
    --cyan: #10c7e7;
    --lime: #c8ff4a;
    --ink: #10233d;
    --muted: #617087;
    --line: #dfe7f1;
    --cloud: #f3f7fc;
    --white: #fff;
    --danger: #bb2a3c;
    --radius: 22px;
    --shadow: 0 22px 55px rgba(7, 27, 51, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.6 "DM Sans", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-family: "Manrope", sans-serif; line-height: 1.08; letter-spacing: -.035em; }
p { margin: 0; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(223,231,241,.8); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font: 800 1.02rem/1 "Manrope", sans-serif; text-decoration: none; }
.brand-mark, .brand-logo { width: 42px; height: 42px; border-radius: 14px; }
.brand-mark { display: grid; place-items: center; color: var(--white); background: linear-gradient(145deg, var(--blue), var(--cyan)); box-shadow: 0 8px 20px rgba(8,102,255,.22); font-size: .86rem; letter-spacing: -.04em; }
.brand-logo { object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { color: #42536a; text-decoration: none; font-weight: 600; font-size: .92rem; }
.desktop-nav a:hover { color: var(--blue); }
.desktop-nav .admin-link { padding: 10px 16px; color: var(--navy); border: 1px solid var(--line); border-radius: 12px; }
.mobile-menu { display: none; position: relative; }

.hero { overflow: hidden; color: var(--white); background: var(--navy); }
.hero-grid { min-height: 590px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; padding-block: 88px; position: relative; }
.hero-grid::before { content: ""; position: absolute; width: 620px; height: 620px; right: -260px; top: -310px; border: 90px solid rgba(16,199,231,.13); border-radius: 50%; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--blue); font-size: .75rem; line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow-light { color: var(--lime); }
.hero h1 { max-width: 740px; font-size: clamp(3.4rem, 7vw, 6.7rem); letter-spacing: -.075em; }
.hero-tagline { margin-top: 20px; color: #b7cbe4; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 0; border-radius: 13px; font-weight: 700; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--lime); box-shadow: 0 12px 28px rgba(200,255,74,.18); }
.button-ghost { color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }
.button-dark { color: var(--white); background: var(--navy); }
.button-outline { color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.button-small { min-height: 38px; padding-inline: 14px; font-size: .86rem; }
.button-wide { width: 100%; }
.hero-card { min-height: 370px; position: relative; z-index: 1; padding: 42px; overflow: hidden; border-radius: 34px; color: var(--navy); background: linear-gradient(145deg, #f9fdff, #caeff8); box-shadow: 0 34px 70px rgba(0,0,0,.24); }
.hero-card-label { display: inline-block; padding: 7px 10px; color: var(--white); background: var(--blue); border-radius: 8px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hero-card time { display: block; margin-top: 35px; color: #4f6d83; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hero-card h2 { max-width: 430px; margin-top: 10px; font-size: clamp(2rem, 4vw, 3rem); }
.hero-card p { max-width: 470px; margin-top: 18px; color: #47647a; }
.hero-card > a { display: inline-block; margin-top: 22px; color: var(--blue); font-weight: 800; text-decoration: none; }
.lane-lines { position: absolute; right: -40px; bottom: 28px; display: flex; gap: 8px; transform: rotate(-17deg); opacity: .45; }
.lane-lines i { display: block; width: 14px; height: 140px; border-radius: 99px; background: var(--cyan); }

.section { padding-block: 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.section-heading h2, .info-intro h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.section-count { color: var(--muted); font-size: .88rem; font-weight: 700; }
.news-carousel-actions { display: flex; align-items: center; gap: 8px; }
.news-carousel-actions .section-count { margin-right: 8px; }
.news-carousel-actions button { width: 42px; height: 42px; display: grid; place-items: center; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 50%; font-size: 1.15rem; transition: color .18s ease, background .18s ease, transform .18s ease; }
.news-carousel-actions button:hover { color: var(--white); background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.news-carousel-actions button:disabled { color: #9ba9b8; background: #f3f6f9; border-color: var(--line); cursor: default; transform: none; }
.news-carousel { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.news-carousel::-webkit-scrollbar { display: none; }
.news-carousel:focus-visible { outline: 3px solid rgba(8,102,255,.22); outline-offset: 7px; border-radius: var(--radius); }
.news-card { min-width: 0; flex: 0 0 calc((100% - 64px) / 5); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(7,27,51,.04); scroll-snap-align: start; }
.news-card > img, .news-visual { width: 100%; height: 150px; object-fit: cover; }
.news-visual { display: flex; align-items: end; padding: 18px; color: rgba(255,255,255,.9); background: linear-gradient(145deg, var(--blue), var(--cyan)); font: 800 2.7rem/1 "Manrope", sans-serif; letter-spacing: -.08em; }
.news-content { padding: 19px; }
.news-content time, .album-meta time, .album-hero time { color: var(--blue); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.news-content h3 { margin-top: 8px; font-size: 1.08rem; }
.news-content > p { display: -webkit-box; overflow: hidden; margin-top: 11px; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-read-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--blue); font-weight: 800; text-decoration: none; }
.news-read-more:hover { text-decoration: underline; }

.news-detail-hero { padding-block: 82px; color: var(--white); background: var(--navy); }
.news-detail-heading { max-width: 940px; }
.news-detail-heading .back-link { margin-bottom: 46px; color: #b8c9dc; }
.news-detail-heading time { display: block; color: var(--lime); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.news-detail-heading h1 { max-width: 900px; margin-top: 14px; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.news-detail-heading p { max-width: 760px; margin-top: 22px; color: #b8c9dc; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.news-detail-layout { max-width: 940px; padding-block: 70px 105px; }
.news-detail-cover { width: 100%; max-height: 560px; margin-bottom: 48px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.news-detail-body { max-width: 780px; color: #344861; font-size: 1.08rem; line-height: 1.8; }
.news-detail-body > * + * { margin-top: 20px; }
.news-detail-body h2, .news-detail-body h3 { margin-top: 42px; color: var(--navy); }
.news-detail-body h2 { font-size: 2rem; }
.news-detail-body h3 { font-size: 1.45rem; }
.news-detail-body img { width: 100%; max-height: 600px; margin-block: 30px; object-fit: contain; border-radius: 18px; }
.news-detail-body a { color: var(--blue); }
.news-detail-body blockquote { margin-left: 0; padding: 4px 0 4px 22px; color: var(--navy); border-left: 4px solid var(--lime); font-size: 1.18rem; font-weight: 600; }

.info-section { color: var(--white); background: #092947; }
.info-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.info-intro p { max-width: 430px; margin-top: 20px; color: #aec4d9; font-size: 1.1rem; }
.info-cards { display: grid; gap: 14px; }
.info-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.06); }
.info-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--navy); background: var(--lime); border-radius: 13px; font-weight: 800; }
.info-card small { display: block; margin-bottom: 5px; color: #8facbf; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.info-card strong, .info-card span, .info-card a { display: block; color: var(--white); text-decoration: none; }
.info-card a:hover { color: var(--lime); }

.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.album-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.album-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.album-cover { height: 250px; position: relative; display: grid; place-items: center; overflow: hidden; color: rgba(255,255,255,.7); background: linear-gradient(140deg, #0b2f57, #0e89c9); font: 800 2.3rem/1 "Manrope", sans-serif; }
.album-cover::after { content: ""; position: absolute; width: 240px; height: 240px; border: 42px solid rgba(200,255,74,.16); border-radius: 50%; right: -100px; top: -100px; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-cover b { position: absolute; right: 15px; bottom: 15px; z-index: 1; padding: 6px 9px; color: var(--navy); background: var(--lime); border-radius: 8px; font: 700 .74rem/1 "DM Sans", sans-serif; }
.album-meta { padding: 22px; }
.album-meta h3 { margin-top: 7px; font-size: 1.35rem; }
.album-meta p { margin-top: 10px; color: var(--muted); }
.empty-state { grid-column: 1 / -1; display: flex; min-height: 160px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 30px; text-align: center; color: var(--muted); background: var(--cloud); border: 1px dashed #bfccdc; border-radius: var(--radius); }
.empty-state strong { color: var(--ink); font-size: 1.15rem; }

.album-hero { padding-block: 80px; color: var(--white); background: var(--navy); }
.album-hero h1 { max-width: 820px; margin-top: 10px; font-size: clamp(2.8rem, 6vw, 5rem); }
.album-hero p { max-width: 700px; margin-top: 18px; color: #b8c9dc; }
.album-hero > .container > span { display: inline-block; margin-top: 22px; padding: 7px 11px; color: var(--navy); background: var(--lime); border-radius: 8px; font-weight: 700; }
.back-link { display: inline-block; margin-bottom: 40px; color: inherit; text-decoration: none; font-weight: 700; }
.photo-grid { columns: 3; column-gap: 16px; }
.photo-grid a { display: block; margin-bottom: 16px; overflow: hidden; border-radius: 16px; }
.photo-grid img { width: 100%; transition: transform .25s ease; }
.photo-grid a:hover img { transform: scale(1.025); }
.lightbox-is-open { overflow: hidden; }
.photo-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; color: var(--white); background: rgba(2,12,24,.96); border: 0; }
.photo-lightbox::backdrop { background: rgba(2,12,24,.78); backdrop-filter: blur(8px); }
.photo-lightbox[open] { display: block; }
.photo-lightbox-shell { width: 100%; height: 100%; display: grid; grid-template-columns: 74px minmax(0, 1fr) 74px; align-items: center; gap: 18px; padding: 68px 28px 28px; }
.photo-lightbox figure { min-width: 0; max-width: min(1300px, 100%); max-height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; justify-self: center; margin: 0; }
.photo-lightbox figure img { max-width: 100%; max-height: calc(100vh - 145px); justify-self: center; object-fit: contain; border-radius: 12px; box-shadow: 0 28px 80px rgba(0,0,0,.45); }
.photo-lightbox figcaption { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #d7e4ef; font-size: .9rem; }
.photo-lightbox figcaption b { color: var(--lime); white-space: nowrap; }
.photo-lightbox button { width: 52px; height: 52px; display: grid; place-items: center; justify-self: center; color: var(--white); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 50%; font-size: 1.45rem; transition: color .18s ease, background .18s ease, transform .18s ease; }
.photo-lightbox button:hover { color: var(--navy); background: var(--lime); border-color: var(--lime); transform: scale(1.05); }
.photo-lightbox button:disabled { opacity: .3; cursor: default; transform: none; }
.photo-lightbox-close { position: absolute; top: 18px; right: 22px; z-index: 1; }
.site-footer { padding-block: 50px; color: #a9bfd3; background: #061527; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-brand { color: var(--white); }
.site-footer p { margin: 12px 0 0 54px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.legal-hero { padding-block: 72px; color: var(--white); background: var(--navy); }
.legal-hero .back-link { margin-bottom: 34px; color: #b8c9dc; }
.legal-hero .eyebrow { display: block; }
.legal-hero h1 { max-width: 900px; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.legal-layout { max-width: 900px; }
.legal-content { color: #344861; font-size: 1.04rem; line-height: 1.8; }
.legal-content > * + * { margin-top: 18px; }
.legal-content h2 { margin-top: 42px; color: var(--navy); font-size: 1.75rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content a { color: var(--blue); }

/* Administration */
.admin-site, .login-page { min-height: 100vh; background: #f5f7fb; }
.admin-site { overflow-x: hidden; }
.admin-shell { min-height: 100vh; display: flex; }
.admin-sidebar { width: 286px; height: 100vh; position: sticky; top: 0; z-index: 40; display: flex; flex: 0 0 286px; flex-direction: column; color: #d7e4f1; background: #081b31; border-right: 1px solid rgba(255,255,255,.07); }
.admin-sidebar-top { min-height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-brand { color: var(--white); }
.admin-brand > span:last-child { display: grid; gap: 4px; }
.admin-brand strong { font-size: .96rem; }
.admin-brand small { color: #7990a9; font: 600 .7rem/1 "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .11em; }
.admin-menu-close { display: none; color: var(--white); background: none; border: 0; font-size: 1.8rem; }
.admin-side-nav { flex: 1; overflow-y: auto; padding: 24px 14px; }
.admin-nav-label { display: block; padding: 0 12px 10px; color: #6f859e; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.admin-nav-label-spaced { margin-top: 26px; }
.admin-side-link { min-height: 45px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 11px; border-radius: 10px; color: #b7c9da; text-decoration: none; font-weight: 650; font-size: .89rem; }
.admin-side-link.is-active { color: var(--white); background: rgba(255,255,255,.09); }
.admin-side-link.is-disabled { color: #6f8298; cursor: not-allowed; }
.admin-side-link.is-disabled small { padding: 4px 6px; color: #8297ad; background: rgba(255,255,255,.055); border-radius: 5px; font-size: .58rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-side-icon { width: 26px; height: 26px; display: grid; place-items: center; color: #8da5bd; background: rgba(255,255,255,.05); border-radius: 7px; font-size: .8rem; }
.admin-side-link.is-active .admin-side-icon { color: var(--navy); background: var(--lime); }
.admin-side-subnav { display: grid; gap: 3px; margin: 5px 0 4px 41px; padding-left: 13px; border-left: 1px solid rgba(255,255,255,.12); }
.admin-side-subnav a { padding: 7px 10px; color: #7f96ad; border-radius: 7px; text-decoration: none; font-size: .82rem; font-weight: 650; }
.admin-side-subnav a:hover, .admin-side-subnav a.is-active { color: var(--white); background: rgba(8,102,255,.22); }
.admin-sidebar-footer { display: grid; gap: 4px; padding: 16px 14px 20px; border-top: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-footer a, .admin-sidebar-footer button { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; color: #9db2c6; background: none; border: 0; border-radius: 9px; text-decoration: none; font: 650 .82rem/1.3 "DM Sans", sans-serif; }
.admin-sidebar-footer a:hover, .admin-sidebar-footer button:hover { color: var(--white); background: rgba(255,255,255,.07); }
.admin-sidebar-footer form { margin: 0; }
.admin-workspace { min-width: 0; flex: 1; }
.admin-mobile-header { display: none; }
.admin-menu-overlay { display: none; }
.admin-main { width: min(1240px, 100%); margin: 0 auto; padding: 50px 48px 90px; }
.admin-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.admin-page-heading .eyebrow { margin-bottom: 10px; }
.admin-page-heading h1 { font-size: clamp(2.25rem, 4vw, 3.7rem); }
.admin-page-heading p { margin-top: 10px; color: var(--muted); }
.admin-content-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 34px; padding: 6px; background: #e9eef5; border-radius: 15px; }
.admin-content-tabs a { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 15px 16px; color: #65758a; border: 1px solid transparent; border-radius: 11px; text-decoration: none; }
.admin-content-tabs a > span { grid-row: 1 / 3; width: 31px; height: 31px; display: grid; place-items: center; align-self: center; color: #7b8ba0; background: rgba(255,255,255,.65); border-radius: 8px; font-size: .7rem; font-weight: 800; }
.admin-content-tabs strong { color: #263b55; font-size: .9rem; }
.admin-content-tabs small { font-size: .72rem; }
.admin-content-tabs a.is-active { background: var(--white); border-color: #d8e1eb; box-shadow: 0 5px 16px rgba(7,27,51,.07); }
.admin-content-tabs a.is-active > span { color: var(--white); background: var(--blue); }
.admin-section { padding-top: 10px; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.admin-section-heading > div { display: flex; align-items: center; gap: 13px; }
.admin-section-heading > div > span { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; color: var(--white); background: var(--blue); border-radius: 10px; font-weight: 800; font-size: .78rem; }
.admin-section-heading h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.admin-section-heading p { margin-top: 4px; color: var(--muted); font-size: .87rem; }
.admin-status-pill { padding: 7px 10px; color: #226843; background: #e6f7ed; border: 1px solid #c7ead5; border-radius: 99px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.panel { padding: 26px; border: 1px solid #dce4ed; border-radius: 16px; background: var(--white); box-shadow: 0 8px 24px rgba(7,27,51,.04); }
.admin-form-panel { padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-stack { display: grid; gap: 17px; }
.form-block-title { display: grid; gap: 3px; }
.form-block-title strong { font: 750 1rem/1.3 "Manrope", sans-serif; }
.form-block-title span { color: var(--muted); font-size: .82rem; }
.form-divider { height: 1px; margin-block: 7px; background: var(--line); }
label, .rich-editor-label { display: grid; gap: 7px; color: #32455e; font-size: .82rem; font-weight: 750; }
input, textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: var(--white); border: 1px solid #cdd8e5; border-radius: 9px; outline: none; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,102,255,.11); }
textarea { resize: vertical; }
input[type="file"] { padding: 9px; background: var(--cloud); }
label small, .rich-editor-label span { color: var(--muted); font-weight: 500; }
.upload-field { padding: 16px; background: #f8fafc; border: 1px dashed #bdcada; border-radius: 11px; }
.admin-image-preview { width: 100%; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.admin-logo-preview { width: 90px; height: 90px; }
.admin-social-preview { height: 130px; object-fit: cover; }
.admin-favicon-preview { width: 64px; height: 64px; }
.check { display: flex; grid-template-columns: none; align-items: center; gap: 9px; }
.check input { width: 18px; height: 18px; margin: 0; }
.featured-option { align-items: flex-start; padding: 13px 14px; border: 1px solid #d9e4f0; border-radius: 12px; background: #f8fbff; }
.featured-option input { margin-top: 2px; flex: 0 0 auto; }
.featured-option span { display: grid; gap: 2px; }
.featured-option strong { color: var(--ink); font-size: .86rem; }
.featured-option small { color: var(--muted); font-size: .73rem; font-weight: 500; line-height: 1.35; }
.form-actions { display: flex; justify-content: flex-end; }
.compact-grid { gap: 12px; }
.admin-columns { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); gap: 22px; align-items: start; }
.admin-news-layout { grid-template-columns: minmax(440px, 1.08fr) minmax(340px, .92fr); }
.sticky-panel { position: sticky; top: 28px; }
.sticky-panel h3 { font-size: 1.35rem; }
.panel-title-row, .list-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-title-row .eyebrow { margin-bottom: 7px; }
.draft-indicator { padding: 5px 8px; color: #697a8f; background: #edf1f6; border-radius: 7px; font-size: .65rem; font-weight: 800; white-space: nowrap; }
.draft-indicator.is-dirty { color: #8a5b00; background: #fff1cf; }
.item-list { display: grid; gap: 12px; }
.list-heading { min-height: 49px; padding: 0 4px; }
.list-heading > div { display: grid; }
.list-heading strong { font-size: .88rem; }
.list-heading span { color: var(--muted); font-size: .72rem; }
.item-panel { padding: 0; overflow: hidden; }
.item-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none; }
.item-panel > summary::-webkit-details-marker { display: none; }
.item-panel > summary span { min-width: 0; display: grid; gap: 3px; }
.item-panel > summary small { color: var(--muted); font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.item-panel > summary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-panel > summary b { color: var(--blue); font-size: .78rem; }
.item-panel[open] > summary { border-bottom: 1px solid var(--line); background: #fafdff; }
.compact-form { padding: 22px; }
.delete-form { padding: 0 22px 22px; }
.delete-form button { padding: 0; color: var(--danger); background: none; border: 0; font-size: .78rem; font-weight: 750; text-decoration: underline; }
.photo-upload { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 0 22px 22px; padding: 16px; background: var(--cloud); border-radius: 12px; }
.photo-upload label { flex: 1; }
.photo-upload [data-photo-selection].is-error { color: var(--danger); font-weight: 700; }
.photo-upload-progress { flex: 0 0 100%; display: grid; gap: 7px; padding-top: 4px; }
.photo-upload-progress[hidden] { display: none; }
.photo-upload-progress > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #3b516a; font-size: .72rem; }
.photo-upload-progress strong { font-weight: 700; }
.photo-upload-progress span { flex: 0 0 auto; font-weight: 800; }
.photo-upload-progress progress { width: 100%; height: 9px; overflow: hidden; appearance: none; border: 0; border-radius: 99px; background: #dce5ef; }
.photo-upload-progress progress::-webkit-progress-bar { background: #dce5ef; border-radius: 99px; }
.photo-upload-progress progress::-webkit-progress-value { background: var(--blue); border-radius: 99px; transition: width .15s ease; }
.photo-upload-progress progress::-moz-progress-bar { background: var(--blue); border-radius: 99px; }
.photo-upload-progress.has-error strong, .photo-upload-progress.has-error span { color: var(--danger); }
.photo-upload-progress.has-error progress::-webkit-progress-value { background: var(--danger); }
.photo-upload-progress.has-error progress::-moz-progress-bar { background: var(--danger); }
.admin-photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0 22px 22px; }
.admin-photo-grid > div { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 9px; }
.admin-photo-grid > div.is-cover { outline: 3px solid var(--lime); outline-offset: -3px; }
.admin-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.cover-badge { position: absolute; left: 5px; bottom: 5px; padding: 4px 6px; color: var(--navy); background: var(--lime); border-radius: 5px; font-size: .56rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.admin-photo-actions { position: absolute; top: 5px; right: 5px; display: flex; gap: 4px; }
.admin-photo-actions form { margin: 0; }
.admin-photo-actions button { width: 27px; height: 27px; display: grid; place-items: center; color: var(--white); background: rgba(7,27,51,.88); border: 0; border-radius: 50%; line-height: 1; }
.admin-photo-actions .cover-button { color: var(--lime); font-size: .82rem; }
.admin-photo-actions .cover-button:disabled { color: var(--navy); background: var(--lime); cursor: default; }
.admin-photo-actions .photo-delete-button { font-size: 1.1rem; }
.album-empty-photos { margin: 0 22px 22px; padding: 22px; color: var(--muted); background: var(--cloud); border: 1px dashed #c4d0de; border-radius: 11px; text-align: center; font-size: .82rem; }
.rich-editor { display: grid; }
.rich-editor-label { margin-bottom: 7px; }
.rich-editor-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 7px; background: #f2f5f9; border: 1px solid #cdd8e5; border-bottom: 0; border-radius: 9px 9px 0 0; }
.rich-editor-toolbar button { min-width: 33px; height: 32px; padding-inline: 8px; color: #344a64; background: var(--white); border: 1px solid #d9e2ec; border-radius: 6px; font-size: .72rem; font-weight: 800; }
.rich-editor-toolbar button:hover, .rich-editor-toolbar button.is-active { color: var(--white); background: var(--blue); border-color: var(--blue); }
.rich-editor-toolbar button:disabled { color: #8998a9; background: #e7ecf2; border-color: #d5dde7; cursor: not-allowed; }
.rich-editor-toolbar button small { margin-left: 3px; font-size: .58rem; }
.rich-editor-toolbar > span { width: 1px; margin: 4px 2px; background: #d3dce7; }
.rich-editor textarea { min-height: 265px; border-radius: 0 0 9px 9px; font: 500 .9rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.rich-editor textarea:focus { position: relative; }
.rich-editor-preview { min-height: 265px; padding: 20px; overflow-wrap: anywhere; background: var(--white); border: 1px solid #cdd8e5; border-radius: 0 0 9px 9px; }
.rich-editor-preview > * + * { margin-top: 13px; }
.rich-editor-preview img, .news-body img { max-height: 500px; margin-block: 14px; border-radius: 10px; object-fit: contain; }
.rich-editor-status { min-height: 22px; padding-top: 6px; color: var(--muted); font-size: .69rem; }
.flash { margin-bottom: 22px; padding: 15px 18px; border-radius: 12px; }
.flash.success { color: #175c38; background: #dff8e9; border: 1px solid #a9e8c2; }
.flash.error { color: #842331; background: #fff0f2; border: 1px solid #efbdc5; }
.flash ul { margin: 7px 0 0; }
.login-page { display: grid; place-items: center; padding: 30px; }
.login-shell { width: min(460px, 100%); }
.login-brand { margin-bottom: 26px; }
.login-card { padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.login-card h1 { font-size: 2.1rem; }
.login-card > p { margin: 12px 0 26px; color: var(--muted); }
.login-card .flash { margin-top: -8px; }
.login-shell > .back-link { margin: 20px 0 0; color: var(--muted); }

@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .mobile-menu { display: block; }
    .mobile-menu summary { padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; cursor: pointer; list-style: none; }
    .mobile-menu nav { position: absolute; right: 0; top: calc(100% + 10px); width: 210px; display: grid; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
    .mobile-menu nav a { padding: 10px; text-decoration: none; font-weight: 700; }
    .hero-grid, .info-grid { grid-template-columns: 1fr; }
    .hero-grid { gap: 46px; padding-block: 70px; }
    .hero-card { min-height: 330px; }
    .news-card { flex-basis: calc((100% - 16px) / 2); }
    .album-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-sidebar { width: min(310px, 88vw); position: fixed; left: 0; transform: translateX(-102%); transition: transform .22s ease; box-shadow: 18px 0 55px rgba(3,18,35,.25); }
    .admin-menu-is-open .admin-sidebar { transform: translateX(0); }
    .admin-menu-close { display: block; }
    .admin-menu-overlay { position: fixed; inset: 0; z-index: 35; display: block; pointer-events: none; opacity: 0; background: rgba(3,15,28,.55); border: 0; transition: opacity .22s ease; }
    .admin-menu-is-open { overflow: hidden; }
    .admin-menu-is-open .admin-menu-overlay { pointer-events: auto; opacity: 1; }
    .admin-mobile-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 10px 22px; background: var(--white); border-bottom: 1px solid var(--line); }
    .admin-menu-toggle { display: flex; align-items: center; gap: 4px; padding: 9px 11px; color: var(--ink); background: var(--cloud); border: 1px solid var(--line); border-radius: 9px; }
    .admin-menu-toggle span { width: 16px; height: 2px; display: none; background: currentColor; }
    .admin-menu-toggle span:first-child { display: block; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
    .admin-menu-toggle b { margin-left: 6px; font-size: .78rem; }
    .admin-mobile-header .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
    .admin-main { padding: 38px 28px 75px; }
    .admin-columns { grid-template-columns: 1fr; }
    .sticky-panel { position: static; }
    .admin-page-heading, .admin-section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
    .container { width: min(100% - 28px, 1180px); }
    .nav-wrap { min-height: 68px; }
    .brand > span:last-child { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .hero-grid { min-height: auto; padding-block: 55px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
    .hero-card { min-height: 0; padding: 28px; border-radius: 24px; }
    .section { padding-block: 70px; }
    .section-heading { align-items: start; flex-direction: column; margin-bottom: 28px; }
    .news-carousel-actions { width: 100%; }
    .news-carousel-actions .section-count { margin-right: auto; }
    .news-card { flex-basis: min(88%, 360px); }
    .album-grid { grid-template-columns: 1fr; }
    .news-card > img, .news-visual, .album-cover { height: 220px; }
    .news-detail-hero { padding-block: 56px; }
    .news-detail-heading .back-link { margin-bottom: 34px; }
    .news-detail-layout { padding-block: 42px 75px; }
    .news-detail-cover { margin-bottom: 34px; border-radius: 18px; }
    .info-grid { gap: 36px; }
    .photo-grid { columns: 2; }
    .photo-lightbox-shell { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 7px; padding: 62px 8px 18px; }
    .photo-lightbox button { width: 40px; height: 40px; font-size: 1.15rem; }
    .photo-lightbox-close { top: 11px; right: 11px; }
    .photo-lightbox figure img { max-height: calc(100vh - 130px); border-radius: 8px; }
    .photo-lightbox figcaption { padding-inline: 4px; font-size: .78rem; }
    .footer-grid { align-items: start; flex-direction: column; }
    .site-footer p { margin-left: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .full { grid-column: auto; }
    .admin-mobile-header { padding-inline: 14px; }
    .admin-mobile-header .brand > span:last-child { display: none; }
    .admin-main { padding: 30px 14px 60px; }
    .admin-page-heading { margin-bottom: 22px; }
    .admin-page-heading .button { display: none; }
    .admin-content-tabs { grid-template-columns: 1fr; }
    .admin-content-tabs a { padding: 11px 13px; }
    .admin-content-tabs a > span { grid-row: 1; }
    .admin-content-tabs small { display: none; }
    .admin-section-heading { gap: 12px; }
    .admin-status-pill { margin-left: 51px; }
    .admin-form-panel, .panel { padding: 20px; }
    .item-panel { padding: 0; }
    .panel-title-row { align-items: start; flex-direction: column; }
    .rich-editor-toolbar > span { display: none; }
    .rich-editor-toolbar button { flex: 1 0 auto; }
    .photo-upload { align-items: stretch; flex-direction: column; }
    .admin-photo-grid { grid-template-columns: repeat(3, 1fr); }
    .login-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
