@import url('//fonts.cdnfonts.com/css/druk-text-trial');
@import url('//fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  /* Brand Colors */
  --primary-dark-green: #132e1d;
  --accent-red: #e00032;
  --secondary-teal: #41766e;
  --light-olive: #83974d;
  --bg-cream: #f8f2e6;
  --text-gray: #6d6e71;
  --white: #ffffff;
  --brand-blue: #0D67A2;
  --health-bg: #fee8c3;
  --health-accent: #d19514;
  --education-bg: #f8d7bf;
  --education-accent: #c7402d;
  --humanitarian-bg: #f8d7bf;
  --humanitarian-accent: #c7402d;
  --textiles-bg: #c1c9e0;
  --textiles-accent: #3261a8;
  --accountability-bg: #fff3e7;
  --accountability-accent: #cd872a;
  --agriculture-bg: #cfe8cf;
  --agriculture-accent: #2fb457;
  --agriculture-stats: #132e1d;

  /* Fonts */
  --main-font: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--main-font);
  background-color: #f8f8f8
    /*var(--white)*/
  ;
  /* Updated to white as per request */
  color: var(--primary-dark-green);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Layout Wrapper */
.layout-wrapper {
  display: flex;
  min-height: 100vh;
  justify-content: center;
}

/* Sidebar Navigation */
.sidebar {
  width: 250px;
  /*background-color: var(--white);*/
  /* Using white for sidebar as requested */
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 3rem 1.5rem;
  /*border-right: 1px solid rgba(0, 0, 0, 0.05);*/
  z-index: 100;
}

.sidebar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.sidebar-logo {
  margin-bottom: 4rem;
  width: 100%;
}

.sidebar-logo a {
  text-decoration: none;
}

.sidebar-logo h2 {
  font-family: 'Outfit', sans-serif;
  color: var(--brand-blue);
  font-size: 1.5rem;
  letter-spacing: 2.3px;
  padding-top: 2.5px;
  text-transform: uppercase;
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
}

.sidebar-logo p {
  font-size: 0.7rem;
  color: var(--brand-blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.6;
}

.sidebar-logo img {
  float: left;
  margin-right: 7px;
  width: 48px;
  height: 48px;
}

/* Mobile Menu Button */
#mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

#mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark-green);
  transition: all 0.3s ease;
}

#mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

#mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 0;
}

.sidebar-nav a {
  text-decoration: none;
  color: var(--text-gray);
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

.sidebar-nav a:hover {
  color: var(--primary-dark-green);
}

.sidebar-nav a.active {
  color: var(--brand-blue);
  font-weight: 900;
}

/* Main Content Area */
.content {
  width: calc(100vh * (2480 / 3071));
  max-width: 800px;
  /* Bind the content area to the same width as the PDF page */
  position: relative;
}

/* Container for All Pages */
.page-section {
  position: relative;
  width: 100%;
  max-width: calc(100vh * (2480 / 3071));
  aspect-ratio: 2480 / 3071;
  margin: 0 auto;
  overflow: hidden;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  margin-bottom: 15px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.035);
}

/* Page Headers */
.page-header {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.report-header-large {
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  font-weight: 900;
  color: var(--primary-dark-green);
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 0;
  margin-left: 10%;
  width: 80%;
  line-height: 1.2;
}

#page-49 .report-header-large {
  margin-left: 0;
  width: 100%;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  margin-bottom: .5rem;
}

#cover,
.report-cover-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  color: #ffffff;
}

#cover {
  /* Use image_1.jpeg as a full-bleed background */
  background-image: url('../images/cover/image_1.jpeg');
  padding: 2.59% 4.55% 4%;
}

.report-cover-overlay::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  content: '';
  background-image: linear-gradient(rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.075));
  z-index: 1;
}

/* Page 2 */
#page-2 {
  background: url('../images/page2/_Image4.jpeg') no-repeat center center;
  background-size: cover;
  /*background-color: #6d6e71;*/
  color: #ffffff;
}

/* Top Row Wrapper for Cover */
.cover-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

/* Top Left Text Block */
.cover-top-left {
  z-index: 2;
}

.cover-top-left h1,
.cover-top-left h2,
.cover-top-left .website {
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6);
  /* Adding text-shadow for legibility */
}

.cover-top-left h1 {
  font-family: var(--main-font);
  font-size: clamp(2.2rem, 4.5vw + 0.5rem, 3.8rem);
  font-weight: 700;
  text-transform: none;
  /* In SVG it is title case, not fully uppercase */
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 2%;
}

.cover-top-left h2 {
  font-family: var(--main-font);
  font-size: clamp(1.15rem, 2.2vw + 0.3rem, 2rem);
  font-weight: 500;
  text-transform: none;
  /* In SVG it is Title Case */
  color: var(--white);
  margin-left: 0.25rem;
  margin-bottom: 2%;
}

.cover-top-left .website {
  font-family: var(--main-font);
  font-size: clamp(0.85rem, 1.2vw + 0.3rem, 1.25rem);
  font-weight: 700;
  margin-left: 0.25rem;
}

/* Top Right Logo */
.cover-top-right {
  z-index: 2;
  margin-top: 1.37%;
  /* Equivalent to top: 3.96% when padding top is 2.59% */
  margin-right: 2.11%;
  /* Equivalent to right: 6.66% when padding right is 4.55% */
}

.globe-logo {
  width: clamp(80px, 12vw, 150px);
  height: auto;
}

/* Bottom Center Text */
.report-cover-bottom {
  margin-top: auto;
  width: 100%;
  text-align: center;
  z-index: 2;
  padding: 0 7%;
}

.report-cover-subtitle {
  font-family: var(--main-font);
  font-size: 0.9rem;
  font-weight: 900;
  /*max-width: 90%;*/
  margin: 0 auto;
  line-height: 1.3;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  /* Subtle shadow for readability over background */
}

.section-cover .report-cover-subtitle {
  font-size: 1.1rem;
}

.report-cover-bottom.section-cover {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 7% 10%;
  text-align: left;
}

.report-cover-bottom.section-cover .chapter-cover-title {
  margin-top: 0;
  margin-left: 0;
  margin-bottom: 7%;
  font-size: 4.75rem;
}

/* Overlay removed to match original SVG precisely */

/* Responsiveness */
@media (max-width: 768px) {
  .layout-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    /* Stack logo row and nav */
    z-index: 100;
  }

  .sidebar-logo {
    margin-bottom: 0;
  }

  #mobile-menu-btn {
    display: flex;
  }

  .sidebar-nav {
    display: none;
    /* Hidden by default on mobile */
    width: 100%;
    margin-top: 1.5rem;
  }

  .sidebar-nav.open {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .sidebar-nav li {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .sidebar-nav li:last-child {
    border-bottom: none;
  }

  #cover {
    min-height: 100vh;
  }

  .cover-top-left {
    margin-bottom: 2rem;
  }

  .cover-top-left h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .cover-top-left h2 {
    font-size: 1.5rem;
    margin-left: 0;
    margin-bottom: 1rem;
  }

  .cover-top-left .website {
    font-size: 1.2rem;
    margin-left: 0;
  }

  .cover-top-right {
    top: 5%;
    right: 5%;
  }

  .globe-logo {
    width: 60px;
  }

  .cover-bottom {
    bottom: 5%;
  }

  #cover .subtitle {
    font-size: 1.1rem;
  }

  .page-section {
    min-height: 100vh;
    aspect-ratio: auto;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page 2 Styles */

#page-2 {
  display: grid;
  /* Redefine grid for overlays on this page */
}

