/**
 * Homepage blocks (2026 redesign)
 * Styles for all new ACF blocks on the front page.
 */

/* --- Hide breadcrumbs on new homepage --- */
.tfg-homepage ~ .bcrumbs,
.tfg-homepage .bcrumbs,
body.page-template-front-page .bcrumbs,
body.home .bcrumbs {
  display: none !important;
}
.bcrumbs:has(~ .tfg-homepage) {
  display: none !important;
}

/* --- Full-width utility --- */
.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* --- Homepage wrapper --- */
.tfg-homepage {
  background: #e8edf2;
}

/* ============================================================
   Block: Homepage Hero
   ============================================================ */
.block-homepage-hero {
  padding: 64px 0 72px;
  background-color: #e8edf2;
}
.block-homepage-hero .homepage-hero__container {
  width: 100%;
  padding: 0 48px;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .block-homepage-hero .homepage-hero__container {
    padding: 0 32px;
  }
}
@media (max-width: 768px) {
  .block-homepage-hero {
    padding: 40px 0 48px;
  }
  .block-homepage-hero .homepage-hero__container {
    padding: 0 16px;
  }
}
.block-homepage-hero .homepage-hero__grid {
  display: grid;
  grid-template-columns: 3fr 4fr 3fr;
  gap: 28px;
  min-height: 620px;
}
@media (max-width: 1024px) {
  .block-homepage-hero .homepage-hero__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .block-homepage-hero .homepage-hero__grid {
    grid-template-columns: 1fr;
  }
}

/* Featured article (left col) */
.block-homepage-hero .homepage-hero__featured {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.block-homepage-hero .homepage-hero__featured-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  background: #10478e;
  color: #fff;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.block-homepage-hero .homepage-hero__featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.block-homepage-hero .homepage-hero__featured-button {
  display: inline-block;
  align-self: flex-start;
  margin: 0 20px 20px;
  padding: 10px 22px;
  background: #10478e;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s, transform 0.15s;
}
.block-homepage-hero .homepage-hero__featured-button:hover {
  background: #0a2540;
  transform: translateY(-1px);
}
.block-homepage-hero .homepage-hero__featured-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .block-homepage-hero .homepage-hero__featured-image {
    height: 260px;
  }
}
@media (max-width: 768px) {
  .block-homepage-hero .homepage-hero__featured-image {
    height: 220px;
  }
}
.block-homepage-hero .homepage-hero__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-homepage-hero .homepage-hero__featured-content {
  padding: 20px;
}
.block-homepage-hero .homepage-hero__featured-title {
  color: #0a2540;
  margin: 8px 0;
  line-height: 1.3;
}
.block-homepage-hero .homepage-hero__featured-excerpt {
  color: #4a5568;
  margin: 8px 0;
  line-height: 1.5;
}
.block-homepage-hero .homepage-hero__featured-meta {
  color: #718096;
  margin-top: 12px;
}
.block-homepage-hero .homepage-hero__meta-sep {
  margin: 0 6px;
}

/* Tags */
.block-homepage-hero .homepage-hero__tag {
  display: inline-block;
  background: #10478e;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.block-homepage-hero .homepage-hero__tag--small {
  font-size: 10px;
  padding: 2px 6px;
}
.block-homepage-hero .homepage-hero__tag--sponsor {
  background: #2d3748;
}

