/*
Theme Name:  Invest Tashkent
Theme URI:   https://investdep.uz
Author:      Invest Tashkent Dev
Description: Toshkent shahar Investitsiyalar, sanoat va savdo boshqarmasi rasmiy veb-sayti. Uzbek, Russian and English. Fully responsive, accessible.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uzbektourism
Tags:        government, uzbekistan, tourism, custom-menu, featured-images, threaded-comments, accessibility-ready, translation-ready, rtl-language-support, custom-logo, custom-header, custom-background, full-width-template, two-columns, left-sidebar, right-sidebar
*/

/* =============================================
   CSS CUSTOM PROPERTIES
============================================= */
:root {
  --c-blue:        #1A365D;
  --c-blue-dark:   #0F2440;
  --c-blue-mid:    #244A7A;
  --c-blue-light:  #E8EDF4;
  --c-green:       #008080;
  --c-green-light: #E0F0F0;
  --c-gold:        #D4AC0D;
  --c-gold-light:  #FEF9E7;
  --c-red:         #C0392B;

  --c-white:   #FFFFFF;
  --c-bg:      #F4F6F9;
  --c-surface: #FFFFFF;
  --c-border:  #E2E6ED;
  --c-text:    #2D3748;
  --c-muted:   #718096;
  --c-light:   #A0AEC0;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Noto Sans', 'Segoe UI', Tahoma, sans-serif;
  --font-mono:    'Courier New', monospace;

  /* Spacing */
  --gap:    24px;
  --radius: 6px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow:    0 2px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 6px 28px rgba(0,0,0,.14);

  /* Transitions */
  --t: .22s ease;

  /* Layout */
  --container: 1260px;
  --sidebar-w: 320px;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--c-text);
}
a { color: var(--c-blue); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-green); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--c-green); outline-offset: 2px; }

/* =============================================
   ACCESSIBILITY
============================================= */
.skip-link {
  position: absolute;
  left: -999em;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  background: var(--c-green);
  color: #000;
  font-weight: 700;
  padding: 10px 20px;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; top: 0; width: auto; height: auto; }
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* =============================================
   LAYOUT UTILITIES
============================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; gap: var(--gap); }
.col-main  { flex: 1 1 0; min-width: 0; }
.col-side  { width: var(--sidebar-w); flex-shrink: 0; }
@media (max-width: 960px) { .col-side { width: 100%; } .row { flex-direction: column; } }

