:root {
    --green: #2da0d9;
    --green-2: #176b97;
    --gold: #f2c86b;
    --paper: #f5f9fc;
    --muted: #657784;
    --text: #132431;
    --line: #dbe9f1;
    --radius: 8px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif; background: var(--paper); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.app-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px 16px; background: rgba(45,160,217,.97); color: #fff; box-shadow: 0 8px 26px rgba(0,0,0,.14); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo, .brand-mark, .login-logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; color: #10283a; font-weight: 900; box-shadow: 0 10px 24px rgba(0,0,0,.18); overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.brand small { display: block; opacity: .78; margin-top: -3px; }
.search { display: flex; }
.search input, input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: inherit; background: #fff; }
.search input { border: 0; }
.admin-pill { display: none; }
.desktop-nav { position: sticky; top: 118px; z-index: 19; display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; padding: 10px 14px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 8px 18px rgba(19,36,49,.06); color: var(--green-2); font-weight: 850; scrollbar-width: none; }
.desktop-nav::-webkit-scrollbar { display: none; }
.desktop-nav a { flex: 0 0 auto; padding: 8px 11px; border-radius: 999px; background: #e9f6fc; white-space: nowrap; }
.site-main { width: min(1160px, calc(100% - 28px)); margin: 18px auto 92px; }
.hero-grid, .content-layout, .form-page { display: grid; gap: 18px; }
.headline-slider { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--radius); background: #0d405b; }
.headline { display: none; position: absolute; inset: 0; }
.headline.active { display: block; }
.headline img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.headline-copy { position: absolute; inset: auto 0 0; padding: 26px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.headline-copy span, .news-card span, .article-category { color: var(--gold); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.headline-copy h1 { margin: 8px 0; font-size: clamp(1.7rem, 7vw, 3.4rem); line-height: 1.05; letter-spacing: 0; }
.quick-panel, .widget, .news-card, .card-form, .article-detail, .doc-list a { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 10px 24px rgba(20,45,34,.06); }
.quick-panel { border-top: 5px solid var(--gold); }
.founder-panel { position: relative; overflow: hidden; padding: 0; background: linear-gradient(160deg, #0d405b 0%, #176b97 48%, #2da0d9 100%); color: #fff; border: 0; }
.founder-emblem { position: absolute; top: 14px; right: 14px; z-index: 3; width: 68px; height: 68px; border-radius: 14px; background: rgba(255,255,255,.94); display: grid; place-items: center; box-shadow: 0 14px 28px rgba(0,0,0,.22); }
.founder-emblem img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.founder-photo { position: relative; min-height: 300px; display: grid; align-items: end; justify-items: center; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.36), rgba(13,64,91,.12) 42%, rgba(7,30,46,.5) 100%); }
.founder-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(transparent, rgba(13,64,91,.86)); pointer-events: none; }
.founder-photo img { position: relative; z-index: 1; width: min(100%, 330px); height: 330px; object-fit: cover; object-position: center top; filter: drop-shadow(0 18px 28px rgba(0,0,0,.28)); }
.founder-copy { padding: 18px; background: rgba(7,30,46,.82); backdrop-filter: blur(8px); }
.founder-copy span { color: var(--gold); font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.founder-copy h2 { margin: 4px 0 10px; }
.founder-copy p { margin: 8px 0; color: #e5f4fb; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 24px 0 14px; }
.section-title h1, .section-title h2 { margin: 0; line-height: 1.15; }
.section-title a { color: var(--green-2); font-weight: 800; }
.news-grid { display: grid; gap: 14px; }
.news-card { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 10px; }
.news-card img { width: 112px; height: 112px; object-fit: cover; border-radius: 8px; background: #dfe8e1; }
.news-card h3 { margin: 4px 0; line-height: 1.25; font-size: 1rem; }
.news-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.sidebar { display: grid; gap: 14px; align-content: start; }
.chip { display: inline-flex; margin: 0 6px 8px 0; padding: 8px 11px; border-radius: 999px; background: #e9f6fc; color: var(--green-2); font-weight: 700; }
.list-link { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.breadcrumb { display: flex; gap: 8px; color: var(--muted); margin-bottom: 14px; }
.article-detail { padding: clamp(18px, 4vw, 38px); }
.article-detail h1 { font-size: clamp(2rem, 7vw, 4rem); line-height: 1.04; margin: 8px 0 10px; letter-spacing: 0; }
.article-meta { color: var(--muted); }
.article-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 20px 0; }
.article-content { font-size: 1.08rem; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.share-row a, button, .btn { border: 0; border-radius: 999px; padding: 11px 16px; background: var(--green); color: #fff; font-weight: 800; cursor: pointer; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.gallery-grid figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { padding: 10px; font-weight: 700; }
.doc-list { display: grid; gap: 10px; }
.doc-list a span { display: block; color: var(--muted); font-size: .92rem; }
.card-form { display: grid; gap: 10px; }
.card-form textarea { min-height: 130px; }
.alert { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 12px; }
.success { background: #e7f6fd; color: #176b97; }
.site-footer { background: #0d405b; color: #e5f4fb; padding: 34px 18px 92px; display: grid; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.footer-brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 12px; background: #fff; padding: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.footer-brand h3 { margin: 0; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 22px rgba(0,0,0,.08); }
.bottom-nav a { display: grid; place-items: center; gap: 2px; padding: 8px 4px; color: var(--green); font-weight: 900; }
.bottom-nav span { font-size: .72rem; font-weight: 700; }
@media (min-width: 760px) {
    .app-header { grid-template-columns: auto 1fr auto; align-items: center; padding: 14px 28px; }
    .admin-pill { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 9px 14px; }
    .desktop-nav { top: 76px; gap: 22px; padding: 12px 28px; background: #fff; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--green); box-shadow: none; }
    .desktop-nav a { padding: 0; border-radius: 0; background: transparent; }
    .hero-grid { grid-template-columns: 1.8fr .8fr; }
    .content-layout { grid-template-columns: 1fr 320px; }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-page { grid-template-columns: .8fr 1fr; align-items: start; }
    .site-footer { grid-template-columns: 1fr 1fr; padding-bottom: 34px; }
    .bottom-nav { display: none; }
    .site-main { margin-bottom: 40px; }
}
