/* ======================================================
   Page styles (consuming tokens.css)
   ====================================================== */

* { box-sizing: border-box; }

html { background-color: var(--surface-page); }  /* or your hero/nav color */
body { background-color: var(--surface-page); } /* keep your page sections normal */


body {
  margin: 0;
  line-height: var(--line-height-base);
}

a {
  text-decoration: none;
}
/* ================= NAVBAR ================= */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--navbar-bg-transparent); /* translucent over hero */
  /* backdrop-filter: saturate(140%) blur(8px); */
  /* -webkit-backdrop-filter: saturate(140%) blur(8px); */
  transition: background-color .25s ease, box-shadow .25s ease;
  box-shadow: none;
  z-index: 1050;
  padding-top: 50px;
  padding-bottom: 50px;
}
.navbar-toggler {
  color: var(--text-white) !important;
}

/* Solid on scroll */
.navbar.navbar--solid {
  background: var(--navbar-bg-solid);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
}

/* Links + underline */
.navbar .nav-link {
  position: relative;
  color: #fff !important;
  font-weight: 600;
  letter-spacing: .2px;
  padding: .5rem .9rem !important;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .3rem;
  height: 3px;
  border-radius: 999px;
  background: var(--navbar-underline);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
  opacity: .95;
}

.theme-institute .navbar.navbar--solid .nav-link.active::after {
  background: var(--green-600);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

/* Social (right side of navbar) */
.social-header { position: relative; }

.social-header::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -20px;
  width: 1px;
  background: #fff;
  border-radius: 2px;
  pointer-events: none;
}

