/* =====================================================================
   OESO 2026 · Home page — Professional + attractive (v4)
   Scope : section classes only
   Rules : .fModuleTitle and everything inside it is NOT styled
           No fixed container widths — Bootstrap .container / .row decide
           Equal left/right padding everywhere (--pad)
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,500&display=swap");

:root {
  --brand-color-theme-1: #0064a3;
  --brand-color-theme-2: #000;
  --brand-font-heading: "Red Hat Display", sans-serif;
  --brand-font-body: "Red Hat Display", sans-serif;
  --brand-font-family-heading: var(--brand-font-heading);
  --brand-font-family-body: var(--brand-font-body);

  --c-blue: var(--brand-color-theme-1);
  --c-blue-light: #4fa8de;
  --c-navy: #062a47;
  --c-navy-2: #0b3c63;
  --c-black: var(--brand-color-theme-2);
  --c-text: #26303b;
  --c-muted: #5e6a77;
  --c-line: #e3e9ef;
  --c-tint: #f3f7fa;
  --c-tint-2: #e6f0f7;

  --grad-navy: linear-gradient(145deg, var(--c-navy-2) 0%, var(--c-navy) 100%);
  --grad-blue: linear-gradient(135deg, #0a78bd 0%, var(--c-blue) 50%, #00538a 100%);

  --pad: clamp(16px, 2.2vw, 24px);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(6, 42, 71, .04), 0 8px 24px rgba(6, 42, 71, .07);
  --shadow-lg: 0 2px 6px rgba(6, 42, 71, .06), 0 20px 48px rgba(6, 42, 71, .14);
  --ease: cubic-bezier(.25, .8, .25, 1);

  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

/* =====================================================================
   BASE
   ===================================================================== */
.f-join-us,
.f-events-new-2026,
.div-f-oeso-main-programme,
.f-welcome-quote-section,
.f-presidents-with-message,
#fModule-65170 {
  font-family: var(--brand-font-family-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
}

.f-join-us,
.f-events-new-2026,
.f-welcome-quote-section,
.f-presidents-with-message,
#fModule-65170,
.wrapInner-oeso .f-module {
  position: relative;
  padding: clamp(40px, 5vw, 64px) 0;
}

.f-join-us img,
.f-events-new-2026 img,
.div-f-oeso-main-programme img,
.f-welcome-quote-section img,
.f-presidents-with-message img,
#fModule-65170 img {
  display: block;
  max-width: 100%;
  height: auto;
}

.f-join-us p,
.f-events-new-2026 p,
.div-f-oeso-main-programme p,
.f-welcome-quote-section p,
.f-presidents-with-message p,
#fModule-65170 p { margin: 0 0 1rem; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.f-join-us .fButton,
.f-events-new-2026 .fButton,
.div-f-oeso-main-programme .fButton,
.f-welcome-quote-section .fButton,
.f-presidents-with-message .fButton,
#fModule-65170 .fButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--brand-font-family-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .2px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--grad-blue);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 100, 163, .25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.f-join-us .fButton::after,
.f-events-new-2026 .fButton::after,
.div-f-oeso-main-programme .fButton::after,
.f-welcome-quote-section .fButton::after,
.f-presidents-with-message .fButton::after,
#fModule-65170 .fButton::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
          mask: var(--i-arrow) center / contain no-repeat;
  transition: transform .25s var(--ease);
}

.f-join-us .fButton:hover,
.f-events-new-2026 .fButton:hover,
.div-f-oeso-main-programme .fButton:hover,
.f-welcome-quote-section .fButton:hover,
.f-presidents-with-message .fButton:hover,
#fModule-65170 .fButton:hover,
.f-join-us .fButton:focus-visible,
.f-events-new-2026 .fButton:focus-visible,
.div-f-oeso-main-programme .fButton:focus-visible,
.f-welcome-quote-section .fButton:focus-visible,
.f-presidents-with-message .fButton:focus-visible,
#fModule-65170 .fButton:focus-visible {
  color: #fff;
  background: var(--c-black);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
}

.f-join-us .fButton:hover::after,
.f-events-new-2026 .fButton:hover::after,
.div-f-oeso-main-programme .fButton:hover::after,
.f-welcome-quote-section .fButton:hover::after,
.f-presidents-with-message .fButton:hover::after,
#fModule-65170 .fButton:hover::after { transform: translateX(3px); }

