:root {
  --bg: #F4F6F3;
  --surface: #FFFFFF;
  --ink: #14315C;
  --accent: #E6B800;
  --green: #1B6E45;
  --green-deep: #155A38;
  --navy: #123A8C;
  --navy-deep: #0E2F73;
  --muted: #5B6F88;
  --line: #E3E8EE;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.anc-wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.anc-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.anc-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.anc-logo img {
  height: 58px;
  width: auto;
}
.anc-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.anc-nav a {
  position: relative;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.anc-nav a.is-active::after,
.anc-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background: var(--accent);
}
.anc-search {
  display: flex;
  align-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.anc-search-form {
  display: none;
  align-items: center;
}
.anc-search-form.is-open { display: flex; }
.anc-search-form input {
  width: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}
.anc-menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  color: var(--ink);
}

.anc-hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
  padding: 22px 0 8px;
}
.anc-story {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #1a3358;
  color: #fff;
  min-height: 0;
}
.anc-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.anc-story__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 48, 0.05) 20%, rgba(10, 24, 48, 0.82) 100%);
}
.anc-story--main { grid-row: 1 / 3; }
.anc-story__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
}
.anc-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.anc-story h2,
.anc-story h3 {
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.anc-story--main h2 { font-size: 42px; max-width: 16ch; }
.anc-story--side h3 { font-size: 20px; }
.anc-story p {
  margin: 0 0 14px;
  max-width: 46ch;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
}
.anc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #14315C;
  font-size: 13px;
  font-weight: 800;
}

.anc-ad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 22px 0 8px;
  padding: 22px 36px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
}
.anc-ad__left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.anc-ad svg { width: 54px; height: 54px; }
.anc-ad h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
}
.anc-ad__right {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 220px;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.anc-section { padding: 28px 0 10px; }
.anc-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.anc-section__head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}
.anc-section__head h2::before {
  content: "";
  width: 28px;
  height: 4px;
  background: var(--accent);
}
.anc-section__head a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.anc-news {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.anc-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 8px;
  background: #d7e0ea;
}
.anc-card__cat {
  display: block;
  margin: 10px 0 6px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.anc-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.2;
}
.anc-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.anc-card time {
  color: #8A97A8;
  font-size: 12px;
}

.anc-explore {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.anc-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.anc-tile--navy { background: var(--navy-deep); }
.anc-tile--blue { background: var(--navy); }
.anc-tile--green { background: var(--green); }
.anc-tile svg { width: 22px; height: 22px; flex: 0 0 auto; }
.anc-tile span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.anc-footer {
  margin-top: 36px;
  padding: 36px 0 16px;
  background: var(--navy-deep);
  color: #fff;
}
.anc-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
}
.anc-footer img {
  height: 72px;
  width: auto;
  margin-bottom: 12px;
}
.anc-footer p, .anc-footer a { color: rgba(255,255,255,0.82); font-size: 14px; }
.anc-footer h3 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.anc-footer ul { margin: 0; padding: 0; list-style: none; }
.anc-footer li { margin: 0 0 8px; }
.anc-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}
.anc-social { display: flex; gap: 10px; }
.anc-social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}

@media (max-width: 1080px) {
  .anc-news { grid-template-columns: repeat(3, 1fr); }
  .anc-explore { grid-template-columns: repeat(3, 1fr); }
  .anc-story--main h2 { font-size: 32px; }
}
@media (max-width: 820px) {
  .anc-menu-toggle { display: block; }
  .anc-nav { display: none; }
  .anc-nav.is-open {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    padding: 16px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    z-index: 20;
  }
  .anc-header { position: relative; }
  .anc-hero {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .anc-story { min-height: 240px; }
  .anc-story--main { grid-row: auto; min-height: 320px; }
  .anc-ad, .anc-footer__grid, .anc-footer__bottom { display: block; }
  .anc-ad__right { max-width: none; text-align: left; margin-top: 12px; }
  .anc-news, .anc-explore { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .anc-news, .anc-explore { grid-template-columns: 1fr; }
}
