/*
 * iWebs Universal Content Library
 * Version: 1.0
 * Purpose: reusable editorial components for category descriptions / landing pages.
 * Scope: .iw-editorial__inner (current category.twig) and .iw-content (portable wrapper)
 * Hero styles intentionally excluded.
 */

/* =========================================================
   00. TOKENS / ROOT SCOPE
   ========================================================= */
.iw-content,
.iw-editorial__inner {
  --iw-primary: #2F6F9F;
  --iw-primary-hover: #285E87;
  --iw-primary-dark: #214F72;
  --iw-navy: #13243B;
  --iw-text: #34495E;
  --iw-text-soft: #61758B;
  --iw-muted: #7B8EA2;
  --iw-bg: #FFFFFF;
  --iw-soft: #F5F9FC;
  --iw-soft-blue: #EAF2F8;
  --iw-line: #DFE8F0;
  --iw-line-strong: #CBD8E4;
  --iw-success: #1F7A55;
  --iw-success-bg: #EDF8F3;
  --iw-warning: #9A640E;
  --iw-warning-bg: #FFF7E8;
  --iw-danger: #A83B45;
  --iw-danger-bg: #FFF1F2;
  --iw-radius-sm: 8px;
  --iw-radius-md: 12px;
  --iw-radius-lg: 18px;
  --iw-radius-xl: 24px;
  --iw-shadow-xs: 0 3px 10px rgba(19, 36, 59, 0.05);
  --iw-shadow-sm: 0 8px 24px rgba(19, 36, 59, 0.07);
  --iw-shadow-md: 0 16px 38px rgba(19, 36, 59, 0.11);
  --iw-content-max: 980px;
  --iw-reading-max: 820px;
  color: var(--iw-text);
  font-size: 15px;
  line-height: 1.75;
}

/* =========================================================
   01. BASE EDITORIAL RHYTHM
   ========================================================= */
.iw-content *,
.iw-editorial__inner * { box-sizing: border-box; }

.iw-content > :first-child,
.iw-editorial__inner > :first-child { margin-top: 0; }

.iw-content > :last-child,
.iw-editorial__inner > :last-child { margin-bottom: 0; }

.iw-content p,
.iw-editorial__inner p { margin: 0 0 16px; }