.social-header .social-icons { display: flex; gap: 12px; }
.social-header .social-icons a { color: #fff; font-size: 20px; }
.social-header .social-icons a:hover { color: var(--blue-300); }
.social-text {
  font-size: var(--bs-nav-link-font-size);
}

/* ================= HERO ================= */

.hero-section {
  /* Ensure it starts at the very top to sit behind the transparent navbar */
  background-color: var(--navy-900); /* or: linear-gradient(135deg, var(--surface-hero) 0%, var(--bs-primary) 100%); */
  min-height: 600px;
  position: relative;
  overflow: hidden;
  padding-top: calc(5rem + var(--nav-height)); /* push content below nav */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: url('../images/backgrounds/logo_bg_header_2.svg') no-repeat top right; /* linear-gradient(var(--overlay), var(--overlay)), */
  background-size: contain;
  animation: float 20s ease-in-out infinite;
}

.theme-institute .hero-section::before {
  background: url('../images/backgrounds/logo_bg_header_wpi.svg') no-repeat top right;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 1rem 0 6rem;
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 300;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-title strong { font-weight: 600; }

.hero-text {
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 48ch;
}

.hero-btn {
  background: var(--bs-primary);
  border: none;
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: .25rem;
  font-weight: 500;
  font-size: .875rem;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  text-decoration: none;
  cursor: pointer;

}
.hero-btn:hover {
  background: var(--blue-300);
  color: var(--navy-900);
}

.hero-btn.white {
  background: var(--gb-gray-1);
  border: none;
  color: var(--text-main);
}
.hero-btn.white:hover {
  background: var(--surface-hero);
  border: none;
  color: var(--text-white);
}


.theme-institute .hero-btn:hover {
  background: var(--green-500);
  color: var(--text-white);
}
.theme-institute .hero-btn.white:hover {
  background: var(--green-700);
}

.hero-image-container { position: relative; }

.hero-image {
  width: 100%;
  border-radius: .75rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform .3s ease;
}

.hero-section:hover .hero-image { transform: scale(1.02); }
/* SECTIONS */

.section {
  padding-block: var(--section-pad-y);
}

.section-category {
  padding: 5px;
  padding-left: 20px;
  padding-right: 20px;
  background: var(--surface-hero-darker);
  color: var(--text-white);
  font-size: var(--fs-small);
  border-radius: var(--radius-sm);
  width: fit-content;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* ================= NEWS ================= */

.featured-news-section {
/*  padding: 5rem 0; */
  background: var(--surface-subtle);
  padding-block: var(--section-pad-y);
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.news-title {
  display: flex;
  align-items: center;
  font-size: var(--fs-h2);
  font-weight: 400;
  color: var(--surface-hero);
  margin: 0;
}
.news-title a {
  font-size: var(--fs-h2);
  font-weight: 400;
  color: var(--surface-hero);
}
.news-header.small .news-title {
  font-size: var(--fs-body);
}

.news-title i {
  margin-right: .75rem;
  color: var(--bs-primary);
}

.all-news-btn {
  background: transparent;
  border: 2px solid var(--border-soft);
  color: var(--text-muted);
  padding: .5rem 2.25rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.all-news-btn:hover {
  background: var(--navy-900);
  border: 2px solid var(--navy-900);
  color: #fff;
}

.theme-institute .all-news-btn {
  border: 2px solid var(--green-700);
  color: var(--green-700);
}
.theme-institute .all-news-btn:hover {
  background: var(--green-600);
  border: 2px solid var(--green-600);
  color: var(--text-white);
}

.news-card {
  background: #fff;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
/*  box-shadow: 0 2px 8px rgba(0,0,0,0.08); */
  transition: all .3s ease;
}

.news-card:hover {
/*
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

 */
}

.news-card a {
  text-decoration: none;
}

.news-card-image {
  position: relative;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-image .overlay-number {
  position: absolute;
  top: 15px; left: 15px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.9);
  color: var(--bs-primary);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  border-radius: .25rem;
  transition: transform .3s ease;
}

.news-card:hover .overlay-number { transform: scale(1.1); }

.news-card-body { padding: 16px; padding-bottom: 24px;}

.news-date {
  color: var(--text-muted);
  font-size: .8125rem;
  margin-bottom: .5rem;
  font-weight: 400;
}

.news-card-title {
  color: var(--surface-hero);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .75rem;
  line-height: 1.3;
  word-break: break-word;
}

.news-card-text {
  color: var(--text-muted);
  font-size: .875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  word-break: break-word;
}


.read-more-btn:hover {
  background: var(--blue-300);
  color: var(--navy-900);
}

.read-more-btn {
  background: var(--bs-primary);
  border: none;
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: .25rem;
  font-weight: 500;
  font-size: .875rem;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  text-decoration: none;
  cursor: pointer;

}
.read-more-btn:hover {
  background: var(--blue-300);
  color: var(--navy-900);
}

.read-more-btn.white {
  background: var(--gb-gray-1);
  border: none;
  color: var(--text-main);
}
.read-more-btn.white:hover {
  background: var(--surface-hero);
  border: none;
  color: var(--text-white);
}

.theme-institute .read-more-btn:hover {
  background: var(--green-500);
  color: var(--text-white);
}
.theme-institute .read-more-btn.white:hover {
  background: var(--green-700);
}


/* ================= VALUES ================= */

.values-section {
  background: var(--surface-hero);
  padding-block: var(--section-pad-y);
/*  padding: 5rem 0; */
  color: #fff;
  background: url('../images/backgrounds/stadium-background.png') no-repeat top right;
  background-color: var(--navy-900);
  background-size: 100% 100%;
  background-position: bottom center;

}

.value-item { text-align: left; padding: 0 20px; }
.value-icon { margin-bottom: 20px; }
.value-icon i { font-size: 36px; color: var(--blue-300); }

.value-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--blue-300);
}

.value-description {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--blue-300);
}

/* ================= RIGHTS CAMPAIGN ================= */

.rights-container {
  text-align: center;
  color: #fff;
  padding-block: var(--section-pad-y);

}
/*
.rights-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100px;
  background:
          url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1200 120\" preserveAspectRatio=\"none\"><path d=\"M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z\" fill=\"white\"></path></svg>')
          repeat-x;
  background-size: 1200px 120px;
}

 */

.rights-hashtag {
  font-size: var(--fs-hero);
  font-weight: 300;
  margin-bottom: 24px;
  letter-spacing: -1px;
/*  text-shadow: 0 2px 8px rgba(0,0,0,0.2);*/
  color: var(--text-white);
}

.rights-description {
  max-width: 50rem;
  margin: 0 auto 32px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

/* MEMBERS AREA */

.members-area-section {
  background: var(--surface-hero);
  padding-block: var(--section-pad-y);
  /*  padding: 5rem 0; */
  color: #fff;
  background: url('../images/backgrounds/stadium-background.png') no-repeat top right;
  background-color: var(--navy-900);
  background-size: 100% 100%;
  background-position: bottom center;
  padding-top: calc(5rem + var(--nav-height) + 100px);
  padding-bottom: calc(5rem + var(--nav-height) + 100px);

}



/* ================= MEMBERS ================= */

.members-section {
  padding-block: var(--section-pad-y);
/*  padding: 5rem 0; */
  background: #fff;
}


.member-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: box-shadow .3s ease, transform .3s ease;
  cursor: pointer;
}

.member-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.member-logo img {
  max-width: 100%;
}

.member-logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--surface-hero);
}