/* News feed (center col) */
.block-homepage-hero .homepage-hero__news {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.block-homepage-hero .homepage-hero__section-title {
  color: #0a2540;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8edf2;
}
.block-homepage-hero .homepage-hero__news-scroll {
  flex: 1;
  overflow-y: auto;
  max-height: 440px;
  padding-right: 8px;
}
.block-homepage-hero .homepage-hero__news-scroll::-webkit-scrollbar {
  width: 6px;
}
.block-homepage-hero .homepage-hero__news-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.block-homepage-hero .homepage-hero__news-scroll::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 3px;
}
.block-homepage-hero .homepage-hero__news-item {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 12px 0;
  min-height: 80px;
  border-bottom: 1px solid #e8edf2;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s;
}
.block-homepage-hero .homepage-hero__news-item:hover {
  background-color: #f7fafc;
}
.block-homepage-hero .homepage-hero__news-item:last-child {
  border-bottom: none;
}
.block-homepage-hero .homepage-hero__news-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  background: #e8edf2;
}
.block-homepage-hero .homepage-hero__news-thumb,
.block-homepage-hero .homepage-hero__news-thumb picture,
.block-homepage-hero .homepage-hero__news-thumb img {
  display: block;
}
.block-homepage-hero .homepage-hero__news-thumb picture,
.block-homepage-hero .homepage-hero__news-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
@media (max-width: 768px) {
  .block-homepage-hero .homepage-hero__news-thumb {
    width: 80px;
    height: 60px;
  }
}
.block-homepage-hero .homepage-hero__news-content {
  flex: 1;
  min-width: 0;
}
.block-homepage-hero .homepage-hero__news-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.block-homepage-hero .homepage-hero__news-title {
  color: #0a2540;
  margin: 0 0 4px;
  line-height: 1.4;
}
.block-homepage-hero .homepage-hero__news-author {
  color: #718096;
}

/* Sidebar — scrollable media lists (Latest videos / podcasts) */
.block-homepage-hero .homepage-hero__media {
  background: #fff;
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.block-homepage-hero .homepage-hero__media-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 2px solid #e8edf2;
}
.block-homepage-hero .homepage-hero__media-title {
  color: #0a2540;
  margin: 0;
}
.block-homepage-hero .homepage-hero__media-viewall {
  color: #10478e;
  text-decoration: none;
  font-weight: 600;
}
.block-homepage-hero .homepage-hero__media-viewall:hover {
  text-decoration: underline;
}
.block-homepage-hero .homepage-hero__media-scroll {
  flex: 1;
  overflow-y: auto;
  max-height: 220px;
  padding-right: 6px;
}
.block-homepage-hero .homepage-hero__media-scroll::-webkit-scrollbar {
  width: 6px;
}
.block-homepage-hero .homepage-hero__media-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.block-homepage-hero .homepage-hero__media-scroll::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 3px;
}
.block-homepage-hero .homepage-hero__media-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e8edf2;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s;
}
.block-homepage-hero .homepage-hero__media-item:hover {
  background-color: #f7fafc;
}
.block-homepage-hero .homepage-hero__media-item:last-child {
  border-bottom: none;
}
.block-homepage-hero .homepage-hero__media-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  background: #e8edf2;
}
.block-homepage-hero .homepage-hero__media-thumb,
.block-homepage-hero .homepage-hero__media-thumb picture,
.block-homepage-hero .homepage-hero__media-thumb img {
  display: block;
}
.block-homepage-hero .homepage-hero__media-thumb picture,
.block-homepage-hero .homepage-hero__media-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.block-homepage-hero .homepage-hero__media-content {
  position: relative;
  flex: 1;
  min-width: 0;
  padding-right: 28px;
}
.block-homepage-hero .homepage-hero__media-content h5 {
  margin: 0;
  color: #0a2540;
  line-height: 1.35;
}
.block-homepage-hero .homepage-hero__media-content .homepage-hero__media-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
}

