/* Curaçao Portal — core layout & components matching official designs */

:root {
  --navy: #253C7E;
  --blue: #0A609D;
  --teal: #23A7BF;
  --green: #158B44;
  --lime: #87BB40;
  --yellow: #E4D435;
  --orange: #E28A24;
  --terracotta: #DB552B;
  --red: #D32027;
  --plum: #8C215A;
  --plum-hover: #6E1A47;
  --pink: #C04A7A;
  --gray-100: #F5F5F5;
  --gray-200: #E6E6E6;
  --gray-500: #999;
  --gray-600: #666;
  --gray-700: #555;
  --gray-900: #1A1A1A;
  --white: #fff;
  --container: 1200px;
  --pad: 24px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(0,0,0,.06);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; font-family: inherit; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .03em; border: none; border-radius: 8px;
  cursor: pointer; text-decoration: none; transition: background .2s, color .2s;
}
.btn--plum { background: var(--plum); color: var(--white); }
.btn--plum:hover { background: var(--plum-hover); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border: 1.5px solid var(--gray-200); }
.btn--outline:hover { border-color: var(--navy); }
.btn--block { width: 100%; }

/* Header */
.utility-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 6px 0; }
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.utility-nav { margin-right: auto; }
.utility-menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.utility-menu a { color: var(--gray-600); font-size: 13px; font-weight: 500; }
.utility-menu a:hover { color: var(--navy); }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; background: transparent;
  border: 1px solid var(--gray-200); border-radius: 6px; padding: 4px 10px;
  font-size: 13px; color: var(--gray-900); cursor: pointer;
}
.main-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; }
.main-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo__mark {
  width: 40px; height: 40px; border-radius: 6px;
  background: linear-gradient(180deg, var(--red), var(--orange) 25%, var(--yellow) 45%, var(--green) 65%, var(--blue) 85%, var(--navy));
}
.site-logo__title { font-size: 14px; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.primary-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.primary-menu > li > a { color: var(--gray-900); font-size: 14px; font-weight: 600; }
.primary-menu > li > a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; position: relative; }
.mobile-toggle { display: none; background: #fff; border: 1px solid var(--gray-200); width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; border-radius: 8px; padding: 0; }
.mobile-toggle span { display: block; height: 2px; background: var(--gray-900); width: 18px; transition: transform .2s ease, opacity .2s ease; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: min(280px, calc(100vw - 32px));
  max-width: 90vw;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
  padding: 8px;
  z-index: 200;
}
.mobile-menu:not([hidden]) { display: block; }
.mobile-menu__list,
.mobile-menu .primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu__list a,
.mobile-menu .primary-menu a {
  display: block;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-900);
  border-radius: 8px;
  text-decoration: none;
}
.mobile-menu__list a:hover,
.mobile-menu .primary-menu a:hover {
  background: var(--gray-100);
  color: var(--navy);
}
.mobile-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
}
.mobile-menu__label {
  margin: 10px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.mobile-menu__list--utility {
  border-top: 1px solid var(--gray-200);
  padding-top: 4px;
}

/* Breadcrumb */
.breadcrumb { margin-bottom: 12px; }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; }
.breadcrumb__item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); }
.breadcrumb__item:not(:last-child)::after { content: '›'; opacity: .7; }
.breadcrumb__item a { color: inherit; }
.breadcrumb__item--current { font-weight: 600; color: #fff; }

/* ========== MINISTRY HERO (full-bleed image + centered title) ========== */
.ministry-hero {
  position: relative; min-height: 320px; display: flex; align-items: center;
  background: var(--navy); color: #fff; overflow: hidden;
}
.ministry-hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.ministry-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,40,90,.75), rgba(10,60,120,.45));
}
.ministry-hero__inner { position: relative; z-index: 1; padding: 48px 0; text-align: center; width: 100%; }
.ministry-hero .breadcrumb__item,
.ministry-hero .breadcrumb__item a,
.ministry-hero .breadcrumb__item--current { color: rgba(255,255,255,.9); }
.ministry-hero .breadcrumb { justify-content: flex-start; text-align: left; max-width: var(--container); margin: 0 auto 24px; padding: 0 var(--pad); }
.ministry-hero .breadcrumb__list { justify-content: flex-start; }
.ministry-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; text-transform: uppercase;
  color: #fff; margin: 0 0 12px; letter-spacing: -.01em;
}
.ministry-subtitle { font-size: 1.05rem; font-weight: 400; color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto; line-height: 1.5; }

