/* =====================================================================
   COTUL — Design System v5
   Civic-institutional identity: navy, bright blue, and gold, with
   Plus Jakarta Sans for UI text and Merriweather for headlines —
   matching the studied reference. Class names are kept stable from
   earlier versions so every template still works without changes.
   ===================================================================== */

:root {
  --navy:       #122640;
  --navy-2:     #193458;
  --blue:       #336cb7;
  --blue-2:     #2d5e9f;
  --gold:       #f5d947;
  --gold-2:     #887407;
  --gold-tint:  rgba(245,217,71,.16);
  --blue-tint:  rgba(51,108,183,.10);
  --g50:        #F8FAFC;
  --g100:       #F1F5F9;
  --g200:       #E2E8F0;
  --g400:       #94A3B8;
  --g600:       #475569;
  --g800:       #1E293B;
  --success:    #16A34A;
  --success-tint: #DCFCE7;
  --danger:     #DC2626;
  --danger-tint: #FEE2E2;

  /* aliases so every existing template variable reference still resolves */
  --ink:        #1E293B;
  --ink-soft:   #475569;
  --ink-faint:  #94A3B8;
  --navy-3:     #336cb7;
  --teal:       #336cb7;
  --teal-2:     #193458;
  --teal-tint:  rgba(51,108,183,.10);
  --brass:      #f5d947;
  --brass-2:    #887407;
  --brass-tint: rgba(245,217,71,.16);
  --paper:      #FFFFFF;
  --paper-2:    #F8FAFC;
  --card:       #FFFFFF;
  --line:       #E2E8F0;
  --line-soft:  #EDF1F6;
  --success-2:  #166534;
  --danger-2:   #991B1B;

  --f-display: 'Merriweather', Georgia, 'Times New Roman', serif;
  --f-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --f-mono:    'Plus Jakarta Sans', system-ui, sans-serif;

  --r1: 9px;
  --r2: 16px;
  --r3: 18px;
  --r4: 22px;
  --sh1: 0 4px 20px rgba(18,38,64,.08);
  --sh2: 0 12px 48px rgba(18,38,64,.14);
  --sh3: 0 20px 60px rgba(18,38,64,.18);
  --container: 1180px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--g800);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-2); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 18px;
  border-radius: var(--r1); font-weight: 700; font-size: .88rem;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-tint); color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--navy);
}
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-justify { text-align: justify; text-justify: inter-word; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.callnum {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-tint);
  color: var(--blue);
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.callnum::before { content: none; }

.topbar { background: var(--navy); color: rgba(255,255,255,.7); font-size: 12.5px; height: 36px; display: flex; align-items: center; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; flex-wrap: wrap; gap: 6px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar a { color: rgba(255,255,255,.7); transition: color .2s; display: flex; align-items: center; gap: 5px; }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: 14px; }
.topbar i, .topbar-social a i { color: var(--gold); font-size: 11px; }

.site-header { background: #fff; border-bottom: 1px solid var(--g200); position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 12px rgba(18,38,64,.06); }
.logo-bar { padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 116px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 104px; width: 104px; border-radius: 12px; object-fit: contain; }
.brand-title { flex: 1; text-align: center; padding: 0 16px; min-width: 0; color: inherit; }
.brand-title:hover { color: inherit; }
.brand-title .name { font-family: var(--f-display); font-size: 1.7rem; font-weight: 700; color: var(--navy); line-height: 1.15; letter-spacing: -.01em; }
.brand-title .tagline { font-size: 11.5px; color: var(--g600); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; margin-top: 4px; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.search-toggle, .menu-toggle {
  background: none; border: none; border-radius: var(--r1);
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--g600); transition: all .2s;
}
.search-toggle:hover, .menu-toggle:hover { background: var(--g100); color: var(--blue); }
.search-toggle:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.menu-toggle { display: none; }

.navbar { background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%); position: static; z-index: 100; box-shadow: 0 2px 10px rgba(18,38,64,.18); }
.nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; padding: 6px 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 12px 16px; color: rgba(255,255,255,.92); font-size: .87rem; font-weight: 600;
  transition: all .2s; white-space: nowrap;
}
.nav-list > li > a:hover, .nav-list > li.active > a { background: rgba(255,255,255,.1); color: var(--gold); }
.nav-list > li > a .fa-chevron-down { font-size: 10px; opacity: .7; transition: transform .2s; }
.nav-list > li:hover > a .fa-chevron-down, .nav-list > li:focus-within > a .fa-chevron-down { transform: rotate(180deg); }

.dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--card); box-shadow: var(--sh2); border-radius: 0 0 var(--r2) var(--r2);
  padding: 8px; z-index: 50; border-top: 3px solid var(--gold);
}
.nav-list > li:hover .dropdown, .nav-list > li:focus-within .dropdown { display: block; animation: dropdown-in .18s var(--ease); }
@keyframes dropdown-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.dropdown a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--g800); font-size: .85rem; font-weight: 500; margin: 2px 0; }
.dropdown a:hover { background: var(--g100); color: var(--blue); }

.search-panel { display: none; background: var(--navy); padding: 14px 0; border-bottom: 2px solid var(--gold); }
.search-panel.open { display: block; animation: dropdown-in .2s var(--ease); }
.search-panel form { display: flex; gap: 10px; max-width: 580px; margin: 0 auto; }
.search-panel input { flex: 1; padding: 11px 16px; border-radius: var(--r1); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff; font-family: var(--f-body); font-size: .94rem; }
.search-panel input::placeholder { color: rgba(255,255,255,.5); }
.search-panel input:focus { outline: 2px solid var(--gold); }
.search-panel button { background: var(--gold); border: none; color: var(--navy); padding: 0 22px; border-radius: var(--r1); cursor: pointer; font-weight: 700; transition: background .15s; }
.search-panel button:hover { background: var(--gold-2); }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .navbar { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-bottom: 2px solid var(--gold); box-shadow: var(--sh2); padding: 10px 16px; z-index: 100; }
  .navbar.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a { padding: 11px 14px; border-radius: 8px; color: rgba(255,255,255,.92); }
  .dropdown { position: static; box-shadow: none; border-top: none; background: rgba(255,255,255,.05); border-radius: 8px; margin: 2px 0 2px 14px; }
  .dropdown a { color: rgba(255,255,255,.85); }
  .dropdown a:hover { background: rgba(255,255,255,.08); color: var(--gold); }
  .nav-list > li:hover .dropdown, .nav-list > li:focus-within .dropdown { display: none; }
  .nav-list > li.open .dropdown { display: block; }
}

.hero-slider {
  position: relative;
  width: 100%;
  height: var(--hero-h, 560px);
  min-height: var(--hero-min-h, 320px);
  max-height: var(--hero-max-h, 760px);
  overflow: hidden;
  background: var(--navy);
  resize: vertical;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: var(--hero-fit, cover); object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,38,64,.94) 35%, rgba(18,38,64,.55) 70%, rgba(18,38,64,.35) 100%); opacity: var(--hero-overlay-opacity, 1); }
.hero-caption { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 28px; max-width: var(--container); margin: 0 auto; color: #fff; }
.hero-caption .callnum { background: var(--gold); color: var(--navy); }
.hero-caption h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.85rem); max-width: 640px; line-height: 1.25; }
.hero-caption p { color: rgba(255,255,255,.82); max-width: 580px; font-size: 1.05rem; margin-top: 14px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

.hero-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; transition: all .25s var(--ease);
}
.hero-nav-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero-prev { left: 24px; } .hero-next { right: 24px; }

.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; padding: 0; transition: all .3s; }
.hero-dot.is-active { background: var(--gold); width: 28px; border-radius: 5px; }

.hero-empty { height: var(--hero-h, 420px); min-height: 280px; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 24px; }

