/* ==========================================================================
   GDU — «Green & Digital Universities»
   Негизги стиль (бардык тилдер жана бардык беттер үчүн бир файл)
   ========================================================================== */

:root {
  --ink: #0f1f18;
  --ink-soft: #3b4b43;
  --muted: #64746c;
  --line: #e2e8e1;
  --paper: #f5f7f2;
  --card: #ffffff;

  --green-950: #062619;
  --green-900: #0b3b2a;
  --green-800: #0f4d36;
  --green-700: #146446;
  --green-600: #1c7f58;
  --green-500: #2a9b6b;
  --green-100: #e3f3e9;
  --green-50:  #f0f8f2;
  --lime: #c6f07a;
  --lime-700: #7fae2a;
  --danger: #c0392b;

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 24, .06), 0 2px 8px rgba(15, 31, 24, .04);
  --shadow: 0 10px 30px -12px rgba(15, 31, 24, .18);
  --shadow-lg: 0 30px 60px -25px rgba(6, 38, 25, .35);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h3, h4, h5 { font-family: var(--font-body); letter-spacing: 0; }
p { margin: 0 0 1rem; }
a { color: var(--green-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-800); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--lime-700); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--green-950); }

.container { max-width: 1240px; padding-left: 20px; padding-right: 20px; }

.main { min-height: 50vh; }