.members-section{ position:relative; }

.seam-flag{
  position:absolute;
  left:50%;
  top:0;
  transform:translate(-50%,-50%);
  padding:.65rem 4rem;
  z-index:3; isolation:isolate;          /* keep the shadow above the seam */
  color: var(--navy-900);
  font-weight: var(--weight-light);
/*  font-family: var(--font-body); */

}
.seam-flag::before{
  content:"";
  position:absolute; inset:0; z-index:-1; /* box behind the text */
  background: var(--blue-300);
  border-radius: var(--radius-sm);
}

.theme-institute .seam-flag {
  color: var(--text-white);
}

.theme-institute .seam-flag::before {
  background: var(--green-700);
  border-radius: var(--radius-sm);

}
/* Members con Swipper */
.members-swiper {
  overflow: visible;
  padding-bottom: 24px;
}
@media (min-width: 992px) {
  .members-swiper { overflow: hidden; }
}

/* Tile becomes a perfect square based on its width */
.member-logo {
  display: grid;                 /* easy centering */
  place-items: center;
  aspect-ratio: 1 / 1;           /* ← the magic */
  width: 100%;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  transition: box-shadow .25s ease, transform .25s ease;
}

.member-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}

/* Logo fits inside the square without cropping */
.member-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* optional effects */
  filter: saturate(0) contrast(1.05) opacity(.9);
  transition: filter .25s ease, transform .25s ease;
}
.member-logo:hover img {
  filter: none;
  transform: scale(1.02);
}


  /* ================= FOOTER ================= */

.hashtag-footer {
  background: var(--bs-primary);
  color: #fff;
  text-align: center;
  padding: .75rem 0;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .5px;
}

.footer {
  background: var(--surface-hero);
  color: #fff;
  padding: 3rem 0 2rem;
  position: relative;
  background-image: url('../images/backgrounds/footer_background.png');
  background-position: center 50px;
  background-repeat: no-repeat;
  border-top: 2px solid var(--blue-300);
}
.footer .by_pixeles {
  color: var(--text-white);
  margin-right: 0;
}
footer p {
  padding-bottom: 0;
  margin-bottom: 0;
}
.theme-institute footer {
  border-top: 2px solid var(--green-700);
  background-image: url('../images/backgrounds/footer_background_wpi_2.svg');

}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer-brand i {
  width: 28px; height: 28px;
  background: #fff;
  color: var(--surface-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.footer-brand span {
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-social { display: flex; gap: 20px; }

.footer-social a {
  color: rgba(255,255,255,0.8);
  font-size: 20px;
  transition: color .3s ease;
}

.footer-social a:hover { color: var(--blue-300); }

.footer-nav {
  text-align: center;
}

.footer-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin: 0 25px;
  font-size: .9375rem;
  font-weight: 400;
  transition: color .3s ease;
}

.footer-nav a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding-top: 100px;
  color: rgba(255, 255, 255, 0.7);
  font-size: .875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links { }

.footer-bottom-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin: 0 15px;
  font-size: .8125rem;
  transition: color .3s ease;
}

.footer-bottom-links a:hover { color: #fff; }

/* SWIPPER */
/* Swiper container should not clip shadows */
.news-swiper {
  overflow: visible;
  padding-bottom: 28px; /* room for dots */
}

/* Make slides auto-height and cards fill */
.news-swiper .swiper-slide { height: auto; }
.featured-news-section .news-card { margin-bottom: 0; height: 100%; }

.news-pagination{
  position: static;        /* <- important so it sits below, not overlaid */
  margin-top: 8px;
  text-align: center;
}

.news-pagination .swiper-pagination-bullet{
  width: 8px; height: 8px;
  background: var(--neutral-300);
  opacity: 1;
  border-radius: 999px;
  margin: 0 6px !important;
  transition: width .25s, background-color .25s;
}
.news-pagination .swiper-pagination-bullet-active{
  width: 36px;
  background: var(--bs-primary);
}

.photos-pagination {
  position: static;        /* <- important so it sits below, not overlaid */
  margin-top: 8px;
  text-align: center;
}

.photos-pagination .swiper-pagination-bullet{
  width: 8px; height: 8px;
  background: var(--neutral-300);
  opacity: 1;
  border-radius: 999px;
  margin: 0 6px !important;
  transition: width .25s, background-color .25s;
}
.photos-pagination .swiper-pagination-bullet-active{
  width: 36px;
  background: var(--bs-primary);
}

.videos-pagination {
  position: static;        /* <- important so it sits below, not overlaid */
  margin-top: 8px;
  text-align: center;
}

.videos-pagination .swiper-pagination-bullet{
  width: 8px; height: 8px;
  background: var(--neutral-300);
  opacity: 1;
  border-radius: 999px;
  margin: 0 6px !important;
  transition: width .25s, background-color .25s;
}
.videos-pagination .swiper-pagination-bullet-active{
  width: 36px;
  background: var(--bs-primary);
}

/* ===== News list page ===== */
.page-header{
  padding-top: calc(5rem + var(--nav-height)); /* push content below nav */

  background-color: var(--navy-900);
  background-image: url('../images/backgrounds/page_header_bg.svg');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 40%;

}


.page-title{
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.5px;
  min-height: 200px;
}

.page-sub-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--text-white);
}