@media (max-width: 640px) {
  .hero-slider { height: var(--hero-h-mobile, 420px); }
  .hero-nav-btn { display: none; }
  .hero-caption { text-align: left; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r1); font-weight: 700; font-size: .9rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s var(--ease);
}
.btn-brass, .btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-brass:hover, .btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-navy, .btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-navy:hover, .btn-primary:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.btn-teal { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-teal:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-ghost { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .8rem; }
.btn-block { width: 100%; justify-content: center; }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.section-paper2 { background: var(--g50); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-lead { color: var(--g600); max-width: 600px; margin-top: 10px; font-size: 1.02rem; }

/* Tighter vertical rhythm between homepage rows specifically */
body.is-home .section { padding: 40px 0; }
body.is-home .section-head { margin-bottom: 26px; }

.card { background: var(--card); border-radius: var(--r2); border: 1px solid var(--g200); box-shadow: var(--sh1); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; overflow: hidden; }
.card:hover { box-shadow: var(--sh2); transform: translateY(-3px); }
.card-index { position: relative; }
.card-index::before { content: none; }

.statbar { background: var(--navy-2); padding: 28px 0; }
.statbar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--r1); overflow: hidden; }
.stat-item { background: var(--navy-2); text-align: center; padding: 22px 16px; position: relative; }
.stat-item::before { content: none; }
.stat-value { font-family: var(--f-display); font-size: 2.2rem; font-weight: 700; color: var(--gold); margin-top: 0; line-height: 1; }
.stat-label { font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 6px; text-transform: uppercase; letter-spacing: .05em; }

.intro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.intro-body h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 18px; line-height: 1.3; }
.intro-body-full { max-width: 980px; margin: 0 auto; text-align: left; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.mini-card { background: var(--g50); border-radius: var(--r1); padding: 20px; border-left: 3px solid var(--gold); }
.mini-card:hover { box-shadow: none; transform: none; }
.mini-card h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-2); margin-bottom: 8px; font-family: var(--f-body); }
.mini-card p { font-size: .87rem; color: var(--g600); margin: 0; line-height: 1.6; }

.chair-card { background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: var(--r2); padding: 32px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh2); }
.chair-card::after, .chair-card::before { content: none; }
.chair-card-full { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 40px; }
.chair-card-full .chair-photo-wrap { margin-bottom: 0; flex-direction: column; text-align: center; }
.chair-card-full .chair-quote { margin: 0; }
.chair-photo-wrap { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; position: relative; z-index: 1; }
.chair-photo { width: 120px; height: 120px; border-radius: var(--r1); object-fit: cover; border: 3px solid var(--gold); }
.chair-photo-fallback { width: 120px; height: 120px; border-radius: var(--r1); background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: 1.8rem; border: 3px solid var(--gold); }
.chair-name { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; }
.chair-badge { display: inline-block; background: var(--gold); color: var(--navy); font-size: .68rem; font-weight: 700; padding: 3px 11px; border-radius: 20px; margin-top: 5px; text-transform: uppercase; letter-spacing: .03em; }
.chair-quote { font-family: var(--f-display); font-style: italic; font-size: 1.04rem; line-height: 1.7; border-left: 2px solid var(--gold); padding-left: 18px; color: rgba(255,255,255,.92); position: relative; z-index: 1; }

.video-feature-frame { position: relative; width: 100%; max-width: 920px; margin: 0 auto; aspect-ratio: 16/9; border-radius: var(--r2); overflow: hidden; box-shadow: var(--sh2); background: var(--navy); }
.video-feature-frame iframe, .video-feature-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }

@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .mini-cards { grid-template-columns: 1fr; } .chair-card-full { grid-template-columns: 1fr; text-align: center; } .chair-card-full .chair-photo-wrap { align-items: center; } }

.blink-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); margin-right: 6px; animation: blink-pulse 1.8s infinite; }
@keyframes blink-pulse { 0% { box-shadow: 0 0 0 0 rgba(220,38,38,.5); } 70% { box-shadow: 0 0 0 6px rgba(220,38,38,0); } 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); } }
.new-tag { display: inline-flex; align-items: center; background: var(--danger); color: #fff; font-size: .65rem; padding: 3px 10px; border-radius: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }

.news-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; }
.news-featured { position: relative; border-radius: var(--r2); overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--blue)); min-height: 380px; box-shadow: var(--sh1); }
.news-featured:hover { box-shadow: var(--sh2); transform: translateY(-3px); }
.news-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .4s; }
.news-featured:hover img { transform: scale(1.05); }
.news-featured-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(18,38,64,.95) 100%); }
.news-featured-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; color: #fff; }
.news-featured-badge { position: absolute; top: 18px; left: 18px; z-index: 2; }
.news-featured-cat { display: inline-flex; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; }
.news-featured h3 { color: #fff; font-size: 1.1rem; line-height: 1.35; }

.news-side { display: flex; flex-direction: column; gap: 16px; }
.news-side-card { display: flex; gap: 14px; padding: 6px; border-radius: var(--r1); transition: background .2s; }
.news-side-card:hover { background: var(--g50); }
.news-side-thumb { width: 88px; height: 88px; border-radius: var(--r1); object-fit: cover; flex-shrink: 0; background: var(--g100); }
.news-side-body h4 { font-size: .85rem; margin-bottom: 6px; line-height: 1.4; font-family: var(--f-body); font-weight: 700; }
.news-side-date { font-size: .76rem; color: var(--g400); }

@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } }

.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.event-card { display: flex; flex-direction: column; }
.event-thumb { height: 150px; background-size: cover; background-position: center; background-color: var(--g100); position: relative; }
.event-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-date-row { display: flex; align-items: center; gap: 11px; }
.date-box { width: 52px; height: 52px; border-radius: var(--r1); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.date-box .d { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.date-box .m { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; opacity: .85; }
.date-box.upcoming { background: var(--blue); }
.date-box.ongoing { background: var(--success); }
.date-box.past { background: var(--g400); }
.event-type-badge { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); background: var(--blue-tint); padding: 3px 10px; border-radius: 12px; font-weight: 700; }
.event-card h3 { font-size: 1rem; line-height: 1.4; font-family: var(--f-body); font-weight: 700; }
.event-loc { font-size: .82rem; color: var(--g400); display: flex; align-items: center; gap: 6px; }
.event-actions { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; }

.ann-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.ann-thumb { height: 160px; background-size: cover; background-position: center; background-color: var(--g100); position: relative; }
.ann-body { padding: 20px; }
.ann-cat { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); background: var(--blue-tint); padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; }
.ann-card h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; font-family: var(--f-body); color: var(--navy); }
.ann-excerpt { font-size: 13px; color: var(--g600); line-height: 1.6; }
.ann-date { font-size: 11.5px; color: var(--g400); margin-top: 12px; }

.eres-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.eres-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.eres-logo { width: 50px; height: 50px; border-radius: var(--r1); background: var(--g100); display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.3rem; }
.eres-card h3 { font-size: 14.5px; font-weight: 700; font-family: var(--f-body); color: var(--navy); }
.access-badge { display: inline-flex; font-size: 10px; padding: 3px 10px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); width: fit-content; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }

.r4l-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.r4l-card { padding: 26px; border-radius: var(--r2); color: #fff; box-shadow: var(--sh1); }
.r4l-card:hover { box-shadow: var(--sh2); transform: translateY(-3px); }
.r4l-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.r4l-card p { color: rgba(255,255,255,.88); font-size: .9rem; line-height: 1.6; }
.r4l-hinari { background: linear-gradient(135deg, #8E3D30, #B5432D); }
.r4l-agora { background: linear-gradient(135deg, #15803D, #16A34A); }
.r4l-oare { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.r4l-ardi { background: linear-gradient(135deg, #6D28D9, #8B5CF6); }

.oa-group { margin-bottom: 40px; }
.oa-group-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 16px; padding-bottom: 9px; border-bottom: 1px solid var(--g200); }
.oa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.oa-card { padding: 18px; font-size: .9rem; }
.oa-card h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 6px; font-family: var(--f-body); color: var(--navy); }
.oa-card p { font-size: 12.5px; color: var(--g600); margin: 0; line-height: 1.5; }

table.eres-table { width: 100%; border-collapse: collapse; }
table.eres-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--g600); font-weight: 700; padding: 13px 16px; border-bottom: 2px solid var(--g200); }
table.eres-table td { padding: 15px 16px; border-bottom: 1px solid var(--g100); font-size: 13.5px; vertical-align: top; }
table.eres-table tr:hover td { background: var(--g50); }

.member-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.member-card { padding: 22px; text-align: center; }
.member-logo { width: 56px; height: 56px; border-radius: var(--r1); margin: 0 auto 14px; object-fit: contain; background: var(--g100); display: flex; align-items: center; justify-content: center; }
.member-logo-fallback { font-family: var(--f-display); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.member-card h4 { font-size: 12.5px; font-weight: 700; line-height: 1.35; font-family: var(--f-body); color: var(--navy); }
.member-abbr { font-size: 11px; color: var(--gold-2); margin: 4px 0; font-weight: 700; }
.member-loc { font-size: 11px; color: var(--g400); }
.member-search { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.member-search input, .member-search select { padding: 11px 15px; border-radius: var(--r1); border: 1.5px solid var(--g200); font-family: var(--f-body); background: var(--card); font-size: .9rem; }
.member-search input { flex: 1; min-width: 200px; }
.member-search input:focus, .member-search select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.team-card { padding: 28px; text-align: center; }
.team-card.exec { border-top: 3px solid var(--gold); }
.team-photo { width: 144px; height: 144px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--g200); }
.team-photo-fallback { width: 144px; height: 144px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-size: 2rem; font-weight: 700; }
.team-card h3 { font-size: 1.02rem; font-family: var(--f-body); font-weight: 700; }
.team-position { color: var(--gold-2); font-size: .83rem; font-weight: 700; margin: 5px 0; }
.team-dept { font-size: .78rem; color: var(--g400); margin-bottom: 10px; }
.team-bio { font-size: .84rem; color: var(--g600); margin-bottom: 12px; line-height: 1.6; }
.team-contact { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; }
.team-contact a { color: var(--blue); }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.svc-card { padding: 28px; position: relative; }
.svc-num { font-size: .76rem; color: var(--g200); position: absolute; top: 20px; right: 22px; font-weight: 700; }
.svc-icon { width: 48px; height: 48px; border-radius: var(--r1); background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.svc-card h3 { font-size: 1.02rem; margin-bottom: 8px; font-family: var(--f-body); font-weight: 700; }
.svc-card p { font-size: .87rem; color: var(--g600); margin: 0; line-height: 1.6; }

.timeline { position: relative; padding: 20px 0 20px 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--g200); }
.tl-item { position: relative; margin-bottom: 28px; display: block; }
.tl-item::before { content: ''; position: absolute; left: -24px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue); }
.tl-dot, .tl-dot-col { display: none; }
.tl-content { text-align: left !important; grid-column: auto !important; }
.tl-year { font-size: 11px; font-weight: 700; color: var(--gold-2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; }
.tl-content h4 { font-size: 1rem; margin: 4px 0; font-family: var(--f-body); font-weight: 700; }
.tl-content p { font-size: .87rem; color: var(--g600); margin: 0; line-height: 1.6; }

@media (max-width: 720px) { .timeline { padding-left: 24px; } }

.gov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 30px; }
.gov-box { padding: 24px; text-align: center; }
.gov-box .svc-icon { margin: 0 auto 14px; }
.gov-box h4 { font-size: .96rem; margin-bottom: 7px; font-family: var(--f-body); font-weight: 700; }
.gov-box p { font-size: .82rem; color: var(--g600); margin: 0; line-height: 1.6; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.value-card { padding: 24px; border-top: 3px solid var(--blue); }
.value-card.c-brass { border-top-color: var(--gold); }
.value-card.c-navy { border-top-color: var(--navy); }
.value-card h4 { font-size: 1rem; margin-bottom: 8px; font-family: var(--f-body); font-weight: 700; }
.value-card p { font-size: .87rem; color: var(--g600); margin: 0; line-height: 1.6; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { background: var(--g50); border-radius: var(--r1); padding: 28px; border-left: 3px solid var(--gold); }
.mv-card h3 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-2); margin-bottom: 12px; font-family: var(--f-body); }
.mv-card p { color: var(--g600); margin: 0; line-height: 1.7; }
@media (max-width: 800px) { .mv-grid { grid-template-columns: 1fr; } }

.proc-list { display: flex; flex-direction: column; gap: 16px; }
.proc-item { padding: 24px; }
.proc-head { display: flex; flex-direction: column; gap: 16px; cursor: pointer; }
.proc-head-top { display: flex; align-items: flex-start; gap: 18px; }
.proc-year-badge { background: var(--navy); color: #fff; padding: 9px 16px; border-radius: var(--r1); font-weight: 700; font-family: var(--f-display); flex-shrink: 0; }
.proc-head h3 { font-size: 1.08rem; font-family: var(--f-body); font-weight: 700; }
.proc-meta { font-size: .85rem; color: var(--g600); margin-top: 5px; display: flex; align-items: center; gap: 6px; }
.proc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.proc-actions-indent { margin-left: 78px; }
@media (max-width: 560px) { .proc-actions-indent { margin-left: 0; } }
.proc-papers { display: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--g200); }
.proc-item.open .proc-papers { display: block; animation: dropdown-in .25s var(--ease); }
.proc-paper-wrap { border-bottom: 1px solid var(--g100); }
.proc-paper-wrap:last-child { border-bottom: none; }
.proc-paper { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 0; flex-wrap: wrap; }
.proc-paper-num { color: var(--gold-2); font-size: .85rem; min-width: 28px; font-weight: 700; }
.proc-paper-title { font-weight: 700; font-size: .94rem; color: var(--navy); }
.proc-paper-authors { font-size: .82rem; color: var(--g600); margin-top: 3px; }
.proc-paper-actions { display: flex; gap: 8px; flex-shrink: 0; }
.proc-abstract-panel { display: none; font-size: .87rem; color: var(--g600); line-height: 1.7; padding: 0 0 18px 40px; margin-top: -6px; }
.proc-paper-wrap.open .proc-abstract-panel { display: block; animation: dropdown-in .2s var(--ease); }

.faq-cat-tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.faq-cat-tab { padding: 9px 18px; border-radius: 20px; border: 1.5px solid var(--g200); font-size: .85rem; cursor: pointer; background: var(--card); transition: all .18s; font-weight: 600; }
.faq-cat-tab:hover { border-color: var(--blue); }
.faq-cat-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.faq-item { background: #fff; border: 1px solid var(--g200); border-radius: var(--r1); margin-bottom: 8px; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; font-weight: 700; gap: 14px; color: var(--navy); font-size: .95rem; }
.faq-q .fa-chevron-down { transition: transform .3s var(--ease); color: var(--blue); flex-shrink: 0; }
.faq-item.open .faq-q .fa-chevron-down { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--g600); font-size: .9rem; line-height: 1.7; border-top: 1px solid var(--g100); padding-top: 14px; }
.faq-a a { color: var(--blue); text-decoration: underline; }
.faq-item.open .faq-a { display: block; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 38px; align-items: start; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--g800); }
.form-group input, .form-group textarea {
  width: 100%; padding: 11px 15px; border: 1.5px solid var(--g200); border-radius: var(--r1);
  font-family: var(--f-body); font-size: .92rem; background: var(--card); transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r1); font-size: .95rem; font-family: inherit; background: #fff; }
.form-group select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }
.form-control { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r1); font-size: .95rem; font-family: inherit; }
.form-control:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }
.hint-label { font-size: .78rem; font-weight: 600; color: var(--g600); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; display: block; }