/* ========== SERVICE HERO (frosted card) ========== */
.service-hero {
  position: relative; min-height: 300px; display: flex; align-items: flex-end;
  padding: 40px 0 28px; background: var(--navy); overflow: hidden;
}
.service-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.service-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,40,80,.2), rgba(20,40,80,.5));
}
.service-hero__inner { position: relative; z-index: 1; width: 100%; }
.service-hero__card {
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-radius: var(--radius-lg); padding: 28px 32px; max-width: 900px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.service-hero .breadcrumb__item,
.service-hero .breadcrumb__item a { color: var(--gray-600); }
.service-hero .breadcrumb__item--current { color: var(--gray-900); }
.service-hero .breadcrumb__item:not(:last-child)::after { color: var(--gray-500); }
.service-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem); text-transform: uppercase;
  color: var(--navy); margin: 0 0 8px;
}
.service-subtitle { margin: 0; color: var(--gray-600); font-size: 1rem; font-weight: 400; }

/* Quick facts */
.quick-facts { background: var(--gray-100); padding: 28px 0 32px; border-bottom: 1px solid var(--gray-200); }
.quick-facts__label { font-size: 13px; font-weight: 600; color: var(--gray-600); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-200); }
.quick-facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.qf-card {
  background: var(--white); border-radius: var(--radius); padding: 16px 18px;
  display: flex; gap: 12px; align-items: center; border: 1px solid rgba(0,0,0,.04); box-shadow: var(--shadow);
}
.qf-card__icon {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(140,33,90,.08);
  color: var(--plum); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.qf-card__label { display: block; font-size: 12px; color: var(--gray-600); }
.qf-card__value { display: block; font-size: 15px; font-weight: 700; color: var(--gray-900); }

/* Ministry services grid */
.ministry-services { background: var(--gray-100); padding: 40px 0 32px; }
.section-title {
  /* base; service/ministry overrides apply the underline */
  font-size: 1.15rem; font-weight: 800; text-transform: uppercase; color: var(--navy);
  margin: 0 0 20px; letter-spacing: .02em;
}
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card {
  background: var(--white); border-radius: var(--radius); padding: 0;
  border: 1px solid var(--gray-200); text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s; overflow: hidden;
  display: flex; flex-direction: column;
}
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.svc-card__media {
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
  overflow: hidden;
}
.svc-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.svc-card__body { padding: 16px 18px 18px; }
.svc-card__icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(35,167,191,.12);
  color: var(--teal); display: flex; align-items: center; justify-content: center;
  margin: 18px 18px 0;
}
.svc-card__title { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.svc-card__text { font-size: 13px; color: var(--gray-600); margin: 0; line-height: 1.45; }
.open-all {
  display: flex; justify-content: center; margin-top: 16px;
}
.open-all a {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px;
  padding: 12px 28px; font-size: 13px; font-weight: 600; color: var(--navy);
}

/* Ministry layout: sidebar + content */
.ministry-body { padding: 40px 0 56px; background: var(--white); }
.ministry-layout {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start;
}
.ministry-nav-card, .ministry-contact-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.ministry-nav-card h3, .ministry-contact-card h3 {
  font-size: 14px; font-weight: 800; color: var(--navy); margin: 0 0 12px;
}
.topic-nav { list-style: none; margin: 0; padding: 0; }
.topic-nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--gray-700);
  margin-bottom: 4px;
}
.topic-nav a:hover, .topic-nav a.is-active {
  background: #EEF5FB; color: var(--navy); font-weight: 600;
}
.topic-nav a.is-active { border-left: 3px solid var(--teal); }
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13px; color: var(--gray-700); }
.contact-lines svg { flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.contact-lines strong { display: block; color: var(--gray-900); font-weight: 600; }
.contact-lines span { display: block; font-size: 12px; color: var(--gray-600); }

.ministry-panel {
  background: var(--gray-100); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px;
}
.ministry-panel h2 {
  font-size: 1.1rem; text-transform: uppercase; margin: 0 0 16px; color: var(--navy);
}
.panel-card {
  background: var(--white); border-radius: var(--radius); padding: 20px; margin-bottom: 14px;
}
.panel-card h3 { font-size: 15px; margin: 0 0 8px; color: var(--navy); }
.panel-card p { margin: 0 0 10px; font-size: 14px; color: var(--gray-700); line-height: 1.6; }
.panel-card p:last-child { margin-bottom: 0; }
.minister-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
.minister-row img { border-radius: 10px; width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.minister-label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--gray-600); margin: 0 0 4px; }
.minister-name {
  font-size: 15px; font-weight: 800; color: var(--navy); margin: 0 0 10px;
  border-left: 3px solid var(--teal); padding-left: 10px;
}

