/* 2025 style overrides */
.old-content {
    background-color: yellow;
}
.bubble {
    padding: 2%;
    background-color: #e9ecce;
    margin: 1% auto 1%;
}
.allcaps {
    text-transform: uppercase;
}
ul.extra-spaced li {
    margin-bottom: 1.6em;
}

/* top nav and menu */
.nav-menu, .nav-menu p, .nav-menu p a {
    color: white;
    border-color: white;
}
.hamburger-menu {
    background-image: url(../assets/images/2025/hamburger-white.png);
}
.nav-menu {
    width: 150px;
}
.container-menu > span {
    display: none;
}

/* Header and Hero section */
#hero .hero-content h1 {
    font-size: 2.5vw;
}
.playlist-button {
    background-color: orange;
    color: black;
    padding: 10px 20px;
    border-radius: 8px;
    border: 0;
    margin: 3% auto;
}
#hero {
    top: 0;
    height: auto; /* 47vw; */
    padding: 0;
    margin: 0;
}
#hero img.header-img {
    width: 100%; 
    height: auto;
}
#hero .hero-content {
	position: absolute;
    margin-left: 0 !important;
	top: 0;
	left: 10%;
    padding: 2%;
    width: 36% !important;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.8);
}
@media screen and (max-width: 768px) {
    #hero .hero-content.animate {
        transform: translateY(-100px);
        opacity: 0;
        animation: slideDown 1.6s ease-out 0.1s forwards;
    }
    @keyframes slideDown {
        from {
            transform: translateY(-500px); 
            opacity: 0;
        }
        to {
            transform: translateY(83%);
            opacity: 1;
        }
    }
}
@media screen and (min-width: 769px) {
    #hero .hero-content.animate {
        transform: translateY(-100px);
        opacity: 0;
        animation: slideDown 1.6s ease-out 1s forwards;
    }
    @keyframes slideDown {
        from {
            transform: translateY(-500px); 
            opacity: 0;
        }
        to {
            transform: translateY(125%);
            opacity: 1;
        }
    }
}
#hero .hero-content .hero-logo {
    width: 37%;
    height: auto;
    margin-top: 8%;
    margin-bottom: 5%;
}
#hero .hero-content h1 {
    font-size: 2.2vw;
    color: #ac1d5f;
    font-weight: 600;
    line-height: 1.3em;
}
#hero .hero-content h3 {
    margin: 0 0 2% 0;
    font-size: 1.22vw;
    font-weight: 500;
    color: black;
}
#crossroad-header {
    background-image: url('../assets/images/2025/bg-water-woman.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #c5d4d9 !important;
    max-width: none;
    padding-top: 8%;
    padding-bottom: 22vw;
}
@media screen and (min-width:1384px) {
    #crossroad-header {
        background-image: url('../assets/images/2025/bg-water-woman-larger.jpg');
    }
}

/* Letter from Executive Direction section */
#letter-box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3%;
    margin: 0;
    width: auto;
    height: auto;
}
.letter-container {
    width: 360px;
    display: block;
    position: relative;
    float: right;
    margin: 6% 5% 0 0;
}
.letter-container .letter-img {
    width: 40%;
    float: left;
    margin: 0 3% 0 0;
    padding: 0;
}
.letter-container .letter-img img {
    width: 100%;
    border-width: 0.6vw;
}
.letter-container .letter-text {
    width: auto;
    float: left;
    margin-top: 7%;
}
.letter-container .letter-text p {
    font-size: 0.8rem;
    font-weight: 500;
}
.letter-container .letter-text p b {
    font-size: 1.0rem;
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1.2em;
}
#crossroad-header .pullout-right {
	background-color: transparent;
	color: #ab1d60;
	font-style: italic;
	font-size: 1.35rem;
	line-height: 1.3em;
    font-weight: 600;
	width: 22%;
    min-width: 240px;
	padding: 0;
	margin-left: 3vw;
	margin-right: 0;
    float: right;
}
section > h2 {
    font-size: 2.5rem !important;
}
.white-dropshadow {
    color: white !important;
    text-shadow: 3px 2px 2px rgba(0,0,0,0.5);
}
.heading-center {
    width: 100%;
    max-width: none;
    min-width: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.heading-left {
    text-align: left;
    margin-left: 3%;
}

/* About Crossroads section */
#about-crossroads {
    background-image: url('../assets/images/2025/bg-walking-woman.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center bottom;
    max-width: none;
    padding-top: 6%;
    padding-bottom: 10%;
}
#about-box {
    background-color: rgba(255, 255, 255, 0.8);
    max-width: 60%;
    padding: 3%;
    margin: -1% 0 0 0;
    width: auto;
    height: auto;
}
.about-below {
    max-width: 60%;
    padding: 1%;
    width: auto;
    height: auto;
    margin: 1% 0;
}
.about-below h4 {
    font-size: 1.15rem;
    font-weight: 500;
}
.about-below p {
    font-size: 1.45rem;
    font-weight: 500;
    width: 95%;
}

