/* ETSİM — inner page components (loaded after style.css) */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 44px 0 52px;
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(42, 140, 205, .45), transparent 70%),
    linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-dark) 55%, var(--brand) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image: radial-gradient(rgba(255, 255, 255, .45) 1px, transparent 1px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(250deg, #000, transparent 60%); mask-image: linear-gradient(250deg, #000, transparent 60%);
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #a9c6dc; margin-bottom: 18px; }
.breadcrumb a { color: #cfe3f2; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: 13px; height: 13px; opacity: .6; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }
.page-hero__eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fd0f2;
  padding-left: 12px; border-left: 3px solid var(--accent); margin-bottom: 12px;
}
.page-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -.01em; max-width: 820px; }
.page-hero__lead { color: #cfe0ec; font-size: 17px; max-width: 720px; margin-top: 12px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; color: #cfe0ec; font-size: 14px; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-hero__meta .icon { width: 16px; height: 16px; color: #9fd0f2; }

/* ---------- Layout with sidebar ---------- */
.page-body { padding: 56px 0 80px; }
.page-layout { display: grid; grid-template-columns: 270px 1fr; gap: 48px; align-items: start; }
.page-layout > * { min-width: 0; }
.page-layout--right { grid-template-columns: 1fr 320px; }
.side-nav {
  position: sticky; top: 84px; padding: 10px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line);
}
.side-nav__title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 8px; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 10px;
  color: var(--ink); font-size: 15px; font-weight: 500; transition: background-color .15s, color .15s;
}
.side-nav a .icon { width: 16px; height: 16px; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .2s; }
.side-nav a:hover { background: #fff; color: var(--brand); }
.side-nav a:hover .icon { opacity: 1; transform: none; }
.side-nav a[aria-current="page"] { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(20, 97, 149, .7); }
.side-nav a[aria-current="page"] .icon { opacity: 1; transform: none; }

.content-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.content-head h2 { font-size: 24px; color: var(--brand-deep); }
.count-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--brand-light); color: var(--brand); font-size: 13px; font-weight: 700; }

