/* ── AR25 shared styles ── */
/*
body { font-family: 'Roboto', Arial, sans-serif; color: #555; }
*/
.ar-full {
  width: 100%;
}

/* ── Domain cards ── */
.ar-domains {
  width: 100%;
  margin-top: 64px;
  padding: 64px 0 ;
  background: #f4f7fb;
}
.ar-domains h2 {
  text-align: center;
  color: #00334d;
  font-weight: 300;
  font-size: 1.9em;
  margin-bottom: 8px;
}
.ar-domains .section-sub {
  text-align: center;
  color: #999;
  font-size: 0.9em;
  margin-bottom: 42px;
}
.ar-domains .container {
  margin-left:auto;
  margin-right: auto;
}
.domain-row-flex { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.domain-col-flex { padding: 0 15px; width: 33.3333%; display: flex; flex-direction: column; }
.domain-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,51,77,0.08);
  padding: 32px 24px 24px;
  margin-bottom: 28px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: calc(100% - 28px);
}
.domain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,153,230,0.14);
}
.domain-icon {
  width: 68px; height: 68px;
  background: rgba(0,153,230,0.09);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.domain-icon svg { width: 34px; height: 34px; fill: #0099E6; }
.domain-card h3 { color: #00334d; font-size: 1.12em; font-weight: 600; margin: 0 0 10px; }
.domain-number { font-size: 0.7em; color: #0099E6; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.domain-card .btn-primary { border-radius: 20px 20px 20px 0; font-size: 0.85em; padding: 7px 22px; }
@media (max-width: 991px) { .domain-col-flex { width: 50%; } }
@media (max-width: 640px) { .domain-col-flex { width: 100%; } }

/* Header */
.ar-header {
  background: #fff;
  border-bottom: 3px solid #0099E6;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ar-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ar-header img { height: 38px; display: block; }
.ar-header nav a {
  color: #555;
  font-size: 0.88em;
  text-decoration: none;
  margin-left: 20px;
}
.ar-header nav a:hover { color: #0099E6; }
.ar-header nav .active { color: #0099E6; font-weight: 600; }

/* Breadcrumb */
.ar-breadcrumb {
  background: #f4f7fb;
  padding: 10px 0;
  border-bottom: 1px solid #e4eaf2;
  font-size: 0.83em;
}
.ar-breadcrumb a { color: #0099E6; text-decoration: none; }
.ar-breadcrumb a:hover { text-decoration: underline; }
.ar-breadcrumb span { color: #999; margin: 0 6px; }
.ar-breadcrumb .current { color: #00334d; font-weight: 500; }

/* Hero sub-page */
.ar-subhero {
  background: linear-gradient(135deg, #00334d 0%, #0055a5 100%);
  color: #fff;
  padding: 56px 0 44px;
  border-left: 6px solid #0099E6;
}
.ar-subhero .domain-num {
  display: inline-block;
  font-size: 0.75em;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.ar-subhero h1 {
  color: #fff;
  font-size: 2.5em;
  font-weight: 300;
  margin: 0 0 14px;
}
.ar-subhero h1 strong { font-weight: 700; color: #0099E6; }
.ar-subhero .lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.05em;
  max-width: 620px;
  line-height: 1.7;
  margin: 0;
}

/* Content */
.ar-content { padding: 56px 0 40px; }
.ar-content h2 {
  color: #00334d;
  font-size: 1.5em;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0099E6;
  display: inline-block;
}
.ar-content p { line-height: 1.8; }
.ar-content .section-block { margin-bottom: 48px; }

/* Highlight box */
.ar-highlight {
  background: rgba(0,153,230,0.07);
  border-left: 4px solid #0099E6;
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  margin: 20px 0;
}
.ar-highlight p { margin: 0; line-height: 1.7; }

/* Fact cards */
.ar-facts { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.ar-fact {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 6px;
  padding: 20px 24px;
  flex: 1;
  min-width: 180px;
  box-shadow: 0 2px 6px rgba(0,51,77,0.05);
}
.ar-fact .fact-value {
  font-size: 2.2em;
  font-weight: 700;
  color: #0099E6;
  line-height: 1;
  margin-bottom: 6px;
}
.ar-fact .fact-label { font-size: 0.85em; color: #777; }

/* Project card — timeline A3 */
.ar-project {
  position: relative;
  border-left: 2px solid #0099E6;
  margin-left: 8px;
  padding: 0 0 28px 28px;
}
.ar-project::before {
  content: '';
  position: absolute;
  left: -9px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #0099E6;
  box-shadow: 0 0 0 3px rgba(0,153,230,0.12);
}
.ar-project .project-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.ar-project .project-badge {
  font-size: 0.78em; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #0099E6;
  white-space: nowrap;
}
.ar-project .project-sep {
  flex: 1; height: 1px;
  background: #e4eaf2;
}
.ar-project p { font-size: 0.9em; line-height: 1.65; margin: 0; }

/* Prev/Next nav */
.ar-pager {
  background: #f4f7fb;
  border-top: 1px solid #e4eaf2;
  padding: 20px 0;
}
.ar-pager .pager-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ar-pager a {
  color: #0099E6;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ar-pager a:hover { color: #00334d; }
.ar-pager .pager-home { color: #999; font-size: 0.85em; text-decoration: none; }
.ar-pager .pager-home:hover { color: #0099E6; }

/* Footer */
.ar-footer {
  background: #00334d;
  color: rgba(255,255,255,0.65);
  padding: 44px 0 32px;
}
.ar-footer img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.ar-footer p { font-size: 0.83em; margin: 8px 0 0; }
.ar-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.ar-footer a:hover { color: #fff; text-decoration: underline; }
.ar-footer-right { text-align: right; }
@media (max-width: 767px) { .ar-footer-right { text-align: left; margin-top: 20px; } }

/* ── Scroll fade-in ── */
.ar-figure,
.ar-figures-2 figure,
.ar-figures-3 figure,
.ar-figures-4 figure,
.ar-project {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.ar-figure.ar-visible,
.ar-figures-2 figure.ar-visible,
.ar-figures-3 figure.ar-visible,
.ar-figures-4 figure.ar-visible,
.ar-project.ar-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Figures / images ── */
.ar-figure {
  margin: 28px 0;
  text-align: center;
}


.ar-figure img,
.ar-figures-2 figure img,
.ar-figures-3 figure img,
.ar-figures-4 figure img {
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
}

.ar-figure ,
.ar-figures-2 figure ,
.ar-figures-3 figure ,
.ar-figures-4 figure  {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 14px rgba(0,51,77,0.10);
  transition: .18s ease;
}

.ar-figure:hover,
.ar-figures-2 figure:hover,
.ar-figures-3 figure:hover,
.ar-figures-4 figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgb(0,28,77,0.22);
}

.ar-figure figcaption,
.ar-figures-2 figcaption,
.ar-figures-3 figcaption,
.ar-figures-4 figcaption {
  top: 0;
  margin: 0;
  background: #f2f2f2;
  font-size: 0.78em;
  color: #555;
  font-style: italic;
  text-align: center;
}

/* Rows of figures — gutter uniforme 20px */
.ar-figures-2,
.ar-figures-3,
.ar-figures-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 28px 0;
}

.ar-figures-2 figure {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
  min-width: 220px;
  margin: 0;
  text-align: center;
}
.ar-figures-3 figure {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  min-width: 160px;
  margin: 0;
  text-align: center;
}
.ar-figures-4 figure {
  flex: 0 0 calc(25% - 15px);
  max-width: calc(25% - 15px);
  min-width: 140px;
  margin: 0;
  text-align: center;
}

.ar-figures-2 figure img,
.ar-figures-3 figure img,
.ar-figures-4 figure img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ── Lightbox ── */
#ar-lightbox { display: none; }
#ar-lightbox.ar-lb-open { display: block; }

.ar-lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9000;
}
.ar-lb-box {
  position: fixed;
  inset: 0;
  z-index: 9001;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px 60px;
  box-sizing: border-box;
}
.ar-lb-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
  transition: opacity 0.2s ease;
  display: block;
  background: #fff;
}
.ar-lb-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.82em;
  font-style: italic;
  margin-top: 14px;
  text-align: center;
  max-width: 640px;
}
.ar-lb-counter {
  color: rgba(255,255,255,0.4);
  font-size: 0.75em;
  margin-top: 6px;
}
.ar-lb-close {
  position: fixed;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6em;
  cursor: pointer;
  opacity: 0.7;
  z-index: 9002;
}
.ar-lb-close:hover { opacity: 1; }
/* Drupal admin toolbar compensation */
body.toolbar-horizontal .ar-lb-close { top: 57px; }
body.toolbar-horizontal.toolbar-tray-open .ar-lb-close { top: 97px; }
body.toolbar-vertical .ar-lb-close { top: 18px; }
.ar-lb-prev,
.ar-lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 3em;
  cursor: pointer;
  opacity: 0.6;
  z-index: 9002;
  line-height: 1;
  padding: 0 12px;
}
.ar-lb-prev { left: 10px; }
.ar-lb-next { right: 10px; }
.ar-lb-prev:hover,
.ar-lb-next:hover { opacity: 1; }

/* Responsive tweaks */
@media (max-width: 767px) {
  .ar-subhero h1 { font-size: 1.8em; }
  .ar-pager .pager-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .ar-project { flex-direction: column; }
  .ar-facts { flex-direction: column; }
}

.paragraph--type--ar-text-image  {
  margin-bottom: 1rem;
}

html .node.full .node-inner .paragraph--type--ar-text-image .row {
  margin: 0 -15px;
}

@media (max-width: 968px) {
  html .node.full .node-inner .paragraph--type--ar-text-image .row {
    margin: 0;
  }
}


html .node.full .node-inner .paragraph--type--ar-text-image .row .col {
  padding: 0 15px;
}
