:root{
  --usafa-blue:#115198;       /* Primary */
  --celtic-blue:#116ACA;      /* Primary hover / accent-blue */
  --indigo:#3C3592;           /* Secondary deep blue */
  --fuchsia:#C84778;          /* Accent (buttons/links emphasis) */
  --fern:#5EB97D;             /* Success/secondary accent */
  --cultured:#EDEDED;         /* Light gray background */
  --black:#000000;
  --text:#000000;
  --white:#ffffff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

/* Header */
.site-header{
  background: var(--usafa-blue);
  padding: 10px 0; /* slightly shorter */
}
.site-header a{ color:#fff; text-decoration:none; }
.site-nav a{ padding:8px 12px; display:inline-block; }
.site-nav a:hover{ color:#fff; background: rgba(255,255,255,0.1); border-radius:8px; }

/* Container */
.container{ max-width: 960px; margin:0 auto; padding:0 16px; }

/* Hero / callout */
#mission-callout{
  background: #eef4fb;
  border-left: 4px solid var(--usafa-blue);
}

/* Content sections */
.section{
  background: var(--white);
  padding: 24px;
  margin-top: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.section h2{ color: var(--usafa-blue); margin-top:0; }
.section h3{ color: var(--indigo); }

/* Buttons */
.button, .btn{
  background: var(--fuchsia);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration:none;
  display:inline-block;
  font-weight:600;
}
.button:hover, .btn:hover{ background: var(--celtic-blue); }

/* Footer 
.site-footer{
  background: var(--black);
  color:#fff;
  padding: 16px 0;
  margin-top: 40px;
  font-size:14px;
}
.site-footer a{ color:#fff; text-decoration:underline; }
*/

/* Utility colors, if needed */
.text-primary{ color: var(--usafa-blue); }
.text-accent{ color: var(--fuchsia); }
.bg-primary{ background: var(--usafa-blue); }
.bg-accent{ background: var(--fuchsia); }
.bg-fern{ background: var(--fern); }

/* Accent additions start */
a {
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}
a:hover {
    border-bottom: 2px solid #C84778;
    color: #C84778;
}

/* Buttons */
.button, .btn {
    background: #C84778;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: background 0.2s ease-in-out;
}
.button:hover, .btn:hover {
    background: #116ACA; /* Celtic Blue hover */
}

/* Section headings underline */
.section h2 {
    border-bottom: 3px solid #C84778;
    padding-bottom: 5px;
}

/* Divider lines and small decorative elements */
hr {
    border: 0;
    height: 2px;
    background: #C84778;
    margin: 20px 0;
}
/* Accent additions end */

/* Force section heading underline to match text width */
.section h2,
main section h2 {
  display: inline-block !important;
  width: auto !important;
  border-bottom: 3px solid #C84778;
  padding-bottom: 6px;
  margin-top: 0;
  color: #115198;
}


/* Photo block section */
.photo-block {
  margin: 40px auto;
  max-width: 900px;
}
.photo-row {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}
.photo-row img {
  max-width: 200px;
  height: auto;
  margin-right: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.photo-row p {
  font-size: 1.1em;
  line-height: 1.4;
  color: #333;
}


/* Staggered Photo Block Section */
.photo-block {
  margin: 60px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.photo-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.photo-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.photo-item.left img {
  order: 0;
}

.photo-item.left p {
  order: 1;
}

.photo-item.right p {
  order: 0;
  text-align: right;
}

.photo-item.right img {
  order: 1;
}

.photo-item img {
  max-width: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.photo-item img:hover {
  transform: scale(1.05);
}

.photo-item p {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  color: #333;
}


/* Compact Staggered Photo Block Section */
.photo-block {
  margin: 40px auto;
  max-width: 900px;
  padding: 0 15px;
}

.photo-block .section-title {
  font-size: 2em;
  margin-bottom: 25px;
  text-align: center;
  color: #115198;
}

.photo-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.photo-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.photo-item img {
  max-width: 240px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.photo-item img:hover {
  transform: scale(1.05);
}

.photo-item p {
  flex: 1;
  font-size: 1em;
  line-height: 1.4;
  color: #333;
}


/* Staggered Photo Block - Compact */
.photo-block {
  margin: 40px auto;
  max-width: 960px;
  padding: 0 16px;
}
.photo-block .section-title {
  font-size: 1.6rem;
  margin: 0 0 16px 0;
  color: #113a77; /* harmonize with site palette if present */
  letter-spacing: 0.3px;
}

.photo-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.photo-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.photo-item.right p { text-align: right; }
.photo-item.left img { order: 0; }
.photo-item.left p { order: 1; }
.photo-item.right p { order: 0; }
.photo-item.right img { order: 1; }

.photo-item img {
  max-width: 240px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
  transition: transform 0.25s ease;
}
.photo-item img:hover { transform: scale(1.03); }

.photo-item p {
  flex: 1;
  font-size: 1rem;
  line-height: 1.45;
  color: #333;
  margin: 0;
}

/* Small screens */
@media (max-width: 640px) {
  .photo-item { flex-direction: column; align-items: flex-start; }
  .photo-item.right p { text-align: left; }
  .photo-item img { max-width: 100%; }
}


/* Contact Us Section */
.contact-block {
  background: #fff;
  padding: 20px;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 800px;
  text-align: center;
}
.contact-block .section-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #115198;
}
.contact-block p {
  margin: 0 0 12px 0;
  font-size: 1rem;
  color: #333;
}
.contact-block a {
  color: #115198;
  text-decoration: none;
}
.contact-block a:hover {
  text-decoration: underline;
}
.contact-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.contact-social .social-icons {
  display: flex;
  gap: 10px;
}


/* Compact Contact block */
.contact-compact {
  background: #fff;
  padding: 18px 16px;
  margin: 18px auto 0;
  max-width: 960px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.contact-compact .section-title {
  font-size: 1.4rem;
  margin: 0 0 8px 0;
  color: #113a77;
}
.contact-compact .contact-line {
  margin: 0 0 10px 0;
}
.follow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.follow-label {
  font-weight: 600;
  opacity: 0.85;
}
.follow-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(17, 81, 152, 0.06);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 6px;
}
.follow-icons a:hover {
  transform: translateY(-2px);
  background: rgba(17, 81, 152, 0.12);
}
.follow-icons svg { display: block; width: 100%; height: 100%; }

/* Add spacing between contact section and footer */
.contact-compact {
  margin-bottom: 30px;
}

/* Add styled boxes to photo items */
.photo-item {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}


/* Hover effect for photo boxes */
.photo-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.photo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}


/* === About Highlights Cards === */
.about-highlights { margin-top: 2rem; }
.about-highlights > .muted { color: #333; opacity: .8; margin-top: .25rem; }
.about-highlights .about-cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 1rem;
}
.about-card {
  grid-column: span 12;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}
.about-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fuchsia), var(--celtic-blue));
}
.about-card__icon{
  width: 36px; height: 36px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 10px;
  background: rgba(200,71,120,0.12);
  color: var(--fuchsia);
  margin-bottom: 8px;
}
.about-card__title{ margin: 6px 0 8px; font-size: 1.2rem; }
.about-card__body{ line-height: 1.6; }
.about-card__body ul{ padding-left: 1.25rem; }
.about-card__body li{ margin: .25rem 0; }

/* Responsive spans to create a balanced mosaic */
.about-card:nth-of-type(1){ grid-column: span 6; }
.about-card:nth-of-type(2){ grid-column: span 6; }
.about-card:nth-of-type(3){ grid-column: span 12; }
.about-card:nth-of-type(4){ grid-column: span 6; }
.about-card:nth-of-type(5){ grid-column: span 6; }

@media (max-width: 900px){
  .about-card{ grid-column: span 12 !important; }
}

/* Visually hidden but accessible */
.visually-hidden{
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}


/* === Directors Cards Grid === */
.directors-grid { margin: 2.5rem 0 1.5rem; }
.directors-cards{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 1rem;
}
.director-card{
  grid-column: span 6;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-template-areas:
    "photo name"
    "photo bio";
  column-gap: 16px;
  row-gap: 8px;
  position: relative;
  overflow: hidden;
}
.director-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fuchsia), var(--celtic-blue));
}
.director-photo{ grid-area: photo; margin: 0; align-self: start; }
.director-photo img{
  width: 96px; height: 96px; object-fit: cover;
  border-radius: 50%;
  display: block;
}
.director-name{ grid-area: name; margin: 0 0 4px; font-size: 1.05rem; }
.director-bio{ grid-area: bio; line-height: 1.6; }
.director-bio p { margin: .4rem 0; }

