/* ============================================================
   PAGES.CSS — Barcha sahifalar uchun page-specific stillar
   ============================================================
   Sections:
     1. Shared (barcha sahifalarda ishlatiladigan umumiy elementlar)
     2. About       — pages/about.html
     3. Structure   — pages/structure.html
     4. Competitions — pages/competitions.html
     5. Announcements — pages/announcements.html
     6. Events      — pages/events.html
     7. Gallery     — pages/gallery.html
     8. Video Gallery — pages/video-gallery.html
     9. Documents   — pages/documents.html
    10. Open Data   — pages/open-data.html
    11. Contact     — pages/contact.html
   ============================================================ */


/* ============================================================
   1. SHARED — Barcha inner sahifalarda ishlatiladigan stillar
   ============================================================ */

.page-hero-subtitle,
.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin-top: 0.6rem;
  margin-bottom: 0;
  font-weight: 400;
}

.cta-banner-section {
  padding: 72px 0;
  background: var(--bg-section-alt);
}

.cta-banner {
  background: linear-gradient(135deg, #08152E 0%, #0B1E44 55%, #12305F 100%);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='0.035'%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");
  pointer-events: none;
}

.cta-banner-glow {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(62,138,196,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.9rem;
  line-height: 1.2;
  position: relative;
}

.cta-banner p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0;
  line-height: 1.7;
  position: relative;
  max-width: 520px;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #0B1E44;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 0.75rem 1.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-cta-white:hover {
  background: #f0f4ff;
  color: #08152E;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-cta-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  padding: 0.75rem 1.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.btn-cta-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .cta-banner { padding: 2.5rem 1.75rem; }
  .cta-banner-actions { justify-content: flex-start; }
  .cta-banner p { max-width: 100%; }
}


/* ============================================================
   2. ABOUT — pages/about.html
   ============================================================ */

/* Exact same gradient as page-hero — seamless, zero visible seam */
.about-premium-section {
  padding: 80px 0 110px;
  background: linear-gradient(160deg, #060F22 0%, #08152E 40%, #0B1E44 100%);
  position: relative;
  overflow: hidden;
}

/* Section-level decorative layers */
.about-premium-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(62,138,196,0.13) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.about-premium-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
  z-index: 0;
}

/* Card: glass — shows section bg through it, unified look */
.about-premium-card {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  box-shadow:
    0 2px 40px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.10);
  min-height: 480px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

[data-theme="dark"] .about-premium-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  box-shadow:
    0 2px 40px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

.about-premium-card::after { display: none; }
.about-premium-card::before { display: none; }

.apc-accent-dot {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 8px;
  height: 8px;
  background: #F5A623;
  border-radius: 50%;
  z-index: 4;
  display: block;
  box-shadow: 0 0 0 3px rgba(245,166,35,0.2);
}

.apc-content-panel {
  flex: 1;
  padding: 3.75rem 2.75rem 3.75rem 3.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.apc-decree-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 0.6rem 1.1rem;
  margin-bottom: 1.6rem;
  width: fit-content;
}

.adc-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(150,215,250,0.92);
  flex-shrink: 0;
}

.adc-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.adc-main {
  font-size: 0.80rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  line-height: 1.35;
}

.adc-sub {
  font-size: 0.70rem;
  font-weight: 600;
  color: rgba(120,200,245,0.85);
  letter-spacing: 0.025em;
}

.apc-heading {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.apc-desc {
  font-size: 0.935rem;
  font-weight: 600;
  color: rgba(255,255,255,0.86);
  line-height: 1.76;
  margin-bottom: 0.9rem;
}

.apc-desc-2 {
  font-size: 0.91rem;
  font-weight: 500;
  color: rgba(255,255,255,0.68);
  line-height: 1.76;
  margin-bottom: 2rem;
}

.apc-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.13);
  border: 1.5px solid rgba(255,255,255,0.26);
  color: #fff;
  border-radius: 8px;
  padding: 0.72rem 1.55rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  width: fit-content;
}

.apc-cta-link:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.apc-image-panel {
  flex: 0 0 42%;
  padding: 20px 20px 20px 0;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.apc-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Smooth dark→light gradient bridge between sections */
.section-transition-dark-light {
  height: 72px;
  background: linear-gradient(to bottom, #0B1E44 0%, var(--bg-section-alt) 100%);
  margin-bottom: 0;
}

.mvz-section {
  padding: 80px 0;
  background: var(--bg-section-alt);
}

.mvz-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-card);
  padding: 2.25rem 2rem;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mvz-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
}

.mvz-card--blue::before { background: linear-gradient(90deg, #0B1E44, #1A4E82); }
.mvz-card--teal::before { background: linear-gradient(90deg, #0891B2, #06B6D4); }
.mvz-card--gold::before { background: linear-gradient(90deg, #96710A, #C49A20); }

.mvz-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }

.mvz-icon-box {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
  margin-bottom: 1.4rem;
}

.mvz-icon-box--blue { background: linear-gradient(135deg, #0B1E44, #1A4E82); }
.mvz-icon-box--teal { background: linear-gradient(135deg, #0891B2, #06B6D4); }
.mvz-icon-box--gold { background: linear-gradient(135deg, #96710A, #C49A20); }

.mvz-card h4 { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.9rem; }
.mvz-card p  { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 0; }

/* ── Asosiy Ko'rsatkichlar (Stats) ───────────────────────── */
.about-stats-section {
  padding: 88px 0;
  background: linear-gradient(160deg, #060F22 0%, #08152E 45%, #0B1E44 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle dot texture */
.about-stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff' fill-opacity='0.025'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
  z-index: 0;
}

/* Large ambient glow in top-right corner */
.about-stats-section::after {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,159,224,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.about-stats-section .section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}
.about-stats-section .section-header h2 { color: #fff; }
.about-stats-section .section-header p  { color: rgba(255,255,255,0.60); }
.about-stats-section .section-header .tag {
  background: rgba(255,255,255,0.08) !important;
  color: rgba(160,210,255,0.90) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}
.about-stats-section .divider-line {
  background: rgba(255,255,255,0.12) !important;
  opacity: 1 !important;
}

/* Individual stat cards — positioned via Bootstrap row g-3 */
.stat-card {
  --si-c: 58, 159, 224;
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 2.25rem 1.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
  cursor: default;
  z-index: 1;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

/* Colored top stripe */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(var(--si-c), 0.3) 0%,
    rgb(var(--si-c)) 50%,
    rgba(var(--si-c), 0.3) 100%);
  border-radius: 22px 22px 0 0;
  transition: height 0.25s ease;
  z-index: 2;
}

/* Radial glow behind icon */
.stat-card::after {
  content: '';
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--si-c), 0.13) 0%, transparent 70%);
  pointer-events: none;
  transition: width 0.35s ease, height 0.35s ease;
  z-index: 0;
}

.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(var(--si-c), 0.07);
  border-color: rgba(var(--si-c), 0.45);
  box-shadow:
    0 0 0 1px rgba(var(--si-c), 0.12),
    0 16px 44px rgba(var(--si-c), 0.20),
    0 4px 12px rgba(0, 0, 0, 0.30);
}

.stat-card:hover::before { height: 4px; }

.stat-card:hover::after {
  width: 170px;
  height: 170px;
}

/* Icon */
.stat-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  /* gradient bg using card color */
  background: linear-gradient(145deg,
    rgba(var(--si-c), 0.22) 0%,
    rgba(var(--si-c), 0.08) 100%);
  border: 1px solid rgba(var(--si-c), 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: rgb(var(--si-c));
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.stat-card:hover .stat-card-icon {
  transform: scale(1.12) translateY(-2px);
  background: linear-gradient(145deg,
    rgba(var(--si-c), 0.34) 0%,
    rgba(var(--si-c), 0.14) 100%);
  box-shadow: 0 0 0 8px rgba(var(--si-c), 0.10);
}

/* Number */
.stat-card-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgb(var(--si-c));
}

.stat-card-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.3rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.stat-card-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .about-stats-section { padding: 64px 0; }
  .stat-card { padding: 1.875rem 1.25rem 1.625rem; border-radius: 18px; }
  .stat-card-num { font-size: 2.2rem; }
  .stat-card-icon { width: 54px; height: 54px; font-size: 1.3rem; }
}

@media (max-width: 575px) {
  .stat-card-num { font-size: 2rem; }
  .stat-card-icon { width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 1rem; }
}

/* ── Inkubatsiya yo'nalishlari ────────────────────────────── */
.section-incubation-directions {
  padding: 80px 0;
  background: var(--bg-section-alt);
}

.incub-dir-card {
  --card-color: 58, 159, 224;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.25rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  cursor: default;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}

/* Colored top accent stripe */
.incub-dir-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(var(--card-color), 0.6) 0%,
    rgb(var(--card-color)) 50%,
    rgba(var(--card-color), 0.6) 100%);
  border-radius: 20px 20px 0 0;
  transition: height 0.28s ease, opacity 0.28s ease;
  opacity: 0.75;
}

/* Soft glow blob behind icon */
.incub-dir-card::after {
  content: '';
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--card-color), 0.12) 0%, transparent 72%);
  pointer-events: none;
  transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease;
  opacity: 1;
}

.incub-dir-card:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--card-color), 0.45);
  box-shadow:
    0 0 0 1px rgba(var(--card-color), 0.15),
    0 12px 32px rgba(var(--card-color), 0.18),
    0 4px 10px rgba(0, 0, 0, 0.07);
}

.incub-dir-card:hover::before {
  height: 4px;
  opacity: 1;
}

.incub-dir-card:hover::after {
  width: 140px;
  height: 140px;
  opacity: 1;
}

.incub-dir-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(var(--card-color), 0.11);
  border: 1px solid rgba(var(--card-color), 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: rgb(var(--card-color));
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.28s ease,
              box-shadow 0.28s ease;
}

.incub-dir-card:hover .incub-dir-icon {
  transform: scale(1.12) translateY(-2px);
  background: rgba(var(--card-color), 0.18);
  box-shadow: 0 0 0 8px rgba(var(--card-color), 0.09);
}

.incub-dir-card span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  position: relative;
  z-index: 1;
  letter-spacing: 0.01em;
}

[data-theme="dark"] .incub-dir-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .incub-dir-card::after {
  opacity: 0.9;
}

[data-theme="dark"] .incub-dir-card:hover {
  background: rgba(var(--card-color), 0.05);
  border-color: rgba(var(--card-color), 0.40);
  box-shadow:
    0 0 0 1px rgba(var(--card-color), 0.18),
    0 14px 40px rgba(var(--card-color), 0.20),
    0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ── Hamkorlar ────────────────────────────────────────────── */
.about-partners-section {
  padding: 72px 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border-card);
}

.about-partners-section .section-header { margin-bottom: 2.5rem; }

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.partner-logo-item:hover {
  border-color: rgba(1,61,140,0.25);
  box-shadow: 0 6px 20px rgba(9,26,80,0.09);
  transform: translateY(-3px);
}

.partner-logo-item img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(25%);
  opacity: 0.80;
  transition: filter 0.25s, opacity 0.25s;
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

[data-theme="dark"] .partner-logo-item img {
  filter: grayscale(20%) brightness(1.1);
  opacity: 0.72;
}

[data-theme="dark"] .partner-logo-item:hover img {
  filter: grayscale(0%) brightness(1.2);
  opacity: 0.95;
}

.values-section { padding: 80px 0; background: var(--bg-section-alt); }

.value-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-card);
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex; flex-direction: column; gap: 1rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.value-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }

.value-icon-wrap {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: #fff; flex-shrink: 0;
}

