/* ==========================================================================
   MSME Insurance Innovation Challenge – page styles
   Loaded after style.css, which provides fonts, base, layout, cards,
   header and footer.

   Contents
     1. Shared pieces (section, section head, buttons, card rows, note bar)
     2. Page hero
     3. Section tabs
     4. MSME insurance gap
     5. Toolkit and feature card
     6. Insurance resilience
     7. Rewards and Who can apply
     8. Call-to-action strip
     9. List card (focus areas)
    10. Partnership
    11. Product card (expertise)
    12. Organisation card
    13. News slider
   ========================================================================== */

/* ==========================================================================
   1. Shared pieces
   ========================================================================== */

/* Tab links scroll smoothly and stop below the sticky tab bar */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

.section {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
  background-color: #fff;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* Background variants */
.section--tint {
  background-color: #f3f9ff;
}

.section--light {
  background-color: #f6f6f6;
}

.section--red {
  background: linear-gradient(138deg, #c21b17 0%, #8e112f 100%);
}

/* Faint diagonal line shape in the top-left corner */
.section--decor-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 294px;
  height: 199px;
  background: url("../images/decor/shape-left.svg") no-repeat left top / contain;
  pointer-events: none;
}

/* Lighter curved shape in the top-right corner of red sections */
.section--red::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 543px;
  height: 427px;
  background: url("../images/banners/overview-shape.png") no-repeat right top /
    contain;
  opacity: 0.5;
  pointer-events: none;
}

.section__action {
  margin-top: 32px;
  text-align: center;
}

/* ---------- Section head: tag, title and intro ---------- */
.section-head {
  max-width: 920px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  height: auto;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: #f6f6f6;
  color: #00526e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  opacity: 1;
}

/* These two sit on a grey section, so the pill is white */
.resilience .section-head__tag,
.rewards .section-head__tag,
.organisations .section-head__tag,
.toolkitbx.section-head__tag {
  background-color: #fff;
}

.focus-areas .section-head__tag {
  background-color: #f6f6f6;
}

/* Light title with a medium-weight red highlight */
.section-head__title {
  margin-bottom: 10px;
  font-size: 48px;
  font-weight: 300;
  line-height: 58px;
}

.section-head__title .text-accent {
  font-weight: 500;
}

.section-head__text {
  color: #5b6670;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
}

.section-head__text + .section-head__text {
  margin-top: 12px;
}

/* White text on red sections */

.section-head--light .section-head__title,
.section-head--light .section-head__text {
  color: #fff;
}

/* ---------- Pill button ---------- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  height: 42px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.pill-btn--primary,
.pill-btn--primary:hover,
.pill-btn--primary:focus {
  color: #fff;
}

.pill-btn--primary {
  background-color: #c21b17;
}

.pill-btn--primary:hover,
.pill-btn--primary:focus {
  background-color: #9e1512;
}

.pill-btn--light,
.pill-btn--light:hover,
.pill-btn--light:focus {
  color: #c21b17;
}

.pill-btn--light {
  background-color: #fff;
}

.pill-btn--light:hover,
.pill-btn--light:focus {
  background-color: #f2f2f2;
}

/* Pill outlined button, e.g. "View all news & articles" */
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 44px;
  padding: 0 23px;
  border: 1px solid #c21b17;
  border-radius: 22px;
  color: #c21b17;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.outline-btn:hover,
.outline-btn:focus {
  background-color: #c21b17;
  color: #fff;
}

/* ---------- Card rows ---------- */
.card-row {
  display: grid;
  gap: 24px;
}

.card-row--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-row--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Highlighted note ---------- */
.note-bar {
  max-width: 820px;
  margin: 28px auto 0;
  padding: 12px 24px;
  border-radius: 6px;
  background-color: #fdf1cf;
  color: #20252b;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

/* ---------- Breadcrumb: home icon › current page ---------- */
.breadcrumb {
  margin-bottom: 36px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 16px;
  line-height: 24px;
  list-style: none;
}

/* Chevron separator between items */
.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  margin: 0 8px 0 10px;
  color: #8a949c;
  font-weight: 300;
  font-size: 20px;
}

.breadcrumb__home {
  display: flex;
  color: #4b5259;
  transition: color 0.2s ease;
}

.breadcrumb__home:hover,
.breadcrumb__home:focus {
  color: #c21b17;
}

.breadcrumb__item--current {
  color: #c21b17;
  font-weight: 500;
}

@media (max-width: 991px) {
  .section {
    padding: 52px 0;
  }

  .section-head__title,
  .resilience__head .section-head__title {
    font-size: 36px;
    line-height: 46px;
  }

  .card-row--3,
  .card-row--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section--decor-left::before,
  .section--red::before {
    width: 110px;
    height: 157px;
  }
}

/* Position dots under the phone carousels; filled in by msme-challenge.js */
.carousel-dots {
  display: none;
}