/* Sidebar cards (right col) */
.block-homepage-hero .homepage-hero__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 1024px) {
  .block-homepage-hero .homepage-hero__sidebar {
    flex-direction: row;
  }
}
@media (max-width: 768px) {
  .block-homepage-hero .homepage-hero__sidebar {
    flex-direction: column;
  }
}
.block-homepage-hero .homepage-hero__card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.block-homepage-hero .homepage-hero__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 0;
}
.block-homepage-hero .homepage-hero__card-title {
  color: #0a2540;
  margin: 0;
}
.block-homepage-hero .homepage-hero__card-viewall {
  color: #10478e;
  text-decoration: none;
  font-weight: 600;
}
.block-homepage-hero .homepage-hero__card-viewall:hover {
  text-decoration: underline;
}
.block-homepage-hero .homepage-hero__card-body {
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.block-homepage-hero .homepage-hero__card-body--edition {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.block-homepage-hero .homepage-hero__card-image {
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
}
.block-homepage-hero .homepage-hero__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-homepage-hero .homepage-hero__card-content {
  flex: 1;
  min-width: 0;
}
.block-homepage-hero .homepage-hero__card-content h5 {
  color: #0a2540;
  margin: 4px 0;
  line-height: 1.3;
}
.block-homepage-hero .homepage-hero__card-content span {
  color: #718096;
}
.block-homepage-hero .homepage-hero__card-arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #10478e;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8edf2;
  transition: background-color 0.15s;
}
.block-homepage-hero .homepage-hero__card-arrow:hover {
  background: #d4dbe5;
}

/* Podcast card */
.block-homepage-hero .homepage-hero__podcast-player {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #10478e;
}
.block-homepage-hero .homepage-hero__podcast-bar {
  flex: 1;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
}
.block-homepage-hero .homepage-hero__podcast-progress {
  width: 30%;
  height: 100%;
  background: #10478e;
  border-radius: 2px;
}

/* Edition card */
.block-homepage-hero .homepage-hero__edition-cover {
  max-width: 140px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Organisation logos on article cards */
.block-homepage-hero .homepage-hero__orgs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.block-homepage-hero .homepage-hero__orgs img {
  height: 16px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  display: block;
}
.block-homepage-hero .homepage-hero__orgs--featured {
  margin-bottom: 8px;
}
.block-homepage-hero .homepage-hero__orgs--featured img {
  height: 22px;
  max-width: 90px;
}
.block-homepage-hero .homepage-hero__orgs--inline img {
  height: 14px;
  max-width: 60px;
}
.block-homepage-hero .homepage-hero__news-tags {
  flex-wrap: wrap;
  align-items: center;
}

/* Media icon — top-right of the card content area, sits above the title */
.block-homepage-hero .homepage-hero__card-content {
  position: relative;
}
.block-homepage-hero .homepage-hero__card-content:has(.homepage-hero__media-icon) {
  padding-right: 44px;
}
.block-homepage-hero .homepage-hero__media-icon {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #10478e;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-homepage-hero .homepage-hero__media-icon svg {
  color: #fff !important;
  fill: currentColor;
  stroke: currentColor;
}
.block-homepage-hero .homepage-hero__media-icon svg [stroke] {
  stroke: #fff !important;
}
.block-homepage-hero .homepage-hero__tag,
.block-homepage-hero .homepage-hero__tag--small {
  color: #fff !important;
}

/* Hero dark mode */
.block-homepage-hero.dark-mode {
  background-color: #0a2540;
}
.block-homepage-hero.dark-mode .homepage-hero__featured,
.block-homepage-hero.dark-mode .homepage-hero__news,
.block-homepage-hero.dark-mode .homepage-hero__card {
  background: #132f4c;
}
.block-homepage-hero.dark-mode .homepage-hero__featured-title,
.block-homepage-hero.dark-mode .homepage-hero__section-title,
.block-homepage-hero.dark-mode .homepage-hero__news-title,
.block-homepage-hero.dark-mode .homepage-hero__card-title {
  color: #fff;
}
.block-homepage-hero.dark-mode .homepage-hero__featured-excerpt,
.block-homepage-hero.dark-mode .homepage-hero__featured-meta,
.block-homepage-hero.dark-mode .homepage-hero__news-author {
  color: #b0bec5;
}
.block-homepage-hero.dark-mode .homepage-hero__news-item:hover {
  background-color: #1a3a5c;
}
.block-homepage-hero.dark-mode .homepage-hero__news-item {
  border-bottom-color: #1e3a5f;
}
.block-homepage-hero.dark-mode .homepage-hero__section-title {
  border-bottom-color: #1e3a5f;
}

/* ============================================================
   Block: CTA Form Banner
   ============================================================ */
.block-cta-form .block-cta-form__bg {
  background: linear-gradient(135deg, #0a2540 0%, #10478e 100%);
  padding: 60px 0;
}
@media (max-width: 768px) {
  .block-cta-form .block-cta-form__bg {
    padding: 40px 0;
  }
}

/* Light-blue boxed variant — sits inside the site container, not full width */
.block-cta-form.block-cta-form--light-blue {
  max-width: 1280px;
  margin: 48px auto;
  padding: 0 48px;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .block-cta-form.block-cta-form--light-blue {
    padding: 0 32px;
    margin: 36px auto;
  }
}
@media (max-width: 768px) {
  .block-cta-form.block-cta-form--light-blue {
    padding: 0 16px;
    margin: 28px auto;
  }
}
.block-cta-form.block-cta-form--light-blue .block-cta-form__bg {
  background: #E5F5FF;
  border-radius: 16px;
  padding: 48px 56px;
}
@media (max-width: 768px) {
  .block-cta-form.block-cta-form--light-blue .block-cta-form__bg {
    padding: 32px 24px;
  }
}
.block-cta-form.block-cta-form--light-blue .block-cta-form__container {
  padding: 0;
}
.block-cta-form.block-cta-form--light-blue .block-cta-form__title,
.block-cta-form.block-cta-form--light-blue .block-cta-form__desc {
  color: #0a2540 !important;
}
.block-cta-form.block-cta-form--light-blue .block-cta-form__desc {
  opacity: 0.85;
}
.block-cta-form.block-cta-form--light-blue .block-cta-form__button {
  background: #0a2540;
  color: #fff;
}
.block-cta-form.block-cta-form--light-blue .block-cta-form__button:hover {
  background: #10478e;
}
.block-cta-form .block-cta-form__container {
  width: 100%;
  padding: 0 48px;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .block-cta-form .block-cta-form__container {
    padding: 0 32px;
  }
}
@media (max-width: 768px) {
  .block-cta-form .block-cta-form__container {
    padding: 0 16px;
  }
}
.block-cta-form .block-cta-form__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  flex-shrink: 0;
}
.block-cta-form .block-cta-form__logo img {
  max-height: 56px;
  width: auto;
  display: block;
}
.block-cta-form .block-cta-form__button {
  display: inline-block;
  padding: 12px 32px;
  background: #fff;
  color: #0a2540;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s, transform 0.15s;
}
.block-cta-form .block-cta-form__button:hover {
  background: #e8edf2;
  transform: translateY(-1px);
}
.block-cta-form .block-cta-form__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.block-cta-form .block-cta-form__text {
  flex: 1;
  min-width: 0;
}
@media (max-width: 768px) {
  .block-cta-form .block-cta-form__aside {
    align-items: flex-start;
    width: 100%;
  }
  .block-cta-form .block-cta-form__button {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .block-cta-form .block-cta-form__inner {
    flex-direction: column;
    gap: 24px;
  }
}
.block-cta-form .block-cta-form__text {
  flex: 1;
}
.block-cta-form .block-cta-form__title {
  margin: 0 0 12px;
  line-height: 1.2;
}
.block-cta-form .block-cta-form__desc {
  opacity: 0.85;
  margin: 0;
  line-height: 1.5;
}
.block-cta-form .block-cta-form__form {
  flex: 1;
  max-width: 500px;
}
.block-cta-form .block-cta-form__form input[type="text"],
.block-cta-form .block-cta-form__form input[type="email"],
.block-cta-form .block-cta-form__form select,
.block-cta-form .block-cta-form__form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}
.block-cta-form .block-cta-form__form input[type="text"]::placeholder,
.block-cta-form .block-cta-form__form input[type="email"]::placeholder,
.block-cta-form .block-cta-form__form select::placeholder,
.block-cta-form .block-cta-form__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.block-cta-form .block-cta-form__form input[type="submit"],
.block-cta-form .block-cta-form__form button[type="submit"] {
  background: #fff;
  color: #0a2540;
  border: none;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s;
}
.block-cta-form .block-cta-form__form input[type="submit"]:hover,
.block-cta-form .block-cta-form__form button[type="submit"]:hover {
  background: #e8edf2;
}
@media (max-width: 768px) {
  .block-cta-form .block-cta-form__form {
    max-width: 100%;
    width: 100%;
  }
}

/* ============================================================
   Block: Conferences
   ============================================================ */
.block-conferences {
  padding: 64px 0;
  background: linear-gradient(135deg, #0a2540 0%, #10478e 100%);
  color: #fff;
}
.block-conferences .block-conferences__header h3 {
  color: #fff !important;
}
@media (max-width: 768px) {
  .block-conferences {
    padding: 48px 0;
  }
}
.block-conferences .block-conferences__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .block-conferences .block-conferences__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
.block-conferences .block-conferences__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  align-items: stretch;
}
.block-conferences .block-conferences__row .block-conferences__card {
  flex: 0 0 260px;
  max-width: 260px;
}
.block-conferences .block-conferences__row--with-updates .block-conferences__updates {
  flex: 1 1 auto;
  margin-right: auto;
  min-width: 280px;
}
@media (max-width: 1100px) {
  .block-conferences .block-conferences__row .block-conferences__card {
    flex: 1 1 calc(50% - 12px);
    max-width: none;
  }
  .block-conferences .block-conferences__row--with-updates .block-conferences__updates {
    flex: 1 1 100%;
    margin-right: 0;
  }
}
@media (max-width: 600px) {
  .block-conferences .block-conferences__row .block-conferences__card {
    flex: 1 1 100%;
  }
}
.block-conferences .block-conferences__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08), 0 1px 3px rgba(10, 37, 64, 0.06);
  transform: translateY(0) scale(1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}
.block-conferences .block-conferences__card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 22px rgba(10, 37, 64, 0.12), 0 2px 5px rgba(10, 37, 64, 0.08);
}
.block-conferences .block-conferences__card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0a2540;
  overflow: hidden;
}
.block-conferences .block-conferences__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-conferences .block-conferences__card-content {
  padding: 14px 16px 18px;
}
/* "Get updates about TFG events" — sits as the first column, transparent over the section background */
.block-conferences .block-conferences__updates {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 8px 8px 0 0;
  background: transparent;
  color: #fff;
}
.block-conferences .block-conferences__updates-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.block-conferences .block-conferences__updates-desc {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
  opacity: 0.85;
}
.block-conferences .block-conferences__updates-button {
  align-self: flex-start;
  display: inline-block;
  padding: 10px 22px;
  background: #fff;
  color: #0a2540;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s, transform 0.15s;
}
.block-conferences .block-conferences__updates-button:hover {
  background: #e8edf2;
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .block-conferences .block-conferences__updates {
    padding: 0;
  }
}