.page-2-bottom {
  grid-area: 1 / 1;
  align-self: end;
  margin-top: auto;
  width: 100%;
  z-index: 10;
  margin-bottom: 0;
  text-align: center;
}

.page-2-text {
  font-family: var(--secondary-font);
  font-size: 0.82rem;
  color: var(--white);
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8), 0px 0px 12px rgba(0, 0, 0, 0.6);
  /* CSS text-shadow instead of images */
  line-height: 1.35;
  margin-bottom: 1rem;
}

.page-2-text:last-child {
  margin-bottom: 0;
}

.page-2-number {
  grid-area: 1 / 1;
  align-self: end;
  font-family: var(--secondary-font);
  font-size: clamp(0.75rem, 0.8vw + 0.4rem, 0.95rem);
  color: var(--white);
  z-index: 10;
  text-align: center;
  margin-bottom: 1.9%;
  display: none;
}

.page-2-bar-cream {
  grid-area: 1 / 1;
  justify-self: end;
  align-self: start;
  width: 0.20%;
  height: 27.52%;
  background-color: #f8f2e6;
  overflow: hidden;
  z-index: 10;
}

.page-2-bar-cream img {
  width: 280%;
  height: auto;
  margin-top: -100%;
  margin-left: -50%;
}

.page-2-bar-green {
  grid-area: 1 / 1;
  justify-self: end;
  align-self: start;
  margin-top: 27.52%;
  width: 0.20%;
  height: 72.48%;
  background-color: #83974d;
  z-index: 10;
}

.page-2-bar-image {
  grid-area: 1 / 1;
  justify-self: end;
  align-self: start;
  margin-top: 35.79%;
  width: 0.24%;
  height: 64.21%;
  z-index: 11;
}

/* Page 3 Styles */
#page-3 {
  background-color: var(--light-olive);
  color: var(--white);
  background-image: url('../images/page3/_Image3.png');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100%;
}

.page-3-top-banner-wrapper {
  display: grid;
  width: 100%;
  height: auto;
  z-index: 1;
}

.page-3-top-banner {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
}

.toc-container {
  position: relative;
  margin: 1.5rem auto 0;
  width: 79.4%;
  /* 1982 / 2480 (distance between left and right edges roughly) */
  z-index: 2;
}

.toc-title {
  font-family: var(--main-font);
  font-size: clamp(2rem, 4.5vw + 0.5rem, 3.5rem);
  /* 208.33 / 2480 * 100 */
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-transform: initial;
  letter-spacing: -0.02em;
}

.toc-title-green {
  color: #3d6b4d;
}

.toc-title-white {
  color: var(--white);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toc-item a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  text-decoration: none;
  color: var(--white);
  font-family: var(--main-font);
  font-size: 1.25rem;
  /* 55px / 2480 */
  font-weight: 600;
  /*border-bottom: 2px dotted rgba(255, 255, 255, 0.4);*/
}

.toc-item a:hover {
  color: var(--bg-cream);
  border-bottom-color: var(--bg-cream);
}

.toc-text {
  /*background-color: var(--light-olive);*/
  padding-right: 0.5rem;
  position: relative;
  bottom: -4px;
  /* Hide dots under the text */
}

.toc-page {
  background-color: var(--light-olive);
  padding-left: 0.5rem;
  font-weight: 700;
  position: relative;
  bottom: -4px;
}

.page-3-bottom {
  display: grid;
  margin-top: auto;
  width: 100%;
  /*height: 46.69%;*/
  /* (3071 - 1637) / 3071 */
  z-index: 1;
}

.page-3-bottom-banner {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-3-top-text {
  grid-area: 1 / 1;
  align-self: end;
  margin-bottom: 2%;
  margin-left: auto;
  width: 84%;
  font-family: var(--secondary-font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8), 0px 0px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.5;
  text-align: left;
  margin-right: auto;
}

.page-3-number {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  margin-bottom: 1.9%;
  font-family: var(--secondary-font);
  font-size: clamp(0.75rem, 0.8vw + 0.4rem, 0.95rem);
  color: var(--white);
  z-index: 10;
}

/* Mobile Overrides */
@media (max-width: 768px) {

  /* Page 2 */
  .page-2-text {
    font-size: 1rem;
    line-height: 1.4;
  }

  .page-2-number {
    font-size: 1rem;
    bottom: 2%;
    top: auto;
  }

  /* Page 3 */
  .page-3-top-banner-wrapper {
    position: relative;
    width: 100%;
    height: auto;
  }

  .page-3-top-text {
    font-size: 1rem;
    left: 5%;
    width: 90%;
    bottom: 10%;
  }

  .toc-container {
    position: relative;
    width: 90%;
    margin: 2rem auto;
  }

  .toc-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0;
  }

  .toc-list {
    gap: 1rem;
  }

  .toc-item a {
    font-size: 1.1rem;
  }

  .page-3-bottom {
    position: relative;
    height: 400px;
  }

  .page-3-number {
    font-size: 1rem;
    bottom: 2%;
  }
}

/* Common Page Styles */
.page-header {
  font-family: var(--main-font);
  font-size: clamp(0.75rem, 0.8vw + 0.4rem, 0.95rem);
  font-weight: 700;
  color: var(--primary-dark-green);
  text-transform: none;
  z-index: 10;
  margin-top: 3.2%;
  margin-right: 5.6%;
  text-align: right;
}

.page-number {
  position: absolute;
  bottom: 1.9%;
  left: 0;
  width: 100%;
  /* 59/3071 */
  text-align: center;
  font-family: var(--main-font);
  font-size: clamp(0.75rem, 0.8vw + 0.4rem, 0.95rem);
  color: var(--primary-dark-green);
  z-index: 10;
  font-weight: 700;
}

/* Page 4 Styles */
#page-4 {
  color: var(--primary-dark-green);
}

.page-4-content {
  margin: auto;
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  gap: 2%;
}

.page-4-row {
  display: flex;
  flex-direction: row;
  height: 32%;
  gap: 2%;
}

.page-4-item {
  position: relative;
  overflow: hidden;
  display: grid;
  /*background-color: var(--secondary-teal);
  align-items: center;
  justify-content: center;*/
}

