@font-face {
  font-family: 'acbf';
  src: url('../css/fontello-font/font/acbf.eot?26033547');
  src: url('../css/fontello-font/font/acbf.eot?26033547#iefix') format('embedded-opentype'),
       url('../css/fontello-font/font/acbf.woff2?26033547') format('woff2'),
       url('../css/fontello-font/font/acbf.woff?26033547') format('woff'),
       url('../css/fontello-font/font/acbf.ttf?26033547') format('truetype'),
       url('../css/fontello-font/font/acbf.svg?26033547#acbf') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'acbf';
    src: url('../font/acbf.svg?26033547#acbf') format('svg');
  }
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "acbf";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  /* color: var(--primary-color); */
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-mega-menu:before { content: '\e800'; } /* '' */
.icon-clock:before { content: '\e801'; } /* '' */
.icon-civil-cervants:before { content: '\e802'; } /* '' */
.icon-plus:before { content: '\e803'; } /* '' */
.icon-our-offices:before { content: '\e804'; } /* '' */
.icon-search:before { content: '\e805'; } /* '' */
.icon-support-us:before { content: '\e806'; } /* '' */
.icon-think-tanks:before { content: '\e807'; } /* '' */
.icon-x:before { content: '\e808'; } /* '' */
.icon-youtube:before { content: '\e809'; } /* '' */
.icon-arrow-left:before { content: '\e80a'; } /* '' */
.icon-become-a-partner:before { content: '\e80b'; } /* '' */
.icon-arrow-right:before { content: '\e80c'; } /* '' */
.icon-minus:before { content: '\e80d'; } /* '' */
.icon-linkedin:before { content: '\e80e'; } /* '' */
.icon-enter-email:before { content: '\e80f'; } /* '' */
.icon-knowledge-products:before { content: '\e810'; } /* '' */
.icon-instagram:before { content: '\e811'; } /* '' */
.icon-member-states:before { content: '\e812'; } /* '' */
.icon-angle-right:before { content: '\f105'; } /* '' */


i{
 font-family: "acbf";
}
.icon-our-offices:before{
  color: #fff;
}

.loader-page-title {
    color: var(--text-dark);
    font-size: 14px;
    font-family: 'Franklin Gothis', sans-serif;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}



/* ================================================== */


/* INSIDE BANNER */

/* ================================================== */

section.banner-inside-section.py-5 {
    margin: 150px 0 20px 0;
} 

section.acbf-networks-section{
  padding-top: 5rem !important;
}
p.banner-excerpt.acbf-network.pb-4{
  font-size: 1.3rem !important;
}

section.banner-inside-section p {
    font-size: 1.5rem;
    line-height: 30px;
    text-align: start;
}

.banner-heading {
    position: relative;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 40px;
}


.banner-heading::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    height: 3px;
    width: 180px;
    background:url(../images/gold-green-border.png);
}


.banner-excerpt {
    font-size: 25px;
    color: #fff;
    font-weight: 400;
    margin-top: 20px;
    font-family:var(--body-font);
}


.banner-image-wrapper {
  position: relative;
}





/* ================================================== */


/* THE ACBF NETWORK */


/* ================================================== */

.acbf-network-card {
  background-color: #ffffff;
  box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.acbf-network-card:hover {
  transform: translateY(-5px);
}

.network-title {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0;
  font-family: var(--body-font);
}

.acbf-network-card .btn {
  background-color: #0a4a8e; /* Adjust to your theme color */
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
}

.acbf-network-card .btn:hover {
  background-color: #08396c;
}






/* ================================================== */


/* OUR OFFICES */


/* ================================================== */
.svg-icon-wrapper, .svg-icon-black {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1; /* Keeps it square */
  margin: 0 auto;
}

/* .svg-icon-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../images/IrregularContainer.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 100%;
  height: 100%;
  z-index: -1;
} */

.svg-icon-black::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../images/svg-black.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.svg-icon-wrapper i {
  font-size: 6rem;
  color: #fff !important; 
  position: relative;
}


h5.office-title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  min-height: 120px;
}

.office-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 15px;
    width: 100%;
    height: 4px;
    border-radius: 50px;
    margin-top: 30px;
    background: linear-gradient(to right, var(--secondary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 50%, var(--primary-color) 100%);
}






/* ================================================== */


/* OUR WORK */


/* ================================================== */
section.our-work-files-section .row{
    margin-top:5.5rem;
}
.download-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #fff;
    color: #E8C16A;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: rotate(-90deg);
}
.download-icon .icon-arrow-left:before{
  color:var(--secondary-color)
}

.download-icon:hover {
  background-color: #f5f5f5;
}

.download-icon i {
  font-size: 18px;
}



/* ================================================== */


/* OUR VACANCIES */


/* ================================================== */
h3.applicants {
    /* color: #0EAB4B; */
    margin-top: -13px;
}
.vacancies-heading {
    width: 22%;
}
.wp-block-columns.where-we-work.container.bg-cream-color.p-5.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.03) 100%), #FFF;
}

.vacancy-contact {
    font-size: 24.65px;
    white-space: normal;
    word-break: break-word;
}
section.vacancies-section.py-5 {
    margin-top: -80px;
}

section#empower-africa{
  padding: 0 0 140px 0;
}
h3.vacancy-title{
    font-family: var(--body-font);
}

/* ================================================== */


/* FAQS */


