/* ============================================================
   ZLS brand system: navy / gold / cream, per client-supplied
   design (zls_homepage_design.html)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --zls-navy: #061b33;
  --zls-navy-2: #0b2949;
  --zls-gold: #c99624;
  --zls-gold-2: #e0ae3b;
  --zls-cream: #f7f6f1;

  /* A faint geometric lattice + 8-point star medallion, in the spirit of
     Zanzibar's carved Stone Town doors and mashrabiya lattice screens -
     used as a very low-opacity texture, never a loud print. */
  --zls-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M0 0L56 56M56 0L0 56' stroke='%23e0ae3b' stroke-opacity='0.10' stroke-width='1'/%3E%3Cpath d='M16 16H40V40H16Z M28 11L45 28L28 45L11 28Z' fill='none' stroke='%23e0ae3b' stroke-opacity='0.18' stroke-width='1'/%3E%3C/svg%3E");
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  background: var(--zls-cream);
}

/* Client hates whitespace: the theme's .bb-inner (every content-builder
   row wrapper) defaults to 100px top/bottom padding, with presets going
   up to 180px - kill it at the source instead of tuning it per row. */
.bb-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
h1, h2, h3, h4, h5, h6,
.title,
.site-branding__name {
  font-family: "Playfair Display", Georgia, serif;
}

/* Top contact bar - flat .container > .contact-items + .top-links row,
   ported directly from the client's design (zls_homepage_design.html) */
