/* ============================================
   WALMONT — Информативно-аналитички портал
   Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary:       #1a2f5e;
  --accent:        #1e5fa8;
  --accent-hover:  #174d8e;
  --accent-light:  #e8f0fb;
  --bg:            #f7f8fa;
  --bg-dark:       #0f1f3d;
  --white:         #ffffff;
  --text:          #2c2c2c;
  --text-sec:      #5c6370;
  --border:        #dde1ea;
  --border-light:  #eeeff3;
  --tag-bg:        #eef2fa;

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --max-w: 1200px;
  --pad:   0 1.5rem;

  --radius-s: 3px;
  --radius-m: 6px;
  --radius-l: 10px;

  --shadow-s:  0 1px 4px rgba(0,0,0,.07);
  --shadow-m:  0 4px 14px rgba(0,0,0,.10);
  --shadow-l:  0 8px 28px rgba(0,0,0,.13);

  --tr: .24s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Utility ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: var(--pad); }
.sr-only    { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--primary);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem,4vw,2.9rem); }
h2 { font-size: clamp(1.5rem,3vw,2.1rem); }
h3 { font-size: clamp(1.15rem,2vw,1.5rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.35rem,2.5vw,1.8rem);
  color: var(--primary);
  margin-bottom: 1.75rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: .65rem;
}
.section-title .title-icon {
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 3px;
  flex-shrink: 0;
}

/* ---- Category Badge ---- */
.cat-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .4rem;
}

/* ---- Header ---- */
.site-header {
  background: var(--bg-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo span { color: #6ea8e8; }

/* Main Navigation */
.main-nav ul { display: flex; gap: .2rem; align-items: center; }
.main-nav a {
  display: block;
  padding: .45rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  border-radius: var(--radius-m);
  transition: background var(--tr), color var(--tr);
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
}
.main-nav .has-dropdown { position: relative; }
.main-nav .has-dropdown > a::after { content: ' ▾'; font-size: .65rem; opacity: .7; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  z-index: 200;
  overflow: hidden;
}
.dropdown a {
  color: var(--text) !important;
  padding: .6rem 1rem !important;
  display: block;
  font-size: .85rem !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--border-light);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--accent-light) !important; color: var(--accent) !important; }
.has-dropdown:hover .dropdown { display: block; }

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  padding: .3rem;
}
.mobile-nav {
  display: none;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0 1.5rem;
}
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: .7rem 1.5rem;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background var(--tr);
}
.mobile-nav a:hover { background: rgba(255,255,255,.07); color: var(--white); }
.mobile-nav.open { display: block; }

/* Top bar */
.top-bar {
  background: var(--primary);
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  padding: .35rem 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: rgba(255,255,255,.7); transition: color var(--tr); }
.top-bar a:hover { color: var(--white); }
.top-bar .divider { margin: 0 .75rem; opacity: .3; }

/* ---- Hero ---- */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,50,.92) 40%, rgba(10,20,50,.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0;
  max-width: 780px;
}
.hero-content .hero-meta {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.1rem;
  font-size: clamp(1.9rem,4.5vw,3.1rem);
}
.hero-content p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 1.5rem;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--white);
  font-size: .9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: .15rem;
  transition: border-color var(--tr);
}
.hero-link:hover { border-color: var(--white); }

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.breadcrumb ul {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .8rem;
  color: var(--text-sec);
}
.breadcrumb li::after { content: '/'; margin-left: .5rem; opacity: .4; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--accent); transition: opacity var(--tr); }
.breadcrumb a:hover { opacity: .75; }

/* ---- Page sections ---- */
.section { padding: 3.5rem 0; }
.section--gray { background: var(--bg); }
.section--white { background: var(--white); }
.section--dark { background: var(--primary); color: var(--white); }
.section--dark .section-title { color: var(--white); border-color: rgba(255,255,255,.3); }

/* ---- Cards & Article Grid ---- */
.articles-grid {
  display: grid;
  gap: 1.75rem;
}
.articles-grid--3 { grid-template-columns: repeat(3, 1fr); }
.articles-grid--2 { grid-template-columns: repeat(2, 1fr); }
.articles-grid--4 { grid-template-columns: repeat(4, 1fr); }