/* ================================================== */
.faqs {
    justify-content: space-between;
}


/* Remove all borders except top and bottom */
.wp-block-esab-accordion-child {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-left: none !important;
  border-right: none !important;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
}

/* Increase heading size */
.esab__heading_tag {
    font-size: 1.25rem;
    font-weight: 600;
    color: #242325;
    padding: 15px 0 !important;
    margin: 0;
}

/* Optional: spacing and hover effects */
.esab__head {
  padding: 1rem 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.esab__head:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

/* Optional: spacing inside body */
.esab__body {
  padding: 1rem 0;
}

/* Remove all repetitive inline background styles (optional cleanup) */
.esab__container *,
.esab__container {
  background: none !important;
  background-size: unset !important;
  background-repeat: unset !important;
}


.esab-b9ailmzk.wp-block-esab-accordion .esab__container > .wp-block-esab-accordion-child.esab__active_accordion, .esab-b9ailmzk.wp-block-esab-accordion.nested-accordion .esab__container > .wp-block-esab-accordion-child.esab__active_accordion, .esab-b9ailmzk.wp-block-esab-accordion .block-editor-block-list__block > .wp-block-esab-accordion-child.esab__active_accordion, .esab-b9ailmzk.wp-block-esab-accordion.nested-accordion .block-editor-block-list__block > .wp-block-esab-accordion-child.esab__active_accordion {
    border-color: transparent !important;
}

.esab-b9ailmzk.wp-block-esab-accordion .wp-block-esab-accordion-child > .esab__active.esab__body, .esab-b9ailmzk.wp-block-esab-accordion.nested-accordion .wp-block-esab-accordion-child > .esab__active.esab__body {
    border-color: transparent !important;
    background: #fff !important;
}

.esab-b9ailmzk.wp-block-esab-accordion .esab__active_accordion .esab__heading_txt > .esab__heading_tag, .esab-b9ailmzk.wp-block-esab-accordion.nested-accordion .esab__active_accordion .esab__heading_txt > .esab__heading_tag {
    color: #242325 !important;
}

.wp-block-esab-accordion .esab__icon svg {
  display: none !important;
}

/* Default: Plus */
.wp-block-esab-accordion .esab__icon::before {
    content: "+";
    font-size: 2.5rem;
    font-weight: 200;
    display: inline-block;
    color: #242325;
}
/* When expanded: Minus */
.wp-block-esab-accordion .esab__head[aria-expanded="true"] .esab__icon::before {
  content: "−";
}




/* ================================================== */


/* EVENTS */


/* ================================================== */

section.all-events-section .text-decoration-underline {
    text-decoration: underline!important;
    color: #0E79B2 !important;
}
.event-font-size {
    font-size: 21px;
}

p.publication-font-size {
    font-size: 23px;
}




/* ================================================== */


/* NEWS */


/* ================================================== */
section.news-section .border-green-straight {
    margin-bottom: 70px;
}

section.news-section .col-md-7.mb-4 img.img-fluid.first-news-image {
    width: 768px;
    height: 646px;
    object-fit: cover;
}


.news-image {
    width: 100%;
    object-fit: cover !important;
    height: 570px;
    object-position: top;
}
.events-overlay-card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
    color: white;
    padding: 4rem 1rem 0.5rem 1rem;
    border-radius: 15px;
    text-align: start;
    width: 89%;
    z-index: 2;
}

.events-overlay-card h5 {
    font-weight: 400;
    line-height: 25px;
    position: relative;
    font-size: 16px;
    line-height: normal;
}

.card.pres-card {
  padding: 150px 75px;
  position: relative;
  overflow: hidden; 
}
.news-card {
    position: relative;
    overflow: hidden;
}

.news-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(11, 20, 34, 0.00) 0%,
        rgba(0, 0, 0, 0.80) 70.67%
    );
    pointer-events: none;
    z-index: 1;
}
h3.event-title{
   font-family: var(--body-font);
}
h3.consultancy-title {
    font-family: var(--body-font);
    font-size: 23px;
}

/* ================================================== */


/* key documents */


/* ================================================== */

section.key-documents-section .accordion-button::after {
  display: none !important;
}
section.key-documents-section .accordion-button:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
section.key-documents-section .accordion-button:focus-visible,
section.key-documents-section .accordion-button:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
section.key-documents-section span.view-text {
    color: #0E79B2;
    font-weight: 400;
    font-size: 20px;
}
section.key-documents-section h3.accordion-heading {
    font-weight: 600;
    font-family: var(--body-font);
}
section.key-documents-section i.icon-arrow-right.transition-all {
    color: #E8C16A;
}
section.key-documents-section .icon-toggle.hide {
  display: none !important;
}
/* Default View All style */
section.key-documents-section .view-text {
  transition: all 0.3s ease;
}

/* When showing "-" instead of "View All" */
section.key-documents-section .view-text.is-minus {
  color: #E8C16A;
  font-size: 3rem;
  font-weight: 200;
}