/* ============================================================
   Block: Editorial Board
   ============================================================ */
.block-editorial-board {
  padding: 50px 0;
}
.block-editorial-board .block-editorial-board__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) {
  .block-editorial-board .block-editorial-board__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .block-editorial-board .block-editorial-board__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .block-editorial-board .block-editorial-board__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.block-editorial-board .block-editorial-board__member {
  text-align: center;
}
.block-editorial-board .block-editorial-board__member-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.block-editorial-board .block-editorial-board__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  background: #e8edf2;
}
.block-editorial-board .block-editorial-board__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-editorial-board .block-editorial-board__name {
  color: #0a2540;
  margin: 0 0 4px;
}
.block-editorial-board .block-editorial-board__role {
  color: #718096;
  margin: 0;
}
.block-editorial-board .block-editorial-board__footer {
  text-align: center;
}

/* ============================================================
   Block: Partner Marquee
   ============================================================ */
.block-partner-marquee {
  padding: 40px 0;
  overflow: hidden;
}
.block-partner-marquee .block-partner-marquee__track {
  overflow: hidden;
  position: relative;
}
.block-partner-marquee .block-partner-marquee__track::before,
.block-partner-marquee .block-partner-marquee__track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.block-partner-marquee .block-partner-marquee__track::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.block-partner-marquee .block-partner-marquee__track::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}
.block-partner-marquee.bg-light-blue .block-partner-marquee__track::before {
  background: linear-gradient(to right, #e8edf2 0%, transparent 100%);
}
.block-partner-marquee.bg-light-blue .block-partner-marquee__track::after {
  background: linear-gradient(to left, #e8edf2 0%, transparent 100%);
}
.block-partner-marquee.dark-mode .block-partner-marquee__track::before {
  background: linear-gradient(to right, #000 0%, transparent 100%);
}
.block-partner-marquee.dark-mode .block-partner-marquee__track::after {
  background: linear-gradient(to left, #000 0%, transparent 100%);
}
.block-partner-marquee .block-partner-marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-speed, 30s) linear infinite;
}
.block-partner-marquee .block-partner-marquee__item {
  flex-shrink: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-partner-marquee .block-partner-marquee__item a {
  display: flex;
  align-items: center;
}
.block-partner-marquee .block-partner-marquee__item img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.3s;
}
.block-partner-marquee .block-partner-marquee__item img:hover {
  transform: scale(1.04);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Block: Hub Themes
   ============================================================ */
.block-hub-themes .block-hub-themes__bg {
  background: #0a2540;
  padding: 50px 0;
}
.block-hub-themes .block-hub-themes__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.block-hub-themes .block-hub-themes__scroll.is-collapsed .block-hub-themes__card.is-extra {
  display: none;
}
.block-hub-themes .block-hub-themes__toggle {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 24px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.block-hub-themes .block-hub-themes__toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.block-hub-themes .block-hub-themes__scroll::-webkit-scrollbar {
  height: 6px;
}
.block-hub-themes .block-hub-themes__scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.block-hub-themes .block-hub-themes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .block-hub-themes .block-hub-themes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .block-hub-themes .block-hub-themes__grid {
    grid-template-columns: 1fr;
  }
}
.block-hub-themes .block-hub-themes__card {
  position: relative;
  display: block;
  min-height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: transform 0.2s;
}
.block-hub-themes .block-hub-themes__card:not([style*="background-image"]) {
  min-height: 0;
  background-color: rgba(255, 255, 255, 0.06);
}
.block-hub-themes .block-hub-themes__card:hover {
  transform: translateY(-4px);
}
.block-hub-themes .block-hub-themes__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}
.block-hub-themes .block-hub-themes__card:not([style*="background-image"]) .block-hub-themes__card-overlay {
  background: none;
}
.block-hub-themes .block-hub-themes__card-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 200px;
}
.block-hub-themes .block-hub-themes__card:not([style*="background-image"]) .block-hub-themes__card-content {
  min-height: 0;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.block-hub-themes .block-hub-themes__card:not([style*="background-image"]) .block-hub-themes__card-title {
  margin: 0;
}
.block-hub-themes .block-hub-themes__card-title {
  margin: 0 0 4px;
  line-height: 1.3;
}
.block-hub-themes .block-hub-themes__card-desc {
  margin: 0;
  opacity: 0.8;
  line-height: 1.4;
}

/* ============================================================
   Block: Latest Video
   ============================================================ */
.block-latest-video {
  padding: 50px 0;
}
.block-latest-video .block-latest-video__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.block-latest-video .block-latest-video__card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08), 0 1px 3px rgba(10, 37, 64, 0.06);
  transform: translateY(0) scale(1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}
.block-latest-video .block-latest-video__card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 22px rgba(10, 37, 64, 0.12), 0 2px 5px rgba(10, 37, 64, 0.08);
}
.block-latest-video .block-latest-video__card:hover .block-latest-video__play-overlay svg {
  transform: scale(1.1);
}
.block-latest-video .block-latest-video__card-image {
  position: relative;
  display: block;
  text-decoration: none;
}
.block-latest-video .block-latest-video__thumb {
  border-radius: 8px;
  overflow: hidden;
}
.block-latest-video .block-latest-video__thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.block-latest-video .block-latest-video__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.block-latest-video .block-latest-video__play-overlay svg {
  transition: transform 0.2s;
}
.block-latest-video .block-latest-video__card-content a {
  text-decoration: none;
}

