/* normal-content-module: used in country page */
.normal-content-module {
  --title-content-gap: 30px;
  --title-max: 400px;
  --title-section-border: var(--clr-accent-teal);
  margin-bottom: var(--sp5);
  position: relative;
}

.normal-content-module .m-lg {
  margin-bottom: calc(var(--sp7) + 2px);
}

.normal-content-module:last-child {
  margin-bottom: 0;
}

.normal-content-module .content-title-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  width: 100%;
  align-items: center;
  grid-gap: var(--title-content-gap);
}

.content-title-wrap.hr-align .page-title {
  max-width: var(--title-max);
}

/* default-title-content-module */

.default-title-content-module {
  margin-bottom: 0;
}

.default-title-content-module:has(+.card-listing--layout) {
  margin-bottom: var(--sp5);
}

/* m-b large */
.normal-content-module.m-lg {
  margin-bottom: var(--sp7);
}

/* bottom_border */
.normal-content-module.bottom_border {
  border-bottom: 1px solid var(--title-section-border);
  padding-bottom: calc(var(--sp6) + 3px);
}

/* normal-content-module--vr */
.normal-content-module--vr {
  --title-content-gap: 15px;
}

.normal-content-module--vr .content-title-wrap {
  grid-template-columns: repeat(1, 1fr);
}

.vr-center-align {
  --content-mw: 750px;
  --title-mw: 950px;
  text-align: center;
}

.vr-center-align .page-title-wrapper {
  max-width: var(--title-mw);
  margin: 0 auto;
}

.vr-center-align .content-section {
  max-width: var(--content-mw);
  margin: 0 auto;
}

/* other styles */
.normal-content-module--hr+.visulisation-widgets {
  padding-top: 4px;
}

.normal-content-module+.sub-chapers-grouping {
  margin-top: 40px;
}

.sub-chapers-grouping .sub-sec-row {
  --margin-t: calc(var(--sp12) - 8px);
  margin-top: var(--margin-t);
  z-index: 1;
  position: relative;
}

.sub-sec-row:has(.custom-modal-module) {
  z-index: unset;
}

.sub-sec-row.sub-sections-lists {
  --margin-t: var(--sp11);
}

/* section-with-bg-image */

.section-with-bg-image .normal-content-module {
  --section-title-clr: var(--clr-white);
  --section-body-clr: var(--clr-white);
  --section-link-color: var(--clr-yellow)
}

.section-with-bg-image .normal-content-module .content-section {
  --section-link-hover-color: var(--clr-white);
}

/* lang */

html[lang="fr"] .normal-content-module {
  --title-max: 450px;
}

html[lang="es"] .normal-content-module {
  --title-max: 550px;
}


/* description box */

.description-box {
  --section-bg: var(--clr-neutral-100);
  padding: calc(var(--sp19) + 10px) var(--sp13);
  background-color: var(--section-bg);
}

.description-box .description-box-inner:not(:has(.content-show)) {
  position: relative;
}

.description-box .readmore-button-positioned {
  position: absolute;
  bottom: -35px;
  right: 0;
}

/* content box */
.box-container {
  background: var(--clr-white);
  padding: calc(var(--sp11) - 3px) var(--sp13);
}

.box-footer {
  margin-top: var(--sp7);
}

.page-content-widgets .box-container {
  max-width: 1400px;
  margin: 0 auto;
}

.box-container--p-md {
  padding: var(--sp10);
}

.box-container--br {
  border-radius: 12px;
}

.box-container--shadow {
  box-shadow: 0px 0px 20px 6px #0000000F;
}


/* note */

.page-title-wrapper--with-note {
  display: flex;
  align-items: center;
  gap: 30px;
}

.vr-line.vr-line--title-note {
  height: 80px;
  background: var(--border-primary);
  width: 1px;
}

.page-title-wrapper .data-coming-soon-note {
  display: flex;
  margin: 0;
}

.page-title-wrapper .data-coming-soon-note .foot-note-content {
  font-size: 14px;
  padding: 10px 20px;
  background: var(--clr-yellow-orange);
  height: auto;
  box-shadow: 0 0 14px 0px rgba(0, 0, 0, 0.1);
  z-index: 1;
  position: relative;
  color: #282828;
}

.page-title-wrapper--with-note .data-coming-soon-note .note-main-label {
  color: #282828;
  font-weight: 400;
}

/* sub title */
.page-title-wrapper .page-sub-title {
  margin: 0;
  margin-top: 20px;
  color: var(--clr-blue);
  font-weight: var(--fw-bold);
}

.page-title-wrapper .page-sub-title:not(.normal-case) {
  text-transform: uppercase;
}