.topbar {
  background: var(--zls-navy);
  color: #fff;
  font-size: 13px;
}
.topbar .container {
  position: relative;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar .contact-items-center {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 24px;
  align-items: center;
}
@media (min-width: 768px) {
  .topbar .contact-items-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
.topbar .contact-items {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 24px;
  align-items: center;
}
.topbar .contact-item {
  display: flex;
  gap: 8px;
  align-items: center;
  opacity: .96;
}
.topbar .contact-item i {
  color: var(--zls-gold-2);
  font-size: 12px;
}
.topbar .top-links {
  display: flex;
  gap: 22px;
  font-weight: 600;
}
.topbar a {
  color: #fff;
}
.topbar a:hover {
  color: var(--zls-gold-2);
}
/* Drupal wraps each block's body in its own block/content/field divs -
   collapse those out of layout so contact-items/top-links stay a flat
   flex row reaching the real .contact-item / <a> children, matching the
   design's plain markup instead of stacking under the Drupal wrappers. */
.topbar .contact-items div:not(.contact-item),
.topbar .contact-items-center div:not(.contact-item),
.topbar .top-links div {
  display: contents;
}

/* Nav underline uses gold on hover/active (theme accent already recolored) */
.navigation .gva_menu > li > a.active,
.navigation .gva_menu > li.active > a {
  color: var(--zls-gold) !important;
}

/* ---- Navbar: logo LEFT, nav (+ search) RIGHT, one tight row ---- */
header.header-2 .header-main,
header.header-default .header-main,
header.header-1 .header-main {
  padding: 0 !important;
  background: #fff;
}
header .site-branding-logo img {
  width: auto;
}
/* Desktop only - mobile keeps the theme's own stacked/off-canvas nav */
@media (min-width: 992px) {
  header.header-2 .header-main-inner .content-inner,
  header.header-default .header-main-inner .content-inner,
  header.header-1 .header-main-inner .content-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    float: none !important;
    width: 100% !important;
  }
  header.header-2 .header-main-inner .branding,
  header.header-default .header-main-inner .branding,
  header.header-1 .header-main-inner .branding {
    flex: 0 0 auto;
    float: none !important;
    width: auto !important;
  }
  header.header-2 .header-main-inner .header-inner,
  header.header-default .header-main-inner .header-inner,
  header.header-1 .header-main-inner .header-inner {
    float: none !important;
    width: auto !important;
  }
}
header.header-2 .header-main-inner .navigation .gva_menu > li > a,
header.header-default .header-main-inner .navigation .gva_menu > li > a,
header.header-1 .header-main-inner .navigation .gva_menu > li > a {
  padding-top: 36px;
  padding-bottom: 36px;
  color: var(--zls-navy);
  font-weight: 700;
}
header.header-2 .header-main-inner .navigation .gva_menu > li > a:hover,
header.header-2 .header-main-inner .navigation .gva_menu > li:hover > a,
header.header-2 .header-main-inner .navigation .gva_menu > li.menu-item--active-trail > a,
header.header-default .header-main-inner .navigation .gva_menu > li > a:hover,
header.header-default .header-main-inner .navigation .gva_menu > li:hover > a,
header.header-default .header-main-inner .navigation .gva_menu > li.menu-item--active-trail > a,
header.header-1 .header-main-inner .navigation .gva_menu > li > a:hover,
header.header-1 .header-main-inner .navigation .gva_menu > li:hover > a,
header.header-1 .header-main-inner .navigation .gva_menu > li.menu-item--active-trail > a {
  color: var(--zls-gold) !important;
}
/* Search icon at the end of the nav row (desktop only - mobile keeps the
   theme's own absolute-positioned icon over the collapsed header) */
@media (min-width: 992px) {
  .gva-search-region {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    margin-left: 22px;
    margin-top: 0 !important;
    display: inline-flex;
    align-items: center;
  }
  .gva-search-region .search-content {
    top: 60px !important;
  }
}
.gva-search-region .icon {
  color: var(--zls-navy) !important;
  font-size: 16px !important;
}
/* header-2's old two-row layout gave .main-menu a gold bar background;
   it's now just the nav wrapper nested in the single flex row - keep it
   transparent so it doesn't paint behind the nav text. */
header.header-2 .header-main-inner .main-menu {
  background: transparent !important;
}

/* Hero row with a navy diagonal-gradient overlay over the background photo */
.hero-overlay-dark.gva-parallax-background,
.hero-overlay-dark {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
.hero-overlay-dark.gva-parallax-background::before,
.hero-overlay-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(5, 27, 50, 0.60);
  /*background: linear-gradient(90deg, rgba(4,25,48,.96) 0%, rgba(5,27,50,.92) 34%, rgba(5,27,50,.5) 62%, rgba(5,27,50,.2) 100%);*/
}
.hero-overlay-dark > .bb-inner,
.hero-overlay-dark > .gva-parallax-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
/* .bb-container (Bootstrap ".container", ~1200px/centered) and .gsc-column
   are position:relative by the THEME's own default CSS, not by anything
   above - so they're each a valid containing block on their own, and the
   slideshow's position:absolute was resolving against .gsc-column (boxed
   to that centered 1200px column) rather than the full-width row. Forcing
   them static here (hero row only) makes it skip both and resolve against
   .bb-inner instead - full row width and height. The hero copy text still
   renders fine inside its own (shorter, auto-height, still-centered)
   column - margin:auto centering doesn't depend on position. */
.hero-overlay-dark .bb-container,
.hero-overlay-dark .gsc-column {
  position: static;
}
/* The hero copy text is a plain (position:static) element sitting next to
   the now-absolutely-positioned slideshow inside that same column - browsers
   paint positioned boxes above static ones regardless of DOM order or
   z-index, so without this the slideshow would cover the text entirely. */
.hero-overlay-dark .column-content {
  position: relative;
  z-index: 2;
}
@media (max-width: 767.98px) {
  .hero-overlay-dark.gva-parallax-background,
  .hero-overlay-dark {
    /* Not 0: every child is now position:absolute (see the .bb-container /
       .gsc-column rules above), so nothing is left in normal flow to give
       this row a height - min-height is the only thing sizing it. */
    min-height: 480px;
  }
}

/* Hero slideshow: only the background photo layer cycles, the hero copy
   (.bb-inner, above, z-index 2) stays put. Each .hero-slide-item is an
   absolutely-positioned, full-bleed image; js/zls-custom.js toggles
   .is-active every few seconds to crossfade between them. */
.zls-hero-slideshow-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.zls-hero-slideshow-wrap .views-element-container,
.zls-hero-slideshow-wrap .zls-hero-slideshow,
.zls-hero-slideshow-wrap .view-content-wrap {
  position: absolute;
  inset: 0;
}
.zls-hero-slideshow .hero-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.zls-hero-slideshow .hero-slide-item.is-active {
  opacity: 1;
}
.zls-hero-slideshow .hero-slide-item .field-content,
.zls-hero-slideshow .hero-slide-item .item-image {
  position: absolute;
  inset: 0;
}
.zls-hero-slideshow .hero-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Hero content - literal markup/classes ported from the design
   (.eyebrow / h1 / .gold-line / p / .buttons / .btn) */
.hero-overlay-dark .eyebrow {
  color: var(--zls-gold-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .7px;
  margin-bottom: 20px;
}
.hero-overlay-dark h1 {
  font: 600 clamp(34px, 4vw, 50px)/1.15 "Playfair Display", Georgia, serif;
  color: #fff;
  margin: 0 0 25px;
  max-width: 640px;
}
.hero-overlay-dark .gold-line {
  width: 80px;
  height: 2px;
  background: var(--zls-gold-2);
  margin: 0 0 24px;
}
.hero-overlay-dark p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 600px;
  color: #eef2f7;
  margin: 0 0 31px;
}
.hero-overlay-dark .buttons {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.hero-overlay-dark .btn {
  padding: 15px 27px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  transition: .2s;
  text-transform: none;
  line-height: 1.2;
}
.hero-overlay-dark .btn-primary {
  background: var(--zls-gold);
  color: #fff;
  border: 1px solid var(--zls-gold);
}
.hero-overlay-dark .btn-primary:hover {
  background: var(--zls-gold-2);
  border-color: var(--zls-gold-2);
  transform: translateY(-2px);
  color: #fff;
}
.hero-overlay-dark .btn-outline {
  background: transparent;
  border: 1px solid var(--zls-gold);
  color: #fff;
}
.hero-overlay-dark .btn-outline:hover {
  background: rgba(201, 150, 36, .12);
  color: #fff;
}

/* Stats card - literal markup/classes ported from the design
   (.stats-card / .stat / .stat-icon), overlapping the hero bottom edge */
.zls-stats-row {
  margin-top: -36px;
  position: relative;
  z-index: 3;
}
.stats-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(6, 27, 51, .12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px 20px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 4px 30px;
  border-right: 1px solid #e8e8e5;
}
.stat:last-child {
  border-right: 0;
}
.stat-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: var(--zls-navy);
  color: var(--zls-gold-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.stat strong {
  display: block;
  font: 600 27px/1 "Playfair Display", Georgia, serif;
  color: var(--zls-navy);
}
.stat span {
  display: block;
  font-size: 14px;
  color: #525c6d;
  margin-top: 7px;
}
@media (max-width: 767.98px) {
  .stats-card {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid #e8e8e5;
    padding: 14px 12px;
  }
}

/* Remaining theme-native buttons elsewhere on the page (Strategic Plan CTA,
   etc.) use the theme's own .btn-theme/.btn-theme-second - base gold state
   is already correct (global accent recolor), just fix the hover/second
   states which still carry the old skin's blue/navy hardcoded hex. */
.btn-theme:hover, .btn-theme:focus, .btn-theme:active {
  background: var(--zls-gold-2) !important;
  color: #fff !important;
}
.btn-theme-second {
  background: transparent;
  border: 1px solid var(--zls-gold);
  color: var(--zls-navy);
}
.btn-theme-second:hover, .btn-theme-second:focus, .btn-theme-second:active {
  background: rgba(201, 150, 36, .12) !important;
  color: var(--zls-navy) !important;
}

/* Three-panel cards (For Advocates / Our Mission / News) - literal
   markup/classes ported from the design (.panel/.list/.list-icon/.explore,
   .quote/.signature, .news-card/.news-image/...) */
.panel {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  min-height: 320px;
  height: 100%;
  box-sizing: border-box;
}
.mission-block {
  margin-bottom: 20px;
}
.mission-block:last-child {
  margin-bottom: 0;
}
.mission-block h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--zls-gold);
  margin: 0 0 8px;
  font-family: "DM Sans", Arial, sans-serif;
}
.mission-block p {
  font-size: 15px;
  line-height: 1.6;
  color: #172238;
  margin: 0;
}
.panel h2 {
  font: 600 25px "Playfair Display", Georgia, serif;
  margin: 0 0 9px;
  color: var(--zls-navy);
}
.panel .gold-line {
  width: 42px;
  height: 2px;
  background: var(--zls-gold);
  margin: 0 0 22px;
}
.list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  font-size: 15px;
  border-bottom: 1px dashed #eee;
}
.list li:last-child { border-bottom: 0; }
.list-icon {
  width: 22px;
  color: var(--zls-gold);
  font-size: 15px;
  text-align: center;
}
.explore {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 17px;
  color: var(--zls-gold);
  font-weight: 700;
}
.explore:hover { color: var(--zls-gold-2); }

