@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700&display=swap");

.strategy-page-main {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 82px) 24px clamp(28px, 4vw, 44px);
}

.strategy-overview {
  display: grid;
  /* Reserve a little less width for the photo so the adjacent questions
     have a comfortable line length, especially in Arabic. */
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1.16fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.strategy-overview-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  object-position: center;
}

.strategy-questions {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #121212;
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.35;
  list-style: none;
}

.strategy-services {
  /* Keep this button block aligned with the action buttons on
     developpement-des-valeurs at every responsive breakpoint. */
  width: 66.6667%;
  margin: clamp(16px, 2.5vw, 28px) auto 0;
  padding: 32px 8px;
}

.strategy-services-content {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.strategy-services-title {
  position: relative;
  display: block;
  margin: 0 0 40px;
  padding-bottom: 18px;
  color: rgb(27, 27, 27);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

.strategy-services-title::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: #185127;
  content: "";
  transform: translateX(-50%);
}

/* Strategy uses the same Arabic family as the home page. */
html[lang="ar"] .strategy-page,
html[lang="ar"] .strategy-page *,
html[lang="ar"] .strategy-services,
html[lang="ar"] .strategy-services * {
  font-family: "Tajawal", "Quicksand", sans-serif !important;
}

/* The FR / EN / AR selector is shared interface text: keep its original
   Latin face, just as it appears on the home page. */
html[lang="ar"] .strategy-page site-toolbar .language-selector,
html[lang="ar"] .strategy-page site-toolbar .language-selector * {
  font-family: "Quicksand", sans-serif !important;
}

.strategy-service-links {
  display: grid;
  /* Each action receives the identical half of the available row. */
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.strategy-service-link {
  box-sizing: border-box;
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: #ffffff;
  background: linear-gradient(180deg, #006d2c 0%, #004d1f 100%);
  border: 2px solid rgba(245, 249, 235, .95);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 77, 31, .25), 0 0 0 1px rgba(189, 210, 157, .35);
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

.strategy-service-link:hover,
.strategy-service-link:focus-visible {
  color: #ffffff;
  filter: brightness(.88);
}

@media (max-width: 767px) {
  .strategy-page-main { padding-inline: 20px; }
  .strategy-overview { grid-template-columns: 1fr; gap: 26px; }
  .strategy-overview-image { aspect-ratio: 1.55 / 1; }
  .strategy-questions { gap: 9px; }
  .strategy-services { width: 100%; padding: 40px 24px; }
  .strategy-services-content { width: 100%; margin-left: 0; padding: 0; }
  .strategy-services-title { font-size: clamp(1.5rem, 5vw + .5rem, 1.75rem); line-height: 1.25; overflow-wrap: break-word; }
  .strategy-service-links { grid-template-columns: 1fr; gap: 18px; }
  .strategy-service-link { font-size: clamp(1rem, 4vw + .2rem, 1.25rem); white-space: normal; overflow-wrap: anywhere; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .strategy-services { width: 100%; margin: 0; padding: 56px 48px; }
  .strategy-services-content { width: 100%; margin-left: 0; padding: 0; }
  .strategy-service-links { gap: 36px; }
  .strategy-service-link { min-height: 70px; padding-right: 16px; padding-left: 16px; font-size: 18px; white-space: nowrap; }
}

@media (min-width: 1101px) {
  .strategy-services {
    width: min(96%, 1160px);
    margin-right: auto;
    margin-left: auto;
    padding: 32px 48px;
  }
}
.strategy-overview-image.is-loading { opacity: 0; }