/* ============================================================
   Block: Suggested Content
   ============================================================ */
.block-suggested-content {
  padding: 50px 0;
}
.block-suggested-content .block-suggested-content__grid {
  gap: 24px !important;
}
@media (min-width: 1025px) {
  .block-suggested-content .block-suggested-content__grid {
    gap: 32px !important;
  }
}
.block-suggested-content .block-suggested-content__card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08), 0 1px 3px rgba(10, 37, 64, 0.06);
  transform: translateY(0) scale(1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}
.block-suggested-content .block-suggested-content__card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 22px rgba(10, 37, 64, 0.12), 0 2px 5px rgba(10, 37, 64, 0.08);
}
.block-suggested-content .block-suggested-content__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.block-suggested-content .block-suggested-content__card-image {
  height: 160px;
  overflow: hidden;
}
.block-suggested-content .block-suggested-content__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.block-suggested-content .block-suggested-content__card-image:hover img {
  transform: scale(1.05);
}
.block-suggested-content .block-suggested-content__card-body p {
  color: #718096;
  line-height: 1.5;
}

/* ============================================================
   Block: Flexible Columns
   ============================================================ */
.block-flexible-columns {
  padding: 40px 0;
}
.block-flexible-columns .block-flexible-columns__col {
  line-height: 1.6;
}
.block-flexible-columns .block-flexible-columns__col h1,
.block-flexible-columns .block-flexible-columns__col h2,
.block-flexible-columns .block-flexible-columns__col h3,
.block-flexible-columns .block-flexible-columns__col h4,
.block-flexible-columns .block-flexible-columns__col h5,
.block-flexible-columns .block-flexible-columns__col h6 {
  color: #0a2540;
  margin-bottom: 12px;
}
.block-flexible-columns .block-flexible-columns__col p {
  margin-bottom: 16px;
}
.block-flexible-columns .block-flexible-columns__col img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.block-flexible-columns .block-flexible-columns__col a {
  color: #10478e;
}
.block-flexible-columns.dark-mode .block-flexible-columns__col h1,
.block-flexible-columns.dark-mode .block-flexible-columns__col h2,
.block-flexible-columns.dark-mode .block-flexible-columns__col h3,
.block-flexible-columns.dark-mode .block-flexible-columns__col h4,
.block-flexible-columns.dark-mode .block-flexible-columns__col h5,
.block-flexible-columns.dark-mode .block-flexible-columns__col h6 {
  color: #fff;
}
.block-flexible-columns.dark-mode .block-flexible-columns__col p {
  color: #b0bec5;
}