.f-join-us .fButton:focus-visible,
.f-events-new-2026 .fButton:focus-visible,
.div-f-oeso-main-programme .fButton:focus-visible,
.f-welcome-quote-section .fButton:focus-visible,
.f-presidents-with-message .fButton:focus-visible,
#fModule-65170 .fButton:focus-visible {
  outline: 3px solid var(--c-tint-2);
  outline-offset: 2px;
}

/* light / outline variant */
.f-join-us .fButtonSmall,
.f-events-new-2026 .fButtonSmall,
.div-f-oeso-main-programme .fButtonSmall,
.f-welcome-quote-section .fButtonSmall,
.f-presidents-with-message .fButtonSmall,
#fModule-65170 .fButtonSmall {
  padding: 10px 18px;
  font-size: 14px;
  color: var(--c-blue);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--c-line);
}

.f-join-us .fButtonSmall:hover,
.f-events-new-2026 .fButtonSmall:hover,
.div-f-oeso-main-programme .fButtonSmall:hover,
.f-welcome-quote-section .fButtonSmall:hover,
.f-presidents-with-message .fButtonSmall:hover,
#fModule-65170 .fButtonSmall:hover,
.f-join-us .fButtonSmall:focus-visible,
.f-events-new-2026 .fButtonSmall:focus-visible,
.div-f-oeso-main-programme .fButtonSmall:focus-visible,
.f-welcome-quote-section .fButtonSmall:focus-visible,
.f-presidents-with-message .fButtonSmall:focus-visible,
#fModule-65170 .fButtonSmall:focus-visible {
  color: #fff;
  background: var(--c-blue);
  box-shadow: 0 8px 18px rgba(0, 100, 163, .25);
}

/* =====================================================================
   1 · CME CREDITS
   ===================================================================== */
.f-join-us {
  background: linear-gradient(180deg, #fff 0%, var(--c-tint) 100%);
}

.f-join-us .f-media {
  align-items: center;
  row-gap: 24px;
}

/* image with credit badge overlay */
.f-join-us .f-media-image {
  position: relative;
}

.f-join-us .f-media-image-link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.f-join-us .f-media-image-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.f-join-us .f-media-image::after {
  content: "16,5 CME credits\A EACCME® accredited";
  white-space: pre;
  position: absolute;
  left: calc(var(--bs-gutter-x, 1.5rem) * .5 + 20px);
  bottom: 20px;
  padding: 14px 20px 14px 18px;
  font-family: var(--brand-font-family-heading);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, .85);
  background: rgba(6, 42, 71, .82);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-left: 4px solid var(--c-blue-light);
  border-radius: 10px;
}

.f-join-us .f-media-image::first-line { color: #fff; }

.f-join-us .f-media-text > p {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--c-muted);
}

.f-join-us .f-media-text > p strong {
  color: var(--c-black);
  font-weight: 800;
}

.f-join-us .f-media-text a[href^="mailto"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 700;
  color: var(--c-blue);
  text-decoration: none;
  border-bottom: 1.5px solid var(--c-tint-2);
  word-break: break-word;
  transition: border-color .25s, color .25s;
}

.f-join-us .f-media-text a[href^="mailto"]::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: var(--i-mail) center / contain no-repeat;
          mask: var(--i-mail) center / contain no-repeat;
}

.f-join-us .f-media-text a[href^="mailto"]:hover {
  color: var(--c-black);
  border-color: var(--c-black);
}

.f-join-us .f-media-text .d-flex {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

/* =====================================================================
   2 · EVENTS
   ===================================================================== */
.f-events-new-2026 {
  background: var(--c-tint);
}

.f-events-new-2026 .f-list {
  row-gap: 16px;
  counter-reset: ev;
}

.f-events-new-2026 .f-list-item { counter-increment: ev; }

.f-events-new-2026 .f-list-item-container {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.f-events-new-2026 .f-list-item-container:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.f-events-new-2026 .f-list-item-teaser-image {
  position: relative;
  overflow: hidden;
  background: var(--c-tint-2);
}

.f-events-new-2026 .f-list-item-teaser-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.f-events-new-2026 .f-list-item-container:hover .f-list-item-teaser-image img {
  transform: scale(1.05);
}

/* soft bottom shade + number label */
.f-events-new-2026 .f-list-item-teaser-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 42, 71, .35));
  pointer-events: none;
}