section.key-documents-section .card-body p {
    font-size: 22px;
    font-weight: 400;
    line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
h5.mb-4.key-document-heading {
    font-family: var(--body-font);
    white-space: normal;
    word-break: break-word;
    font-size: 21px;
}

section.key-documents-section i.icon-arrow-right.ms-2.card-arrow {
    transform: rotate(90deg);
    color: #E8C16A;
}
section.key-documents-section .icon-arrow-right:before {
    content: '\e80c';
    color: var(--secondary-color);
}

section.key-documents-section .card-body a{
  color:#0E79B2;
  font-size: 22px;
  gap: 25px;
}
section.key-documents-section img.img-fluid.rounded {
    border-radius: 15px !important;
    /* height: 421px; */
    height: 300px;
    object-fit: cover;
}


section.key-documents-section .card-body {
      border-radius: 0px 15px 15px 0px;
    background: #fff;
    box-shadow: 
    10px 0 30px rgba(0, 0, 0, 0.08),  /* right */
    0 10px 30px rgba(0, 0, 0, 0.08);  /* bottom */
}

/* ================================================== */


/* VIDEO GALLERY */


/* ================================================== */

#videoGalleryDots button.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--secondary-color);
  cursor: pointer;
}

#videoGalleryDots button.dot.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: 4px;
  height: 5px;
}

/* Video Gallery Animation - PERFECT MATCH with photo gallery */
.video-gallery-item {
  opacity: 0;
  transform: translateY(30px) translateX(0);
  transition: none;
  will-change: transform, opacity;
  /* Cinematic slow */
transition: all 2.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.video-gallery-item.show {
  /* Base state - animations override this */
}

/* Each direction plays its own keyframe that ENDS at 0,0 */
.video-gallery-item.enter-left.show {
  animation: slideInLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.video-gallery-item.enter-right.show {
  animation: slideInRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.video-gallery-item.enter-top.show {
  animation: slideInTop 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.video-gallery-item.enter-bottom.show {
  animation: slideInBottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}


#galleryDots button.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--secondary-color);
  cursor: pointer;
}

#galleryDots button.dot.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: 4px;
  height: 5px;
}

/* Gallery Animation - PERFECT ALIGNMENT */
.gallery-item {
  opacity: 0;
  transform: translateY(30px) translateX(0);
  transition: none; 
  will-change: transform, opacity;
  /* transition: all 0.9s ease; */
  /* Cinematic slow */
  transition: all 2.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-item.enter-left.show {
  animation: slideInLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.gallery-item.enter-right.show {
  animation: slideInRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.gallery-item.enter-top.show {
  animation: slideInTop 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.gallery-item.enter-bottom.show {
  animation: slideInBottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Keyframes GUARANTEE perfect final position */
@keyframes slideInLeft {
  0% { 
    opacity: 0; 
    transform: translateX(-60px) translateY(20px); 
  }
  100% { 
    opacity: 1; 
    transform: translateX(0) translateY(0); 
  }
}

@keyframes slideInRight {
  0% { 
    opacity: 0; 
    transform: translateX(60px) translateY(20px); 
  }
  100% { 
    opacity: 1; 
    transform: translateX(0) translateY(0); 
  }
}

@keyframes slideInTop {
  0% { 
    opacity: 0; 
    transform: translateY(-60px) translateX(10px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) translateX(0); 
  }
}

@keyframes slideInBottom {
  0% { 
    opacity: 0; 
    transform: translateY(60px) translateX(-10px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) translateX(0); 
  }
}

.video-gallery-card {
    margin-bottom: 40px;
}

  .play-button-overlay {
  cursor: pointer;
}

.play-svg {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-button-overlay:hover .play-svg {
  transform: scale(1.08);
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.6));
}

.play-button-overlay:hover {
  transform: scale(1.02);
}


/* ================================================== */
/* PHOTO GALLERY */
/* ================================================== */
section.acbf-gallery-section .custom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

section.acbf-gallery-section .custom-modal.show {
  display: flex;
}

section.acbf-gallery-section .custom-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  width: 100%;
  text-align: center;
}

section.acbf-gallery-section .custom-slideshow {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

section.acbf-gallery-section .slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

section.acbf-gallery-section .slide-img.active {
  opacity: 1;
  z-index: 2;
}

section.acbf-gallery-section .prev,
section.acbf-gallery-section .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 2rem;
  color: white;
  background-color: rgba(0,0,0,0.4);
  padding: 10px 15px;
  border: none;
  z-index: 3;
  transform: translateY(-50%);
  user-select: none;
  transition: background-color 0.3s;
}
section.acbf-gallery-section .prev:hover,
section.acbf-gallery-section .next:hover {
  background-color: rgba(0,0,0,0.7);
}

section.acbf-gallery-section .prev { left: 10px; }
section.acbf-gallery-section .next { right: 10px; }

section.acbf-gallery-section .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 4;
}
/* Hover effect: scale up slightly */
section.acbf-gallery-section .prev:hover,
section.acbf-gallery-section .next:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%) scale(1.2);
}

/* Smooth transition */
section.acbf-gallery-section .prev,
section.acbf-gallery-section .next {
  transition: all 0.3s ease;
}

/* Click (active) animation */
section.acbf-gallery-section .prev:active,
section.acbf-gallery-section .next:active {
  transform: translateY(-50%) scale(0.95);
  background-color: rgba(255, 255, 255, 0.25);
}

section.acbf-gallery-section h3.gallery-heading.mt-4 {
    font-size: 18px;
    line-height: normal;
}

.gallery-image {
    height: 570px;
    object-fit: cover;
}





/* ================================================== */


/* pagination */


/* ================================================== */

.pagination-arrow {
  background-color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #000;
  text-decoration: none;
}
.pagination-arrow:hover {
  transform: scale(1.1);
}
.pagination-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}


.icon-arrow-right:before,
.icon-arrow-left:before {
    font-size: 12px !important;
    font-weight: bolder;
}
button.owl-dot.active {
    background: var(--primary-color);
    width: 20px;
    height: 5px;
}

section.news-section .icon-arrow-right:before,
section.news-section .icon-arrow-left:before {
    content: '\e80a';
    font-size: 12px;
}

/* Partners */

.partner-block img {
    width: 175px;
    height: 88px;
    object-fit: contain;
    transition: transform 0.5s ease;
}


/* .partner-block.partner-technical-partners .row {
    justify-content: start !important;
} */


/* Pillars */

.pillars-section ol {
    margin-left: 20px;
}


 .download-our-brand,
 .brand-main-heading {
    position: relative;
    font-weight: 500;
}
  .brand-main-heading::after {
    content: "";
    background-image: url('../images/border-green.svg');
    background-repeat: no-repeat;
    position: absolute;
    top: -30px;
    left: 0;
    height: 100%;
    width: 100%;
}

.download-our-brand::after {
    content: "";
    background-image: url('../images/border-yellow-line-top.png');
    background-repeat: no-repeat;
    position: absolute;
    top: -30px;
    left: 0;
    height: 100%;
    width: 100%;
}












@media (max-width:768px) {
  section.key-documents-section h3 {
    font-size: 16px;
}
.partner-us.row {
    flex-direction: column !important;
}
.empower-africa-row {
    flex-direction: column;
}
.empower-africa-row .col-12.col-md-5 {
    width: 100%;
}
.empower-africa-row .col-12.col-md-7 {
    width: 100%;
}  
.profile-detail-wrapper {
    flex-direction: column-reverse !important;
}
.profile-detail-wrapper {
    margin: unset !important;
}
#extra-content {
    left: 120px;
}
.empower-support {
    flex: 1;
    text-align: center;
}
.featured-publications .card-title,
.small, small {
    color:#E8C16A;
}
.stories-grid {
    grid-template-columns: 1fr;
    gap: 70px;
    margin-top: 50px;
}
#stories-of-impact .d-flex {
    justify-content: space-around;
    gap: 0px;
}
.align-left-with-container {
    margin-left: unset;
}

}