.box-bg {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.box-icon {
  grid-area: 1 / 1;
  width: 35%;
  /* Adjust based on icon size compared to box */
  height: auto;
  z-index: 2;
}

/* Row Proportions */
/* Row 1 */
.item-1-1 {
  width: 32%;
}

.item-1-2 {
  width: 66%;
}

/* Row 2 */
.item-2-1 {
  width: 66%;
}

.item-2-2 {
  width: 32%;
}

/* Row 3 */
.item-3-1 {
  width: 32%;
}

.item-3-2 {
  width: 66%;
}

.dark-green-bg {
  background-color: var(--primary-dark-green);
  padding: 4%;
  color: var(--white);
  align-items: center;
  justify-content: center;
}

.dark-green-bg p {
  font-family: var(--main-font);
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 800;
  /* Made the entire text block bold */
  text-align: left;
}

.dark-green-bg p strong {
  font-weight: 900;
}

/* Mobile Overrides for Page 4 */
@media (max-width: 768px) {
  .page-header {
    font-size: 1rem;
    top: 2%;
    right: 5%;
  }

  .page-number {
    font-size: 1rem;
  }

  .page-4-content {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    height: auto;
    margin: 3rem auto;
    gap: 1rem;
  }

  .page-4-row {
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }

  .page-4-item {
    width: 100% !important;
    height: 300px;
    /* fixed height for images on mobile */
    margin-left: 0 !important;
  }

  .item-2-1.dark-green-bg {
    height: auto;
    padding: 2rem;
  }

  .dark-green-bg p {
    /*font-size: 1.2rem;*/
  }
}

/* Global Report Styles (Extracted from Page 5 & 7) */
.report-page-default,
.bg-white {
  background-color: var(--white);
  color: var(--primary-dark-green);
}

.bg-light-green {
  background-color: #eaf1ec;
  color: var(--primary-dark-green);
}

.bg-dark-green {
  background-color: var(--primary-dark-green);
  color: var(--white);
}

.bg-health {
  background-color: var(--health-bg);
  color: var(--primary-dark-green);
}

.text-health {
  color: var(--health-accent);
}

.bg-education {
  background-color: var(--education-bg);
  color: var(--primary-dark-green);
}

.text-education {
  color: var(--education-accent);
}

.bg-humanitarian {
  background-color: var(--humanitarian-bg);
  color: var(--primary-dark-green);
}

.text-humanitarian {
  color: var(--humanitarian-accent);
}

.bg-textiles {
  background-color: var(--textiles-bg);
  color: var(--primary-dark-green);
}

.text-textiles {
  color: var(--textiles-accent);
}

.bg-accountability {
  background-color: var(--accountability-bg);
  color: var(--primary-dark-green);
}

.bg-agriculture {
  background-color: var(--agriculture-bg);
  color: var(--primary-dark-green);
}

.text-accountability {
  color: var(--accountability-accent);
}

.text-white {
  color: #ffffff !important;
}

.report-content-constrained {
  display: flex;
  flex-direction: column;
  margin: 2rem auto;
  width: 80%;
  gap: 1rem;
  container-type: inline-size;
}

.report-content-constrained+.report-content-constrained {
  margin-top: 0;
}

#page-12 .report-content-constrained,
#page-13 .report-content-constrained {
  margin: 2rem auto 0 10%;
  width: 90%;
  flex-grow: 1;
}

#page-24 .report-content-constrained,
#page-42 .report-content-constrained,
#page-43 .report-content-constrained,
#page-49 .report-content-constrained {
  gap: 0;
}

#page-50 .report-content-constrained,
#page-51 .report-content-constrained {
  margin-top: .75rem;
  gap: 0;
}

#page-24 h2 {
  margin-bottom: 2rem;
}

.report-image-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto 0 auto;
}

.report-image-main {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.report-image-caption {
  position: absolute;
  top: 1.5rem;
  left: 1rem;
  font-size: clamp(0.8rem, 1vw + 0.3rem, 1.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--primary-dark-green);
  padding: 0.25rem 0.5rem;
  z-index: 10;
  max-width: 290px;
  line-height: 1.3;
}

.report-text-columns {
  column-count: 2;
  column-gap: 5%;
  margin: 0 auto;
}

.report-text-columns p,
.report-body-text,
.feature-column-layout p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 0;
  text-indent: 30px;
  /*break-inside: avoid;*/
}

.report-text-columns p strong,
.report-body-text strong,
.feature-column-layout p strong {
  font-weight: 900;
}

.report-logos-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

.uff-text {
  font-size: clamp(0.75rem, 1vw + 0.3rem, 0.95rem);
  margin-bottom: 0.5rem;
  color: #000000;
  font-weight: 400;
}

.uff-logos-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
}

.uff-logo {
  height: clamp(30px, 3.5vw, 55px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.uff-logo-text {
  font-family: 'Avenir-Black', 'Avenir', sans-serif;
  font-weight: 900;
  font-size: clamp(1.15rem, 2vw + 0.3rem, 1.85rem);
  color: var(--primary-dark-green);
  line-height: 1;
}

/* Reusable Document Title (Top Center) */
.report-document-title {
  font-family: var(--main-font);
  font-size: clamp(0.68rem, 0.8vw, 0.82rem);
  font-weight: 700;
  color: var(--primary-dark-green);
  text-transform: none;
  z-index: 10;
  margin-top: 3.2%;
  /*margin-right: 5.6%;*/
  text-align: center;
}

/* Page 6 Component Styles */

.stats-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
}

.stats-top-row,
.stats-bottom-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.stats-map-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 0;
  /* Simulating space for the map */
}

.circle-images-row {
  display: flex;
  justify-content: center;
  gap: 2%;
}

.circle-images-row img {
  width: 22%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.world-map-image {
  width: 100%;
  /*max-width: 90%;*/
  height: auto;
  object-fit: contain;
}

.stat-text {
  text-align: center;
}

.stat-text h4 {
  font-family: 'Druk Text Trial', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  color: var(--primary-dark-green);
  margin-bottom: 0;
  line-height: 1;
}

.stat-text p {
  font-family: 'Avenir', sans-serif;
  font-size: clamp(1rem, 1.6vw + 0.3rem, 1.4rem);
  font-weight: 500;
  color: var(--text-gray);
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
  line-height: 1;
}

/* Generic Report Image Styles */
.report-portrait-container {
  flex-shrink: 0;
}

.report-portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.report-signature {
  height: auto;
  width: clamp(100px, 20vw, 220px);
  mix-blend-mode: multiply;
}

/* Page 7 Specifics */
.chairman-content-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  font-family: 'Avenir', sans-serif;
  color: var(--primary-dark-green);
  text-align: left;
}

.chairman-signature-block {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.chairman-name {
  text-indent: 0 !important;
  margin-top: -38px;
}

/* Mobile Overrides */
@media (max-width: 768px) {

  .report-content-constrained,
  .page-6-content {
    flex-direction: column;
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    margin: 3rem auto;
    height: auto;
  }

  .report-image-wrapper,
  .report-text-columns {
    width: 100%;
  }

  .report-text-columns p {
    /*font-size: 1.2rem;*/
  }

  .report-image-caption,
  .uff-text {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-item img {
    width: 80%;
  }

  .report-three-images {
    flex-direction: column;
    align-items: center;
  }

  .report-three-images img {
    width: 100%;
  }

  .stat-text h4 {
    font-size: 2.5rem;
  }

  .stat-text p {
    font-size: 1.2rem;
  }

  .report-portrait {
    width: 180px;
    height: 180px;
  }

  .chairman-content-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .report-signature {
    width: 160px;
  }
}

/* Light Blue Background (Page 9) */
.bg-light-blue {
  background-color: #D2DCED;
  color: #1B2A3A;
}

.text-primary-blue {
  color: #3B62AD !important;
}

.text-charcoal {
  color: #1B2A3A !important;
}

/* Chapter Cover Layout (Page 8) */
.chapter-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--white);
}

.chapter-cover-title {
  font-family: 'Avenir', sans-serif;
  font-size: 4.75rem;
  font-weight: 700;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 2%;
  z-index: 2;
  margin-top: 4rem;
  margin-left: 5.6%;
}

#page-8.chapter-cover {
  background-image: url('../images/page8/cover_flipped.jpg');
  background-position: 13% center;
  background-size: cover;
}

#page-14.chapter-cover {
  background-image: url('../images/page14/extracted_img_1.jpg');
  background-position: center;
  background-size: cover;
}

#page-20.chapter-cover {
  background-image: url('../images/page20/extracted_img_2.jpg');
  background-position: center;
  background-size: cover;
}

#page-26.chapter-cover {
  background-image: url('../images/page26/extracted_img_1.jpg');
  background-position: center;
  background-size: cover;
}

#page-32.chapter-cover {
  background-image: url('../images/page32/extracted_img_1.jpg');
  background-position: center;
  background-size: cover;
}

