:root {
  --ffv-blue: #003b7a;
  --ffv-blue-dark: #012a55;
  --ffv-red: #d72638;
  --bg: #f3f7fc;
  --text: #0f2239;
  --white: #ffffff;
  --muted: #5b6b7b;
  --radius: 14px;
  --shadow: 0 12px 26px rgba(1, 42, 85, 0.16);
  --separator-height: 9px;
  --separator-bg: rgba(255, 255, 255, 0.97);
  --separator-shadow: 0 3px 9px rgba(1, 42, 85, 0.13);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  background:
    linear-gradient(rgba(8, 24, 44, 0.2), rgba(8, 24, 44, 0.2)),
    url("cdv77-bg-praillons.webp") center 30% / 120% auto fixed no-repeat;
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

main > section:last-child {
  flex: 1 0 auto;
}

h1,
h2,
h3,
.brand {
  font-family: Montserrat, Arial, sans-serif;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Bande 1: bleu avec branding blanc */
.topbar-blue-band {
  background: linear-gradient(90deg, #022448, #003b7a 58%, #0b4f95);
  padding: 0.3rem 0;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.brand {
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-text {
  display: grid;
  line-height: 1.1;
  color: var(--white);
}

.brand-text strong {
  font-size: 1.1rem;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
}

.brand-mark-logo {
  width: 85px;
  height: 85px;
  display: block;
  border-radius: 8px;
}

.ffv-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 0.25rem 0.45rem;
  transition: opacity 0.2s;
}

.ffv-link:hover {
  opacity: 0.8;
}

.ffv-link img {
  width: 118px;
  height: auto;
  display: block;
}

/* Bande 2: ligne blanche de séparation */
.topbar-white-band {
  height: 8px;
  background: var(--white);
}

/* Bande 3: menu rouge */
.navbar {
  background: linear-gradient(90deg, #8d2230, #b33446 50%, #c8505f);
  position: sticky;
  top: 0;
  z-index: 9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-content {
  min-height: 48px;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.navbar-content a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s;
}

.navbar-content a:hover {
  opacity: 0.8;
}

.navbar-content a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.hero {
  background: transparent;
  color: var(--text);
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: start;
}

.hero-grid > div:first-child {
  background: linear-gradient(
    160deg,
    rgba(2, 30, 60, 0.84),
    rgba(0, 59, 122, 0.76)
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 1.1rem;
  color: var(--white);
  box-shadow: 0 12px 26px rgba(1, 42, 85, 0.24);
}

.hero-grid > div:first-child .lead {
  color: rgba(255, 255, 255, 0.95);
}

.badge {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 59, 122, 0.3);
  background: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  font-size: 0.9rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.lead {
  font-size: 1.15rem;
  max-width: 62ch;
}

.cta {
  display: inline-block;
  text-decoration: none;
  margin-top: 0.8rem;
  background: linear-gradient(90deg, #8d2230, #b33446 50%, #c8505f);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.hero-panel {
  background: linear-gradient(
    165deg,
    rgba(0, 59, 122, 0.84),
    rgba(1, 42, 85, 0.78)
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 1.2rem;
  color: var(--white);
  box-shadow: 0 12px 24px rgba(1, 42, 85, 0.24);
}

.hero-panel h2 {
  margin-top: 0;
}

.hero-panel a {
  color: var(--white);
  font-weight: 600;
}

.section {
  padding: 3.5rem 0;
}

#mission {
  background: linear-gradient(
    140deg,
    rgba(2, 30, 60, 0.82),
    rgba(0, 59, 122, 0.72)
  );
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 20px rgba(1, 42, 85, 0.16);
}

.section-alt {
  background: linear-gradient(
    180deg,
    rgba(232, 242, 253, 0.97),
    rgba(210, 228, 248, 0.95)
  );
}

#clubs {
  position: relative;
  background-image:
    linear-gradient(165deg, rgba(15, 55, 115, 0.5), rgba(5, 20, 50, 0.5)),
    url("clubs-bg-maquereau-cup.jpg");
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  background-blend-mode: normal, overlay;
}

#agenda {
  position: relative;
  background-image:
    linear-gradient(165deg, rgba(15, 55, 115, 0.34), rgba(5, 20, 50, 0.34)),
    url("agenda-bg-hd.jpg");
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  background-blend-mode: normal, overlay;
}

#agenda::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--separator-height));
  left: 0;
  right: 0;
  height: var(--separator-height);
  background: var(--separator-bg);
  box-shadow: var(--separator-shadow);
}

#actualites {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(42, 90, 146, 0.65),
    rgba(0, 59, 122, 0.65)
  );
}

#actualites::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--separator-height));
  left: 0;
  right: 0;
  height: var(--separator-height);
  background: var(--separator-bg);
  box-shadow: var(--separator-shadow);
}

#clubs::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--separator-height));
  left: 0;
  right: 0;
  height: var(--separator-height);
  background: var(--separator-bg);
  box-shadow: var(--separator-shadow);
}

.clubs-map-block {
  margin-top: 1.4rem;
}

.section-head {
  margin-bottom: 1.4rem;
}

#carte .section-head {
  background: rgba(0, 59, 122, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  color: var(--white);
}

#carte .section-head p {
  color: rgba(255, 255, 255, 0.92);
}

