/*
Theme Name: The Barbara Alliance
Theme URI: Arch
Author: Arch
Author URI: archcreative.co.uk
Description: 
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: 
*/ 

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root{
    --font-header: "Rubik", sans-serif;
    --font-body:"Rubik", sans-serif;
    --blue:#d5eaef;
    --blue-mid:#57ADBF;
    --blue-dark:#247A8C;
    --black:#050F1E;
    --white:#F6F7FF;
    --orange:#f6e7d7;
    --orange-dark:#d18938;
    
    --dark-blue:#28145a;
    --teal:#50f0be;
    --s-blue:#6ac8ec;
    --yellow:#fad124;
    --pink:#d2b0d4;
}  

* { box-sizing: border-box; }
html { overflow-x:hidden;width:100%;overflow-x:hidden; }
body { background:var(--white);font-family:var(--font-body);margin:0;padding:0;width:100%; }
.bg-blue { background:var(--blue); }
.bg-orange { background:var(--orange); }
.bg-black { background:var(--black);color:var(--white); }
.bg-blue-dark { background:var(--blue-dark);color:var(--white); }
.bg-blue-dark * { color:var(--white); }

.bg-teal { background:var(--teal);color:var(--dark-blue); }
.bg-pink { background:var(--pink)}
.bg-dark-blue { background:var(--dark-blue);color:var(--white); }

.your-element {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 144.51 585.06'><path fill='%2350f0be' d='M143.32,398.32c-5.11-47.57-32.61-90.64-73.02-115.72l21.06-18.15v-.02c27.72-27.95,40.35-65.32,40.51-103.51l.02-5.71-1.52-23.42-.42-2.63c-9.2-57.89-43.79-96.48-97.32-119.01C21.78,6.01,11.27,2.72,0,0v585.06c38.75-7.65,75.23-23.7,103.24-53.69,33.68-36.07,45.28-84.68,40.08-133.05Z'/></svg>") no-repeat center/cover;
}

.bg-b-teal-blue > .container::after { background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 144.51 585.06'><path fill='%2350f0be' d='M143.32,398.32c-5.11-47.57-32.61-90.64-73.02-115.72l21.06-18.15v-.02c27.72-27.95,40.35-65.32,40.51-103.51l.02-5.71-1.52-23.42-.42-2.63c-9.2-57.89-43.79-96.48-97.32-119.01C21.78,6.01,11.27,2.72,0,0v585.06c38.75-7.65,75.23-23.7,103.24-53.69,33.68-36.07,45.28-84.68,40.08-133.05Z'/></svg>") no-repeat left/contain;position:absolute;top:0;left:calc(100% - 2rem);display:block;content:"";height:100%;width:100vw; }
.bg-b-teal-blue > .container::before { background:var(--dark-blue);position:absolute;top:0;left:calc(100% - 2rem);display:block;content:"";height:100%;width:100vw; }



.bg-t-dark-blue > .container::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 63.16 63.16'><path fill='%2350f0be' d='M49.32,34.42l-24.33.05-.2,12.23c-.39,1.5-4.94,1.72-6.76.78l-.04-33.94,6.91.34-.04,13.22,24.37-.04.08,7.37Z'/><rect fill='none' opacity='0' stroke='%2328145a' stroke-miterlimit='10' x='0.5' y='0.5' width='62.16' height='62.16'/></svg>");position:absolute;top:0;right:calc(100% - 2rem);display:block;content:"";height:50%;width:100vw;background-size:50px;background-repeat:repeat;background-position:right bottom;
}





.text-center { text-align:center; }
.text-blue-mid { color:var(--blue-mid);font-weight:600; }

h1,h2,h3,h4,h5,h6 { font-family:var(--font-header);color:var(--dark-blue);font-weight:600; }
h1 { letter-spacing: -0.05rem;font-size:clamp(1.5rem,5vw,2rem);line-height: 110% }
h2 { font-size:clamp(1.25rem,5vw,2rem);line-height: 110%;letter-spacing: -0.12rem;margin:1.5rem 0; }
h3 { font-size:clamp(1.25rem, 5vw, 2rem);line-height: 110%;letter-spacing: -0.06rem; }
h4 { font-size:clamp(1.25rem, 5vw, 1.5rem);line-height: 110%;letter-spacing: -0.06rem; }
h3 strong { color:var(--white) !important;font-weight:600; }

.bg-dark-blue :is(h1,h2,h3,h4,h5,h6) { color:var(--teal); }
/* .bg-dark-blue :is(h3) { color:var(--white); }
.bg-dark-blue :is(h3) strong { color:var(--teal);font-weight:600; } */