#page-36.chapter-cover {
  background-image: url('../images/page36/extracted_img_1.jpg');
  background-position: center;
  background-size: cover;
}

#page-44.chapter-cover {
  background-image: url('../images/page44/extracted_img_1.jpg');
  background-position: center;
  background-size: cover;
}

.one-two-column-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  margin-left: 10%;
  width: 80%;
  margin-bottom: 3rem;
}

#page-9 .report-content-constrained {
  width: 80%;
}

/*#page-27 .report-content-constrained {
  width: 90%;
}*/

.one-two-column-grid .quote-column {
  border-right: 1px solid #FFFFFF;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.one-two-column-grid .quote-column .quote-text {
  font-family: 'Times New Roman', sans-serif;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.one-two-column-grid .quote-column .quote-text p {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 0;
}

.one-two-column-grid .quote-column .quote-text p+p {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.feature-column-right .quote-text p:first-child {
  font-style: italic;
  font-weight: 800;
  color: #333333;
  line-height: 1.6;
  position: relative;
}

.feature-column-right .quote-text p:first-child::before {
  content: '\201C';
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--brand-blue);
  position: absolute;
  left: -1rem;
  top: -3.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  line-height: 1;
}

.feature-column-right .quote-source {
  font-family: 'Avenir', sans-serif;
  font-size: clamp(1.1rem, 1.8vw + 0.3rem, 1.5rem);
  /*font-weight: 700;*/
  color: #3B62AD;
}

.feature-column-layout .feature-column-right .quote-text {
  padding: 0 1.5rem;
  line-height: 1.3;
  margin-bottom: .3rem;
  text-align: left;
  text-indent: 0;
}

.feature-column-layout .feature-column-right .quote-text p {
  line-height: 1.3;
  font-size: 1.15rem;
  text-indent: 0;
}

.feature-column-layout .feature-column-right p.quote-source {
  font-size: 0.7rem;
  text-indent: 0;
  margin-top: 0.5rem;
}

.feature-column-left .report-image-main {
  max-height: 280px;
}

.feature-column-layout h2 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

.feature-column-layout h2+img {
  margin-bottom: 1.25rem;
}

.mouse-icon {
  margin-top: auto;
  width: clamp(24px, 3vw, 40px);
}

/* Bottom Image Layout (Page 10) */
.bottom-image-container {
  position: relative;
  width: 100%;
  flex-grow: 1;
  /* Takes up remaining height */
  max-height: 35vh;
  /* Minimum height */
  height: 100%;
  overflow: hidden;
}

.bottom-image-container img {
  width: 100%;
  height: 100%;
  max-height: inherit;
  object-fit: cover;
  display: block;
}

.image-overlay-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.075);
  padding: 1rem;
  color: #FFFFFF;
  font-family: 'Avenir', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  height: 100%;
  display: flex;
  align-items: flex-end;
  line-height: 1.4;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .one-two-column-grid {
    grid-template-columns: 1fr;
    margin-left: 5%;
    width: 90%;
  }

  .bottom-image-container {
    max-height: 40vh;
    min-height: 200px;
    height: 40vh;
    overflow: hidden;
  }

  .bottom-image-container img {
    width: 100%;
    height: 100%;
    max-height: 40vh;
    min-height: 200px;
    object-fit: cover;
    display: block;
  }

  .image-overlay-caption {
    /*font-size: 0.72rem !important;*/
    /*line-height: 1.3 !important;*/
    /*font-weight: 600 !important;*/
    padding: 0.5rem 0.75rem;
  }

  .chapter-cover-content {
    padding: 2rem;
  }

  .chapter-cover-title {
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  }

  .chapter-cover-caption {
    max-width: 100%;
    font-size: 1.2rem;
  }
}

/* Page 11 Layout */
.infographic-staggered {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  width: 100%;
}

.infographic-bottom-text p {
  text-indent: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary-dark-green);
  line-height: 1.3;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stat-group {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.stat-icon {
  width: clamp(50px, 8vw, 80px);
  height: clamp(50px, 8vw, 80px);
  border-radius: 50%;
  background-color: #698B9D;
  /* Steel blue from SVG */
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.stat-number {
  font-family: 'Avenir', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-dark-green);
  line-height: 1;
}

.stat-label {
  font-family: 'Avenir', sans-serif;
  font-size: clamp(0.95rem, 1.5vw + 0.3rem, 1.35rem);
  font-weight: 500;
  color: var(--primary-dark-green);
}

.info-img-circle {
  width: clamp(100px, 18vw, 200px);
  height: clamp(100px, 18vw, 200px);
  border-radius: 50%;
  object-fit: cover;
}

.info-map-graphic {
  max-width: clamp(160px, 28vw, 300px);
  height: auto;
}

/* Page 11 Custom Styles */
.text-dark-green {
  color: var(--primary-dark-green) !important;
}

.text-agriculture {
  color: var(--agriculture-accent) !important;
}

.text-agriculture-stats {
  color: var(--agriculture-stats) !important;
}

.report-intro-lead {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
  text-indent: 0;
}

.report-graphic-title {
  font-family: 'Avenir', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark-green);
  line-height: 1.1;
  text-align: left;
  margin: 2.3rem 0;
  padding: 0;
}

#page-19 .report-graphic-title {
  margin: 0
}

.report-graphic-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0;
}

.header-image-circle {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background-color: #6d6e71;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-dark-gray {
  background-color: var(--text-gray);
  color: var(--white);
}

.bg-light-purple {
  background-color: #dfc6f0;
}

.bg-light-teal {
  background-color: #94d7da;
}

.bg-light-peach {
  background-color: #feebcb;
}

.bg-light-blue {
  background-color: #c1dcf0;
}

.bg-light-mint {
  background-color: #c6f0e0;
}

.bg-light-pink {
  background-color: #f6cbcd;
}

.story-box-rounded {
  border-radius: 1.3rem;
  padding: .5rem;
}

.bracket-blue-right {
  position: absolute;
  top: 55%;
  left: 44%;
  right: -1.5rem;
  height: calc(100% + 2rem);
  border-top: 10px solid #7bb5df;
  border-right: 10px solid #7bb5df;
  border-bottom: 10px solid #7bb5df;
  z-index: 0;
}

.bracket-mint-left {
  position: absolute;
  top: 56%;
  right: 44%;
  left: -2rem;
  height: calc(100% + 2.5rem);
  border-top: 10px solid #86dfbc;
  border-left: 10px solid #86dfbc;
  border-bottom: 10px solid #86dfbc;
  z-index: 0;
}

.divider-mint-right {
  position: absolute;
  bottom: 2.5rem;
  left: 100%;
  width: 100vw;
  border-bottom: 10px solid #86dfbc;
  z-index: 0;
}

.bracket-teal-left-zigzag {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 4rem;
  height: 12.5rem;
  border-top: 10px solid #1cabb0;
  border-left: 10px solid #1cabb0;
  z-index: 0;
}

.bracket-teal-left-zigzag::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 100%;
  width: 100vw;
  border-bottom: 10px solid #1cabb0;
}

