/* Andropovsky education department — formal civic identity */
:root {
  --navy: #163856;
  --navy2: #102e4a;
  --ink: #253549;
  --muted: #697787;
  --line: #dbe2e8;
  --blue: #205779;
  --gold: #b89854;
  --red: #9a3c42;
  --bg: #f6f8fa;
  --radius: 4px;
  --shadow: none;
}

html { scroll-padding-top: 20px; }
body { font-family: Arial, "Segoe UI", sans-serif; font-size: 14px; color: var(--ink); background: #fff; line-height: 1.55; }
h1, h2, h3 { letter-spacing: -.023em; }
.container { max-width: 1200px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline-color: #b89854; }

/* Institutional masthead */
.utility-bar { height: 37px; background: #f3f5f6; border-bottom: 1px solid #dce2e7; color: #5c6b78; font-size: 10.5px; }
.utility-left { letter-spacing: .025em; }
.utility-dot { width: 3px; height: 14px; border-radius: 0; background: var(--gold); }
.utility-right { gap: 21px; }
.utility-right a:hover, .access-button:hover { color: #16476b; text-decoration: underline; }
.access-button { color: #264b68; }
.site-header { box-shadow: none; }
.header-inner { min-height: 113px; gap: 30px; }
.brand { gap: 17px; }
.brand-logo, .brand-logo img { width: 71px; height: 79px; }
.brand-logo img { object-fit: contain; }
.brand-copy { gap: 4px; }
.brand-copy strong { font-size: 25px; font-weight: 700; color: #173854; letter-spacing: -.025em; }
.brand-copy span { font-size: 12px; line-height: 1.44; font-weight: 500; color: #5d6875; }
.header-actions { gap: 10px; }
.header-search { width: 226px; height: 42px; border-radius: 2px; background: #fff; border: 1px solid #cdd8df; }
.header-search input { font-size: 12px; }
.header-search button { color: #335b7a; }
.reception-button { border: 1px solid #214f70; color: #1b4b70; border-radius: 2px; padding: 11px 15px; font-size: 12px; font-weight: 700; }
.reception-button:hover { background: #173854; border-color: #173854; color: #fff; }
.primary-nav { background: #173854; border: 0; }
.nav-inner { height: 53px; gap: 0; justify-content: space-between; }
.nav-inner > a, .nav-item > button { padding: 0 13px; font-size: 12px; font-weight: 700; color: #fff; border-right: 1px solid rgba(255,255,255,.10); }
.nav-inner > a:first-child, .nav-item:first-child > button { border-left: 1px solid rgba(255,255,255,.10); }
.nav-inner > a:hover, .nav-item > button:hover, .nav-item.open > button { color: #f0d49d; background: #204664; }
.nav-inner .nav-more { margin-left: 0; color: #fff; }
.dropdown { border-radius: 0; border: 1px solid #d4dde4; border-top: 3px solid #b89854; box-shadow: 0 12px 24px rgba(15,38,59,.16); padding: 7px; }
.dropdown a { border-radius: 0; font-weight: 600; padding: 11px 12px; }
.dropdown a:hover { background: #eef3f6; color: #143b58; }

/* Information-forward hero, free of promotional ornaments */
.hero { background: #f7f9fa; border-bottom: 1px solid #dce4e9; }
.hero:before { width: 0; content: none; }
.hero-bg-circle, .hero-decor-circle, .hero-decor-star, .floating-note, .hero-photo-caption { display: none; }
.hero-inner { grid-template-columns: 1.18fr .82fr; gap: 58px; min-height: 0; padding-top: 58px; padding-bottom: 39px; }
.eyebrow { color: #536779; font-size: 10.5px; font-weight: 800; letter-spacing: .15em; }
.eyebrow span { width: 23px; height: 2px; background: var(--gold); }
.hero h1 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.18; max-width: 680px; margin: 23px 0 21px; color: #173854; letter-spacing: -.036em; font-weight: 700; }
.hero h1 em { color: inherit; font-style: normal; }
.hero h1 em:after { display: none; }
.hero-content > p { color: #5a6875; font-size: 14px; line-height: 1.7; margin-bottom: 27px; max-width: 560px; }
.hero-search { max-width: 530px; border-radius: 2px; border: 1px solid #cbd6df; box-shadow: none; background: #fff; gap: 12px; padding: 5px 5px 5px 15px; }
.hero-search > svg { color: #506b80; }
.hero-search input { font-size: 13px; }
.hero-search button { background: #173854; border-radius: 1px; font-weight: 700; padding: 11px 18px; }
.hero-search button:hover { background: #275b80; }
.popular-links { gap: 6px 13px; margin-top: 16px; max-width: 550px; }
.popular-links span { color: #6c7986; font-size: 11px; }
.popular-links a { padding: 1px 0; border: 0; border-bottom: 1px solid #b2c2ce; border-radius: 0; background: transparent; color: #285a7d; font-size: 10.5px; font-weight: 600; }
.popular-links a:hover { background: transparent; border-color: #244b6b; color: #173854; }
.hero-visual { height: 345px; }
.photo-frame { inset: 0; border-radius: 2px; background: #dfe8ed; box-shadow: none; border: 5px solid #fff; outline: 1px solid #d6e1e7; }
.photo-frame img { object-position: 58% center; }
.photo-overlay { background: linear-gradient(0deg, rgba(17,45,70,.16), transparent 45%); }
.hero-bottom { color: #65788b; font-size: 10px; padding-bottom: 19px; }
.hero-line { width: 21px; height: 2px; background: var(--gold); }
.hero-bottom a { color: #305e7d; }

/* Unified typographic system */
.section { padding: 70px 0; }
.section-heading { margin-bottom: 28px; gap: 25px; }
.section-kicker { color: #69798a; font-weight: 800; font-size: 10px; letter-spacing: .14em; }
.section-kicker:before { width: 18px; height: 2px; background: var(--gold); }
.section-heading h2, .docs-intro h2 { font-size: clamp(29px, 2.8vw, 36px); font-weight: 700; letter-spacing: -.03em; color: #173854; margin-top: 10px; }
.section-heading p, .docs-intro p { color: #71808d; font-size: 13px; line-height: 1.65; }
.section-heading.compact p { max-width: 350px; }
.text-link { color: #1a5378; font-size: 12px; font-weight: 700; }
.text-link:hover { text-decoration: underline; }

/* Frequently requested services */
.quick-access { padding-top: 63px; padding-bottom: 66px; background: #fff; }
.quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick-card { flex-direction: row; align-items: center; gap: 13px; min-height: 106px; padding: 17px 36px 17px 16px; border: 1px solid #dce4e9; border-radius: 3px; background: #fff; box-shadow: none; }
.quick-card:hover { transform: none; box-shadow: none; background: #f8fafb; border-color: #adc2d1; }
.quick-icon, .quick-icon.blue, .quick-icon.peach, .quick-icon.lilac, .quick-icon.mint { width: 42px; height: 42px; border-radius: 2px; background: #eaf0f4; color: #285b7d; }
.quick-icon svg { width: 22px; height: 22px; }
.quick-copy strong { font-size: 14.5px; font-weight: 700; letter-spacing: -.015em; color: #1b3e5e; }
.quick-copy small { font-size: 11px; margin-top: 3px; color: #7a8895; }
.quick-arrow { right: 13px; top: 43px; color: #627e91; }
.quick-arrow svg { width: 15px; height: 15px; }

/* Press information */
.news-section { background: #f4f6f8; }
.news-grid { grid-template-columns: 1fr 1.08fr; gap: 17px; }
.news-featured { display: flex; flex-direction: column; border: 1px solid #d8e1e8; border-radius: 3px; box-shadow: none; }
.news-featured:hover { transform: none; box-shadow: none; border-color: #a9c1d0; }
.news-featured-art { flex: 1; min-height: 230px; height: auto; background: #dee8ed; }
.news-featured-art .circle-a { width: 390px; height: 390px; top: -190px; right: -130px; background: #c8d8e0; }
.news-featured-art .circle-b { width: 350px; height: 350px; border: 1px solid #b7cbd5; bottom: -215px; left: -95px; }
.news-featured-art .art-leaf { display: none; }
.news-featured-art .art-line { color: #214d69; font-size: clamp(57px, 6vw, 79px); font-weight: 700; letter-spacing: -.05em; line-height: .9; transform: none; right: 32px; bottom: 34px; }
.news-featured-body { padding: 23px 26px 28px; min-height: 177px; }
.news-featured h3 { font-size: 21px; font-weight: 700; letter-spacing: -.025em; margin-top: 14px; }
.round-arrow { background: #edf2f5; color: #305d7d; border-radius: 2px; width: 35px; height: 35px; }
.news-meta { font-size: 10px; font-weight: 600; color: #697b89; }
.news-meta span { color: #49697e; letter-spacing: .075em; }
.news-stack { grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 8px; }
.news-row { grid-template-columns: 43px minmax(0,1fr) 14px; gap: 13px; min-height: 83px; padding: 12px 16px; border: 1px solid #d8e1e8; border-radius: 3px; }
.news-row:hover { transform: none; background: #f9fbfc; border-color: #a8c0cf; }
.news-row-icon, .news-row-icon.warm, .news-row-icon.cool, .news-row-icon.purple { width: 42px; height: 42px; border-radius: 2px; color: #426680; background: #edf2f5; }
.news-row-icon svg { width: 21px; height: 21px; }
.news-row h3 { font-size: 13px; line-height: 1.35; font-weight: 700; margin-top: 5px; letter-spacing: -.012em; }
.news-row .news-meta, .news-row .news-meta span { font-size: 9px; }
.row-arrow { width: 14px; height: 14px; color: #7891a2; }

/* Institutional directory: reference, not advertisement */
.institutions-section { background: #eef2f5; color: #213b53; }
.institutions-section:before, .institutions-section:after { content: none; display: none; }
.institutions-wrap { padding-top: 67px; padding-bottom: 69px; }
.institutions-intro { max-width: none; text-align: left; margin: 0 0 30px; }
.institutions-intro .section-kicker.light { color: #6b7884; }
.institutions-intro h2 { font-size: clamp(30px, 3vw, 37px); line-height: 1.2; margin: 11px 0 12px; letter-spacing: -.03em; color: #173854; }
.institutions-intro h2 em { color: #173854; }
.institutions-intro p { max-width: 730px; color: #6f7e8b; font-size: 13px; line-height: 1.6; margin: 0 0 18px; }
.institutions-intro .white-outline { margin: 0; padding: 9px 14px; border: 1px solid #2b5c7c; border-radius: 2px; color: #234f70; background: transparent; }
.institutions-intro .white-outline:hover { background: #e0eaf0; }
.institutions-cards { gap: 14px; }
.institution-card, .institution-card.wide { min-height: 425px; border-radius: 3px; padding: 23px 22px 20px; border: 1px solid #d6e0e7; background: #fff; color: #173854; }
.institution-card:hover { transform: none; background: #fff; border-color: #a9c1d0; }
.institution-card .institution-icon, .institution-card:nth-child(2) .institution-icon, .institution-card:nth-child(3) .institution-icon { width: 43px; height: 43px; border-radius: 2px; background: #eaf0f4; color: #345e79; }
.institution-card .institution-icon svg { width: 22px; height: 22px; }
.institution-number { font-size: 31px; font-weight: 700; letter-spacing: -.02em; }
.institution-number small { font-size: 10px; color: #718392; }
.institution-card h3, .institution-card.wide h3 { min-height: 45px; font-size: 19px; font-weight: 700; letter-spacing: -.025em; margin: 19px 0 13px; }
.inst-list li { padding: 9px 0; border-top: 1px solid #e4e9ee; }
.inst-list li a { font-size: 11.5px; font-weight: 700; color: #274c69; }
.inst-list li span { color: #7a8997; }
.institution-more { color: #1d557a; font-weight: 700; border-color: #e2e8ec; }

/* Documents and citizen reception */
.docs-section { background: #fff; }
.docs-layout { grid-template-columns: .63fr 1.37fr; gap: 60px; }
.docs-intro h2 { font-size: 35px; }
.docs-list, .doc-item { border-color: #dce4e9; }
.doc-item { padding: 20px 0; gap: 18px; }
.doc-file { width: 45px; height: 45px; border-radius: 2px; background: #edf2f5; color: #345f7b; }
.doc-file svg { width: 23px; height: 23px; }
.doc-tag { color: #6b7a86; font-size: 9px; letter-spacing: .07em; }
.doc-content strong { font-weight: 700; font-size: 13px; color: #263f55; }
.doc-content small { margin-top: 6px; color: #85919b; }
.doc-item:hover .doc-content strong { color: #1d5e86; text-decoration: underline; }
.service-section { padding: 66px 0 72px; background: #f4f6f8; }
.service-heading { margin-bottom: 25px; }
.service-heading h2 { font-size: 35px; }
.service-heading p { color: #71808d; max-width: 320px; }
.service-grid { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 17px; }
.service-message { min-height: 0; padding: 31px 35px; border: 1px solid #173854; border-radius: 3px; background: #173854; box-shadow: none; }
.service-symbol { display: none; }
.service-brand { font-size: 10px; color: #d0dfeb; letter-spacing: .07em; }
.gov-mark { width: 35px; height: 35px; border-radius: 2px; font-size: 20px; }
.service-message h3 { font-size: 29px; font-weight: 700; line-height: 1.22; letter-spacing: -.025em; margin: 27px 0 15px; }
.service-message h3 em { font-style: normal; color: #fff; }
.service-message p { color: #d1dfe9; font-size: 13px; line-height: 1.65; margin-bottom: 20px; }
.service-cta { border-radius: 2px; color: #153b56; background: #fff; padding: 11px 16px; font-weight: 700; }
.service-cta:hover { background: #e7eef3; color: #153b56; }
.service-disclaimer { font-size: 10px; color: #b7c9d7; }
.reception-card { min-height: 0; padding: 29px 33px; border: 1px solid #d6e0e7; border-radius: 3px; box-shadow: none; }
.reception-card-head { color: #6f8391; }
.reception-avatar { width: 37px; height: 37px; border-radius: 2px; background: #eaf0f4; color: #345d7b; }
.reception-card h3 { font-size: 25px; margin: 14px 0 22px; }
.reception-person strong { font-size: 13px; }
.reception-person small { color: #285f81; }
.reception-address { color: #617889; }

/* Site map and official programs */
.links-section { padding-top: 68px; padding-bottom: 73px; }
.links-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid #dce4e9; border-left: 1px solid #dce4e9; }
.links-grid > a { min-height: 101px; padding: 18px 15px; gap: 11px; border: 0; border-right: 1px solid #dce4e9; border-bottom: 1px solid #dce4e9; border-radius: 0; box-shadow: none; background: #fff; }
.links-grid > a:hover { transform: none; border-color: #dce4e9; background: #f3f6f8; }
.links-grid > a span { color: #8b7857; font-size: 10px; }
.links-grid > a strong { color: #294960; font-size: 12px; font-weight: 700; line-height: 1.4; }
.links-grid > a svg { color: #61809a; }
.programs-section { background: #f4f6f8; padding-top: 67px; padding-bottom: 68px; }
.programs-grid { gap: 12px; }
.programs-grid > a { border-radius: 3px; border-color: #d8e1e8; box-shadow: none; transition: background .2s; }
.programs-grid > a:hover { transform: none; background: #f8fafb; box-shadow: none; border-color: #a9c1d0; }
.programs-grid img { height: 139px; background: #fff; padding: 11px; }
.programs-grid > a span { min-height: 68px; color: #2a4b66; font-weight: 700; font-size: 11px; padding: 13px; border-color: #e0e7ec; }
.programs-grid > a svg { color: #5c7a90; }
.resources-section { padding-top: 68px; padding-bottom: 74px; }
.resources-grid { gap: 11px; }
.resources-grid > a { min-height: 107px; border: 1px solid #dbe3e9; border-radius: 3px; padding: 20px 45px 17px 20px; background: #fff; }
.resources-grid > a:hover { transform: none; background: #f7f9fa; border-color: #acc2d0; }
.resources-grid strong { color: #274962; font-size: 12px; font-weight: 700; }
.resources-grid small { color: #7e8b95; }
.resources-grid svg { color: #68879b; }
.site-footer { background: #102f4a; border-top: 3px solid #b89854; }
.footer-top { padding-top: 54px; padding-bottom: 53px; }
.footer-brand .brand-copy strong { font-size: 20px; }
.footer-brand .brand-copy span { color: #cbd6df; }
.footer-brand p { color: #b0c1cf; }
.footer-col > a { color: #cad7e1; }
.footer-bottom { color: #afc0cd; }

@media (max-width: 1120px) {
  .nav-inner > a, .nav-item > button { padding: 0 10px; }
  .hero-inner { gap: 34px; }
  .hero h1 { font-size: 40px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .links-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .programs-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 920px) {
  .header-inner { min-height: 93px; }
  .brand-logo, .brand-logo img { width: 57px; height: 64px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy span { font-size: 10.5px; }
  .nav-inner { justify-content: flex-start; }
  .nav-inner > a, .nav-item > button { padding: 0 14px; }
  .hero-inner { grid-template-columns: 1.18fr .82fr; padding-top: 45px; gap: 24px; }
  .hero h1 { font-size: 34px; }
  .hero-visual { height: 285px; }
  .news-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .news-featured-art { height: 230px; }
  .institutions-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .institution-card:nth-child(3) { grid-column: 1 / -1; min-height: 300px; }
  .institution-card { min-height: 395px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .resources-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 32px, 560px); }
  .utility-bar { height: 35px; }
  .header-inner { min-height: 86px; }
  .brand-logo, .brand-logo img { width: 47px; height: 53px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy span { font-size: 9px; }
  .menu-toggle { border-radius: 2px; background: #edf2f5; }
  .primary-nav, .primary-nav .nav-inner { background: #173854; }
  .nav-inner { justify-content: flex-start; }
  .nav-inner > a, .nav-item > button { border-left: 0!important; border-right: 0; border-bottom-color: rgba(255,255,255,.16); }
  .dropdown { background: #fff; border: 0; }
  .dropdown a { color: #274862; }
  .hero-inner { display: block; padding-top: 41px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(31px, 8.6vw, 41px); line-height: 1.18; margin: 17px 0; }
  .hero-content > p { font-size: 13px; margin-bottom: 23px; }
  .hero-visual { margin: 30px 0 0; height: 245px; max-width: none; }
  .photo-frame { inset: 0; border-radius: 2px; }
  .hero-bottom { display: none; }
  .section { padding: 54px 0; }
  .section-heading h2, .docs-intro h2 { font-size: 30px; }
  .quick-access { padding-top: 51px; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .quick-card { min-height: 98px; padding: 13px; gap: 10px; }
  .quick-icon, .quick-icon.blue, .quick-icon.peach, .quick-icon.lilac, .quick-icon.mint { width: 36px; height: 36px; }
  .quick-icon svg { width: 19px; height: 19px; }
  .quick-copy strong { font-size: 12px; }
  .quick-copy small { font-size: 9.5px; }
  .quick-arrow { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured-art { min-height: 200px; height: 200px; }
  .news-stack { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 43px 1fr 14px; }
  .institutions-wrap { padding-top: 54px; padding-bottom: 56px; }
  .institutions-intro h2 { font-size: 31px; }
  .institutions-cards { grid-template-columns: 1fr; }
  .institution-card, .institution-card:nth-child(3) { grid-column: auto; min-height: 0; }
  .institution-card h3 { min-height: 0; }
  .docs-layout { grid-template-columns: 1fr; gap: 20px; }
  .service-section { padding: 54px 0; }
  .service-heading h2 { font-size: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-message, .reception-card { padding: 27px 24px; }
  .service-message h3 { font-size: 27px; }
  .links-grid { grid-template-columns: 1fr 1fr; }
  .links-grid > a { min-height: 93px; padding: 15px 12px; }
  .links-grid > a strong { font-size: 11.5px; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .programs-grid img { height: 124px; }
  .resources-grid { grid-template-columns: 1fr; }
  .resources-grid > a { min-height: 91px; }
}
@media (max-width: 390px) {
  .brand-copy strong { font-size: 14px; }
  .brand-copy span { font-size: 8px; }
  .hero h1 { font-size: 32px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 80px; }
  .links-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
}

body.accessible .hero, body.accessible .news-section, body.accessible .service-section, body.accessible .institutions-section { background: #fff; }
body.accessible .institutions-intro h2, body.accessible .institutions-intro h2 em { color: #000; }
body.accessible .institution-card, body.accessible .links-grid > a, body.accessible .resources-grid > a { border-color: #333; }