.section       { margin-bottom: 40px; }
.section-inner { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--c-blue);
  color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head h2::before {
  content: '';
  display: inline-block;
  width: 4px; height: 20px;
  background: var(--c-green);
  border-radius: 2px;
}
.section-head a {
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  border: 1px solid rgba(255,255,255,.35);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all var(--t);
}
.section-head a:hover { background: var(--c-green); color: #000; border-color: var(--c-green); }
.section-body { padding: 20px; }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t);
  line-height: 1.3;
  text-align: center;
}
.btn-primary   { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.btn-primary:hover { background: var(--c-blue-dark); border-color: var(--c-blue-dark); color:#fff; }
.btn-secondary { background: var(--c-green); color:#fff; border-color: var(--c-green); }
.btn-secondary:hover { background:#145a32; border-color:#145a32; color:#fff; }
.btn-outline   { background: transparent; color: var(--c-blue); border-color: var(--c-blue); }
.btn-outline:hover { background: var(--c-blue); color:#fff; }
.btn-gold      { background: var(--c-green); color:#fff; border-color:var(--c-green); }
.btn-gold:hover { background:#006666; border-color:#006666; }
.btn-sm { padding: 6px 14px; font-size: .8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* =============================================
   TAGS / BADGES
============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-blue  { background: var(--c-blue-light); color: var(--c-blue); }
.badge-green { background: var(--c-green-light); color: var(--c-green); }
.badge-gold  { background: var(--c-gold-light); color: #7d6608; }
.badge-red   { background: #fdecea; color: var(--c-red); }
.badge-new   { background: var(--c-red); color: #fff; }

/* =============================================
   TOP GOVERNMENT BAR
============================================= */
.gov-bar {
  background: var(--c-blue-dark);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.gov-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.gov-bar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: .8rem;
}
.gov-bar-brand { display: flex; align-items: center; gap: 10px; }
.gov-bar-brand img { width: auto; height: 36px; }
.gov-bar-brand span { font-size: .75rem; color: rgba(255,255,255,.8); max-width: 300px; line-height: 1.3; }
.gov-bar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.gov-bar-right a { color: rgba(255,255,255,.7); }
.gov-bar-right a:hover { color: var(--c-green); }
.gov-bar-clock { color: rgba(255,255,255,.6); font-family: var(--font-mono); font-size: .75rem; }

/* Language switcher */
.lang-switcher { display: flex; gap: 4px; }
.lang-switcher a {
  padding: 2px 8px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 3px;
  color: rgba(255,255,255,.7);
  font-size: .73rem;
  font-weight: 600;
}
.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--c-green);
  border-color: var(--c-green);
  color: #000;
}
.egov-link { display: flex; align-items: center; gap: 5px; }

/* =============================================
   SITE HEADER
============================================= */
.site-header {
  background: var(--c-blue-dark);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 3px 20px rgba(0,0,0,.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  flex-shrink: 0;
}
.site-logo img { width: 58px; height: auto; }
.logo-text { line-height: 1.3; }
.logo-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  letter-spacing: .01em;
}
.logo-text span { font-size: .73rem; color: rgba(255,255,255,.65); }

/* Search */
.header-search { display: flex; flex: 0 0 280px; gap: 0; }
.header-search input {
  flex: 1;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 9px 14px;
  color: #fff;
  font-size: .85rem;
  outline: none;
  transition: background var(--t);
}
.header-search input::placeholder { color: rgba(255,255,255,.45); }
.header-search input:focus { background: rgba(255,255,255,.2); }
.header-search button {
  background: var(--c-green);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 9px 16px;
  cursor: pointer;
  color: #000;
  font-size: .85rem;
  font-weight: 700;
  transition: background var(--t);
}
.header-search button:hover { background: #006666; }

/* Mobile burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--t);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   MAIN NAVIGATION
============================================= */
.main-nav {
  background: var(--c-blue-mid);
  border-bottom: 3px solid var(--c-green);
  position: relative;
  z-index: 499;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 13px 18px;
  color: rgba(255,255,255,.92);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--t);
  border-bottom: 3px solid transparent;
}
.nav-list > li > a .arrow { font-size: .65rem; opacity: .7; transition: transform var(--t); }
.nav-list > li:hover > a,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a {
  color: var(--c-green);
  background: rgba(0,0,0,.2);
  border-bottom-color: var(--c-green);
  text-decoration: none;
}
.nav-list > li:hover > a .arrow { transform: rotate(180deg); }

/* Mega / dropdown menus */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-green);
  min-width: 260px;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  animation: dropIn .18s ease;
}
@keyframes dropIn { from { opacity:0; transform: translateY(-6px); } to { opacity:1; transform:none; } }
.nav-list > li:hover .nav-dropdown { display: block; }
.nav-dropdown ul { padding: 8px 0; }
.nav-dropdown ul li a {
  display: block;
  padding: 9px 20px;
  font-size: .85rem;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  transition: all var(--t);
}
.nav-dropdown ul li:last-child a { border-bottom: none; }
.nav-dropdown ul li a:hover {
  background: var(--c-blue-light);
  color: var(--c-blue);
  padding-left: 26px;
  text-decoration: none;
}

/* Mega menu for wide dropdowns */
.nav-mega { min-width: 600px; display: none; }
.nav-list > li:hover .nav-mega { display: block; }
.nav-mega-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 16px; }
.nav-mega-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-muted);
  padding: 4px 0 8px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 6px;
}
.nav-mega-col ul li a {
  display: block;
  padding: 6px 4px;
  font-size: .83rem;
  color: var(--c-text);
  border-bottom: none;
  transition: all var(--t);
}
.nav-mega-col ul li a:hover { color: var(--c-blue); padding-left: 8px; text-decoration: none; }

/* =============================================
   BREADCRUMB
============================================= */
.breadcrumb-bar {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: .8rem;
  color: var(--c-muted);
}
.breadcrumb a { color: var(--c-blue); }
.breadcrumb a:hover { color: var(--c-green); text-decoration: none; }
.breadcrumb-sep { color: var(--c-light); padding: 0 2px; }
.breadcrumb-current { color: var(--c-text); font-weight: 600; }

/* =============================================
   HERO / HOME BANNER
============================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-blue-dark) 0%, var(--c-blue) 50%, #16a085 100%);
  min-height: 440px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.06) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(212,172,13,.08) 0%, transparent 45%);
  pointer-events: none;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 2; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

.weather-widget {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.weather-day {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: .82rem;
  color: #fff;
}
.weather-day .weather-label {
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--c-green);
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}
.weather-day .weather-icon { font-size: 1.3rem; }
.weather-day .weather-desc { font-size: .78rem; white-space: nowrap; }
.weather-day .weather-temp { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.weather-day .weather-wind { font-size: .72rem; opacity: .75; white-space: nowrap; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,128,128,.12);
  border: 1px solid rgba(0,128,128,.3);
  color: var(--c-green);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero h1 em { color: var(--c-green); font-style: normal; }
.hero-desc { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 30px; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat { text-align: left; }
.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--c-green);
  line-height: 1;
}
.hero-stat span { font-size: .78rem; color: rgba(255,255,255,.65); }

/* Hero side panel – quick services */
.hero-panel {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
}
.hero-panel h3 { font-size: 1rem; color: #fff; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.2); }
.hero-quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 14px 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  transition: all var(--t);
}
.hero-quick-link:hover { background: var(--c-green); color: #000; border-color: var(--c-green); text-decoration: none; }
.hero-quick-link .icon { font-size: 1.6rem; }

/* =============================================
   MAIN PAGE LAYOUT
============================================= */
.page-wrapper { padding: 30px 0 50px; }
.main-content-area { flex: 1; min-width: 0; }
.sidebar-area { width: var(--sidebar-w); flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 960px) { .sidebar-area { width: 100%; } }

/* =============================================
   NEWS SECTION
============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  padding: 20px;
}
.news-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface);
  transition: box-shadow var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #c8d9f0, #bde8d4);
  position: relative;
}
.news-thumb img { width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-thumb-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size: 3rem; opacity: .4;
}
.news-body { padding: 15px; flex:1; display:flex; flex-direction:column; }
.news-meta {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  font-size: .73rem; color: var(--c-muted); margin-bottom: 8px;
}
.news-date { display: flex; align-items: center; gap: 4px; }
.news-cat a { color: var(--c-blue); font-weight: 700; }
.news-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 8px; flex:1; line-height: 1.4; }
.news-title a { color: var(--c-text); }
.news-title a:hover { color: var(--c-blue); text-decoration: none; }
.news-excerpt { font-size: .83rem; color: var(--c-muted); line-height: 1.6; margin-bottom: 12px; }
.news-footer { margin-top: auto; }

/* News tabs */
.news-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 16px 20px 0; border-bottom: 1px solid var(--c-border); }
.news-tab-btn {
  padding: 8px 16px;
  border: none;
  background: none;
  font-size: .83rem;
  font-weight: 600;
  color: var(--c-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--t);
}
.news-tab-btn.active, .news-tab-btn:hover { color: var(--c-blue); border-bottom-color: var(--c-blue); }

/* =============================================
   ACTIVITY DIRECTIONS
============================================= */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
  padding: 20px;
}
.activity-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  background: var(--c-surface);
  transition: all var(--t);
  display: block;
  color: var(--c-text);
}
.activity-card:hover {
  border-color: var(--c-blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--c-blue);
  text-decoration: none;
}
.activity-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-mid));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  transition: transform var(--t);
}
.activity-card:hover .activity-icon { transform: scale(1.1) rotate(-3deg); }
.activity-label { font-weight: 700; font-size: .87rem; line-height: 1.35; }