/* Desktop Staggered Layout for Page 11 */
@media (min-width: 769px) {
  .stat-text-block .stat-label {
    font-size: 0.9rem;
  }

  .staggered-row-1 {
    margin-top: -9rem;
    margin-bottom: 1rem;
  }

  #page-19 .staggered-row-1 {
    margin-top: -12rem;
  }

  .staggered-row-2 {
    justify-content: flex-end;
  }

  .center-circle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .staggered-row-2 .stat-text-block {
    align-items: flex-end;
    text-align: right;
    margin-right: -3rem;
  }

  .staggered-row-3 {
    margin-top: -6rem;
    margin-bottom: 1rem;
  }

  .staggered-row-4 {
    align-items: flex-start;
  }

  .staggered-row-4 .stat-text-block {
    align-items: flex-end;
    text-align: right;
  }

  .stat-text-left {
    align-items: flex-start !important;
    text-align: left !important;
    margin-right: 0 !important;
  }

  .stat-text-right {
    align-items: flex-end !important;
    text-align: right !important;
    margin-left: 0 !important;
  }

  .staggered-row-4 .header-image-circle {
    width: 210px;
    height: 210px;
    margin-left: 4rem;
  }

  #page-19 .page19-center-circle,
  #page-19 .staggered-row-2 .header-image-circle {
    width: 182px;
    height: 182px;
    margin-top: -10rem;
    left: 45%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 0;
  }

  #page-19 .staggered-row-4 .header-image-circle {
    width: 170px;
    height: 170px;
    margin-left: 15%;
  }

  #page-23 .staggered-row-2 .header-image-circle,
  #page-23 .page23-center-circle {
    width: 280px;
    height: 280px;
    position: absolute;
    left: auto;
    z-index: 0;
    margin-top: 23rem;
  }

  #page-23 .staggered-row-4 .header-image-circle {
    width: 220px;
    height: 220px;
    margin-left: 18%;
  }

  #page-29 .staggered-row-1 {
    margin-top: -14rem;
  }

  #page-29 .staggered-row-2 {
    justify-content: center;
    gap: 1rem;
    margin-left: -3rem;
  }

  #page-29 .staggered-row-2 .header-image-circle {
    width: 170px;
    height: 170px;
    margin-left: 6rem;
    margin-top: 0.5rem;
  }

  #page-29 .staggered-row-2 .stat-text-block {
    margin-top: 6rem;
    margin-left: -0.5rem;
  }

  #page-29 .staggered-row-3 .stat-text-right {
    width: 90px;
  }

  #page-29 .staggered-row-4 .header-image-circle {
    width: 210px;
    height: 210px;
    margin-left: 12rem;
    margin-top: -2.5rem;
  }


  .staggered-row-5 {
    margin-top: -3rem;
    margin-bottom: 1.5rem;
  }

  .staggered-row-6 {
    align-items: flex-start;
  }

  .staggered-row-6 .stat-text-block {
    align-items: flex-end;
    text-align: right;
  }

  /* Dual content rows (Image + Icon) overrides */
  .staggered-row-dual {
    justify-content: space-between;
  }

  .staggered-row-dual.staggered-row-2 {
    align-items: flex-start;
    margin-top: -3rem;
  }

  .staggered-row-dual.staggered-row-3 {
    margin-top: -3rem;
  }
}

.header-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-icon-large {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background-color: #708ec8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-medium {
  width: clamp(75px, 12vw, 130px);
  height: clamp(75px, 12vw, 130px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-icon-agriculture {
  background-color: #009639 !important;
}

.bg-icon-health {
  background-color: #d19514 !important;
}

.bg-icon-education {
  background-color: #c62026 !important;
}

.stat-icon-large img,
.stat-icon-medium img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.map-graphic {
  width: 300px;
}

.map-graphic-small {
  width: clamp(150px, 26vw, 300px);
}

.map-graphic img {
  width: 100%;
  height: auto;
}


/* Page 12 & 13 Asymmetrical Layout */
.feature-column-layout {
  display: grid;
  grid-template-columns: 52% 45%;
  gap: 3%;
  align-items: stretch;
  flex-grow: 1;
}

.feature-column-left {
  display: flex;
  flex-direction: column;
}

.feature-column-left .report-image-main {
  margin-left: clamp(-80px, -8vw, -20px);
  width: calc(100% + clamp(20px, 8vw, 80px));
  max-width: none;
  border-radius: 0;
}

.feature-column-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 4rem;
  height: 100%;
}

.portrait-circle {
  width: 182px;
  height: 182px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.thick-blue-divider {
  width: 100%;
  height: 10px;
  background-color: var(--brand-blue);
  margin: 0;
}

.thick-green-divider {
  width: 100%;
  height: 10px;
  background-color: var(--primary-dark-green);
  margin: 0;
}

.thick-agriculture-divider {
  width: 100%;
  height: 10px;
  background-color: var(--agriculture-accent);
  margin: 0;
}

.thick-health-divider {
  width: 100%;
  height: 10px;
  background-color: var(--health-accent);
  margin: 0;
}

.thick-education-divider {
  width: 100%;
  height: 10px;
  background-color: var(--education-accent);
  margin: 0;
}

.thick-humanitarian-divider {
  width: 100%;
  height: 10px;
  background-color: var(--humanitarian-accent);
  margin: 0;
}

.thick-textiles-divider {
  width: 100%;
  height: 10px;
  background-color: var(--textiles-accent);
  margin: 0;
}

.thick-accountability-divider {
  width: 100%;
  height: 10px;
  background-color: var(--accountability-accent);
  margin: 0;
}

.shaded-story-box {
  background-color: #e6e7e8;
  padding: 0.5rem 1.2rem;
  text-align: left;
  flex-grow: 1;
}

.story-box-health {
  background-color: var(--health-bg);
  padding: 0.5rem 1.2rem;
  text-align: left;
}

.story-box-dark-green {
  background-color: var(--primary-dark-green);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  text-align: left;
}

.shaded-story-box p,
.story-box-health p,
.story-box-dark-green p {
  font-weight: normal;
}

/* Page 19 Custom Layout */
@media (min-width: 769px) {
  .page19-row2 {
    position: relative;
  }

  /*.page19-center-circle {
    width: clamp(140px, 28vw, 280px);
    height: clamp(140px, 28vw, 280px);
    position: absolute;
    left: 42%;
    transform: translateX(-50%);
    z-index: 0;
    margin-top: clamp(-180px, -24vw, -70px);
  }*/

  .page19-stat-group {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
  }

  .page19-stat-text {
    margin-top: 3rem;
  }
}

.page19-center-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Page 23 Custom Layout */
@media (min-width: 769px) {
  .page23-row2 {
    position: relative;
  }

  .page23-center-circle {
    width: clamp(200px, 40vw, 400px);
    height: clamp(200px, 40vw, 400px);
    position: absolute;
    left: auto;
    transform: translateX(-6%);
    z-index: 0;
    margin-top: clamp(250px, 50vw, 500px);
  }

  .page23-stat-group {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
  }
}

.page23-center-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
    text-align: center;
  }

  .feature-column-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-number {
    font-size: 3.5rem;
  }

  .stat-label {
    font-size: 1.2rem;
  }

  .portrait-circle {
    width: 180px;
    height: 180px;
  }

  .page-11-header {
    flex-direction: column;
  }

  .header-image-circle {
    width: 220px;
    height: 220px;
    margin-top: 1rem;
    align-self: center;
  }

  .stat-icon-large {
    width: 90px;
    height: 90px;
  }

  .map-graphic {
    width: 260px;
  }
}

/* Page 29 Layout Specifics */
.p29-staggered {
  margin-top: 2rem;
}

.p29-img-2 {
  width: clamp(110px, 22vw, 220px);
  height: clamp(110px, 22vw, 220px);
}

.p29-img-3 {
  width: clamp(180px, 38vw, 380px);
  height: clamp(180px, 38vw, 380px);

}