/* ---------- Prose ---------- */
.prose { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 24px; color: var(--brand-deep); margin-top: 1.8em; }
.prose h3 { font-size: 19px; color: var(--brand-deep); margin-top: 1.5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.lead-box {
  padding: 24px 28px; border-radius: 16px; background: var(--brand-light); color: var(--brand-deep);
  font-size: 18px; line-height: 1.6; font-weight: 500; border-left: 4px solid var(--brand);
}

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s, box-shadow .25s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
a.card { display: block; color: var(--ink); }
a.card:hover { border-color: #b9cfe0; box-shadow: 0 18px 36px -20px rgba(8, 44, 70, .35); transform: translateY(-3px); color: var(--ink); }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(140deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 8px 18px -8px rgba(20, 97, 149, .7);
}
.card__icon .icon { width: 24px; height: 24px; }
.card h3 { font-size: 18px; color: var(--brand-deep); margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card--dark {
  color: #fff; border: 0;
  background: radial-gradient(400px 220px at 100% 0%, rgba(42, 140, 205, .45), transparent 70%), linear-gradient(160deg, var(--brand-dark), var(--brand-deep));
}
.card--dark h3 { color: #fff; }
.card--dark p { color: #cfe0ec; }
.card--dark .card__icon { background: rgba(255, 255, 255, .14); box-shadow: none; }

.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); font-size: 15px; color: var(--ink); }
.check-list .icon { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--accent-green); color: #fff; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 22px; margin: 0; padding-left: 34px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), var(--line)); }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -31px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--brand); box-shadow: 0 0 0 4px var(--brand-light);
}
.timeline__year { display: inline-block; font-size: 14px; font-weight: 800; color: var(--brand); background: var(--brand-light); padding: 2px 10px; border-radius: 999px; }
.timeline p { margin-top: 8px; color: var(--ink-soft); }

/* ---------- Org chart ---------- */
.org { display: grid; justify-items: center; gap: 0; }
.org__node {
  display: flex; align-items: center; gap: 14px; width: 100%; max-width: 340px; padding: 16px 18px; text-align: left;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit;
  transition: border-color .2s, box-shadow .25s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.org__node:hover { border-color: var(--brand); box-shadow: 0 16px 30px -18px rgba(8, 44, 70, .45); transform: translateY(-2px); }
.org__node .card__icon { width: 44px; height: 44px; margin: 0; flex: none; border-radius: 12px; }
.org__node .card__icon .icon { width: 20px; height: 20px; }
.org__role { display: block; font-weight: 700; color: var(--brand-deep); font-size: 15px; line-height: 1.35; }
.org__name { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.org__node--top { max-width: 380px; background: linear-gradient(160deg, var(--brand-dark), var(--brand-deep)); border: 0; color: #fff; }
.org__node--top .org__role { color: #fff; font-size: 17px; }
.org__node--top .org__name { color: #bcd2e3; }
.org__node--top .card__icon { background: rgba(255, 255, 255, .15); box-shadow: none; }
.org__line { width: 2px; height: 28px; background: var(--line); }
.org__units {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; padding-top: 28px;
}
.org__units::before { content: ""; position: absolute; top: 0; left: 16.6%; right: 16.6%; height: 2px; background: var(--line); }
.org__units .org__node { max-width: none; height: 100%; }
.org__units .org__node::before { content: ""; position: absolute; }

.person-dialog {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 20px;
  box-shadow: 0 40px 90px -20px rgba(8, 44, 70, .55);
}
.person-dialog[open] { animation: panel-in .25s ease-out; }
.person-dialog::backdrop { background: rgba(8, 28, 45, .6); backdrop-filter: blur(3px); }
.person-dialog__head { position: relative; display: flex; align-items: center; gap: 16px; padding: 26px 28px; color: #fff; background: linear-gradient(140deg, var(--brand-dark), var(--brand-deep)); }
.person-dialog__avatar { width: 58px; height: 58px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .15); }
.person-dialog__avatar .icon { width: 28px; height: 28px; }
.person-dialog__unit { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fd0f2; }
.person-dialog__name { font-size: 20px; margin-top: 4px; }
.person-dialog__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.person-dialog__close:hover { background: rgba(255, 255, 255, .25); }
.person-dialog__body { padding: 24px 28px 28px; }
.person-dialog__contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.person-dialog__contacts a, .person-dialog__contacts span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--brand-light); color: var(--brand-deep); font-size: 14px; font-weight: 600;
}
.person-dialog__contacts .icon { width: 16px; height: 16px; color: var(--brand); }
.person-dialog__body .prose { font-size: 15.5px; }
.person-dialog__empty { color: var(--muted); font-style: italic; }

/* ---------- Partner logos ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--ink);
  transition: border-color .2s, box-shadow .25s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.partner:hover { color: var(--ink); border-color: #b9cfe0; transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(8, 44, 70, .35); }
.partner__logo { display: grid; place-items: center; height: 150px; padding: 24px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.partner__logo img { max-height: 100px; max-width: 80%; object-fit: contain; filter: grayscale(.25); transition: filter .25s, transform .3s; }
.partner:hover .partner__logo img { filter: none; transform: scale(1.05); }
.partner__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 18px 20px; }
.partner__name { font-weight: 600; font-size: 15px; line-height: 1.45; }
.partner__url { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--brand); font-weight: 600; }
.partner__url .icon { width: 13px; height: 13px; }

/* ---------- Article list (research) ---------- */
.article-list { display: grid; gap: 18px; }
.article-item {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s, box-shadow .25s;
}
.article-item:hover { border-color: #b9cfe0; box-shadow: 0 18px 36px -24px rgba(8, 44, 70, .4); }
.article-item__num {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--brand);
  background: var(--brand-light);
}
.article-item h3 { font-size: 17px; line-height: 1.4; color: var(--brand-deep); text-transform: none; }
.article-item p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-item .btn-row { margin-top: 16px; }

.btn--light { background: var(--brand-light); color: var(--brand-deep); }
.btn--light:hover { background: var(--brand); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }

.file-badge {
  display: inline-grid; place-items: center; width: 46px; height: 54px; flex: none; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  color: #fff; background: #d6202a; position: relative; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
}
.file-badge--ppt, .file-badge--pptx { background: #d24726; }
.file-badge--doc, .file-badge--docx { background: #2b579a; }
.file-badge--xls, .file-badge--xlsx { background: #217346; }
.doc-rows { display: grid; gap: 12px; }
.doc-row {
  display: flex; align-items: center; gap: 18px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink);
  transition: border-color .2s, box-shadow .25s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.doc-row:hover { color: var(--ink); border-color: var(--brand); transform: translateX(4px); box-shadow: 0 12px 26px -18px rgba(8, 44, 70, .45); }
.doc-row__title { flex: 1; font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.doc-row__action { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 14px; font-weight: 700; white-space: nowrap; }
.doc-row__action .icon { width: 17px; height: 17px; }

/* ---------- Publications ---------- */
.journal {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 32px; border-radius: 20px; margin-bottom: 40px; color: #fff;
  background: radial-gradient(500px 260px at 100% 0%, rgba(42, 140, 205, .45), transparent 70%), linear-gradient(150deg, var(--brand-dark), var(--brand-deep));
}
.journal h2 { font-size: 26px; }
.journal .prose { color: #cfe0ec; font-size: 15.5px; margin-top: 12px; }
.journal .prose a { color: #fff; }
.journal__facts { display: grid; gap: 12px; min-width: 220px; }
.journal__fact { padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.journal__fact strong { display: block; font-size: 20px; }
.journal__fact span { font-size: 13px; color: #bcd2e3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; padding: 7px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pub {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: border-color .2s, box-shadow .25s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.pub:hover { border-color: #b9cfe0; transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(8, 44, 70, .45); }
.pub__cover { position: relative; display: grid; place-items: center; padding: 22px 0; background: linear-gradient(160deg, var(--bg-soft), var(--brand-light)); perspective: 600px; }
.pub__cover img {
  width: 128px; aspect-ratio: 154 / 218; object-fit: cover; border-radius: 3px 8px 8px 3px;
  box-shadow: -6px 0 0 -2px rgba(0, 0, 0, .12) inset, 12px 14px 24px -10px rgba(8, 44, 70, .55);
  transform: rotateY(-14deg); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.pub:hover .pub__cover img { transform: rotateY(0) scale(1.04); }
.pub__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.pub__title { font-weight: 700; color: var(--brand-deep); font-size: 15.5px; }
.pub__desc { font-size: 13.5px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pub__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.pub__size { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- News list / pagination ---------- */
.news--list { grid-template-columns: repeat(3, 1fr); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination [aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .icon { width: 16px; height: 16px; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* ---------- Article (news detail) ---------- */
.article__figure { margin: 0 0 32px; border-radius: 18px; overflow: hidden; background: var(--bg-soft); box-shadow: 0 24px 50px -30px rgba(8, 44, 70, .5); }
.article__figure img { width: 100%; max-height: 520px; object-fit: contain; background: #0b2236; }
.article__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.article__tools-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }
.share-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--brand-deep);
  transition: background-color .2s, color .2s, border-color .2s;
}
.share-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.share-btn .icon { width: 17px; height: 17px; }
.share-btn svg.brand-icon { width: 17px; height: 17px; fill: currentColor; }
.article__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.article__pager a {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink);
  transition: border-color .2s, box-shadow .25s;
}
.article__pager a:hover { border-color: var(--brand); color: var(--ink); box-shadow: 0 12px 26px -18px rgba(8, 44, 70, .45); }
.article__pager small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.article__pager small .icon { width: 14px; height: 14px; }
.article__pager span { font-weight: 600; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article__pager .next { text-align: right; align-items: flex-end; }

.aside-box { position: sticky; top: 84px; padding: 22px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); }
.aside-box h3 { font-size: 16px; color: var(--brand-deep); margin-bottom: 14px; }
.mini-news { display: grid; gap: 4px; }
.mini-news a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: var(--ink); }
.mini-news a:hover { background: #fff; color: var(--brand); }
.mini-news img { width: 76px; height: 56px; object-fit: cover; border-radius: 8px; }
.mini-news time { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.mini-news span { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Photo & video galleries ---------- */
.photo-grid { columns: 3; column-gap: 14px; }
.photo-grid a {
  position: relative; display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--brand-light);
  box-shadow: 0 6px 18px -12px rgba(8, 44, 70, .5);
}
.photo-grid img { width: 100%; transition: transform .9s cubic-bezier(.25, .8, .25, 1); }
.photo-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 44, 70, .55)); opacity: 0; transition: opacity .3s; }
.photo-grid a:hover img { transform: scale(1.06); }
.photo-grid a:hover::after { opacity: 1; }
.photo-grid .bento__zoom { z-index: 2; }
.photo-grid a:hover .bento__zoom { opacity: 1; transform: none; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-item { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.video-item__frame { position: relative; aspect-ratio: 16 / 9; background: var(--brand-deep); }
.video-item__frame button { position: absolute; inset: 0; border: 0; padding: 0; background: none; }
.video-item__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .9s cubic-bezier(.25, .8, .25, 1); }
.video-item__frame button:hover img { opacity: 1; transform: scale(1.04); }
.video-item__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item__body { padding: 18px 20px; font-weight: 600; color: var(--brand-deep); line-height: 1.45; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .card__icon { margin: 0; flex: none; }
.contact-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { display: block; margin-top: 4px; font-size: 16px; color: var(--brand-deep); line-height: 1.45; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.form { display: grid; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.form h2 { font-size: 24px; color: var(--brand-deep); }
.form p { color: var(--ink-soft); font-size: 15px; margin-top: -6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-soft);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(20, 97, 149, .12); }
.form__note { font-size: 13px; color: var(--muted); }
.form__status { padding: 12px 14px; border-radius: 10px; background: #e8f6ee; color: #136b3a; font-size: 14px; font-weight: 600; }
.form__status--err { background: #fdecee; color: #a3171f; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.req { color: var(--accent); }
.field.has-error input, .field.has-error textarea { border-color: var(--accent); background: #fff8f8; }
.field__error { font-size: 13px; color: var(--accent); font-weight: 600; }
.form.is-sending button[type=submit] { opacity: .7; pointer-events: none; }
.map { min-height: 420px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Staff directory ---------- */
.directory { display: grid; gap: 14px; }
.dir-group { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.dir-group summary {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 700; color: var(--brand-deep); font-size: 16px;
}
.dir-group summary::-webkit-details-marker { display: none; }
.dir-group summary .card__icon { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.dir-group summary .card__icon .icon { width: 18px; height: 18px; }
.dir-group summary .chev { width: 18px; height: 18px; margin-left: auto; color: var(--muted); transition: transform .25s; }
.dir-group[open] summary .chev { transform: rotate(180deg); }
.dir-group[open] summary { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.dir-people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 18px 20px 20px; }
.dir-person { padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); }
.dir-person__role { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.dir-person__name { font-weight: 700; color: var(--ink); margin-top: 3px; }
.dir-person__line { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-soft); margin-top: 4px; word-break: break-all; }
.dir-person__line .icon { width: 14px; height: 14px; flex: none; color: var(--brand); }

/* ---------- Search / 404 ---------- */
.search--page { max-width: 720px; margin-bottom: 28px; }
.result-list { display: grid; gap: 12px; }
.result {
  display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.result:hover { border-color: var(--brand); color: var(--ink); box-shadow: 0 12px 26px -20px rgba(8, 44, 70, .45); }
.result__type { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.result__title { display: block; font-weight: 700; font-size: 16px; margin-top: 4px; color: var(--brand-deep); }
.result__text { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.result mark { background: #fff1b8; color: inherit; border-radius: 3px; padding: 0 2px; }
.empty { text-align: center; padding: 60px 20px; }
.empty__code {
  font-size: 120px; font-weight: 800; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(140deg, var(--brand), var(--brand-deep)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.empty h2, .empty__title { font-size: 26px; color: var(--brand-deep); margin-top: 8px; }
.empty p { color: var(--ink-soft); margin: 10px auto 24px; max-width: 480px; }
.empty .btn-row { justify-content: center; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding: 30px 32px; border-radius: 20px; color: #fff;
  background: radial-gradient(500px 240px at 100% 0%, rgba(42, 140, 205, .5), transparent 70%), linear-gradient(140deg, var(--brand-dark), var(--brand-deep));
}
.cta-band h3 { font-size: 22px; }
.cta-band p { color: #cfe0ec; margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pub-grid { grid-template-columns: repeat(3, 1fr); }
  .page-layout { grid-template-columns: 230px 1fr; gap: 32px; }
  .page-layout--right { grid-template-columns: 1fr 280px; }
}
@media (max-width: 900px) {
  .page-hero h1 { font-size: 30px; }
  .page-layout, .page-layout--right { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; gap: 6px; overflow-x: auto; padding: 6px; border-radius: 14px; scrollbar-width: none; }
  .side-nav__title { display: none; }
  .side-nav a { white-space: nowrap; font-size: 14px; padding: 9px 14px; }
  .side-nav a .icon { display: none; }
  .aside-box { position: static; }
  .grid-3, .partner-grid, .contact-cards, .news--list { grid-template-columns: repeat(2, 1fr); }
  .contact-split, .journal { grid-template-columns: 1fr; }
  .org__units { grid-template-columns: repeat(2, 1fr); }
  .org__units::before { left: 25%; right: 25%; }
  .photo-grid { columns: 2; }
}
@media (max-width: 600px) {
  .page-hero { padding: 32px 0 38px; }
  .page-hero h1 { font-size: 25px; }
  .page-hero__lead { font-size: 15.5px; }
  .page-body { padding: 36px 0 56px; }
  .grid-2, .grid-3, .partner-grid, .contact-cards, .news--list, .check-list, .video-grid, .dir-people, .form__row, .article__pager { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pub__cover img { width: 100px; }
  .org__units { grid-template-columns: 1fr; padding-top: 0; gap: 10px; }
  .org__units::before { display: none; }
  .article-item { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .doc-row { flex-wrap: wrap; }
  .doc-row__action { width: 100%; justify-content: flex-end; }
  .form, .journal { padding: 22px; }
  .article__pager .next { text-align: left; align-items: flex-start; }
  .empty__code { font-size: 84px; }
}

/* ---------- Current section in main menu ---------- */
.nav__link.is-current { background: #fff !important; color: var(--brand-deep); box-shadow: 0 4px 12px -2px rgba(0, 0, 0, .25); }
.dropdown a[aria-current="page"] { background: var(--brand-light); color: var(--brand); font-weight: 600; }
.dropdown a[aria-current="page"]::before { background: var(--brand); }
@media (max-width: 1100px) {
  .nav__link.is-current { background: var(--brand-light) !important; color: var(--brand); box-shadow: none; }
}
.check-list--dark li { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .1); }
.services-grid .card { display: flex; flex-direction: column; }
.services-grid .card h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.page-hero .breadcrumb svg.icon { flex: none; }