/* ============================================================
   Block: Video & Guides
   ============================================================ */
.block-video-guides {
  padding: 64px 0;
  background: #e8edf2;
}
@media (max-width: 768px) {
  .block-video-guides { padding: 48px 0; }
}
.block-video-guides .block-video-guides__grid {
  display: flex !important;
  gap: 28px !important;
  align-items: stretch;
}
.block-video-guides .block-video-guides__grid > .block-video-guides__video,
.block-video-guides .block-video-guides__grid > .block-video-guides__guides {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 900px) {
  .block-video-guides .block-video-guides__grid {
    flex-direction: column;
  }
}
.block-video-guides .block-video-guides__video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0a2540;
  aspect-ratio: 16 / 9;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08);
}
.block-video-guides .block-video-guides__video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.block-video-guides .block-video-guides__embed,
.block-video-guides .block-video-guides__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.block-video-guides .block-video-guides__embed {
  position: absolute;
  inset: 0;
}
.block-video-guides .block-video-guides__guides {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.block-video-guides .block-video-guides__guides-title {
  margin: 0 0 4px;
  color: #0a2540;
}
.block-video-guides .block-video-guides__guide {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08), 0 1px 3px rgba(10, 37, 64, 0.06);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 1;
  align-items: center;
}
.block-video-guides .block-video-guides__guide:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(10, 37, 64, 0.12), 0 2px 5px rgba(10, 37, 64, 0.08);
}
.block-video-guides .block-video-guides__guide-image {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  background: #e8edf2;
}
.block-video-guides .block-video-guides__guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.block-video-guides .block-video-guides__guide-content {
  flex: 1;
  min-width: 0;
}
.block-video-guides .block-video-guides__guide-title {
  margin: 0 0 6px;
  color: #0a2540;
  line-height: 1.3;
}
.block-video-guides .block-video-guides__guide-desc {
  margin: 0 0 8px;
  color: #4a5568;
  line-height: 1.4;
}
.block-video-guides .block-video-guides__guide-cta {
  color: #10478e;
}