.news-listing {
  transform: translateY(-100px);
  /*  background: var(--gb-gray-1); */
}
.page-news .featured-news-section {
  transform: translateY(-100px);
}

.pagination .page-link{
  color: var(--surface-hero);
  border: 1px solid var(--neutral-200);
  border-radius: 100%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

}
.pagination .page-link:hover {
  background: var(--surface-hero);
  color: var(--text-white);
}

.pagination .page-item.active .page-link{
  background: var(--surface-hero);
  color: var(--text-white);
  border-color: var(--surface-hero);
}
.pagination .page-item.disabled .page-link{ opacity: .5; pointer-events: none; }
.page-item:first-child .page-link {
  border-radius: 100%;
}
.page-item:last-child .page-link {
  border-radius: 100%;
}


/* ===== News single page ===== */
.article-hero{
  padding-top: calc(5rem + var(--nav-height) + 50px);
  background-color: var(--navy-900);
  background-image: url(../images/backgrounds/page_header_bg.svg);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 40%;
}
.theme-institute .article-hero{
  background: url('../images/backgrounds/logo_bg_header_wpi.svg') no-repeat top right;
}
.article-hero .container {
  padding-left: 100px;
  padding-right: 100px;
  transform: translateY(-50px);

}
.article-title{
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-white);
  text-align: center;
}
.article-hero-image img{
  border-radius: var(--radius-sm);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  object-fit: cover;
}

.article-content{
  background: var(--surface-subtle);
}
.article-card{
  background: #fff;
  border-radius: var(--radius-sm);
/*  border-top-left-radius: 0;
  border-top-right-radius: 0;*/
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transform: translateY(-50px);
}
.article-card p{ margin-bottom: 1rem; }
.article-card blockquote{
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--bs-primary);
  color: var(--surface-hero);
  font-weight: 600;
}
.article-card img:not(.related-document-icon) {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  height: auto;
}
.related-document {
}
.related-document a {
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-900);
}
.related-document a:hover {
  color: var(--blue-300);
}

.share-bar{
  padding: .5rem .75rem;
  color: var(--surface-hero);
}
.share-bar a{ color: var(--surface-hero); font-size: 1.1rem; }
.share-bar a:hover{ color: var(--bs-primary); }

.article-category {
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  background: var(--surface-hero);
  color: var(--text-white);
  font-size: var(--fs-smaller);
  border-radius: var(--radius-sm);
}
.article-category a {
  text-decoration: none;
  color: var(--text-white);
}

/* ===== Media gallery ===== */
.media-gallery .container {
}

.media-gallery .news-title i {
  margin-right: .5rem;
  color: var(--bs-primary);
}

.media-swiper {
  overflow: visible;
  padding-bottom: 24px;
}

@media (min-width: 992px) {
  .media-swiper { overflow: hidden; }
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: .5rem;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .25s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.is-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(0,0,0,.25), transparent 60%);
  pointer-events: none;
}