.quote {
  font-size: 18px;
  line-height: 1.65;
  margin: 9px 0 27px;
  color: #172238;
  font-style: italic;
}
.signature {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 26px;
  color: var(--zls-navy);
  margin-bottom: 3px;
}
.sign-label {
  font-weight: 700;
  color: var(--zls-navy);
}
.sign-sub {
  font-size: 13px;
  color: #667085;
  margin-top: 3px;
}

.news-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e5;
}
.news-card:last-of-type { border-bottom: 0; }
.news-image {
  height: 76px;
  border-radius: 5px;
  background-size: cover;
  background-position: center;
}
.news-date {
  font-size: 11px;
  color: #8991a0;
  margin-bottom: 5px;
}
.news-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
}
.news-title a { color: var(--zls-navy); }
.news-desc {
  font-size: 12px;
  color: #667085;
  line-height: 1.45;
  margin-top: 5px;
}
.read {
  font-size: 12px;
  color: var(--zls-gold);
  font-weight: 700;
  margin-top: 5px;
  display: inline-block;
}
.view-all {
  display: inline-flex;
  gap: 10px;
  color: var(--zls-gold);
  font-weight: 700;
  margin-top: 13px;
}
.view-all:hover, .read:hover { color: var(--zls-gold-2); }

/* Strategic Plan row: the text column is much shorter than the gallery
   carousel column, but Bootstrap's row stretches both to match - align to
   the top instead so the row hugs its tallest column's real content. */
