/* Dialog Group websiteconcept v30
   Menu consolidation, clearer European footprint and sector icon alignment.
   The existing brand, components and interaction patterns remain unchanged. */

/* --------------------------------------------------------------------------
   Solutions menu: featured solutions become the first items in one coherent
   Digital customer interaction list.
   -------------------------------------------------------------------------- */
body.v30-site #menu-oplossingen .mega-menu-grid--v30 {
  grid-template-columns: minmax(0, 1.72fr) minmax(18.5rem, 0.88fr);
  align-items: stretch;
}

body.v30-site #menu-oplossingen .mega-digital-v30 {
  padding-left: 0;
  padding-right: 40px;
}

body.v30-site #menu-oplossingen .mega-services-v30 {
  display: flex;
  flex-direction: column;
  padding-left: 40px;
  padding-right: 0;
  border-left: 1px solid var(--border);
}

body.v30-site #menu-oplossingen .mega-digital-v30 .menu-link-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 20px;
}

body.v30-site #menu-oplossingen .mega-digital-v30 .menu-link-list a {
  min-height: 92px;
}

body.v30-site #menu-oplossingen .mega-services-v30 .menu-link-list--compact {
  gap: 12px;
}

body.v30-site #menu-oplossingen .mega-services-v30 .menu-link-list--compact a {
  min-height: 76px;
}

body.v30-site #menu-oplossingen .mega-services-v30 .menu-advice-card {
  margin-top: 24px;
}

/* The two-column layout replaces the old featured column. */
body.v30-site #menu-oplossingen .mega-menu-grid--v30 > .mega-column:first-child {
  border-left: 0;
}

@media (min-width: 1081px) and (max-width: 1279px) {
  body.v30-site #menu-oplossingen .mega-menu-grid--v30 {
    grid-template-columns: minmax(0, 1.58fr) minmax(17.5rem, 0.92fr);
  }

  body.v30-site #menu-oplossingen .mega-digital-v30 {
    padding-right: 28px;
  }

  body.v30-site #menu-oplossingen .mega-services-v30 {
    padding-left: 28px;
  }

  body.v30-site #menu-oplossingen .mega-digital-v30 .menu-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 16px;
  }
}

@media (max-width: 1080px) {
  body.v30-site #menu-oplossingen .mega-menu-grid--v30 {
    grid-template-columns: 1fr;
  }

  body.v30-site #menu-oplossingen .mega-digital-v30,
  body.v30-site #menu-oplossingen .mega-services-v30 {
    padding-inline: 0;
  }

  body.v30-site #menu-oplossingen .mega-services-v30 {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  body.v30-site #menu-oplossingen .mega-digital-v30 .menu-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 16px;
  }
}

@media (max-width: 700px) {
  body.v30-site #menu-oplossingen .mega-digital-v30 .menu-link-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.v30-site #menu-oplossingen .mega-services-v30 {
    margin-top: 24px;
    padding-top: 24px;
  }
}

/* --------------------------------------------------------------------------
   Sector menu: one consistent line icon per sector, optically aligned with
   the text while preserving the existing card component.
   -------------------------------------------------------------------------- */
body.v30-site #menu-sectoren .sector-menu-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  column-gap: 16px;
  row-gap: 0;
  min-height: 144px;
}

body.v30-site #menu-sectoren .sector-menu-icon-v30 {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  margin: 0;
  border-radius: 11px;
}

body.v30-site #menu-sectoren .sector-menu-icon-v30 svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

body.v30-site #menu-sectoren .sector-menu-card > span:last-child {
  min-width: 0;
  padding-top: 1px;
}

body.v30-site #menu-sectoren .sector-menu-card strong {
  margin: 0;
  line-height: 1.3;
}

body.v30-site #menu-sectoren .sector-menu-card small {
  margin-top: 8px;
  line-height: 1.52;
}

@media (max-width: 700px) {
  body.v30-site #menu-sectoren .sector-menu-card {
    min-height: 0;
    padding: 16px;
  }
}

/* --------------------------------------------------------------------------
   Contact map: stronger active-country fill, smaller labels in the SVG and a
   clear text summary of both offices and markets.
   -------------------------------------------------------------------------- */
body.v30-site .offices-section .office-map-card {
  overflow: hidden;
  background: var(--white);
}

body.v30-site .offices-section .europe-office-map {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.11 / 1;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #f7f9fc;
}

body.v30-site .office-map-caption-v30 {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: 16px 24px;
  padding: 16px 20px 18px;
  color: rgba(255, 255, 255, 0.88);
  background: var(--navy);
}


body.v30-site .office-map-caption-v30 .office-map-legend {
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.45;
}

body.v30-site .office-map-caption-v30 .legend-dot--market {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  background: #bcd0ee;
}

body.v30-site .office-map-copy-v30 {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body.v30-site .office-map-offices-v30 {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}

body.v30-site .office-map-markets-v30 {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.5;
}

body.v30-site .office-map-markets-v30 strong {
  font-weight: 700;
}

@media (max-width: 760px) {
  body.v30-site .office-map-caption-v30 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.v30-site .office-map-caption-v30 .office-map-legend {
    justify-content: flex-start;
  }
}

@media (forced-colors: active) {
  body.v30-site #menu-sectoren .sector-menu-icon-v30,
  body.v30-site .office-map-caption-v30 .legend-dot {
    border: 1px solid CanvasText;
  }
}