/* ---------- Buttons ---------- */
.btn-gdu, .btn-gdu-outline, .btn-gdu-light {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  line-height: 1.2; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn-gdu { background: var(--green-700); color: #fff; }
.btn-gdu:hover { background: var(--green-900); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gdu-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-gdu-outline:hover { background: var(--green-700); color: #fff; }
.btn-gdu-light { background: var(--lime); color: var(--green-950); }
.btn-gdu-light:hover { background: #fff; color: var(--green-950); transform: translateY(-1px); }
.btn-ghost-light { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid rgba(255,255,255,.55); color: #fff; font-weight: 600; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-sm-gdu { padding: .55rem 1rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; }

.topbar { background: var(--green-950); color: rgba(255,255,255,.82); font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__contacts { display: flex; gap: 1.4rem; min-width: 0; }
.topbar__contacts a { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__contacts a:hover { color: var(--lime); }
.topbar__contacts i { color: var(--lime); }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); }
.lang-switch .lang-link {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px;
  padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: rgba(255,255,255,.8); line-height: 1.6; text-decoration: none;
}
.lang-switch .lang-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.lang-switch .lang-link.active { background: var(--lime); color: var(--green-950); }

.lang-switch--drawer { background: var(--green-50); }
.lang-switch--drawer .lang-link { color: var(--green-800); font-size: .9rem; padding: 6px 16px; }
.lang-switch--drawer .lang-link:hover { background: var(--green-100); color: var(--green-900); }
.lang-switch--drawer .lang-link.active { background: var(--green-700); color: #fff; }

.navbar-main {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.scrolled .navbar-main { box-shadow: 0 8px 24px -16px rgba(6,38,25,.35); }
.navbar-main__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--green-900); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--green-900); }
.logo-mark { width: 42px; height: 42px; color: var(--green-800); flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: .02em; }
.brand__tag { font-size: .72rem; color: var(--muted); font-weight: 500; max-width: 210px; margin-top: 2px; }
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.brand--light .logo-mark { color: var(--green-700); }
.brand--light .brand__tag { color: rgba(255,255,255,.65); }

/* Desktop nav */
.navmenu ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.navmenu a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .7rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.navmenu a:hover { color: var(--green-800); background: var(--green-50); }
.navmenu a.active { color: var(--green-800); background: var(--green-100); font-weight: 600; }
.navmenu a.nav-forum { background: var(--green-700); color: #fff; font-weight: 600; margin-left: .35rem; padding-left: .95rem; padding-right: 1rem; }
.navmenu a.nav-forum:hover, .navmenu a.nav-forum.active { background: var(--green-900); color: #fff; }
.navmenu__head, .navmenu__foot { display: none; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--green-50); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-backdrop { display: none; }

@media (max-width: 1399.98px) {
  .nav-toggle { display: inline-flex; }
  .navmenu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100;
    width: min(360px, 88vw); background: #fff; padding: 1.2rem 1.2rem 1.5rem;
    display: flex; flex-direction: column; gap: 1rem;
    transform: translateX(105%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .navmenu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
  .navmenu__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
  .navmenu__close { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--green-50); color: var(--green-900); font-size: 1.05rem; }
  .navmenu ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .navmenu a { display: flex; padding: .8rem 1rem; font-size: 1rem; border-radius: 12px; white-space: normal; }
  .navmenu a.nav-forum { margin: .4rem 0 0; justify-content: flex-start; }
  .navmenu__foot { display: flex; flex-direction: column; gap: .55rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
  .navmenu__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 1050; background: rgba(6,38,25,.45); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
  body.nav-open { overflow: hidden; }
  body.nav-open .navmenu { transform: translateX(0); }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
}
@media (max-width: 575.98px) {
  :root { --header-h: 66px; }
  .brand__tag { display: none; }
  .logo-mark { width: 38px; height: 38px; }
  .topbar__contacts { gap: .8rem; font-size: .8rem; }
  .lang-switch--top .lang-link { min-width: 32px; padding: 2px 8px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--white { background: #fff; }
.section--tint { background: var(--green-50); }
@media (max-width: 767.98px) { .section { padding: 64px 0; } }

.section-head { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); margin: .4rem 0 .8rem; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime-700); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--green-950); color: #fff; overflow: hidden; }
.hero .carousel-item { height: clamp(520px, 78vh, 760px); }
.hero .carousel-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .carousel-item::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,38,25,.92) 0%, rgba(6,38,25,.72) 38%, rgba(6,38,25,.15) 75%, rgba(6,38,25,.05) 100%),
    linear-gradient(0deg, rgba(6,38,25,.55) 0%, rgba(6,38,25,0) 35%);
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero__box { max-width: 640px; padding: 40px 0 70px; }
.hero__kicker { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(198,240,122,.14); border: 1px solid rgba(198,240,122,.35); color: var(--lime); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.3rem; }
.hero h1, .hero .hero__title { color: #fff; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); line-height: 1.08; margin: 0 0 1.2rem; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--lime); }
.hero__text { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); color: rgba(255,255,255,.86); line-height: 1.7; margin-bottom: 2rem; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .carousel-indicators { justify-content: flex-start; margin: 0; left: 0; right: 0; bottom: 34px; max-width: 1240px; padding: 0 20px; margin: 0 auto; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.4); opacity: 1; margin: 0 6px 0 0; transition: width .3s ease, background-color .3s ease; }
.hero .carousel-indicators .active { width: 56px; background: var(--lime); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 56px; height: 56px; top: auto; bottom: 22px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); opacity: 1; z-index: 3; }
.hero .carousel-control-prev { left: auto; right: 92px; }
.hero .carousel-control-next { right: 24px; }
.hero .carousel-control-prev:hover, .hero .carousel-control-next:hover { background: rgba(255,255,255,.25); }
.hero .carousel-control-prev i, .hero .carousel-control-next i { font-size: 1.3rem; color: #fff; }
@media (max-width: 767.98px) {
  .hero .carousel-item { height: auto; min-height: 560px; }
  .hero .carousel-item::after { background: linear-gradient(180deg, rgba(6,38,25,.55) 0%, rgba(6,38,25,.9) 70%); }
  .hero__content { min-height: 560px; align-items: flex-end; }
  .hero__box { padding: 90px 0 90px; }
  .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
  .hero__actions .btn-gdu-light, .hero__actions .btn-ghost-light { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Stats strip ---------- */
.stats-strip { position: relative; z-index: 5; margin-top: -46px; }
.stats-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 26px 30px; display: flex; align-items: center; gap: 1rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--green-700); }
.stat__label { color: var(--muted); font-size: .95rem; line-height: 1.35; }
@media (max-width: 767.98px) {
  .stats-strip { margin-top: -32px; }
  .stat { padding: 18px 14px; flex-direction: column; align-items: flex-start; gap: .35rem; }
  .stat__num { font-size: 1.7rem; }
  .stat__label { font-size: .8rem; }
}

/* ---------- About ---------- */
.about-media { position: relative; }
.about-media .carousel { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media .carousel-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-media::before { content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%; border-radius: var(--radius-lg); background: var(--lime); z-index: -1; opacity: .55; }
.about-media .carousel-control-prev, .about-media .carousel-control-next { width: 46px; height: 46px; top: auto; bottom: 16px; border-radius: 50%; background: rgba(6,38,25,.55); opacity: 1; }
.about-media .carousel-control-prev { left: auto; right: 70px; }
.about-media .carousel-control-next { right: 16px; }
.about-media .carousel-control-prev-icon, .about-media .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }

.about-text { font-size: 1.04rem; color: var(--ink-soft); }
.about-text a { font-weight: 500; text-decoration: underline; text-decoration-color: rgba(28,127,88,.35); text-underline-offset: 3px; }
.about-text a:hover { text-decoration-color: currentColor; }
.about-text ul { margin: .8rem 0 1rem; padding: 0; list-style: none; display: grid; gap: .45rem; }
.about-text ul li { position: relative; padding-left: 1.6rem; }
.about-text ul li::before { content: "\F138"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--green-600); }
.more-text { display: none; }
.more-text.show { display: inline; }
.read-more-btn { margin-top: .4rem; }

/* ---------- Arkan-Tartysh ---------- */
.arkan { background: #fff; }
.arkan__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.arkan__slider { position: relative; height: 600px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--green-900); }
.arkan__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 1.2s ease; }
.arkan__slide img { width: 100%; height: 100%; object-fit: cover; }
.arkan__slide.is-active { opacity: 1; transform: scale(1); }
.arkan__slider::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,38,25,.8), rgba(6,38,25,0) 55%); pointer-events: none; }
.arkan__caption { position: absolute; left: 32px; right: 32px; bottom: 32px; z-index: 3; color: #fff; }
.arkan__caption span { display: inline-block; padding: .35rem .9rem; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: .76rem; font-weight: 700; letter-spacing: .12em; margin-bottom: .8rem; }
.arkan__caption h3 { font-family: var(--font-display); color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); margin: 0; }
.arkan__nav { position: absolute; top: 24px; right: 24px; z-index: 4; display: flex; gap: .5rem; }
.arkan__nav button { width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--green-800); font-size: 1.1rem; display: grid; place-items: center; transition: background-color .2s ease, color .2s ease; }
.arkan__nav button:hover { background: var(--green-700); color: #fff; }
.arkan__badge { display: inline-flex; padding: .45rem 1rem; border-radius: 999px; background: var(--green-100); color: var(--green-700); font-weight: 600; font-size: .85rem; margin-bottom: 1.1rem; }
.arkan h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem); margin-bottom: 1.1rem; text-wrap: balance; }
.arkan__lead { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 1.8rem; }
.arkan__list { display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.arkan__item { display: flex; gap: 1rem; align-items: flex-start; }
.arkan__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font-size: 1.2rem; }
.arkan__item h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; }
.arkan__item p { margin: 0; color: var(--muted); font-size: .97rem; }
.arkan__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.arkan__stat { padding: 1.1rem 1rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.arkan__stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.arkan__stat strong { display: block; font-family: var(--font-display); color: var(--green-700); font-size: 1.7rem; line-height: 1.1; }
.arkan__stat span { color: var(--muted); font-size: .88rem; }
@media (max-width: 991.98px) {
  .arkan__grid { grid-template-columns: 1fr; gap: 36px; }
  .arkan__slider { height: 440px; }
}
@media (max-width: 575.98px) {
  .arkan__slider { height: 340px; }
  .arkan__caption { left: 20px; right: 20px; bottom: 20px; }
  .arkan__stat { padding: .9rem .7rem; }
  .arkan__stat strong { font-size: 1.3rem; }
  .arkan__stat span { font-size: .78rem; }
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991.98px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--green-100); overflow: hidden; }
.news-card__media .carousel, .news-card__media .carousel-inner, .news-card__media .carousel-item { height: 100%; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__media .carousel-indicators { margin-bottom: .5rem; }
.news-card__media .carousel-indicators [data-bs-target] { width: 7px; height: 7px; border-radius: 50%; border: 0; }
.news-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--green-600); font-size: 2.4rem; }
.news-card__body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-card__date { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted); margin-bottom: .55rem; }
.news-card__title { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; line-height: 1.35; margin: 0 0 .6rem; }
.news-card__title a { color: var(--ink); }
.news-card__title a:hover { color: var(--green-700); }
.news-card__excerpt { color: var(--muted); font-size: .96rem; margin-bottom: 1.1rem; white-space: pre-line; }
.news-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--green-700); }
.news-card__more i { transition: transform .2s ease; }
.news-card__more:hover i { transform: translateX(4px); }
.news-empty { text-align: center; color: var(--muted); padding: 2rem; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }

.news-feature { display: grid; grid-template-columns: 1fr 1.25fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.news-feature__img { min-height: 320px; }
.news-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.news-feature__body { padding: 2rem 2.2rem; max-height: 560px; overflow-y: auto; color: var(--ink-soft); }
.news-feature__body a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991.98px) { .news-feature { grid-template-columns: 1fr; } .news-feature__img { min-height: 240px; max-height: 320px; } .news-feature__body { max-height: none; padding: 1.5rem; } }

.pagination-gdu { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-top: 2.5rem; list-style: none; padding: 0; }
.pagination-gdu a, .pagination-gdu span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 .7rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 600; }
.pagination-gdu a:hover { border-color: var(--green-600); color: var(--green-700); }
.pagination-gdu .is-active span { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pagination-gdu .is-disabled span { opacity: .45; }

/* ---------- Universities ---------- */
.uni-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1199.98px) { .uni-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991.98px) { .uni-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .uni-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.uni-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; height: 100%; padding: 1.4rem 1rem 1.2rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.uni-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-100); color: var(--ink); }
.uni-card__logo { width: 100%; height: 96px; display: grid; place-items: center; }
.uni-card__logo img { max-height: 96px; max-width: 120px; object-fit: contain; }
.uni-card p { margin: 0; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.uni-card__go { margin-top: auto; font-size: .78rem; color: var(--green-600); display: inline-flex; gap: .3rem; align-items: center; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.uni-card:hover .uni-card__go { opacity: 1; transform: none; }
@media (hover: none) { .uni-card__go { opacity: 1; transform: none; } }

/* ---------- Documents ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 767.98px) { .doc-grid { grid-template-columns: 1fr; } }
.doc-card { position: relative; display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-100); }
.doc-card__icon { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fdecea; color: #c62828; font-size: 1.45rem; }
.doc-card__icon--xls { background: #e6f4ea; color: #1e7b45; }
.doc-card__body { min-width: 0; flex: 1; }
.doc-card__type { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.doc-card h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.4; margin: .15rem 0 0; }
.doc-card h3 a { color: var(--ink); }
.doc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.doc-card__arrow { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); transition: background-color .2s ease, color .2s ease; }
.doc-card:hover .doc-card__arrow { background: var(--green-700); color: #fff; }

/* ---------- Forum CTA band ---------- */
.forum-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--green-900); color: #fff; padding: 52px 56px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.forum-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(198,240,122,.35), rgba(198,240,122,0) 70%); }
.forum-band h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: .6rem; }
.forum-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 620px; }
.forum-band > * { position: relative; }
@media (max-width: 767.98px) { .forum-band { grid-template-columns: 1fr; padding: 36px 26px; } }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 1.6rem; height: 100%; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item > i { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font-size: 1.15rem; }
.contact-item h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin: 0 0 .15rem; }
.contact-item p { margin: 0; font-weight: 500; }
.contact-map { margin-top: auto; border-radius: var(--radius); overflow: hidden; }
.contact-map iframe { display: block; }
.contact-form { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 2rem; height: 100%; }
.form-label { font-weight: 600; font-size: .92rem; color: var(--ink-soft); margin-bottom: .4rem; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid var(--line); padding: .78rem 1rem; font-size: 1rem; background: #fbfcfa; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.form-control:focus { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(42,155,107,.15); background: #fff; }
.php-email-form .loading, .php-email-form .error-message, .php-email-form .sent-message { display: none; border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem; font-weight: 500; }
.php-email-form .error-message { background: #fdecea; color: var(--danger); }
.php-email-form .sent-message { background: var(--green-100); color: var(--green-800); }
.php-email-form .loading { background: var(--paper); text-align: center; }
.php-email-form .loading::before { content: ""; display: inline-block; width: 22px; height: 22px; margin: 0 10px -6px 0; border-radius: 50%; border: 3px solid var(--green-600); border-top-color: transparent; animation: gdu-spin 1s linear infinite; }
.php-email-form .d-block { display: block !important; }
@keyframes gdu-spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255,255,255,.72); padding-top: 72px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--lime); }
.site-footer__about { margin: 1rem 0 1.2rem; max-width: 380px; }
.social-links { display: flex; gap: .6rem; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); font-size: 1rem; }
.social-links a:hover { background: var(--lime); border-color: var(--lime); color: var(--green-950); }
.site-footer__bottom { margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; font-size: .88rem; }
.site-footer__bottom strong { color: #fff; }

.scroll-top { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; }
.scroll-top.active { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--green-900); color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--green-900); color: #fff; padding: 56px 0 64px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/herro.png") center / cover no-repeat; opacity: .18; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(198,240,122,.28), rgba(198,240,122,0) 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin: .6rem 0 .5rem; text-wrap: balance; word-break: break-word; }
.page-hero__sub { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .88rem; color: rgba(255,255,255,.65); }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--lime); }
.crumbs__sep { opacity: .5; }