@media (max-width:575px) {
  section.key-documents-section h3 {
    font-size: 14px;
}
.empower-africa-row .col-12.col-md-7 .row.g-4 {
    flex-direction: column;
}
.hero-caption {
    max-width: 100%;
}
.impact-flex {
    flex-direction: column;
}
.featured-content {
    padding-left: 15px;
    margin-bottom: 30px;
}
.flex-md-row-reverse .featured-content {
    padding-left: 15px;
    padding-right: 0px;
}
.widget ul#menu-quick-links-menu {
    columns: 1;
}
.social-wrap {
    align-items: start;
    gap: 0px;
    flex-direction: column;
    margin-top: 50px;
}
  .profile-image img {
    width: 308px;
}
h4 {
    font-size: 20px;
}    
  .owl-dots {
    display: none !important;
}
.play-icon {
    font-size: 30px;
}
.featured-card img {
    height: 330px;
    object-fit: contain;
}
h3 {
    font-size: 22px;
    margin-top: 22px;
}


.testimonial-card .t-flex {
    gap: 30px;
    flex-direction: column;
}
.testimonial-card {
    margin-bottom: unset !important;
    padding: 15px !important;

}
.testimonial-card .author {
    text-align: center;
}
section.banner-inside-section p {
    font-size: 1.15rem;
    margin-bottom: 50px;
}
.wp-block-media-text.is-style-border-green,
.wp-block-media-text.is-style-border-gold {
    padding: 15px;
}

.tab-content > .active:last-child {
  display: none !important;
}
li.nav-item:last-child {
display: none !important;
}

.wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
    margin-bottom: 40px;
}

.video-stories-carousel .owl-nav {
    margin-top: -194px !important;
}
}


.acbf-language-switcher {
    margin-right: 10px;
}