p { font-size:1.1rem;font-weight:300;line-height: 140%;letter-spacing: -0.0125rem;text-wrap: pretty; }
p b { font-weight:500; }
p.large { font-size:clamp(1.25rem, 3vw,1.5rem);line-height: 133%;letter-spacing: -0.015rem; }

ul { font-size:1rem;font-style: normal;font-weight: 300;line-height: 1.75rem;letter-spacing: -0.0125rem;padding-left:1rem }
ul li { margin-bottom:1rem;}

a { color:var(--black); }
a:hover { color:var(--blue-dark); }

a.button, p.button a { background:var(--dark-blue);color:var(--white);border-radius:100rem;padding:0.75rem 1rem;text-decoration: none;display:inline-block;text-align:center; }
a.button:hover, p.button a:hover { background:var(--black); }
.bg-black a.button:hover { background:var(--orange-dark); }
.bg-dark-blue a.button { background:var(--teal);color:var(--dark-blue); }
.bg-dark-blue a.button:hover { background:var(--white);color:var(--dark-blue); }

/* section { margin:1rem 0; } */
.module { padding:clamp(4rem, 7vw, 7.5rem) clamp(1rem, 7vw, 2rem);}
.module.notop { padding:clamp(2rem, 7vw, 3rem) clamp(1rem, 7vw, 2rem) clamp(4rem, 7vw, 7.5rem); }
.module.rounded { border-radius:1.25rem;}
.container { width:100%;max-width:104rem;margin:0 auto;position:relative;z-index:3; }
.container-inner { width:100%;max-width:76rem;margin:0 auto;position:relative;z-index:3; }
.container-small { width:100%;max-width:60rem;margin:0 auto;position:relative;z-index:3; }

header { padding:0 2rem 2rem;} 
.header { display:block;text-align:center;padding-top:3.75rem;padding-bottom:2rem;margin-bottom:-1rem;flex-wrap:wrap;gap:2rem; }
nav { display:flex;gap:2.25rem;flex-wrap: wrap;justify-content: center;margin-top:1rem; }
nav a, nav span { text-decoration: none; color:var(--dark-blue);font-size:1.25rem;font-weight:500;letter-spacing: -0.0125rem; }
nav span { opacity:0.5; }
nav a:hover { color:var(--blue-dark); }
nav.pagination { margin-top:3rem;}
.logo { width:100%;max-width:300px;display:inline-block;margin-bottom:1rem; }
.header-menu { list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content: space-evenly; }
nav ul li { margin:0; }
.header-menu { margin:0; }

.banner { padding:2rem 2rem 0;overflow:hidden; }
.banner-image-slider { width:calc(100% + 14rem); }
.banner-image-slide { border-radius:0;overflow:hidden;height:auto; }
.banner-image-slide img { aspect-ratio:1/1;width:100%;height:100%;object-fit: cover; }
.banner-columns { display:flex;flex-wrap: wrap;gap:3rem;justify-content: space-between; }
.banner-text { flex:1 1 33rem;max-width:33rem;padding-top:4rem; }
.banner-images { flex:1 1 33rem;max-width:40rem;margin-top:-2rem; }

.banner-image-slider {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 250'><path d='M249.49,170.2c-2.18-20.33-13.93-38.73-31.2-49.45l9-7.76c11.84-11.95,17.24-27.92,17.3-44.24v-2.44l-.64-10.01-.18-1.12c-3.93-24.73-18.71-41.23-41.59-50.85-4.64-1.77-9.13-3.18-13.94-4.34H0v250h188.25c16.56-3.27,32.15-10.13,44.12-22.94,14.39-15.41,19.35-36.18,17.13-56.85Z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 250'><path d='M249.49,170.2c-2.18-20.33-13.93-38.73-31.2-49.45l9-7.76c11.84-11.95,17.24-27.92,17.3-44.24v-2.44l-.64-10.01-.18-1.12c-3.93-24.73-18.71-41.23-41.59-50.85-4.64-1.77-9.13-3.18-13.94-4.34H0v250h188.25c16.56-3.27,32.15-10.13,44.12-22.94,14.39-15.41,19.35-36.18,17.13-56.85Z'/></svg>") center/contain no-repeat;
}




.icon-flex { display:flex;flex-wrap: wrap;gap:2rem;margin-top:0.5rem; }
.icon-flex > div { flex:1 1 24rem; }

.separator { border-bottom:1px solid var(--s-blue);margin:-4rem 0 -4rem; }