.zls-strategic-row .row-wrapper {
  align-items: flex-start;
}

/* CTA banner */
.zls-cta-banner .gsc-call-to-action {
  background: var(--zls-navy);
  border-radius: 9px;
  padding: 42px 48px;
  color: #fff;
}
.zls-cta-banner .gsc-call-to-action .title,
.zls-cta-banner .gsc-call-to-action .title span {
  color: #fff;
}
.zls-cta-banner .gsc-call-to-action .desc,
.zls-cta-banner .gsc-call-to-action .desc p {
  color: #ccd6e3;
}

/* "Our Partners" carousel (Views block, gvaowl style, sitewide via the
   before_footer region on every page) - navy strip, white rounded
   logo/wordmark cards, always-visible circular nav arrows (the theme
   hides owl-nav until hover by default; override that here). */
.footer-top {
  background: var(--zls-lattice) repeat, var(--zls-navy);
  padding: 40px 0;
}
#block-zls-partners-carousel .block-title {
  text-align: center;
  margin: 0 0 24px;
}
#block-zls-partners-carousel .block-title span {
  color: var(--zls-gold-2);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.partners-carousel {
  padding: 0 56px;
}
.partners-carousel .item {
  padding: 0 10px;
}
.partner-card {
  background: #fff;
  border-radius: 8px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.partner-card strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  color: var(--zls-navy);
  line-height: 1.2;
}
.partner-card span {
  font-size: 10px;
  color: #667085;
  margin-top: 5px;
  line-height: 1.3;
}
.partners-carousel.owl-carousel .owl-nav {
  opacity: 1 !important;
}
.partners-carousel.owl-carousel .owl-nav > div {
  background: transparent;
  border: 1px solid var(--zls-gold-2);
  border-radius: 50%;
  color: var(--zls-gold-2) !important;
}
.partners-carousel.owl-carousel .owl-nav > div i {
  color: var(--zls-gold-2) !important;
}
.partners-carousel.owl-carousel .owl-nav > div:hover {
  background: var(--zls-gold-2);
  border-color: var(--zls-gold-2);
}
.partners-carousel.owl-carousel .owl-nav > div:hover i {
  color: var(--zls-navy) !important;
}
.partners-carousel.owl-carousel .owl-nav > div.owl-prev {
  left: 0 !important;
}
.partners-carousel.owl-carousel .owl-nav > div.owl-next {
  right: 0 !important;
}

/* Footer: navy background, 4-column layout, with a faint geometric
   lattice texture (see --zls-lattice below) nodding to the carved wooden
   screens and doors of Zanzibar's Stone Town. */