/* Careers and Volunteers */
/* .wp-block-columns.where-we-work.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex {
    background: #0eab4a3b;
    margin: 0;
}
.wp-block-columns.where-we-work.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex .wp-block-column.container.is-layout-flow.wp-block-column-is-layout-flow{
    padding: 60px 0;
    max-width: 1380px;
    margin: 0 auto;
} */
.wp-block-columns.con-join.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex{
    background: #5959591f;
    margin-top: -50px;
}
.wp-block-column.Join-us.is-layout-flow.wp-block-column-is-layout-flow {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.wp-block-columns.container.our-values.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex p,
.wp-block-columns.container.our-values.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex h4{
  text-align: center;
}
.wp-block-columns.container.our-values.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex h4 {
    font-weight: bold;
    margin-top: 15px;
}
.wp-block-columns.container.our-values.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex figure.wp-block-image {
    width: 40%;
    text-align: center;
    margin: 0 auto;
    background: #5959591f;
    border-radius: 50%;
    padding: 20px;
}

.wp-block-columns.container.our-values-col2.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex figure.wp-block-image{
  width: 60%;
    text-align: center;
    margin: 0 auto;
    background: #5959591f;
    border-radius: 50%;
    padding: 20px;
}

.values-partner{
  width: 250px !important;
}





img.wp-image-2672.lazyautosizes.ls-is-cached.lazyloaded {
    /* border-radius: 10px; */
}

@media (max-width:1399px){
  .wp-block-column.Join-us.is-layout-flow.wp-block-column-is-layout-flow {
    max-width: 1035px;
  }

}

@media (max-width:1440px){
  .wp-block-column.Join-us.is-layout-flow.wp-block-column-is-layout-flow {
    max-width: 1075px;
  }

}



@media (max-width:768px){
  .wp-block-columns.where-we-work.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7.wp-block-columns-is-layout-flex .wp-block-column.container.is-layout-flow.wp-block-column-is-layout-flow{
    padding: 60px 30px;
  }
  .wp-block-column.Join-us.is-layout-flow.wp-block-column-is-layout-flow {
      padding: 110px 30px;
  }
  .vacancies-heading {
    width: 100%;
  }
}

/*******************************/
/* NEW ACBF STYLES START HERE */
/*****************************/

/* Top Menu Support Button Styles */
.menu_side_area a.btn-main.btn-line {
    background: #0EAB4B;
    font-size: 16px;
    border: none;
    font-weight: 400;
    font-family: "DM Sans", sans-serif;
    text-transform: none !important;
}



 /* ================================================================
   Impacting Africa Section
   ================================================================ */

/* ---- Section wrapper ---- */
.ia-section {
    position: relative;
    width: 100%;
    background: #ffffff;
    overflow: hidden;
    padding: 70px 0 60px;
}

/* ---- Section header ---- */
.ia-header {
    margin-bottom: 90px;
}

.ia-title {
    font-family: 'Franklin Gothic', 'Titillium Web', sans-serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px 0;
    line-height: 1.2;
}

.ia-title-line {
    display: block;
    width: 60px;
    height: 3px;
    background: #3a9a4a;
    border-radius: 2px;
}

/* ================================================================
   Viewport — clips the sliding track
   ================================================================ */
.ia-viewport-wrapper {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
}

/* ----------------------------------------------------------------
   SHARED background layer
   One image fills the whole wrapper — JS swaps it on tile hover
   ---------------------------------------------------------------- */
.ia-shared-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.35s ease;
    z-index: 0;
}

/* Dark scrim over the shared bg */
.ia-shared-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.60);
    z-index: 1;
    pointer-events: none;
}

/* ================================================================
   Sliding track
   Width and tile flex are set by JS.
   JS formula:
     track.style.width = (total / tilesVisible * 100) + '%'
     tile.style.flex   = '0 0 ' + (100 / total) + '%'
     track.style.transform = translateX(-current/total * 100%)
   ================================================================ */
.ia-track {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 580px;
    z-index: 2;          
    will-change: transform;
}

/* ================================================================
   Individual tile  (transparent — bg comes from shared layer)
   ================================================================ */
.ia-tile {
    position: relative;
    flex-shrink: 0;
    min-height: 480px;
    cursor: pointer;
    overflow: hidden;
    /* Tiles have NO background — the shared layer behind shows through */
    background: transparent;
}

/* Right-edge divider line between tiles */
.ia-tile-divider {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    z-index: 1;
    pointer-events: none;
}

/* Golden hover fill per tile (only covers that tile, not the whole bg) */
.ia-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(232, 193, 106, 0.55); /* #E8C16A */
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.ia-tile:hover::before {
    opacity: 1;
}

/* ---- Tile content ---- */
.ia-tile-content {
    position: absolute;
    inset: 0;
    z-index: 3;         
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 28px;
}

/* Title — always visible */
.ia-tile-title {
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

/* .ia-tile:hover .ia-tile-title {
    color: #1a1a1a;
} */

/* Green separator — animates in on hover */
.ia-tile-separator {
    display: block;
    width: 0;
    height: 2.5px;
    background: #3a9a4a;
    margin: 14px 0 12px;
    transition: width 0.4s ease 0.05s;
    border-radius: 1px;
}

.ia-tile:hover .ia-tile-separator {
    width: 35%;
}

/* Description — slides in on hover */
.ia-tile-desc {
    color: #ffffff;
    margin: 0;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease 0.1s, opacity 0.4s ease 0.15s;
}

.ia-tile:hover .ia-tile-desc {
    max-height: 140px;
    opacity: 1;
}

/* ================================================================
   Navigation bar
   ================================================================ */
.ia-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 0 60px;
}

/* Arrow buttons */
.ia-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, color 0.25s;
    flex-shrink: 0;
    border: 1.5px solid var(--color-grey-91, #E8E8E7);
    background: var(--White, #FFF);
    box-shadow: 0 1.5px 3px 0 rgba(16, 24, 40, 0.10);
}

.ia-arrow:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

.ia-arrow:disabled {
    /* opacity: 0.30; */
    pointer-events: none;
}
.ia-arrow:disabled svg {
    opacity: 0.30;
}
/* Dot indicators */
.ia-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ia-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    transition: background 0.25s, width 0.3s;
    flex-shrink: 0;
}

/* Active dot: elongated green pill */
.ia-dot--active {
    background: #3a9a4a;
    width: 24px;
    border-radius: 4px;
    height: 5px;
}

/* ================================================================
   Responsive
   ================================================================ */