.f-events-new-2026 .f-list-item-teaser-image::before {
  content: "Event 0" counter(ev);
  position: absolute;
  left: var(--pad);
  bottom: 14px;
  z-index: 1;
  padding: 5px 12px;
  font-family: var(--brand-font-family-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-navy);
  background: #fff;
  border-radius: 6px;
}

/* top accent line on hover */
.f-events-new-2026 .f-list-item-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 4px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.f-events-new-2026 .f-list-item-container:hover::before { transform: scaleX(1); }

.f-events-new-2026 .f-list-item-title {
  padding: 22px var(--pad) 8px;
  font-family: var(--brand-font-family-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.f-events-new-2026 .f-list-item-title a {
  color: var(--c-black);
  text-decoration: none;
  transition: color .25s var(--ease);
}

/* whole card clickable when it links to an inner page */
.f-events-new-2026 .f-list-item-title a[href]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.f-events-new-2026 .f-list-item-container:hover .f-list-item-title a[href] {
  color: var(--c-blue);
}

.f-events-new-2026 .f-list-item-subtitle {
  padding: 0 var(--pad);
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-muted);
}

.f-events-new-2026 .f-list-item-fields {
  margin-top: auto;
  padding: 20px var(--pad) var(--pad);
}

.f-events-new-2026 .f-list-item-container:has(.f-list-item-title a[href]) .f-list-item-fields::after {
  content: "View details  →";
  white-space: pre;
  display: block;
  padding-top: 16px;
  font-family: var(--brand-font-family-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-blue);
  border-top: 1px solid var(--c-line);
}

.f-events-new-2026 .buttons-events {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 10px;
}

.f-events-new-2026 .buttons-events .fButton {
  width: 100%;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
}

.f-events-new-2026 .outer-link-2 .fButton {
  color: var(--c-blue);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--c-line);
}

.f-events-new-2026 .outer-link-2 .fButton:hover {
  color: #fff;
  background: var(--c-blue);
  box-shadow: 0 8px 18px rgba(0, 100, 163, .25);
}

.f-events-new-2026 .fButton[href$=".pdf"]::after {
  -webkit-mask-image: var(--i-download);
          mask-image: var(--i-download);
}

.f-events-new-2026 .fButton[href$=".pdf"]:hover::after { transform: translateY(2px); }

/* =====================================================================
   3 · SCIENTIFIC PROGRAM
   ===================================================================== */
.div-f-oeso-main-programme {
  padding: clamp(40px, 5vw, 64px) 0;
  background: #fff;
}

.wrapInner-oeso {
  display: grid;
  gap: 20px;
}

.wrapInner-oeso .f-module {
  padding: var(--pad);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.f-text-about-programme .fModuleContent > div > p:first-child {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-blue);
  background: var(--c-tint-2);
  border-radius: 6px;
}

.f-text-about-programme .fModuleContent em strong {
  display: block;
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 800;
  font-style: normal;
  color: var(--c-black);
}

/* process flow: 3 connected steps */
.f-text-about-programme ul {
  position: relative;
  list-style: none;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}

.f-text-about-programme ul::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 23px;
  right: calc((100% - 56px) / 3 - 23px);
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-tint-2));
}

.f-text-about-programme ul li {
  position: relative;
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  counter-increment: step;
}

.f-text-about-programme ul li::before {
  content: counter(step);
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  font-family: var(--brand-font-family-heading);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: var(--grad-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 6px #fff, 0 6px 16px rgba(0, 100, 163, .3);
}

/* at a glance */
.f-text-with-image-about-programme {
  background: linear-gradient(135deg, #fff 0%, var(--c-tint) 100%) !important;
}

.f-text-with-image-about-programme .f-media {
  align-items: center;
  row-gap: 28px;
}

.f-text-with-image-about-programme .f-media-image-link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.f-text-with-image-about-programme .f-media-image-link img {
  width: 100%;
  transition: transform .7s var(--ease);
}

.f-text-with-image-about-programme .f-media-image-link:hover img { transform: scale(1.04); }

.f-text-with-image-about-programme .f-media-text > p {
  font-size: 16px;
  color: var(--c-muted);
}

.f-text-with-image-about-programme .f-media-text > p b,
.f-text-with-image-about-programme ul li b {
  color: var(--c-blue) !important;
  font-weight: 800;
}

.f-text-with-image-about-programme ul {
  list-style: none;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 10px;
}

.f-text-with-image-about-programme ul li {
  position: relative;
  margin: 0 !important;
  padding: 14px 18px 14px 54px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  transition: border-color .25s, box-shadow .25s;
}

.f-text-with-image-about-programme ul li:hover {
  border-color: #c9dceb;
  box-shadow: var(--shadow);
}

.f-text-with-image-about-programme ul li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--i-check) center / 12px no-repeat, var(--grad-blue);
}