/* News list */
.news-section { background: var(--white); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--gray-200); }
.news-section h2 { font-size: 1.1rem; text-transform: uppercase; margin: 0 0 16px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.news-card { text-decoration: none; color: inherit; }
.news-card img { border-radius: 10px; width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 10px; }
.news-card h3 { font-size: 15px; margin: 0 0 4px; color: var(--navy); }
.news-card time { font-size: 12px; color: var(--gray-500); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-top: 1px solid var(--gray-200); padding: 14px 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.news-list a { font-weight: 600; color: var(--navy); font-size: 14px; }
.news-list time { font-size: 12px; color: var(--gray-500); white-space: nowrap; }

/* ========== SERVICE DETAIL layout ========== */
.service-body { padding: 40px 0 48px; }
.service-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start;
}
.service-main .section-block {
  background: var(--gray-100); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px;
}

/* Body section titles — PDF style: uppercase + rule under the words */
.service-main .section-block > h2,
.service-main h2,
.service-main .wp-block-heading,
.ministry-panel > h2,
.news-section > h2,
.related .section-title,
.faq-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid #D9D9D9;
  line-height: 1.35;
}

.service-main .section-block > h2 {
  margin-bottom: 16px;
}

/* Nested h3 inside white cards stay sentence case */
.service-main .inner-card h3,
.service-main .wp-block-group.inner-card h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: none;
  padding-bottom: 0;
  margin: 0 0 8px;
  color: var(--navy);
}

/* FAQ block title uses same rule */
.service-main .faq-list,
.service-main .wp-block-group.faq-list {
  margin-top: 8px;
}
.inner-card {
  background: var(--white); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px;
}
.inner-card h3 { font-size: 15px; margin: 0 0 8px; }
.inner-card p { font-size: 14px; color: var(--gray-700); margin: 0 0 8px; }
.info-callout {
  border-left: 4px solid var(--plum); background: #F8F0F4; border-radius: 0 10px 10px 0;
  padding: 12px 14px; margin-top: 12px;
}
.info-callout--teal { border-left-color: var(--teal); background: #E8F6F9; }
.info-callout strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 4px; }
.info-callout p { margin: 0; font-size: 13px; color: var(--gray-700); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gray-200);
  font-size: 14px; color: var(--gray-700);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: rgba(21,139,68,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23158B44' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
}

.side-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px;
  padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.side-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin: 0 0 14px; }