/* =============================================
   INTERACTIVE SERVICES
============================================= */
.services-list { padding: 12px 0; }
.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t);
}
.service-item:last-child { border-bottom: none; }
.service-item:hover { background: var(--c-blue-light); }
.service-num {
  width: 34px; height: 34px;
  flex-shrink: 0;
  background: var(--c-blue);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 700;
}
.service-body { flex:1; min-width:0; }
.service-body strong { display: block; font-size: .9rem; }
.service-body span { font-size: .77rem; color: var(--c-muted); }
.service-arrow { color: var(--c-muted); font-size: 1.1rem; }
.service-item a { color: inherit; display: contents; }
.service-item a:hover { text-decoration: none; }

/* =============================================
   EVENTS CALENDAR
============================================= */
.events-list { padding: 12px 0; }
.event-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t);
}
.event-item:last-child { border-bottom: none; }
.event-item:hover { background: var(--c-green-light); }
.event-date-box {
  flex-shrink: 0;
  width: 52px;
  background: var(--c-green);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  padding: 8px 6px;
}
.event-date-box .day { display: block; font-size: 1.5rem; font-weight: 700; font-family: var(--font-heading); line-height: 1; }
.event-date-box .mon { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; opacity: .9; }
.event-body { flex:1; min-width:0; }
.event-body h4 { font-size: .9rem; font-weight: 700; margin-bottom: 4px; line-height: 1.35; }
.event-body h4 a { color: var(--c-text); }
.event-body h4 a:hover { color: var(--c-green); text-decoration: none; }
.event-meta { font-size: .75rem; color: var(--c-muted); display:flex; gap:12px; flex-wrap:wrap; }

