/* KU unit sites (graduation, GTRCMC, Confucius Institute): KU navy with the KU gold accent and the KU crest.
   Open Sans is self-hosted (assets/fonts), so nothing loads from Google. A site may append overrides at build time. */
@import url("../fonts/open-sans.css");
:root {
  --font-head: "Open Sans", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --primary: #1b3a6b;
  --primary-dark: #12284b;
  --accent: #1b3a6b;
  --accent-dark: #12284b;
  --link: #1f5aa6;
  --heading: #1b3a6b;
  --text: #2f3b47;
  --muted: #5d6b78;
  --bg: #ffffff;
  --soft: #f2f5fa;
  --border: #dde4ee;
  --header-bg: #ffffff;
  --nav-text: #1b3a6b;
  --logo-h: 56px;
  --banner-bg: linear-gradient(120deg, #12284b, #1b3a6b);
  --banner-overlay: linear-gradient(120deg, rgba(18, 40, 75, .9), rgba(27, 58, 107, .62));
  --hero-overlay: linear-gradient(100deg, rgba(18, 40, 75, .92) 30%, rgba(18, 40, 75, .35));
  --footer-bg: #101f38;
  --footer-text: #c8d3e3;
}
h1, h2, h3, h4 { font-weight: 700; }
.topbar { border-bottom: 3px solid #c8a951; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: #c8a951; margin: 12px auto 0; border-radius: 2px; }
.btn.gold, a.btn.gold { background: #c8a951; border-color: #c8a951; color: #1b2a1f; }
.btn.gold:hover, a.btn.gold:hover { background: #fff; border-color: #fff; color: #1b2a1f; }
.header-cta { flex-shrink: 0; padding: 8px 16px; font-size: .9rem; }

/* wordmark: KU crest + centre name */
.wordmark { display: flex; align-items: center; gap: 12px; color: var(--heading); }
.wordmark img { height: var(--logo-h); width: auto; }
.wordmark strong { display: block; font-size: 1.05rem; line-height: 1.15; max-width: 250px; }
.wordmark small { display: block; color: var(--muted); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 1201px) {
  .main-nav a, .main-nav .group { padding: 9px 9px; font-size: .88rem; }
}
@media (max-width: 1200px) { .site-header .header-cta { margin-left: auto; } }
@media (max-width: 640px) { .site-header a.header-cta { display: none; } }
@media (max-width: 520px) {
  .site-header .container { gap: 10px; }
  .wordmark { gap: 8px; }
  .wordmark img { height: 42px; }
  .wordmark strong { font-size: .84rem; max-width: 190px; }
  .wordmark small { font-size: .68rem; }
}
@media (max-width: 360px) { .wordmark strong { max-width: 140px; font-size: .8rem; } .wordmark small { display: none; } }

/* home: full-width photo slideshow, no text over it */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-photos .slideshow { border-radius: 0; box-shadow: none; aspect-ratio: auto; height: clamp(260px, 64vh, 680px); }
@media (max-width: 640px) { .hero-photos .slideshow { height: auto; aspect-ratio: 4 / 3; } }

/* home: quick facts strip under the hero */
.infostrip { background: var(--primary-dark); color: #fff; }
.infostrip .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; }
.infostrip div { padding: 18px 20px; border-left: 1px solid rgba(255,255,255,.12); }
.infostrip div:first-child { border-left: 0; }
.infostrip strong { display: block; color: #c8a951; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.infostrip a { color: #fff; }
@media (max-width: 640px) {
  .infostrip div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 14px 4px; }
  .infostrip div:first-child { border-top: 0; }
}

.cards.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* products */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.product { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 110px; }
.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--soft); }
.product .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product h3 { margin: 0 0 .5em; font-size: 1.1rem; }
.product ul { margin: 0 0 1em; padding-left: 1.1em; font-size: .93rem; }
.product li { margin-bottom: .2em; }
.product .btn-row { margin: auto 0 0; gap: 8px; }
.product .btn { padding: 7px 14px; font-size: .88rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px 16px 64px; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.paybill { display: inline-grid; grid-template-columns: auto auto; gap: 4px 18px; background: var(--soft); border-radius: 8px; padding: 10px 16px; margin-top: 8px; }
.paybill dt { color: var(--muted); }
.paybill dd { margin: 0; font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; }

/* staff */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 22px; }
.person { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 16px; }
.person img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 4px solid var(--soft); }
.person .initials { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center;
  background: var(--soft); color: var(--accent-dark); font-size: 2.4rem; font-weight: 700; }
.person h3 { margin: 0 0 .2em; font-size: 1.02rem; }
.person p { margin: 0; color: var(--muted); font-size: .9rem; }

/* news */
.news-item { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; padding: 26px 0; border-top: 1px solid var(--border); }
.news-item:first-of-type { border-top: 0; padding-top: 0; }
.news-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.news-item h2 { margin: .2em 0 .4em; font-size: 1.3rem; }
@media (max-width: 760px) { .news-item { grid-template-columns: 1fr; gap: 14px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.contact-list strong { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* figure with caption (lab photos, org chart) */
.figure { margin: 1.4em 0; }
.figure img { border-radius: 10px; margin: 0; }
.figure figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; margin: 1.2em 0; }
.photo-grid figure { margin: 0; }
.photo-grid a { display: block; border-radius: 8px; overflow: hidden; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid figcaption { font-size: .86rem; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.links-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.links-list a { display: block; padding: 14px 18px; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 8px; text-decoration: none; background: #fff; font-weight: 600; }
.links-list a:hover { background: var(--soft); }
.links-list small { display: block; font-weight: 400; color: var(--muted); }

/* document tables and listing pager */
table.docs td:last-child { white-space: nowrap; }
table.docs a { font-weight: 600; }
.pager { justify-content: center; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.5em 0; }
.stats div { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px; text-align: center; }
.stats strong { display: block; font-size: 2rem; color: var(--heading); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .9rem; }
.event-date { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 12px;
  background: var(--primary); color: #fff; font-weight: 700; line-height: 1.1; flex-shrink: 0; }
.event-date strong { font-size: 1.6rem; }
.event { display: flex; gap: 18px; align-items: center; }
.event h3 { margin: 0 0 .2em; }
.notice.dated { border-left-color: #c8a951; }
/* site-specific */
:root { --accent: #0b5d8f; --accent-dark: #083f61; }
.gallery-group { margin-top: 2rem; }
.gallery-group:first-child { margin-top: 0; }
.prose table { font-size: .9rem; }
.slideshow .slide img.focus-top { object-position: 50% 12%; }
.slideshow .slide img.focus-face { object-position: 72% 15%; }
.fees .table-wrap { overflow-x: visible; }
.fees table { table-layout: fixed; width: 100%; font-size: .9rem; }
.fees td, .fees th { overflow-wrap: anywhere; }
.fees col.c1 { width: 27%; } .fees col.c2 { width: 20%; } .fees col.c3 { width: 37%; } .fees col.c4 { width: 16%; }
.fees tr.group th { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); font-size: 1rem; }
.fees tr.group:first-child th { background: var(--accent); font-size: 1.1rem; }
.fees tr.head th { background: var(--soft); color: var(--heading); }
@media (max-width: 640px) { .fees table { font-size: .78rem; } .fees td, .fees th { padding: 6px; } }
.icon { width: 22px; height: 22px; flex: none; }
.social-icons { display: flex; gap: 10px; list-style: none; padding: 0; margin: .5em 0 1.2em; }
.social-icons a { display: flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); transition: transform .15s; }
.social-icons a:hover, .social-icons a:focus-visible { transform: translateY(-2px); }
.social-icons svg { width: 21px; height: 21px; fill: #fff; fill-rule: evenodd; }
.social-icons .facebook { background: #1877f2; } .social-icons .xtwitter { background: #000; }
.social-icons .linkedin { background: #0a66c2; } .social-icons .youtube { background: #ff0000; }
.cta-row { margin-top: 1.6rem; }
table.req { font-size: .97rem; }
table.req thead th { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }
table.req tbody th { width: 30%; background: #fff; }
table.req tbody th small { display: block; color: var(--muted); font-weight: 400; margin-top: 4px; }
table.req tr:nth-child(even) td { background: #fff; }
.level { display: inline-block; font-weight: 700; color: #fff; border-radius: 999px; padding: 3px 14px; }
.level.diploma { background: #2f855a; } .level.degree { background: var(--accent); } .level.postgraduate { background: #6b46c1; }
ul.ticks { list-style: none; margin: 0; padding: 0; }
ul.ticks li { position: relative; padding-left: 26px; margin: 0 0 .45em; }
ul.ticks li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.centre-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 1.6rem; }
.centre-tile { display: flex; gap: 14px; align-items: flex-start; background: var(--soft); border-radius: 12px; padding: 18px; }
.centre-tile .icon { width: 30px; height: 30px; color: var(--accent); }
.centre-tile h2 { font-size: 1.05rem; margin: 0 0 .3em; }
.centre-tile p { margin: 0; }
.pledge { margin: 0 0 1.4rem; padding: 18px 22px; border-left: 5px solid var(--accent); background: var(--soft); border-radius: 0 12px 12px 0; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--heading); }
.charter { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; margin: 1.2rem 0 1.6rem; }
.charter-card { position: relative; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: 12px; padding: 18px 18px 16px; }
.charter-card h3 { margin: 0 0 .8em; font-size: 1.05rem; padding-right: 64px; }
.charter-card p { display: flex; gap: 10px; margin: 0 0 .7em; font-size: .93rem; }
.charter-card p .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 2px; }
.charter-card strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.charge { position: absolute; top: 16px; right: 16px; background: #e6f4ea; color: #1e6b34; font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 2px 10px; }
.res-head { margin: 1.8rem 0 .8rem; font-size: 1.2rem; }
.res-head:first-of-type { margin-top: 1rem; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.res-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.res-card:hover, .res-card:focus-visible { border-color: var(--accent); box-shadow: 0 8px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.res-card .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--soft); color: var(--accent); flex: none; }
.res-card .txt { flex: 1; }
.res-card strong { display: block; color: var(--heading); margin-bottom: 2px; }
.res-card small { display: block; color: var(--muted); line-height: 1.45; }
.lvl { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; border-radius: 999px; padding: 3px 10px; margin: 0 6px 4px 0; white-space: nowrap; vertical-align: middle; }
.lvl.cert { background: #b7791f; } .lvl.diploma { background: #2f855a; } .lvl.degree { background: var(--accent); } .lvl.pgd { background: #805ad5; } .lvl.masters { background: #553c9a; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; margin-top: 1.4rem; }
.stats > div { background: var(--soft); border-radius: 12px; padding: 16px; }
.stats .icon { color: var(--accent); width: 28px; height: 28px; display: block; margin-bottom: 8px; }
.stats strong { display: block; color: var(--heading); font-size: 1.05rem; } .stats span { color: var(--muted); font-size: .9rem; }
.school-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.school-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--accent); border-radius: 12px; padding: 18px; color: var(--text); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.school-card:hover, .school-card:focus-visible { box-shadow: 0 8px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.school-card h3 { margin: 0 0 .5em; font-size: 1.08rem; color: var(--heading); } .school-card p { margin: 0 0 .8em; }
.school-card .more { margin-top: auto; color: var(--accent-dark); font-weight: 600; font-size: .9rem; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 1.4rem; }
.jump a { border: 1px solid var(--border); border-radius: 999px; padding: 5px 14px; text-decoration: none; font-size: .9rem; color: var(--accent-dark); background: #fff; }
.jump a:hover { border-color: var(--accent); background: var(--soft); }
.cat-school { margin-bottom: 2rem; scroll-margin-top: 90px; } .cat-school h3 { font-size: 1.15rem; margin: 0 0 .7rem; }
.progs { display: grid; gap: 10px; }
details.prog { background: #fff; border: 1px solid var(--border); border-radius: 12px; }
details.prog[open] { border-color: var(--accent); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
details.prog summary { display: flex; gap: 12px; align-items: flex-start; padding: 14px 44px 14px 16px; cursor: pointer; list-style: none; position: relative; }
details.prog summary::-webkit-details-marker { display: none; }
details.prog summary::after, details.qa summary::after { content: '+'; position: absolute; right: 16px; top: 10px; font-size: 1.5rem; color: var(--accent); }
details.prog[open] summary::after, details.qa[open] summary::after { content: '\2212'; }
.pt strong { display: block; color: var(--heading); } .pm { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .86rem; color: var(--muted); margin-top: 4px; }
.pm span { display: inline-flex; align-items: center; gap: 5px; } .pm .icon { width: 16px; height: 16px; }
.pb { padding: 0 18px 16px; border-top: 1px solid var(--border); } .pb h4 { margin: 14px 0 8px; font-size: .95rem; }
.opts { margin: 12px 0 0; font-size: .93rem; }
.split-even { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 36px; align-items: start; }
.why { display: grid; gap: 14px; } .why-item { display: flex; gap: 14px; background: #fff; border-radius: 12px; padding: 14px 16px; }
.why-item .icon { color: var(--accent); width: 28px; height: 28px; } .why-item h3 { margin: 0 0 .2em; font-size: 1rem; } .why-item p { margin: 0; font-size: .93rem; }
.apply-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.apply-way { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.apply-way:first-child { border: 2px solid var(--accent); } .apply-way h3 { margin-top: 0; }
.step-tag { position: absolute; top: -12px; left: 20px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.notice-box { margin-top: 20px; background: #fff8e6; border-left: 5px solid #d69e2e; border-radius: 0 12px 12px 0; padding: 14px 20px; }
.notice-box h3 { margin: 0 0 .4em; font-size: 1rem; } .notice-box ul { margin: 0; }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 1.2rem; }
.dept-card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: 12px; padding: 18px; }
.dept-card h3 { margin: 0 0 .7em; font-size: 1.02rem; }
.prog-list { list-style: none; margin: 0; padding: 0; } .prog-list li { display: flex; gap: 8px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--border); }
.prog-list li:first-child { border-top: 0; } .prog-list .lvl { flex: none; min-width: 92px; text-align: center; }
.prog-list small { display: block; color: var(--muted); margin-top: 3px; }
.reg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .reg-grid { grid-template-columns: 1fr; } }
.reg-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.reg-card .ic, .info-card .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--soft); color: var(--accent); margin-bottom: 10px; }
.reg-card h2 { margin-top: 0; font-size: 1.25rem; }
ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 14px 52px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
ol.steps h3 { margin: 4px 0 .2em; font-size: 1rem; } ol.steps p { margin: 0; }
.small-note { font-size: .92rem; color: var(--muted); }
.faq { display: grid; gap: 10px; }
details.qa { background: #fff; border: 1px solid var(--border); border-radius: 12px; }
details.qa summary { position: relative; padding: 14px 48px 14px 18px; cursor: pointer; font-weight: 600; color: var(--heading); list-style: none; }
details.qa summary::-webkit-details-marker { display: none; } details.qa[open] { border-color: var(--accent); }
.ans { padding: 0 18px 14px; } .ans p:last-child { margin-bottom: 0; }
.profile { display: flex; gap: 18px; align-items: center; background: var(--soft); border-radius: 14px; padding: 18px; margin-bottom: 1.4rem; }
.profile .initials { flex: none; width: 84px; height: 84px; font-size: 1.6rem; }
.profile img.portrait { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.profile h2 { margin: 0 0 .2em; font-size: 1.2rem; } .profile p { margin: 0; }
.vm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.vm-card { background: var(--accent-dark); color: #fff; border-radius: 14px; padding: 24px; }
.vm-card h2 { color: #fff; margin: 0 0 .4em; } .vm-card p { margin: 0; font-size: 1.05rem; line-height: 1.6; }
ol.obj { list-style: none; counter-reset: o; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 0; padding: 0; }
ol.obj li { counter-increment: o; background: #fff; border-radius: 12px; padding: 16px 16px 16px 58px; position: relative; }
ol.obj li::before { content: counter(o); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--accent-dark); font-weight: 700; display: grid; place-items: center; }
ul.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; } ul.chips li { background: var(--soft); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.res-grid.big { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-top: 1.4rem; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.info-card h3 { margin: 0 0 .4em; font-size: 1.05rem; } .info-card p { font-size: .94rem; }
.btn.small { padding: 6px 14px; font-size: .88rem; }
.lead-block { max-width: 860px; margin-bottom: 1.4rem; }
.partners-list { display: grid; gap: 18px; }
.partner-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px 22px 14px 76px; }
.partner-card .num { position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.partner-card h2 { margin: 6px 0 .5em; font-size: 1.15rem; }
.partner-card { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 640px) { .partner-card { padding: 66px 18px 12px; } }
.res-card .kind { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-dark); background: var(--soft); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.footer-end { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer-social a { display: flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.12); }
.footer-social a:hover, .footer-social a:focus-visible { background: rgba(255,255,255,.28); }
.footer-social svg { width: 15px; height: 15px; fill: #fff; fill-rule: evenodd; }