.app-form-section {
  background: var(--g50); border: 1px solid var(--line); border-radius: var(--r2);
  padding: 26px 28px; margin-bottom: 22px;
}
.app-form-section h3 {
  font-size: 1.02rem; color: var(--navy); margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--gold); display: inline-block;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.form-row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.check-pill {
  display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; font-weight: 500;
  color: var(--g800); background: #fff; border: 1px solid var(--line); border-radius: var(--r1);
  padding: 10px 13px; cursor: pointer; transition: border-color .15s, background .15s;
}
.check-pill:hover { border-color: var(--blue); }
.check-pill input[type="checkbox"], .check-pill input[type="radio"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); width: 16px; height: 16px; }
@media (max-width: 760px) {
  .form-row-2, .form-row-3, .form-row-4 { grid-template-columns: 1fr; }
  .app-form-section { padding: 20px 18px; }
}
.contact-info-card { padding: 28px; }
.contact-info-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-row .ico { width: 38px; height: 38px; border-radius: var(--r1); background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-embed { border-radius: var(--r1); overflow: hidden; margin-top: 20px; border: 1px solid var(--g200); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

table.dl-table { width: 100%; border-collapse: collapse; }
table.dl-table th { text-align: left; font-size: 11px; text-transform: uppercase; color: var(--g600); font-weight: 700; padding: 13px 16px; border-bottom: 2px solid var(--g200); }
table.dl-table td { padding: 15px 16px; border-bottom: 1px solid var(--g100); font-size: 13.5px; }
table.dl-table tr:hover td { background: var(--g50); }
.dl-file-icon { color: var(--blue); margin-right: 8px; }

.album-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.album-card { position: relative; border-radius: var(--r2); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sh1); }
.album-card:hover { box-shadow: var(--sh2); transform: translateY(-4px); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album-card:hover img { transform: scale(1.05); }
.album-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18,38,64,.9) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; }
.album-overlay h4 { color: #fff; font-size: .98rem; font-family: var(--f-body); font-weight: 700; }
.album-overlay span { font-size: .76rem; color: var(--gold); margin-top: 3px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.photo-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r1); cursor: pointer; transition: transform .25s; }
.photo-grid img:hover { transform: scale(1.03); }