/* Read more control */
.readmore { margin-top: .25rem; }
.readmore summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: var(--celtic-blue);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.readmore summary::marker { display: none; }
.readmore .less-label { display: none; }
.readmore[open] .more-label { display: none; }
.readmore[open] .less-label { display: inline; }

@media (max-width: 900px){
  .director-card{ grid-column: span 12; grid-template-columns: 72px 1fr; }
  .director-photo img{ width:72px; height:72px; }
}

/* Slight spacing harmony with About cards */
.about-highlights + .directors-grid { margin-top: 2rem; }


/* === Directors Cards Grid (static) === */
.directors-grid { margin: 2.5rem 0 1.5rem; }
.directors-cards{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 1rem;
}
.director-card{
  grid-column: span 6;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-template-areas:
    "photo name"
    "photo bio";
  column-gap: 16px;
  row-gap: 8px;
  position: relative;
  overflow: hidden;
}
.director-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fuchsia), var(--celtic-blue));
}
.director-photo{ grid-area: photo; margin: 0; align-self: start; }
.director-photo img{
  width: 96px; height: 96px; object-fit: cover;
  border-radius: 50%;
  display: block;
}
.director-name{ grid-area: name; margin: 0 0 4px; font-size: 1.05rem; }
.director-bio{ grid-area: bio; line-height: 1.6; }
.director-bio p { margin: .4rem 0; }
.readmore { margin-top: .25rem; }
.readmore summary { list-style: none; cursor: pointer; user-select: none; font-weight: 600; color: var(--celtic-blue); display: inline-flex; gap: 6px; align-items: center; }
.readmore summary::marker { display: none; }
.readmore .less-label { display: none; }
.readmore[open] .more-label { display: none; }
.readmore[open] .less-label { display: inline; }
@media (max-width: 900px){
  .director-card{ grid-column: span 12; grid-template-columns: 72px 1fr; }
  .director-photo img{ width:72px; height:72px; }
}