/* ---------- Forum ---------- */
.forum-wrap { padding: 44px 0 90px; }
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 991.98px) { .forum-layout { grid-template-columns: 1fr; } .forum-aside { order: -1; } }
.forum-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.forum-panel + .forum-panel { margin-top: 1rem; }
.forum-panel h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin: 0 0 1rem; }
.forum-user { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.1rem; }
.forum-user__name { font-weight: 700; line-height: 1.2; word-break: break-word; }
.forum-user__hello { font-size: .85rem; color: var(--muted); }
.forum-actions { display: grid; gap: .6rem; }
.forum-actions .btn-gdu, .forum-actions .btn-gdu-outline { width: 100%; }
.forum-note { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.forum-stat { display: flex; align-items: baseline; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.forum-stat:last-child { border-bottom: 0; }
.forum-stat strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-700); }

.avatar { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); font-weight: 700; font-size: 1.05rem; }
.avatar--lg { width: 52px; height: 52px; font-size: 1.2rem; background: var(--green-700); color: #fff; }
.avatar--sm { width: 36px; height: 36px; font-size: .9rem; }

.forum-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.forum-toolbar h2 { font-size: 1.6rem; margin: 0; }
.forum-search { position: relative; flex: 1 1 240px; max-width: 340px; }
.forum-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.forum-search input { width: 100%; padding: .65rem 1rem .65rem 2.5rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .95rem; }
.forum-search input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(42,155,107,.15); }