footer#footer {
  background: var(--zls-lattice) repeat, #041426;
}
footer#footer .footer-column h4,
footer#footer .footer-column .block-title,
footer#footer .footer-column h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #fff;
  font-size: 20px;
  margin-bottom: 18px;
}
footer#footer, footer#footer p, footer#footer li, footer#footer a {
  color: #aeb9c7;
}
footer#footer a:hover { color: var(--zls-gold-2); }
footer#footer .copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  background: transparent;
}
.zls-footer-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  color: #fff;
}
.zls-footer-tag {
  font-size: 12px;
  color: var(--zls-gold-2);
  margin: 6px 0 14px;
}
.zls-contact-list, .zls-links-list-footer {
  list-style: none;
  margin: 0;
  padding: 0;
}
.zls-contact-list li {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  font-size: 14px;
}
.zls-contact-list i { color: var(--zls-gold-2); width: 16px; }
.zls-links-list-footer li { margin: 9px 0; font-size: 14px; line-height: 1.35; }
/* Quick Links footer column: internal nav links + partner/government
   links side by side in two sub-columns. */
.footer-links-columns {
  display: flex;
  gap: 20px;
}
.footer-links-columns .zls-links-list-footer {
  flex: 1 1 0;
  min-width: 0;
}

/* ZLS: keep the full main navigation (through Contact Us) on one line on desktop */
@media (min-width: 992px) {
  .header-content-layout,
  .main-menu .container {
    max-width: 1600px;
  }
  .navigation .gva_menu > li > a {
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navigation .gva_menu > li > a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }
}

/* Leadership page: card grid for the "team" View's Leadership Grid block
   display (Team content type - currently just Name + Position, no photo
   field yet), plus the "Get in Touch with the Secretariat" CTA row. */
.zls-leadership-grid .view-content-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 24px;
}
.zls-leadership-grid .leader-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
}
.zls-leadership-grid .leader-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--zls-navy);
}
.zls-leadership-grid .leader-role {
  font-size: 14px;
  color: #66727d;
  margin-top: 7px;
}
@media (max-width: 900px) {
  .zls-leadership-grid .view-content-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .zls-leadership-grid .view-content-wrap {
    grid-template-columns: 1fr;
  }
}

/* Home page only ("Our Leadership" row, marked with the zls-leadership-pyramid
   class - see the "Brand" row in the Home builder, bid 4): arrange the same
   team members into a centered, tapering 5-3-1 pyramid instead of a plain
   grid, so the last member in display order sits alone at the point.
   Hardcoded to the current headcount (9) - if the roster grows/shrinks,
   the row sizes and :nth-child selectors below need updating to match. */
.zls-leadership-pyramid .zls-leadership-grid .view-content-wrap {
  grid-template-columns: repeat(10, 1fr);
}
.zls-leadership-pyramid .zls-leadership-grid .leader-card {
  grid-column: span 2;
}
.zls-leadership-pyramid .zls-leadership-grid .leader-card:nth-child(6) {
  grid-column: 3 / span 2;
}
.zls-leadership-pyramid .zls-leadership-grid .leader-card:nth-child(7) {
  grid-column: 5 / span 2;
}
.zls-leadership-pyramid .zls-leadership-grid .leader-card:nth-child(8) {
  grid-column: 7 / span 2;
}
.zls-leadership-pyramid .zls-leadership-grid .leader-card:nth-child(9) {
  grid-column: 5 / span 2;
}
@media (max-width: 900px) {
  .zls-leadership-pyramid .zls-leadership-grid .view-content-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .zls-leadership-pyramid .zls-leadership-grid .leader-card,
  .zls-leadership-pyramid .zls-leadership-grid .leader-card:nth-child(6),
  .zls-leadership-pyramid .zls-leadership-grid .leader-card:nth-child(7),
  .zls-leadership-pyramid .zls-leadership-grid .leader-card:nth-child(8),
  .zls-leadership-pyramid .zls-leadership-grid .leader-card:nth-child(9) {
    grid-column: auto;
  }
}
@media (max-width: 600px) {
  .zls-leadership-pyramid .zls-leadership-grid .view-content-wrap {
    grid-template-columns: 1fr;
  }
}