/* =============================================
   DOCUMENTS / LEGAL
============================================= */
.doc-list { padding: 8px 0; }
.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t);
}
.doc-item:last-child { border-bottom: none; }
.doc-item:hover { background: var(--c-gold-light); }
.doc-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.doc-body { flex:1; min-width:0; }
.doc-body h4 { font-size: .88rem; font-weight: 700; margin-bottom: 3px; line-height: 1.4; }
.doc-body h4 a { color: var(--c-text); }
.doc-body h4 a:hover { color: var(--c-blue); text-decoration: none; }
.doc-meta { font-size: .73rem; color: var(--c-muted); display:flex; gap:10px; flex-wrap:wrap; }

/* =============================================
   USEFUL LINKS
============================================= */
.useful-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  padding: 20px;
}
.useful-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text);
  transition: all var(--t);
}
.useful-link-card .ico { font-size: 1.5rem; flex-shrink:0; }
.useful-link-card:hover { border-color: var(--c-blue); color: var(--c-blue); box-shadow: var(--shadow); text-decoration: none; }

/* =============================================
   SURVEYS / POLL WIDGET
============================================= */
.survey-widget { padding: 20px; }
.survey-question { font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.survey-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.survey-option { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.survey-option input[type="radio"] { accent-color: var(--c-blue); width: 16px; height: 16px; }
.survey-option label { font-size: .875rem; cursor: pointer; }
.survey-bar-wrap { background: var(--c-border); border-radius: 20px; height: 6px; margin-top: 4px; overflow: hidden; }
.survey-bar { height: 100%; background: var(--c-blue); border-radius: 20px; transition: width .5s ease; }

/* =============================================
   PROJECTS STRIP
============================================= */
.projects-section {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-mid) 100%);
  padding: 50px 0;
  margin-bottom: 0;
}
.projects-section .section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  border-left: 4px solid var(--c-green);
  padding-left: 16px;
  margin-bottom: 28px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.project-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--c-green);
}
.project-card:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.project-badge {
  display: inline-block;
  background: var(--c-green);
  color: #000;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.project-card h4 { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 8px; }
.project-card p { font-size: .82rem; opacity: .8; line-height: 1.6; }

/* =============================================
   STATISTICS COUNTER
============================================= */
.stats-section {
  background: var(--c-blue-light);
  border-top: 3px solid var(--c-green);
  border-bottom: 3px solid var(--c-blue);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--c-blue);
  line-height: 1;
}
.stat-item span { font-size: .83rem; color: var(--c-muted); margin-top: 4px; display: block; }
.stat-divider {
  width: 1px;
  background: var(--c-border);
  align-self: stretch;
}
@media (max-width: 600px) { .stat-divider { display: none; } }