.article-card {
  background: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: box-shadow var(--tr), transform var(--tr);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow-m);
  transform: translateY(-3px);
}
.article-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--border-light);
}
.article-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.article-card:hover .article-card__thumb img { transform: scale(1.04); }
.article-card__body {
  padding: 1.25rem 1.3rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  color: var(--text-sec);
  margin-bottom: .5rem;
}
.article-card__meta .cat { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.article-card h3 {
  font-size: 1.05rem;
  font-family: var(--font-head);
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: .65rem;
  flex: 1;
}
.article-card h3 a:hover { color: var(--accent); }
.article-card__excerpt {
  font-size: .86rem;
  color: var(--text-sec);
  line-height: 1.55;
}
.article-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border-light);
  font-size: .78rem;
  color: var(--text-sec);
}
.read-more-link {
  color: var(--accent);
  font-weight: 600;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--tr);
}
.read-more-link:hover { gap: .55rem; }

/* ---- Featured / Lead Article ---- */
.featured-article {
  background: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  transition: box-shadow var(--tr);
}
.featured-article:hover { box-shadow: var(--shadow-m); }
.featured-article__image {
  aspect-ratio: 4/3;
  background: var(--border-light);
  overflow: hidden;
}
.featured-article__image img { width:100%; height:100%; object-fit:cover; }
.featured-article__body {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-article__body h2 {
  font-size: clamp(1.3rem,2.2vw,1.7rem);
  margin-bottom: .8rem;
}
.featured-article__body h2 a:hover { color: var(--accent); }
.featured-article__body p { font-size: .92rem; color: var(--text-sec); }

/* ---- Sidebar ---- */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
}
.sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-s);
}
.sidebar-widget h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent);
}
.sidebar-news-item {
  display: flex;
  gap: .8rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-news-item__date { font-size: .72rem; color: var(--text-sec); white-space: nowrap; }
.sidebar-news-item p { font-size: .82rem; line-height: 1.45; margin-bottom: .2rem; }
.sidebar-news-item a { color: var(--text); font-weight: 500; }
.sidebar-news-item a:hover { color: var(--accent); }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.sidebar-tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 500;
  padding: .25rem .65rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: background var(--tr), color var(--tr);
}
.sidebar-tag:hover { background: var(--accent); color: var(--white); }

/* ---- Category Strip ---- */
.categories-strip {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1.25rem;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: box-shadow var(--tr), transform var(--tr);
  text-align: center;
}
.category-card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.category-card__icon {
  background: var(--accent-light);
  padding: 1.5rem 1rem 1rem;
  font-size: 2rem;
}
.category-card__body { padding: .85rem .75rem 1rem; }
.category-card h4 { font-size: .95rem; margin-bottom: .2rem; }
.category-card span { font-size: .78rem; color: var(--text-sec); }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--primary);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-item .stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: #6ea8e8;
  display: block;
}
.stat-item .stat-label { font-size: .85rem; opacity: .75; margin-top: .3rem; }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 2rem 0;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-m);
  font-size: .875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: all var(--tr);
}
.pagination a:hover  { background: var(--accent); color: var(--white); border-color: var(--accent); }
.pagination .current { background: var(--accent); color: var(--white); border-color: var(--accent); }
.pagination .dots    { border: none; background: none; width: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-m);
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--tr);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-lg { padding: .85rem 2rem; font-size: .96rem; }

/* ---- Search Bar ---- */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  overflow: hidden;
  padding: .25rem .35rem .25rem 1.1rem;
  max-width: 480px;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,95,168,.12);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: .9rem;
  color: var(--text);
  min-width: 0;
}
.search-bar input::placeholder { color: var(--text-sec); }
.search-bar button {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: .45rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  transition: background var(--tr);
}
.search-bar button:hover { background: var(--accent-hover); }

/* Hero search */
.hero-search { max-width: 520px; margin-top: .5rem; }
.hero-search .search-bar { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.hero-search .search-bar input { color: var(--white); }
.hero-search .search-bar input::placeholder { color: rgba(255,255,255,.55); }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; color: var(--primary); margin-bottom: .45rem; }
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-m);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,95,168,.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