#about {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(42, 90, 146, 0.65),
    rgba(0, 59, 122, 0.65)
  );
}

#about .section-head {
  background: rgba(0, 59, 122, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  color: var(--white);
}

#about .section-head p {
  color: rgba(255, 255, 255, 0.92);
}

.missions-section {
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: rgba(1, 42, 85, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.missions-section h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--white);
}

.missions-section ul {
  margin: 0;
  padding-left: 1.1rem;
}

.missions-section li {
  color: rgba(255, 255, 255, 0.95);
  margin: 0.2rem 0;
}

#actualites .section-head {
  background: rgba(0, 59, 122, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  color: var(--white);
}

#actualites .section-head p {
  color: rgba(255, 255, 255, 0.92);
}

#about::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--separator-height));
  left: 0;
  right: 0;
  height: var(--separator-height);
  background: var(--separator-bg);
  box-shadow: var(--separator-shadow);
}

#clubs .section-head {
  background: rgba(0, 59, 122, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  color: var(--white);
}

#clubs .section-head p {
  color: rgba(255, 255, 255, 0.92);
}

#clubs .filters {
  background: rgba(0, 59, 122, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.8rem;
}

#clubs .filters label {
  color: var(--white);
}

#clubs .filters input,
#clubs .filters select {
  background: rgba(0, 59, 122, 0.88);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

#clubs .filters input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.filters {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
select {
  border: 1px solid #ccd9e8;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.club-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.club-card {
  background: linear-gradient(
    165deg,
    rgba(0, 59, 122, 0.84),
    rgba(1, 42, 85, 0.78)
  );
  padding: 1.05rem;
  border-radius: 12px;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.24s ease;
}

.club-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 28px rgba(1, 42, 85, 0.28);
}

.club-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.06rem;
  color: var(--white);
}

.club-meta {
  color: rgba(255, 255, 255, 0.92);
  margin: 0.15rem 0;
  font-size: 0.96rem;
  line-height: 1.45;
}

.club-card strong {
  color: rgba(255, 255, 255, 0.95);
}

.club-card a {
  display: inline-flex;
  margin-top: 0.45rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.club-card a:hover {
  text-decoration: underline;
}

.no-result {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
}

.map {
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #ccd9e8;
}

.news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.agenda-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

#agenda .section-head {
  background: rgba(0, 59, 122, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  color: var(--white);
}

#agenda .section-head p {
  color: rgba(255, 255, 255, 0.92);
}

#agenda .filters {
  background: rgba(0, 59, 122, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.8rem;
}

#agenda .filters label {
  color: var(--white);
}

#agenda .filters select {
  background: rgba(0, 59, 122, 0.88);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.agenda-actions {
  margin: -0.2rem 0 1rem;
}

.agenda-subtitle {
  margin: 0.2rem 0 0.4rem;
  color: var(--white);
}

.agenda-count {
  display: inline-block;
  margin: 0 0 0.8rem;
  color: var(--white);
  font-weight: 600;
  background: rgba(0, 59, 122, 0.78);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

#agendaPastCount {
  background: rgba(1, 42, 85, 0.82);
}