/* =====================================================================
   4 · PRESIDENT OF HONOR — split card
   ===================================================================== */
.f-welcome-quote-section {
  background: var(--c-tint);
}

.f-welcome-qoute {
  padding: var(--pad);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.f-welcome-qoute .f-media {
  align-items: stretch;
  row-gap: 28px;
}

.f-welcome-qoute .f-media-image {
  display: flex;
}

.f-welcome-qoute .f-media-image-link {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  padding: var(--pad);
  background:
    radial-gradient(circle at 30% 20%, rgba(79, 168, 222, .35), transparent 55%),
    var(--grad-navy);
  border-radius: var(--radius);
  overflow: hidden;
}

.f-welcome-qoute .f-media-image-link::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
}

.f-welcome-qoute .f-media-image-link img {
  width: min(220px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, .9);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
}

.f-welcome-qoute .f-media-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(12px, 3vw, 44px);
}

.f-welcome-qoute .f-media-text > p:not(.f-name-and-designation):not(.text-center) {
  position: relative;
  margin-bottom: 18px;
  padding-top: 40px;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.2px;
  color: var(--c-black);
}

.f-welcome-qoute .f-media-text > p:not(.f-name-and-designation):not(.text-center)::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: -4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 84px;
  line-height: 1;
  color: var(--c-blue);
}

.f-welcome-qoute .f-name-and-designation {
  margin: 0;
  padding-top: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line);
}

.f-welcome-qoute .f-name-and-designation strong {
  display: inline-block;
  margin-bottom: 2px;
  font-family: var(--brand-font-family-heading);
  font-weight: 800;
  color: var(--c-black);
}

.f-welcome-qoute .f-name-and-designation strong span {
  color: var(--c-blue);
  font-weight: 700 !important;
}

.f-welcome-qoute .text-center.text-lg-end {
  margin: 24px 0 0;
}

/* =====================================================================
   5 · UNDER THE PRESIDENCY OF — navy cards
   ===================================================================== */
.f-presidents-with-message {
  background: var(--c-tint);
  padding-top: 0;
}

.f-presidents-with-message .fGalleryImages {
  list-style: none;
  padding: 0 !important;
  row-gap: 24px;
}

.f-presidents-with-message .fGalleryImages > li {

  margin-right: 0 !important;
}

.f-presidents-with-message .ItemfinnerGallery {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--pad);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(79, 168, 222, .32), transparent 60%),
    var(--grad-navy);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(6, 42, 71, .22);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.f-presidents-with-message .ItemfinnerGallery:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(6, 42, 71, .32);
}

.f-presidents-with-message .fGalleryImage {
  display: block;
  width: 136px;
  height: 136px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .1), 0 12px 28px rgba(0, 0, 0, .3);
  transition: transform .35s var(--ease);
}

.f-presidents-with-message .ItemfinnerGallery:hover .fGalleryImage { transform: scale(1.04); }

.f-presidents-with-message .fGalleryImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.f-presidents-with-message .fGalleryText {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  margin-top: 22px;
}

.f-presidents-with-message .fGalleryText h3 {
  margin: 0 0 6px;
  font-family: var(--brand-font-family-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.f-presidents-with-message .fGalleryText h3 a {
  color: #fff;
  text-decoration: none;
}

.f-presidents-with-message .fGalleryText p:first-of-type {
  margin: 0 0 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8fc8ec;
}

.f-presidents-with-message .fGalleryText p:last-of-type {
  margin: auto 0 0;
}

.f-presidents-with-message .fGalleryText .fButton {
  width: 100%;
  padding: 11px 16px;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28);
}

.f-presidents-with-message .fGalleryText .fButton:hover {
  color: var(--c-navy);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

/* =====================================================================
   6 · WHY JOIN US IN VERSAILLES?
   ===================================================================== */
#fModule-65170 {
  background: #fff;
}

#fModule-65170 ul {
  list-style: none;
  margin: 0 0 20px !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#fModule-65170 ul li {
  position: relative;
  margin: 0 !important;
  text-indent: 0 !important;
  padding: var(--pad);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-tint);
  border-radius: var(--radius);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}