.value-icon-wrap--blue   { background: linear-gradient(135deg, #0B1E44, #1A4E82); }
.value-icon-wrap--orange { background: linear-gradient(135deg, #EA580C, #F97316); }
.value-icon-wrap--teal   { background: linear-gradient(135deg, #0891B2, #06B6D4); }
.value-icon-wrap--green  { background: linear-gradient(135deg, #16A34A, #22C55E); }

.value-card h5 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0; }
.value-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 0; }

.activity-section { padding: 80px 0; background: var(--bg-page); }

.activity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex; align-items: flex-start; gap: 1.1rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.activity-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }

.activity-card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; flex-shrink: 0;
}

.activity-card-icon--blue   { background: linear-gradient(135deg, #0B1E44, #1A4E82); }
.activity-card-icon--purple { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.activity-card-icon--orange { background: linear-gradient(135deg, #EA580C, #F97316); }
.activity-card-icon--green  { background: linear-gradient(135deg, #16A34A, #22C55E); }
.activity-card-icon--teal   { background: linear-gradient(135deg, #0891B2, #06B6D4); }
.activity-card-icon--red    { background: linear-gradient(135deg, #DC2626, #EF4444); }

.activity-card-body h5 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; line-height: 1.3; }
.activity-card-body p  { font-size: 0.855rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0; }

@media (max-width: 991px) {
  .about-premium-card { flex-direction: column; min-height: unset; }
  .apc-image-panel { flex: 0 0 auto; height: 320px; padding: 0 20px 20px 20px; }
  .apc-content-panel { padding: 2.5rem 2.25rem 2rem; }
}

@media (max-width: 767px) {
  .about-premium-section { padding: 60px 0; }
  .apc-image-panel { height: 260px; }
  .apc-content-panel { padding: 2rem 1.75rem 1.5rem; }
}

@media (max-width: 575px) {
  .mvz-card { padding: 1.75rem 1.5rem; }
  .apc-image-panel { height: 220px; padding: 0 14px 14px 14px; }
  .apc-content-panel { padding: 1.75rem 1.4rem 1.25rem; }
}


/* ============================================================
   3. STRUCTURE — pages/structure.html
   ============================================================ */

.org-chart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-level { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; position: relative; }

.org-node {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 160px; max-width: 200px;
  position: relative;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.org-node:hover { box-shadow: var(--shadow-card); border-color: var(--color-primary); }
.org-node.primary { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.org-node.primary h6, .org-node.primary p { color: #fff; }

.org-connector   { width: 2px; height: 40px; background: var(--border-color); margin: 0 auto; }
.org-connector-h { height: 2px; background: var(--border-color); flex: 1; align-self: flex-start; margin-top: 0; }

.org-line-wrap { display: flex; align-items: flex-start; width: 100%; position: relative; }
.org-node h6 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; }
.org-node p  { font-size: 0.72rem; color: var(--text-muted); margin: 0; }

.leadership-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.leadership-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }

.leader-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem; color: #fff; font-weight: 700;
}


/* ============================================================
   4. COMPETITIONS — pages/competitions.html
   ============================================================ */

.competition-hero-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 320px;
  display: flex; align-items: flex-end;
  padding: 2rem;
  color: #fff;
  cursor: pointer;
}

.competition-hero-card .bg { position: absolute; inset: 0; }
.competition-hero-card .content { position: relative; z-index: 1; }

.cd-wrap {
  display: inline-flex; gap: 0.75rem; align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 12px; padding: 0.75rem 1.25rem; margin-top: 1rem;
}

.cd-unit { text-align: center; }
.cd-num { font-size: 1.6rem; font-weight: 800; line-height: 1; display: block; }
.cd-lbl { font-size: 0.65rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; }
.cd-sep { font-size: 1.2rem; opacity: 0.5; padding-top: 4px; }

.steps-list { counter-reset: steps; list-style: none; padding: 0; }

.steps-list li {
  counter-increment: steps;
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.steps-list li:last-child { border-bottom: none; }

.steps-list li::before {
  content: counter(steps);
  min-width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-card);
  color: #fff; font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}


/* ============================================================
   5. ANNOUNCEMENTS — pages/announcements.html
   ============================================================ */

.announcement-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s, border-color 0.3s;
  display: flex; align-items: flex-start; gap: 1rem;
}

.announcement-item:hover { box-shadow: var(--shadow-card); }
.announcement-item.urgent { border-left-color: #EF4444; }
.announcement-item.gold   { border-left-color: var(--color-gold); }

.announcement-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff; flex-shrink: 0;
}

.announcement-body { flex: 1; }
.announcement-body h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.announcement-body p  { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card h6 {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1rem;
}


/* ============================================================
   6. EVENTS — pages/events.html
   ============================================================ */

.view-toggle-group { display: flex; gap: 6px; }

.view-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-muted);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  transition: all .25s;
}

.view-btn.active, .view-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  transition: transform .3s, box-shadow .3s;
}

.event-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--shadow-md); }

.event-date-col {
  background: var(--color-primary);
  padding: 1.5rem 1.2rem;
  min-width: 88px;
  color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.event-date-col .day   { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.event-date-col .month { font-size: .7rem; font-weight: 600; opacity: .85; text-transform: uppercase; margin-top: 2px; }
.event-date-col .year  { font-size: .65rem; opacity: .7; margin-top: 1px; }
.event-date-col.accent { background: var(--color-accent); }
.event-date-col.gold   { background: var(--color-gold); }

.event-body { padding: 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }

.event-type-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  width: fit-content;
}

.event-type-badge.online  { background: rgba(0,180,216,.12); color: var(--color-accent); }
.event-type-badge.offline { background: rgba(1,61,140,.1);   color: var(--color-primary); }
.event-type-badge.hybrid  { background: rgba(245,166,35,.12); color: var(--color-gold); }

.event-body h5 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.event-meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .82rem; color: var(--text-muted); }
.event-meta span { display: flex; align-items: center; gap: 5px; }
.event-actions { margin-top: auto; padding-top: .75rem; display: flex; gap: .5rem; flex-wrap: wrap; }

.event-grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}

.event-grid-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px var(--shadow-md); }

.event-grid-top {
  background: var(--color-primary);
  padding: 1.5rem; color: #fff;
  position: relative; overflow: hidden;
}

.event-grid-top.accent { background: linear-gradient(135deg, #0078c8, var(--color-accent)); }
.event-grid-top.gold   { background: linear-gradient(135deg, #e89a00, var(--color-gold)); }

.event-grid-top::after {
  content: '';
  position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}

.event-grid-date  { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.event-grid-month { font-size: .8rem; font-weight: 600; opacity: .85; text-transform: uppercase; }
.event-grid-body  { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }

.mini-calendar {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px; padding: 1.25rem;
}

.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-header h6 { font-size: .9rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.cal-nav { background: none; border: none; color: var(--text-muted); font-size: .9rem; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.cal-nav:hover { background: var(--bg-page); color: var(--text-primary); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day-name { text-align: center; font-size: .65rem; font-weight: 600; color: var(--text-muted); padding: 4px 0; text-transform: uppercase; }

.cal-day {
  text-align: center; font-size: .75rem;
  padding: 5px 2px; border-radius: 6px; cursor: pointer;
  color: var(--text-secondary); transition: all .2s;
}

.cal-day:hover { background: var(--bg-page); }
.cal-day.has-event { font-weight: 700; color: var(--color-primary); position: relative; }
.cal-day.has-event::after { content: ''; display: block; width: 4px; height: 4px; background: var(--color-accent); border-radius: 50%; margin: 1px auto 0; }
.cal-day.today { background: var(--color-primary); color: #fff; font-weight: 700; }
.cal-day.today::after { background: rgba(255,255,255,.7); }
.cal-day.other-month { opacity: .35; }

.past-event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  transition: background .2s;
}

.past-event-card:hover { background: var(--bg-page); }

.past-event-num {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 10px; padding: .6rem .9rem;
  min-width: 60px; text-align: center; flex-shrink: 0;
}

.past-event-num .past-day   { font-size: 1.4rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.past-event-num .past-month { font-size: .65rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }

.event-tabs { display: flex; gap: 6px; flex-wrap: wrap; }

.event-tab-btn {
  padding: 8px 20px; border-radius: 24px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: all .25s;
}

.event-tab-btn.active, .event-tab-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.register-banner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 20px; padding: 2rem 2.5rem;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

@media (max-width: 767px) {
  .event-card { flex-direction: column; }
  .event-date-col { flex-direction: row; padding: .8rem 1.2rem; gap: .5rem; min-width: unset; }
  .event-date-col .day { font-size: 1.5rem; }
}


/* ============================================================
   7. GALLERY — pages/gallery.html
   ============================================================ */

.gallery-masonry { columns: 3; column-gap: 16px; }

@media (max-width: 991px) { .gallery-masonry { columns: 2; } }
@media (max-width: 575px) { .gallery-masonry { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: block; cursor: pointer;
}

.gallery-item img { width: 100%; display: block; border-radius: 14px; transition: transform .5s cubic-bezier(.25,.8,.25,1); }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1,20,50,.85) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
  border-radius: 14px;
  opacity: 0; transition: opacity .3s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-content h6 { color: #fff; font-size: .9rem; font-weight: 700; margin: 0; }
.gallery-overlay-content .g-cat { font-size: .72rem; color: rgba(255,255,255,.75); margin-top: 2px; }

.gallery-zoom-btn {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem;
  opacity: 0; transition: opacity .3s, background .2s;
  backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-zoom-btn { opacity: 1; }
.gallery-zoom-btn:hover { background: rgba(255,255,255,.35); }
.gallery-placeholder { width: 100%; display: block; border-radius: 14px; }
.gallery-filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.gallery-stat { text-align: center; }
.gallery-stat .stat-num   { font-size: 1.8rem; font-weight: 800; color: var(--color-primary); line-height: 1; }
.gallery-stat .stat-label { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

.album-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px; overflow: hidden;
  transition: transform .3s, box-shadow .3s; cursor: pointer;
}

.album-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px var(--shadow-md); }

.album-cover { height: 160px; position: relative; overflow: hidden; }

.album-cover-grid {
  display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr;
  height: 100%; gap: 2px;
}

.album-cover-grid > div { overflow: hidden; }
.album-cover-grid > div:first-child { grid-row: span 2; }

.album-badge {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.6);
  color: #fff; font-size: .7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  backdrop-filter: blur(4px);
}

.album-body { padding: 1rem; }
.album-body h6 { font-size: .95rem; font-weight: 700; color: var(--text-primary); margin: 0 0 .25rem; }
.album-body .album-meta { font-size: .75rem; color: var(--text-muted); }


/* ============================================================
   8. VIDEO GALLERY — pages/video-gallery.html
   ============================================================ */

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  height: 100%; display: flex; flex-direction: column;
}

.video-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px var(--shadow-md); }

.video-thumb {
  position: relative; overflow: hidden;
  background: #0d1b2e; aspect-ratio: 16/9; cursor: pointer;
}

.video-thumb svg { width: 100%; height: 100%; display: block; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.video-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 56px; height: 56px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); font-size: 1.4rem;
  transition: transform .3s, background .2s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.video-thumb:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: white;
  box-shadow: 0 8px 30px rgba(1,61,140,.4);
}

.video-duration {
  position: absolute; bottom: 8px; right: 10px;
  background: rgba(0,0,0,.72);
  color: #fff; font-size: .7rem; font-weight: 600;
  padding: 2px 8px; border-radius: 4px;
}

.video-body { padding: 1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.video-meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.video-cat  { font-size: .7rem; font-weight: 600; padding: 2px 10px; border-radius: 20px; }
.video-date { font-size: .72rem; color: var(--text-muted); }
.video-body h5 { font-size: .95rem; font-weight: 700; color: var(--text-primary); margin-bottom: .4rem; flex: 1; }
.video-body p  { font-size: .82rem; color: var(--text-secondary); margin: 0; }
.video-stats { display: flex; gap: 1rem; margin-top: .75rem; font-size: .75rem; color: var(--text-muted); padding-top: .75rem; border-top: 1px solid var(--border-card); }
.video-stats span { display: flex; align-items: center; gap: 4px; }

.featured-video-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  background: #0d1b2e; aspect-ratio: 16/9; cursor: pointer;
}

.featured-video-wrap svg { width: 100%; height: 100%; display: block; }

.featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1,20,50,.85) 0%, rgba(0,0,0,.15) 70%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem;
}

.featured-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--color-primary);
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}

.featured-video-wrap:hover .featured-play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(1,61,140,.5);
}

.playlist-item {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .8rem; border-radius: 10px; cursor: pointer;
  transition: background .2s;
}

.playlist-item:hover, .playlist-item.active { background: var(--bg-page); }
.playlist-item.active { border-left: 3px solid var(--color-primary); padding-left: calc(.8rem - 3px); }

.playlist-thumb {
  width: 90px; height: 60px; border-radius: 8px;
  overflow: hidden; flex-shrink: 0; position: relative;
}

.playlist-thumb svg { width: 100%; height: 100%; }

.playlist-play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--color-primary);
}

.playlist-info h6  { font-size: .82rem; font-weight: 700; color: var(--text-primary); margin: 0 0 .25rem; }
.playlist-info .pl-meta { font-size: .7rem; color: var(--text-muted); }


/* ============================================================
   9. DOCUMENTS — pages/documents.html
   ============================================================ */

.doc-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px; overflow: hidden;
  position: sticky; top: 90px;
}

.doc-sidebar-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-card);
  font-weight: 700; font-size: .9rem; color: var(--text-primary);
}

.doc-cat-btn {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1.25rem;
  border: none; background: none;
  width: 100%; text-align: left;
  font-size: .85rem; font-weight: 500;
  color: var(--text-secondary); cursor: pointer;
  transition: background .2s, color .2s;
  border-left: 3px solid transparent;
}

.doc-cat-btn:hover { background: var(--bg-page); color: var(--text-primary); }

.doc-cat-btn.active {
  background: rgba(1,61,140,.08);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  font-weight: 700;
}

.doc-cat-btn .cat-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
  background: var(--bg-page); color: var(--text-muted);
}

.doc-cat-btn.active .cat-icon { background: rgba(1,61,140,.1); color: var(--color-primary); }

.doc-cat-btn .cat-count {
  margin-left: auto; font-size: .7rem; font-weight: 700;
  background: var(--bg-page); color: var(--text-muted);
  padding: 2px 8px; border-radius: 20px;
}

.doc-cat-btn.active .cat-count { background: rgba(1,61,140,.12); color: var(--color-primary); }

.doc-section { margin-bottom: 2.5rem; }

.doc-section-title {
  display: flex; align-items: center; gap: .75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-card);
  margin-bottom: 1rem;
}

.doc-section-title .sec-icon {
  width: 40px; height: 40px;
  background: rgba(1,61,140,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); font-size: 1rem;
}

.doc-section-title h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin: 0; }

.doc-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px; margin-bottom: .75rem;
  transition: border-color .25s, box-shadow .25s, background .2s;
}

.doc-item:hover { border-color: var(--color-primary); box-shadow: 0 4px 16px var(--shadow-sm); background: var(--bg-page); }

.doc-file-icon {
  width: 44px; height: 48px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; font-weight: 700;
  position: relative; overflow: hidden;
}