.side-card img { border-radius: 10px; width: 100%; margin-bottom: 12px; }
.side-meta { border-left: 3px solid var(--green); padding-left: 12px; }
.side-meta .role { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--gray-600); margin: 0; }
.side-meta .name { font-size: 14px; font-weight: 700; color: var(--gray-900); margin: 2px 0 6px; }
.side-meta .org { font-size: 13px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.side-meta .desc { font-size: 12px; color: var(--gray-600); margin: 0 0 10px; line-height: 1.5; }
.download-list, .news-side-list { list-style: none; margin: 0; padding: 0; }
.download-list li, .news-side-list li { border-bottom: 1px solid var(--gray-200); padding: 10px 0; }
.download-list li:last-child, .news-side-list li:last-child { border-bottom: none; }
.download-list a { display: flex; gap: 8px; font-size: 13px; font-weight: 500; color: var(--blue); }
.side-hint { font-size: 12px; color: var(--gray-600); margin: 8px 0 0; line-height: 1.4; }
.service-panel { background: var(--gray-100); border-radius: 16px; padding: 20px; margin-top: 20px; }
.service-panel h2 {
  margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--navy);
}
.service-panel .panel-card { background: #fff; border-radius: 12px; padding: 16px 18px; }
.panel-lead { margin: 0 0 10px; color: var(--gray-700); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative; padding: 8px 0 8px 28px; color: var(--gray-700); border-bottom: 1px solid var(--gray-200);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--green); background: var(--green);
}
.legal-card { font-size: 14px; color: var(--gray-700); }
.service-video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 10px; overflow: hidden; }
.service-video iframe, .service-video embed, .service-video video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.service-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--gray-200); aspect-ratio: 4/3; }
.service-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.news-side-list a { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.news-side-list time { font-size: 11px; color: var(--gray-500); }

/* FAQ */
.faq-item {
  border: 1px solid var(--gray-200); border-radius: 10px; margin-bottom: 8px; overflow: hidden; background: var(--white);
}
.faq-item__q {
  width: 100%; text-align: left; padding: 16px 18px; background: var(--white); border: none;
  font-family: inherit; font-weight: 600; font-size: 14px; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item__q::after { content: '+'; color: var(--plum); font-size: 18px; font-weight: 400; }
.faq-item.is-open .faq-item__q::after { content: '−'; }
.faq-item__a { display: none; padding: 0 18px 16px; font-size: 14px; color: var(--gray-700); }
.faq-item.is-open .faq-item__a { display: block; }

/* Related */
.related { background: var(--gray-100); padding: 40px 0 48px; border-top: 1px solid var(--gray-200); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid var(--gray-200);
  text-decoration: none; color: inherit; display: block;
}
.related-card:hover { box-shadow: var(--shadow); color: inherit; }
.related-card h3 { font-size: 15px; margin: 0 0 6px; color: var(--navy); }
.related-card p { font-size: 13px; color: var(--gray-600); margin: 0; }

/* Page */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,35,80,.35) 0%, rgba(20,35,80,.82) 100%);
}
.page-hero__inner { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 36px; }
.page-hero--compact .page-hero__inner { padding-top: 32px; padding-bottom: 28px; }
.page-hero .breadcrumb__item,
.page-hero .breadcrumb__item a { color: rgba(255,255,255,.88); }
.page-title {
  margin: 0; color: #fff; font-size: clamp(1.5rem, 4vw, 2.6rem); font-weight: 800;
  letter-spacing: .02em; text-transform: uppercase;
  max-width: min(16em, 100%);
  line-height: 1.15;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.page-standfirst {
  margin: 12px 0 0;
  max-width: min(640px, 100%);
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.page-layout { padding: 36px 0 64px; }
.page-panel {
  background: var(--gray-100); border-radius: 16px; padding: 28px;
}
.page-panel .entry-content {
  background: #fff; border-radius: 12px; padding: 24px 28px;
}
.archive-wrap { padding: 36px 0 64px; }
.archive-pagination { margin-top: 32px; }

/* News article */
.article-hero { background: #fff; padding-bottom: 8px; }
.article-hero__media img {
  width: 100%; max-height: 420px; object-fit: cover; display: block;
}
.article-hero__inner { padding: 28px var(--pad) 8px; }
.article-kicker {
  margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--plum);
}
.article-title {
  margin: 0 0 10px; color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.article-meta { margin: 0 0 12px; color: var(--gray-600); font-size: 14px; }
.article-standfirst {
  margin: 0; max-width: 720px; font-size: 1.15rem; color: var(--gray-700); line-height: 1.5;
}
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px;
  padding: 28px var(--pad) 64px; align-items: start;
}
.article-body {
  background: var(--gray-100); border-radius: 16px; padding: 28px;
}
.article-body.entry-content > * {
  background: transparent;
}
.article-aside .side-card { margin-bottom: 16px; }
.news-side-list { list-style: none; margin: 0; padding: 0; }
.news-side-list li { padding: 10px 0; border-bottom: 1px solid var(--gray-200); }
.news-side-list a { color: var(--navy); font-weight: 600; display: block; }
.news-side-list time { font-size: 12px; color: var(--gray-500); }

@media (max-width: 768px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-hero__inner,
  .article-layout {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  .article-title { overflow-wrap: anywhere; word-break: break-word; }
  .page-panel, .article-body { padding: 18px; }
}

/* Footer */
.footer-main { background: var(--gray-100); padding: 48px 0 40px; border-top: 1px solid var(--gray-200); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 32px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; color: var(--navy); margin: 0 0 14px; letter-spacing: .03em; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu a { display: block; font-size: 14px; color: var(--gray-600); padding: 4px 0; }
.footer-menu a:hover { color: var(--navy); }
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 180px; padding: 12px 14px; border: 1px solid var(--gray-200);
  border-radius: 8px; font-size: 14px; font-family: inherit;
}
.copyright-bar { background: var(--white); border-top: 1px solid var(--gray-200); padding: 16px 0; }
.copyright-bar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.copyright-bar p { margin: 0; font-size: 13px; color: var(--gray-600); }
.legal-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.legal-menu a { font-size: 13px; color: var(--gray-600); }

/* Entry content defaults */
.entry-content > *:first-child { margin-top: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ministry-layout, .service-layout { grid-template-columns: 1fr; }
  .quick-facts__grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .minister-row { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --pad: 22px; }
  .primary-nav, .utility-menu { display: none; }
  .mobile-toggle { display: flex; }
  .svc-grid { grid-template-columns: 1fr; }
  .archive-wrap,
  .ministry-services .container,
  .home-band .container {
    padding-left: max(22px, env(safe-area-inset-left, 0px));
    padding-right: max(22px, env(safe-area-inset-right, 0px));
  }
  .svc-card,
  .archive-card {
    box-sizing: border-box;
    max-width: 100%;
  }
  .service-hero__card { padding: 20px; margin: 0 4px; }
  .home-hero {
    min-height: 320px;
    margin: 0 12px 8px;
    border-radius: 14px;
    padding: 28px 24px 24px;
    box-sizing: border-box;
  }
  .home-hero .container.home-hero__inner,
  .home-hero .home-hero__inner {
    padding: 0 !important;
    max-width: none;
    width: 100%;
    margin: 0;
  }
  .home-hero h1 { font-size: 1.7rem; }
  .home-hero p { font-size: 1rem; margin-bottom: 20px; }
  .page-hero .container.page-hero__inner,
  .page-hero .page-hero__inner {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    max-width: 100%;
  }
  .page-title {
    font-size: 1.45rem;
    letter-spacing: 0;
    max-width: 100%;
  }
  .page-standfirst { font-size: 0.95rem; max-width: 100%; }
  .utility-bar__inner { padding-left: 4px; padding-right: 4px; }
}

/* Language switcher — flag buttons in a row (not a dropdown) */
.lang-switcher {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
}
.lang-switcher .wp-block-lsdp-language-switcher,
.lang-switcher .lsdp-layout-horizontal,
.lang-switcher ul,
.lang-switcher .lang-switcher__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}
.lang-switcher .lsdp-lang-item,
.lang-switcher .lang-item,
.lang-switcher li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang-switcher .lsdp-lang-item a,
.lang-switcher a,
.lang-switcher .lang-flag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  padding: 3px;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  background: #fff;
  text-decoration: none;
  line-height: 0;
  cursor: pointer;
  box-sizing: border-box;
}
.lang-switcher .lsdp-lang-item a:hover,
.lang-switcher a:hover,
.lang-switcher .lang-flag-btn:hover,
.lang-switcher .lsdp-lang-item.current-lang a,
.lang-switcher .current-lang a,
.lang-switcher li.current-lang .lang-flag-btn {
  border-color: var(--navy);
  background: var(--gray-100);
  box-shadow: 0 0 0 2px rgba(37, 60, 126, 0.18);
}
.lang-switcher .lsdp-lang-image,
.lang-switcher .lsdp-lang-image img,
.lang-switcher .lsdp-lang-item img,
.lang-switcher a img,
.lang-switcher .lang-item img,
.lang-switcher .pll-flag,
.lang-switcher .pll-flag img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.lang-switcher .lang-flag {
  font-size: 16px;
  line-height: 1;
}
.lang-switcher .lsdp-lang-name,
.lang-switcher .lang-name {
  display: none;
}
.lang-menu {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  padding: 4px 10px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
}
.lang-menu .current-menu-item a,
.lang-menu a:hover {
  color: var(--navy);
  background: var(--gray-100);
}

/* ========== HOME PAGE ========== */
.home-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  color: #fff;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  /* Curaçao coastal / Willemstad-inspired hero image */
  background-image:
    linear-gradient(105deg, rgba(20, 35, 80, 0.88) 0%, rgba(10, 70, 120, 0.72) 55%, rgba(10, 96, 157, 0.55) 100%),
    url('https://images.unsplash.com/photo-1587595431973-160d0d94add1?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.home-hero__inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 64px;
  max-width: 640px;
}
.home-hero__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin: 0 0 12px;
}
.home-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.home-hero p {
  color: rgba(255,255,255,.92);
  font-size: 1.1rem;
  margin: 0 0 28px;
  max-width: 520px;
  text-shadow: 0 1px 1px rgba(0,0,0,.15);
}
.home-hero__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.home-hero__cta:hover {
  filter: brightness(1.05);
}