/* Areas of Focus section */
#areas-of-focus {
    background-image: url('../assets/images/2025/bg-goats.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    max-width: none;
    padding-top: 6%;
    padding-bottom: 6%;
    margin-bottom: 0;
}
#areas-of-focus h2 {
    margin-bottom: 2%;
    padding-bottom: 0;
}
#areas-of-focus .wrapper-icon-text p.bold {
    color: #89341c;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: -4%;
}
.brown {
    color: #89341c;
}
#areas-of-focus .areas-subtext {
    text-transform: uppercase;
    font-style: normal;
    font-size: 1.8rem;
    line-height: 1.25em;
    font-weight: 500;
    margin: 10% 0 7% 40%;
    width: 44%;
    text-align: left;
}
#areas-of-focus .whitebox-icons > div {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.5% 0.5%;
    margin: 0 1.5%;
}
#areas-of-focus .whitebox-icons > div p.detail {
    font-size: 0.90rem;
}

/* Impact Numbers section */
#impact-numbers {
    background-image: url('../assets/images/2025/bg-purple-larger.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center -25%;
    background-color: #ac1c61;
    max-width: none;
    padding-top: 6%;
    padding-bottom: 9%;
    margin-top: 0;
}
#impact-numbers div.africa-map {
    background-image: none;
    width: 77%;
}
#impact-numbers img {
    margin: 0;
    width: 90%;
    overflow: visible;
}

/* Content sections */
#capacity-building {
    margin-top: 6%;
}
section.nav-section h2 {
    margin-left: 13.5% !important;
    margin-bottom: 3% !important;
    font-size: 2.8rem;
}
section.wrapper h2 {
    font-size: 1.6rem !important;
}
section.wrapper h2 br {
    display: none;
}
section.nav-section.header-purpleback {
    background-color: #ac1c61;
    padding: 6% 0 4% 0;
}
section.nav-section.header-purpleback h2 {
    color: white;
    width: 66%;
}

/* Sliders */
section.wrapper.slider-container {
    display: block;
    position: relative;
    margin: 0 0 5% 0;
    padding: 0;
    height: 90vw;
    width: 100%;
    max-width: none;
    clear: both;
}
ul.slider {
    list-style-type: none;
    width: 80%;
    margin: 0;
    padding: 0;
    height: auto;
    display: block;
    position: relative;
    float: left;
}
ul.slider > li {
    width: 103%;
    height: 90vw;
    display: block;
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    padding: 0 10% 0 17.5%;
    background-color: #dee9e1;
    overflow-y: hidden;
}
ul.slider > li h2 {
    margin-top: 8%;
}
ul.slider > li .scroller {
    height: 60%;
    overflow-y: scroll;
}
ul.slider > li p,
ul.slider > li li,
ul.slider > li img {
    max-width: 90%;
}
ul.slider > li h2 {
    display: flex;
    align-items: center; 
    gap: 4%;
    width: 96%;
    color: #aa1a5a;
    font-size: 2.5rem !important;
    font-weight: 600;
    line-height: 1.05em !important;
    text-transform: uppercase;
    max-width: none;
}
ul.slider > li h2 img {
    width: auto;
    height: 17vw;
    position: relative;
    display: inline;    
    margin: 0 1% 0 0;
    padding: 0;
}
div.slider-next {
    width: 20% !important;
    height: 100% !important;
    border-right: 25vw solid white;
    margin: 0 -25vw 0 0 !important;
    box-sizing: content-box;
    padding: 0 !important;
    background-color: #e49435;
    box-shadow: inset 4rem 0 3rem 0 rgba(0, 0, 0, 0.2);
    display: block;
    position: relative;
    float: right;
    cursor: pointer;
    padding-top: 20%;
}
div.slider-next p {
    width: 100%;
    color: black;
    font-size: 5rem;
    font-weight: 500;
    text-align: center;
    top: 39%;
    position: sticky;
    user-select: none;
    margin-top: 33%;
    margin-bottom: 33%;
}
div.slider-next img {
    width: 43%;
    height: auto;
}
ul.slider > li.hidden {
    display: none;
}
ul.slider li.slide {
    /* background-size: auto 100%; */
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
}
ul.slider li.slide figure.slide-figure {
    float: right;
    width: 40%; 
    margin: 3% 0 2% 3%;
    border: 0.8vw solid white !important;
    background-color: white;
}
ul.slider li.slide figure.up {
    margin-top: -2% !important;
}
ul.slider li.slide figure.left {
    float: left;
    margin-left: 0;
    margin-right: 3%;
}
ul.slider li.slide figure.slide-figure img {
    max-width: 100%;
}
ul.slider li.slide-1 {
    background-image: url(../assets/images/2025/slide1.jpg);
    background-color: #e3f0e7;
}
ul.slider li.slide-2 {
    background-image: url(../assets/images/2025/slide2.jpg);
    background-color: #e2e7eb;
}
ul.slider li.slide-3 {
    background-image: url(../assets/images/2025/slide3.jpg);
    background-color: #e2e7eb;
}
ul.slider li.slide-4 {
    background-image: url(../assets/images/2025/slide4.jpg);
    background-color: #ffffff;
}
ul.slider li.slide-5 {
    background-image: url(../assets/images/2025/slide5.jpg);
    background-color: #e4e9ec;
}
ul.slider li.slide-6 {
    background-image: url(../assets/images/2025/slide6.jpg);
    background-color: #e7ebec;
}
.embed-video-80p {
    max-width: 80%;
}
.center-80p {
    width: 80%;
    text-align: center;
}