/* =============================================
   SIDEBAR WIDGETS
============================================= */
.widget {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.widget-title {
  background: var(--c-blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .95rem;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-title .wicon { font-size: 1rem; }
.widget-inner { padding: 14px; }
.widget-link-list li { border-bottom: 1px solid var(--c-border); }
.widget-link-list li:last-child { border-bottom: none; }
.widget-link-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 2px;
  font-size: .84rem;
  color: var(--c-text);
  transition: all var(--t);
}
.widget-link-list li a::before { content: '›'; color: var(--c-blue); font-size: 1.1rem; }
.widget-link-list li a:hover { color: var(--c-blue); padding-left: 6px; text-decoration: none; }

/* Contacts widget */
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: .85rem;
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .cico { font-size: 1rem; color: var(--c-blue); flex-shrink: 0; margin-top: 2px; }
.contact-info-list a { color: var(--c-blue); }
.contact-info-list a:hover { color: var(--c-green); }

/* Social links in widget */
.social-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  transition: opacity var(--t);
}
.social-link:hover { opacity: .85; text-decoration: none; color: #fff; }
.social-link.telegram { background: #0088cc; }
.social-link.facebook { background: #1877f2; }
.social-link.youtube  { background: #ff0000; }
.social-link.instagram{ background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }

/* =============================================
   LEADERSHIP CARDS
============================================= */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.leader-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: box-shadow var(--t), transform var(--t);
}
.leader-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.leader-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #c8d9f0, #a9cce3);
  overflow: hidden;
}
.leader-photo img { width:100%; height:100%; object-fit:cover; }
.leader-photo-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:4rem; opacity:.3; }
.leader-info { padding: 16px 12px; }
.leader-info h3 { font-size: .95rem; margin-bottom: 4px; }
.leader-info span { font-size: .78rem; color: var(--c-muted); }
.leader-contact { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.leader-contact a { color: var(--c-blue); font-size: .8rem; }

/* =============================================
   FAQ / ACCORDION
============================================= */
.faq-list { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 20px;
  text-align: left;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  transition: background var(--t);
}
.faq-question:hover { background: var(--c-blue-light); }
.faq-question .faq-icon { font-size: 1.2rem; color: var(--c-blue); flex-shrink:0; transition: transform var(--t); }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--c-muted);
  border-top: 1px solid var(--c-border);
}
.faq-item.open .faq-answer { display: block; }

/* =============================================
   SINGLE PAGE / INNER CONTENT
============================================= */
.entry-header { margin-bottom: 28px; }
.entry-title { font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--c-text); line-height: 1.25; margin-bottom: 14px; }
.entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: .8rem; color: var(--c-muted); }
.entry-meta a { color: var(--c-blue); }
.entry-featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.entry-featured-img img { width:100%; height:auto; }