.zls-leadership-contact {
  padding-top: 45px;
  margin-top: 15px;
  border-top: 1px solid #d7dce0;
}
.zls-leadership-contact h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--zls-navy);
  margin: 0 0 16px;
}
.zls-leadership-contact .gold-line {
  width: 42px;
  height: 2px;
  background: var(--zls-gold);
  margin: 0 0 22px;
}
.zls-leadership-contact p {
  color: #66727d;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}
.zls-leadership-contact-right {
  border-left: 2px solid var(--zls-gold);
  padding-left: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
@media (max-width: 767.98px) {
  .zls-leadership-contact-right {
    border-left: 0;
    border-top: 2px solid var(--zls-gold);
    padding-left: 0;
    padding-top: 25px;
    margin-top: 25px;
  }
}
.zls-leadership-contact-btn.gsc-button {
  border-radius: 2px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

/* Home page "What We Do / Our Programmes" section: card grid for the
   "service" View's block_2 display (view_mode "teaser"), matching the
   ZLS_Leadership-style mockup - icon badge, title, description, a
   checklist (field_service_checklist) and a navy "Learn more" footer bar. */
.zls-programme-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(6, 27, 51, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.zls-programme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(6, 27, 51, 0.14);
}
.zls-programme-card-body {
  flex: 1;
  text-align: center;
  padding: 45px 32px 26px;
}
.zls-programme-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--zls-navy);
  border: 2px solid var(--zls-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.zls-programme-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.zls-programme-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.35;
  color: var(--zls-navy);
  margin: 0 0 16px;
}
.zls-programme-title a {
  color: inherit;
  text-decoration: none;
}
.zls-programme-title a:hover {
  color: var(--zls-gold);
}
.zls-programme-desc {
  color: #66727d;
  font-size: 15px;
  line-height: 1.75;
}
.zls-programme-divider {
  width: 40px;
  height: 2px;
  background: var(--zls-gold);
  margin: 22px auto 20px;
}
.zls-programme-checklist {
  text-align: left;
}
.zls-programme-checklist .field__item {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 14px;
  color: var(--zls-navy-2);
  line-height: 1.4;
}
.zls-programme-checklist .field__item:last-child {
  margin-bottom: 0;
}
.zls-programme-checklist .field__item::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: var(--zls-gold);
  border-radius: 50%;
}
.zls-programme-footer {
  margin-top: auto;
  background: var(--zls-navy);
  text-align: center;
  padding: 16px 20px;
}
.zls-programme-learnmore {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  color: var(--zls-gold-2);
  text-decoration: none;
}
.zls-programme-learnmore .arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s ease;
}
.zls-programme-learnmore:hover {
  color: #fff;
}
.zls-programme-learnmore:hover .arrow {
  transform: translateX(4px);
}

/* ZLS: the breadcrumb banner text is always white (theme default), but the
   background photo isn't always dark enough for that to stay readable.
   A permanent dark scrim keeps it legible regardless of which photo is
   used, instead of relying on picking only very dark images. */
.breadcrumb-style.gva-parallax-background {
  position: relative;
}
.breadcrumb-style.gva-parallax-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zls-lattice) repeat, rgba(13, 43, 58, 0.6);
  z-index: 0;
}
.breadcrumb-style.gva-parallax-background > .container,
.breadcrumb-style.gva-parallax-background > .gva-parallax-inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Home page: Legal Aid Intake + Featured Law Firms hub row
   (replaces the old Strategic Plan / Gallery carousel row),
   adapted from the client's zls_portal_extended_workflows.html
   mockup onto the site's own navy/gold brand tokens.
   ============================================================ */
.zls-hub-eyebrow {
  display: inline-block;
  color: var(--zls-gold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--zls-gold);
  padding-bottom: 4px;
  margin-bottom: 10px;
}
.zls-hub-title {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--zls-navy);
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 8px;
}
.zls-hub-lead {
  color: #64748B;
  font-size: 13px;
  margin: 0 0 18px;
}