.gallery-item.is-video .ratio::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-40%, -50%);
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--surface-hero);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.2));
}

/* ===== Split galleries ===== */
.photos-swiper,
.videos-swiper {
  overflow: visible;
  padding-bottom: 24px;
}

.photos-swiper .swiper-wrapper {
  justify-content: center;
}

@media (min-width: 992px) {
  .photos-swiper,
  .videos-swiper { overflow: hidden; }
}

.photos-gallery .news-title i,
.videos-gallery .news-title i {
  margin-right: .5rem;
  color: var(--bs-primary);
}

/* ABOUT US */
.about-us .values-section {
  padding-top: calc(5rem + var(--nav-height) + 100px);
}

.about-us .members-section {
  background-image: url('../images/backgrounds/members_background.svg');
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 300px;
}
.about-us .executive-committee-section {
  padding-bottom: 0;
}
.executive-committee-section {
  padding-block: var(--section-pad-y);
}
.staff-section {
  padding-block: var(--section-pad-y);
}

/* ===== Executive Committee ===== */
.executive-section .section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--surface-hero);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.staff-section .section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--surface-hero);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Card */
.person-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  height: 100%;
  background: #fff;
  border: 1px solid var(--neutral-100);
  border-radius: .75rem;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: box-shadow .25s ease, transform .25s ease;
}
.person-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}

/* Top-right LinkedIn */
.person-actions {
  position: absolute;
  top: .75rem;
  right: .75rem;
}
.btn-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  background: #fff;
  border: 1px solid var(--neutral-200);
  color: var(--surface-hero);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-icon:hover {
  background: #f8f8f8;
  color: #fff;
  border-color: #f8f8f8;
}

/* Text */
.person-name {
  margin: 0;
  font-weight: 700;
  color: var(--surface-hero);
  font-size: clamp(1.05rem, .9rem + .4vw, 1.25rem);
}
.person-role {
  margin: 0 0 .25rem;
  color: var(--text-muted);
  font-size: .9375rem;
}

/* Org row */
.person-org {
  margin-top: .5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.person-org-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.person-org-name {
  color: var(--text-muted);
  font-size: .875rem;
  line-height: 1.35;
}

/* WORD PLAYERS INSTITUTE */
.training-section {
  padding-block: var(--section-pad-y);
  /*  padding: 5rem 0; */
  background: #fff;
  background-image: url('../images/backgrounds/members_background.svg');
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 300px;
}
.training-section .hero-title {
  color: var(--surface-hero);
}
.training-section .hero-text {
  color: var(--surface-hero);
}

#research {
  padding-bottom: calc(5rem + var(--nav-height));
}
.education-last-conferences-section {
  padding-block: var(--section-pad-y);
  /*  padding: 5rem 0; */
  background: var(--gb-gray-1);
}

/* Education Specific */
/* ================= Education page blocks ================= */

/* Heading / bullet */
.section-heading{
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 800;
  color: var(--surface-hero);
  letter-spacing: -.2px;
}
.edu-bullet{
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--bs-primary) 0 60%, transparent 61%);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.12));
}

/* ------- Latest Conferences cards ------- */
.edu-latest{ background: var(--surface-subtle); }

/* soft fade/gradient at the bottom of the section (melts into page bg) */
.section-fade-bottom{
  position: relative;
}
/*
.section-fade-bottom::after{
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 400px;
  background: linear-gradient(0deg, rgb(113, 174, 115) 0%, rgba(249, 249, 249, 1) 100%);
  pointer-events: none;
}

 */

/* Card shell */
.conf-card{
  background: #fff;
  border: 1px solid var(--neutral-100);
  border-radius: .9rem;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 18px 48px rgba(0,0,0,.10);

}
@media (min-width: 768px){
  .conf-card{ margin-bottom: 1.25rem; }
}
.conf-card:hover{
/*
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(0,0,0,.10);

 */
}

/* Image (left on md+, stacked on mobile) */
.conf-image img{
  width: 100%; height: 100%; object-fit: cover;
}

/* Body */
.conf-body{
  padding: 1rem 1rem 1.1rem;
}
@media (min-width: 768px){
  .conf-body{ padding: 1.25rem 1.25rem 1.3rem; }
}
.conf-date{ font-size: .85rem; }
.conf-title{
  margin: .15rem 0 .35rem;
  font-weight: 800;
  font-size: var(--fs-h3);
}
.conf-text{
  color: var(--text-muted);
  font-size: .9375rem;
  line-height: 1.5;
  margin-bottom: .75rem;
}