.topic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.topic-item { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.topic-item:hover { border-color: var(--green-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.topic-item__main { min-width: 0; flex: 1; }
.topic-item__title { display: block; font-weight: 700; font-size: 1.06rem; color: var(--ink); line-height: 1.35; word-break: break-word; }
.topic-item__title::after { content: ""; position: absolute; inset: 0; }
.topic-item:hover .topic-item__title { color: var(--green-700); }
.topic-item__meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .85rem; color: var(--muted); margin-top: .25rem; }
.topic-item__meta i { margin-right: .25rem; }
.topic-item__count { flex: 0 0 auto; text-align: center; min-width: 64px; padding: .45rem .6rem; border-radius: 12px; background: var(--green-50); }
.topic-item__count strong { display: block; font-size: 1.1rem; color: var(--green-700); line-height: 1.1; }
.topic-item__count span { font-size: .72rem; color: var(--muted); }
.topic-empty { padding: 2.5rem 1.5rem; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.topic-empty i { display: block; font-size: 2.2rem; color: var(--green-600); margin-bottom: .6rem; }
@media (max-width: 575.98px) {
  .topic-item { padding: .9rem; gap: .75rem; }
  .topic-item .avatar { display: none; }
  .topic-item__count { min-width: 54px; }
}

.post { display: flex; gap: 1rem; padding: 1.3rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.post + .post { margin-top: 12px; }
.post--op { border-color: var(--green-100); background: linear-gradient(180deg, var(--green-50), #fff 60%); }
.post__body { min-width: 0; flex: 1; }
.post__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; margin-bottom: .45rem; }
.post__author { font-weight: 700; color: var(--green-800); }
.post__date { font-size: .82rem; color: var(--muted); }
.post__content { color: var(--ink-soft); word-wrap: break-word; overflow-wrap: anywhere; }
.post__content p:last-child { margin-bottom: 0; }
.posts-title { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; margin: 2rem 0 1rem; }
.posts-title .badge-count { font-family: var(--font-body); font-size: .85rem; font-weight: 700; background: var(--green-100); color: var(--green-700); padding: .15rem .6rem; border-radius: 999px; }

.reply-box { margin-top: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.reply-box h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 1rem; }
.reply-box textarea { min-height: 140px; resize: vertical; }
.reply-box .btn-gdu { margin-top: .9rem; }
.guest-box { margin-top: 1.8rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.guest-box i { font-size: 1.3rem; color: var(--green-700); }
.guest-box a { font-weight: 700; }

.alert-gdu { border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: 1.2rem; display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.alert-gdu ul { margin: 0; padding-left: 1.1rem; }
.alert-gdu--error { background: #fdecea; color: #9b2c22; border: 1px solid #f5c6c0; }
.alert-gdu--ok { background: var(--green-100); color: var(--green-800); border: 1px solid #bfe3cc; }

.auth-wrap { padding: 56px 0 96px; }
.auth-card { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow); }
.auth-card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font-size: 1.5rem; margin-bottom: 1.1rem; }
.auth-card h2 { font-size: 1.8rem; margin-bottom: .3rem; }
.auth-card__sub { color: var(--muted); margin-bottom: 1.6rem; }
.auth-card .form-control { margin-bottom: 1rem; }
.auth-card .btn-gdu { width: 100%; margin-top: .4rem; padding: .9rem; }
.auth-card__switch { text-align: center; margin: 1.3rem 0 0; color: var(--muted); font-size: .95rem; }
.auth-card__switch a { font-weight: 700; }
.pw-field { position: relative; }
.pw-field .form-control { padding-right: 3rem; }
.pw-toggle { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); border-radius: 10px; }
.pw-toggle:hover { color: var(--green-700); background: var(--green-50); }
@media (max-width: 575.98px) { .auth-card { padding: 1.5rem; } .auth-wrap { padding: 32px 0 64px; } }

.editor-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.editor-card textarea { min-height: 220px; resize: vertical; }
.editor-card__actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; margin-top: 1rem; }
@media (max-width: 575.98px) { .editor-card { padding: 1.3rem; } .editor-card__actions > * { flex: 1 1 auto; } }

/* ---------- Courses (cours.php) ---------- */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 767.98px) { .course-grid { grid-template-columns: 1fr; } }
.course-card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s ease, transform .2s ease; }
.course-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.course-card__icon { flex: 0 0 50px; height: 50px; border-radius: 14px; background: #fdecea; color: #c62828; display: grid; place-items: center; font-size: 1.4rem; }
.course-card__title { flex: 1; min-width: 0; font-weight: 600; line-height: 1.4; word-break: break-word; }
.course-card__btns { display: flex; gap: .45rem; flex-shrink: 0; }
.course-card__btns a { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .85rem; border-radius: 999px; font-size: .86rem; font-weight: 600; }
.course-card__btns .is-read { background: var(--green-700); color: #fff; }
.course-card__btns .is-read:hover { background: var(--green-900); }
.course-card__btns .is-dl { background: var(--green-50); color: var(--green-800); }
.course-card__btns .is-dl:hover { background: var(--green-100); }
@media (max-width: 575.98px) {
  .course-card { flex-wrap: wrap; }
  .course-card__btns { width: 100%; }
  .course-card__btns a { flex: 1; justify-content: center; }
}

/* ---------- Article (news_item.php) ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article__meta { color: var(--muted); display: inline-flex; gap: .45rem; align-items: center; margin-bottom: 1.4rem; }
.article__gallery { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; background: var(--green-950); box-shadow: var(--shadow); }
.article__gallery img { width: 100%; max-height: 520px; object-fit: contain; }
.article__content { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.8; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .article__content { padding: 1.3rem; font-size: 1rem; } }

/* ---------- Misc ---------- */
.text-balance { text-wrap: balance; }
[data-aos] { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Hero overlay (текст сүрөттөрдүн үстүндө) */
.hero__overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__overlay .hero__box { pointer-events: auto; }
.hero__content { height: 100%; }
.hero .carousel-indicators { z-index: 3; }
.section--tight-top { padding-top: 0; }
.section--white + .section--tight-top, .section--tint + .section--tight-top { padding-top: 96px; }

/* --- Тууралоолор: узун меню (KG/RU) жана герой --- */
html { overflow-x: hidden; }
.navbar-main .container { max-width: 1400px; }
@media (min-width: 1400px) {
  .navmenu a { padding: .5rem .62rem; font-size: .88rem; }
}
@media (min-width: 1400px) and (max-width: 1459.98px) {
  .navbar-main .brand__tag { display: none; }
}
@media (max-width: 1399.98px) {
  .navmenu { visibility: hidden; transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s linear .32s; }
  body.nav-open .navmenu { visibility: visible; transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s; }
}
.hero h1, .hero .hero__title { font-size: clamp(1.9rem, 1.1rem + 2.5vw, 3.15rem); }
.hero__box { padding: 40px 0 120px; }
.hero .carousel-indicators { bottom: 72px; z-index: 4; }
.hero .carousel-control-prev, .hero .carousel-control-next { bottom: 62px; }
@media (max-width: 767.98px) {
  .hero__box { padding: 80px 0 96px; }
  .hero .carousel-indicators { bottom: 52px; }
}

/* Герой: сүрөттөр фондо, текст агымда — мобилдикте текст кесилбейт */
.hero #hero-carousel { position: absolute; inset: 0; }
.hero #hero-carousel .carousel-inner, .hero #hero-carousel .carousel-item { height: 100%; min-height: 0; }
.hero__overlay { position: relative; inset: auto; min-height: clamp(560px, 78vh, 760px); display: flex; }
.hero__overlay .hero__content { min-height: 100%; width: 100%; }
@media (max-width: 767.98px) {
  .hero__overlay { min-height: 0; }
  .hero__content { min-height: 0; align-items: flex-end; }
  .hero__box { padding: 56px 0 100px; }
}

/* =========================================================
   Жаңылыктардын слайдери жана «Курсы» бөлүмү (админден)
   ========================================================= */
.gdu-slider { position: relative; height: 100%; }
.gdu-slider .carousel-inner, .gdu-slider .carousel-item { height: 100%; }
.gdu-slider__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gdu-slider .carousel-control-prev, .gdu-slider .carousel-control-next {
  width: 38px; height: 38px; top: 50%; bottom: auto; transform: translateY(-50%);
  margin: 0 .55rem; border-radius: 50%; background: rgba(6,38,25,.55); color: #fff;
  opacity: 0; transition: opacity .2s ease, background-color .2s ease; font-size: 1rem; z-index: 3;
}
.gdu-slider .carousel-control-prev:hover, .gdu-slider .carousel-control-next:hover { background: rgba(6,38,25,.85); }
.gdu-slider:hover .carousel-control-prev, .gdu-slider:hover .carousel-control-next,
.gdu-slider:focus-within .carousel-control-prev, .gdu-slider:focus-within .carousel-control-next { opacity: 1; }
@media (hover: none) { .gdu-slider .carousel-control-prev, .gdu-slider .carousel-control-next { opacity: .9; } }
.gdu-slider .carousel-indicators { margin-bottom: .55rem; z-index: 3; }
.gdu-slider .carousel-indicators [data-bs-target] { width: 7px; height: 7px; border-radius: 50%; border: 0; margin: 0 3px; }
.gdu-slider .carousel-indicators .active { background: var(--lime); }
.gdu-slider__count {
  position: absolute; top: .65rem; right: .65rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(6,38,25,.65); color: #fff; font-size: .76rem; font-weight: 600;
  padding: .2rem .55rem; border-radius: 999px; backdrop-filter: blur(4px);
}

/* Жаңылыктын барагындагы чоң слайдер */
.article__gallery-wrap { margin-bottom: 2rem; }
.gdu-slider--page { height: auto; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-950); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.gdu-slider--page .carousel-inner, .gdu-slider--page .carousel-item { height: 100%; position: relative; }
.gdu-slider--page .gdu-slider__bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(22px) brightness(.55); }
.gdu-slider--page .gdu-slider__img { position: relative; object-fit: contain; }
.gdu-slider--page .carousel-control-prev, .gdu-slider--page .carousel-control-next { width: 46px; height: 46px; font-size: 1.2rem; opacity: .85; }
@media (max-width: 575.98px) { .gdu-slider--page { aspect-ratio: 4 / 3; border-radius: var(--radius); } }
.gdu-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .7rem 0 .2rem; scrollbar-width: thin; }
.gdu-thumbs__btn { flex: 0 0 auto; width: 92px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--green-100); opacity: .6; transition: opacity .2s ease, border-color .2s ease; cursor: pointer; }
.gdu-thumbs__btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gdu-thumbs__btn:hover { opacity: .9; }
.gdu-thumbs__btn.active { opacity: 1; border-color: var(--green-600); }
.article__lead { font-size: 1.15rem; font-weight: 500; color: var(--ink); line-height: 1.65; margin: 0 0 1.4rem; padding-left: 1rem; border-left: 4px solid var(--lime-700); }
.article__content a { text-decoration: underline; text-underline-offset: 3px; }

/* Курстардын тизмеси */
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991.98px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .cs-grid { grid-template-columns: 1fr; } }
.cs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.cs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cs-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--green-800), var(--green-600)); overflow: hidden; }
.cs-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cs-card:hover .cs-card__media img { transform: scale(1.04); }
.cs-card__ph { display: grid; place-items: center; height: 100%; color: var(--lime); font-size: 3rem; }
.cs-card__badge { position: absolute; left: .7rem; bottom: .7rem; display: inline-flex; align-items: center; gap: .3rem; background: #fff; color: #c62828; font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.cs-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.cs-card__title { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; line-height: 1.35; margin: 0 0 .5rem; }
.cs-card__title a { color: var(--ink); }
.cs-card__title a:hover { color: var(--green-700); }
.cs-card__text { color: var(--muted); font-size: .94rem; margin: 0 0 1rem; }
.cs-card__btns { margin-top: auto; display: flex; gap: .5rem; align-items: center; }
.cs-card__btns a { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.cs-card__btns .is-more { flex: 1; padding: .6rem 1rem; background: var(--green-700); color: #fff; }
.cs-card__btns .is-more:hover { background: var(--green-900); }
.cs-card__btns .is-dl { width: 42px; height: 42px; background: var(--green-50); color: var(--green-800); font-size: 1.05rem; }
.cs-card__btns .is-dl:hover { background: var(--green-100); }

/* Курстун барагы */
.course-page { max-width: 1000px; margin: 0 auto; }
.course-page__grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; margin-bottom: 2rem; }
.course-page__grid.is-noimg { grid-template-columns: 1fr; }
.course-page__cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.course-page__cover img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 767.98px) { .course-page__grid { grid-template-columns: 1fr; } }
.pdf-view { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.pdf-view__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); font-weight: 600; }
.pdf-view__head span { display: inline-flex; align-items: center; gap: .45rem; min-width: 0; overflow-wrap: anywhere; }
.pdf-view__head span i { color: #c62828; font-size: 1.2rem; }
.pdf-view__head a { font-size: .9rem; color: var(--green-700); white-space: nowrap; }
.pdf-view iframe { display: block; width: 100%; height: min(80vh, 900px); border: 0; background: #525659; }
.pdf-view__fallback { margin: 0; padding: .6rem 1.2rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 767.98px) { .pdf-view iframe { height: 70vh; } }