/* Success message */
.success-msg {
  display: none;
  background: #d4edda;
  border: 1px solid #a3d9af;
  border-radius: var(--radius-m);
  padding: 1.25rem 1.5rem;
  color: #1d5733;
  margin-top: 1rem;
  font-weight: 500;
  align-items: center;
  gap: .75rem;
}
.success-msg.show { display: flex; }
.success-icon { font-size: 1.4rem; }

/* ---- Newsletter ---- */
.newsletter-section {
  background: var(--primary);
  padding: 3rem 0;
  text-align: center;
}
.newsletter-section h3 { color: var(--white); font-size: 1.55rem; margin-bottom: .6rem; }
.newsletter-section p { color: rgba(255,255,255,.72); margin-bottom: 1.5rem; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: .7rem 1.1rem;
  border: none;
  border-radius: var(--radius-m);
  font-size: .9rem;
  outline: none;
}
.newsletter-form button {
  padding: .7rem 1.5rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-m);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background var(--tr);
}
.newsletter-form button:hover { background: var(--accent-hover); }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand .logo { margin-bottom: .9rem; }
.footer-brand p { font-size: .87rem; line-height: 1.65; color: rgba(255,255,255,.6); max-width: 260px; }
.footer-col h5 {
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1.1rem;
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a { font-size: .86rem; color: rgba(255,255,255,.6); transition: color var(--tr); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: .6rem; margin-bottom: .65rem; font-size: .85rem; }
.footer-contact-item .icon { opacity: .55; width: 16px; flex-shrink: 0; margin-top: .15rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color var(--tr); }
.footer-bottom a:hover { color: var(--white); }
.footer-links { display: flex; gap: 1.25rem; }

/* ---- Article full page ---- */
.article-hero { margin-bottom: 2.5rem; }
.article-hero img {
  width: 100%;
  border-radius: var(--radius-l);
  max-height: 440px;
  object-fit: cover;
}
.article-header { margin-bottom: 2rem; }
.article-header h1 { margin-bottom: 1rem; line-height: 1.2; }
.article-header .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: .83rem;
  color: var(--text-sec);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
  margin-top: .75rem;
}
.article-header .article-meta .cat-tag {
  background: var(--accent-light);
  color: var(--accent);
  padding: .25rem .7rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: .78rem;
}
.article-body {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--text);
}
.article-body h2 {
  font-size: 1.45rem;
  margin: 2rem 0 .85rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border-light);
}
.article-body h3 { font-size: 1.2rem; margin: 1.6rem 0 .7rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  background: var(--accent-light);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  font-style: italic;
  color: var(--primary);
  font-size: 1.05rem;
}
.article-body ul, .article-body ol {
  margin: 1rem 0 1.2rem 1.5rem;
  list-style: disc;
}
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .5rem; }
.article-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.article-tags strong { font-size: .85rem; color: var(--text-sec); margin-right: .2rem; }

/* ---- Category page header ---- */
.cat-page-header {
  background: var(--primary);
  color: var(--white);
  padding: 2.5rem 0;
}
.cat-page-header h1 { color: var(--white); margin-bottom: .4rem; }
.cat-page-header p { color: rgba(255,255,255,.7); font-size: .95rem; }

/* ---- Search page ---- */
.search-page-header {
  background: var(--primary);
  padding: 2.5rem 0;
  color: var(--white);
}
.search-page-header h1 { color: var(--white); margin-bottom: 1rem; }
.search-page-header .search-bar { max-width: 600px; }

/* ---- About ---- */
.about-lead {
  font-size: 1.1rem;
  color: var(--text-sec);
  line-height: 1.8;
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  text-align: center;
}
.team-card__photo {
  aspect-ratio: 1;
  background: var(--accent-light);
  overflow: hidden;
}
.team-card__photo img { width:100%; height:100%; object-fit:cover; }
.team-card__info { padding: 1.2rem 1rem 1.4rem; }
.team-card__info h4 { margin-bottom: .25rem; }
.team-card__info .role { font-size: .82rem; color: var(--accent); font-weight: 600; }
.team-card__info p { font-size: .83rem; color: var(--text-sec); margin-top: .5rem; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1.5rem; }
.value-card {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-s);
  border-top: 4px solid var(--accent);
}
.value-card h4 { margin-bottom: .65rem; }
.value-card p { font-size: .88rem; color: var(--text-sec); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; }
.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-l);
  padding: 2rem;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-detail .icon-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail .detail-text strong { display: block; color: var(--white); margin-bottom: .2rem; font-size: .88rem; }