/* Tablet: 2 tiles */
@media (max-width: 1023px) {
    .ia-header {
        padding: 0 32px;
        margin-bottom: 32px;
    }

    .ia-viewport-wrapper,
    .ia-track,
    .ia-tile {
        min-height: 400px;
    }

    .ia-nav {
        padding: 0 32px;
    }
}

/* Mobile: 1 tile */
@media (max-width: 639px) {
    .ia-section {
        padding: 50px 0 50px;
    }

    .ia-header {
        padding: 0 20px;
        margin-bottom: 24px;
    }

    .ia-viewport-wrapper,
    .ia-track,
    .ia-tile {
        min-height: 340px;
    }

    .ia-nav {
        padding: 0 20px;
        margin-top: 28px;
    }

    /* Always show desc on mobile (no hover on touch) */
    .ia-tile::before {
        opacity: 1;
    }

    .ia-tile-title {
        color: #1a1a1a;
    }

    .ia-tile-separator {
        width: 40px;
    }

    .ia-tile-desc {
        max-height: 140px;
        opacity: 1;
        color: #1a1a1a;
    }
}


/* Our Stories Impact Cards Position */
section.our-stories-page .owl-carousel .owl-stage-outer {
    top: -210px !important;
}

section.our-stories-sec .owl-carousel .owl-stage-outer {
    top: 0 !important;
}

/* Carousel Pagination Fix  */
/* ── Pagination row ────────────────────────────────────── */
.acbf-carousel-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  width: 100% !important;
  position: relative !important;
  right: unset !important;
  left: unset !important;
}

/* ── Prev / Next arrows ────────────────────────────────── */
.acbf-carousel-pagination .owl-prev,
.acbf-carousel-pagination .owl-next {
  position: relative !important;
  top: unset !important;
  right: unset !important;
  left: unset !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px ;
  height: 44px ;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid #ccc !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: background 0.3s ease, border-color 0.3s ease !important;
}

.acbf-carousel-pagination .owl-prev:hover,
.acbf-carousel-pagination .owl-next:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #fff !important;
}

/* ── Dots container ────────────────────────────────────── */
.acbf-carousel-pagination .owl-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  position: relative !important;
  top: unset !important;
  right: unset !important;
  left: unset !important;
  text-align: center !important;
  min-width: 150px !important; 
}

/* ── Individual dots ───────────────────────────────────── */
.acbf-carousel-pagination .owl-dot {
  transition: opacity 0.3s ease;
  display: inline-block;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: none !important;
}

.acbf-carousel-pagination .owl-dot span {
  display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    transition: background 0.25s, width 0.3s;
    flex-shrink: 0;
}


.acbf-carousel-pagination .owl-dot.active span {
  background: #3a9a4a !important;
    width: 24px !important;
    border-radius: 4px !important;
    height: 5px !important;
}


/* Stories carousel pagination positioning */
.acbf-carousel-pagination.stories-pagination {
  margin-top: 30px !important;
  padding: 0 var(--container-padding, 20px) !important;
}

/* ── Remove old broken rule if still present ───────────── */
.stories-videos.impact-stories-section .owl-nav {
  right: unset !important;
}

/* ── SVG arrow sizing inside nav buttons ───────────────── */
.acbf-carousel-pagination .owl-prev svg,
.acbf-carousel-pagination .owl-next svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

/* ── Invert arrow colour on hover ──────────────────────── */
.acbf-carousel-pagination .owl-prev:hover svg path,
.acbf-carousel-pagination .owl-next:hover svg path {
  fill: #fff !important;
  stroke: #fff !important;
}

/* ---Fix for Pagination Container on Front Page--- */
.our-stories-sec .acbf-carousel-pagination {
    bottom: -40px !important;
}

/* ---Fix for Pagination Container on Our Stories Page--- */
.our-stories-page .owl-carousel{
    margin-bottom: -75px;
}

/* Single story page — neutralise global offset rules */
.single-story-videos .stories-videos {
  margin-top: 0 !important;
}

.single-story-videos .impact-flex {
  margin-left: 4.1% !important;
}

/* Target owl-stage-outer only inside the Explore Our Stories section */
#stories-of-impact .stories-carousel .owl-stage-outer {
  right: 11px;

}

/* Target owl-stage only inside the Explore Our Stories section */
#stories-of-impact .stories-carousel .owl-stage {
  margin-top: 50px;

}

/* BLOCK CITATION BORDER CSS */
.wp-block-quote cite {
    display: block;
    padding-left: 20px; 
    position: relative;  
    margin-top: 15px;    
}

.wp-block-quote cite::before {
    content: "";
    display: block;
    border-radius: 10px;
    position: absolute;
    left: 0;              
    top: 0;             
    height: 100%;        
    width: 4px;           
    background: linear-gradient(
        to bottom,        
        var(--secondary-color) 0%,      
        var(--secondary-color) 50%,     
        var(--primary-color) 50%,      
        var(--primary-color) 100%      
    );
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
  font-size: 16px !important;
}

/* .translatepress-fr_FR #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
  font-size: 12px !important;
} */

@media (max-width: 1440px) {
  .translatepress-fr_FR #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
  font-size: 12px !important;
}
  
}


/* INSIDE STORIES LEVELLER  FIX */
/* ── Balanced Gutenberg columns ────────────────────────── */
.acbf-balanced-columns {
  align-items: stretch !important;
}

/* Make each column a flex column so content fills height */
.acbf-balanced-columns > .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
}