.tree { display: grid;grid-template-columns: 1fr 1fr 1fr;grid-gap:2rem;margin-top:8rem;position:relative; }

.tree > div { position:relative; }
.tree > div:first-child::before { display:block;width:20px;height:20px;content:"";background: var(--teal);position:absolute;top:-5rem;left:calc(50% - 20px); }
.tree > div:last-child::before { display:block;width:20px;height:20px;content:"";background: var(--teal);position:absolute;top:-5rem;left:50%; }
.bg-black .tree > div::before { background:var(--black); }
.tree h3 { text-align:center;width:100%; }

.branch { background:var(--white);border-radius:1.25rem;padding:2.5rem clamp(1.5rem, 3vw, 2.5rem);position:relative;text-align:left;border:2px solid var(--dark-blue); }
.branch::before { position:absolute; top:0;left:50%;width:2.6rem;height:2.6rem;background:var(--dark-blue);border-radius:100%;content:"";display:block;transform:translate(-50%,-50%); }
.branch::after { position:absolute; top:0;left:50%;width:1px;height:5rem;background:var(--dark-blue);content:"";display:block;transform:translate(-50%,-100%); }

.tree::before { position:absolute; top:-5rem;left:15%;width:70%;height:1px;background:var(--dark-blue);content:"";display:block; }

.bg-dark-blue .tree > div:first-child::before { background: var(--dark-blue); }
.bg-dark-blue .tree > div:last-child::before { background: var(--dark-blue); }
.bg-dark-blue .tree::before { background:var(--yellow); }
.bg-dark-blue .branch::before { background:var(--yellow); }
.bg-dark-blue .branch::after { background:var(--yellow); }


.bg-dark-blue .branch { color:var(--white);background:transparent;border:1px solid var(--pink); }
.branch ul { list-style-position:outside; }
.branch h3 { display:inline-block; }

.cta { border:1px solid var(--orange-dark);border-radius:1.25rem;padding:2.5rem;margin-top:2.5rem; }

footer .email-link { font-size:clamp(1.25rem, 5vw, 2rem); }
footer h3 { max-width:55.5rem;margin-top:0; }
.footer-flex { display:flex;justify-content: space-between;margin-top:3rem;flex-wrap:wrap;gap:1rem; }
.footer-flex img { max-width:19rem;width:100%; }
footer a:hover { color:var(--blue-mid); }
.footer-flex a  { text-decoration:none; }
footer .bg-blue { padding:2rem 2rem 15rem; }
footer .bg-blue p { color:var(--black);max-width:55.5rem; }
footer .bg-blue a { color:var(--blue-dark); }
footer .bg-blue a:hover { color:var(--blue-mid); }

.footer-bg-b { border-bottom-right-radius:50rem;padding:10rem 4rem 10rem; }
.footer-bg-b::before {  display:block;content:"";height:100%;width:3rem;background:var(--teal);position:absolute;top:0;right:calc(100% - 3rem); }
.bg-dark-blue a { color:var(--teal); }
.footer-bg-a .container { padding:5rem 2rem 5rem 4rem; }
.footer-bg-a .container::before { display:block;content:"";height:100%;width:100vw;background:var(--dark-blue);position:absolute;top:0;right:calc(100% - 3rem); }
/* .footer-bg-a .container::after {   background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 63.16 63.16'><path fill='%2350f0be' d='M49.32,34.42l-24.33.05-.2,12.23c-.39,1.5-4.94,1.72-6.76.78l-.04-33.94,6.91.34-.04,13.22,24.37-.04.08,7.37Z'/><rect fill='none' opacity='0' stroke='%2328145a' stroke-miterlimit='10' x='0.5' y='0.5' width='62.16' height='62.16'/></svg>");position:absolute;top:0;right:calc(100% - 3rem);display:block;content:"";height:100%;width:100vw;background-size:50px;background-repeat:repeat;background-position:right top; } */