@media (max-width: 767px) {
  .section {
    padding: 40px 0;
  }

  .section > .container {
    padding: 0 20px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head__title {
    max-width: 300px;
    margin: 0 auto 8px;
    color: #171717;
    font-size: 30px;
    line-height: 36px;
  }

  .section-head__title .text-accent {
    font-weight: 700;
  }

  .section-head__text {
    color: #707070;
    font-size: 14px;
    line-height: 18px;
  }

  .section-head--light .section-head__title,
  .section-head--light .section-head__text {
    color: #fff;
  }

  .card-row,
  .card-row--2,
  .card-row--3,
  .card-row--4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Card rows marked as carousels swipe one full-width card at a time;
     the padding keeps the card shadows from being clipped */
  .card-row[data-carousel] {
    display: flex;
    gap: 20px;
    margin: -12px -20px;
    padding: 12px 20px;
    overflow-x: auto;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .card-row[data-carousel]::-webkit-scrollbar {
    display: none;
  }

  .card-row[data-carousel] > * {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 12px;
  }

  .carousel-dots__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.2s ease;
  }

  .carousel-dots__dot.is-active {
    background-color: #c21b17;
  }

  .carousel-dots--light .carousel-dots__dot {
    background-color: rgba(255, 255, 255, 0.45);
  }

  .carousel-dots--light .carousel-dots__dot.is-active {
    background-color: #fff;
  }

  /* Pale yellow strip with a soft highlight, text left-aligned */
  .note-bar {
    padding: 10px 16px;
    background: linear-gradient(100deg, #ffedb2 0%, #fff6d8 55%, #ffedb2 100%);
    color: #20252b;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-align: left;
  }

  .breadcrumb {
    margin-bottom: 35px;
  }

  .breadcrumb__list {
    font-size: 11px;
    line-height: 20px;
  }

  .breadcrumb__item + .breadcrumb__item::before {
    margin: 0 12px 0 6px;
    font-size: 16px;
  }

  .breadcrumb__item--current {
    font-weight: 700;
  }
}

/* ==========================================================================
   2. Page hero
   ========================================================================== */

/* 540px tall on desktop; the extra bottom padding leaves room for the
   section tabs that overlap the banner. */
.page-hero {
  position: relative;
  min-height: 540px;
  padding: 72px 0 114px;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.45) 40%,
      rgba(0, 0, 0, 0) 70%
    ),
    url("../images/banners/msme-challenge-banner.jpg") right center / cover
      no-repeat;
  background-color: #141414;
  color: #fff;
}

/* Text starts about 101px from the edge on a 1440px screen.
   On a 1280px screen the shared page gutter keeps it off the edges. */
.page-hero__container {
  max-width: min(1268px, calc(100% - (var(--page-gutter) * 2)));
}