.contact-detail .detail-text span { color: rgba(255,255,255,.7); font-size: .88rem; }

/* ---- Archive / Filter ---- */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-bottom: 2rem;
}
.filter-bar label { font-size: .83rem; font-weight: 600; color: var(--primary); }
.filter-select {
  padding: .45rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-m);
  font-size: .83rem;
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
  outline: none;
}
.filter-select:focus { border-color: var(--accent); }

/* ---- Policy pages ---- */
.policy-header {
  background: var(--primary);
  padding: 2.5rem 0;
  color: var(--white);
}
.policy-header h1 { color: var(--white); }
.policy-header p { color: rgba(255,255,255,.7); margin-top: .4rem; }
.policy-body {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-s);
  margin: 2.5rem 0;
}
.policy-body h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; color: var(--primary); }
.policy-body h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.policy-body p { font-size: .93rem; color: var(--text); line-height: 1.75; margin-bottom: 1rem; }
.policy-body ul, .policy-body ol { margin: .75rem 0 1rem 1.5rem; }
.policy-body ul { list-style: disc; }
.policy-body ol { list-style: decimal; }
.policy-body li { font-size: .93rem; line-height: 1.7; margin-bottom: .4rem; color: var(--text); }
.policy-updated {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: .85rem 1.25rem;
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  font-size: .85rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* ---- Ticker / Breaking bar ---- */
.breaking-bar {
  background: var(--accent);
  color: var(--white);
  padding: .45rem 0;
  font-size: .82rem;
  overflow: hidden;
}
.breaking-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.breaking-label {
  background: rgba(0,0,0,.25);
  padding: .2rem .65rem;
  border-radius: 2px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .07em;
  white-space: nowrap;
  flex-shrink: 0;
}
.breaking-ticker {
  overflow: hidden;
  flex: 1;
}
.breaking-ticker ul {
  display: flex;
  gap: 3rem;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
}
.breaking-ticker ul li::before { content: '•  '; opacity: .6; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before { content:''; position:absolute; left:.5rem; top:0; bottom:0; width:2px; background:var(--border); }
.timeline-item {
  position: relative;
  padding-bottom: 1.75rem;
}
.timeline-item::before {
  content:'';
  position:absolute;
  left:-1.4rem;
  top:.35rem;
  width:10px; height:10px;
  border-radius:50%;
  background:var(--accent);
  border:2px solid var(--white);
  box-shadow:0 0 0 2px var(--accent);
}
.timeline-date { font-size: .77rem; color: var(--text-sec); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.timeline-item h4 { font-size: .97rem; margin: .3rem 0 .3rem; }
.timeline-item p { font-size: .85rem; color: var(--text-sec); }

/* ---- Sitemap ---- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.sitemap-col h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; color: var(--primary); }
.sitemap-col ul li { margin-bottom: .45rem; }
.sitemap-col ul li a { font-size: .9rem; color: var(--text-sec); transition: color var(--tr); }
.sitemap-col ul li a:hover { color: var(--accent); }

/* ---- Cookie Banner ---- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-dark);
  color: rgba(255,255,255,.85);
  padding: 1.2rem 1.5rem;
  z-index: 1000;
  border-top: 3px solid var(--accent);
}
.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: .86rem; margin: 0; }
.cookie-banner a { color: #6ea8e8; }
.cookie-banner-btns { display: flex; gap: .65rem; flex-shrink: 0; }
.cookie-banner.show { display: flex; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .articles-grid--4 { grid-template-columns: repeat(2,1fr); }
  .categories-strip { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .articles-grid--3, .articles-grid--2 { grid-template-columns: 1fr; }
  .featured-article { grid-template-columns: 1fr; }
  .categories-strip { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { order: -1; }
  .form-row { grid-template-columns: 1fr; }
  .top-bar-inner { justify-content: center; }
  .top-bar-inner .date-part { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .policy-body { padding: 1.5rem 1.25rem; }
  .hero-section { min-height: 400px; }
  .sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .categories-strip { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.75rem; }
}