.agenda-reset {
  background: linear-gradient(90deg, #8d2230, #b33446 50%, #c8505f);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.agenda-reset:hover {
  opacity: 0.88;
}

.agenda-card {
  background: linear-gradient(
    165deg,
    rgba(0, 59, 122, 0.84),
    rgba(1, 42, 85, 0.78)
  );
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  border-left: 5px solid rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.agenda-date {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.agenda-club,
.agenda-meta {
  margin: 0.2rem 0;
}

.agenda-card strong {
  color: rgba(255, 255, 255, 0.95);
}

.agenda-card a {
  color: var(--white);
  font-weight: 700;
}

.news-card {
  background: linear-gradient(
    165deg,
    rgba(0, 59, 122, 0.84),
    rgba(1, 42, 85, 0.78)
  );
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  border-left: 5px solid rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.news-date {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.news-card h3 {
  margin: 0 0 0.35rem;
  color: var(--white);
}

.news-card p {
  color: rgba(255, 255, 255, 0.92);
}

.news-meta {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.news-card a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.news-card a:hover {
  text-decoration: underline;
}

/* Formations */
#formations {
  position: relative;
  background-image:
    linear-gradient(165deg, rgba(15, 55, 115, 0.5), rgba(5, 20, 50, 0.5)),
    url("formations-bg-praillons-0076.jpg");
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  background-blend-mode: normal, overlay;
}

#formations::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--separator-height));
  left: 0;
  right: 0;
  height: var(--separator-height);
  background: var(--separator-bg);
  box-shadow: var(--separator-shadow);
}

#formations .section-head {
  background: rgba(0, 59, 122, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  color: var(--white);
}

#formations .section-head p {
  color: rgba(255, 255, 255, 0.92);
}

.formations-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.formation-card {
  background: linear-gradient(165deg, rgba(0, 59, 122, 0.84), rgba(1, 42, 85, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 1.2rem;
  color: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.formation-type {
  display: inline-block;
  background: linear-gradient(90deg, #8d2230, #b33446);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  align-self: flex-start;
}

.formation-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--white);
}

.formation-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.97rem;
  line-height: 1.5;
}

.formation-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}

.formation-link:hover {
  opacity: 0.85;
}

/* Newsletter */
.newsletter-section {
  background: linear-gradient(
    140deg,
    rgba(2, 30, 60, 0.82),
    rgba(0, 59, 122, 0.72)
  );
  color: var(--white);
  position: relative;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--separator-height));
  left: 0;
  right: 0;
  height: var(--separator-height);
  background: var(--separator-bg);
  box-shadow: var(--separator-shadow);
}

.newsletter-box {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-box h2 {
  margin: 0 0 0.5rem;
  color: var(--white);
}

.newsletter-box p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1 1 260px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
  background: linear-gradient(90deg, #8d2230, #b33446 50%, #c8505f);
  color: var(--white);
  font-weight: 700;
  font: inherit;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.newsletter-btn:hover {
  opacity: 0.88;
}

.newsletter-msg {
  margin: 0.8rem 0 0;
  font-weight: 600;
  min-height: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.contact-section {
  background-image:
    linear-gradient(165deg, rgba(15, 55, 115, 0.35), rgba(5, 20, 50, 0.35)),
    url("contact-bg-img-20231004.jpg");
  background-size: auto, auto 100%;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-attachment: fixed, fixed;
  background-blend-mode: normal, overlay;
  color: var(--white);
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--separator-height));
  left: 0;
  right: 0;
  height: var(--separator-height);
  background: var(--separator-bg);
  box-shadow: var(--separator-shadow);
}

.contact-section .contact-block {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(0, 59, 122, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.95rem 1rem;
}

.contact-section .contact-block h3 {
  margin: 0 0 0.35rem;
}

.contact-section .contact-block > p {
  margin: 0.2rem 0;
}

.footer {
  color: var(--white);
  background: #0f2239;
  padding: 0.6rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem 1rem;
}

.footer-grid > div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.footer p {
  display: inline;
  margin: 0;
  line-height: 1.25;
  font-size: 0.92rem;
}

.contact-block {
  display: block;
  white-space: normal;
}

.contact-mail-form {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.45rem;
  max-width: 420px;
}

.contact-mail-form input,
.contact-mail-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  font: inherit;
  color: var(--white);
  background: rgba(0, 59, 122, 0.88);
}

.contact-mail-form input::placeholder,
.contact-mail-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.contact-mail-form textarea {
  resize: vertical;
  min-height: 72px;
}

.contact-mail-btn {
  justify-self: start;
  background: linear-gradient(90deg, #8d2230, #b33446 50%, #c8505f);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.48rem 0.85rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-mail-btn:hover {
  opacity: 0.88;
}

.contact-mail-msg {
  display: block;
  margin-top: 0.35rem;
  min-height: 1.2rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.35rem;
}

.footer .social-links {
  margin-left: auto;
}

.social-link {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.social-link svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.footer-grid > div p:not(:last-of-type)::after {
  content: " • ";
  opacity: 0.75;
}

.contact-block > p::after {
  content: "" !important;
}

@media (max-width: 860px) {
  .hero-grid,
  .filters,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div {
    display: block;
    white-space: normal;
  }

  .footer p {
    display: block;
    margin: 0.1rem 0;
  }

  .social-links {
    margin-left: 0;
    margin-top: 0.25rem;
  }

  .footer-grid > div p:not(:last-of-type)::after {
    content: "";
  }

  .topbar-blue-band {
    padding: 0.5rem 0;
  }

  .topbar-content {
    min-height: 54px;
    gap: 0.6rem;
  }

  .brand-mark-logo {
    width: 80px;
    height: 80px;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text small {
    font-size: 0.65rem;
  }

  .navbar-content {
    gap: 0.65rem;
    font-size: 0.95rem;
    padding: 0.4rem 0;
  }

  .ffv-link img {
    width: 96px;
  }
}

.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.team-card {
  background: linear-gradient(
    165deg,
    rgba(0, 59, 122, 0.92),
    rgba(14, 82, 152, 0.9)
  );
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.2s ease;
}

.team-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 28px rgba(1, 42, 85, 0.28);
}

.team-card:nth-child(2n) {
  background: linear-gradient(
    165deg,
    rgba(0, 52, 110, 0.92),
    rgba(10, 74, 140, 0.9)
  );
}

.team-card:nth-child(3n) {
  background: linear-gradient(
    165deg,
    rgba(3, 66, 132, 0.92),
    rgba(20, 92, 166, 0.9)
  );
}

.team-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.team-role {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.team-contact {
  color: rgba(255, 255, 255, 0.9);
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.team-contact a {
  color: #ffffff;
  text-decoration: none;
}

.team-contact a:hover {
  text-decoration: underline;
}