@media (min-width: 769px) {
  /* No margin reset for .p29-staggered so it inherits defaults if any */

  /* Match Page 11 header title width to allow image overlap properly */
  .p29-header-title {
    max-width: 60%;
  }

  /*.p29-img-1 {
    margin-top: -4rem;
    margin-right: -2rem;
  }*/

  /* First row: Exactly the same as Pages 11, 19, 23 */
  /* Remove the override that was pushing it down */

  /* Row 3: 82 Schools */
  .p29-row-3 {
    margin-top: -1rem;
  }

  .staggered-row-4.p29-row-4 .stat-group {
    margin-top: 4rem;
  }

  /* Row 4: Image6 and 419 Projects */
  .p29-row-4 {
    gap: 1rem;
  }

  .p29-stat-4 {
    margin-bottom: -8rem;
  }

  /* Row 6: 36,000 TVET */
  .p29-row-6 {
    margin-top: 2rem;
    justify-content: flex-end;
  }

  /* Row 7: 337 other projects */
  .p29-row-7 {
    margin-top: -4.5rem;
  }

  .p29-row-7 .stat-text-block {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .p29-staggered {
    margin-top: 2rem;
  }

  .p29-img-1 {
    width: 200px;
    height: 200px;
    align-self: center;
  }

  .p29-img-2,
  .p29-img-3 {
    width: 180px;
    height: 180px;
    align-self: center;
  }

  .p29-stat-2,
  .p29-stat-4 {
    margin-top: 1rem;
    align-items: center;
  }

  .p29-row-3,
  .p29-row-4,
  .p29-row-7 {
    margin-top: 2rem;
  }

  .info-row.staggered-row-dual {
    flex-direction: column;
  }
}

/* Right Side Page Navigation Pill Controls - Anchored next to main content */
.page-nav-controls {
  position: fixed;
  top: 50vh;
  transform: translateY(-50%);
  left: min(calc(50vw + 140px + (100vh * 0.403777)), calc(100vw - 55px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 4px;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-pill-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: #555555;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.nav-pill-btn:hover:not(:disabled) {
  color: #000000;
  background-color: rgba(0, 0, 0, 0.06);
}

.nav-pill-btn:active:not(:disabled) {
  transform: scale(0.92);
}

.nav-pill-btn:disabled {
  color: #d0d0d0;
  cursor: not-allowed;
  background: transparent;
}

@media (max-width: 768px) {
  .page-nav-controls {
    left: auto;
    right: 10px;
    padding: 4px 2px;
    gap: 1px;
  }

  .nav-pill-btn {
    width: 32px;
    height: 32px;
  }
}

/* Generic Two Column Layout (used in Page 17, 18) */
.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
  height: 100%;
}

.grid-2-1 {
  grid-template-columns: 2fr 1fr;
}

.grid-1-2 {
  grid-template-columns: 1fr 2fr;
}

.bracket-purple-right {
  position: absolute;
  top: 55%;
  left: 44%;
  right: -1.5rem;
  height: calc(100% + 2rem);
  border-top: 10px solid #bb86df;
  border-right: 10px solid #bb86df;
  border-bottom: 10px solid #bb86df;
  z-index: 0;
}

.bracket-teal-left {
  position: absolute;
  top: 56%;
  right: 44%;
  left: -2rem;
  height: calc(100% + 2.5rem);
  border-top: 10px solid #1cabb0;
  border-left: 10px solid #1cabb0;
  border-bottom: 10px solid #1cabb0;
  z-index: 0;
}

.divider-teal-right {
  position: absolute;
  bottom: 2.5rem;
  left: 100%;
  width: 100vw;
  border-bottom: 10px solid #1cabb0;
  z-index: 0;
}

.text-dynamic {
  font-size: clamp(0.78rem, 1vw + 0.3rem, .85rem);
}

.two-column-grid .image-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /*padding-top: 1.75rem;*/
}

.two-column-grid .text-column {
  display: flex;
  flex-direction: column;
}

.two-column-grid .image-half {
  width: 100%;
  height: 50%;
  object-fit: cover;
}

.report-image-wrapper.full-height {
  margin: 0;
  height: 50%;
  position: relative;
}

.report-image-wrapper.full-height img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  width: 100%;
  margin: 0;
  padding: 1rem;
  text-align: left;
}

@media (max-width: 768px) {

  .two-column-grid,
  .grid-2-1,
  .grid-1-2 {
    grid-template-columns: 1fr;
    height: auto;
  }

  .two-column-grid .image-half,
  .report-image-wrapper.full-height {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* Global Report Layout Classes */
.report-top-portrait-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#page-31 .report-top-portrait-layout {
  gap: 0;
}

.report-top-portrait-layout h2 {
  line-height: 1.2;
}

.report-portrait-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

#page-31 .report-portrait-section {
  width: 90%;
  margin: 0 auto;
}

.report-portrait-image {
  width: clamp(120px, 22vw, 250px);
  height: clamp(120px, 22vw, 250px);
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.report-quote-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /*max-width: 80%;*/
  margin: 0 auto;
}

#page-31 .report-quote-container {
  justify-content: flex-start;
  align-items: flex-start;
}

.report-quote-text {
  font-size: clamp(1.15rem, 1.8vw + 0.4rem, 1.6rem);
  font-style: italic;
  font-weight: 800;
  color: #333333;
  line-height: 1.4;
  margin-bottom: .5rem;
  position: relative;
  text-align: center;
}

#page-31 .report-quote-text {
  text-align: left;
}

.report-quote-text::before {
  content: '\201C';
  font-size: 6rem;
  color: var(--agriculture-accent);
  position: absolute;
  left: -1.5rem;
  top: -2rem;
  pointer-events: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  line-height: 1;
}

@media (min-width: 769px) {
  #page-17 .report-portrait-image {
    width: 210px;
    height: 210px;
  }

  #page-17 .report-quote-text {
    font-size: 1.15rem;
  }

  #page-17 .report-quote-text::before {
    left: 7rem;
    top: -4rem;
    font-size: 8rem;
  }

  #page-17 .report-quote-source {
    font-size: 0.8rem;
  }

  #page-31 .report-portrait-image {
    width: 210px;
    height: 210px;
  }

  #page-31 .report-portrait-section {
    gap: 1rem;
  }

  #page-31 .report-quote-text {
    font-size: 1.15rem;
  }

  #page-31 .report-quote-text::before {
    color: var(--health-accent);
    left: 7rem;
    top: -4rem;
    font-size: 8rem;
  }

  #page-31 .report-quote-source {
    font-size: 0.8rem;
  }

  #page-35 h2.chapter-sub-title {
    font-size: 1.35rem;
  }
}

#page-25 .report-quote-text {
  text-align: left;
  max-width: 70%;
  margin: 0 auto;
  font-size: 1.15rem;
}

#page-25 .report-quote-text::before {
  color: var(--health-accent);
  left: -4.4rem;
  top: -1rem;
  font-size: 8rem;
}

#page-40 .report-quote-text,
#page-41 .report-quote-text {
  color: #71796f;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  max-width: 80%;
  font-size: 1.15rem;
  text-align: left;
}

#page-40 .report-quote-text::before,
#page-41 .report-quote-text::before {
  color: var(--health-accent);
  left: -3.5rem;
  top: -.6rem;
}

#page-40 .report-quote-text ul {
  margin-left: 20px;
}

.report-quote-source {
  font-family: 'Avenir', sans-serif;
  font-size: clamp(0.85rem, 1vw + 0.3rem, 1.15rem);
}

.report-text-columns {
  column-count: 2;
  column-gap: 1.8rem;
  /*margin-bottom: 2rem;
  text-align: justify;*/
}