.page-title-wrapper .page-sub-title:first-child {
  margin-top: 0;
  max-width: 750px;
}

/* split-col-layout (next section nav) */
.sec-split-col-layout {
  --border-clr: var(--clr-gray-380);
  --gap: var(--sp10);
  display: flex;
  text-align: left;
  align-items: center;
  gap: var(--gap);
}

.sec-split-col-layout>*:first-child {
  padding-right: var(--gap);
  border-right: 1px solid var(--border-clr);
}

.sec-split-col-layout .page-title-wrapper,
.sec-split-col-layout .content-section {
  margin: 0;
  max-width: none;
}

.next-section-nav {
  flex-shrink: 0;
}

.next-section-link-btn {
  background: var(--clr-blue);
  height: 46px;
  display: block;
  padding: 10px 75px 10px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--fs-18, 18px);
  font-weight: var(--fw-bold);
  line-height: 1.111;
  color: var(--clr-white);
  min-width: 200px;
  border-radius: 50px;
  position: relative;
}

.next-section-link-btn:hover {
  background: var(--clr-yellow-orange);
  color: var(--clr-gray-dark);
}

.next-section-link-btn .arrow-svg {
  width: 38px;
  position: absolute;
  right: 5px;
}

.next-section-link-btn .outer-circle {
  fill: var(--clr-yellow-orange);
}

.next-section-link-btn .arrow-element {
  stroke: var(--clr-gray-dark);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
}

.next-section-link-btn:hover .outer-circle {
  fill: var(--clr-gray-dark);
}

.next-section-link-btn:hover .arrow-element {
  stroke: var(--clr-white);
}

/* explore links */
.explore-links-grouping {
  display: flex;
  justify-content: flex-start;
  margin-bottom: var(--sp10);
  font-size: var(--fs-16);
  align-items: center;
  gap: 10px;
}

.explore-links-grouping .explore-links-title {
  padding-right: 10px;
  flex-shrink: 0;
}

.explore-links-grouping .explore-link-btn {
  border-radius: 30px;
  border: none;
  background: var(--clr-blue);
  color: var(--clr-white);
}

.explore-links-grouping .explore-link-btn:hover {
  color: var(--clr-gray-dark);
  background: var(--clr-yellow-orange);
}

.explore-link-items-wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* content-title-wrap */
.kpi-component .section-view-content {
  max-width: var(--content-width-lg);
  margin: 0 auto;
}

.kpi-component .normal-content-module {
  --content-gap: var(--sp8);
  margin-bottom: 0;
}

.kpi-component .content-section {
  max-width: calc(100% - var(--kpi-view-switch-width, 320px) - 60px);
}

.normal-content-module+.kpi-view-switch-wrap {
  margin-top: -44px;
}

.normal-content-module+.kpi-view-switch-wrap .kpi-view-switch {
  position: relative;
  z-index: 1;
}

.content-title-wrap .explore-links-grouping {
  margin-bottom: 0;
}

.page-title-wrapper:has(.explore-links-grouping) {
  grid-gap: var(--content-gap);
  display: grid;
}

.normal-content-module:has(.explore-links-grouping) .content-title-wrap {
  grid-gap: var(--content-gap);
}

@media screen and (max-width:1200px) {
  .page-title-wrapper--with-note {
    flex-direction: column;
    align-items: unset;
    gap: 15px;
  }

  .vr-line.vr-line--title-note {
    display: none;
  }
}

@media screen and (min-width:992px) {

  /* content - explore grouping */
  .content-explore-links-wrap {
    --sec-gap: var(--sp10);
    display: flex;
    gap: var(--sec-gap);
    margin-bottom: var(--sec-gap);
  }

  .content-explore-links-wrap>* {
    margin-bottom: 0;
  }

  .content-explore-links-wrap .explore-links-grouping {
    flex-shrink: 0;
    max-width: 400px;
    padding-left: var(--sec-gap);
    border-left: 1px solid var(--clr-gray-medium);
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .content-explore-links-wrap .normal-content-module {
    margin-bottom: 0;
  }
}

@media screen and (max-width:991px) {

  .sec-split-col-layout {
    --gap: var(--sp7);
    flex-direction: column;
  }

  .sec-split-col-layout>*:first-child {
    padding-right: 0;
    border-right: none;
    max-width: none;
    text-align: center;
  }

  .page-title-wrapper .page-sub-title {
    font-size: 28px;
  }

  .next-section-link-btn {
    font-size: var(--fs-15, 18px);
  }

  .kpi-component .content-section {
    max-width: 100%;
  }

  .normal-content-module+.kpi-view-switch-wrap {
    margin-top: 15px;
  }
}