.zls-gateway-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(6, 27, 51, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.zls-gateway-card:hover { box-shadow: 0 6px 20px rgba(6, 27, 51, 0.1); }
.zls-gateway-header {
  background: var(--zls-navy);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.zls-gateway-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zls-gold-2);
}
.zls-gateway-icon svg { width: 22px; height: 22px; }
.zls-gateway-title {
  font-family: "Playfair Display", Georgia, serif;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 3px;
}
.zls-gateway-subtitle {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  line-height: 1.4;
  margin: 0;
}
.zls-gateway-body { padding: 22px 24px; flex: 1; }
.zls-badges-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.zls-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.zls-badge svg { width: 13px; height: 13px; }
.zls-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.zls-badge-green { background: #ECFDF5; color: #047857; border: 1px solid rgba(4, 120, 87, 0.2); }
.zls-badge-gray { background: #F1F5F9; color: #475569; border: 1px solid #E2E8F0; }
.zls-badge-gold { background: rgba(200, 147, 39, 0.15); color: #886414; border: 1px solid rgba(200, 147, 39, 0.3); text-transform: uppercase; }
.zls-badge-sky { background: #E0F2FE; color: #0369A1; border: 1px solid rgba(3, 105, 161, 0.2); text-transform: uppercase; }

.zls-checklist { list-style: none; padding: 0; margin: 0; }
.zls-checklist li { font-size: 13.5px; color: #475569; margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.zls-checklist li:last-child { margin-bottom: 0; }
.zls-checklist li svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--zls-gold); margin-top: 1px; }

.zls-gateway-footer { padding: 0 24px 24px; margin-top: auto; }
.btn-portal-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--zls-navy);
  border: 1.5px solid var(--zls-gold);
  color: var(--zls-gold-2) !important;
  text-align: center;
  padding: 14px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-portal-primary:hover { background: var(--zls-navy-2); }
.btn-portal-primary .line1 { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.btn-portal-primary .line1 svg { width: 16px; height: 16px; }
.btn-portal-primary .line2 { font-size: 11px; font-weight: 500; color: rgba(224, 174, 59, 0.8); margin-top: 3px; }

/* Featured Law Firm cards (View: law_firms, node--law-firm.html.twig teaser) */
.zls-firm-list .view-content-wrap { display: block; }
.zls-firm-card { background: #fff; border-radius: 12px; margin-bottom: 12px; overflow: hidden; border: 1px solid #E2E8F0; box-shadow: 0 1px 3px rgba(6, 27, 51, 0.05); transition: box-shadow 0.2s ease; }
.zls-firm-card:hover { box-shadow: 0 6px 20px rgba(6, 27, 51, 0.08); }
.zls-firm-card.premier { border-color: rgba(200, 147, 39, 0.4); }
.zls-firm-inner { padding: 20px 20px 4px; }
.zls-firm-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.zls-firm-title { font-family: "Playfair Display", Georgia, serif; font-size: 17px; color: var(--zls-navy); margin: 0 0 3px; line-height: 1.3; }
.zls-firm-title a { color: inherit; text-decoration: none; }
.zls-firm-title a:hover { color: var(--zls-gold); }
.zls-firm-meta { font-size: 12px; color: #64748B; }
.zls-firm-tags-label { font-size: 10.5px; font-weight: 600; color: #64748B; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; }
.zls-firm-tags { margin-bottom: 16px; }
.zls-firm-tags .field { display: flex; gap: 6px; flex-wrap: wrap; }
.zls-firm-tags .field__item { background: #F1F5F9; color: #334155; font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 6px; }
.zls-firm-footer-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--zls-navy); color: var(--zls-gold-2) !important; text-align: center;
  padding: 13px 16px; font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.zls-firm-footer-btn svg { width: 15px; height: 15px; }
.zls-firm-footer-btn:hover { background: var(--zls-navy-2); }

.zls-ad-onboard-box {
  background: var(--zls-gold-light, #FEF9EE);
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.zls-ad-onboard-text strong { color: var(--zls-navy); font-size: 11px; }
.zls-ad-onboard-text p { font-size: 10px; color: #475569; margin: 2px 0 0; }
.btn-advertise-firm {
  background: var(--zls-gold); color: #fff !important; font-size: 10px; font-weight: 700; padding: 8px 14px; border-radius: 4px; text-decoration: none; text-transform: uppercase; white-space: nowrap;
}
.btn-advertise-firm:hover { background: var(--zls-gold-2); }

@media (max-width: 767.98px) {
  .zls-gateway-card, .zls-firm-card { margin-bottom: 20px; }
}