.report-bottom-images {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  /*margin-top: 2rem;*/
}

.report-bottom-images img {
  width: calc(50% - 1rem);
  object-fit: cover;
  border-radius: 0;
}

.report-three-images {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.report-three-images img {
  width: calc(33.333% - 0.66rem);
  object-fit: cover;
  border-radius: 0;
}

.report-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  align-items: center;
}

@media (min-width: 769px) {
  #page-18 .report-content-constrained {
    width: 90%;
    flex-grow: 1;
    margin-bottom: 0;
  }

  #page-18 h2.chapter-sub-title {
    padding-left: 5%;
  }

  #page-18 .report-text-columns {
    column-gap: 4rem;
  }

  #page-18 .report-header-split .report-image-main {
    max-height: 300px;
  }

  #page-18 .report-portrait-image,
  #page-18 .portrait-circle {
    width: 160px;
    height: 160px;
  }

  #page-18 .report-quote-container {
    padding: 0 .5rem;
    margin-right: -30px;
  }

  #page-18 .thick-agriculture-divider {
    width: calc(100% + clamp(30px, 12vw, 120px));
    margin-left: clamp(-60px, -6vw, -15px);
    margin-top: -1rem;
  }

  #page-18 .report-quote-text::before {
    left: -1rem;
    top: -3.5rem;
  }

  #page-18 .report-bottom-right-image {
    margin-right: -80px;
    margin-bottom: 0;
    flex-grow: 1;
    width: auto;
    margin-top: 0;
  }

  #page-18 .report-bottom-right-image img {
    width: 52%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
  }
}

#page-18 .report-header-split {
  grid-template-columns: 50% 50%;
  gap: 1rem;
  align-items: flex-start;
}

#page-18 .report-header-split .report-image-main {
  margin-left: clamp(-60px, -6vw, -15px);
  width: calc(100% + clamp(15px, 6vw, 60px));
  max-width: none;
  border-radius: 0 !important;
  height: 100%;
  object-fit: cover;
}

#page-18 .report-quote-text {
  text-align: left;
  font-size: 1.15rem;
  text-indent: 0;
}

.report-bottom-right-image {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 1rem;
}

.report-bottom-right-image img {
  width: calc(50% - 1.5rem);
}

.report-bottom-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  /*margin-top: 1rem;*/
}

.report-bottom-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .report-portrait-section {
    flex-direction: column;
    text-align: center;
  }

  .report-quote-text::before {
    left: -0.75rem;
    top: -1.5rem;
  }

  .report-quote-container {
    max-width: 100%;
  }

  .report-text-columns {
    column-count: 1;
  }

  .report-bottom-images {
    grid-template-columns: 1fr;
  }

  .report-header-split {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .two-column-grid {
    grid-template-columns: 1fr;
  }

  .report-bottom-right-image {
    justify-content: center;
  }

  .report-bottom-right-image img {
    width: 100%;
  }

  #page-18 .report-header-split .report-image-main {
    margin-left: -1rem;
    width: calc(100% + 2rem);
    height: auto;
  }

  #page-18 .thick-agriculture-divider {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-top: 0;
  }

  #page-18 .report-bottom-right-image {
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: -3rem;
    width: calc(100% + 2rem);
  }

  #page-18 .report-bottom-right-image img {
    width: 100%;
    height: auto;
  }
}

.chapter-sub-title,
h2.chapter-sub-title,
h3.chapter-sub-title {
  font-weight: 900 !important;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

/* SDG Impact Box Styles (Pages 42, 43 and similar) */
.sdg-impact-box {
  background-color: #e2e5f0;
  padding: .75rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  position: relative;
}

.sdg-impact-box:last-child {
  margin-bottom: 0;
}

.sdg-impact-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.sdg-impact-header>div {
  width: 80%;
}

.sdg-impact-logo {
  position: absolute;
  top: .5rem;
  right: 1.5rem;
  width: 60px;
  height: auto;
}

.sdg-impact-title {
  color: var(--primary-dark-green);
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw + 0.3rem, 1.4rem);
  margin: 0 0 .2rem 0;
  line-height: 1.2;
}

.sdg-impact-subtitle {
  background-color: #4168a0;
  color: #fff;
  padding: 0.5rem 2rem;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.6vw + 0.4rem, 1.5rem);
  margin: 0;
  display: inline-block;
}

.sdg-color-1 {
  color: #e82230;
}

.sdg-color-8 {
  color: #901839;
}

.sdg-color-12 {
  color: #bf8b2e;
}

.sdg-color-13 {
  color: #3f7e44;
}

.impact-main-title {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.2rem);
  font-weight: 900;
  color: #132e1d;
  margin: 0;
  line-height: 1;
}

.impact-sub-title {
  font-size: clamp(1.3rem, 2.2vw + 0.4rem, 2rem);
  font-weight: 500;
  color: #132e1d;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}


/* Utility classes for layout alignment */
.report-header-medium {
  font-size: clamp(1.15rem, 1.8vw + 0.4rem, 1.6rem);
  font-weight: 900;
  color: var(--primary-dark-green);
  text-align: left;
  margin-left: 10%;
  width: 80%;
  line-height: 1.2;
}

.w-70 {
  width: 70%;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-sm {
  margin-top: 0.5rem;
}

/* Absolute positioned logo for pages 42 and 43 */
.sdg-corner-logo {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(120px, 20vw, 240px);
  height: auto;
}

/* PDF Download Button Styles */
.sidebar-bottom {
  margin-top: auto;
  padding-top: 2rem;
}

.sidebar-nav a.btn-download-pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--brand-blue), #2a9d8f);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(27, 77, 62, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.3px;
}

.sidebar-nav a.btn-download-pdf:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 77, 62, 0.4);
  color: var(--white);
  text-decoration: none;
}

.sidebar-nav a.btn-download-pdf:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(27, 77, 62, 0.25);
}

.sidebar-nav a.btn-download-pdf svg {
  transition: transform 0.3s ease;
}

.sidebar-nav a.btn-download-pdf:hover svg {
  transform: translateY(2px);
}

.sdg-infographic {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Page 45 Stats Wrapper */
.report-stats-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.88);
  /* Semi-transparent white */
  padding: 3%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /*gap: 5%;*/
  align-content: center;
  z-index: 2;
  overflow: hidden;
  box-sizing: border-box;
  justify-content: space-between;
  display: flex;
}

.stats-column {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-sizing: border-box;
  max-width: 200px;
  width: 100%;
  margin: auto 0;
}

.stats-column-title {
  font-size: .8rem;
  font-weight: 800;
  margin: 0;
  margin-bottom: 0.2rem;
  padding-bottom: 0.15rem;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stats-column+.stats-column .stats-column-title {
  text-align: left;
}

.stats-column+.stats-column .stat-row {
  justify-content: flex-start;
}

.stats-column .stat-value {
  font-family: 'Druk Text Trial', sans-serif;
  font-size: clamp(1.15rem, 1.8vw + 0.4rem, 1.75rem);
  font-weight: 500;
  /*width: 35%;*/
  text-align: right;
  line-height: 1.2;
}

.stats-column .stat-label {
  font-size: .65rem;
  width: auto;
  line-height: 1.1;
}

.stats-column+.stats-column .stat-label {
  min-width: 30%;
}

.stats-column .stat-total {
  margin-top: 0.2rem;
}

.stats-column.stat-total .stat-value {
  width: 100%;
  text-align: left;
}

.stats-column+.stats-column .stat-total .stat-value {
  text-align: left;
}

#page-50 .report-body-text,
#page-50 p {
  text-indent: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

#page-50 li {
  text-indent: 0;
  font-size: 0.85rem;
  line-height: 1.3;
}