#fModule-65170 ul li:hover {
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* icon tiles */
#fModule-65170 ul li::before {
  content: "";
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 12px;
  background-color: var(--c-blue);
  background-image: var(--grad-blue);
  box-shadow: 0 8px 18px rgba(0, 100, 163, .28);
}

#fModule-65170 ul li::after {
  content: "";
  position: absolute;
  top: var(--pad);
  left: var(--pad);
  width: 52px;
  height: 52px;
  background-color: #fff;
  -webkit-mask: var(--icon) center / 26px no-repeat;
          mask: var(--icon) center / 26px no-repeat;
}

#fModule-65170 ul li:nth-child(1) {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E");
}

#fModule-65170 ul li:nth-child(2) {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17.5' cy='9' r='2.5'/%3E%3Cpath d='M16 14.2c2.9.3 5 2.6 5 5.8'/%3E%3C/svg%3E");
}

#fModule-65170 ul li:nth-child(3) {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10M19 21V10M9 21v-6h6v6M2 10l10-6 10 6M12 4V2'/%3E%3C/svg%3E");
}

/* closing quote — navy band */
#fModule-65170 .fModuleContent p:not(.text-end) {
  position: relative;
  margin: 0;
  padding: var(--pad) var(--pad) 14px calc(var(--pad) + 56px);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.65;
  color: rgba(255, 255, 255, .92);
  background: var(--c-navy);
  border-radius: var(--radius) var(--radius) 0 0;
}

#fModule-65170 .fModuleContent p:not(.text-end)::before {
  content: "\201C";
  position: absolute;
  top: calc(var(--pad) - 14px);
  left: var(--pad);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-style: normal;
  line-height: 1;
  color: var(--c-blue-light);
}

#fModule-65170 .text-end {
  margin: 0;
  padding: 0 var(--pad) var(--pad);
  font-family: var(--brand-font-family-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8fc8ec;
  background: var(--c-navy);
  border-radius: 0 0 var(--radius) var(--radius);
}

#fModule-65170 .text-end::before {
  content: "— ";
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991.98px) {
  .f-text-about-programme ul,
  #fModule-65170 ul {
    grid-template-columns: 1fr;
  }

  /* vertical process line on tablet / mobile */
  .f-text-about-programme ul { gap: 22px; }

  .f-text-about-programme ul::before {
    top: 23px;
    bottom: 23px;
    left: 22px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--c-blue), var(--c-tint-2));
  }

  .f-text-about-programme ul li {
    padding-left: 66px;
    min-height: 46px;
  }

  .f-text-about-programme ul li::before {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .f-welcome-qoute .f-media-text {
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
  }
}

@media (max-width: 575.98px) {
  .f-join-us .f-media-text .d-flex .fButton {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  .f-join-us .f-media-image::after {
    bottom: 12px;
    left: calc(var(--bs-gutter-x, 1.5rem) * .5 + 12px);
    padding: 10px 14px;
    font-size: 12px;
  }

  .f-welcome-qoute .fButton { width: 100%; }

  #fModule-65170 .fModuleContent p:not(.text-end) {
    padding-left: var(--pad);
    padding-top: calc(var(--pad) + 44px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .f-join-us *,
  .f-events-new-2026 *,
  .div-f-oeso-main-programme *,
  .f-welcome-quote-section *,
  .f-presidents-with-message *,
  #fModule-65170 *,
  .f-join-us *::before,
  .f-events-new-2026 *::before,
  .div-f-oeso-main-programme *::before,
  .f-welcome-quote-section *::before,
  .f-presidents-with-message *::before,
  #fModule-65170 *::before,
  .f-join-us *::after,
  .f-events-new-2026 *::after,
  .div-f-oeso-main-programme *::after,
  .f-welcome-quote-section *::after,
  .f-presidents-with-message *::after,
  #fModule-65170 *::after {
    transition-duration: .01ms !important;
  }
}