/* ------- Health & safety banner ------- */
.health-panel{
  padding: clamp(1rem, 1rem + 2vw, 1.5rem);
  border-radius: var(--radius);
  color: #fff;
  /* green block with gentle vertical gradient */
  overflow: hidden;
  background: var(--surface-hero);
  text-align: center;

}
.health-panel.bg-image {
  background-image: url('../images/samples/annual_conference_sample.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.health-title{
  margin: 0 0 .5rem;
  font-weight: 800;
  letter-spacing: -.2px;
  font-size: var(--fs-h2);
  color: var(--text-white)
}
.health-text{
  color: rgba(255,255,255,.92);
  font-size: .95rem;
  max-width: 60ch;
  margin-bottom: .8rem;
}

/* End Education Specific */

/* Members Login */
/* ================= Members login ================= */
.members-hero{
  /* page backdrop */
  --members-bg-image: url('assets/images/backgrounds/stadium.jpg'); /* <- set your actual asset or remove */
  position: relative;
  min-height: 100vh;
  background: var(--navy-900);
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 2rem;
  overflow: hidden;
}

/* subtle WPU angular motif on top-right (optional — uses your header bg mark) */
.members-hero::before{
  content:"";
  position:absolute; inset:0;
  background: url('assets/images/backgrounds/logo_bg_header.png') no-repeat top right / 650px auto;
  opacity:.22;
  pointer-events:none;
}

/* stadium image fading in from bottom (optional) */
.members-hero::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:45vh;
  background: var(--navy-900);
  background-image: var(--members-bg-image);
  background-size: cover; background-position:center bottom;
  opacity:.18;
  pointer-events:none;
}

/* Title */
.login-title{
  color:#fff;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
}

/* Glassy panel */
.login-panel{
  background: rgba(0,0,0,.4);
  border-radius: .9rem;
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
}

/* Inputs */
.login-panel .form-control{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  border-radius: var(--radius);
  font-size: var(--fs-body);
}
.login-panel .form-control::placeholder{ color: rgba(255,255,255,.55); }
.login-panel .form-control:focus{
  background: rgba(255,255,255,.10);
  border-color: var(--blue-300);
  color:#fff;
  box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--bs-primary), transparent 80%);
}

/* Forgot password link */
.link-underline{
  color: rgba(255,255,255,.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: .05rem;
}
.link-underline:hover{
  color: #fff;
  border-bottom-color: #fff;
}

/* Button rounds to match fields */
.login-panel .btn{
  border-radius: .7rem;
}


/* Effects and shadows */
.bottom-shadow {
  /*        x   y   blur  spread  color  */
  box-shadow: 0 14px 24px -14px rgba(0,0,0,.18);
}

/* ================= ANIMATIONS ================= */

@keyframes fadeIn { to { opacity: 1; } }
img { opacity: 0; animation: fadeIn .8s ease forwards; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-10px) rotate(1deg); }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .hero-title { font-size: clamp(2rem, 2.2rem, 2.6rem); }
/*  .news-header { flex-direction: column; gap: 20px; text-align: center; } */
  .footer-top { flex-direction: column; gap: 20px; text-align: center; }
  .footer-nav a { display: block; margin: 10px 0; }
}

@media (max-width: 991.98px) {
  /* < lg */
  .navbar {
    background: var(--navbar-bg-solid) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
    padding-top: 20px !important;
    height: 100px;
  }

  /* Collapsed menu panel solid too */
  .navbar .navbar-collapse {
    background: var(--navbar-bg-solid);
    padding: .75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .navbar .nav-link {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  /* Underline position on tighter line-height */
  .navbar .nav-link::after {
    bottom: .2rem;
  }



  .social-header {
    justify-content: end;
  }

  .news-swiper {
    overflow: hidden;
    padding-inline: 12px; /* prevents shadow clipping without showing a peek */
  }

  .article-hero .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (min-width: 992px) {
  .news-swiper {
    overflow: clip;        /* modern */
    overflow: hidden;      /* fallback */
    padding-inline: 0;     /* ensure no extra side padding shows a sliver */
  }
}

.wpa-desc {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 6px;
}