.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 100%); padding: 22px 0 20px; color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(1.15rem, 2vw, 1.5rem); position: relative; }
.page-hero p { color: rgba(255,255,255,.78); margin-top: 5px; max-width: 600px; position: relative; line-height: 1.5; font-size: .88rem; }
.breadcrumb { font-size: 11px; color: rgba(255,255,255,.55); margin-bottom: 6px; position: relative; }
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: #fff; }

.pg-tab-bar { background: #fff; border-bottom: 1px solid var(--g200); position: sticky; top: 0; z-index: 40; overflow-x: auto; }
.pg-tab-bar .container { display: flex; gap: 4px; }
.pg-tab { padding: 16px 18px; font-size: .87rem; font-weight: 700; color: var(--g600); border-bottom: 3px solid transparent; white-space: nowrap; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: color .15s; }
.pg-tab:hover { color: var(--navy); }
.pg-tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.pg-tab-badge { background: var(--blue-tint); color: var(--blue); font-size: 10px; padding: 1px 8px; border-radius: 10px; font-weight: 700; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: dropdown-in .25s var(--ease); }

.cta-banner { background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: var(--r2); padding: 56px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--sh2); }
.cta-banner::before { content: none; }
.cta-banner h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 1.9rem); position: relative; }
.cta-banner p { color: rgba(255,255,255,.78); max-width: 540px; margin: 14px auto 28px; position: relative; line-height: 1.7; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-banner .callnum { background: rgba(245,217,71,.2); color: var(--gold); }

.visitor-counter { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.visitor-counter .container { display: flex; align-items: center; gap: 0; padding: 16px 24px; flex-wrap: wrap; }
.vc-label { display: flex; align-items: center; gap: 8px; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.55); margin-right: 26px; font-weight: 700; }
.vc-label i { color: var(--gold); }
.vc-stats { display: flex; gap: 28px; flex-wrap: wrap; flex: 1; }
.vc-stat { display: flex; align-items: baseline; gap: 7px; }
.vc-stat .vc-num { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; color: #fff; }
.vc-stat .vc-tag { font-size: .74rem; color: rgba(255,255,255,.5); }
@media (max-width: 720px) {
  .visitor-counter .container { padding: 14px 20px; }
  .vc-label { margin-right: 0; width: 100%; margin-bottom: 8px; }
  .vc-stats { gap: 18px; }
}

.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 40px; margin-bottom: 16px; border-radius: 9px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.65); display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all .2s; }
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-col h4 { color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--f-body); }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 11px; font-size: 12.5px; align-items: flex-start; line-height: 1.5; }
.footer-contact-item i { color: var(--gold); margin-top: 3px; width: 14px; flex-shrink: 0; }
.footer-contact-item span, .footer-contact-item a { color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,.4); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

.empty-state { text-align: center; padding: 80px 24px; color: var(--g400); }
.empty-state i { font-size: 3rem; color: var(--g200); margin-bottom: 14px; opacity: .7; }
.empty-state h3 { color: var(--g600); margin-bottom: 8px; font-size: 1.1rem; }