.cookies { display:none; position:fixed; bottom:0; left:0; right:0; background:var(--black); color:#fff; padding:1rem; text-align:center; z-index:9999;}
.cookies button { background:var(--teal);color:var(--dark-blue);border-radius:100rem;padding:0.75rem 1rem;text-decoration: none; }
.cookies button:hover { background:var(--blue-mid);cursor:pointer; }

.left-center { text-align:left;display:inline-block;max-width:700px; }

.two-column-text { display:flex;flex-wrap: wrap;gap:2rem; }
.two-column-text > div { flex:1 1 30rem; }

.intro { padding:0 0 5rem 0;width:100%;max-width:768px; }
.team-grid { display:grid;grid-template-columns:repeat(3, 1fr);gap:1rem;flex-wrap:wrap;justify-content:space-between;row-gap:5rem; }
.team-grid-item img { width:100%;height:auto;object-fit: cover;aspect-ratio: 1/1; }
.team-grid-item a { margin-top:auto; }
.team-grid-item { display:flex;flex-direction: column;gap:1rem;flex:1 1 250px;max-width:250px;margin:0 auto; }
.bio-text { display:none;}


.popup { pointer-events:none;opacity:0;position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);width:100%;height:100%;display:flex;align-items: center;justify-content: center;transition:opacity 0.3s ease-in-out;padding:1rem;z-index:9999 }
.popup.visible { pointer-events: all;opacity:1; }
.popup-container { transform:translateY(10%);transition:transform 0.3s ease-in-out;width:100%;max-width:40rem;background:#fff;display:inline-block;margin:0 auto;padding:2rem;max-height:100%;overflow:auto; }
.popup.visible .popup-container { transform:translateY(0%);}
.popup-container hr { margin-top:1.5rem;margin-bottom:1.5rem;}
.close { margin-top:2rem;}

.bordered { border-top:1rem solid var(--teal); }
.border-blue { border-color:var(--s-blue); }
.border-pink { border-color:var(--pink); }
.border-yellow { border-color:var(--yellow); }
.testimonial { padding:2rem;display:flex;flex-direction: column;gap:1.5rem;height:100%; }
.testimonial img { max-width:150px;height:auto; }
.testimonial-slider .slick-slide { height:auto; }
.testimonial-slide { padding:1rem;}
.testimonial .quote { font-size:1.4rem; }
.slick-dots { position:static;bottom:0;margin-top:3rem; }
.slick-dots li button { background:var(--dark-blue);border-radius:100%;width:16px;height:16px; }
.slick-dots li.slick-active button { background:var(--teal); }
.slick-dots li:hover button { background:var(--s-blue); }
.slick-dots li button:before { display:none;}
.testimonial-slider .slick-list { overflow:visible; }

.slick-track
{
    display: flex !important;
}

.slick-slide
{
    height: inherit !important;
}


.columns-two { columns:2;margin-top:2rem;gap:4rem; }
.columns-two > p:first-child { margin-top:0; }

.privacy { font-size:0.9rem;text-decoration: none;font-weight:500;color:var(--dark-blue); }

.post-archive { display:grid;grid-template-columns:repeat(3, 1fr);gap:3rem 1rem; }
.post-grid-item { padding:2rem;display:flex;flex-direction: column;gap:1rem; }
.post-grid-item a.button { width:fit-content;margin-top:auto;align-self: flex-end; }
.post-link { font-size:1.5rem;text-decoration:none; }
.date { display:block;margin:1rem 0 2rem; }

@media(max-width:1200px){
    .footer-bg-b { border-bottom-right-radius:20rem; }
}

@media(max-width:960px){
    .tree { display:flex;flex-wrap:wrap;gap:5rem;}
    section { margin:0; }
    .module.rounded { border-radius:0;}
    .banner-images { width:100%;margin-top:0; }
    .banner-image-slider { width:100%; }
    .banner-text { padding-top:0rem; }
    .tree > div::before { display:none !important; }
    nav a { font-size:1rem; }
    nav { row-gap:1rem;}
    .footer-flex img { max-width:12rem; }
    .logo { max-width:200px;margin-bottom:2rem; }
     .footer-bg-b { border-bottom-right-radius:10rem; }
     .team-grid {grid-template-columns:repeat(2, 1fr); }
     .post-archive { grid-template-columns:repeat(2, 1fr); }
     .tree > div { height:auto !important; }
}

@media(max-width:560px){
    .columns-two { columns:1; }
     .footer-bg-b { border-bottom-right-radius:0rem; }
     .post-archive { grid-template-columns:repeat(1, 1fr);gap:1.5rem; }
     .header { padding-top:2rem;padding-bottom:0px; }
     .logo { margin-bottom:0px;}
     h1,h2,h3,h4,h5,h6 { letter-spacing:-0.01rem; }
     .bg-b-teal-blue > .container::before { background:var(--teal); }
     .testimonial .quote { font-size:1.2rem; }

     .footer-bg-b::before, .footer-bg-a .container::before{ display:none; }
      .footer-bg-b { padding:4rem 2rem; }
      .footer-bg-a .container { padding:4rem 2rem; }
    }