.clear {
    clear: both;
}
.pullup {
    margin-top: -2%;
}
figure.snapshot {
    width: 33%;
    float: right;
    margin-right: 10%;
}
figure.snapshot img {
    border-radius: 0 !important;
    border: 0.8vw solid white !important;
    width: 100%;
    height: auto;
    max-width: none !important;
    min-width: auto;
}
figure.snapshot figcaption {
    background-color: white;
    width: 100%;
    padding: 0 2% 5% 2%;
    font-size: 0.9rem;
    font-style: normal;;
    color: #666666;
    margin: 0;
    text-align: left;
}

/* Site footer */
footer {
    background-image: none;
    background-color: #ac1c61;
}
footer section.wrapper h2 {
    font-size: 2.5rem !important;
    font-weight: 600;
    margin-top: 2%;
    margin-bottom: 3%;
}
footer section.wrapper p {
    text-transform: uppercase;
    font-size: 1.3rem;
    line-height: 1.2em;
    font-weight: 600;
}
footer div.three-indented {
    width: 75% !important;
    margin-left: auto;
    margin-right: auto;
}
footer div.whiteback {
    background-color: rgba(255, 255, 255, 0.8);
    margin-right: 1.25%;
    margin-left: 1.25%;
    margin-bottom: 3%;
    padding: 4% 1% 2% 1%;
    text-align: center;
    cursor: pointer;
}
footer div.whiteback a:hover {
    text-decoration: none !important;
}
footer div.whiteback a p {
    color: black;
    margin-top: 6%;
    font-weight: 700;
    line-height: 1.2em;
}

/* replace image divider with beigey gradient */
.gradient-divider {
    padding: 0;
    width: 200%;
    max-width: none;
    margin: 6vw 0 6vw -5%;
    height: 6em;
    background-image: linear-gradient(to top, #f5ca8f, #ffffff); 
    background-position: center bottom; 
    background-size: 200% 6em; 
    background-repeat: no-repeat; 
}

/* add new oval image style, and make image borders slightly thinner */
img.oval {
    border-radius: 4.5vw !important;
    height: auto !important;
    aspect-ratio: unset !important;
}
img.oval,
img.round {
    border-width: 0.6vw !important;
}

/* have specified elements pop in on view */
.pop-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}
.pop-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media screen and (max-width: 1384px) {
    .heading-left {
        margin-left: 6% !important;
    }
    #crossroad-header {
        background-size: cover;
        background-position: center left;
        padding-bottom: 26vw;
    }
    #areas-of-focus {
        background-size: 100% auto;
    }
    section.wrapper.slider-container,
    ul.slider,
    ul.slider > li {
        height: 105vw !important;
    }
    section.wrapper.slider-container-shorter,
    ul.slider-shorter,
    ul.slider-shorter > li {
        height: 98vw !important;
    }
    ul.slider li.slide {
        /* background-size: auto 100%; */
    }
}

@media screen and (max-width: 1200px) {
    section.wrapper.slider-container,
    ul.slider,
    ul.slider > li {
        height: 127vw !important;
    }
    section.wrapper.slider-container-shorter,
     ul.slider-shorter,
    ul.slider-shorter > li {
        height: 112vw !important;
    }
    ul.slider > li h2 {
        font-size: 1.7rem !important;
        width: 83%;
    }
    ul.slider {
        width: 88% !important;
    }
    div.slider-next {
        width: 10% !important;
    }
}