.home-band {
  background: var(--gray-100);
  padding: 40px 0 32px;
}
.home-band--white { background: #fff; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow .2s;
}
.audience-card:hover {
  color: inherit;
  box-shadow: var(--shadow);
}
.audience-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--navy);
}
.audience-card p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-600);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.archive-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s;
}
.archive-card:hover {
  color: inherit;
  box-shadow: var(--shadow);
}
.archive-card img,
.archive-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, #EEF5FB, #E6E6E6);
}
.archive-card__body { padding: 18px 20px 20px; }
.archive-card h2 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--navy);
}
.archive-card p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-600);
}

@media (max-width: 1024px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .audience-grid { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; }
}

.svc-card__meta { margin: 8px 0 0; font-size: 12px; color: var(--gray-600); }
.office-extra { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--gray-200); font-size: 13px; color: var(--gray-700); }
.office-extra p { margin: 0 0 4px; }

.page-stack { display: block; max-width: 760px; }
.page-with-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.page-panel .entry-content,
.page-stack .entry-content {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--gray-800, #333);
}
.page-panel .entry-content p { margin: 0 0 1em; }
@media (max-width: 768px) {
  .page-with-side { grid-template-columns: 1fr; }
}

.svc-card__icon img {
  width: 28px; height: 28px; object-fit: contain; display: block;
}
.audience-card .svc-card__icon { margin-bottom: 10px; }

