/**
 * Extracted from inline <style> on en/foundation.html.
 * Shared by AZ/EN locale pages — do not duplicate in HTML.
 */

.foundation-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.overview-card,
.content-card {
  background: var(--color-surface-toolbar);
  border: 1px solid var(--blue-soft);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 78, 140, .14);
}

.overview-card {
  padding: 22px;
  transition: .25s ease;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 78, 140, .20);
}

.overview-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.overview-card p {
  margin: 0;
  color: var(--muted);
}

.section-block {
  margin-top: 28px;
  scroll-margin-top: calc(var(--daab-nav-height, 86px) + 1.25rem);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--blue-soft);
}

.content-card {
  overflow: hidden;
}

.card-header {
  margin: 0;
  padding: 16px 22px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.card-body {
  padding: 26px 30px;
}

.card-body p,
.card-body li {
  font-weight: 400;
}

.lead,
.timeline-content,
.highlight-box,
.foundation-opening-text,
.strategy-card {
  color: var(--ink);
  background: var(--color-panel-card-bg);
  border: 1px solid var(--color-border-blue-subtle);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 78, 140, .10);
}

.lead {
  margin-bottom: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue-400);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-content,
.foundation-opening-text {
  padding: 22px;
}

.timeline-content p,
.highlight-box p {
  margin: 0 0 12px;
}

.timeline-content p:last-child,
.highlight-box p:last-child {
  margin-bottom: 0;
}

.highlight-box {
  margin: 22px 0;
  padding: 20px;
}

.highlight-title {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.foundation-bridge-grid img,
.foundation-bridge-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  height: 100%;
}

.foundation-opening-text {
  margin-bottom: 18px;
}

.found-inline-002 {
  display: block;
  width: 100%;
  border: 1px solid var(--blue-soft);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 78, 140, .16);
}

.found-inline-003 {
  padding: 24px;
}

.found-inline-006 {
  margin-top: 18px;
}

.found-inline-007,
.found-inline-008 {
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}

.foundation-bridge-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 24px !important;
}

.foundation-bridge-grid > div {
  display: contents !important;
}

.foundation-bridge-grid > div:first-child > img {
  grid-column: 1;
  grid-row: 1;
}

.foundation-bridge-grid > div:first-child > .found-inline-006 {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
}

.foundation-bridge-grid > div:nth-child(2) > p:nth-of-type(1) {
  grid-column: 1;
  grid-row: 2;
}

.foundation-bridge-grid > div:nth-child(2) > p:nth-of-type(2) {
  grid-column: 1;
  grid-row: 3;
}

.foundation-bridge-grid > div:nth-child(2) > .found-inline-007 {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.section-title {
  margin: 26px 0 14px;
  padding: 14px 20px;
  color: var(--blue-dark);
  background: var(--color-surface-toolbar);
  border: 1px solid var(--blue-soft);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 78, 140, .10);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900 !important;
}

.news-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px 18px;
  color: var(--blue-dark);
  background: var(--color-tint-blue);
  border: 1px solid var(--blue-soft);
  border-radius: var(--radius-pill);
  font-weight: 900 !important;
  text-decoration: none;
}

.news-link::before {
  content: "📰";
}

.video-caption {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700 !important;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 22px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--blue-soft);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0, 78, 140, .14);
  cursor: zoom-in;
  transition: .22s ease;
}

.gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 42px rgba(0, 78, 140, .20);
}

.goals-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.goals-list li {
  padding: 14px 18px;
  color: var(--ink);
  background: var(--color-panel-card-bg);
  border: 1px solid var(--color-border-blue-subtle);
  border-radius: var(--radius2);
  box-shadow: 0 8px 20px rgba(0, 78, 140, .08);
}

.goals-list li::before {
  content: "✦";
  margin-right: 10px;
  color: var(--blue);
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 22px;
}

.strategy-card {
  padding: 18px 20px;
}

.strategy-card-wide {
  grid-column: 1 / -1;
}

.strategy-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 900 !important;
}

.strategy-card-title::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--blue-400);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(78, 180, 238, .16);
}

.strategy-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.strategy-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.55;
}

.strategy-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.ist-inline-002 {
  margin-bottom: 24px;
  text-align: center;
}

.ist-inline-004 {
  position: relative;
  display: block;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 78, 140, .16);
  cursor: pointer;
  text-decoration: none;
}

.ist-inline-005 {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

.ist-inline-006 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .25);
  transition: background .2s;
}

.ist-inline-007 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #f00;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}

.ist-inline-007::before {
  content: "▶";
  margin-left: 5px;
  color: var(--white);
  font-size: 30px;
}

.ist-inline-009,
.ist-inline-018,
.ist-inline-027 {
  margin-bottom: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--blue-soft);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 78, 140, .10);
}

.ist-inline-010,
.ist-inline-019,
.ist-inline-028 {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.ist-inline-011 {
  background: var(--blue);
  border-bottom: 3px solid var(--blue-400);
}

.ist-inline-012,
.ist-inline-013,
.ist-inline-020 {
  padding: 12px 16px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900 !important;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
}

.ist-inline-014,
.ist-inline-017,
.ist-inline-021,
.ist-inline-029 {
  border-bottom: 1px solid #d8eaf6;
}

.ist-inline-017,
.ist-inline-027 {
  background: #f7fbfe;
}

.ist-inline-015,
.ist-inline-016,
.ist-inline-022,
.ist-inline-025,
.ist-inline-030,
.ist-inline-031,
.ist-inline-032 {
  padding: 7px 14px;
  color: var(--muted);
}

.ist-inline-015,
.ist-inline-030 {
  color: var(--ink);
  font-weight: 900 !important;
}

.ist-inline-023 {
  color: var(--ink);
  font-size: 13px;
}

.ist-inline-024,
.ist-inline-031 {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900 !important;
}

.ist-inline-026 {
  grid-template-columns: repeat(2, 1fr) !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 20, 40, .92);
  backdrop-filter: blur(6px);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}


@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  svg,
  video {
    max-width: 100%;
    height: auto;
  }

  .shell,
  .main {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 18px 30px;
  }

  .hero-panel {
    max-width: 100%;
    padding: 0;
  }

  .foundation-overview,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {

  .hero {
    background-size: auto 360px;
  }

  .hero h1 {
    font-size: clamp(30px, 10.5vw, 42px);
  }

  .card-body {
    padding: 20px;
  }

  .foundation-bridge-grid {
    grid-template-columns: 1fr !important;
  }

  .foundation-bridge-grid > div:first-child > img {
    grid-column: 1;
    grid-row: 1;
  }

  .foundation-bridge-grid > div:nth-child(2) > p:nth-of-type(1) {
    grid-column: 1;
    grid-row: 2;
  }

  .foundation-bridge-grid > div:nth-child(2) > p:nth-of-type(2) {
    grid-column: 1;
    grid-row: 3;
  }

  .foundation-bridge-grid > div:first-child > .found-inline-006 {
    grid-column: 1;
    grid-row: 4;
  }

  .foundation-bridge-grid > div:nth-child(2) > .found-inline-007 {
    grid-column: 1;
    grid-row: 5;
  }
  .gallery,
  .ist-inline-026,
  .strategy-grid {
    grid-template-columns: 1fr !important;
  }

  .strategy-card-wide {
    grid-column: auto;
  }

  .footer-inner {
    padding: 24px 16px;
  }
}

@media (max-width: 420px) {
  .shell,
  .main {
    padding-left: 14px;
    padding-right: 14px;
  }
}