/* Fix: keep director card content top-aligned even when grid row grows */
.directors-cards{ align-items: start; }
.director-card{ align-content: start; align-items: start; }


/* --- Collapsible At a Glance (added) --- */
.aglance{border:1px solid #e5e7eb;border-radius:12px;background:#fff;overflow:clip}
.aglance-summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:1rem 1.25rem;cursor:pointer;font-weight:600;color:#0f172a;user-select:none}
.aglance-summary::-webkit-details-marker{display:none}
.aglance .chev{transition:transform .2s ease;fill:currentColor}
.aglance[open] .chev{transform:rotate(180deg)}
.aglance-content{padding:0 1.25rem;display:grid;transition:grid-template-rows .25s ease,opacity .25s ease;grid-template-rows:0fr;opacity:0}
.aglance[open] .aglance-content{grid-template-rows:1fr;opacity:1}
.aglance-content>*{overflow:hidden;padding-bottom:1rem}
/* Ensure cards don't stretch oddly in grids */
.card{align-self:start}
/* --- End collapsible block --- */



/* === GIC Slideshow (Community Highlights) === */
.gic-slideshow { overflow: hidden;  --gic-max-h: 78vh; position: relative; max-width: min(1100px, 92vw); margin: 1rem auto 2rem; border-radius: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.12);  background: linear-gradient(135deg, rgba(17,81,152,.08), rgba(200,71,120,.08)); }
.gic-slides { display: flex; transition: transform 600ms ease; will-change: transform; align-items: center; }
.gic-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; padding: .5rem; }
.gic-slide img { display: block; max-height: var(--gic-max-h) !important; max-width: 100% !important; width: auto !important; height: auto !important; object-fit: contain !important; object-position: center !important; border-radius: .5rem; }
.gic-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.06); width: 40px; height: 40px; border-radius: .75rem; display: grid; place-items: center; cursor: pointer; user-select: none; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.gic-prev { left: .75rem; } .gic-next { right: .75rem; }
.gic-dots { position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%); display: flex; gap: .4rem; padding: .35rem .5rem; background: rgba(255,255,255,.85); border: 1px solid rgba(0,0,0,.06); border-radius: 999px; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.gic-dot { width: 9px; height: 9px; border-radius: 999px; border: 0; background: #115198; opacity: .35; transition: opacity 200ms ease, transform 120ms ease; cursor: pointer; }
.gic-dot.active { opacity: 1; transform: scale(1.2); background: #C84778; }

/* Contact page normalization */
.section.contact-grid { max-width: min(1100px, 92vw); margin: 0 auto; border-radius: 1rem; background: rgba(255,255,255,.88); backdrop-filter: blur(2px); box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 1.25rem; }
.section.contact-grid .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; }
@media (max-width: 900px) { .section.contact-grid .grid { grid-template-columns: 1fr; } }
.contact-cta-inline { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.contact-cta-inline .button { border-radius: .75rem; box-shadow: 0 8px 14px rgba(0,0,0,.08); transition: transform .12s ease, box-shadow .2s ease; }
.contact-cta-inline .button:hover { transform: translateY(-1px); box-shadow: 0 12px 20px rgba(0,0,0,.12); }


/* --- Hero split image tune-up (rounded corners + tighter layout) --- */
.hero-split .hero-photos,
.section.hero-split .hero-photos {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: .6rem; /* less whitespace */
  align-items: stretch;
}

.hero-split .hero-photos .col {
  display: grid;
  gap: .6rem;
}

.hero-split .hero-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill tiles for a tighter collage */
  border-radius: .75rem; /* same rounded corners as other images */
  display: block;
}

/* If the left image should be a single tall tile and the right has two stacked */
@media (max-width: 900px) {
  .hero-split .hero-photos { grid-template-columns: 1fr; }
  .hero-split .hero-photos .col { grid-template-rows: none; }
}


/* Hero split: gradient-backed image cards */
.hero-photo {
  background: linear-gradient(135deg, rgba(17,81,152,.08), rgba(200,71,120,.08));
  border-radius: .9rem;
  padding: .4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .65rem;
  display: block;
}
/* reduce gaps so the three tiles sit closer */
.hero-split .hero-photos,
.section.hero-split .hero-photos { gap: .5rem; }
.hero-split .hero-photos .col { gap: .5rem; }


/* Contact page uses heart_crowd_2.webp background */
body.bg-heart-2 {
  background-image: url('assets/images/heart_crowd_2.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom center;
}