.doc-file-icon.pdf { background: rgba(255,59,48,.1);  color: #ff3b30; }
.doc-file-icon.doc { background: rgba(0,100,220,.1);  color: #0064dc; }
.doc-file-icon.xls { background: rgba(40,167,69,.1);  color: #28a745; }
.doc-file-icon.zip { background: rgba(245,166,35,.1); color: #F5A623; }
.doc-file-icon.ppt { background: rgba(255,100,0,.1);  color: #ff6400; }

.doc-info { flex: 1; min-width: 0; }
.doc-info h6 { font-size: .92rem; font-weight: 700; color: var(--text-primary); margin: 0 0 .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .75rem; color: var(--text-muted); }
.doc-meta span { display: flex; align-items: center; gap: 4px; }
.doc-actions { display: flex; gap: .5rem; flex-shrink: 0; }

.doc-btn-dl {
  display: flex; align-items: center; gap: 6px;
  padding: .45rem 1.1rem;
  background: var(--color-primary);
  color: #fff; font-size: .8rem; font-weight: 600;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background .2s, transform .2s;
  text-decoration: none;
}

.doc-btn-dl:hover { background: var(--color-primary-light); transform: translateY(-1px); color: #fff; }

.doc-btn-view {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  color: var(--text-secondary); border-radius: 8px;
  cursor: pointer; font-size: .85rem;
  transition: background .2s, color .2s;
  text-decoration: none;
}

.doc-btn-view:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.doc-search-wrap { position: relative; max-width: 380px; }

.doc-search-wrap input {
  width: 100%;
  padding: .65rem 1rem .65rem 2.8rem;
  border: 1px solid var(--border-card);
  background: var(--bg-card); color: var(--text-primary);
  border-radius: 10px; font-size: .9rem; outline: none;
  transition: border-color .2s;
}

.doc-search-wrap input:focus { border-color: var(--color-primary); }

.doc-search-wrap .search-icon {
  position: absolute; left: .8rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: .9rem;
}

.doc-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px; padding: 1.25rem 1.5rem; text-align: center;
}

.doc-stat-num   { font-size: 2rem; font-weight: 800; color: var(--color-primary); line-height: 1; }
.doc-stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

@media (max-width: 991px) { .doc-sidebar { position: static; margin-bottom: 1.5rem; } }
@media (max-width: 575px) { .doc-item { flex-wrap: wrap; } .doc-actions { width: 100%; justify-content: flex-end; } }


/* ============================================================
   10. OPEN DATA — pages/open-data.html
   ============================================================ */

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px; padding: 1.75rem 1.5rem;
  text-align: center; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.kpi-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px var(--shadow-md); }

.kpi-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.kpi-card.gold::before   { background: linear-gradient(90deg, var(--color-gold), #e08900); }
.kpi-card.accent::before { background: linear-gradient(90deg, var(--color-accent), #006688); }

.kpi-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1rem;
  background: rgba(1,61,140,.08); color: var(--color-primary);
}

.kpi-card.gold   .kpi-icon { background: rgba(245,166,35,.1);  color: var(--color-gold); }
.kpi-card.accent .kpi-icon { background: rgba(0,180,216,.1);   color: var(--color-accent); }

.kpi-num   { font-size: 2.5rem; font-weight: 800; color: var(--text-primary); line-height: 1; margin-bottom: .25rem; }
.kpi-label { font-size: .82rem; color: var(--text-muted); font-weight: 500; }
.kpi-trend { margin-top: .5rem; font-size: .75rem; font-weight: 600; display: flex; align-items: center; gap: 4px; justify-content: center; }
.kpi-trend.up   { color: #28a745; }
.kpi-trend.down { color: #dc3545; }

.chart-bar-wrap { padding: 1.5rem; }
.chart-bar-label { font-size: .8rem; color: var(--text-secondary); margin-bottom: .3rem; }
.chart-bar-row { display: flex; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.chart-bar-name { font-size: .82rem; font-weight: 600; color: var(--text-primary); min-width: 130px; }
.chart-bar-track { flex: 1; height: 10px; background: var(--bg-page); border-radius: 10px; overflow: hidden; }
.chart-bar-fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); transition: width 1s ease; }
.chart-bar-fill.gold  { background: linear-gradient(90deg, var(--color-gold), #f5c842); }
.chart-bar-fill.green { background: linear-gradient(90deg, #28a745, #5cb85c); }
.chart-bar-val { font-size: .82rem; font-weight: 700; color: var(--text-primary); min-width: 45px; text-align: right; }

.dataset-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.dataset-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px var(--shadow-md); }

.dataset-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-card);
  display: flex; align-items: center; gap: .75rem;
}

.dataset-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.dataset-card-body { padding: 1rem 1.5rem; }
.dataset-card-body p { font-size: .85rem; color: var(--text-secondary); margin: 0 0 .75rem; }
.dataset-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.dataset-tag { font-size: .7rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--bg-page); color: var(--text-muted); border: 1px solid var(--border-card); }
.dataset-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.dataset-dl-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: .4rem .9rem;
  border: 1px solid var(--border-card);
  background: var(--bg-page); color: var(--text-secondary);
  border-radius: 8px; font-size: .78rem; font-weight: 600;
  text-decoration: none; transition: all .2s;
}

.dataset-dl-btn:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.data-table-wrap { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 16px; overflow: hidden; }

.data-table-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-card);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}

.data-table-header h6 { margin: 0; font-size: .95rem; font-weight: 700; color: var(--text-primary); }
.data-table { width: 100%; border-collapse: collapse; }

.data-table th {
  background: var(--bg-page);
  padding: .75rem 1.25rem;
  font-size: .78rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid var(--border-card); white-space: nowrap;
}

.data-table td {
  padding: .85rem 1.25rem; font-size: .85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-card); vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-page); }
.data-table td strong { color: var(--text-primary); }

.donut-chart { position: relative; width: 140px; height: 140px; margin: 0 auto; }
.donut-svg { transform: rotate(-90deg); }
.donut-ring { fill: none; stroke: var(--bg-page); stroke-width: 20; }
.donut-seg  { fill: none; stroke-width: 20; stroke-linecap: butt; transition: stroke-dasharray 1.2s ease; }
.donut-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.donut-center .dc-num { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.donut-center .dc-lbl { font-size: .65rem; color: var(--text-muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }

@media (max-width: 575px) { .kpi-num { font-size: 1.8rem; } .data-table-wrap { overflow-x: auto; } }


/* ============================================================
   11. CONTACT — pages/contact.html
   ============================================================ */

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px; padding: 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
  transition: transform .3s, box-shadow .3s;
}

.contact-info-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px var(--shadow-md); }

.contact-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}

.contact-card-icon.blue   { background: rgba(1,61,140,.1);   color: var(--color-primary); }
.contact-card-icon.accent { background: rgba(0,180,216,.1);  color: var(--color-accent); }
.contact-card-icon.gold   { background: rgba(245,166,35,.1); color: var(--color-gold); }
.contact-card-icon.green  { background: rgba(40,167,69,.1);  color: #28a745; }

.contact-card-body h6 { font-size: .85rem; font-weight: 600; color: var(--text-muted); margin: 0 0 .25rem; text-transform: uppercase; letter-spacing: .5px; }
.contact-card-body p  { font-size: .95rem; font-weight: 600; color: var(--text-primary); margin: 0; line-height: 1.5; }
.contact-card-body a  { color: var(--color-primary); text-decoration: none; font-weight: 600; }
.contact-card-body a:hover { color: var(--color-accent); }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px; padding: 2.5rem;
}

.form-group-custom { margin-bottom: 1.25rem; }

.form-label-custom {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: .4rem;
}

.form-label-custom span.req { color: #dc3545; margin-left: 2px; }

.form-control-custom {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border-card);
  background: var(--bg-page); color: var(--text-primary);
  border-radius: 12px; font-size: .9rem; font-family: inherit;
  outline: none; transition: border-color .25s, box-shadow .25s, background .2s;
}

.form-control-custom:focus { border-color: var(--color-primary); background: var(--bg-card); box-shadow: 0 0 0 3px rgba(1,61,140,.12); }
.form-control-custom::placeholder { color: var(--text-muted); opacity: .6; }
textarea.form-control-custom { resize: vertical; min-height: 140px; }
select.form-control-custom { cursor: pointer; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit-btn {
  width: 100%; padding: .9rem 2rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff; font-size: 1rem; font-weight: 700;
  border: none; border-radius: 12px; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}

.form-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(1,61,140,.35); }
.form-submit-btn:active { transform: translateY(0); }
.form-submit-btn:disabled { opacity: .7; cursor: not-allowed; }

.form-success { display: none; text-align: center; padding: 2rem; animation: fadeInUp .5s ease; }
.form-success .success-icon { width: 70px; height: 70px; background: rgba(40,167,69,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #28a745; margin: 0 auto 1rem; }

.map-container {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border-card);
  height: 380px; background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.map-placeholder { text-align: center; color: var(--text-muted); }
.map-placeholder i { font-size: 3rem; opacity: .4; }
.map-placeholder p { font-size: .9rem; margin-top: .5rem; }

.social-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.social-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px; padding: 1.1rem;
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.social-contact-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px var(--shadow-sm); }
.social-contact-card.tg:hover { border-color: #0088cc; }
.social-contact-card.ig:hover { border-color: #e4405f; }
.social-contact-card.fb:hover { border-color: #1877f2; }
.social-contact-card.yt:hover { border-color: #ff0000; }

.scc-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.scc-icon.tg { background: rgba(0,136,204,.12); color: #0088cc; }
.scc-icon.ig { background: rgba(228,64,95,.1);  color: #e4405f; }
.scc-icon.fb { background: rgba(24,119,242,.1); color: #1877f2; }
.scc-icon.yt { background: rgba(255,0,0,.1);    color: #ff0000; }

.scc-info { flex: 1; min-width: 0; }
.scc-info .scc-name   { font-size: .8rem; font-weight: 700; color: var(--text-primary); }
.scc-info .scc-handle { font-size: .72rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hours-table { width: 100%; }
.hours-table tr td { padding: .5rem 0; font-size: .85rem; border-bottom: 1px solid var(--border-card); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table .day { color: var(--text-secondary); }
.hours-table .time { color: var(--text-primary); font-weight: 600; text-align: right; }
.hours-table .closed { color: #dc3545; font-weight: 600; }
.hours-badge { display: inline-flex; align-items: center; gap: 6px; padding: .3rem .8rem; border-radius: 20px; background: rgba(40,167,69,.1); color: #28a745; font-size: .75rem; font-weight: 700; }

@media (max-width: 575px) {
  .contact-form-wrap { padding: 1.5rem; }
  .social-contact-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   STRUCTURE PAGE
══════════════════════════════════════════════════════════════ */

/* ── Quick stats strip ───────────────────────────────────── */
.struct-strip {
  padding: 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-card);
}
.struct-strip-row {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 0;
  overflow: hidden;
}
.struct-strip-item {
  flex: 1;
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.2s;
}
.struct-strip-item:hover { background: var(--bg-card-hover); }
.struct-strip-item + .struct-strip-item { border-left: 1px solid var(--border-card); }
.struct-strip-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: #fff;
  margin-bottom: 0.5rem;
}
.struct-strip-num {
  font-size: 2.2rem; font-weight: 800;
  color: var(--text-primary);
  line-height: 1; letter-spacing: -0.04em;
}
.struct-strip-label {
  font-size: 0.75rem; font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3; max-width: 110px;
}

/* ── Org Chart Section ───────────────────────────────────── */
.org-chart-section {
  padding: 88px 0;
  background: #ffffff;
  position: relative; overflow: hidden;
}
.org-chart-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 60%, rgba(58,159,224,0.05) 0%, transparent 55%),
              radial-gradient(ellipse at 85% 15%, rgba(212,175,55,0.06) 0%, transparent 45%);
  pointer-events: none; z-index: 0;
}
.org-chart-section::after { display: none; }
.org-chart-section .section-header { position: relative; z-index: 1; margin-bottom: 3rem; }
.org-chart-section .section-header h2 { color: var(--text-primary); }
.org-chart-section .section-header p  { color: var(--text-secondary); }
.org-chart-section .section-header .tag {
  background: rgba(37,99,235,0.08) !important;
  color: #2563EB !important;
  border: 1px solid rgba(37,99,235,0.16) !important;
}
.org-chart-section .divider-line {
  background: var(--border-color) !important;
  opacity: 1 !important;
}

/* Tree wrapper */
.oc-wrap { position: relative; z-index: 1; }

/* ── Director node ───────────────────────────────────────── */
.oc-director-row {
  display: flex; justify-content: center; margin-bottom: 0;
}
.oc-director-card {
  background: #ffffff;
  border: 1.5px solid rgba(212,175,55,0.38);
  border-radius: 22px;
  padding: 2rem 2.5rem;
  text-align: center;
  min-width: 260px; max-width: 380px;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  position: relative;
  box-shadow: 0 4px 24px rgba(212,175,55,0.10), 0 1px 6px rgba(0,0,0,0.05);
}
.oc-director-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, rgba(212,175,55,0.35), #D4AF37, rgba(212,175,55,0.35));
  border-radius: 22px 22px 0 0;
}
.oc-director-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(145deg, rgba(212,175,55,0.22), rgba(212,175,55,0.08));
  border: 1px solid rgba(212,175,55,0.32);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #D4AF37;
}
.oc-director-badge {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: #9A7D20;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.28);
  padding: 0.22rem 0.7rem; border-radius: 99px;
}
.oc-director-title {
  font-size: 1.2rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em;
}
.oc-director-sub {
  font-size: 0.75rem; color: var(--text-secondary);
  line-height: 1.45; max-width: 240px;
}

/* ── Vertical & horizontal connectors ───────────────────── */
.oc-v-line {
  width: 2px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(212,175,55,0.60), #d1d5db);
}
.oc-v-line--long  { height: 40px; }
.oc-v-line--short { height: 28px; }

/* ── Main 3-column row ───────────────────────────────────── */
.oc-main-row {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 1.5rem;
  align-items: start;
  position: relative;
}
/* Horizontal connecting bar at top */
.oc-main-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% / 3);
  right: calc(50% / 3);
  height: 2px;
  background: #d1d5db;
  z-index: 0;
}

.oc-col {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.125rem;
  padding-top: 32px;
  position: relative;
}
/* Vertical drop from horizontal bar */
.oc-col::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 2px; height: 32px;
  background: #d1d5db;
  z-index: 0;
}

/* ── Deputy cards ────────────────────────────────────────── */
.oc-deputy-card {
  --dc: 58, 159, 224;
  background: #ffffff;
  border: 1.5px solid rgba(var(--dc), 0.28);
  border-radius: 18px;
  padding: 1.5rem 1.375rem;
  text-align: center;
  width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  position: relative;
  box-shadow: 0 2px 12px rgba(var(--dc), 0.08);
}
.oc-deputy-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg, rgba(var(--dc),0.35), rgb(var(--dc)), rgba(var(--dc),0.35));
  border-radius: 18px 18px 0 0;
}
.oc-deputy-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(145deg, rgba(var(--dc),0.24), rgba(var(--dc),0.09));
  border: 1.5px solid rgba(var(--dc),0.34);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: rgb(var(--dc));
}
.oc-deputy-title {
  font-size: 0.9rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em;
}
.oc-deputy-sub {
  font-size: 0.72rem; color: var(--text-secondary); line-height: 1.42;
}

/* ── Department cards in tree ────────────────────────────── */
.oc-dept-stack {
  display: flex; flex-direction: column; gap: 0.75rem; width: 100%;
}
.oc-dept-card {
  --dc: 58, 159, 224;
  background: rgba(var(--dc), 0.05);
  border: 1px solid rgba(var(--dc), 0.22);
  border-radius: 13px;
  padding: 0.9rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  transition: background 0.22s, border-color 0.22s;
}
.oc-dept-card:hover {
  background: rgba(var(--dc), 0.10);
  border-color: rgba(var(--dc), 0.38);
}
.oc-dept-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(var(--dc), 0.22);
  border: 1px solid rgba(var(--dc), 0.30);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; color: rgb(var(--dc));
}
.oc-dept-name {
  font-size: 0.795rem; font-weight: 600;
  color: var(--text-primary); line-height: 1.38;
}
.oc-dept-count {
  font-size: 0.68rem; color: var(--text-secondary);
  margin-top: 0.18rem;
}


/* ============================================================
   12. FAOLIYAT — Umumiy (barcha faoliyat sahifalari)
   ============================================================ */

.f-stats-section { padding: 48px 0; background: var(--bg-section-alt); }
.f-stat-num { font-size: 2.6rem; font-weight: 800; color: var(--color-primary); line-height: 1; }
.f-stat-lbl { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }
.f-divider  { height: 1px; background: var(--border-color); max-width: 1100px; margin: 0 auto; }
.f-section  { padding: 80px 0; }

.cta-banner h2 { font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 800; color: #fff; margin-bottom: 0.9rem; line-height: 1.2; position: relative; }
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; position: relative; }

.section-chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 50px; padding: 6px 16px; margin-bottom: 1.2rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; }
.section-chip--blue   { background: rgba(37,99,235,0.10);  color: #2563EB; }
.section-chip--green  { background: rgba(5,150,105,0.10);  color: #059669; }
.section-chip--purple { background: rgba(124,58,237,0.10); color: #7C3AED; }
.section-chip--amber  { background: rgba(217,119,6,0.10);  color: #D97706; }
[data-theme="dark"] .section-chip--blue   { background: rgba(37,99,235,0.18);  color: #60A5FA; }
[data-theme="dark"] .section-chip--green  { background: rgba(5,150,105,0.18);  color: #34D399; }
[data-theme="dark"] .section-chip--purple { background: rgba(124,58,237,0.18); color: #A78BFA; }
[data-theme="dark"] .section-chip--amber  { background: rgba(217,119,6,0.18);  color: #FCD34D; }

.check-list { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); }
.check-list li i { flex-shrink: 0; font-size: 1rem; }
.check-list--sm li { font-size: 0.88rem; gap: 8px; }


/* ============================================================
   13. ACTIVITY — pages/activity.html
   ============================================================ */

/* Inkubatsiya direction cards */
.dir-card { border-radius: 16px; padding: 1.4rem; height: 100%; background: var(--bg-card); border: 1px solid var(--border-color); transition: transform 0.2s, box-shadow 0.2s; }
.dir-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.dir-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; margin-bottom: 0.8rem; flex-shrink: 0; }
.dir-card-icon--red    { background: linear-gradient(135deg, #DC2626, #EF4444); }
.dir-card-icon--cyan   { background: linear-gradient(135deg, #0891B2, #06B6D4); }
.dir-card-icon--orange { background: linear-gradient(135deg, #D97706, #F59E0B); }
.dir-card-icon--green  { background: linear-gradient(135deg, #16A34A, #22C55E); }
.dir-card-icon--purple { background: linear-gradient(135deg, #7C3AED, #8B5CF6); }
.dir-card-icon--teal   { background: linear-gradient(135deg, #0E7490, #22D3EE); }
.dir-card h5 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; }
.dir-card p  { font-size: 0.82rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* Akseleratsiya stats card */
.aksel-stats-card { border-radius: 20px; padding: 2rem; background: linear-gradient(135deg, #0B1E44, #1A4E82); }
.aksel-stat-item { padding: 1rem 1.2rem; border-radius: 12px; background: rgba(255,255,255,0.10); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 1rem; }
.aksel-stat-item:last-child { margin-bottom: 0; }
.aksel-stat-num { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; display: block; }
.aksel-stat-lbl { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 2px; display: block; }

/* Akseleratsiya timeline */
.aksel-timeline { display: flex; flex-direction: column; gap: 1.2rem; }
.aksel-step { display: flex; gap: 1rem; align-items: flex-start; }
.aksel-step-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; flex-shrink: 0; }
.aksel-step-icon--blue   { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.aksel-step-icon--purple { background: linear-gradient(135deg, #7C3AED, #8B5CF6); }
.aksel-step-icon--green  { background: linear-gradient(135deg, #16A34A, #22C55E); }
.aksel-step-icon--gold   { background: linear-gradient(135deg, #D97706, #F59E0B); }
.aksel-step h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; color: var(--text-primary); }
.aksel-step p  { font-size: 0.83rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* Internship stat cards */
.intern-stat-card { text-align: center; padding: 1.5rem; border-radius: 16px; }
.intern-stat-card--blue   { background: linear-gradient(135deg, #1E40AF, #2563EB); }
.intern-stat-card--teal   { background: linear-gradient(135deg, #0E7490, #06B6D4); }
.intern-stat-card--purple { background: linear-gradient(135deg, #5B21B6, #7C3AED); }
.intern-stat-card--green  { background: linear-gradient(135deg, #065F46, #059669); }
.intern-stat-card .isc-num { font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1; display: block; }
.intern-stat-card .isc-lbl { font-size: 0.8rem; color: rgba(255,255,255,0.8); margin-top: 4px; display: block; }

/* Country cards */
.country-card { border-radius: 16px; padding: 1.5rem 1rem; text-align: center; background: var(--bg-card); border: 1px solid var(--border-color); transition: transform 0.2s, box-shadow 0.2s; height: 100%; }
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.country-card .cc-flag { font-size: 2.5rem; line-height: 1; margin-bottom: 0.5rem; display: block; }
.country-card h6 { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.3rem; }
.country-tag { font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; display: inline-block; }
.country-tag--teal   { background: rgba(8,145,178,0.10);  color: #0891B2; }
.country-tag--blue   { background: rgba(37,99,235,0.10);  color: #2563EB; }
.country-tag--purple { background: rgba(124,58,237,0.10); color: #7C3AED; }
.country-tag--green  { background: rgba(22,163,74,0.10);  color: #16A34A; }
.country-tag--red    { background: rgba(220,38,38,0.10);  color: #DC2626; }
.country-tag--orange { background: rgba(217,119,6,0.10);  color: #D97706; }
[data-theme="dark"] .country-tag--teal   { background: rgba(8,145,178,0.18);  color: #22D3EE; }
[data-theme="dark"] .country-tag--blue   { background: rgba(37,99,235,0.18);  color: #60A5FA; }
[data-theme="dark"] .country-tag--purple { background: rgba(124,58,237,0.18); color: #A78BFA; }
[data-theme="dark"] .country-tag--green  { background: rgba(22,163,74,0.18);  color: #86EFAC; }
[data-theme="dark"] .country-tag--red    { background: rgba(220,38,38,0.18);  color: #FCA5A5; }
[data-theme="dark"] .country-tag--orange { background: rgba(217,119,6,0.18);  color: #FCD34D; }

/* Exhibition (Korgaz) cards */
.korgaz-card { border-radius: 14px; overflow: hidden; height: 100%; }
.korgaz-stripe { height: 8px; border-radius: 12px 12px 0 0; }
.korgaz-stripe--teal  { background: linear-gradient(90deg, #0891B2, #06B6D4); }
.korgaz-stripe--blue  { background: linear-gradient(90deg, #2563EB, #3B82F6); }
.korgaz-stripe--green { background: linear-gradient(90deg, #22C55E, #16a34a); }
.korgaz-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; flex-shrink: 0; }
.korgaz-icon--teal  { background: linear-gradient(135deg, #0891B2, #06B6D4); }
.korgaz-icon--blue  { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.korgaz-icon--green { background: linear-gradient(135deg, #22C55E, #16a34a); }
.date-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-muted); }


/* ============================================================
   14. COMPETITIONS — pages/competitions.html
   ============================================================ */

/* Hero gradient cards */
.hero-grad-card { border-radius: 20px; overflow: hidden; position: relative; padding: 2.5rem; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-grad-card--blue     { background: linear-gradient(135deg, #1A3A6B 0%, #2563EB 50%, #3B82F6 100%); }
.hero-grad-card--dark-cyan{ background: linear-gradient(135deg, #0F172A 0%, #164E63 50%, #0E7490 100%); }
.hgc-label { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border-radius: 50px; padding: 6px 16px; margin-bottom: 1.2rem; width: fit-content; }
.hgc-label span { color: #fff; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.hero-grad-card h2 { color: #fff; font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.hero-grad-card .hgc-desc { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 1.5rem; }
.hgc-stats { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hgc-stat  { background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border-radius: 10px; padding: 10px 16px; text-align: center; }
.hgc-num   { color: #fff; font-size: 1.5rem; font-weight: 800; display: block; }
.hgc-lbl   { color: rgba(255,255,255,0.7); font-size: 0.75rem; }

/* Stage steps */
.stage-steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.stage-step { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border-color); transition: box-shadow 0.2s; }
.stage-step:hover { box-shadow: var(--shadow-card); }
.stage-step-num { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 0.95rem; flex-shrink: 0; }
.stage-step-num--blue   { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.stage-step-num--purple { background: linear-gradient(135deg, #7C3AED, #8B5CF6); }
.stage-step-num--amber  { background: linear-gradient(135deg, #D97706, #F59E0B); }
.stage-step h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.stage-step p  { margin: 0; font-size: 0.88rem; color: var(--text-secondary); }

/* Kelajak muhandislari dark card */
.km-dark-card { border-radius: 20px; overflow: hidden; position: relative; background: linear-gradient(135deg, #0F172A 0%, #164E63 50%, #0E7490 100%); padding: 2.5rem; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.km-dark-card .kmd-head { display: flex; align-items: center; gap: 12px; margin-bottom: 0; }
.km-icon-box { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.km-icon-box i { color: #38BDF8; font-size: 1.5rem; }
.kmd-name { color: #fff; font-weight: 700; font-size: 1rem; display: block; }
.kmd-sub  { color: rgba(255,255,255,0.6); font-size: 0.8rem; display: block; }
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.5rem; }
.skill-tile { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 1rem; }
.skill-tile i { color: #67E8F9; font-size: 1.2rem; margin-bottom: 0.5rem; display: block; }
.skill-tile span { color: #fff; font-size: 0.85rem; font-weight: 600; display: block; }

/* Mini stat dark tiles */
.stat-dark-tile { text-align: center; padding: 1.2rem; border-radius: 16px; background: linear-gradient(135deg, #0F172A, #1E3A5F); }
.stat-dark-tile .sdt-num { font-size: 2rem; font-weight: 800; color: #38BDF8; line-height: 1; display: block; }
.stat-dark-tile .sdt-lbl { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 4px; display: block; }

/* Extra program cards */
.prog-card-hd { height: 180px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prog-card-hd--purple { background: linear-gradient(135deg, #4C1D95, #7C3AED, #A78BFA); }
.prog-card-hd--green  { background: linear-gradient(135deg, #064E3B, #059669, #34D399); }
.prog-card-icon { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.prog-card-icon i { color: #fff; font-size: 2.2rem; }
.prog-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.07; }
.prog-badge { padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; color: #fff; font-weight: 700; }
.prog-badge--purple { background: linear-gradient(135deg, #4C1D95, #7C3AED); }
.prog-badge--green  { background: linear-gradient(135deg, #064E3B, #059669); }
.prog-date  { font-size: 0.82rem; color: var(--text-muted); }


/* ============================================================
   15. PROJECTS — pages/projects.html
   ============================================================ */

.proj-filter-zone { padding: 40px 0 8px; }
.proj-filter-row  { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.proj-filters     { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn { border: 1.5px solid var(--border-color); background: transparent; color: var(--text-secondary); border-radius: 50px; padding: 7px 18px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.search-input-wrap { position: relative; max-width: 280px; }
.search-input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.9rem; }
.proj-search { width: 100%; padding: 9px 14px 9px 38px; border-radius: 50px; border: 1.5px solid var(--border-color); background: var(--bg-card); color: var(--text-primary); font-size: 0.87rem; }
.proj-search:focus { outline: none; border-color: var(--color-primary); }
.proj-card-hidden { display: none !important; }
.proj-no-results { display: none; text-align: center; padding: 60px 0; color: var(--text-muted); }
.proj-no-results i { font-size: 2.5rem; color: var(--text-muted); margin-bottom: 1rem; display: block; }

.proj-thumb { height: 140px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.proj-icon-wrap { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.proj-icon-wrap i { color: #fff; font-size: 1.8rem; }
.proj-status { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 4px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.status-active { background: #DCFCE7; color: #166534; }
.status-done   { background: #DBEAFE; color: #1D4ED8; }
.status-proto  { background: #FEF9C3; color: #854D0E; }
.proj-progress-wrap   { margin-bottom: 0.8rem; }
.proj-progress-header { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }
.proj-progress-pct    { font-weight: 700; color: var(--color-primary); }
.proj-progress-bar    { height: 6px; border-radius: 4px; background: var(--border-color); overflow: hidden; }
.proj-progress-fill   { height: 100%; border-radius: 4px; }
.proj-team            { font-size: 0.78rem; color: var(--text-muted); }
.proj-tags            { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 0.8rem; }

.proj-tag { font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; display: inline-block; }
.proj-tag--blue   { background: #EFF6FF; color: #1D4ED8; }
.proj-tag--cyan   { background: #ECFEFF; color: #0E7490; }
.proj-tag--purple { background: #F5F3FF; color: #6D28D9; }
.proj-tag--orange { background: #FFF7ED; color: #C2410C; }
.proj-tag--green  { background: #F0FDF4; color: #15803D; }
.proj-tag--sky    { background: #F0F9FF; color: #0369A1; }
.proj-tag--eco    { background: #ECFDF5; color: #065F46; }
.proj-tag--health { background: #FDF4FF; color: #7E22CE; }
.proj-tag--edu    { background: #EFF6FF; color: #1D4ED8; }
[data-theme="dark"] .proj-tag--blue   { background: rgba(37,99,235,0.15);  color: #60A5FA; }
[data-theme="dark"] .proj-tag--cyan   { background: rgba(8,145,178,0.15);  color: #22D3EE; }
[data-theme="dark"] .proj-tag--purple { background: rgba(109,40,217,0.15); color: #A78BFA; }
[data-theme="dark"] .proj-tag--orange { background: rgba(194,65,12,0.15);  color: #FDBA74; }
[data-theme="dark"] .proj-tag--green  { background: rgba(21,128,61,0.15);  color: #86EFAC; }
[data-theme="dark"] .proj-tag--sky    { background: rgba(3,105,161,0.15);  color: #38BDF8; }
[data-theme="dark"] .proj-tag--eco    { background: rgba(6,95,70,0.15);    color: #6EE7B7; }
[data-theme="dark"] .proj-tag--health { background: rgba(126,34,206,0.15); color: #D8B4FE; }
[data-theme="dark"] .proj-tag--edu    { background: rgba(37,99,235,0.15);  color: #93C5FD; }

.proj-cta-card { border-radius: 18px; padding: 2rem; background: var(--bg-card); border: 1px solid var(--border-color); }
.proj-cta-card--blue  { border-left: 4px solid var(--color-primary); }
.proj-cta-card--green { border-left: 4px solid #059669; }
.proj-cta-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.proj-cta-icon--blue  { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.proj-cta-icon--green { background: linear-gradient(135deg, #059669, #34D399); }
.proj-cta-icon i { color: #fff; font-size: 1.2rem; }

/* ── Center column direct reports ────────────────────────── */
.oc-direct-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 13px;
  padding: 0.9rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  width: 100%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.oc-direct-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.oc-direct-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.oc-direct-title {
  font-size: 0.795rem; font-weight: 600; color: var(--text-primary); line-height: 1.35;
}
.oc-direct-count {
  font-size: 0.68rem; color: var(--text-secondary); margin-top: 0.14rem;
}

.oc-specialists-group {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 13px;
  padding: 1rem;
  width: 100%;
}
.oc-specialists-label {
  font-size: 0.64rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--text-secondary);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0.6rem;
  display: block;
}
.oc-specialist-item {
  display: flex; align-items: flex-start; gap: 0.55rem;
  padding: 0.42rem 0.25rem;
  border-radius: 7px;
}
.oc-specialist-item + .oc-specialist-item { border-top: 1px solid #e5e7eb; }
.oc-specialist-item i {
  color: #3A9FE0; font-size: 0.74rem; flex-shrink: 0; margin-top: 2px;
}
.oc-specialist-item span {
  font-size: 0.73rem; color: var(--text-primary); line-height: 1.40;
}

/* ── INNO Texnopark ──────────────────────────────────────── */
.oc-texnopark-row {
  display: flex; justify-content: center;
  margin-top: 2.5rem; padding-top: 2.25rem;
  border-top: 1px dashed #cbd5e1;
  position: relative; z-index: 1;
}
.oc-texnopark-card {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 20px;
  padding: 1.75rem 2.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  max-width: 440px;
}
.oc-tp-badge {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #0369a1;
  background: rgba(58,159,224,0.10);
  border: 1px solid rgba(58,159,224,0.24);
  padding: 0.24rem 0.75rem; border-radius: 99px;
}
.oc-tp-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(58,159,224,0.10);
  border: 1.5px solid rgba(58,159,224,0.24);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: #3A9FE0;
}
.oc-tp-title {
  font-size: 1.05rem; font-weight: 700; color: var(--text-primary);
}
.oc-tp-sub {
  font-size: 0.73rem; color: var(--text-secondary);
  line-height: 1.48; max-width: 320px;
}

/* ── Org chart responsive ────────────────────────────────── */
@media (max-width: 991px) {
  .oc-main-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .oc-main-row::before { display: none; }
  .oc-col::before { display: none; }
  .oc-col { padding-top: 0; }
  .oc-director-card { min-width: 240px; padding: 1.75rem 1.75rem; }
}

/* ── Department detail cards ─────────────────────────────── */
.struct-dept-section {
  padding: 88px 0;
  background: var(--bg-page);
}

.dept-card {
  --dc: 26, 90, 180;
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 22px;
  padding: 2rem 1.875rem;
  height: 100%;
  display: flex; flex-direction: column; gap: 1.125rem;
  position: relative; overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.28s ease, border-color 0.28s ease;
}
.dept-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, rgba(var(--dc),0.30), rgb(var(--dc)), rgba(var(--dc),0.30));
  border-radius: 22px 22px 0 0;
  transition: height 0.28s ease;
}
.dept-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(var(--dc), 0.10),
    0 14px 40px rgba(var(--dc), 0.13),
    0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: rgba(var(--dc), 0.28);
}
.dept-card:hover::before { height: 4px; }
.dept-card-header {
  display: flex; align-items: center; gap: 1.125rem;
}
.dept-card-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(145deg,
    rgba(var(--dc), 0.16) 0%,
    rgba(var(--dc), 0.06) 100%);
  border: 1.5px solid rgba(var(--dc), 0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: rgb(var(--dc));
  transition: transform 0.30s ease, background 0.28s ease, box-shadow 0.28s ease;
}
.dept-card:hover .dept-card-icon {
  transform: scale(1.10) translateY(-2px);
  background: linear-gradient(145deg,
    rgba(var(--dc), 0.26) 0%,
    rgba(var(--dc), 0.10) 100%);
  box-shadow: 0 0 0 7px rgba(var(--dc), 0.08);
}
.dept-card-meta { flex: 1; }
.dept-card-name {
  font-size: 0.975rem; font-weight: 700;
  color: var(--text-primary); line-height: 1.35;
  margin-bottom: 0.45rem;
}
.dept-staff-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 700;
  color: rgb(var(--dc));
  background: rgba(var(--dc), 0.08);
  border: 1px solid rgba(var(--dc), 0.18);
  padding: 0.22rem 0.6rem; border-radius: 99px;
}
.dept-card-desc {
  font-size: 0.875rem; color: var(--text-secondary);
  line-height: 1.68; margin: 0; flex: 1;
}

/* ── Specialist section ──────────────────────────────────── */
.struct-specialist-section {
  padding: 80px 0;
  background: var(--bg-section-alt);
}
.specialist-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex; align-items: flex-start; gap: 1.25rem;
  height: 100%;
  position: relative; overflow: hidden;
  transition: transform 0.30s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.specialist-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg,
    rgba(26,90,180,0.28) 0%,
    rgba(58,159,224,0.68) 50%,
    rgba(26,90,180,0.28) 100%);
  border-radius: 20px 20px 0 0;
}
.specialist-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(26,90,180,0.10),
    0 12px 36px rgba(26,90,180,0.11),
    0 4px 10px rgba(0,0,0,0.05);
  border-color: rgba(26,90,180,0.22);
}
.specialist-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, #0A1A36 0%, #152D5A 100%);
  border: 1.5px solid rgba(58,159,224,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: rgba(160,210,255,0.92);
  transition: transform 0.30s ease, box-shadow 0.28s ease;
}
.specialist-card:hover .specialist-icon {
  transform: scale(1.10) translateY(-2px);
  box-shadow: 0 0 0 7px rgba(26,90,180,0.08);
}
.specialist-card h5 {
  font-size: 0.93rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.4rem; line-height: 1.35;
}
.specialist-card p {
  font-size: 0.845rem; color: var(--text-secondary);
  line-height: 1.65; margin: 0;
}

/* ── Leadership section ──────────────────────────────────── */
.struct-leadership-section {
  padding: 88px 0;
  background: var(--bg-page);
}
.leader-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 24px;
  padding: 2.5rem 2rem 2.25rem;
  text-align: center; height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  position: relative; overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.28s ease, border-color 0.28s ease;
}
.leader-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 24px 24px 0 0;
}
.leader-card--director::before {
  background: linear-gradient(90deg, rgba(11,29,63,0.5), #1E3A8A, rgba(11,29,63,0.5));
}
.leader-card--deputy::before {
  background: linear-gradient(90deg, rgba(11,30,68,0.6), #3A9FE0, rgba(11,30,68,0.6));
}
.leader-card--director:hover {
  transform: translateY(-7px);
  box-shadow:
    0 0 0 1px rgba(30,58,138,0.18),
    0 18px 48px rgba(30,58,138,0.13),
    0 4px 14px rgba(0,0,0,0.06);
  border-color: rgba(30,58,138,0.32);
}
.leader-card--deputy:hover {
  transform: translateY(-7px);
  box-shadow:
    0 0 0 1px rgba(58,159,224,0.14),
    0 18px 48px rgba(58,159,224,0.11),
    0 4px 14px rgba(0,0,0,0.06);
  border-color: rgba(58,159,224,0.28);
}
.leader-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.leader-card--director .leader-avatar {
  background: linear-gradient(145deg, #0B1D3F, #1A4A9A);
  box-shadow: 0 0 0 5px rgba(30,58,138,0.14), 0 6px 24px rgba(30,58,138,0.22);
  overflow: hidden;
}
.leader-card--director .leader-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 50%; display: block;
}
.leader-card--deputy .leader-avatar {
  background: linear-gradient(145deg, #0B1D3F, #1A5AB4);
  box-shadow: 0 0 0 5px rgba(58,159,224,0.12), 0 6px 24px rgba(58,159,224,0.16);
}
.leader-role-badge {
  font-size: 0.70rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.28rem 0.8rem; border-radius: 99px;
}
.leader-role-badge--director {
  background: rgba(30,58,138,0.10); color: #1E3A8A;
  border: 1px solid rgba(30,58,138,0.22);
}
.leader-role-badge--deputy {
  background: rgba(58,159,224,0.08); color: #1568A0;
  border: 1px solid rgba(58,159,224,0.22);
}
[data-theme="dark"] .leader-role-badge--director {
  background: rgba(30,58,138,0.18); color: rgba(147,197,253,0.90);
  border-color: rgba(30,58,138,0.32);
}
[data-theme="dark"] .leader-role-badge--deputy {
  background: rgba(58,159,224,0.12); color: rgba(58,159,224,0.88);
  border-color: rgba(58,159,224,0.26);
}
.leader-name {
  font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0;
}
.leader-dept {
  font-size: 0.79rem; color: var(--text-secondary);
  line-height: 1.45; max-width: 220px;
}
.leader-social {
  display: flex; gap: 0.5rem; justify-content: center; margin-top: auto; padding-top: 0.875rem;
}
.leader-social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.84rem; color: var(--text-secondary); text-decoration: none;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.leader-social-btn:hover {
  background: rgba(26,90,180,0.08); color: #1A5AB4;
  border-color: rgba(26,90,180,0.25);
}

/* ── INNO Texnopark info section ─────────────────────────── */
.inno-tp-section {
  padding: 72px 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-card);
}
.inno-tp-card {
  background: linear-gradient(135deg, #08152E 0%, #0B1E44 55%, #12305F 100%);
  border-radius: 24px; padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
}
.inno-tp-card::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff' fill-opacity='0.025'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.inno-tp-card::after {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58,159,224,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.inno-tp-inner { position: relative; z-index: 1; }
.inno-tp-eyebrow {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: rgba(160,210,255,0.70);
  background: rgba(58,159,224,0.10);
  border: 1px solid rgba(58,159,224,0.22);
  padding: 0.25rem 0.75rem; border-radius: 99px;
  display: inline-block; margin-bottom: 1.25rem;
}
.inno-tp-card h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800; color: #fff; margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}
.inno-tp-card p {
  font-size: 0.93rem; color: rgba(255,255,255,0.62);
  line-height: 1.7; max-width: 520px; margin-bottom: 0;
}
.inno-tp-icon-lg {
  width: 80px; height: 80px; border-radius: 20px;
  background: rgba(58,159,224,0.12);
  border: 1px solid rgba(58,159,224,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(58,159,224,0.80);
  flex-shrink: 0;
}
.inno-tp-meta {
  display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.5rem;
}
.inno-tp-tag {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 0.3rem 0.75rem; border-radius: 99px;
}

@media (max-width: 767px) {
  .struct-strip-item { padding: 1.1rem 0.75rem; }
  .struct-strip-num { font-size: 1.7rem; }
  .struct-strip-label { font-size: 0.68rem; max-width: 80px; }
  .struct-strip-icon { width: 36px; height: 36px; font-size: 0.9rem; margin-bottom: 0.35rem; }
  .org-chart-section { padding: 64px 0; }
  .inno-tp-card { padding: 2rem 1.5rem; }
  .struct-dept-section { padding: 64px 0; }
  .struct-leadership-section { padding: 64px 0; }
}


/* ============================================================
   16. NEWS — pages/news.html
   ============================================================ */

/* ── Section ───────────────────────────────────────────────── */
.news-section { padding: 40px 0 64px; }

/* ── Top bar: search + count ───────────────────────────────── */
.news-topbar {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem; flex-wrap: wrap;
}
.news-topbar-count {
  font-size: 0.78rem; color: var(--text-muted); font-weight: 500; flex: 1;
}
.news-topbar-search { position: relative; width: 220px; flex-shrink: 0; }
.news-topbar-search input {
  width: 100%; padding: 0.42rem 1rem 0.42rem 2.1rem;
  border: 1.5px solid var(--border-card); border-radius: 8px;
  background: var(--bg-card); color: var(--text-primary);
  font-size: 0.8rem; font-family: inherit; outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.news-topbar-search input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(9,26,56,0.08);
}
.news-topbar-search input::placeholder { color: var(--text-muted); opacity: 0.65; }
.news-topbar-search i {
  position: absolute; left: 0.7rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 0.75rem; pointer-events: none;
}

/* ── Featured card (horizontal) ────────────────────────────── */
.nf-card {
  display: grid; grid-template-columns: 42% 1fr;
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: 10px; overflow: hidden;
  margin-bottom: 1.25rem; text-decoration: none; color: inherit;
  transition: box-shadow 0.2s;
}
.nf-card:hover { box-shadow: 0 4px 20px var(--shadow-sm); color: inherit; }

.nf-image { position: relative; overflow: hidden; min-height: 210px; }
.nf-image .ncf-visual { position: absolute; inset: 0; width: 100%; height: 100%; }
.nf-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nf-badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.9); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 99px;
}
.nf-body {
  padding: 1.25rem 1.35rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.nf-meta {
  display: flex; align-items: center; gap: 0.45rem;
  flex-wrap: wrap; margin-bottom: 0.5rem;
}
.nf-title {
  font-size: 1.15rem; font-weight: 800; line-height: 1.35;
  color: var(--text-primary); margin-bottom: 0.45rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nf-excerpt {
  font-size: 0.84rem; color: var(--text-secondary); line-height: 1.65;
  margin-bottom: 0.85rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nf-foot { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.nf-read {
  font-size: 0.78rem; font-weight: 700; color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 0.22rem; text-decoration: none;
  transition: gap 0.15s;
}
.nf-read:hover { gap: 0.38rem; color: var(--color-primary); }
.nf-views {
  font-size: 0.68rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.22rem;
}

/* ── Grid news card (16:9 image) ────────────────────────────── */
.nc-card {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: 8px; overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.nc-card:hover { box-shadow: 0 4px 16px var(--shadow-sm); transform: translateY(-2px); }

/* KEY FIX: aspect-ratio ensures proportional image at any width */
.nc-image {
  width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; position: relative; flex-shrink: 0;
}
.nc-image .ncf-visual { position: absolute; inset: 0; width: 100%; height: 100%; }
.nc-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nc-body { padding: 0.875rem 1rem 1rem; flex: 1; display: flex; flex-direction: column; }
.nc-meta { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; margin-bottom: 0.42rem; }
.nc-title {
  font-size: 0.9rem; font-weight: 700; line-height: 1.42;
  color: var(--text-primary); margin: 0 0 auto;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.58rem; margin-top: 0.65rem;
  border-top: 1px solid var(--border-card);
}
.nc-read {
  font-size: 0.72rem; font-weight: 700; color: var(--color-primary);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.2rem;
  transition: gap 0.15s;
}
.nc-read:hover { gap: 0.35rem; color: var(--color-primary); }
.nc-date { font-size: 0.64rem; color: var(--text-muted); }

/* ── Sidebar ───────────────────────────────────────────────── */
.news-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 90px; }

.nsw {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: 10px; overflow: hidden;
}
.nsw-head {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border-card);
  background: var(--bg-page);
}
.nsw-head-icon {
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(9,26,56,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.76rem; color: var(--color-primary); flex-shrink: 0;
}
[data-theme="dark"] .nsw-head-icon { background: rgba(255,255,255,0.08); color: var(--color-accent); }
.nsw-head h3 { font-size: 0.82rem; font-weight: 800; color: var(--text-primary); margin: 0; }

/* Categories list */
.nsw-cat-list { list-style: none; padding: 0; margin: 0; }
.nsw-cat-item { border-bottom: 1px solid var(--border-card); }
.nsw-cat-item:last-child { border-bottom: none; }
.nsw-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.62rem 1rem; color: var(--text-secondary);
  text-decoration: none; font-size: 0.82rem; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nsw-cat-link:hover { background: var(--bg-page); color: var(--color-primary); }
.cat-left { display: flex; align-items: center; gap: 0.45rem; }
.cat-left i { font-size: 0.78rem; color: var(--text-muted); width: 14px; text-align: center; }
.cat-count {
  font-size: 0.65rem; font-weight: 700; color: var(--text-muted);
  background: var(--bg-page); border: 1px solid var(--border-card);
  padding: 0.08rem 0.48rem; border-radius: 99px; flex-shrink: 0;
}

/* Latest news list */
.nsw-news-list { list-style: none; padding: 0; margin: 0; }
.nsw-news-item {
  display: flex; gap: 0.7rem; padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border-card); text-decoration: none; color: inherit;
  transition: background 0.15s;
}
.nsw-news-item:last-child { border-bottom: none; }
.nsw-news-item:hover { background: var(--bg-page); }
.nsw-news-thumb {
  width: 64px; height: 46px; flex-shrink: 0;
  border-radius: 5px; overflow: hidden; position: relative;
}
.nsw-news-thumb .ncf-visual { position: absolute; inset: 0; width: 100%; height: 100%; }
.nsw-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nsw-news-info { flex: 1; min-width: 0; }
.nsw-news-title {
  font-size: 0.77rem; font-weight: 600; color: var(--text-primary);
  line-height: 1.42; margin: 0 0 0.2rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nsw-news-date { font-size: 0.64rem; color: var(--text-muted); }

/* Social follow */
.nsw-social-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.5rem; padding: 0.875rem 1rem;
}
.nsw-social-btn {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.7rem; border-radius: 7px;
  border: 1px solid var(--border-card); background: var(--bg-page);
  text-decoration: none; transition: border-color 0.17s;
}
.nsw-social-btn:hover { border-color: var(--color-primary); }
.nsw-social-btn i { font-size: 1rem; flex-shrink: 0; }
.nsw-social-btn.tg i { color: #0088cc; }
.nsw-social-btn.ig i { color: #e4405f; }
.nsw-social-btn.yt i { color: #ff0000; }
.nsw-social-btn.fb i { color: #1877f2; }
.nsw-soc-info { line-height: 1; }
.nsw-soc-name { font-size: 0.7rem; font-weight: 700; color: var(--text-secondary); display: block; }
.nsw-soc-count { font-size: 0.62rem; color: var(--text-muted); }

/* ── Pagination ────────────────────────────────────────────── */
.news-pagination {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 0.3rem; padding-top: 1.75rem;
}
.npg-btn {
  min-width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-card); border-radius: 7px;
  background: var(--bg-card); color: var(--text-secondary);
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer; text-decoration: none; font-family: inherit;
  transition: all 0.15s;
}
.npg-btn:hover:not([aria-current]):not([disabled]) {
  border-color: var(--color-primary); color: var(--color-primary);
  background: rgba(9,26,56,0.04);
}
.npg-btn[aria-current="page"] {
  background: var(--color-primary); border-color: var(--color-primary);
  color: #fff; pointer-events: none;
}
.npg-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.npg-ellipsis { min-width: 24px; text-align: center; font-size: 0.78rem; color: var(--text-muted); padding: 0 2px; }

/* ── Visual placeholder areas ──────────────────────────────── */
.ncf-visual {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.ncf-visual--blue   { background: linear-gradient(140deg,#060E22 0%,#0A1936 55%,#0F2347 100%); }
.ncf-visual--gold   { background: linear-gradient(140deg,#100D01 0%,#1E1904 55%,#2A2506 100%); }
.ncf-visual--green  { background: linear-gradient(140deg,#021204 0%,#031D08 55%,#05280C 100%); }
.ncf-visual--purple { background: linear-gradient(140deg,#100618 0%,#1A0A28 55%,#220C35 100%); }
.ncf-visual--teal   { background: linear-gradient(140deg,#010F12 0%,#031A1E 55%,#052428 100%); }
.ncf-visual--red    { background: linear-gradient(140deg,#150204 0%,#200307 55%,#2B0408 100%); }

.ncf-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.ncf-visual--blue .ncf-shape-1   { width:220px;height:220px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(56,127,187,0.26) 0%,transparent 68%); }
.ncf-visual--blue .ncf-shape-2   { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(14,165,183,0.18) 0%,transparent 68%); }
.ncf-visual--gold .ncf-shape-1   { width:220px;height:220px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(212,162,76,0.26) 0%,transparent 68%); }
.ncf-visual--gold .ncf-shape-2   { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(245,166,35,0.18) 0%,transparent 68%); }
.ncf-visual--green .ncf-shape-1  { width:220px;height:220px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(34,197,94,0.22) 0%,transparent 68%); }
.ncf-visual--green .ncf-shape-2  { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(5,150,105,0.18) 0%,transparent 68%); }
.ncf-visual--purple .ncf-shape-1 { width:220px;height:220px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(168,85,247,0.22) 0%,transparent 68%); }
.ncf-visual--purple .ncf-shape-2 { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(139,92,246,0.18) 0%,transparent 68%); }
.ncf-visual--teal .ncf-shape-1   { width:220px;height:220px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(14,165,183,0.26) 0%,transparent 68%); }
.ncf-visual--teal .ncf-shape-2   { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(8,145,178,0.18) 0%,transparent 68%); }
.ncf-visual--red .ncf-shape-1    { width:220px;height:220px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(220,38,38,0.22) 0%,transparent 68%); }
.ncf-visual--red .ncf-shape-2    { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(185,28,28,0.18) 0%,transparent 68%); }

.ncf-icon-wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.65); border-radius: 12px;
}
.nf-image .ncf-icon-wrap        { width: 54px; height: 54px; font-size: 1.45rem; border-radius: 14px; }
.nc-image .ncf-icon-wrap        { width: 40px; height: 40px; font-size: 1rem;    border-radius: 10px; }
.nsw-news-thumb .ncf-icon-wrap  { width: 100%; height: 100%; border-radius: 0; border: none; background: rgba(255,255,255,0.05); }

/* No results */
.news-no-results { display: none; text-align: center; padding: 48px 0; }
.news-no-results i { font-size: 2.5rem; opacity: 0.28; display: block; margin-bottom: 0.75rem; color: var(--text-muted); }
.news-no-results p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .news-sidebar { position: static; }
  .news-pagination { justify-content: center; }
}
@media (max-width: 767px) {
  .nf-card { grid-template-columns: 1fr; }
  .nf-image { min-height: 0; aspect-ratio: 16 / 9; }
  .news-topbar-search { width: 100%; }
  .news-topbar { gap: 0.5rem; }
  .news-topbar-search input { border-radius: 8px; }
}
@media (max-width: 575px) {
  .npg-btn { min-width: 30px; height: 30px; font-size: 0.75rem; border-radius: 6px; }
  .news-section { padding: 28px 0 48px; }
}

/* ── (Eski klasslar — boshqa joylar buzmay) ─────────────────── */
.news-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 1.5rem;
}
.news-filter-pills { display: flex; flex-wrap: wrap; gap: 0.3rem; flex: 1; }
.news-filter-pills .filter-btn {
  padding: 0.28rem 0.9rem;
  font-size: 0.775rem;
  border-radius: 50px;
}
.news-result-count {
  font-size: 0.72rem; color: var(--text-muted);
  white-space: nowrap; font-weight: 500; flex-shrink: 0;
}
.news-search-compact {
  position: relative;
  width: 200px; flex-shrink: 0;
}
.news-search-compact input {
  width: 100%;
  padding: 0.38rem 0.9rem 0.38rem 2rem;
  border: 1.5px solid var(--border-card);
  border-radius: 50px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.78rem; font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.news-search-compact input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(9,26,56,0.09);
}
.news-search-compact input::placeholder { color: var(--text-muted); opacity: 0.7; }
.news-search-compact .nsc-icon {
  position: absolute; left: 0.7rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 0.72rem;
  pointer-events: none;
}

/* ── Featured horizontal card ──────────────────────────────── */
.news-card-featured-h {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 3px solid var(--color-primary);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.news-card-featured-h:hover {
  box-shadow: 0 4px 20px var(--shadow-sm);
  border-color: var(--color-primary);
}
.ncfh-image {
  position: relative; overflow: hidden;
  height: 100%; min-height: 170px; flex-shrink: 0;
}
.ncfh-body {
  padding: 1.1rem 1.35rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.ncfh-meta {
  display: flex; align-items: center; gap: 0.45rem;
  flex-wrap: wrap; margin-bottom: 0.5rem;
}
.ncfh-title {
  font-size: 1.1rem !important; font-weight: 800 !important;
  line-height: 1.35 !important; color: var(--text-primary) !important;
  margin-bottom: 0.45rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ncfh-excerpt {
  font-size: 0.835rem; color: var(--text-secondary);
  line-height: 1.65; margin-bottom: 0.7rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ncfh-footer {
  display: flex; align-items: center; justify-content: space-between;
}

/* ── Compact grid cards ────────────────────────────────────── */
.news-compact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.news-compact-card:hover {
  box-shadow: 0 4px 16px var(--shadow-sm);
  transform: translateY(-2px);
  border-color: rgba(9,26,56,0.16);
}
.ncc-image {
  height: 134px; overflow: hidden; flex-shrink: 0; position: relative;
}
.ncc-body {
  padding: 0.8rem 0.95rem;
  flex: 1; display: flex; flex-direction: column; gap: 0.4rem;
}
.ncc-meta {
  display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap;
}
.ncc-title {
  font-size: 0.87rem !important; font-weight: 700 !important;
  line-height: 1.4 !important; color: var(--text-primary) !important;
  margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ncc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.55rem; margin-top: auto;
  border-top: 1px solid var(--border-card);
}
.ncc-read {
  font-size: 0.72rem; font-weight: 700;
  color: var(--color-primary); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.2rem;
  transition: gap 0.18s;
}
.ncc-read:hover { gap: 0.35rem; color: var(--color-primary); }
.ncc-time {
  font-size: 0.65rem; color: var(--text-muted); font-weight: 500;
  display: flex; align-items: center; gap: 0.2rem;
}

/* ── Section spacing ───────────────────────────────────────── */
.news-section { padding: 36px 0 56px; }

/* ── Pagination ────────────────────────────────────────────── */
.news-pagination {
  display: flex; align-items: center;
  justify-content: center; gap: 0.3rem;
  padding-top: 1.75rem;
}
.npg-btn {
  min-width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-card);
  border-radius: 7px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.8rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  font-family: inherit;
  transition: all 0.16s;
}
.npg-btn:hover:not([aria-current]):not([disabled]) {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(9,26,56,0.04);
}
.npg-btn[aria-current="page"] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff; pointer-events: none;
}
.npg-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.npg-ellipsis {
  width: 24px; text-align: center;
  font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.05em;
}

/* ── Visual areas ──────────────────────────────────────────── */
.ncf-visual {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.ncf-visual--blue   { background: linear-gradient(135deg,#060E22 0%,#0A1936 50%,#0F2347 100%); }
.ncf-visual--gold   { background: linear-gradient(135deg,#100D01 0%,#1E1904 50%,#2A2506 100%); }
.ncf-visual--green  { background: linear-gradient(135deg,#021204 0%,#031D08 50%,#05280C 100%); }
.ncf-visual--purple { background: linear-gradient(135deg,#100618 0%,#1A0A28 50%,#220C35 100%); }
.ncf-visual--teal   { background: linear-gradient(135deg,#010F12 0%,#031A1E 50%,#052428 100%); }

.ncf-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.ncf-visual--blue .ncf-shape-1   { width:180px;height:180px;top:-50px;right:-50px;background:radial-gradient(circle,rgba(56,127,187,0.22) 0%,transparent 68%); }
.ncf-visual--blue .ncf-shape-2   { width:120px;height:120px;bottom:-35px;left:-35px;background:radial-gradient(circle,rgba(14,165,183,0.14) 0%,transparent 68%); }
.ncf-visual--gold .ncf-shape-1   { width:180px;height:180px;top:-50px;right:-50px;background:radial-gradient(circle,rgba(212,162,76,0.22) 0%,transparent 68%); }
.ncf-visual--gold .ncf-shape-2   { width:120px;height:120px;bottom:-35px;left:-35px;background:radial-gradient(circle,rgba(245,166,35,0.14) 0%,transparent 68%); }
.ncf-visual--green .ncf-shape-1  { width:180px;height:180px;top:-50px;right:-50px;background:radial-gradient(circle,rgba(34,197,94,0.20) 0%,transparent 68%); }
.ncf-visual--green .ncf-shape-2  { width:120px;height:120px;bottom:-35px;left:-35px;background:radial-gradient(circle,rgba(5,150,105,0.14) 0%,transparent 68%); }
.ncf-visual--purple .ncf-shape-1 { width:180px;height:180px;top:-50px;right:-50px;background:radial-gradient(circle,rgba(168,85,247,0.20) 0%,transparent 68%); }
.ncf-visual--purple .ncf-shape-2 { width:120px;height:120px;bottom:-35px;left:-35px;background:radial-gradient(circle,rgba(139,92,246,0.14) 0%,transparent 68%); }
.ncf-visual--teal .ncf-shape-1   { width:180px;height:180px;top:-50px;right:-50px;background:radial-gradient(circle,rgba(14,165,183,0.22) 0%,transparent 68%); }
.ncf-visual--teal .ncf-shape-2   { width:120px;height:120px;bottom:-35px;left:-35px;background:radial-gradient(circle,rgba(8,145,178,0.14) 0%,transparent 68%); }

.ncf-icon-wrap {
  position: relative; z-index: 2;
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.65);
}
.ncc-image .ncf-icon-wrap   { width: 38px; height: 38px; font-size: 0.95rem; border-radius: 10px; }
.ncfh-image .ncf-icon-wrap  { width: 52px; height: 52px; font-size: 1.4rem;  border-radius: 14px; }

.ncf-badge {
  position: absolute; top: 0.65rem; left: 0.65rem; z-index: 3;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.88);
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: 99px;
}

/* ── No results ─────────────────────────────────────────────── */
.news-no-results {
  display: none; text-align: center; padding: 48px 0; color: var(--text-muted);
}
.news-no-results i { font-size: 2.5rem; opacity: 0.28; display: block; margin-bottom: 0.75rem; }
.news-no-results p { font-size: 0.84rem; color: var(--text-muted); margin: 0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .news-card-featured-h { grid-template-columns: 1fr; }
  .ncfh-image { min-height: 150px; }
  .news-search-compact { width: 100%; }
  .news-filter-bar { gap: 0.75rem; }
}
@media (max-width: 575px) {
  .ncc-image { height: 118px; }
  .npg-btn { min-width: 28px; height: 28px; font-size: 0.74rem; border-radius: 6px; }
}

/* placeholder — eski kod olib tashlandi */
.news-ticker {
  display: none;
  height: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  z-index: 99;
}
.news-ticker-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-accent);
  height: 100%;
  flex-shrink: 0;
  white-space: nowrap;
}
.news-ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.news-ticker-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: tickerScroll 38s linear infinite;
  font-size: 0.79rem;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  padding-left: 1.5rem;
}
.news-ticker-dot {
  color: rgba(255,255,255,0.28);
  font-size: 1rem;
  line-height: 1;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .news-ticker-inner { animation: none; }
}

/* ── News hero stats chips ─────────────────────────────────── */
.news-hero-stats {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
}
.nhs-item {
  padding: 0.72rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.nhs-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.nhs-label {
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(255,255,255,0.48);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.nhs-sep {
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.11);
  flex-shrink: 0;
}

/* ── Main section ──────────────────────────────────────────── */
.news-main-section { padding: 60px 0 80px; }

/* ── Toolbar ───────────────────────────────────────────────── */
.news-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  margin-bottom: 2rem;
}
.news-search-wrap { flex: 0 0 auto; min-width: 240px; }
.news-filter-wrap { display: flex; flex-wrap: wrap; gap: 0.4rem; flex: 1; }
.news-results-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}

/* ── Featured layout ───────────────────────────────────────── */
.news-featured-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.news-featured-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Card visual areas (no emoji) ──────────────────────────── */
.news-card-img--featured { height: 268px !important; }
.news-card-img--side     { height: 110px !important; }
.news-card-img--grid     { height: 178px !important; }

.ncf-visual {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.ncf-visual--blue   { background: linear-gradient(135deg, #060E22 0%, #0A1936 50%, #0F2347 100%); }
.ncf-visual--gold   { background: linear-gradient(135deg, #100D01 0%, #1E1904 50%, #2A2506 100%); }
.ncf-visual--green  { background: linear-gradient(135deg, #021204 0%, #031D08 50%, #05280C 100%); }
.ncf-visual--purple { background: linear-gradient(135deg, #100618 0%, #1A0A28 50%, #220C35 100%); }
.ncf-visual--teal   { background: linear-gradient(135deg, #010F12 0%, #031A1E 50%, #052428 100%); }

.ncf-shape { position: absolute; border-radius: 50%; pointer-events: none; }

.ncf-visual--blue .ncf-shape-1   { width:210px;height:210px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(56,127,187,0.22) 0%,transparent 68%); }
.ncf-visual--blue .ncf-shape-2   { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(14,165,183,0.14) 0%,transparent 68%); }
.ncf-visual--gold .ncf-shape-1   { width:210px;height:210px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(212,162,76,0.22) 0%,transparent 68%); }
.ncf-visual--gold .ncf-shape-2   { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(245,166,35,0.14) 0%,transparent 68%); }
.ncf-visual--green .ncf-shape-1  { width:210px;height:210px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(34,197,94,0.20) 0%,transparent 68%); }
.ncf-visual--green .ncf-shape-2  { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(5,150,105,0.14) 0%,transparent 68%); }
.ncf-visual--purple .ncf-shape-1 { width:210px;height:210px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(168,85,247,0.20) 0%,transparent 68%); }
.ncf-visual--purple .ncf-shape-2 { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(139,92,246,0.14) 0%,transparent 68%); }
.ncf-visual--teal .ncf-shape-1   { width:210px;height:210px;top:-65px;right:-65px;background:radial-gradient(circle,rgba(14,165,183,0.22) 0%,transparent 68%); }
.ncf-visual--teal .ncf-shape-2   { width:150px;height:150px;bottom:-45px;left:-45px;background:radial-gradient(circle,rgba(8,145,178,0.14) 0%,transparent 68%); }

.ncf-icon-wrap {
  position: relative; z-index: 2;
  width: 62px; height: 62px;
  border-radius: 17px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  color: rgba(255,255,255,0.68);
}
.news-card-img--side .ncf-icon-wrap {
  width: 40px; height: 40px;
  font-size: 1rem; border-radius: 11px;
}

.ncf-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.86);
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.26rem 0.68rem; border-radius: 99px;
}

/* ── Featured title / excerpt ─────────────────────────────── */
.news-featured-title {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  margin-bottom: 0.65rem;
}
.news-featured-excerpt {
  font-size: 0.875rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.72 !important;
  margin-bottom: 0.7rem !important;
}

/* ── Card footer with share buttons ───────────────────────── */
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-card);
  margin-top: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.news-share-btns { display: flex; gap: 0.35rem; }
.news-share-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--border-card);
  background: var(--bg-page);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.news-share-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ── Read time ─────────────────────────────────────────────── */
.news-read-time {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.67rem; font-weight: 600; color: var(--text-muted);
}

/* ── Grid section header ───────────────────────────────────── */
.news-grid-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--border-card);
}
.news-grid-title {
  font-size: 0.975rem; font-weight: 800;
  color: var(--text-primary); margin: 0;
  display: flex; align-items: center; gap: 0.6rem;
}
.news-grid-title::before {
  content: '';
  display: block;
  width: 3px; height: 16px;
  background: var(--color-primary);
  border-radius: 2px;
}
.news-grid-sort {
  font-size: 0.75rem; color: var(--text-secondary);
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: 8px; padding: 0.3rem 0.7rem;
  cursor: pointer; outline: none; font-family: inherit;
  transition: border-color 0.2s;
}
.news-grid-sort:focus { border-color: var(--color-primary); }

/* ── No results ─────────────────────────────────────────────── */
.news-no-results {
  display: none;
  text-align: center; padding: 56px 20px; color: var(--text-muted);
}
.news-no-results i {
  font-size: 2.75rem; opacity: 0.32;
  display: block; margin-bottom: 0.875rem;
}
.news-no-results p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ── Load more ─────────────────────────────────────────────── */
.news-loadmore-wrap {
  text-align: center; padding-top: 2rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.6rem;
}
.btn-loadmore {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 2rem;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  font-size: 0.855rem; font-weight: 700; font-family: inherit;
  cursor: pointer; letter-spacing: 0.02em;
  transition: background 0.24s, color 0.24s, transform 0.22s, box-shadow 0.24s;
}
.btn-loadmore:hover {
  background: var(--color-primary); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(9,26,56,0.22);
}
.news-count-info {
  font-size: 0.74rem; color: var(--text-muted); font-weight: 500;
}

/* Side card compact title */
.news-card-title--side {
  font-size: 0.92rem !important;
  line-height: 1.4 !important;
  margin-bottom: 0.5rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .news-featured-row { grid-template-columns: 1fr 310px; }
}
@media (max-width: 991px) {
  .news-featured-row { grid-template-columns: 1fr; }
  .news-featured-side { flex-direction: row; }
  .news-featured-side > * { flex: 1; }
}
@media (max-width: 767px) {
  .news-ticker { display: none; }
  .news-toolbar { flex-direction: column; align-items: flex-start; }
  .news-search-wrap { width: 100%; min-width: unset; }
  .news-featured-side { flex-direction: column; }
  .news-featured-row { gap: 1rem; }
  .news-hero-stats { flex-wrap: wrap; }
  .nhs-sep { width: 32px; height: 1px; }
}
@media (max-width: 575px) {
  .btn-loadmore { width: 100%; justify-content: center; }
  .news-card-img--featured { height: 200px !important; }
  .news-hero-stats { width: 100%; }
}

/* ── Color utilities ─────────────────────────────────────────────── */
.text-primary-custom { color: var(--color-primary) !important; }
.text-accent-custom  { color: var(--color-accent)  !important; }
.text-gold-custom    { color: var(--color-gold)    !important; }
.bg-accent-custom    { background: var(--color-accent)  !important; }
.bg-gold-custom      { background: var(--color-gold)    !important; }

/* ══════════════════════════════════════════════════════════════════════
   §2 ABOUT — supplemental
══════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════
   §3 STRUCTURE — supplemental
══════════════════════════════════════════════════════════════════════ */
.struct-strip-icon--gold {
  background: linear-gradient(135deg, #96710A, #C49A20);
}
.struct-strip-icon--green {
  background: linear-gradient(135deg, #16A34A, #22C55E);
}
.oc-direct-icon--green {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.24);
  color: #059669;
}
.oc-direct-icon--red {
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #DC2626;
}
.oc-direct-icon--blue {
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: #2563EB;
}
.oc-direct-icon--purple {
  background: rgba(124, 58, 237, 0.10);
  border: 1px solid rgba(124, 58, 237, 0.22);
  color: #7C3AED;
}
.oc-direct-icon--amber {
  background: rgba(217, 119, 6, 0.10);
  border: 1px solid rgba(217, 119, 6, 0.22);
  color: #D97706;
}
.oc-direct-icon--teal {
  background: rgba(8, 145, 178, 0.10);
  border: 1px solid rgba(8, 145, 178, 0.22);
  color: #0891B2;
}
.leader-avatar-icon {
  font-size: 2.2rem;
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════
   §4 COMPETITIONS — supplemental
══════════════════════════════════════════════════════════════════════ */
.comp-section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.comp-section-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.comp-sub-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.comp-sub-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.comp-card--round {
  border-radius: 20px;
  overflow: hidden;
}
.card-body--lg {
  padding: 1.8rem;
}
.card-body--md {
  padding: 1.4rem;
}
.card-h4-title {
  font-size: 1.2rem;
  font-weight: 800;
}
.comp-card-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.check-icon--purple { color: #7C3AED; }
.check-icon--green  { color: #059669; }
.btn-apply-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}
.check-icon--gold  { color: #FFD700; }
.hgc-star-icon     { font-size: 0.9rem; }
.comp-deco-svg {
  position: absolute;
  top: -60px;
  right: -60px;
  opacity: 0.04;
  pointer-events: none;
}
.comp-deco-content {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════════════════
   §5 ANNOUNCEMENTS — supplemental
══════════════════════════════════════════════════════════════════════ */
.announcement-icon--red     { background: #EF4444; }
.announcement-icon--gold    { background: var(--color-gold); }
.announcement-icon--accent  { background: var(--color-accent); }
.announcement-icon--primary { background: var(--color-primary); }
.announcement-icon--purple  { background: #7C3AED; }
.announcement-icon--green   { background: #059669; }
.badge-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}
.badge-purple {
  background: rgba(124, 58, 237, 0.12);
  color: #7C3AED;
}
.sidebar-cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-notify-card {
  background: var(--color-primary);
  border-radius: 16px;
  padding: 1.25rem;
  color: #fff;
}
.sidebar-notify-card h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.sidebar-notify-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════════════════════════
   §6 EVENTS — supplemental
══════════════════════════════════════════════════════════════════════ */
.btn-event-action {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}
.event-type-badge {
  width: fit-content;
}
.event-type-badge--sm {
  width: fit-content;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
}
.past-event-h6 {
  font-weight: 700;
  color: var(--text-primary);
}
.past-event-meta {
  font-size: 0.78rem;
}
.past-event-btn {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  white-space: nowrap;
}
.cta-banner-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 0.7rem 1.8rem;
}
.cta-banner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}
.sidebar-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sidebar-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sidebar-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}
.sidebar-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.sidebar-next-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-card);
}
.sidebar-next-item:last-child { border-bottom: none; }
.sidebar-next-date {
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  text-align: center;
  min-width: 44px;
  flex-shrink: 0;
}
.sidebar-next-day {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.sidebar-next-month {
  font-size: 0.55rem;
  opacity: 0.9;
  color: #fff;
}
.sidebar-next-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.2rem;
}
.sidebar-next-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.sidebar-tg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
}
.sidebar-tg-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(0, 136, 204, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.5rem;
  color: #0088CC;
}
.sidebar-tg-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.sidebar-tg-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.sidebar-tg-card--blue {
  background: linear-gradient(135deg, #0088cc, #00aaff);
  border: none;
}
.sidebar-tg-card--blue .sidebar-tg-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.sidebar-tg-card--blue .sidebar-tg-title { color: #fff; }
.sidebar-tg-card--blue .sidebar-tg-text  { color: rgba(255, 255, 255, 0.85); }
.sidebar-tg-btn {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
.sidebar-tg-btn:hover { background: rgba(255, 255, 255, 0.35); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════
   §7 GALLERY — supplemental
══════════════════════════════════════════════════════════════════════ */
.gallery-stat-num {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.gallery-stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.section-header--left {
  text-align: left;
}

/* ══════════════════════════════════════════════════════════════════════
   §8 VIDEO GALLERY — supplemental
══════════════════════════════════════════════════════════════════════ */
.badge-custom { width: fit-content; }
.playlist-play-icon i { font-size: 0.7rem; }
.vg-playlist {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
}
.vg-playlist-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-card);
}
.vg-playlist-head h6 {
  margin: 0;
  font-weight: 700;
  color: var(--text-primary);
}
.vg-playlist-body {
  padding: 0.5rem;
  max-height: 380px;
  overflow-y: auto;
}
.featured-overlay h3 {
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0;
}
.featured-overlay-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}
.cta-inner-content { position: relative; z-index: 1; }
.cta-yt-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════
   §9 DOCUMENTS — supplemental
══════════════════════════════════════════════════════════════════════ */
.doc-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 90px;
}
.doc-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.doc-stat-num--accent { color: var(--color-accent); }
.doc-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.3rem;
}
.doc-year-select {
  width: auto;
  border-radius: 10px;
  font-size: 0.85rem;
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-card);
}
.doc-sidebar-info {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}
.doc-sidebar-info-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.doc-sidebar-info-link {
  font-size: 0.82rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.doc-sidebar-info-link:hover { text-decoration: underline; }
.doc-no-results {
  text-align: center;
  padding: 3rem 1rem;
  display: none;
}
.doc-no-results-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.doc-no-results-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════════════════
   §10 OPEN DATA — supplemental
══════════════════════════════════════════════════════════════════════ */
.od-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
}
.od-card-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-card);
}
.od-card-title {
  margin: 0;
  font-weight: 700;
  color: var(--text-primary);
}
.od-card-body {
  padding: 1.25rem 1.5rem;
}
.legend-dot--dark-blue { background: #013D8C; }
.legend-dot--blue      { background: #0056C8; }
.legend-dot--cyan      { background: #00B4D8; }
.legend-dot--amber     { background: #F5A623; }
.od-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.od-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.od-legend-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex: 1;
}
.od-legend-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}
.border-top-card {
  border-top: 1px solid var(--border-card);
}
.od-gender-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.od-gender-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  min-width: 80px;
}
.od-gender-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-left: auto;
}
.od-region-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-card);
}
.od-region-row:last-child { border-bottom: none; }
.od-region-name {
  font-size: 0.82rem;
  color: var(--text-primary);
  min-width: 100px;
}
.od-region-name--muted { color: var(--text-muted); }
.od-region-bar-wrap { flex: 1; }
.od-region-mini-track {
  height: 6px;
  background: var(--border-card);
  border-radius: 3px;
  overflow: hidden;
}
.od-region-mini-fill--primary { background: var(--color-primary); border-radius: 3px; height: 100%; }
.od-region-mini-fill--accent  { background: var(--color-accent);  border-radius: 3px; height: 100%; }
.od-region-mini-fill--gold    { background: var(--color-gold);    border-radius: 3px; height: 100%; }
.od-region-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 36px;
  text-align: right;
}
.od-region-val--muted { color: var(--text-muted); }
.dataset-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.dataset-icon--primary { background: rgba(var(--c-primary-rgb), 0.12); color: var(--color-primary); }
.dataset-icon--gold    { background: rgba(var(--c-gold-rgb),    0.12); color: var(--color-gold);    }
.dataset-icon--accent  { background: rgba(var(--c-accent-rgb),  0.12); color: var(--color-accent);  }
.dataset-icon--green   { background: rgba(16, 185, 129, 0.12);        color: #059669;               }
.dataset-head-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.dataset-head-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════
   §11 CONTACT — supplemental
══════════════════════════════════════════════════════════════════════ */
.contact-form-title {
  color: var(--text-primary);
}
.contact-form-intro {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.privacy-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}
.privacy-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.form-success-title {
  font-weight: 800;
  color: var(--text-primary);
}
.form-success-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.map-embed {
  border: 0;
  border-radius: 20px;
  width: 100%;
  height: 100%;
}
.contact-hours-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-hours-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.contact-hours-head h6 {
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(40, 167, 69, 0.12);
  color: #28a745;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}
.hours-open-dot {
  width: 7px;
  height: 7px;
  background: #28a745;
  border-radius: 50%;
  animation: glowPulse 1.5s infinite;
}
.contact-social-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.contact-dept-card {
  flex-direction: column;
}
.contact-dept-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-dept-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-dept-icon--primary { background: rgba(var(--c-primary-rgb), 0.12); color: var(--color-primary); }
.contact-dept-icon--gold    { background: rgba(var(--c-gold-rgb),    0.12); color: var(--color-gold);    }
.contact-dept-icon--accent  { background: rgba(var(--c-accent-rgb),  0.12); color: var(--color-accent);  }
.contact-dept-icon--green   { background: rgba(16, 185, 129, 0.12);        color: #059669;               }
.contact-dept-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.contact-dept-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.contact-dept-icon-inline {
  font-size: 0.9rem;
}
.contact-dept-icon-inline--primary { color: var(--color-primary); }
.contact-dept-icon-inline--gold    { color: var(--color-gold);    }
.contact-dept-icon-inline--accent  { color: var(--color-accent);  }
.contact-dept-icon-inline--green   { color: #059669;              }

/* ══════════════════════════════════════════════════════════════════════
   §12 PROJECTS — supplemental
══════════════════════════════════════════════════════════════════════ */
.proj-section {
  padding: 24px 0 60px;
}
.proj-cta-section {
  padding: 20px 0 60px;
}
.card-custom--r18 {
  border-radius: 18px;
  overflow: hidden;
}
.proj-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.proj-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.proj-cta-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.proj-cta-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.proj-cta-btn {
  font-size: 0.88rem;
}
.proj-progress-bar--gradient {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 4px;
  height: 100%;
  transition: width 0.6s ease;
}

/* ══════════════════════════════════════════════════════════════════════
   §13 ACTIVITY — supplemental
══════════════════════════════════════════════════════════════════════ */
.text-center-max {
  max-width: 600px;
  margin: 0 auto;
}
.intro-text-sm {
  font-size: 0.88rem;
}

/* ── Misc cleanup classes ───────────────────────────────────────────────── */
.chart-bar-name--sm { min-width: 50px; }
.event-card-time    { color: var(--text-muted); }
.btn-event-reg      { padding: .5rem 1.2rem; font-size: .85rem; width: 100%; }
.nsw-cat-arrow      { font-size: 0.65rem; opacity: .5; }


/* ══════════════════════════════════════════════════════════════════════
   ═══ RAHBARIYAT PAGE ═══
══════════════════════════════════════════════════════════════════════ */

/* ── Section wrapper ────────────────────────────────────────────────── */
.rl-section {
  padding: 88px 0;
  background: var(--bg-page);
}

/* ── Leadership card ────────────────────────────────────────────────── */
.rl-card {
  display: flex;
  flex-direction: row;
  border-radius: 24px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--bg-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.11);
}
.rl-card--director { border-top: 3px solid #1E3A8A; }
.rl-card--director .rl-avatar-panel {
  width: 272px; min-width: 272px; padding: 2rem 1.5rem;
}
.rl-card--dep1     { border-top: 3px solid #3A9FE0; }
.rl-card--dep2     { border-top: 3px solid #0891B2; }

/* ── Avatar panel ───────────────────────────────────────────────────── */
.rl-avatar-panel {
  width: 200px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  gap: 0.875rem;
}
.rl-avatar-panel--director,
.rl-avatar-panel--dep1,
.rl-avatar-panel--dep2 {
  background: linear-gradient(170deg, #EFF6FF, #DBEAFE);
}

/* ── Avatar circle ──────────────────────────────────────────────────── */
.rl-avatar-circle {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.rl-avatar-circle--director {
  background: #fff;
  border: 3px solid rgba(30,58,138,0.32);
  box-shadow: 0 0 0 6px rgba(30,58,138,0.10);
  color: #1E3A8A;
  overflow: hidden;
  width: 180px;
  height: 180px;
  font-size: 3.8rem;
}
.rl-avatar-circle--director img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 50%;
}
.rl-avatar-circle--dep1 {
  background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
  border: 3px solid #3A9FE0;
  color: #1E40AF;
}
.rl-avatar-circle--dep2 {
  background: linear-gradient(135deg, #CFFAFE, #A5F3FC);
  border: 3px solid #0891B2;
  color: #164E63;
}

/* ── Role badge ─────────────────────────────────────────────────────── */
.rl-role-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.rl-role-badge--director {
  background: rgba(30,58,138,0.10);
  color: #1E3A8A;
  border: 1px solid rgba(30,58,138,0.22);
}
.rl-role-badge--dep1 {
  background: rgba(58,159,224,0.12);
  color: #1D4ED8;
  border: 1px solid rgba(58,159,224,0.25);
}
.rl-role-badge--dep2 {
  background: rgba(8,145,178,0.12);
  color: #164E63;
  border: 1px solid rgba(8,145,178,0.25);
}

/* ── Card body ──────────────────────────────────────────────────────── */
.rl-card-body {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 1.5rem;
  flex: 1;
  min-width: 0;
}

.rl-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.rl-name-note {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.rl-position {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* ── Contact grid ───────────────────────────────────────────────────── */
.rl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.rl-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.rl-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.rl-contact-icon--gold {
  background: rgba(30,58,138,0.09);
  color: #1E3A8A;
}
.rl-contact-icon--blue {
  background: rgba(37,99,235,0.1);
  color: #1D4ED8;
}
.rl-contact-icon--teal {
  background: rgba(8,145,178,0.1);
  color: #0891B2;
}

.rl-contact-label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.15rem;
}
.rl-contact-val {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s;
}
.rl-contact-val:hover {
  color: #2563EB;
}

/* ── Card actions bar ───────────────────────────────────────────────── */
.rl-card-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  align-items: center;
}

/* ── Duties button ──────────────────────────────────────────────────── */
.rl-btn-duties {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s;
}
.rl-btn-duties--director,
.rl-btn-duties--dep {
  background: linear-gradient(135deg, #1E3A8A, #2563EB 70%, #3B82F6);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,0.28);
}
.rl-btn-duties--director:hover,
.rl-btn-duties--dep:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(37,99,235,0.38);
  transform: translateY(-1px);
}

/* ── Social icon buttons ────────────────────────────────────────────── */
.rl-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.rl-social-btn:hover {
  background: rgba(37,99,235,0.06);
  color: #2563EB;
  border-color: rgba(37,99,235,0.3);
}

/* ══ MODAL ══════════════════════════════════════════════════════════════ */

.rl-modal .modal-dialog {
  max-width: 620px;
}
.rl-modal .modal-content {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}

/* Modal headers */
.rl-modal .modal-header {
  padding: 1.75rem 2rem;
  border-bottom: none;
  position: relative;
  align-items: center;
  justify-content: space-between;
}
.rl-modal-header--director {
  background: linear-gradient(135deg, #0A1628 0%, #1E3A8A 55%, #2563EB 100%);
}
.rl-modal-header--dep1 {
  background: linear-gradient(135deg, #1E3A8A, #2563EB 60%, #3B82F6);
}
.rl-modal-header--dep2 {
  background: linear-gradient(135deg, #164E63, #0284C7 60%, #22D3EE);
}

/* Modal header icon */
.rl-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  flex-shrink: 0;
}

.rl-modal-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.rl-modal-role {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  margin-top: 0.2rem;
}

/* Close button override */
.rl-modal .btn-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background-color: rgba(255,255,255,0.2);
  border-radius: 8px;
  opacity: 1;
  filter: invert(1);
  width: 32px;
  height: 32px;
  padding: 0;
  background-size: 14px;
}
.rl-modal .btn-close:hover {
  background-color: rgba(255,255,255,0.35);
}

/* Modal body */
.rl-modal .modal-body {
  padding: 1.75rem 2rem 2rem;
}

/* Duties list */
.rl-duties-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.rl-duties-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  align-items: flex-start;
  transition: border-color 0.2s, background 0.2s;
}
.rl-modal--director .rl-duties-item:hover {
  border-color: rgba(30,58,138,0.30);
  background: rgba(30,58,138,0.03);
}
.rl-modal--dep1 .rl-duties-item:hover,
.rl-modal--dep2 .rl-duties-item:hover {
  border-color: rgba(37,99,235,0.3);
  background: rgba(37,99,235,0.03);
}

/* Number badge */
.rl-duties-num {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.rl-duties-num--director {
  background: rgba(30,58,138,0.12);
  color: #1E3A8A;
}
.rl-duties-num--dep {
  background: rgba(37,99,235,0.12);
  color: #1D4ED8;
}

.rl-duties-text {
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.55;
  padding-top: 2px;
}

/* ══ SIDEBAR ════════════════════════════════════════════════════════════ */

.rl-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rl-sb-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
}

.rl-sb-header {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sidebar nav links */
.rl-sb-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  text-decoration: none;
  font-size: 0.87rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s, color 0.2s;
}
.rl-sb-nav-link:last-of-type {
  border-bottom: none;
}
.rl-sb-nav-link i {
  width: 20px;
  text-align: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: color 0.2s;
}
.rl-sb-nav-link:hover {
  background: rgba(37,99,235,0.05);
  color: #2563EB;
}
.rl-sb-nav-link:hover i {
  color: #2563EB;
}
.rl-sb-nav-link--active {
  color: #2563EB;
  font-weight: 600;
  background: rgba(37,99,235,0.05);
}
.rl-sb-nav-link--active i {
  color: #2563EB;
}

/* Sidebar stat rows */
.rl-sb-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}
.rl-sb-stat-row:last-of-type {
  border-bottom: none;
}
.rl-sb-stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.rl-sb-stat-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Sidebar contact items */
.rl-sb-contact-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  align-items: flex-start;
}
.rl-sb-contact-item:last-of-type {
  border-bottom: none;
}
.rl-sb-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* Sidebar CTA */
.rl-sb-cta {
  display: block;
  background: linear-gradient(135deg, #1E3A8A, #2563EB 60%, #3B82F6);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 1rem 1.25rem;
  border-radius: 0 0 18px 18px;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}
.rl-sb-cta:hover {
  filter: brightness(1.1);
  color: #fff;
}

/* ══ RESPONSIVE ═════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .rl-card {
    flex-direction: column;
  }
  .rl-avatar-panel {
    width: 100%;
    flex-direction: row;
    padding: 1.5rem;
    gap: 1.25rem;
    justify-content: flex-start;
  }
  .rl-avatar-circle {
    width: 88px;
    height: 88px;
    font-size: 2rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .rl-avatar-circle--director {
    width: 110px;
    height: 110px;
    font-size: 2.6rem;
  }
  .rl-contact-grid {
    grid-template-columns: 1fr;
  }
  .rl-sidebar {
    position: static;
    margin-top: 2.5rem;
  }
}