#page-51 .report-body-text,
#page-51 p {
  text-indent: 0;
  line-height: 1.3;
  font-size: 0.54rem;
  margin-bottom: .3rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 2rem;
}

.partner-logos img {
  max-height: 55px;
  width: auto;
  max-width: 100px;
}

@media (max-width: 768px) {

  #page-13 .report-content-constrained,
  #page-22 .report-content-constrained,
  #page-28 .report-content-constrained {
    padding-bottom: 50px;
  }

  .feature-column-right {
    padding-top: 1rem;
    /*padding-bottom: 4rem;*/
  }

  .feature-column-right .portrait-circle {
    width: 140px;
    height: 140px;
  }

  .feature-column-layout {
    gap: 0;
  }

  .page-section {
    padding-bottom: 1rem;
  }

  #page-12.page-section {
    padding-bottom: 4rem !important;
  }

  #page-18 .report-bottom-right-image img,
  #page-18 .report-header-split .report-image-main {
    max-height: 440px;
  }

  #page-18 .report-content-constrained {
    margin-bottom: 3rem;
    overflow: hidden;
  }
}

/* Page 38 Serpentine Circularity Flow & Connector Pipes */
.circularity-step-row {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  margin-bottom: 0.25rem;
}

.circularity-step-row.row-odd {
  justify-content: flex-start;
  padding-left: 30px;
}

.circularity-step-row.row-even {
  justify-content: flex-end;
  padding-right: 30px;
}

.circularity-card-block {
  width: 76%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.circularity-card-block .step-title {
  font-family: var(--main-font);
  font-size: clamp(0.85rem, 1vw + 0.3rem, 1.05rem);
  font-weight: 800;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.circularity-card {
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0.5rem 0.85rem;
  border-radius: 14px;
  position: relative;
  z-index: 2;
}

.circularity-icon-box {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.circularity-step-row.row-odd .circularity-icon-box {
  margin-left: 0.6rem;
}

.circularity-step-row.row-even .circularity-icon-box {
  margin-right: 0.6rem;
}

.circularity-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Serpentine Connecting Lines */
.connector-pipe {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.connector-pipe-right {
  right: 0;
  top: 50%;
  width: 65px;
  height: calc(100% + 0.35rem);
  border-right: 6px solid;
  border-top: 6px solid;
  border-bottom: 6px solid;
}

.connector-pipe-left {
  left: 0;
  top: 50%;
  width: 65px;
  height: calc(100% + 0.35rem);
  border-left: 6px solid;
  border-top: 6px solid;
  border-bottom: 6px solid;
}

.pipe-purple {
  border-color: #bb86df;
}

.pipe-teal {
  border-color: #1cabb0;
}

.pipe-blue {
  border-color: #7bb5df;
}

.pipe-mint {
  border-color: #86dfbc;
}

@media (max-width: 768px) {
  .circularity-step-row.row-odd {
    padding-left: 10px;
  }

  .circularity-step-row.row-even {
    padding-right: 10px;
  }

  .circularity-card-block {
    width: calc(100% - 55px);
  }

  .circularity-card {
    width: 100%;
    padding: 0.4rem 0.6rem;
  }

  .circularity-icon-box {
    width: 50px;
    height: 50px;
  }

  .connector-pipe-right,
  .connector-pipe-left {
    width: 45px;
    border-width: 4px;
  }

  .connector-pipe-right {
    right: -15px;
  }

  .connector-pipe-left {
    left: -15px;
  }
}

/* Helper & Utility Classes (Moved from inline styles) */
.mb-05 {
  margin-bottom: 0.5rem !important;
}

.mb-1rem {
  margin-bottom: 1rem !important;
}

.mb-4rem {
  margin-bottom: 4rem !important;
}

.mt-1rem {
  margin-top: 1rem !important;
}

.mt-1-5rem {
  margin-top: 1.5rem !important;
}

.mt-3rem {
  margin-top: 3rem !important;
}

.align-start {
  align-items: start !important;
}

.img-full-block {
  width: 100%;
  height: auto;
  display: block;
}

.flex-column-gap-1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flex-column-gap-2 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.relative-full-height {
  height: 100%;
  position: relative;
}

.clean-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.center-flex-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.img-contain-fit {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo-item {
  margin-top: 1.5rem;
  break-inside: avoid;
}

.partner-logo-img {
  width: 100%;
  max-width: 250px;
  height: auto;
}

.uff-logo-text {
  color: var(--brand-dark-green);
}

.footer-split-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

/* Financial Stats Color Themes (Page 45) */
.income-theme.stats-column-title {
  color: #47382e;
  border-bottom: 1px solid #47382e;
}

.income-theme .stat-value,
.income-theme .stat-label {
  color: #3d2924;
}

.income-theme.stat-total {
  color: #3d2924;
  border-top: 1px solid #3d2924;
  border-bottom: 1px solid #3d2924;
  padding-top: 5px;
  padding-bottom: 5px;
}

.expenditure-theme.stats-column-title {
  color: #e29437;
  border-bottom: 1px solid #e29437;
}

.expenditure-theme .stat-value,
.expenditure-theme .stat-label {
  color: #cd872a;
}

.expenditure-theme .stat-value.highlight-amber {
  color: #dd9628;
}

.expenditure-theme.stat-total {
  color: #cd872a;
  border-top: 1px solid #e29437;
  border-bottom: 1px solid #e29437;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Page Specific Section Container Overrides */
#page-41 .report-quote-container {
  margin: 0;
  align-self: center;
  width: 100%;
}

#page-46 .sdg-infographic {
  max-width: 480px;
}

#page-47 .sdg-infographic {
  max-width: 250px;
}

#page-49 h2.report-header-large {
  margin-top: 1rem;
}

#page-50 h2.report-header-large {
  font-size: clamp(1.6rem, 3vw + 0.5rem, 2.5rem);
}

#page-51 .three-column-text {
  column-count: 3;
  column-gap: 2rem;
}

#page-52 .report-content-constrained {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  height: 100%;
  padding-bottom: 4rem;
}

#page-52 p {
  text-indent: 0;
  font-size: .8rem;
}

#page-35 .two-column-grid .text-column {
  padding: 15px 10px 0px 10px;
}

#page-35 .img-margin-offset {
  margin-top: 15px !important;
}

#page-52 .report-logos-wrapper {
  margin-bottom: 4rem;
}

/* Pages 42 and 43 Desktop Typography & Layout */
@media (min-width: 769px) {

  #page-42 .impact-main-title,
  #page-43 .impact-main-title {
    font-size: 2rem;
  }

  #page-42 .impact-sub-title,
  #page-43 .impact-sub-title {
    font-size: 1.2rem;
    font-weight: 900;
  }

  #page-42 .sdg-corner-logo,
  #page-43 .sdg-corner-logo {
    width: 90px;
  }

  #page-42 .sdg-impact-title,
  #page-43 .sdg-impact-title {
    font-size: 1rem;
    margin: 0 0 0.3rem 0;
    font-weight: 900;
  }

  #page-42 .sdg-impact-subtitle,
  #page-43 .sdg-impact-subtitle {
    font-size: 1.2rem;
    padding: 0 2rem;
  }
}

/* Page 39 Photo Grid Layout */
#page-39 .report-content-constrained {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: flex-start;
  align-items: flex-start;
}

#page-39 .two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  height: auto;
  align-items: flex-start;
  width: 100%;
}

#page-39 .two-column-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
