/*** Custom CSS for your site can go here. ***/

/* 1) BTEC-inspired welcome hero */
.bt-hero{position:relative;width:100%;margin:0 0 2.5rem 0;background:#000000;color:#fff;overflow:hidden;}
.bt-hero__inner{display:flex;flex-wrap:wrap;align-items:stretch;max-width:1280px;margin:0 auto;}
.bt-hero__image{flex:1 1 420px;min-height:320px;background-size:cover;background-position:center;}
.bt-hero__content{flex:1 1 420px;display:flex;flex-direction:column;justify-content:center;padding:3rem 2.5rem;background:#000000;}
.bt-hero__content h1{color:#fff;font-size:2.4rem;margin:0 0 0.75rem 0;}
.bt-hero__intro{font-size:1.1rem;line-height:1.5;color:#e7e4df;margin:0 0 1.5rem 0;}
.bt-hero__cta{display:inline-flex;align-items:center;gap:0.5rem;background:#CFB991;color:#000;font-weight:700;text-decoration:none;padding:0.75rem 1.5rem;border-radius:2px;width:fit-content;transition:background 0.2s ease;}
.bt-hero__cta:hover{background:#DDB945;}
@media (max-width:768px){.bt-hero{margin-bottom:1rem;}.bt-hero__content h1{font-size:1.8rem;}.bt-hero__content{padding:2rem 1.25rem;}}

/* 2) Wayfinding columns: Curriculum / Fellows */
.bt-wayfind{max-width:1280px;margin:0 auto 2.5rem auto;padding:0 1.25rem;}
.bt-wayfind__grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start;}
.bt-wayfind__col{background:#EBD99F;border:1px solid #DDB945;border-radius:4px;padding:2rem;}
.bt-wayfind__col h2{margin-top:0;color:#8E6F3E;}
.bt-wayfind__col p{line-height:1.55;color:#555960;}
.bt-wayfind__col img{width:100%;height:auto;border-radius:4px;display:block;margin-top:1rem;}
.bt-wayfind__buttons{display:flex;flex-wrap:wrap;gap:0.75rem;margin-top:1.25rem;}
.bt-wayfind__buttons a{display:inline-block;padding:0.6rem 1.1rem;border:2px solid #CFB991;color:#000;text-decoration:none;font-weight:600;border-radius:2px;}
.bt-wayfind__buttons a:hover{background:#CFB991;}
@media (max-width:768px){.bt-wayfind{margin-bottom:1rem;}.bt-wayfind__grid{grid-template-columns:1fr;}}

/* 3) Events + Subscribe split */
.bt-split{max-width:1280px;margin:2.5rem auto;padding:0 1.25rem;}
.bt-split__grid{display:grid;grid-template-columns:2fr 1fr;gap:2rem;}
.bt-split__panel{background:#fff;border:1px solid #e0e0e0;border-radius:4px;padding:1.75rem;}
.bt-split__header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:1rem;}
.bt-split__header h2{margin:0;font-size:1.4rem;}
.bt-split__header a{font-size:0.9rem;color:#8E6F3E;text-decoration:none;font-weight:600;}
.bt-event{display:flex;gap:1rem;padding:0.9rem 0;border-bottom:1px solid #eee;}
.bt-event:last-child{border-bottom:none;}
.bt-event__date{flex:0 0 60px;text-align:center;background:#CFB991;border-radius:4px;padding:0.4rem 0;height:fit-content;}
.bt-event__month{display:block;font-size:0.75rem;text-transform:uppercase;font-weight:700;}
.bt-event__number{display:block;font-size:1.3rem;font-weight:700;}
.bt-event__meta{margin:0;font-size:0.8rem;color:#6F727B;}
.bt-event__title{margin:0.15rem 0 0 0;font-size:1rem;}
.bt-subscribe{background:#000000;color:#fff;border-radius:4px;padding:1.75rem;display:flex;flex-direction:column;justify-content:center;height:100%;text-decoration:none;}
.bt-subscribe h3{margin:0 0 0.5rem 0;color:#fff;}
.bt-subscribe p{color:#e7e4df;line-height:1.5;margin:0 0 1rem 0;}
.bt-subscribe__cta{color:#CFB991;font-weight:700;}
@media (max-width:768px){.bt-split{margin:1rem auto;}.bt-split__grid{grid-template-columns:1fr;}}

/* 4) Picture-and-text rows: Facilities / Events */
.bt-picture-rows{max-width:1280px;margin:2.5rem auto;padding:0 1.25rem;display:flex;flex-direction:column;gap:2.5rem;}
.bt-picture-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:2.5rem;}
.bt-picture-row--reverse{flex-direction:row-reverse;}
.bt-picture-row__image{flex:1 1 420px;}
.bt-picture-row__text{flex:1 1 380px;}
.bt-picture-row__text h2{margin:0 0 0.75rem 0;color:#8E6F3E;}
.bt-picture-row__text p{line-height:1.55;color:#555960;margin:0 0 1rem 0;}
.bt-picture-row__text a.bt-picture-row__button{display:inline-block;padding:0.6rem 1.1rem;border:2px solid #CFB991;color:#000;text-decoration:none;font-weight:600;border-radius:2px;}
.bt-picture-row__text a.bt-picture-row__button:hover{background:#CFB991;}
@media (max-width:768px){.bt-picture-rows{margin:1rem auto;gap:1.5rem;}.bt-picture-row,.bt-picture-row--reverse{flex-direction:column;gap:1rem;}.bt-picture-row__image,.bt-picture-row__text{flex-basis:auto;}}

/* Reusable image carousel used by the Facilities and Events photo slots */
.bt-carousel{position:relative;overflow:hidden;border-radius:4px;background:#eee;}
.bt-carousel__track{display:flex;transition:transform 0.4s ease;}
.bt-carousel__track img{flex:0 0 100%;width:100%;height:auto;max-height:420px;object-fit:cover;display:block;}
.bt-carousel__btn{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,0.55);color:#fff;border:0;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:1.2rem;line-height:1;display:flex;align-items:center;justify-content:center;}
.bt-carousel__btn:hover{background:rgba(0,0,0,0.8);}
.bt-carousel__btn--prev{left:0.75rem;}
.bt-carousel__btn--next{right:0.75rem;}
.bt-carousel__dots{position:absolute;bottom:0.6rem;left:0;right:0;display:flex;justify-content:center;gap:0.4rem;}
.bt-carousel__dot{width:8px;height:8px;padding:0;border-radius:50%;border:0;background:rgba(255,255,255,0.6);cursor:pointer;}
.bt-carousel__dot.is-active{background:#fff;}

/* 5) Visit Us Here map */
.bt-visit{max-width:1280px;margin:2.5rem auto;padding:0 1.25rem;}
.bt-visit h2{margin:0 0 1rem 0;}
.bt-visit__map{position:relative;width:100%;padding-bottom:40%;height:0;overflow:hidden;border-radius:4px;border:1px solid #e0e0e0;}
.bt-visit__map iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0;}
@media (max-width:768px){.bt-visit{margin:1rem auto;}.bt-visit__map{padding-bottom:80%;}}

/* 6) In Association With / Our Links */
.bt-links{max-width:1280px;margin:2.5rem auto 0 auto;padding:2rem 1.25rem;border-top:1px solid #e0e0e0;}
.bt-links__grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start;}
.bt-links__group{text-align:center;background:#faf8f4;border:1px solid #e5ddc8;border-radius:4px;padding:1.75rem;}
.bt-links__group h2{margin:0 0 1.25rem 0;font-size:1.2rem;color:#555960;}
.bt-links__row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:1.75rem;}
.bt-links__row + .bt-links__row{margin-top:1.5rem;}
.bt-links__logo{display:inline-flex;align-items:center;justify-content:center;}
.bt-links__logo img{height:52px;width:auto;display:block;}
.bt-links__social{width:42px;height:42px;border-radius:50%;background:#555960;color:#fff;display:flex;align-items:center;justify-content:center;transition:background 0.2s ease;}
.bt-links__social:hover{background:#CFB991;color:#000;}
.bt-links__social svg{width:20px;height:20px;fill:currentColor;}
.bt-links__social.is-disabled{opacity:0.45;cursor:default;}
.bt-links__social.is-disabled:hover{background:#555960;color:#fff;}
@media (max-width:768px){.bt-links{margin-top:1rem;}.bt-links__grid{grid-template-columns:1fr;}}

/* 7) Text + YouTube video row */
.bt-intro-video{max-width:1280px;margin:0 auto 2.5rem auto;padding:0 1.25rem;display:flex;flex-wrap:wrap;align-items:center;gap:2.5rem;}
.bt-intro-video__text{flex:1 1 380px;}
.bt-intro-video__text h2{margin:0 0 0.75rem 0;color:#8E6F3E;}
.bt-intro-video__text p{line-height:1.55;color:#555960;margin:0;}
.bt-intro-video__media{flex:1 1 420px;}
.bt-intro-video__media .bt-video-wrap{position:relative;width:100%;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:4px;}
.bt-intro-video__media iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0;}
@media (max-width:768px){.bt-intro-video{flex-direction:column;gap:1rem;margin-bottom:1rem;}.bt-intro-video__text,.bt-intro-video__media{width:100%;flex-basis:auto;}}

/* 8) Heartland BioWorks sponsor text, center-aligned */
.bt-sponsor{max-width:820px;margin:0 auto 2.5rem auto;padding:0 1.25rem;text-align:center;}
.bt-sponsor h2{margin:0 0 0.75rem 0;color:#8E6F3E;}
.bt-sponsor p{line-height:1.6;color:#555960;margin:0 auto 1.25rem auto;max-width:680px;}
.bt-sponsor a.bt-sponsor__button{display:inline-block;padding:0.7rem 1.4rem;background:#CFB991;color:#000;text-decoration:none;font-weight:700;border-radius:2px;}
.bt-sponsor a.bt-sponsor__button:hover{background:#DDB945;}
@media (max-width:768px){.bt-sponsor{margin-bottom:1rem;}}