.alert { padding: 13px 18px; border-radius: var(--r1); font-size: .9rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: var(--success-tint); color: var(--success-2); border: 1px solid #BBF7D0; }
.alert-error { background: var(--danger-tint); color: var(--danger-2); border: 1px solid #FECACA; }

.pagination { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pg-btn, .pg-num { display: inline-flex; align-items: center; gap: 7px; width: 38px; height: 38px; justify-content: center; border-radius: var(--r1); border: 1.5px solid var(--g200); font-size: .88rem; font-weight: 600; color: var(--g600); background: var(--card); transition: all .2s; }
.pg-btn { width: auto; padding: 0 16px; }
.pg-num.pg-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.pg-btn:hover, .pg-num:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.pg-dots { padding: 0 7px; color: var(--g400); }

.detail-wrap { max-width: 800px; margin: 0 auto; }
.detail-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--g600); margin-bottom: 20px; align-items: center; }
.detail-cover { width: 100%; border-radius: var(--r2); margin-bottom: 28px; max-height: 420px; object-fit: cover; box-shadow: var(--sh1); }
.detail-body { font-size: 1rem; line-height: 1.8; }
.detail-body img { border-radius: var(--r1); margin: 20px 0; }
.detail-body h2, .detail-body h3 { margin-top: 1.4em; margin-bottom: .5em; }
.detail-body p { margin-bottom: 1.1em; }
.detail-body ul, .detail-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.detail-body ul { list-style: disc; }
.detail-body ol { list-style: decimal; }
.detail-body li { margin-bottom: .4em; }
.detail-body ul ul, .detail-body ol ul { list-style: circle; }
.detail-body ul ol, .detail-body ol ol { list-style: lower-alpha; }
.detail-share { display: flex; gap: 10px; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--g200); }
.detail-attachment { margin-top: 28px; padding: 18px 20px; background: var(--g50); border: 1px solid var(--line); border-radius: var(--r1); }
.detail-attachment .btn { width: 100%; justify-content: center; }
@media (min-width: 480px) { .detail-attachment .btn { width: auto; } }

@media (max-width: 1060px) {
  .news-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  body.is-home .section { padding: 32px 0; }
  .logo-bar { padding: 10px 16px; min-height: 88px; }
  .brand img { height: 68px; width: 68px; }
  .brand-title .name { font-size: 1.15rem; }
  .brand-title .tagline { display: none; }
}

/* ===========================================================
   PARTNERS / COLLABORATORS / SPONSORS — paged slider
   Shows a fixed group of logos at a time, then slides the whole
   group out to the right while the next group slides in.
   =========================================================== */
.partners-slider { position: relative; }
.partners-slider-viewport { overflow: hidden; }
.partners-slider-track {
  display: flex;
  transition: transform .6s var(--ease);
}
.partners-page {
  display: grid;
  gap: 24px;
  flex: 0 0 100%;
  width: 100%;
}
.partner-tile {
  display: flex; align-items: center; justify-content: center;
  height: 84px; background: #fff; border-radius: var(--r1);
  border: 1px solid var(--line); box-shadow: var(--sh1); padding: 14px 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  filter: grayscale(35%) opacity(.85);
}
.partner-tile:hover { transform: translateY(-4px); box-shadow: var(--sh2); filter: none; }
.partner-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-tile-fallback {
  font-family: var(--f-display); font-weight: 700; font-size: .85rem; color: var(--navy);
  text-align: center; line-height: 1.3;
}
.partners-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.partners-slider-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: var(--g200); cursor: pointer; transition: background .2s var(--ease), width .2s var(--ease);
}
.partners-slider-dot.is-active { background: var(--gold); width: 24px; border-radius: 5px; }
@media (max-width: 700px) {
  .partner-tile { height: 64px; padding: 10px 16px; }
  .partners-page { gap: 14px; }
}

/* ===========================================================
   SITEMAP PAGE (clean HTML version, linked from footer)
   =========================================================== */
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-bottom: 36px; }
.sitemap-col h3 { font-size: 1rem; margin-bottom: 14px; }
.sitemap-col h3 a { color: var(--navy); }
.sitemap-col h3 a:hover { color: var(--blue); }
.sitemap-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sitemap-col ul li a { color: var(--g600); font-size: .9rem; transition: color .2s var(--ease), padding-left .2s var(--ease); display: inline-block; }
.sitemap-col ul li a:hover { color: var(--gold-2); padding-left: 4px; }
.sitemap-xml-note {
  margin-top: 28px; padding: 16px 20px; background: var(--g50); border: 1px solid var(--line);
  border-radius: var(--r1); font-size: .88rem; color: var(--g600); display: flex; align-items: center; gap: 10px;
}
.sitemap-xml-note i { color: var(--gold-2); }
.sitemap-xml-note a { font-weight: 700; color: var(--blue); }
@media (max-width: 1000px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   BACK TO TOP BUTTON
   =========================================================== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: var(--sh2);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }
.back-to-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 640px) { .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; } }
