/* Code to change page width START */
.container_12 {
    width: 1200px;
}
.s1_grid_12{
    width: auto;
}
@media only screen and (max-width: 1199px) and (min-width: 600px){
.container_12 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1200px;
    min-width: 600px;
}}
@media only screen and (max-width: 616px){
.container_12 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 600px;
    min-width: 320px;
    display: block;
}}
/* Code to change page width END */
/* Styling for InfoCards */
.infocard{
    position: relative;
    text-align: justify;
    border: 1px solid #002e5e;
    display: inline-block;
    margin: 1%;
    margin-bottom: 32px;
    min-width: 270px;
    vertical-align: top;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0px;
    overflow: hidden;
    width: 350px;
    height: 500px;
    cursor: pointer;
    flex-direction: column;
}

.infocard-image {
    width: 100%;
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.infocard-content {
    height:220px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;    
}
.infocard-content h3{
    font-size: 32px;
    text-align: center;
}
.infocard-button{
    background-color: #002e5e;
    color: #fff;
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    padding: 8px;
}
/* End Styling for InfoCards */

/* Button Code */
.button {
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font: arial;
font-size: 18px;
margin: 4px 2px;
cursor: pointer;
}
.button1 {background-color: rgb(0, 0, 0);} /* Black */
.button2 {background-color: #008CBA;} /* Blue */
/* End Button Code */

/* Start News Carousel */
.slider {
  position: relative;
  width: 960px;
  height: 300px;
  margin: 50px auto;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.slider-controls {
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 200px;
  text-align: center;
  transform: translatex(-50%);
  z-index: 1000;

  list-style: none;
  text-align: center;
}

.slider input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-controls label {
  display: inline-block;
  border: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  cursor: pointer;
  background-color: #212121;
  transition: background-color 0.2s linear;
}

#btn-1:checked ~ .slider-controls label[for="btn-1"] {
  background-color: #ff4081;
}

#btn-2:checked ~ .slider-controls label[for="btn-2"] {
  background-color: #ff4081;
}

#btn-3:checked ~ .slider-controls label[for="btn-3"] {
  background-color: #ff4081;
}

/* SLIDES */

.slides {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;

  display: flex;
  justify-content: space-between;
  padding: 20px;
  width: 100%;
  height: 100%;

  opacity: 0;
  transform: translatex(-100%);
  transition: transform 250ms linear;
}

.slide-content {
  width: 400px;
}

.slide-title {
  margin-bottom: 20px;
  font-size: 36px;
}

.slide-text {
  margin-bottom: 20px;
}

.slide-link {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  background-color: #ff4081;
}

.slide-image img {
  max-width: 100%;
}

/* Slide animations */
#btn-1:checked ~ .slides .slide:nth-child(1) {
  transform: translatex(0);
  opacity: 1;
}

#btn-2:checked ~ .slides .slide:nth-child(2) {
  transform: translatex(0);
  opacity: 1;
}

#btn-3:checked ~ .slides .slide:nth-child(3) {
  transform: translatex(0);
  opacity: 1;
}

#btn-1:not(:checked) ~ .slides .slide:nth-child(1) {
  animation-name: swap-out;
  animation-duration: 300ms;
  animation-timing-function: linear;
}

#btn-2:not(:checked) ~ .slides .slide:nth-child(2) {
  animation-name: swap-out;
  animation-duration: 300ms;
  animation-timing-function: linear;
}

#btn-3:not(:checked) ~ .slides .slide:nth-child(3) {
  animation-name: swap-out;
  animation-duration: 300ms;
  animation-timing-function: linear;
}

@keyframes swap-out {
  0% {
    transform: translatex(0);
    opacity: 1;
  }

  50% {
    transform: translatex(50%);
    opacity: 0;
  }

  100% {
    transform: translatex(100%);
  }
}
/* End News Carousel */
/* Start CSS for AF Ball Program Pages */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

.afb-page {
  --navy-950: #070c14;
  --navy-900: #0b1524;
  --navy-800: #101f34;
  --panel: rgba(16, 31, 52, 0.72);
  --teal: #3ddc97;
  --teal-deep: #1f8f6b;
  --violet: #8b6fd6;
  --gold: #c9a463;
  --gold-soft: rgba(201, 164, 99, 0.35);
  --ink: #eef2f4;
  --ink-muted: #9fb0c3;

  background: var(--navy-950);
  color: var(--ink);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 3rem;
}

.afb-page * { box-sizing: border-box; }

.afb-page h1, .afb-page h2, .afb-page h3, .afb-page .afb-serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ---------- Section wrapper every page uses ---------- */
.afb-section {
  padding: 3rem 1.5rem 0.5rem;
}
.afb-section + .afb-section {
  border-top: 1px solid rgba(201, 164, 99, 0.18);
  padding-top: 2.75rem;
}

.afb-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

.afb-heading {
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

/* ---------- In-page wayfinding nav ---------- */
.afb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 1.1rem 1rem;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(201, 164, 99, 0.25);
  position: sticky;
  top: 0;
  z-index: 20;
}
.afb-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(159, 176, 195, 0.25);
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.afb-nav a:hover,
.afb-nav a.afb-current {
  color: var(--navy-950);
  background: var(--teal);
  border-color: var(--teal);
}

/* ---------- Footer ---------- */
.afb-footer {
  text-align: center;
  padding: 2.5rem 1.5rem 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.afb-footer .afb-serif {
  color: var(--gold);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.3rem;
}

/* ---------- Reusable: gold divider ---------- */
.afb-divider {
  width: 64px;
  height: 2px;
  margin: 1.1rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.afb-divider.afb-left { margin-left: 0; }

/* ---------- Reusable: pill / tag ---------- */
.afb-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal);
  border: 1px solid var(--teal-deep);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

/* ---------- Reusable: card panel ---------- */
.afb-card {
  background: var(--panel);
  border: 1px solid rgba(201, 164, 99, 0.2);
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
  backdrop-filter: blur(6px);
}

/* ---------- Aurora ambient background (used on interior pages) ---------- */
.afb-aurora-bg {
  background:
    radial-gradient(ellipse 90% 50% at 20% 0%, rgba(139, 111, 214, 0.25), transparent 60%),
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(61, 220, 151, 0.18), transparent 55%),
    var(--navy-950);
}

@media (max-width: 420px) {
  .afb-heading { font-size: 1.7rem; }
  .afb-section { padding: 2.4rem 1.1rem 0.5rem; }
}
/* End CSS for AF Ball Program */