/* The text column — clamp and scroll */
.acbf-balanced-columns > .wp-block-column.acbf-text-col {
  overflow: hidden !important;
}

.acbf-balanced-columns > .wp-block-column.acbf-text-col .acbf-col-inner {
  flex: 1 !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Clamp text when collapsed */
.acbf-balanced-columns > .wp-block-column.acbf-text-col .acbf-col-inner.is-clamped {
  max-height: var(--col-max-height, 400px) !important;
}

/* Fade out at the bottom when clamped */
.acbf-balanced-columns > .wp-block-column.acbf-text-col .acbf-col-inner.is-clamped::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 80px !important;
  background: linear-gradient(to bottom, transparent, #fff) !important;
  pointer-events: none !important;
}

/* Read more toggle button */
.acbf-read-more-btn {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--primary-color);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
}

.acbf-read-more-btn:hover {
  color: var(--secondary-color);
}

/* Image column always stretches to full column height */
.acbf-balanced-columns > .wp-block-column.acbf-media-col {
  justify-content: flex-start !important;
}

.acbf-balanced-columns > .wp-block-column.acbf-media-col figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Force equal height columns */
.acbf-balanced-columns.wp-block-columns {
  align-items: stretch !important;
}

/* Each column fills full height */
.acbf-balanced-columns > .wp-block-column {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

/* Image fills full column height */
.acbf-balanced-columns > .wp-block-column.acbf-media-col figure.wp-block-image {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.acbf-balanced-columns > .wp-block-column.acbf-media-col figure.wp-block-image img {
  flex: 1 !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: top !important;
  display: block !important;
  height: 100% !important;
  min-height: 300px !important;
}

/* Blockquote sits naturally below the image */
.acbf-balanced-columns > .wp-block-column.acbf-media-col .wp-block-quote {
  flex-shrink: 0 !important;
}


.empower-btn{
  color: rgba(36, 35, 37, 1);
  border: 1px solid rgba(36, 35, 37, 1);
  border-radius: 40px;
  padding: 10px 20px;
}


/* CAREERS & VACANCIES */
.talent-pool-section {
  padding: 60px 5% !important;
  align-items: center !important;
  background: #5959591f;
}

.talent-pool-content {
  padding-right: 40px !important;
}

.talent-pool-image {
  overflow: hidden !important;
}

.inside-pool-description{
  font-size: 18px !important;
  /* line-height: 40px; */
}

.stay-connected-desc{
  font-size: 18px;
  /* line-height: 40px; */
}

.talent-pool-image img {
  width: 100% !important;
  height: auto !important;
  max-height: 420px !important;
  object-fit: cover !important;
  display: block !important;
}

/* OUR APPROACH NEW DESIGN STYLES */
/* ════════════════════════════════════════════
   PILLARS SECTION
════════════════════════════════════════════ */

.pillars-main-heading {
  font-size: 2rem !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

/* ── Outer accordion container ── */
.pillars-accordion {
  /* no borders here — borders live only on .pillar-text-wrap */
}

/* ── Each row: image left + content right ── */
.pillar-item {
  display: flex;
  align-items: stretch;
  gap: 40px;        /* horizontal gap between image column and content column */
  /* NO border on the item itself */
}

/* ════ IMAGE COLUMN ════
   Always visible. Gaps between images come from padding-bottom on inactive
   and no padding on active (image fills full row height). */
.pillar-img-wrap {
  flex: 0 0 260px;
  width: 260px;
  overflow: hidden;
  /* Push images apart with a bottom gap — this is the white space between images */
  padding-top: 50px;
  box-sizing: content-box;
}

/* No gap after the last image */
.pillar-item:last-child .pillar-img-wrap {
  padding-bottom: 0;
}

.pillar-img-wrap img,
.pillar-img-placeholder {
  width: 260px;
  object-fit: cover;
  display: block;
  /* Inactive: compact thumbnail */
  height: 80px;
  transition: height 0.4s ease;
}

/* Active: full portrait image */
.pillar-item.active .pillar-img-wrap img,
.pillar-item.active .pillar-img-placeholder {
  height: 100%;   /* fills the full row height set by the expanded content */
  min-height: 240px;
}

.pillar-img-placeholder { background: #e8e8e8; }

/* ════ CONTENT COLUMN ════
   Horizontal borders ONLY on this side — images are never touched by borders. */
.pillar-text-wrap {
  flex: 1;
  /* Top border = the divider line above each item */
  border-top: 2px solid rgba(36, 35, 37, 1);
  padding: 45px 0 45px 0;
  transition: padding 0.4s ease;
}

/* Bottom border only on the last item */
.pillar-item:last-child .pillar-text-wrap {
  border-bottom: 1px solid rgba(36, 35, 37, 1);
}

/* More breathing room when open */
.pillar-item.active .pillar-text-wrap {
  padding: 24px 0;
}

/* ── Header row (number + title + toggle) ── */
.pillar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.pillar-number {
  font-size: 42px;
  font-family: 'Franklin Gothic', sans-serif;
  font-weight: 400;
  color: rgba(36, 35, 37, 1);
  min-width: 64px;
  line-height: 1;
  transition: font-size 0.3s ease;
}

.pillar-item.active .pillar-number {
  font-size: 64px;
}

.pillar-title {
  flex: 1;
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 32px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  color: rgba(36, 35, 37, 1);
  transition: font-size 0.3s ease;
}

.pillar-item.active .pillar-title {
  font-size: 32px !important;
  font-weight: 400 !important;
}

.pillar-toggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(36, 35, 37, 1);
  padding: 0 8px;
  flex-shrink: 0;
}

/* ── Body ── */
.pillar-body {
  padding-top: 16px;
  padding-left: 100px;  
  animation: fadeIn 0.3s ease;
}

.pillar-body[hidden] { display: none; }

.pillar-body p {
  margin: 0;
  color: rgba(36, 35, 37, 1);
  line-height: 1.75;
  font-size: 15px;
}

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


/* ════════════════════════════════════════════
   BUSINESS MODEL SECTION
════════════════════════════════════════════ */

.business-model-heading {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

::marker { font-weight: 600; }

h4.business-card-heading {
  color: #0EAB4B !important;
  font-weight: 500 !important;
}

h4.delivary-heading.banner-heading {
  font-size: 26px !important;
  color: #0EAB4B !important;
  margin-bottom: 59px;
}

.business-inner-heading {
  font-weight: 500 !important;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 8rem !important;
  font-size: 1.4rem !important;
}

.business-inner-heading::before {
  content: '';
  background-image: url('<?php echo get_template_directory_uri(); ?>/images/blue-line-small.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.implementation.row.justify-content-between { margin-top: 100px; }

.card.business-card {
  max-width: 487px;
  margin-bottom: 90px;
  height: 80%;
}

.the-modals-col { margin-bottom: 110px !important; }

.the-modals-col::after {
  content: '';
  position: absolute;
  top: 37%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-image: var(--card-before-image);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1 !important;
  pointer-events: none;
}


/* ════════════════════════════════════════════
   MOBILE — hide images, accordion only
════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Hide the entire image column on mobile */
  .pillar-img-wrap {
    display: none !important;
  }

  /* Full width content, simple top border */
  .pillar-item {
    gap: 0;
  }

  .pillar-text-wrap {
    padding: 16px 0;
  }

  .pillar-item.active .pillar-text-wrap {
    padding: 20px 0;
  }

  .pillar-number {
    font-size: 28px !important;
    min-width: 44px;
  }

  .pillar-item.active .pillar-number {
    font-size: 36px !important;
  }

  .pillar-title {
    font-size: 15px !important;
  }

  .pillar-item.active .pillar-title {
    font-size: 18px !important;
  }

  .pillar-body {
    padding-left: 0;
  }

  .pillars-main-heading   { font-size: 1.4rem !important; }
  .business-model-heading { font-size: 1.6rem !important; }
}


/* FUNDING SECTION STYLES */
.fund-head {
  font-family: 'Inter', sans-serif;
  font-size: 25px;
  font-weight: 500;
}

/* Implementation / Funding / Monitoring */
.funding-text-wrap {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.funding-border-img {
  width: 4px;          /* thin vertical bar */
  height: auto;        /* stretches naturally to match text height */
  object-fit: fill;    /* fills the height of the flex container */
  flex-shrink: 0;
  display: block;
}

.funding-text {
  margin: 0;
  line-height: 1.7;
}
#mega-menu-wrap-primary #mega-menu-primary 
li > a.mega-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#mega-menu-wrap-primary #mega-menu-primary 
span.mega-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;   /* 👈 reserve space */
    height: 25px;
}

#mega-menu-wrap-primary #mega-menu-primary 
li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
    content: "+" !important;
    font-family: inherit;
    font-weight: 200;
    font-size: 25px;
    top:-2px;
}

.container {
    width: 85%;
}





@media (max-width:768px) {
  #menu-btn {
    display: none !important;
  }
  .banner-image.bg-square {
      margin-top: 40px;
  }
  section.custom-page-banner .container{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
    
  .custom-page-banner {
      padding: 50px 0 100px 0;
  }
  .stories-banner-content h2 {
    font-size: 28px;
  }
  .parallax-banner-2026-wrapper {
    height: 100vh !important;
  }
  .parallax-banner-slide {
    height: 100vh;
  }
  .parallax-bg-layer {
    inset: 0% 0% -23vh;
  }
  .parallax-bgg.medium {
    bottom: 10%;
    display: none;
  }
  .parallax-overlay-bottom {
    display: none;
  }
  .parallax-banner-excerpt {
    font-size: 21px !important;
     white-space: normal;        /* allow wrapping */
    word-wrap: break-word;      /* break long words */
    overflow-wrap: break-word;  /* modern version */
  }
  .parallax-bgg.fast {
    top: 25%;
  }
  .container {
    width: 90%;
  }
  h3.border-green-straight {
    font-size: 25px;
  }
  div#page-content\ the-stories-sec .wp-block-media-text, .featured-card {
    margin-bottom: 60px !important;
  }
  p.hub-heading-text {
    font-size: 20px;
  }
  
  .parallax-layer {
    height: 65vh;
  }
  .hub-heading {
      margin-top: 0px !important;
  }
  .featured-publications-wrapper {
    padding: 0 0;
  }
  .featured-publications .card-title{
    color:initial !important;
  }
}

@media (max-width:575px){
  .social-section.d-flex.justify-content-end.align-items-center.gap-3.flex-wrap {
    padding: 20px 0;
  }
  .language-buttons {
    flex-wrap: wrap;
  }

  .language-box {
	padding: 100px;
  }


}

/* PAGE LOADER STYLES */