.page-hero__eyebrow {
  margin-bottom: 8px;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.page-hero__title {
  margin-bottom: 24px;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

/* Slightly tighter than the default pill button */
.page-hero__btn {
  padding: 0 24px;
}

.page-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

.page-hero__meta-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

@media (max-width: 991px) {
  .page-hero {
    min-height: 0;
    padding: 56px 0 96px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 100%),
      url("../images/banners/msme-challenge-banner.jpg") 65% center / cover
        no-repeat;
  }

  .page-hero__eyebrow {
    font-size: 28px;
    line-height: 36px;
  }

  .page-hero__title {
    font-size: 40px;
    line-height: 52px;
  }

  .page-hero__meta-item {
    font-size: 18px;
    line-height: 26px;
  }
}

@media (max-width: 767px) {
  .page-hero {
    height: calc(430 * 100vw / 360);
    min-height: 0;
    padding: 92px 0 57px;
    background: url("../images/banners/Challenge_hero_mobile.png") center top /
      100% 100% no-repeat;
    background-color: #141414;
  }

  .page-hero__container {
    padding: 0 24px;
  }

  .page-hero__eyebrow {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .page-hero__title {
    margin-bottom: 11px;
    font-size: 32px;
    line-height: 35px;
  }

  .page-hero__meta {
    margin-bottom: 17px;
  }

  .page-hero__meta-item {
    gap: 9px;
    font-size: 15px;
    line-height: 22px;
  }

  .page-hero__meta-icon {
    width: 20px;
    height: 20px;
  }

  .page-hero__btn {
    min-width: 0;
    height: 42px;
    padding: 0 19px;
    font-size: 16px;
  }
  .section-tabs {
    margin-top: -18px !important;
  }
}

/* ==========================================================================
   3. Section tabs – floating bar that overlaps the hero, then sticks
   ========================================================================== */

.section-tabs {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-top: -28px;
  padding: 0 15px;
}

.section-tabs__list {
  display: flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 8px;
  overflow-x: auto;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  scrollbar-width: none;
}

.section-tabs__list::-webkit-scrollbar {
  display: none;
}

/* Thin divider between tabs */
.section-tabs__item + .section-tabs__item {
  border-left: 1px solid #e3e6e8;
}

.section-tabs__link {
  display: block;
  padding: 14px 24px;
  color: #5b6670;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.section-tabs__link:hover,
.section-tabs__link:focus,
.section-tabs__link.is-active {
  color: #c21b17;
}

/* Rounded white pill with plain text tabs and no dividers */
@media (max-width: 767px) {
  .section-tabs {
    padding: 0 20px;
  }

  .section-tabs__list {
    width: 100%;
    padding: 0 17px;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  .section-tabs__item + .section-tabs__item {
    border-left: 0;
  }

  .section-tabs__link {
    padding: 0 8px;
    color: #78797b;
    font-size: 12px;
    font-weight: 400;
    line-height: 36px;
  }

  .section-tabs__link.is-active {
    font-weight: 700;
  }

  /* White fades over the pill ends while more tabs are hidden that way;
     msme-challenge.js toggles the state classes */
  .section-tabs::before,
  .section-tabs::after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 1;
    width: 36px;
    height: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .section-tabs::before {
    left: 20px;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(90deg, #fff 35%, rgba(255, 255, 255, 0));
  }

  .section-tabs::after {
    right: 20px;
    border-radius: 0 18px 18px 0;
    background: linear-gradient(270deg, #fff 35%, rgba(255, 255, 255, 0));
  }

  .section-tabs.has-more-start::before,
  .section-tabs.has-more-end::after {
    opacity: 1;
  }
}

/* ==========================================================================
   4. MSME insurance gap – intro text and video poster
   ========================================================================== */

.gap {
  padding-top: 58px;
}

/* Left line shape starts lower here, level with the section tag */
.gap::before {
  top: 80px;
}

/* Faint red curve on the right; the photo covers most of it */
.gap::after {
  content: "";
  position: absolute;
  top: 353px;
  right: 0;
  width: 506px;
  height: 385px;
  background: url("../images/decor/shape-right.svg") no-repeat right top /
    contain;
  pointer-events: none;
}

/* ---------- Intro: near full width, paragraphs run on without a gap ---------- */
.gap__head {
  max-width: 1100px;
  margin-bottom: 38px;
}

.gap__text {
  color: #4b5259;
  line-height: 27px;
}

.section-head__text + .gap__text {
  margin-top: 0;
}

/* ---------- Video poster ---------- */
.gap__media {
  position: relative;
  overflow: hidden;
  border-radius: 27px;
  aspect-ratio: 817 / 277;
  background-color: #2f6a2c;
}

.gap__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gap__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The frame keeps the poster size; the whole video fits inside it */
.gap__media.is-started {
  background-color: #000;
}

.gap__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.gap__video[hidden],
.gap__image[hidden] {
  display: none;
}

/* Red round play button with a CSS triangle, centred on the photo */
.gap__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background-color: #c21b17;
  transform: translate(-50%, -50%);
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.gap__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.gap__play:hover,
.gap__play:focus {
  background-color: #9e1512;
}

/* Pause icon: two white bars in the same red button */
.gap__media.is-playing .gap__play::after {
  left: 50%;
  box-sizing: border-box;
  width: 16px;
  height: 18px;
  border-width: 0 5px;
  border-color: #fff;
}

/* While playing, the button only shows on hover or keyboard focus */
.gap__media.is-playing .gap__play {
  opacity: 0;
}

.gap__media.is-playing:hover .gap__play,
.gap__media.is-playing .gap__play:focus-visible {
  opacity: 1;
}

@media (max-width: 991px) {
  .gap::after {
    display: none;
  }

  .gap__media {
    border-radius: 18px;
  }
}

@media (max-width: 767px) {
  .gap {
    padding: 30px 0 41px;
  }

  .gap::before {
    top: 52px;
    width: 125px;
    height: 85px;
  }

  /* Small grey shape peeking out below the video on the right */
  .gap::after {
    display: block;
    top: auto;
    bottom: 0;
    width: 130px;
    height: 99px;
  }

  .gap__head {
    margin-bottom: 36px;
  }

  .gap__head .section-head__title {
    margin-bottom: 9px;
    line-height: 34px;
  }

  /* "MSME insurance gap" sits on its own line */
  .gap__head .text-accent {
    display: block;
  }

  .gap__text {
    color: #20252b;
    font-size: 14px;
    line-height: 18px;
  }

  .section-head__text + .gap__text {
    margin-top: 12px;
  }

  .gap__media {
    aspect-ratio: 320 / 200;
    border-radius: 16px;
  }

  .gap__play {
    width: 40px;
    height: 40px;
  }

  .gap__play::after {
    border-width: 6px 0 6px 10px;
  }
}

/* ==========================================================================
   5. Toolkit – feature cards with centred illustration, title and text
   ========================================================================== */

/* ---------- Toolkit section ---------- */
.toolkit {
  padding: 40px 0 42px;
}

/* Faint red curve in the bottom-right corner */
.toolkit::after {
  content: "";
  position: absolute;
  top: 311px;
  right: 0;
  width: 506px;
  height: 385px;
  background: url("../images/decor/shape-right.svg") no-repeat right top /
    contain;
  pointer-events: none;
}

.toolkit__head {
  margin-bottom: 33px;
}

.toolkit__text {
  font-size: 20px;
  font-weight: 300;
  line-height: 26px;
  letter-spacing: 0;
  text-align: center;
}

.toolkit__action {
  margin-top: 26px;
}

.toolkit__btn {
  min-width: 172px;
  height: 46px;
}

@media (max-width: 991px) {
  .toolkit::after {
    width: 180px;
    height: 180px;
    top: auto;
    bottom: -25px;
  }
}

@media (max-width: 767px) {
  .toolkit {
    padding: 41px 0;
  }

  .toolkit__head {
    margin-bottom: 24px;
  }

  .toolkit__text {
    color: #787879;
    font-size: 14px;
    line-height: 18px;
  }

  .toolkit__action {
    margin-top: 24px;
  }

  .toolkit__btn {
    min-width: 0;
    height: 48px;
    padding: 0 35px;
    font-size: 16px;
  }
}

/* ---------- Feature card ---------- */
.feature-card {
  padding: 24px 28px 43px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.feature-card__image {
  height: 120px;
  margin: 0 auto 24px;
}

.feature-card__title {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

.feature-card__text {
  color: #3d4349;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

@media (max-width: 767px) {
  .feature-card {
    padding: 24px 20px 21px;
    border-radius: 20px;
  }

  .feature-card__image {
    height: 82px;
    margin-bottom: 10px;
  }

  .feature-card__title {
    margin-bottom: 4px;
    color: #171717;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
  }

  .feature-card__text {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
  }
}

/* ==========================================================================
   6. Insurance resilience – risks and benefits around a central image
   ========================================================================== */

.resilience {
  padding: 40px 0 45px;
}

.resilience__head {
  max-width: 1100px;
  margin-bottom: 32px;
}

.resilience__head .section-head__title {
  font-size: 48px;
  font-weight: 300;
  line-height: 60px;
  letter-spacing: 0;
  text-align: center;
}

.resilience__text {
  color: #666;
  font-size: 20px;
  line-height: 26px;
}

/* Lists sit either side of the ring with no gap; the icons then step along its curve */
.resilience__layout {
  display: grid;
  grid-template-columns: 1fr 312px 1fr;
  align-items: start;
}

.resilience__heading {
  margin-bottom: 24px;
  color: #c21b17;
  font-size: 26px;
  font-weight: 500;
  line-height: 32px;
}

.resilience__col--risks {
  text-align: right;
}

.resilience__col--risks .resilience__heading {
  padding-right: 55px;
}

.resilience__col--benefits .resilience__heading {
  padding-left: 69px;
}

.resilience__visual {
  margin-top: 88px;
}

.resilience__image {
  width: 100%;
}

/* ---------- Risk / benefit list ---------- */
.risk-list__item {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #2a2a2a;
  font-size: 20px;
  line-height: 26px;
}

.risk-list__item + .risk-list__item {
  margin-top: 20px;
}

.resilience__col--risks .risk-list__item {
  justify-content: flex-end;
}

.risk-list__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 59px;
  height: 59px;
  border-radius: 50%;
}

.risk-list__icon img {
  width: 30px;
  height: 30px;
}

.resilience__col--risks .risk-list__icon {
  background-color: #af1815;
}

.resilience__col--benefits .risk-list__icon {
  background-color: #5cb85c;
}

/* Horizontal step of each row (outer rows tuck in, middle rows push out) */
.resilience__col--risks .risk-list__item:nth-child(1) {
  transform: translateX(3px);
}

.resilience__col--risks .risk-list__item:nth-child(2) {
  transform: translateX(-73px);
}

.resilience__col--risks .risk-list__item:nth-child(3) {
  transform: translateX(-81px);
}

.resilience__col--risks .risk-list__item:nth-child(4) {
  transform: translateX(-63px);
}

.resilience__col--risks .risk-list__item:nth-child(5) {
  transform: translateX(7px);
}

.resilience__col--benefits .risk-list__item:nth-child(1) {
  transform: translateX(-3px);
}

.resilience__col--benefits .risk-list__item:nth-child(2) {
  transform: translateX(73px);
}

.resilience__col--benefits .risk-list__item:nth-child(3) {
  transform: translateX(81px);
}

.resilience__col--benefits .risk-list__item:nth-child(4) {
  transform: translateX(63px);
}

.resilience__col--benefits .risk-list__item:nth-child(5) {
  transform: translateX(-7px);
}

@media (max-width: 1199px) {
  .resilience__layout {
    grid-template-columns: 1fr 260px 1fr;
    gap: 24px;
  }

  .resilience__visual {
    margin-top: 90px;
  }

  .resilience__heading {
    padding: 0 !important;
    font-size: 22px;
  }

  .risk-list__item {
    font-size: 17px;
    line-height: 24px;
  }

  .risk-list__icon {
    width: 48px;
    height: 48px;
  }

  .risk-list__icon img {
    width: 24px;
    height: 24px;
  }

  .resilience__col .risk-list__item {
    transform: none !important;
  }
}

/* Stack: image, risks, benefits; icons sit on the left */
@media (max-width: 991px) {
  .resilience__layout {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
    margin: 0 auto;
  }

  .resilience__visual {
    order: -1;
    width: 260px;
    margin: 0 auto;
  }

  .resilience__col--risks {
    text-align: left;
  }

  .resilience__col--risks .risk-list__item {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
}

/* Risks, then the image, then benefits; the ring turns red on top and
   green below, so the image's own left/right ring is clipped off and
   redrawn by the frame behind it */
@media (max-width: 767px) {
  .resilience {
    padding: 41px 0 39px;
  }

  .resilience__head {
    margin-bottom: 21px;
  }

  .resilience__head .section-head__title {
    max-width: 280px;
    font-size: 30px;
    line-height: 36px;
  }

  .resilience__text {
    color: #707070;
    font-size: 14px;
    line-height: 18px;
  }

  .resilience__layout {
    gap: 0;
    max-width: none;
  }

  .resilience__visual {
    order: 0;
    width: 218px;
    margin: 24px auto 21px;
    border-radius: 50%;
    background: linear-gradient(180deg, #aa1b17 50%, #5cb85c 50%);
  }

  .resilience__image {
    display: block;
    clip-path: circle(45%);
  }

  .resilience__heading {
    margin-bottom: 21px;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
  }

  .risk-list {
    padding-left: 12px;
  }

  .risk-list__item {
    gap: 16px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
  }

  .risk-list__item + .risk-list__item {
    margin-top: 15px;
  }

  .risk-list__icon {
    width: 41px;
    height: 41px;
  }

  .risk-list__icon img {
    width: 21px;
    height: 21px;
  }
}

/* ==========================================================================
   7. Rewards and Who can apply – cards with text on top, illustration bottom-right
   ========================================================================== */

/* ---------- Rewards: intro and reward cards ---------- */
.rewards {
  padding: 40px 0 80px;
}

.rewards__text {
  max-width: 860px;
  margin: 0 auto;
  color: #6a6a6a;
  font-size: 20px;
  line-height: 24px;
}

/* Illustration is pinned to the bottom-right corner, under the text */
.reward-card {
  position: relative;
  min-height: 319px;
  padding: 37px 32px;
  border-radius: 11px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.reward-card__label {
  margin-bottom: 6px;
  color: #c21b17;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.reward-card__title {
  margin-bottom: 9px;
  color: #17181a;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

.reward-card__label,
.reward-card__title,
.reward-card__text {
  position: relative;
  z-index: 1;
}

.reward-card__text {
  color: #424345;
  font-size: 16px;
  line-height: 22px;
}

.reward-card__image {
  position: absolute;
  right: 6px;
  bottom: 0;
  max-width: calc(100% - 12px);
}

@media (max-width: 991px) {
  .reward-card {
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  .rewards {
    padding: 41px 0 40px;
  }

  .rewards__text {
    font-size: 14px;
    line-height: 18px;
  }

  .reward-card {
    min-height: 243px;
    padding: 23px 20px;
    border-radius: 16px;
  }

  .reward-card__label {
    margin-bottom: 10px;
  }

  .reward-card__title {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
  }

  .reward-card__text {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
  }

  .reward-card__image {
    right: 15px;
    height: 110px;
  }
}

/* ---------- Who can apply: intro, innovator cards and note ---------- */
.innovators {
  padding: 40px 0 42px;
}

/* Top-left wing, large wing on the right, and the smaller wing at the
   bottom-right beside the apply bar */

.innovators::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 88px;
  width: 506px;
  height: 385px;
  background: url("../images/decor/who_can_bg_wings.svg?v=1") no-repeat right
    bottom / contain;
  pointer-events: none;
}

.innovators__corner {
  position: absolute;
  width: 220px;
  height: 76px;
  pointer-events: none;
  z-index: -1;
}

.innovators__corner.left {
  left: 0;
  top: 0;
  background: url("../images/decor/who_can_rdlwimgs.svg") no-repeat left
    bottom / contain;
}

.innovators__corner.right {
  right: 0;
  bottom: 0;
  background: url("../images/decor/who_can_rdrtwings.svg") no-repeat right
    bottom / contain;
}

.innovators__text {
  max-width: 720px;
  margin: 0 auto;
  color: #717274;
  font-size: 20px;
  line-height: 22px;
}

/* Illustration is pinned to the bottom-right corner, under the text */
.innovator-card {
  position: relative;
  min-height: 259px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.07);
}

.innovator-card__title {
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
  color: #20252b;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.innovator-card__text {
  position: relative;
  z-index: 1;
  max-width: 212px;
  color: #262b31;
  font-size: 16px;
  line-height: 22px;
}

.innovator-card__image {
  position: absolute;
  right: 10px;
  bottom: 0;
  max-width: calc(100% - 20px);
}

.innovators__note {
  max-width: 740px;
  margin-top: 17px;
  padding: 12px 24px;
  background-color: #ffedb2;
  font-size: 16px;
  line-height: 22px;
}

@media (max-width: 991px) {
  .innovator-card {
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .innovators {
    padding: 42px 0 60px;
  }

  .innovators.section--decor-left::before {
    width: 200px;
    height: 157px;
    background-image: url("../images/decor/shape-left.svg");
    background-size: contain;
  }

  .innovators::after {
    bottom: 20px;
    width: 220px;
  }
  .innovators__corner.right {
    bottom: 40px;
    height: 84px;
  }
  /* "innovators like you" sits on its own line */
  .innovators .section-head__title .text-accent {
    display: block;
  }

  .innovators__text {
    font-size: 14px;
    line-height: 18px;
  }

  .innovator-card {
    min-height: 190px;
    padding: 22px 24px;
    border-radius: 16px;
  }

  .innovator-card__title {
    margin-bottom: 7px;
    font-size: 18px;
    line-height: 24px;
  }

  .innovator-card__text {
    max-width: 240px;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
  }

  .innovator-card__image {
    right: 13px;
    height: 100px;
  }

  .innovators__note {
    margin-top: 16px;
    padding: 10px 16px;
    font-size: 12px;
    line-height: 16px;
  }
}

/* ==========================================================================
   8. Call-to-action strip
   ========================================================================== */

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 98px;
  margin-top: 25px;
  padding: 18px 38px 18px 41px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ae1d32 0%, #c12621 100%);
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-strip__title {
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.cta-strip__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 22px;
}

.cta-strip__btn {
  min-width: 132px;
  height: 44px;
  padding: 0 22px;
  font-size: 15px;
}

@media (max-width: 767px) {
  .cta-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 17px;
    padding: 21px 20px 22px;
    border-radius: 12px;
  }

  .cta-strip__title {
    margin-bottom: 4px;
    font-size: 18px;
    line-height: 25px;
  }

  .cta-strip__text {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
  }

  .cta-strip__btn {
    height: 40px;
    font-size: 14px;
  }
}

/* ==========================================================================
   9. List card – bullet list with an illustration in the corner
   ========================================================================== */

/* ---------- Focus areas: intro, list cards and report note ---------- */
.focus-areas {
  padding: 80px 0;
}

.focus-areas::before {
  content: none;
}

/* Shared by the two red sections (focus areas and expertise) */
.focus-areas__head,
.expertise__head {
  max-width: 1000px;
  margin-bottom: 38px;
}

.focus-areas__head .section-head__title,
.expertise__head .section-head__title {
  margin-bottom: 6px;
}

.focus-areas__text {
  font-size: 20px;
}

/* Illustration is pinned to the bottom-right corner, beside the list */
.list-card {
  position: relative;
  min-height: 257px;
  padding: 18px 25px;
  border-radius: 8px;
}

.list-card__title {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: #c21b17;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.list-card__list {
  position: relative;
  z-index: 1;
  color: #2b2c2e;
  font-size: 16px;
  line-height: 22px;
  list-style: none;
}

/* Small round bullet set slightly in from the title */
.list-card__list li {
  position: relative;
  padding-left: 23px;
}

.list-card__list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: currentColor;
}

.list-card__image {
  position: absolute;
  right: 3px;
  bottom: 0;
  max-width: calc(100% - 6px);
}

.focus-areas__note {
  max-width: 867px;
  margin-top: 24px;
  background-color: #ffedb2;
  color: #291f00;
  font-size: 16px;
  font-weight: 500;
}

.focus-areas__link,
.focus-areas__link:hover,
.focus-areas__link:focus {
  color: inherit;
  text-decoration: underline;
}

.focus-areas__link:hover,
.focus-areas__link:focus {
  color: #c21b17;
}

/* Flat dark red; the illustration sits centred below the list */
@media (max-width: 767px) {
  .focus-areas {
    padding: 41px 0 48px;
    background: #aa1b17;
  }

  .focus-areas__head .section-head__title {
    margin-bottom: 8px;
  }

  .focus-areas__text {
    font-size: 16px;
    line-height: 24px;
  }

  .list-card {
    display: flex;
    flex-direction: column;
    min-height: 318px;
    padding: 21px 20px 0;
    border-radius: 16px;
  }

  .list-card__title {
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 24px;
  }

  .list-card__list {
    font-size: 16px;
    font-weight: 300;
    line-height: 19px;
  }

  .list-card__list li {
    padding-left: 24px;
  }

  .list-card__list li::before {
    top: 8px;
    left: 11px;
  }

  .list-card__image {
    position: static;
    display: block;
    max-width: 100%;
    margin: auto auto 0;
    padding-top: 12px;
  }

  .focus-areas__note {
    margin: 24px -3px 0;
    padding: 13px 17px;
    font-size: 12px;
    line-height: 14px;
  }
  .focus-areas__link {
    text-decoration: none;
  }
}

/* ==========================================================================
   10. Partnership – two logo boxes joined by a "+" badge, and a paragraph
   ========================================================================== */

.partnership {
  padding: 40px 0 42px;
}

.partnership__head {
  margin-bottom: 34px;
}

.partnership__subtitle {
  color: #717274;
  font-size: 20px;
}

/* Two tinted boxes side by side with a "+" badge over the seam */
.partnership__logos {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}

.partnership__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 294px;
  height: 156px;
  border-radius: 20px;
}

.partnership__logo--generali {
  background-color: #fff4f3;
}

.partnership__logo--undp {
  background-color: #f3f9ff;
}

.partnership__logo-image--generali {
  height: 100px;
}

.partnership__logo-image--undp {
  height: 110px;
}

.partnership__plus {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #fff;
  transform: translate(-50%, -50%);
}

/* The "+" is drawn with two thin bars */
.partnership__plus::before,
.partnership__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #20252b;
  transform: translate(-50%, -50%);
}

.partnership__plus::before {
  width: 21px;
  height: 2px;
}

.partnership__plus::after {
  width: 2px;
  height: 21px;
}

.partnership__text {
  max-width: 1080px;
  margin: 0 auto;
  color: #2d3238;
  font-size: 16px;
  font-weight: 300;
  line-height: 27px;
  text-align: center;
}

@media (max-width: 767px) {
  .partnership {
    padding: 40px 0;
  }

  .partnership__head {
    margin-bottom: 24px;
  }

  .partnership__subtitle {
    max-width: 240px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 20px;
  }

  .partnership__logos {
    gap: 20px;
    margin-bottom: 24px;
  }

  .partnership__logo {
    flex: 1 1 0;
    width: auto;
    height: 86px;
    border-radius: 12px;
  }

  .partnership__logo-image--generali {
    height: 56px;
  }

  .partnership__logo-image--undp {
    height: 62px;
  }

  .partnership__plus {
    width: 20px;
    height: 20px;
    background-color: transparent;
  }

  .partnership__plus::before {
    width: 11px;
    height: 1.5px;
  }

  .partnership__plus::after {
    width: 1.5px;
    height: 11px;
  }

  .partnership__text {
    color: #20252b;
    font-size: 14px;
    line-height: 18px;
  }
}

/* ==========================================================================
   11. Product card – illustration left, text and button right
   ========================================================================== */

/* Flat red here, unlike the gradient used by the focus areas section */
.expertise {
  padding: 80px 0;
  background: #c21b17;
}

.expertise__head {
  max-width: 1020px;
}

.expertise__text {
  font-size: 20px;
  line-height: 24px;
}

.product-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 30px 32px 31px 35px;
  border-radius: 4px;
}

.product-card__image {
  flex-shrink: 0;
  width: 128px;
  margin-top: 3px;
}

.product-card__title {
  margin-bottom: 13px;
  color: #000;
  font-size: 31px;
  font-weight: 300;
  line-height: 38px;
}

.product-card__text {
  max-width: 343px;
  margin-bottom: 25px;
  color: #31363b;
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
}

.product-card__btn {
  min-width: 172px;
  height: 40px;
}

/* Cards stack their content in a centred column */
@media (max-width: 767px) {
  .expertise {
    padding: 49px 0;
  }

  .expertise__head .section-head__title {
    margin-bottom: 8px;
    line-height: 34px;
  }

  .expertise__accent {
    font-weight: 700;
  }

  .expertise__text {
    font-size: 16px;
    line-height: 24px;
  }

  .product-card {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 27px 20px 19px;
    border-radius: 16px;
    text-align: center;
  }

  .product-card__image {
    width: 100px;
    margin-top: 0;
  }

  .product-card__title {
    margin-bottom: 3px;
    font-size: 24px;
    line-height: 30px;
  }

  .product-card__text {
    max-width: none;
    margin-bottom: 13px;
    font-size: 14px;
    line-height: 20px;
  }

  .product-card__btn {
    font-size: 16px;
  }
}

/* ==========================================================================
   12. Organisations – logo left, clamped description and button right
   ========================================================================== */

.organisations {
  padding: 80px 0;
}

.organisations__head {
  margin-bottom: 37px;
}

.organisations__text {
  color: #686d73;
  font-size: 20px;
}

/* Logo sits centred in a fixed left column; text and button on the right */
.org-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 20px 28px 24px 25px;
  border-radius: 4px;
}

.org-card__media {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  width: 100px;
  margin-top: 3px;
}

.org-card__logo--generali {
  width: 100px;
}

.org-card__logo--undp {
  width: 49px;
}

/* Long descriptions are cut to five lines with an ellipsis */
.org-card__text {
  display: -webkit-box;
  margin-bottom: 17px;
  overflow: hidden;
  color: #292a2c;
  font-size: 16px;
  line-height: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.org-card__btn {
  min-width: 131px;
  height: 41px;
  padding: 0 20px;
}

/* Logo on top, then the text and button, all centred */
@media (max-width: 767px) {
  .organisations {
    padding: 49px 0;
  }

  .organisations__head .section-head__title {
    line-height: 34px;
  }

  .organisations__text {
    font-size: 14px;
    line-height: 20px;
  }

  .org-card {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 19px 20px 20px;
    border-radius: 16px;
    text-align: center;
  }

  .org-card__media {
    width: auto;
    margin-top: 0;
  }

  .org-card__logo--generali {
    width: 100px;
  }

  .org-card__logo--undp {
    width: 50px;
  }

  .org-card__text {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    -webkit-line-clamp: 8;
    line-clamp: 8;
  }

  .org-card__btn {
    min-width: 132px;
    height: 40px;
    font-size: 16px;
  }
}

/* ==========================================================================
   13. News slider – three cards with side arrows
   ========================================================================== */

.news {
  padding: 40px 0 80px;
}

.news__head {
  margin-bottom: 37px;
}

.news__text {
  color: #717274;
  font-size: 20px;
  line-height: 22px;
}

.news__slider {
  position: relative;
}

.news__track {
  display: flex;
  gap: 24px;
  margin: -12px;
  padding: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-padding-inline: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.news__track::-webkit-scrollbar {
  display: none;
}

.news__slide {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}

/* ---------- Arrows ---------- */
.news__arrow {
  position: absolute;
  top: 183px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: #a7a8aa;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.news__arrow:hover,
.news__arrow:focus {
  color: #c21b17;
}

.news__arrow:disabled {
  color: #a7a8aa;
  cursor: default;
}

.news__arrow--prev {
  left: -47px;
}

.news__arrow--prev .icon {
  transform: rotate(180deg);
}

.news__arrow--next {
  right: -47px;
}

/* ---------- Position dots ---------- */
.news__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 25px;
}

.news__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color 0.2s ease;
}

.news__dot.is-active {
  background-color: #c21b17;
}

.news__action {
  margin-top: 24px;
}

.news__action .outline-btn {
  padding: 0 22px;
}

/* ---------- News card ---------- */
.news-card {
  display: block;
  height: 100%;
  padding: 14px 16px 21px;
  border-radius: 4px;
}

.news-card__media {
  position: relative;
  display: block;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 4px;
}

.news-card__image {
  width: 100%;
  aspect-ratio: 336 / 271;
  object-fit: cover;
}

.news-card__tag {
  position: absolute;
  top: 17px;
  right: 17px;
  padding: 0 17px;
  border-radius: 2px;
  background-color: #ef6752;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 30px;
  text-transform: uppercase;
}

.news-card__meta {
  display: block;
  margin-bottom: 9px;
  color: #999;
  font-size: 14px;
  line-height: 20px;
}

.news-card__title {
  display: block;
  color: #21262c;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  transition: color 0.2s ease;
}

.news-card:hover .news-card__title,
.news-card:focus .news-card__title {
  color: #c21b17;
}

@media (max-width: 1299px) {
  .news__arrow--prev {
    left: -22px;
  }

  .news__arrow--next {
    right: -22px;
  }
}

@media (max-width: 1199px) {
  .news__arrow--prev {
    left: -15px;
  }

  .news__arrow--next {
    right: -15px;
  }
}

@media (max-width: 991px) {
  .news__slide {
    flex-basis: calc((100% - 24px) / 2);
  }
}

/* Tag shows on phones only */
.news__tag {
  display: none;
}

/* Centred card; a little of the previous and next image boxes peeks in */
@media (max-width: 767px) {
  .news {
    padding: 48px 0 46px;
  }

  .news__tag {
    display: inline-block;
  }

  .news__text {
    font-size: 14px;
    line-height: 18px;
  }

  .news__arrow {
    display: none;
  }

  .news__track {
    --news-gap: 20px;
    --news-peek: 22px;
    gap: var(--news-gap);
    margin: -12px -20px;
    padding: 12px calc(var(--news-peek) + var(--news-gap));
    scroll-padding-inline: calc(var(--news-peek) + var(--news-gap));
  }

  .news__slide {
    flex-basis: 100%;
    scroll-snap-align: center;
  }

  /* Edge copies are only there so the first and last cards still have a neighbour peeking */
  .news__slide--clone,
  .news__slide--clone * {
    pointer-events: none;
  }

  .news__slide--clone {
    scroll-snap-align: none;
  }

  .news-card {
    padding: 10px 10px 8px;
    border-radius: 6px;
  }

  .news-card__media {
    margin-bottom: 15px;
  }

  .news-card__image {
    aspect-ratio: 250 / 197;
  }

  .news-card__tag {
    display: none;
  }

  .news-card__meta {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 16px;
  }

  .news-card__title {
    font-size: 16px;
    line-height: 22px;
  }

  .news__action {
    margin-top: 26px;
  }

  .news__action .outline-btn {
    height: 45px;
    padding: 0 23px;
  }
}
