/* TDYU 35 — yubiley sahifasi (v1). Konteyner: general_page ichida, to'liq kenglikka chiqadi. */
#t35 {
  --t35-navy: #0e2350;
  --t35-navy-2: #17335f;
  --t35-navy-3: #0a1a3d;
  --t35-gold: #c9a227;
  --t35-gold-2: #e0c063;
  --t35-ink: #1b2440;
  --t35-muted: #6b7591;
  --t35-line: #e4e8f1;
  --t35-bg: #f5f7fb;
  --t35-card: #ffffff;
  --t35-serif: "Georgia", "Times New Roman", "PT Serif", serif;
  --t35-sans: "Inter", "Roboto", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --t35-r: 14px;
  font-family: var(--t35-sans) !important;
  color: var(--t35-ink);
  text-align: left !important;
  line-height: 1.55;
  background: var(--t35-bg);
  /* general_page ustuni to'liq kenglikka ochiladi (pastdagi body.t35-page qoidalari bilan) */
  /* konteyner to'liq kenglikka ochiladi (pastdagi body.t35-page qoidalari), blok esa uni to'ldiradi */
  width: auto;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}
#t35 *, #t35 *::before, #t35 *::after { box-sizing: border-box; }
#t35 div, #t35 p, #t35 span, #t35 a, #t35 h1, #t35 h2, #t35 h3, #t35 h4, #t35 li, #t35 button {
  font-family: inherit !important;
  text-align: inherit !important;
}
#t35 p, #t35 p span { font-size: inherit !important; }
#t35 h1, #t35 h2, #t35 h3, #t35 h4 { margin: 0; line-height: 1.2; color: inherit; font-family: var(--t35-serif) !important; }
#t35 a { text-decoration: none !important; color: inherit; }
#t35 img { max-width: 100%; display: block; }
#t35 svg { flex: none; }
#t35 .t35-wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1600px) { #t35 .t35-wrap { max-width: 1520px; } }

/* sahifa ichida chap menyu va ortiqcha bo'shliqni yashirish */
body.t35-page .left_menu_of_page, body.t35-page .general .col-xl-3, body.t35-page .general .col-lg-3 { display: none !important; }
body.t35-page .general .col-xl-9, body.t35-page .general .col-lg-9 { flex: 0 0 100% !important; max-width: 100% !important; }
body.t35-page .general .container { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
body.t35-page .general .row { margin-left: 0 !important; margin-right: 0 !important; }
body.t35-page .general [class*="col-"] { padding-left: 0 !important; padding-right: 0 !important; }
body.t35-page .general .col-xl-9, body.t35-page .general .col-lg-9 { margin-top: 0 !important; }
body.t35-page .general { padding: 0 !important; margin: 15px 0 0 !important; }
body.t35-page .general > .container > .row { padding-bottom: 0 !important; }
body.t35-page .general_content { margin-bottom: 0 !important; }
body.t35-page footer { margin-top: 0 !important; }
#t35 { margin-bottom: 0 !important; }
body.t35-page .general_content { padding: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; }
body.t35-page .content-from-editor { padding: 0 !important; margin: 0 !important; }

/* ---------------- HERO ---------------- */
#t35 .t35-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: var(--t35-navy);
}
#t35 .t35-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 26, 61, .92) 0%, rgba(14, 35, 80, .78) 45%, rgba(14, 35, 80, .35) 100%);
}
#t35 .t35-hero .t35-wrap { position: relative; z-index: 2; width: 100%; padding-top: 56px; padding-bottom: 96px; }
#t35 .t35-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; }
#t35 .t35-years {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--t35-serif) !important; font-size: 15px; letter-spacing: .18em; color: var(--t35-gold-2);
}
#t35 .t35-years::before { content: ""; width: 34px; height: 1px; background: var(--t35-gold); }
#t35 .t35-hero h1 {
  font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; color: #fff; margin: 14px 0 14px !important;
  letter-spacing: -.01em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