/* ============================================================
   Block: Editorial Board & Partner Events
   ============================================================ */
.block-board-events {
  padding: 64px 0;
  background: #e8edf2;
}
@media (max-width: 768px) {
  .block-board-events { padding: 48px 0; }
}
.block-board-events .block-board-events__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .block-board-events .block-board-events__grid {
    grid-template-columns: 1fr;
  }
}
.block-board-events .block-board-events__title {
  margin: 0 0 16px;
  line-height: 1.2;
}

/* Left: editorial board (navy bg, white headshots) */
.block-board-events .block-board-events__board {
  background: #0a2540;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.block-board-events .block-board-events__board .block-board-events__title {
  color: #fff;
}
.block-board-events .block-board-events__board .block-board-events__scroll {
  flex: 1;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 6px;
}
.block-board-events .block-board-events__board .block-board-events__scroll::-webkit-scrollbar {
  width: 6px;
}
.block-board-events .block-board-events__board .block-board-events__scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.block-board-events .block-board-events__member {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
}
.block-board-events .block-board-events__member:last-child {
  border-bottom: none;
}
.block-board-events .block-board-events__member-photo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-board-events .block-board-events__member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.block-board-events .block-board-events__member-info {
  flex: 1;
  min-width: 0;
}
.block-board-events .block-board-events__member-name {
  margin: 0 0 2px;
  color: #fff;
  line-height: 1.3;
}
.block-board-events .block-board-events__member-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