.entry-content {
  font-size: .9375rem;
  line-height: 1.75;
}
.entry-content h2 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--c-blue); margin: 28px 0 14px; padding-left: 14px;   border-left: 4px solid var(--c-green); }
.entry-content h3 { font-size: 1.1rem; margin: 22px 0 10px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul, .entry-content ol { list-style: disc; padding-left: 24px; margin-bottom: 18px; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 6px; }
.entry-content a { color: var(--c-blue); border-bottom: 1px dotted var(--c-blue); }
.entry-content a:hover { color: var(--c-green); border-color: var(--c-green); }
.entry-content blockquote {
  border-left: 4px solid var(--c-blue);
  background: var(--c-blue-light);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.entry-content table th { background: var(--c-blue); color: #fff; padding: 10px 14px; text-align: left; }
.entry-content table td { padding: 10px 14px; border-bottom: 1px solid var(--c-border); }
.entry-content table tr:hover td { background: var(--c-blue-light); }
.entry-content img { border-radius: var(--radius); max-width: 100%; margin: 16px 0; }
.entry-content .wp-block-image figcaption { font-size: .78rem; color: var(--c-muted); text-align:center; margin-top:6px; }

/* =============================================
   CONTACT PAGE
============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-wrap { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; }
.contact-form-wrap h2 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--c-blue); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width:100%;
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .9rem;
  background: var(--c-bg);
  color: var(--c-text);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(26,82,118,.15);
  background: #fff;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-required { color: var(--c-red); }

/* =============================================
   PAGINATION
============================================= */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 30px 0;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: .875rem;
  color: var(--c-text);
  transition: all var(--t);
  background: var(--c-surface);
}
.pagination a:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); text-decoration: none; }
.pagination span.current { background: var(--c-blue); color: #fff; border-color: var(--c-blue); font-weight: 700; }

/* =============================================
   SITE FOOTER
============================================= */
.site-footer {
  background: var(--c-blue-dark);
  color: rgba(255,255,255,.75);
  padding-top: 60px;
}
.footer-top { padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand .logo img { width: 60px; }
.footer-brand .logo strong { font-family: var(--font-heading); color: #fff; font-size: 1rem; line-height: 1.3; }
.footer-brand p { font-size: .84rem; line-height: 1.7; max-width: 280px; opacity: .75; margin-bottom: 18px; }
.footer-contact li { display:flex; align-items:center; gap:8px; font-size: .83rem; margin-bottom: 8px; }
.footer-contact a { color: var(--c-green); }
.footer-contact a:hover { color: #fff; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-green);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .83rem;
  transition: color var(--t);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before { content: '›'; color: var(--c-green); }
.footer-col ul li a:hover { color: var(--c-green); text-decoration: none; }

.footer-socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2);
  transition: all var(--t);
}
.footer-social:hover { background: var(--c-green); border-color: var(--c-green); color: #000; text-decoration: none; }

/* Sitemap in footer */
.footer-sitemap { padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}
.footer-sitemap-col h5 { color: rgba(255,255,255,.5); font-size: .73rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.footer-sitemap-col ul li { margin-bottom: 5px; }
.footer-sitemap-col ul li a { color: rgba(255,255,255,.55); font-size: .78rem; transition: color var(--t); }
.footer-sitemap-col ul li a:hover { color: var(--c-green); text-decoration: none; }

/* Bottom bar */
.footer-bottom {
  background: rgba(0,0,0,.25);
  padding: 14px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .77rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--c-green); }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* =============================================
   MOBILE NAVIGATION
============================================= */
@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .main-nav .container { padding: 0; }
  .nav-list {
    display: none;
    flex-direction: column;
    background: var(--c-blue-dark);
    width: 100%;
  }
  .nav-list.nav-open { display: flex; }
  .nav-list > li > a { border-bottom: 1px solid rgba(255,255,255,.08); padding: 13px 20px; }
  .nav-dropdown, .nav-mega { position: static; display: none; border-top: none; border-radius: 0; min-width: auto; animation: none; }
  .nav-list > li.sub-open .nav-dropdown,
  .nav-list > li.sub-open .nav-mega { display: block; }
  .nav-mega-inner { grid-template-columns: 1fr; }
  .header-search { flex: 0 0 180px; }
}
@media (max-width: 600px) {
  .header-search { display: none; }
  .site-logo .logo-text span { display: none; }
}

/* =============================================
   PRINT
============================================= */
@media print {
  .gov-bar, .site-header, .main-nav, .breadcrumb-bar,
  .hero, .sidebar-area, .site-footer, .nav-burger,
  .projects-section, .stats-section { display: none !important; }
  body { font-size: 12pt; background: #fff; color: #000; }
  .entry-content a::after { content: ' (' attr(href) ')'; font-size: .7em; }
}