#t35 .t35-hero-lead { font-size: 17px !important; color: rgba(255, 255, 255, .85); max-width: 620px; margin: 0; }
#t35 .t35-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; cursor: pointer;
  background: linear-gradient(135deg, var(--t35-gold), #b28d1c); color: #14213f !important;
  font-weight: 700; font-size: 15px; padding: 13px 26px; border: 0; border-radius: 10px;
  transition: transform .15s, box-shadow .15s;
}
#t35 .t35-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 162, 39, .35); }
#t35 .t35-btn-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, .45); }
#t35 .t35-btn-ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
#t35 .t35-emblem { text-align: center !important; }
#t35 .t35-emblem-num {
  font-family: var(--t35-serif) !important; font-size: clamp(90px, 13vw, 168px); font-weight: 700; line-height: .9;
  background: linear-gradient(160deg, #f0dc9a, var(--t35-gold) 55%, #9d7a12);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
}
#t35 .t35-emblem-sub { font-family: var(--t35-serif) !important; font-size: 26px; color: var(--t35-gold-2); letter-spacing: .12em; margin-top: -6px; }
#t35 .t35-emblem-motto { margin-top: 16px; font-size: 12.5px; letter-spacing: .28em; color: rgba(255, 255, 255, .75); text-transform: uppercase; line-height: 2; }
#t35 .t35-quote {
  margin-top: 22px; padding-left: 16px; border-left: 2px solid var(--t35-gold);
  font-family: var(--t35-serif) !important; font-style: italic; font-size: 15px; color: rgba(255, 255, 255, .88);
}

/* ---------------- QUICK CARDS ---------------- */
#t35 .t35-quick { position: relative; z-index: 3; margin-top: -64px; }
#t35 .t35-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
#t35 .t35-qcard {
  display: flex; align-items: center; gap: 14px; background: var(--t35-card); border: 1px solid var(--t35-line);
  border-radius: var(--t35-r); padding: 18px 18px; box-shadow: 0 14px 34px rgba(14, 35, 80, .08);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
#t35 .t35-qcard:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(14, 35, 80, .14); border-color: #cfd8ea; }
#t35 .t35-qicon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #f2f5fc; color: var(--t35-navy); }
#t35 .t35-qcard:nth-child(2) .t35-qicon, #t35 .t35-qcard:nth-child(4) .t35-qicon { background: #fbf4e2; color: #9d7a12; }
#t35 .t35-qbody { flex: 1; min-width: 0; }
#t35 .t35-qbody b { display: block; font-family: var(--t35-serif) !important; font-size: 17px; color: var(--t35-navy); }
#t35 .t35-qbody span { font-size: 13px; color: var(--t35-muted); display: block; margin-top: 3px; line-height: 1.4; }
#t35 .t35-qarrow { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #eef2fa; color: var(--t35-navy); }
#t35 .t35-qcard:nth-child(2) .t35-qarrow, #t35 .t35-qcard:nth-child(4) .t35-qarrow { background: #fbf0d5; color: #9d7a12; }

/* ---------------- SECTIONS ---------------- */
#t35 .t35-main { padding: 54px 0 40px; }
#t35 .t35-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; }
#t35 .t35-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
#t35 .t35-head h2 { font-size: 25px; color: var(--t35-navy); }
#t35 .t35-all { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--t35-navy) !important; }
#t35 .t35-all:hover { color: var(--t35-gold) !important; }

/* news */
#t35 .t35-news-main { display: block; background: var(--t35-card); border: 1px solid var(--t35-line); border-radius: var(--t35-r); overflow: hidden; transition: box-shadow .2s, transform .2s; }
#t35 .t35-news-main:hover { box-shadow: 0 16px 36px rgba(14, 35, 80, .12); transform: translateY(-3px); }
#t35 .t35-news-main .t35-thumb { aspect-ratio: 16 / 9; background: #dbe2f0 center/cover; }
#t35 .t35-news-body { padding: 16px 18px 18px; }
#t35 .t35-date { font-size: 12.5px; color: var(--t35-muted); }
#t35 .t35-news-main h3 { font-size: 18px; color: var(--t35-navy); margin: 7px 0 8px !important; }
#t35 .t35-news-main p { font-size: 13.5px !important; color: var(--t35-muted); margin: 0 0 12px; }
#t35 .t35-more { font-size: 13.5px; font-weight: 600; color: var(--t35-navy) !important; border-bottom: 1px solid var(--t35-gold); padding-bottom: 2px; }
#t35 .t35-news-item {
  display: flex; align-items: center; gap: 14px; background: var(--t35-card); border: 1px solid var(--t35-line);
  border-radius: 12px; padding: 12px; margin-top: 14px; transition: border-color .18s, transform .18s;
}
#t35 .t35-news-item:hover { border-color: #cfd8ea; transform: translateX(3px); }
#t35 .t35-news-item .t35-thumb-sm { width: 86px; height: 62px; border-radius: 9px; background: #dbe2f0 center/cover; flex: none; }
#t35 .t35-news-item b { display: block; font-family: var(--t35-serif) !important; font-size: 15px; color: var(--t35-navy); line-height: 1.35; margin-top: 4px; }
#t35 .t35-news-item .t35-qarrow { flex: none; }