.iw-content a,
.iw-editorial__inner a {
  color: var(--iw-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.iw-content a:hover,
.iw-content a:focus,
.iw-editorial__inner a:hover,
.iw-editorial__inner a:focus { color: var(--iw-primary-hover); }

.iw-content strong,
.iw-editorial__inner strong {
  color: var(--iw-navy);
  font-weight: 700;
}

.iw-content h2,
.iw-content h3,
.iw-content h4,
.iw-editorial__inner h2,
.iw-editorial__inner h3,
.iw-editorial__inner h4 {
  color: var(--iw-navy);
  font-weight: 750;
  letter-spacing: -0.015em;
}

.iw-content h2,
.iw-editorial__inner h2 {
  margin: 46px 0 16px;
  font-size: clamp(26px, 2.35vw, 34px);
  line-height: 1.2;
}

.iw-content h3,
.iw-editorial__inner h3 {
  margin: 30px 0 12px;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.25;
}

.iw-content h4,
.iw-editorial__inner h4 {
  margin: 22px 0 10px;
  font-size: 17px;
  line-height: 1.3;
}

/* =========================================================
   02. TITLE ELEMENT
   ========================================================= */
.iw-title { margin: 0 0 18px; }
.iw-title__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--iw-primary);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.iw-title__heading { margin: 0 !important; }
.iw-title__text {
  max-width: 760px;
  margin: 10px 0 0 !important;
  color: var(--iw-text-soft);
  font-size: 16px;
  line-height: 1.65;
}
.iw-title--center { text-align: center; }
.iw-title--center .iw-title__text {
  margin-left: auto !important;
  margin-right: auto !important;
}
.iw-title--accent .iw-title__heading::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--iw-primary);
}
.iw-title--center.iw-title--accent .iw-title__heading::after {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   03. TEXT BLOCK / LEAD
   ========================================================= */
.iw-text { max-width: var(--iw-reading-max); }
.iw-text--wide { max-width: none; }
.iw-lead {
  margin: 0 0 22px !important;
  color: var(--iw-text-soft);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
}
.iw-lead strong { color: var(--iw-navy); }

/* =========================================================
   04. SECTION ELEMENT + CONTRAST VARIANTS
   ========================================================= */
.iw-section {
  position: relative;
  margin: 34px 0;
  padding: 0;
}
.iw-section--boxed {
  padding: 30px;
  border: 1px solid var(--iw-line);
  border-radius: var(--iw-radius-lg);
  background: #fff;
  box-shadow: var(--iw-shadow-xs);
}
.iw-section--soft {
  padding: 30px;
  border-radius: var(--iw-radius-lg);
  background: var(--iw-soft);
}
.iw-section--tint {
  padding: 30px;
  border: 1px solid #D9E7F2;
  border-radius: var(--iw-radius-lg);
  background: var(--iw-soft-blue);
}
.iw-section--impact {
  padding: 34px;
  border-radius: var(--iw-radius-xl);
  background: linear-gradient(135deg, #F5F9FC 0%, #EAF2F8 100%);
  box-shadow: var(--iw-shadow-sm);
}
.iw-section--primary,
.iw-section--dark {
  padding: 34px;
  border-radius: var(--iw-radius-xl);
  color: #fff;
}
.iw-section--primary { background: var(--iw-primary-dark); }
.iw-section--dark { background: var(--iw-navy); }
.iw-section--primary h2,
.iw-section--primary h3,
.iw-section--primary h4,
.iw-section--primary strong,
.iw-section--dark h2,
.iw-section--dark h3,
.iw-section--dark h4,
.iw-section--dark strong { color: #fff; }
.iw-section--primary p,
.iw-section--primary li,
.iw-section--dark p,
.iw-section--dark li { color: rgba(255, 255, 255, 0.88); }
.iw-section--primary a,
.iw-section--dark a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   05. NESTED COLUMNS / GRID
   ========================================================= */
.iw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  width: 100%;
}
.iw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.iw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.iw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.iw-grid--1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.iw-grid--2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.iw-grid--compact { gap: 16px; }
.iw-grid--wide { gap: 34px; }
.iw-grid--center { align-items: center; }
.iw-grid--start { align-items: start; }

/* =========================================================
   06. CONTENT BOXES
   ========================================================= */
.iw-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.iw-box {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--iw-line);
  border-radius: var(--iw-radius-md);
  background: #fff;
  box-shadow: var(--iw-shadow-xs);
}
.iw-box__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--iw-soft-blue);
  color: var(--iw-primary);
  font-size: 18px;
}
.iw-box__title {
  margin: 0 0 9px !important;
  color: var(--iw-navy);
  font-size: 18px !important;
  line-height: 1.3 !important;
}
.iw-box__text {
  margin: 0 !important;
  color: var(--iw-text-soft);
  font-size: 14px;
  line-height: 1.65;
}
.iw-box--soft {
  border-color: transparent;
  background: var(--iw-soft);
  box-shadow: none;
}
.iw-box--tint {
  border-color: #D7E6F2;
  background: var(--iw-soft-blue);
  box-shadow: none;
}
.iw-box--impact { border-top: 4px solid var(--iw-primary); }
.iw-box--dark {
  border-color: transparent;
  background: var(--iw-navy);
}
.iw-box--dark .iw-box__title,
.iw-box--dark strong { color: #fff; }
.iw-box--dark .iw-box__text,
.iw-box--dark p { color: rgba(255, 255, 255, 0.84); }
.iw-box--dark .iw-box__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* =========================================================
   07. ICON ELEMENT
   ========================================================= */
.iw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--iw-soft-blue);
  color: var(--iw-primary);
  font-size: 17px;
  line-height: 1;
}
.iw-icon--sm { width: 30px; height: 30px; font-size: 13px; }
.iw-icon--lg { width: 54px; height: 54px; font-size: 22px; }
.iw-icon--dark { background: var(--iw-navy); color: #fff; }
.iw-icon--primary { background: var(--iw-primary); color: #fff; }

/* =========================================================
   08. CHECKLIST
   ========================================================= */
.iw-checklist {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.iw-checklist li {
  position: relative;
  margin: 0;
  padding: 9px 0 9px 34px;
  border-bottom: 1px solid var(--iw-line);
  color: var(--iw-text);
}
.iw-checklist li:last-child { border-bottom: 0; }
.iw-checklist li::before {
  content: "✓";
  position: absolute;
  top: 9px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--iw-soft-blue);
  color: var(--iw-primary);
  font-size: 12px;
  font-weight: 800;
}
.iw-checklist--compact li {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 0;
}
.iw-checklist--arrows li::before { content: "→"; }

/* =========================================================
   09. ALERT / NOTE ELEMENT
   ========================================================= */
.iw-alert,
.iw-note {
  position: relative;
  margin: 22px 0;
  padding: 16px 18px 16px 20px;
  border: 1px solid #D5E4EF;
  border-left: 4px solid var(--iw-primary);
  border-radius: var(--iw-radius-md);
  background: #F4F9FD;
  color: var(--iw-text);
}
.iw-alert strong,
.iw-note strong { color: var(--iw-primary-dark); }
.iw-alert--success {
  border-color: #CDE8DA;
  border-left-color: var(--iw-success);
  background: var(--iw-success-bg);
}
.iw-alert--success strong { color: var(--iw-success); }
.iw-alert--warning {
  border-color: #F2DEB5;
  border-left-color: var(--iw-warning);
  background: var(--iw-warning-bg);
}
.iw-alert--warning strong { color: var(--iw-warning); }
.iw-alert--danger {
  border-color: #F0CDD1;
  border-left-color: var(--iw-danger);
  background: var(--iw-danger-bg);
}
.iw-alert--danger strong { color: var(--iw-danger); }
.iw-note {
  padding-top: 13px;
  padding-bottom: 13px;
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   10. IMAGE ELEMENT
   ========================================================= */
.iw-figure { margin: 24px 0; }
.iw-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--iw-radius-lg);
}
.iw-image--shadow { box-shadow: var(--iw-shadow-sm); }
.iw-image--border { border: 1px solid var(--iw-line); }
.iw-image--square { aspect-ratio: 1 / 1; object-fit: cover; }
.iw-image--landscape { aspect-ratio: 16 / 9; object-fit: cover; }
.iw-caption {
  margin-top: 8px;
  color: var(--iw-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* =========================================================
   11. BUTTON ELEMENT
   ========================================================= */
.iw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--iw-primary);
  border-radius: 10px;
  background: var(--iw-primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(47, 111, 159, 0.16);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.iw-btn:hover,
.iw-btn:focus {
  border-color: var(--iw-primary-hover);
  background: var(--iw-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(47, 111, 159, 0.20);
}
.iw-btn--outline {
  background: transparent;
  color: var(--iw-primary) !important;
  box-shadow: none;
}
.iw-btn--outline:hover,
.iw-btn--outline:focus {
  background: var(--iw-soft-blue);
  color: var(--iw-primary-dark) !important;
}
.iw-btn--dark { border-color: var(--iw-navy); background: var(--iw-navy); }
.iw-btn--sm { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.iw-btn--lg { min-height: 50px; padding: 13px 22px; font-size: 15px; }

/* =========================================================
   12. FAQ / TOGGLE — DETAILS/SUMMARY
   ========================================================= */
.iw-faq,
.iw-toggles {
  margin: 22px 0;
  border-top: 1px solid var(--iw-line);
}
.iw-faq details,
.iw-toggles details {
  border-bottom: 1px solid var(--iw-line);
  background: #fff;
}
.iw-faq summary,
.iw-toggles summary {
  position: relative;
  display: block;
  padding: 17px 44px 17px 0;
  color: var(--iw-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.iw-faq summary::-webkit-details-marker,
.iw-toggles summary::-webkit-details-marker { display: none; }
.iw-faq summary::after,
.iw-toggles summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--iw-soft-blue);
  color: var(--iw-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
}
.iw-faq details[open] summary::after,
.iw-toggles details[open] summary::after { content: "−"; }
.iw-faq__answer,
.iw-toggle__content {
  padding: 0 44px 18px 0;
  color: var(--iw-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* Bootstrap 3 panel compatibility */
.iw-faq.panel-group,
.iw-toggles.panel-group { border-top: 0; }
.iw-faq.panel-group .panel,
.iw-toggles.panel-group .panel {
  margin-bottom: 8px;
  border: 1px solid var(--iw-line);
  border-radius: var(--iw-radius-sm);
  box-shadow: none;
  overflow: hidden;
}
.iw-faq.panel-group .panel-heading,
.iw-toggles.panel-group .panel-heading {
  padding: 0;
  border: 0;
  background: var(--iw-soft);
}
.iw-faq.panel-group .panel-title > a,
.iw-toggles.panel-group .panel-title > a {
  display: block;
  padding: 14px 16px;
  color: var(--iw-navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.iw-faq.panel-group .panel-body,
.iw-toggles.panel-group .panel-body {
  border-top: 1px solid var(--iw-line) !important;
  color: var(--iw-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================================
   13. TABLE ELEMENT
   ========================================================= */
.iw-table-wrap {
  width: 100%;
  margin: 22px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--iw-line);
  border-radius: var(--iw-radius-md);
  background: #fff;
}
.iw-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}
.iw-table th,
.iw-table td {
  padding: 12px 14px;
  border-right: 1px solid var(--iw-line);
  border-bottom: 1px solid var(--iw-line);
  text-align: left;
  vertical-align: top;
}
.iw-table th:last-child,
.iw-table td:last-child { border-right: 0; }
.iw-table tr:last-child td { border-bottom: 0; }
.iw-table thead th {
  background: var(--iw-soft);
  color: var(--iw-navy);
  font-weight: 750;
}
.iw-table tbody tr:nth-child(even) { background: #FBFDFE; }
.iw-table--highlight thead th { background: var(--iw-primary-dark); color: #fff; }

/* Bootstrap table enhancement */
.iw-content .table-responsive,
.iw-editorial__inner .table-responsive {
  margin: 22px 0;
  border: 1px solid var(--iw-line);
  border-radius: var(--iw-radius-md);
  overflow-x: auto;
}
.iw-content .table,
.iw-editorial__inner .table {
  margin-bottom: 0;
  font-size: 13px;
}
.iw-content .table > thead > tr > th,
.iw-editorial__inner .table > thead > tr > th {
  color: var(--iw-navy);
  background: var(--iw-soft);
}

/* =========================================================
   14. TABS — BOOTSTRAP 3 COMPATIBLE
   ========================================================= */
.iw-tabs { margin: 24px 0; }
.iw-tabs .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--iw-line);
}
.iw-tabs .nav-tabs > li { float: none; margin: 0; }
.iw-tabs .nav-tabs > li > a {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: var(--iw-radius-sm) var(--iw-radius-sm) 0 0;
  color: var(--iw-text-soft);
  font-weight: 650;
  background: transparent;
}
.iw-tabs .nav-tabs > li > a:hover,
.iw-tabs .nav-tabs > li > a:focus {
  border-color: transparent;
  background: var(--iw-soft);
  color: var(--iw-primary-dark);
}
.iw-tabs .nav-tabs > li.active > a,
.iw-tabs .nav-tabs > li.active > a:hover,
.iw-tabs .nav-tabs > li.active > a:focus {
  border: 1px solid var(--iw-line);
  border-bottom-color: #fff;
  background: #fff;
  color: var(--iw-primary-dark);
}
.iw-tabs .tab-content {
  padding: 22px;
  border: 1px solid var(--iw-line);
  border-radius: var(--iw-radius-md);
  background: #fff;
  box-shadow: var(--iw-shadow-xs);
}

/* =========================================================
   15. TAGLINE / CTA BOX
   ========================================================= */
.iw-tagline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 0;
  padding: 26px 28px;
  border: 1px solid #D7E5F0;
  border-radius: var(--iw-radius-lg);
  background: linear-gradient(135deg, #F7FAFD 0%, #EAF2F8 100%);
}
.iw-tagline__content { min-width: 0; }
.iw-tagline__title {
  margin: 0 0 6px !important;
  color: var(--iw-navy);
  font-size: 21px !important;
  line-height: 1.3 !important;
}
.iw-tagline__text {
  margin: 0 !important;
  color: var(--iw-text-soft);
  font-size: 14px;
  line-height: 1.6;
}
.iw-tagline__action { flex: 0 0 auto; }
.iw-tagline--dark {
  border-color: transparent;
  background: var(--iw-navy);
}
.iw-tagline--dark .iw-tagline__title { color: #fff; }
.iw-tagline--dark .iw-tagline__text { color: rgba(255, 255, 255, 0.82); }

/* =========================================================
   16. SEPARATOR / SECTION SEPARATOR
   ========================================================= */
.iw-separator {
  width: 100%;
  height: 1px;
  margin: 32px 0;
  border: 0;
  background: var(--iw-line);
}
.iw-separator--short {
  width: 70px;
  margin-left: 0;
  background: var(--iw-primary);
}
.iw-separator--center {
  width: 70px;
  margin-left: auto;
  margin-right: auto;
  background: var(--iw-primary);
}
.iw-section-separator {
  position: relative;
  height: 44px;
  margin: 18px 0 34px;
  overflow: hidden;
}
.iw-section-separator::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 180px;
  height: 32px;
  border-radius: 50%;
  border-top: 2px solid #D7E5F0;
  transform: translateX(-50%);
}

/* =========================================================
   17. TABLE OF CONTENTS
   ========================================================= */
.iw-toc {
  margin: 24px 0;
  padding: 22px 24px;
  border: 1px solid var(--iw-line);
  border-radius: var(--iw-radius-md);
  background: var(--iw-soft);
}
.iw-toc__title {
  margin: 0 0 12px !important;
  color: var(--iw-navy);
  font-size: 17px !important;
  line-height: 1.3 !important;
}
.iw-toc ul { margin: 0; padding-left: 18px; }
.iw-toc li { margin: 5px 0; }
.iw-toc a {
  color: var(--iw-primary-dark);
  font-weight: 600;
  text-decoration: none;
}
.iw-toc a:hover,
.iw-toc a:focus {
  color: var(--iw-primary);
  text-decoration: underline;
}

/* =========================================================
   18. MENU ANCHOR
   ========================================================= */
.iw-anchor {
  display: block;
  position: relative;
  width: 0;
  height: 0;
  visibility: hidden;
  scroll-margin-top: 110px;
}

/* =========================================================
   19. GALLERY
   ========================================================= */
.iw-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.iw-gallery__item {
  display: block;
  overflow: hidden;
  border-radius: var(--iw-radius-md);
  background: var(--iw-soft);
}
.iw-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}
.iw-gallery__item:hover img,
.iw-gallery__item:focus img { transform: scale(1.025); }

/* =========================================================
   20. VIDEO
   ========================================================= */
.iw-video {
  position: relative;
  width: 100%;
  margin: 24px 0;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: var(--iw-radius-lg);
  background: #0C1725;
  box-shadow: var(--iw-shadow-sm);
}
.iw-video iframe,
.iw-video video,
.iw-video embed,
.iw-video object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   21. LIGHTBOX HOOK / IMAGE LINK
   ========================================================= */
.iw-lightbox-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--iw-radius-lg);
}
.iw-lightbox-link::after {
  content: "↗";
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(19, 36, 59, 0.78);
  color: #fff;
  font-size: 15px;
  opacity: 0;
  transition: opacity 160ms ease;
}
.iw-lightbox-link:hover::after,
.iw-lightbox-link:focus::after { opacity: 1; }

/* =========================================================
   22. MAP
   ========================================================= */
.iw-map {
  width: 100%;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--iw-line);
  border-radius: var(--iw-radius-lg);
  background: var(--iw-soft);
  box-shadow: var(--iw-shadow-xs);
}
.iw-map iframe,
.iw-map > div {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

/* =========================================================
   23. FACT / DATA BOXES
   ========================================================= */
.iw-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.iw-fact {
  padding: 20px;
  border: 1px solid var(--iw-line);
  border-radius: var(--iw-radius-md);
  background: #fff;
  text-align: center;
}
.iw-fact__value {
  display: block;
  margin-bottom: 5px;
  color: var(--iw-primary-dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}
.iw-fact__label {
  display: block;
  color: var(--iw-text-soft);
  font-size: 13px;
  line-height: 1.45;
}

/* =========================================================
   24. UTILITIES
   ========================================================= */
.iw-align-center { text-align: center !important; }
.iw-align-left { text-align: left !important; }
.iw-text-muted { color: var(--iw-muted) !important; }
.iw-max-reading { max-width: var(--iw-reading-max); }
.iw-max-content { max-width: var(--iw-content-max); }
.iw-mx-auto { margin-left: auto !important; margin-right: auto !important; }
.iw-mt-0 { margin-top: 0 !important; }
.iw-mt-1 { margin-top: 12px !important; }
.iw-mt-2 { margin-top: 24px !important; }
.iw-mt-3 { margin-top: 36px !important; }
.iw-mb-0 { margin-bottom: 0 !important; }
.iw-mb-1 { margin-bottom: 12px !important; }
.iw-mb-2 { margin-bottom: 24px !important; }
.iw-mb-3 { margin-bottom: 36px !important; }

/* =========================================================
   25. FOCUS / ACCESSIBILITY
   ========================================================= */
.iw-content a:focus-visible,
.iw-content button:focus-visible,
.iw-content summary:focus-visible,
.iw-editorial__inner a:focus-visible,
.iw-editorial__inner button:focus-visible,
.iw-editorial__inner summary:focus-visible {
  outline: 3px solid rgba(47, 111, 159, 0.28);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   26. RESPONSIVE — TABLET
   ========================================================= */
@media (max-width: 991px) {
  .iw-grid--4,
  .iw-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iw-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iw-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iw-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .iw-tagline { align-items: flex-start; }
}

/* =========================================================
   27. RESPONSIVE — MOBILE
   ========================================================= */
@media (max-width: 767px) {
  .iw-content,
  .iw-editorial__inner {
    font-size: 14px;
    line-height: 1.7;
  }
  .iw-content h2,
  .iw-editorial__inner h2 {
    margin-top: 38px;
    font-size: 25px;
  }
  .iw-content h3,
  .iw-editorial__inner h3 {
    margin-top: 26px;
    font-size: 20px;
  }
  .iw-grid--2,
  .iw-grid--3,
  .iw-grid--4,
  .iw-grid--1-2,
  .iw-grid--2-1,
  .iw-boxes,
  .iw-gallery,
  .iw-facts { grid-template-columns: minmax(0, 1fr); }
  .iw-grid,
  .iw-boxes { gap: 16px; }
  .iw-section--boxed,
  .iw-section--soft,
  .iw-section--tint,
  .iw-section--impact,
  .iw-section--primary,
  .iw-section--dark {
    padding: 22px;
    border-radius: var(--iw-radius-md);
  }
  .iw-box { padding: 20px; }
  .iw-tagline {
    flex-direction: column;
    padding: 22px;
  }
  .iw-tagline__action { width: 100%; }
  .iw-tagline__action .iw-btn { width: 100%; }
  .iw-tabs .nav-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    border-bottom: 0;
  }
  .iw-tabs .nav-tabs > li > a,
  .iw-tabs .nav-tabs > li.active > a,
  .iw-tabs .nav-tabs > li.active > a:hover,
  .iw-tabs .nav-tabs > li.active > a:focus {
    border: 1px solid var(--iw-line);
    border-radius: var(--iw-radius-sm);
  }
  .iw-tabs .tab-content { padding: 18px; }
  .iw-table { min-width: 620px; }
  .iw-map iframe,
  .iw-map > div { min-height: 300px; }
}

/* =========================================================
   28. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .iw-btn,
  .iw-gallery__item img,
  .iw-lightbox-link::after { transition: none !important; }
  .iw-btn:hover,
  .iw-btn:focus { transform: none; }
}

/* =========================================================
   29. PRINT
   ========================================================= */
@media print {
  .iw-btn,
  .iw-video,
  .iw-map,
  .iw-lightbox-link::after { display: none !important; }
  .iw-section--primary,
  .iw-section--dark,
  .iw-box--dark,
  .iw-tagline--dark {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #bbb !important;
  }
  .iw-section--primary *,
  .iw-section--dark *,
  .iw-box--dark *,
  .iw-tagline--dark * { color: #000 !important; }
}