/* Pagefind — button hidden until /pagefind/pagefind-ui.js loads */
.site-search__btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 4px 10px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.has-pagefind .site-search__btn,
.site-search__btn:not([hidden]) { display: inline-flex; }
.site-search__btn:hover { border-color: var(--plum); color: var(--plum); }
.pagefind-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 720px;
  width: calc(100% - 32px);
}
.pagefind-dialog::backdrop { background: rgba(15, 23, 42, .45); }
.pagefind-dialog__panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 50px rgba(15, 23, 42, .2);
  overflow: hidden;
}
.pagefind-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
}
.pagefind-dialog__head h2 { margin: 0; font-size: 16px; color: var(--navy); }
.pagefind-dialog__close {
  border: 0; background: transparent; font-size: 28px; line-height: 1;
  cursor: pointer; color: var(--gray-600); padding: 0 4px;
}
.pagefind-dialog__body { padding: 8px 12px 16px; min-height: 80px; }
.pagefind-dialog__hint { margin: 0; padding: 0 16px 14px; font-size: 12px; color: var(--gray-500); }
.pagefind-ui { --pagefind-ui-primary: #253C7E; --pagefind-ui-text: #1A1A1A; --pagefind-ui-background: #fff; --pagefind-ui-border: #E6E6E6; --pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: 8px; font-family: Inter, system-ui, sans-serif; }
.pagefind-ui .pagefind-ui__result-excerpt { color: var(--gray-600); font-size: 13px; }
.pagefind-ui .pagefind-ui__filter-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
@media (max-width: 700px) {
  .site-search__btn span { display: none; }
}

.doc-library, .vacancy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc-library__item, .vacancy-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 12px;
  padding: 16px 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.doc-library__item h3, .vacancy-card h3 { margin: 0 0 4px; font-size: 16px; color: var(--plum); }
.doc-library__item p, .vacancy-card p { margin: 0; color: var(--gray-600); font-size: 14px; }
.vacancy-card { flex-direction: column; align-items: flex-start; }
.vacancy-card__due { font-size: 13px; color: var(--gray-500); }
.vacancy-board { margin-top: 18px; }
.empty-note { color: var(--gray-600); }
.empty-note--box { background: #fff; border: 1px dashed var(--gray-300); border-radius: 12px; padding: 20px; }
.empty-note--box .btn { margin-right: 8px; margin-top: 8px; }
.editor-gap { font-size: 13px; }
.editor-gap a { color: var(--plum); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.editor-gap--hero { margin-top: 14px; color: rgba(255,255,255,.9); }
.editor-gap--hero a { color: #fff; }
.btn--ghost {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--plum); color: var(--plum); background: #fff;
  border-radius: 8px; padding: 8px 14px; font-weight: 600;
}
.error404-panel { max-width: 640px; margin: 0 auto 48px; }
.error404-links { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 16px 0 0; padding: 0; }
.error404-links a { font-weight: 600; color: var(--plum); }
.page-kicker { letter-spacing: .12em; font-size: 13px; font-weight: 700; color: #fff; opacity: .8; margin: 0 0 6px; }
@media (max-width: 700px) {
  .doc-library__item { flex-direction: column; align-items: flex-start; }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px;
}
.contact-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--plum); }
.contact-card .contact-lines { margin: 8px 0 0; padding: 0; list-style: none; }
.contact-card .contact-lines li { margin: 0 0 6px; font-size: 14px; color: var(--gray-700); }
.contact-card .service-map { margin-top: 12px; }
.contact-card .service-map iframe { width: 100%; height: 160px; border: 0; border-radius: 8px; }

/* ========== Document library (Curaçao Documents theme) ========== */
.doc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 22px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.doc-search {
  flex: 1 1 240px;
  position: relative;
}
.doc-search input {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 14px 12px 40px;
  font-family: inherit;
  font-size: 14px;
  color: var(--gray-900);
  background: #fff;
}
.doc-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
}
.doc-filter select {
  min-width: 180px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--gray-900);
}
.doc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.doc-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.doc-chip.is-active,
.doc-chip:hover {
  border-color: var(--navy);
  background: #EEF5FB;
}
.doc-chip__count {
  margin-left: 6px;
  color: var(--gray-500);
  font-weight: 600;
}
.doc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.doc-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: var(--shadow);
}
.doc-card.is-hidden { display: none; }
.doc-file {
  width: 48px;
  height: 56px;
  border-radius: 6px 10px 6px 6px;
  background: linear-gradient(180deg, #EEF5FB, #d5e4f2);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  position: relative;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}
.doc-file::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 12px 12px 0;
  border-style: solid;
  border-color: #9bb8d4 #fff;
}
.doc-card__cat {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--plum);
}
.doc-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
}
.doc-card h3 a { color: inherit; }
.doc-card h3 a:hover { color: var(--blue); }
.doc-card__excerpt {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  flex: 1;
}
.doc-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 600;
}
.doc-card__actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.doc-empty {
  display: none;
  background: #fff;
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--gray-600);
  text-align: center;
}
.doc-empty.is-visible { display: block; }
.doc-count {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}
.doc-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.doc-single__panel {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.doc-single__panel .panel-card h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: none;
  margin: 0 0 10px;
}
.doc-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 0;
}
.doc-facts .qf-card { margin: 0; }
.doc-video {
  margin: 22px 0 0;
}
.doc-video__frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #142350;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}
.doc-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.doc-video figcaption {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--gray-600);
}
.doc-video-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  background: var(--plum);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  vertical-align: middle;
}
.btn--outline.btn--block { margin-top: 8px; }
.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 0;
}
.home-stat {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
}
.home-stat strong {
  display: block;
  font-size: 28px;
  color: var(--navy);
  font-weight: 800;
}
.home-stat span {
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 1024px) {
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-single, .doc-facts, .home-stats { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .doc-grid { grid-template-columns: 1fr; }
}

