/* ===========================================================
   ISRI — public website theme (Bootstrap 5.3.8 + custom CSS)
   Inspired by esri.ie : editorial research-institute look
   =========================================================== */

:root {
  --brand:      #006d77;   /* deep teal */
  --brand-d:    #00525a;
  --brand-l:    #0a8a95;
  --brand-xl:   #e0f0f1;
  --accent:     #e29c2e;
  --ink:        #122a30;
  --body:       #ffffff;
  --soft:       #f3f6f7;
  --line:       #e3e9ea;
  --muted:      #5f7276;

  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { scroll-behavior: smooth; }
body { font-family: var(--bs-body-font-family); color: var(--ink); background: var(--body); }
a { text-decoration: none; color: var(--brand); }
a:hover { color: var(--brand-d); }
h1,h2,h3,h4,h5,h6 { font-weight: 800; letter-spacing: -0.015em; }
.text-muted-2 { color: var(--muted) !important; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.75rem 0; }

/* ---- Buttons ---- */
.btn { border-radius: 2px; font-weight: 600; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; }
.btn-outline-brand { border-color: var(--brand); color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-light-brand { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light-brand:hover { background: var(--brand-xl); color: var(--brand-d); }

/* ---- Public menu / brand ---- */
.site-header {
  background: var(--brand-d);
  border-bottom: 0;
  box-shadow: 0 18px 36px -30px rgba(8, 18, 34, .75);
}
.public-utilbar {
  background: var(--brand-d);
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #dfe7f2;
  font-size: .78rem;
}
.public-utilbar-inner {
  min-height: 34px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.public-utilbar nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}
.public-utilbar a {
  color: #dfe7f2;
  font-weight: 700;
  letter-spacing: .01em;
}
.public-utilbar a:hover { color: #fff; }
.public-mainbar {
  background: var(--brand-d);
  color: #fff;
}
.public-mainbar-inner {
  min-height: 94px;
  display: flex;
  align-items: stretch;
  gap: 1.4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: #fff;
  font-weight: 800;
}
.public-brand {
  min-width: 290px;
  padding: .8rem 0;
  margin-right: auto;
}
.public-brand:hover { color: #fff; }
.brand .logo-box {
  width: 78px;
  height: 58px;
  border-radius: 0;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .82rem;
  border: 1px solid rgba(255,255,255,.26);
  overflow: hidden;
  flex: 0 0 auto;
}
.brand .b-name {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0;
}
.brand .b-tag {
  color: #c8d4e4;
  font-size: .72rem;
  font-weight: 700;
}
.public-primary-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.public-primary-nav a,
.public-menu-toggle {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,.18);
  min-width: 128px;
  padding: 0 1.05rem;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.public-primary-nav a:hover,
.public-menu-toggle:hover,
.public-menu-toggle[aria-expanded="true"] {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.public-menu-toggle {
  display: none;
  border-top: 0;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 0;
  background: transparent;
  gap: .6rem;
  text-transform: uppercase;
}
.public-menu-toggle .bi { font-size: 1.55rem; line-height: 1; }
.public-mega-menu {
  background: var(--brand-d);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.16);
}
.public-mega-grid {
  min-height: 330px;
  padding: 2.4rem 0 3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.public-mega-grid a {
  color: #fff;
  min-height: 92px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: 1.18rem;
  font-weight: 800;
}
.public-mega-grid a:nth-child(4n) { border-right: 0; }
.public-mega-grid a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.navbar-nav .nav-link {
  color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem .9rem;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--brand); }
@media (max-width: 991.98px) {
  .public-utilbar-inner { justify-content: flex-start; overflow-x: auto; }
  .public-utilbar nav { gap: 1rem; white-space: nowrap; }
  .public-mainbar-inner { min-height: 78px; gap: .75rem; }
  .public-brand { min-width: 0; flex: 1 1 auto; }
  .brand .logo-box { width: 58px; height: 46px; }
  .brand .b-name { font-size: 1.15rem; }
  .brand .b-tag { display: none; }
  .public-primary-nav { display: none; }
  .public-menu-toggle { display: flex; min-width: 96px; padding: 0 .8rem; border-right: 0; }
  .public-mega-grid { grid-template-columns: 1fr; min-height: auto; padding: .4rem 0 1.2rem; }
  .public-mega-grid a { min-height: 58px; border-right: 0; font-size: 1rem; }
}

/* ---- Hero feature blocks ---- */
.hero { padding: 2rem 0 1rem; }
.feature {
  position: relative; border-radius: 8px; overflow: hidden; min-height: 360px;
  display: flex; align-items: flex-end; color: #fff;
  background: linear-gradient(160deg, #0a8a95, #00525a);
}
.feature.alt { background: linear-gradient(160deg, #3a6073, #16222a); }
.feature .ph-icon {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 3rem; color: rgba(255,255,255,.16);
}
.feature .feature-body {
  position: relative; z-index: 2; padding: 1.8rem;
  background: linear-gradient(0deg, rgba(7,32,38,.82), rgba(7,32,38,0));
  width: 100%;
}
.feature.small { min-height: 172px; }
.cat-label {
  display: inline-block; background: var(--accent); color: #1a1200;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: .25rem .55rem; border-radius: 3px; margin-bottom: .6rem;
}
.feature h2, .feature h3 { color: #fff; }
.feature a.stretched-link { color: #fff; }

/* ---- Section headings ---- */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--brand); padding-bottom: .6rem; margin-bottom: 1.6rem;
}
.section-head h2 { font-size: 1.5rem; margin: 0; }
.section-head .view-all { font-weight: 700; font-size: .9rem; }

/* ---- Publication / news list items ---- */
.pub-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.pub-item:last-child { border-bottom: 0; }
.pub-date { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pub-item h3 { font-size: 1.06rem; margin: .35rem 0 .35rem; }
.pub-item h3 a { color: var(--ink); }
.pub-item h3 a:hover { color: var(--brand); }
.pub-tag {
  display: inline-block; background: var(--brand-xl); color: var(--brand);
  font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; margin-right: .4rem;
}

/* ---- News cards ---- */
.news-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; height: 100%; background:#fff; transition: box-shadow .15s, transform .15s; }
.news-card:hover { box-shadow: 0 12px 30px -16px rgba(18,42,48,.35); transform: translateY(-3px); }
.news-card .thumb {
  height: 190px; background: linear-gradient(135deg,#dbe7e8,#eef3f3);
  display: grid; place-items: center; color: #9fb1b3; font-size: 2rem; position: relative;
}
.news-card .thumb img { width:100%; height:100%; object-fit: cover; }
.news-card .cat {
  position: absolute; top: .7rem; left: .7rem; background: var(--brand); color: #fff;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: .25rem .55rem; border-radius: 3px;
}
.news-card .body { padding: 1.1rem 1.15rem 1.3rem; }
.news-card h3 { font-size: 1.08rem; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--brand); }

/* ---- Research areas grid ---- */
.area-card {
  display: flex; align-items: center; gap: .8rem;
  border: 1px solid var(--line); border-radius: 6px; padding: 1rem 1.1rem;
  background: #fff; color: var(--ink); font-weight: 600; height: 100%;
  transition: border-color .15s, background .15s, color .15s;
}
.area-card:hover { border-color: var(--brand); background: var(--brand-xl); color: var(--brand-d); }
.area-card .ico {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: var(--brand-xl); color: var(--brand); display: grid; place-items: center; font-size: 1.15rem;
}

/* ---- Stats band ---- */
.stats-band { background: var(--brand); color: #fff; }
.stats-band .num { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.stats-band .lbl { opacity: .85; font-size: .9rem; }

/* ---- Newsletter ---- */
.newsletter { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- Page banner (interior pages) ---- */
.page-banner {
  background: linear-gradient(160deg, var(--brand-d), var(--brand)); color: #fff; padding: 3rem 0;
}
.page-banner .crumb { font-size: .82rem; opacity: .85; }
.page-banner .crumb a { color: #fff; text-decoration: underline; }
.page-banner h1 { font-size: 2.1rem; margin: .3rem 0 0; }

/* ---- Filter bar ---- */
.filter-bar { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }

/* ---- Agenda table ---- */
.agenda-table thead th { background: var(--brand); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; border: none; }
.agenda-table td { vertical-align: top; }
.agenda-table .t-time { font-weight: 700; color: var(--brand); white-space: nowrap; }

/* ---- Event meta ---- */
.event-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.event-meta .m { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-weight: 600; }
.event-meta .m i { color: var(--brand); }

/* ---- Team ---- */
.team-card { text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 1.6rem 1rem; background:#fff; height:100%; }
.team-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--brand-xl); color: var(--brand); display: grid; place-items: center; font-size: 2rem;
}
.team-card .role { color: var(--brand); font-weight: 600; font-size: .85rem; }

/* ---- Logo strip (empty placeholders) ---- */
.logo-slot {
  height: 80px; border: 1px dashed #c4d0d1; border-radius: 8px; background: #fafcfc;
  display: grid; place-items: center; color: #9fb1b3; font-size: .82rem; font-weight: 600;
}

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #b6c6c8; padding: 3.5rem 0 0; font-size: .92rem; }
.site-footer h5 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1.1rem; }
.site-footer a { color: #b6c6c8; }
.site-footer a:hover { color: #fff; }
.site-footer .f-links li { margin-bottom: .55rem; list-style: none; }
.site-footer .f-links { padding: 0; }
.social-ico {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: inline-grid; place-items: center; color: #fff; margin-right: .4rem;
}
.social-ico:hover { background: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding: 1.2rem 0; font-size: .82rem; color: #8ea0a2; }


.esri-home-hero {
  padding: 4.4rem 0 2.35rem;
  background: #fff;
}
.esri-home-hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.7rem, 6.6vw, 5.15rem);
  line-height: .98;
  font-weight: 800;
}
.esri-home-main,
.esri-home-digest {
  background: #fff;
  padding: 0 0 3rem;
}
.esri-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(280px, .82fr);
  gap: 3rem;
  align-items: start;
}
.esri-digest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}
.esri-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid var(--brand);
  padding-top: .85rem;
  margin-bottom: 1.15rem;
}
.esri-section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.38rem;
  line-height: 1.2;
}
.esri-section-head a {
  color: var(--brand);
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
}
.esri-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.esri-feature-card h2 {
  margin: .8rem 0 .3rem;
  font-size: 1.12rem;
  line-height: 1.25;
}
.esri-feature-card h2 a,
.esri-link-item h3 a {
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.esri-feature-card h2 a { -webkit-line-clamp: 3; }
.esri-link-item h3 a { -webkit-line-clamp: 2; }
.esri-feature-card h2 a:hover,
.esri-link-item h3 a:hover {
  color: var(--brand);
}
.esri-feature-image {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
  color: #9fb1b3;
  font-size: 2.1rem;
}
.esri-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.esri-feature-card time,
.esri-link-item time {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.esri-list-block {
  min-width: 0;
}
.esri-link-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.esri-link-item:first-of-type {
  padding-top: 0;
}
.esri-link-item h3 {
  margin: 0 0 .35rem;
  font-size: 1.02rem;
  line-height: 1.36;
}
.esri-research-areas {
  padding: 3.25rem 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.esri-area-layout {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.35fr);
  gap: 2.25rem;
  align-items: start;
}
.esri-area-layout h2 {
  margin: 0 0 .8rem;
  color: var(--ink);
  font-size: 1.55rem;
}
.esri-area-layout p {
  margin: 0;
  color: #263d42;
  font-size: 1.04rem;
  line-height: 1.7;
}
.esri-area-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.4rem;
}
.esri-area-links a {
  color: var(--ink);
  font-weight: 800;
  border-bottom: 1px solid var(--line);
  padding-bottom: .45rem;
}
.esri-area-links a:hover {
  color: var(--brand);
  border-color: var(--brand);
}
@media (max-width: 991.98px) {
  .esri-home-grid,
  .esri-digest-grid,
  .esri-area-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .esri-home-hero {
    padding-top: 3rem;
  }
}
@media (max-width: 575.98px) {
  .esri-feature-grid,
  .esri-area-links {
    grid-template-columns: 1fr;
  }
  .esri-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }
}


.people-hero {
  padding: 3.5rem 0 2.25rem;
  background: #f3f6f7;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.people-hero h1 {
  margin: 0 0 .65rem;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1;
}
.people-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.people-directory {
  padding: 3rem 0 4rem;
  background: #f3f6f7;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}
.people-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  min-width: 0;
  height: 100%;
  box-shadow: 0 8px 22px rgba(18,42,48,.04);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.people-card:hover,
.people-card:focus-within {
  border-color: var(--brand);
  box-shadow: 0 18px 34px rgba(18,42,48,.12);
  transform: translateY(-2px);
}
.people-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.people-card-hit:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
}
.people-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #dfe7e8;
  overflow: hidden;
}
.people-photo-wrap img,
.people-placeholder {
  width: 100%;
  height: 100%;
}
.people-photo-wrap img {
  display: block;
  object-fit: cover;
}
.people-placeholder {
  display: grid;
  place-items: center;
  color: var(--brand);
  background: linear-gradient(135deg, #e0f0f1, #f8fbfb);
  font-size: 4rem;
}
.people-card-body {
  padding: 1rem 1rem 1.15rem;
}
.people-card-body h2 {
  margin: 0 0 .35rem;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}
.people-card-body p {
  margin: 0 0 .45rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.people-card-body a {
  position: relative;
  z-index: 2;
  overflow-wrap: anywhere;
  color: var(--brand);
  font-size: .88rem;
  font-weight: 700;
}
.person-modal .modal-content {
  border: 0;
  border-radius: 0;
  overflow: hidden;
}
.person-modal-head {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem;
  background: var(--brand-d);
  color: #fff;
}
.person-modal-photo {
  width: 132px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
.person-modal-photo img,
.person-modal-photo .people-placeholder {
  width: 100%;
  height: 100%;
}
.person-modal-photo img {
  display: block;
  object-fit: cover;
}
.person-modal-head h2 {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.person-modal-head p {
  margin: 0 0 .45rem;
  color: #d9e3ee;
  font-weight: 700;
}
.person-modal-head a {
  color: #fff;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.person-modal-body {
  padding: 1.6rem;
}
.person-modal-actions {
  margin-bottom: 1.35rem;
}
.service-image-wrap img,
.service-modal-photo img {
  object-fit: cover;
}
.service-card .people-card-body p {
  min-height: 3.8rem;
}
.person-modal-body h3 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.15rem;
}
@media (max-width: 1199.98px) {
  .people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .people-directory {
    padding-top: 2rem;
  }
  .person-modal-head {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: .9rem;
    padding: 1rem;
  }
  .person-modal-photo {
    width: 88px;
  }
  .person-modal-body {
    padding: 1.15rem;
  }
}
@media (max-width: 480px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .feature { min-height: 280px; }
  .section { padding: 2.75rem 0; }
}
.page-hero { background: linear-gradient(160deg, var(--brand-d), var(--brand)); color: #fff; padding: 3rem 0; }
.page-hero p { max-width: 720px; opacity: .86; margin-bottom: 0; }
.page-hero .cat-label { background: rgba(255,255,255,.14); color: #fff; }
.pub-item h2 { font-size: 1.25rem; margin: .35rem 0; }
.pub-item h2 a { color: var(--ink); }
.pub-item h2 a:hover { color: var(--brand); }
.side-item { border-bottom: 1px solid var(--line); padding: .85rem 0; }
.side-item h3 { font-size: 1rem; margin: 0 0 .25rem; }
.side-item h3 a { color: var(--ink); }
.area-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.area-pill { display: inline-flex; align-items: center; min-height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: .55rem .85rem; background: #fff; color: var(--ink); font-weight: 700; }
.area-card { flex-direction: column; align-items: flex-start; color: var(--ink); }
.area-card h2 { font-size: 1.1rem; margin: 0; }
.area-card p { color: var(--muted); font-weight: 400; margin: .35rem 0 0; }
.filter-bar { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(140px, .35fr) minmax(160px, .45fr) auto; gap: .65rem; margin-bottom: 1.5rem; }
.narrow { max-width: 820px; }
.person-card { border: 1px solid var(--line); border-radius: 8px; padding: 1.15rem; height: 100%; background: #fff; }
.avatar.lg { width: 54px; height: 54px; border-radius: 50%; background: var(--brand-xl); color: var(--brand); display: grid; place-items: center; font-weight: 800; margin-bottom: .75rem; }
.person-card h2 { font-size: 1.08rem; margin: 0 0 .2rem; }
.footer {
  background: var(--brand-d);
  color: #d9e3ee;
}
.public-footer {
  padding: 4.75rem 0 0;
}
.public-footer-inner {
  max-width: 1040px;
}
.public-footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 1fr));
  gap: 3rem;
  align-items: start;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}
.footer-brand:hover { color: #fff; }
.footer-logo {
  width: 88px;
  height: 68px;
  border-radius: 0;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 800;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.22);
}
.footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-site-name,
.footer-site-tagline {
  display: block;
}
.footer-site-name {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}
.footer-site-tagline {
  margin-top: .4rem;
  color: #bfd0e1;
  font-size: .82rem;
  line-height: 1.45;
  font-weight: 700;
}
.public-footer-col h2 {
  margin: 0 0 1.05rem;
  color: #fff;
  font-size: .92rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}
.public-footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: .62rem;
  color: #d9e3ee;
  font-size: .95rem;
  line-height: 1.35;
  font-weight: 700;
}
.public-footer-col a:hover {
  color: #fff;
}
.public-footer-contact p {
  margin: 0 0 .9rem;
  color: #bfd0e1;
  font-size: .92rem;
  line-height: 1.7;
}
.public-footer-contact p a {
  display: inline;
  margin: 0;
}
.footer-contact-copy {
  color: #bfd0e1;
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: .9rem;
}
.footer-social-links {
  display: flex;
  gap: .65rem;
  margin-top: 1rem;
}
.footer-social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.22);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 1.05rem;
}
.footer-social-links a:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.public-footer-bottom {
  margin-top: 4.25rem;
  min-height: 64px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #bfd0e1;
  font-size: .82rem;
  font-weight: 700;
}
@media (max-width: 991.98px) {
  .filter-bar { grid-template-columns: 1fr; }
  .public-footer { padding-top: 3.5rem; }
  .public-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .public-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .public-footer-grid { grid-template-columns: 1fr; }
  .public-footer-bottom { align-items: center; justify-content: center; padding: 1rem 0; text-align: center; }
}
.publication-detail { padding: 2rem 0 4rem; }
.pub-breadcrumb { display: flex; gap: .5rem; align-items: center; color: var(--muted); font-size: .86rem; margin-bottom: 1.75rem; }
.pub-main h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; margin: .7rem 0 1rem; max-width: 920px; }
.pub-date { color: var(--muted); font-weight: 700; margin-bottom: 1.25rem; }
.download-row { display: inline-flex; align-items: center; gap: .65rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .9rem 0; margin: .5rem 0 1.6rem; font-weight: 800; }
.download-row i { font-size: 1.35rem; color: #b3261e; }
.pub-content { font-size: 1.05rem; line-height: 1.75; color: #263d42; }
.pub-sidebar { border-left: 1px solid var(--line); }
.meta-panel { padding: 0 0 1.4rem 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.meta-panel h2 { font-size: 1.05rem; margin-bottom: .8rem; }
.meta-panel ul { list-style: none; padding: 0; margin: 0; }
.meta-panel li { margin-bottom: .45rem; font-weight: 700; }
.meta-panel dl { margin: 0; }
.meta-panel dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; margin-top: .9rem; }
.meta-panel dd { margin: .2rem 0 0; font-weight: 700; }
@media (max-width: 991.98px) { .pub-sidebar { border-left: 0; } .meta-panel { padding-left: 0; } }
.brand .logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.contact-form { border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem; background: #fff; }
.contact-form .form-control { border-radius: 6px; border-color: var(--line); }
.contact-form .form-control:focus { border-color: var(--brand-l); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--brand) 18%, transparent); }
.navbar-nav .dropdown-menu { border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 16px 34px -26px rgba(18,42,48,.45); padding: .45rem; }
.navbar-nav .dropdown-item { border-radius: 4px; color: var(--ink); font-weight: 700; font-size: .9rem; padding: .55rem .7rem; }
.navbar-nav .dropdown-item:hover, .navbar-nav .dropdown-item:focus { background: var(--brand-xl); color: var(--brand-d); }
@media (min-width: 992px) { .navbar-nav .dropdown:hover .dropdown-menu { display: block; margin-top: 0; } }

.feature.has-image {
  background-size: cover;
  background-position: center;
}
.feature.has-image::before,
.page-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,32,38,.72), rgba(7,32,38,.22));
  z-index: 1;
}
.feature.has-image .feature-body,
.page-hero.has-image .container {
  position: relative;
  z-index: 2;
}
.page-hero.has-image {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: end;
}
.pub-item.with-media {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.pub-thumb,
.side-thumb {
  display: block;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}
.pub-thumb {
  width: 160px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}
.pub-thumb img,
.side-thumb img,
.detail-image img,
.person-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.side-item.with-media {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
}
.side-thumb {
  width: 76px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
}
.detail-image {
  margin: 0 0 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--soft);
  border: 1px solid var(--line);
}
.person-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  margin-bottom: 1rem;
  background: var(--soft);
}
@media (max-width: 575.98px) {
  .pub-item.with-media,
  .side-item.with-media {
    grid-template-columns: 1fr;
  }
  .pub-thumb,
  .side-thumb {
    width: 100%;
  }
}

.event-detail-hero {
  background: var(--brand);
  color: #fff;
  padding: 3.4rem 0 3.8rem;
}
.event-detail-hero nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  font-weight: 700;
}
.event-detail-hero nav a {
  color: #fff;
}
.event-type {
  display: inline-block;
  margin-bottom: .85rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.event-detail-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  line-height: 1.05;
}
.event-detail-section {
  padding: 3.4rem 0 4rem;
  background: #fff;
}
.event-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 3rem;
  align-items: start;
}
.event-detail-main {
  min-width: 0;
  color: #263d42;
}
.event-intro {
  margin-bottom: 1.6rem;
  color: var(--ink);
  font-size: 1.17rem;
}
.event-detail-aside {
  display: grid;
  gap: 1.25rem;
}
.event-detail-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}
.event-detail-image img,
.event-image-placeholder {
  width: 100%;
  height: 100%;
}
.event-detail-image img {
  display: block;
  object-fit: cover;
}
.event-image-placeholder {
  display: grid;
  place-items: center;
  color: var(--brand);
  background: linear-gradient(135deg, #e0f0f1, #f8fbfb);
  font-size: 4rem;
}
.event-info-card {
  border-top: 3px solid var(--brand);
  background: var(--soft);
  padding: 1.25rem;
}
.event-info-card h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.22rem;
}
.event-info-card dl {
  margin: 0;
}
.event-info-card dt {
  margin-top: .95rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.event-info-card dt:first-child {
  margin-top: 0;
}
.event-info-card dd {
  margin: .25rem 0 0;
  color: var(--ink);
  font-weight: 800;
}
@media (max-width: 991.98px) {
  .event-detail-grid {
    grid-template-columns: 1fr;
  }
  .event-detail-aside {
    order: -1;
  }
}
@media (max-width: 575.98px) {
  .event-detail-hero {
    padding: 2.5rem 0 2.75rem;
  }
  .event-detail-section {
    padding: 2rem 0 3rem;
  }
}

.rich-content {
  line-height: 1.75;
}
.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content h2,
.rich-content h3,
.rich-content blockquote {
  margin: 0 0 1rem;
}
.rich-content h2 {
  font-size: 1.55rem;
}
.rich-content h3 {
  font-size: 1.25rem;
}
.rich-content ul,
.rich-content ol {
  padding-left: 1.35rem;
}
.rich-content a {
  font-weight: 700;
}
.rich-content blockquote {
  border-left: 4px solid var(--brand);
  padding-left: 1rem;
  color: var(--muted);
}