@media screen and (max-width: 1000px) {
    #crossroad-header {
        padding-bottom: 57vw;
        background-position: top center;
    }
    #areas-of-focus {
        background-size: 220% auto;
        background-position: center right;
    }
    #areas-of-focus .col-25 {
        width: 44%;
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 2.5vw !important;
        flex: 33%;
    }
    #areas-of-focus .areas-subtext {
        width: 80%;
        margin: 0 auto 5% auto;
        text-align: center;
    }
    section.wrapper.slider-container,
    ul.slider,
    ul.slider > li {
        height: 136vw !important;
    }
    section.wrapper.slider-container-shorter,
    ul.slider-shorter,
    ul.slider-shorter > li {
        height: 70vw !important;
    }
}

@media screen and (max-width: 1000px) {
    section.wrapper.slider-container,
    ul.slider,
    ul.slider > li {
        height: 170vw !important;
    }
    section.wrapper.slider-container-shorter,
    ul.slider-shorter,
    ul.slider-shorter > li {
        height: 155w !important;
    }
}

/* Mobile widths */
@media screen and (max-width: 768px) {
    .nav-menu {
        margin: 3% auto auto auto;
        position: absolute;
        right: 7%;
    }
    section.wrapper h2 br {
        display: block;
    }
    #hero {
        height: 57.5vw;
        padding-bottom: 70%;
        background-color: #8d263f;
    }
    #hero .hero-content {
        width: 61% !important;
        padding-top: 10%;
        padding-top: 0;
    }
    #hero .hero-content h1 {
        font-size: 3.6vw;
    }
    #hero .hero-content h3 {
        font-size: 2.3vw;
    }
    #hero .header-img {
        mask-image: linear-gradient(to bottom, #8d263f 80%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, #8d263f 80%, transparent 100%);
        mask-repeat: no-repeat;
        mask-size: 100% 100%;
    }
    #crossroad-header {
        margin-top: 0;
        padding-bottom: 5vw;
        background-size: cover;
        background-position: right bottom;
    }
    #crossroad-header > h2 {
        width: 75% !important;
        margin-top: 0;
    }
    .letter-container {
        width: 360px;
        display: block;
        position: relative;
        float: right;
        margin: 0 0 4%;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 0 5% 12% 5%;
        width: 100%;
    }
    .letter-container img {
        width: 80% !important;
        margin-right: 0;
    }
    #crossroad-header .pullout-right {
        clear: both;
        float: none;
        width: 85%;
    }
    #about-crossroads {
        background-size: auto 140%;
        background-position: left center;
    }
    #about-box {
        max-width: 100%;
    }
    .about-below h4 {
        margin-top: 4%;
    }
    .about-below p {
        width: 150%;
    }
    #get-involved .col-33 {
        width: 55%;
        height: 32vw;
        min-height: 32vw;
        max-height: none;
        margin-top: 0;
        margin-bottom: 4%;
    }
    #get-involved .col-20:first-child {
        display: none;
    }
    #get-involved .col-20 {
        clear: both;
        float: none;
        width: 50% !important;
        margin: 0 2% 0 0;
    }
    #get-involved .socials {
        width: 90%;
        margin-left: 12%;
        margin-right: auto;
    }
    footer section.wrapper p {
        font-size: 0.8em;
        margin-top: 5%;
    }
    section.wrapper.slider-container,
    ul.slider,
    ul.slider > li {
        height: 360vw !important;
    }
    section.wrapper.slider-container-shorter,
    ul.slider-shorter,
    ul.slider-shorter > li {
        height: 210vw !important;
    }
    ul.slider > li {
        padding-left: 4%;
        padding-right: 1%;
        /*
        background-size: auto 100% !important;
        background-position: 0 0 !important;
        */
        background-image: none !important;
        background-color: #ccd7c9;
    }
    ul.slider > li,
    ul.slider > p {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    div.slider-next {
        clear: none !important;
    }
    ul.slider li.slide figure.slide-figure {
        margin-left: 3%;
        margin-right: 7%;
        margin-top: 2% !important;
    }
    ul.slider li figcaption {
        margin-top: 0 !important;
    }
    #areas-of-focus {
        background-size: auto 100%;
    }
    #areas-of-focus .col-25 {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    #areas-of-focus .wrapper-icon-text p.bold {
        margin-top: 0;
        width: 100%;
    }
    section > h2 {
        font-size: 5vw !important;
    }
}

/* extra large screens */
@media screen and (min-width: 1400px) {
    #hero .hero-content.animate {
        transform: translateY(-100px);
        opacity: 0;
        animation: slideDown 1.6s ease-out 1s forwards;
    }
    @keyframes slideDown {
        from {
            transform: translateY(-500px); 
            opacity: 0;
        }
        to {
            transform: translateY(393px);
            opacity: 1;
        }
    }
    #hero .hero-content h1 {
        font-size: 1.92em;
    }
    #hero .hero-content h3 {
        font-size: 1.08em;
    }
}