/* media */
#t35 .t35-media-big { display: block; position: relative; border-radius: var(--t35-r); overflow: hidden; aspect-ratio: 16 / 9; background: #cbd6e8 center/cover; }
#t35 .t35-media-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
#t35 .t35-media-sm { display: block; position: relative; border-radius: var(--t35-r); overflow: hidden; aspect-ratio: 4 / 3; background: #cbd6e8 center/cover; }
#t35 .t35-media-big::after, #t35 .t35-media-sm::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 61, 0) 35%, rgba(10, 26, 61, .82) 100%);
}
#t35 .t35-media-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; }
#t35 .t35-media-cap b { font-family: var(--t35-serif) !important; font-size: 17px; display: block; }
#t35 .t35-media-cap span { font-size: 12.5px; color: rgba(255, 255, 255, .8); }
#t35 .t35-media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
#t35 .t35-media-th {
  display: block; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: #cbd6e8 center/cover;
  transition: transform .18s, box-shadow .18s; border: 1px solid var(--t35-line);
}
#t35 .t35-media-th:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 22px rgba(14, 35, 80, .16); }
#t35 .t35-play {
  position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--t35-navy); display: grid; place-items: center;
}

/* rectors — alohida to'liq kenglikdagi bo'lim */
#t35 .t35-rect-sec { margin-top: 46px; }
#t35 .t35-rect-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 18px; }
#t35 .t35-rect-card {
  display: block; background: var(--t35-card); border: 1px solid var(--t35-line); border-radius: var(--t35-r);
  overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s;
}
#t35 .t35-rect-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(14, 35, 80, .13); border-color: #cfd8ea; }
#t35 .t35-rect-photo {
  display: block; position: relative; aspect-ratio: 3 / 4; background: #dbe2f0 center/cover;
  border-bottom: 3px solid var(--t35-gold);
}
#t35 .t35-rect-period {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  background: rgba(10, 26, 61, .86); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em;
  border-radius: 999px; padding: 4px 11px; backdrop-filter: blur(3px);
}
#t35 .t35-rect-body { display: block; padding: 13px 14px 15px; }
#t35 .t35-rect-body b { display: block; font-family: var(--t35-serif) !important; font-size: 15.5px; color: var(--t35-navy); line-height: 1.3; }
#t35 .t35-rect-body span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--t35-muted); line-height: 1.45; }

/* (eski timeline uslublari - boshqa joyda ishlatilishi mumkin) */
#t35 .t35-rectors { position: relative; padding-left: 4px; }
#t35 .t35-rector {
  display: grid; grid-template-columns: 82px 1fr 54px; gap: 12px; align-items: center;
  background: var(--t35-card); border: 1px solid var(--t35-line); border-radius: 12px; padding: 12px; margin-bottom: 12px;
  position: relative; transition: border-color .18s, box-shadow .18s;
}
#t35 .t35-rector:hover { border-color: #cfd8ea; box-shadow: 0 10px 24px rgba(14, 35, 80, .08); }
#t35 .t35-period { font-size: 12.5px; font-weight: 700; color: var(--t35-muted); position: relative; padding-left: 16px; }
#t35 .t35-period::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--t35-gold); box-shadow: 0 0 0 3px #fbf0d5;
}
#t35 .t35-rector b { display: block; font-family: var(--t35-serif) !important; font-size: 15px; color: var(--t35-navy); }
#t35 .t35-rector span { font-size: 12.5px; color: var(--t35-muted); display: block; margin-top: 2px; line-height: 1.4; }
#t35 .t35-portrait { width: 54px; height: 62px; border-radius: 9px; background: #dbe2f0 center/cover; }