/* Right: partner events */
.block-board-events .block-board-events__events {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.block-board-events .block-board-events__events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.block-board-events .block-board-events__events .block-board-events__title {
  margin: 0;
  color: #0a2540;
}
.block-board-events .block-board-events__viewall {
  color: #10478e;
  text-decoration: none;
  font-weight: 600;
}
.block-board-events .block-board-events__viewall:hover {
  text-decoration: underline;
}
.block-board-events .block-board-events__events .block-board-events__scroll {
  flex: 1;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 6px;
}
.block-board-events .block-board-events__events .block-board-events__scroll::-webkit-scrollbar {
  width: 6px;
}
.block-board-events .block-board-events__events .block-board-events__scroll::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 3px;
}
.block-board-events .block-board-events__event {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e8edf2;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s;
}
.block-board-events .block-board-events__event:last-child {
  border-bottom: none;
}
.block-board-events .block-board-events__event:hover {
  background: #f7fafc;
}
.block-board-events .block-board-events__event-image {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  background: #e8edf2;
}
.block-board-events .block-board-events__event-image img,
.block-board-events .block-board-events__event-image picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.block-board-events .block-board-events__event-info {
  flex: 1;
  min-width: 0;
}
.block-board-events .block-board-events__event-title {
  margin: 0 0 2px;
  color: #0a2540;
  line-height: 1.3;
}
.block-board-events .block-board-events__event-meta {
  margin: 0;
  color: #718096;
  line-height: 1.3;
}