/* conference band */
#t35 .t35-conf { background: linear-gradient(135deg, var(--t35-navy-3), var(--t35-navy-2)); color: #fff; padding: 46px 0; margin-top: 12px; }
#t35 .t35-conf-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 30px; align-items: center; }
#t35 .t35-conf h2 { font-size: 28px; color: #fff; }
#t35 .t35-conf p { font-size: 15px !important; color: rgba(255, 255, 255, .82); margin: 12px 0 0; }
#t35 .t35-conf-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
#t35 .t35-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 7px 14px; }

/* footer strip */
#t35 .t35-strip { background: var(--t35-navy-3); color: rgba(255, 255, 255, .82); padding: 22px 0; }
#t35 .t35-strip .t35-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
#t35 .t35-strip-motto { font-family: var(--t35-serif) !important; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; color: var(--t35-gold-2); }
#t35 .t35-socials { display: flex; gap: 10px; }
#t35 .t35-socials a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff !important; transition: background .15s; }
#t35 .t35-socials a:hover { background: var(--t35-gold); color: #14213f !important; }

#t35 .t35-empty { padding: 26px; text-align: center !important; color: var(--t35-muted); border: 1px dashed var(--t35-line); border-radius: 12px; background: #fff; font-size: 13.5px; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1100px) {
  #t35 .t35-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #t35 .t35-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #t35 .t35-rect-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (max-width: 767px) {
  #t35 .t35-wrap { padding: 0 16px; }
  #t35 .t35-hero { min-height: 0; }
  #t35 .t35-hero .t35-wrap { padding-top: 34px; padding-bottom: 80px; }
  #t35 .t35-hero-grid, #t35 .t35-conf-grid { grid-template-columns: 1fr; }
  #t35 .t35-emblem { display: none; }
  #t35 .t35-cols { grid-template-columns: 1fr; gap: 30px; }
  #t35 .t35-quick-grid { grid-template-columns: 1fr; }
  #t35 .t35-quick { margin-top: -56px; }
  #t35 .t35-media-row { grid-template-columns: 1fr; }
  #t35 .t35-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #t35 .t35-rect-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #t35 .t35-rect-body { padding: 10px 11px 12px; }
  #t35 .t35-rect-body b { font-size: 14px; }
  #t35 .t35-strip .t35-wrap { justify-content: center; text-align: center !important; }
}

/* ===== TDYU: kecha va bugun (tarix) ===== */
#t35 .t35-hist { margin-top: 46px; }
#t35 .t35-hist-body {
  background: var(--t35-card);
  border: 1px solid var(--t35-line);
  border-radius: 18px;
  padding: 30px 34px 26px;
  position: relative;
  box-shadow: 0 10px 30px -18px rgba(14, 35, 80, .35);
}
#t35 .t35-hist-body::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px;
  border-radius: 4px; background: linear-gradient(var(--t35-gold), var(--t35-gold-2));
}
#t35 .t35-hist-body p {
  font-family: var(--t35-serif);
  font-size: 16.5px; line-height: 1.85; color: #24304f;
  margin: 0 0 15px; text-align: justify;
}
#t35 .t35-hist-body p:last-child { margin-bottom: 0; }
#t35 .t35-hist-lead {
  font-size: 18px !important; font-weight: 600; color: var(--t35-navy) !important;
  font-family: var(--t35-sans) !important; text-align: left !important;
}
#t35 .t35-hist-rest[hidden] { display: none; }
#t35 .t35-hist-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 11px 22px;
  font: 600 14px/1 var(--t35-sans); color: #fff; cursor: pointer;
  background: linear-gradient(135deg, var(--t35-navy), var(--t35-navy-2));
  border: 0; border-radius: 40px; transition: transform .15s, box-shadow .15s;
}
#t35 .t35-hist-toggle:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(14, 35, 80, .6); }
#t35 .t35-hist-toggle svg { transition: transform .2s; }
#t35 .t35-hist-toggle.is-open svg { transform: rotate(90deg); }

@media (max-width: 767px) {
  #t35 .t35-hist { margin-top: 34px; }
  #t35 .t35-hist-body { padding: 22px 18px 20px; border-radius: 14px; }
  #t35 .t35-hist-body p { font-size: 15.5px; line-height: 1.8; text-align: left; }
  #t35 .t35-hist-lead { font-size: 16.5px !important; }
}
