
/* =========================
   CONFIG (Variables)
   ========================= */
:root {
  /* Fonts */
  --font-sans: "TikTok Sans", sans-serif;
  --font-heading: "Outfit";
  --font-serif: "Merriweather";

  /* Core colors */
  --color-text: #000000;
  --color-heading: maroon;
  --color-heading-stroke: lightseagreen;
  --color-bg: #ffffff;
  --color-muted-bg: #f8f9fa;
  --color-muted-text: #6c757d;

  /* Brand / action colors */
  --brand-blue: #004080;
  --brand-blue-hover: #0059b3;

  /* Quick Links accent */
  --accent-quick: #11ff00;        /* main green/yellow */
  --accent-quick-border: #99cc00; /* subtle outline */

  /* Shadows */
  --shadow-1: 0 2px 4px rgba(0,0,0,.18);
  --shadow-2: 0 2px 6px rgba(0,0,0,.25);

  /* Mobile menu spacing & corners */
  --btn-radius-mobile: 8px;
  --btn-gap-mobile: 12px;
}

/* =========================
   BASE TYPOGRAPHY
   ========================= */
html { font-size: 14px; /* 1rem = 14px */ }

body {
  font-size: 1rem;
  font-family: var(--font-sans);
}

a { text-decoration: none; background-color: transparent; }

.h1, h1 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  padding-top: 5px;
  letter-spacing: -.5px;

  font-size: calc(1em + 2vmin);
  font-weight: 600;
  color: var(--color-heading);

}

.fs-4 { font-family: var(--font-serif); }
.navbar-nav { --bs-nav-link-color: var(--color-text); }
.nav-link { color: var(--color-text); }

/* =========================
   CARD / GRID HELPERS
   ========================= */
.card-img-top {
  object-fit: cover;
  width: 100%;
  height: 150px; /* small screens default */
}
@media (min-width: 768px)  { .card-img-top { height: 180px; } }
@media (min-width: 992px)  { .card-img-top { height: 200px; } }
@media (min-width: 1200px) { .card-img-top { height: 220px; } }

@media (min-width: 1200px) {
  .col-xl-5ths { flex: 0 0 20%; max-width: 20%; }
}

.img-fallback {
  background-color: var(--color-muted-bg);
  color: var(--color-muted-text);
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  height: 150px;
}
@media (min-width: 768px)  { .img-fallback { height: 180px; } }
@media (min-width: 992px)  { .img-fallback { height: 200px; } }
@media (min-width: 1200px) { .img-fallback { height: 220px; } }

.blkbkground {
  background: #fff;
  margin-bottom: 10px;
}


/* Remove background image on small screens */
@media (max-width: 767.98px) {
  body { background-image: none !important; background-color: var(--color-bg); }
}

/* =========================
   HEADER HEIGHTS
   ========================= */

/* Base header style (all pages) */
.custom-header {
  width: 100%;
  margin: 0 auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Home page hero */
body.home .custom-header {
  height: clamp(40px, 32vw, 220px);
}

/* Adjust framing on smaller devices */
@media (max-width: 767px) {
  body.home .custom-header {
    background-position: center top;
  }
}





/* =========================
   NAVBAR — LAYOUT & SIZING
   ========================= */
.navbar { min-height: 64px; }
.navbar-brand img { height: 48px; width: auto; object-fit: contain; }
@media (max-width: 767.98px) {
  .navbar { padding-top: .25rem; padding-bottom: .25rem; }
  .navbar-brand img { height: 40px; }
}

/* Collapsed area scrollable on landscape phones/tablets (≤ xl) */
@media (max-width: 1199.98px) {
  .navbar .navbar-collapse {
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navbar .dropdown-menu {
    position: static !important;
    float: none;
    width: auto;
    margin: 0;
    max-height: none;
  }
  header, #primary-nav, .navbar, .navbar .container, .navbar .container-fluid {
    overflow: visible !important;
  }
}

/* Desktop hover-open (keeps tap-to-open on mobile) */
@media (min-width: 992px) {
  .navbar .dropdown-menu { display: none; opacity: 0; transition: opacity .2s ease; }
  .navbar .dropdown:hover > .dropdown-menu { display: block; opacity: 1; margin-top: 0; }
}

/* =========================
   MOBILE NAV ONLY (≤ 991.98px)
   ========================= */
@media (max-width: 991.98px) {

  /* Hide dropdowns by default inside collapsed navbar */
  .navbar-collapse .dropdown-menu {
    position: static;
    display: none !important;
    padding: 10px 8px;
    border: 0;
    box-shadow: none;

    /* Collage layout when visible */
    flex-wrap: wrap;
    gap: var(--btn-gap-mobile);
    justify-content: center; /* use flex-start to left-align */
    background: transparent !important;
  }

  /* Show dropdown when parent or itself has .show */
  .navbar-collapse .dropdown.show > .dropdown-menu,
  .navbar-collapse .dropdown-menu.show {
    display: flex !important;
  }

  /* Submenu link buttons */
  .navbar-collapse .dropdown-menu .dropdown-item {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: var(--btn-radius-mobile);
    background: var(--brand-blue) !important;
    color: #fff !important;
    text-decoration: none;
    box-shadow: var(--shadow-1);
    transition: transform .12s, background .2s;

    /* inherit type from navbar so buttons match top menu */
    font-family: inherit !important;
    font-size: inherit !important;
    letter-spacing: inherit;
  }

  .navbar-collapse .dropdown-menu .dropdown-item:hover,
  .navbar-collapse .dropdown-menu .dropdown-item:focus {
    background: var(--brand-blue-hover) !important;
    transform: translateY(-1px);
  }

  /* Quick Links: keep bright green/yellow (targets your inline style) */
  .navbar-collapse .dropdown-menu .dropdown-item[style*="#11ff00" i],
  .navbar-collapse .dropdown-menu .dropdown-item[href*="quick" i] {
    background: var(--accent-quick) !important;
    color: #000 !important;
    border: 2px solid var(--accent-quick-border);
    box-shadow: var(--shadow-2);
  }

  /* Keep the collapsed drawer from side-scrolling */
  .navbar-collapse { overflow-x: hidden; }

  /* Mobile: caret ► by default, rotates ▼ when opened */
  .navbar .nav-link.dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 0; height: 0;
    margin-left: .45em;
    vertical-align: middle;
    border-top: .36em solid transparent;
    border-bottom: .36em solid transparent;
    border-left: .42em solid currentColor; /* ► */
    transform: rotate(0deg);
    transition: transform .2s ease;
  }
  .navbar .dropdown.show > .nav-link.dropdown-toggle::after,
  .navbar .nav-link.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(90deg); /* ▼ */
  }

  /* Touch polish: remove blue tap/focus lines on menu/toggles */
  .navbar a,
  .navbar button,
  .navbar .dropdown-item,
  .navbar .nav-link,
  .navbar .navbar-toggler {
    -webkit-tap-highlight-color: transparent;
  }
  .navbar .nav-link:focus,
  .navbar .nav-link:focus-visible,
  .navbar .dropdown-item:focus,
  .navbar .dropdown-item:focus-visible,
  .navbar .navbar-toggler:focus,
  .navbar .navbar-toggler:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
  }
}
/* =========================================================
   OFFCANVAS MOBILE NAV
   ========================================================= */

/* Desktop still uses regular dropdown behavior */
@media (min-width: 1200px) {
  .offcanvas.offcanvas-start {
    display: none !important;
  }
}

/* Mobile / tablet offcanvas styling */
@media (max-width: 1199.98px) {
  .offcanvas.offcanvas-start {
    width: min(92vw, 380px);
  }

  .offcanvas-header {
    border-bottom: 1px solid #e9ecef;
    padding: 14px 16px;
  }

  .offcanvas-title {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -.02em;
    color: #81070b;
  }

  .offcanvas-body {
    padding: 14px 16px 20px;
    overflow-y: auto;
  }

  .offcanvas .navbar-nav {
    gap: 4px;
  }

  .offcanvas .nav-link {
    color: #111;
    font-weight: 600;
    padding: 10px 6px;
    margin-top: 0;
  }

  .offcanvas .dropdown-menu {
    position: static !important;
    display: none;
    float: none;
    border: 0;
    box-shadow: none;
    padding: 8px 0 4px 14px;
    margin: 0;
    background: transparent !important;
  }

  .offcanvas .dropdown.show > .dropdown-menu {
    display: block;
  }

  .offcanvas .dropdown-item {
    display: block;
    width: 100%;
    white-space: normal;
    padding: 9px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: var(--brand-blue);
    color: #fff !important;
    text-decoration: none;
    box-shadow: var(--shadow-1);
  }

  .offcanvas .dropdown-item:hover,
  .offcanvas .dropdown-item:focus {
    background: var(--brand-blue-hover);
    color: #fff !important;
  }

  .offcanvas .dropdown-item[style*="#11ff00" i],
  .offcanvas .dropdown-item[href*="quick" i] {
    background: var(--accent-quick) !important;
    color: #000 !important;
    border: 2px solid var(--accent-quick-border);
    box-shadow: var(--shadow-2);
  }

  .offcanvas .dropdown-toggle::after {
    float: right;
    margin-top: 0.55em;
  }
}

@media (max-width: 1199.98px) {
  .offcanvas-section-toggle {
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    padding: 10px 6px;
    font-weight: 600;
    color: #111;
    margin-top: 0;
    position: relative;
  }

  .offcanvas-section-toggle::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: .36em solid transparent;
    border-bottom: .36em solid transparent;
    border-left: .42em solid currentColor;
    transform: translateY(-50%);
    transition: transform .2s ease;
  }

  .offcanvas-section-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(90deg);
  }

  .offcanvas-submenu {
    padding: 6px 0 6px 14px;
  }

  .offcanvas-submenu .dropdown-item {
    display: block;
    width: 100%;
    white-space: normal;
    padding: 9px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: var(--brand-blue);
    color: #fff !important;
    text-decoration: none;
    box-shadow: var(--shadow-1);
  }

  .offcanvas-submenu .dropdown-item:hover,
  .offcanvas-submenu .dropdown-item:focus {
    background: var(--brand-blue-hover);
    color: #fff !important;
  }

  .offcanvas-submenu .dropdown-item[style*="#11ff00" i],
  .offcanvas-submenu .dropdown-item[href*="quick-links" i] {
    background: var(--accent-quick) !important;
    color: #000 !important;
    border: 2px solid var(--accent-quick-border);
    box-shadow: var(--shadow-2);
  }
}

/* =========================
   SCROLL LOCK (when menu open)
   ========================= */
html.nav-lock,
html.nav-lock body {
  overflow: hidden;
  overscroll-behavior: contain;
}

/* The open menu can scroll if content is long */
.navbar .navbar-collapse.show {
  max-height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Safety: if some legacy code ever leaves body fixed, release it */
body[style*="position: fixed"] {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
}





/* Bottom-half highlight for section header */
.bshade{
  background-image: linear-gradient(
    to top,
    rgba(35, 206, 188, 0.25) 0%,
    rgba(35, 206, 188, 0.25) 50%,
    transparent 50%,
    transparent 100%
  );
  display: inline-block;
  border-radius: 3px;
  padding: 0.25rem 0.5rem;
}

/* Quote box layout */
.quote-float-right{
  float: right;
  width: 260px;
  margin: 4.25rem 0 1rem 1.25rem;
}

.quote-box{
  background: rgba(35, 206, 188, 0.12);
  border: 1px solid rgba(35, 206, 188, 0.25);
  border-radius: 8px;
  padding: 0.9rem 1rem;
}

.quote-mark{
  font-size: 2rem;
  line-height: 1;
  opacity: 0.45;
}

.quote-text{
  font-style: italic;
  margin-top: 0.25rem;
}

.quote-attrib{
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: right;
}

/* Mobile: stop text wrapping */
@media (max-width: 768px){
  .quote-float-right{
    float: none;
    width: 100%;
    margin: 0.75rem 0;
  }
}
.staff-name {
  font-weight: 600;
}

.staff-photo-fallback {
  height: 220px;
 border: black;
  border-style: solid;
  border-width: 2px;
}

.staff-logo-fallback {
  max-width: 150px;
  object-fit: contain;
}
.tab-pane {padding:10px}

body {
  position: relative;
}




.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #81070b;
}
.sidemenu {    
  background:#f7fbff;
  border-left:6px solid #921411;
  border-radius:0 14px 6px 0;
  padding:16px 18px;
  box-shadow:0 10px 22px rgba(0,0,0,.08);

}


.dept-two-col{
  display:flex;
  gap:20px;
  align-items:flex-start;
}

.dept-main{
  flex:1 1 auto;
  min-width:0;
}

.side-tagline{
  flex:0 0 300px;           /* right column width */
  background:#f7fbff;
  border:1px solid #d8e6ff;
  border-left:6px solid #921411;
  border-radius:0 14px 6px 0;
  padding:16px 18px;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
}

.side-tagline-kicker{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#666;
  margin-bottom:8px;
  font-weight:700;
}

.side-tagline-text{
  font-size:16px;
  font-weight:750;
  line-height:1.35;
  color:#111;
}

/* Mobile: stack the box under the text */
@media (max-width: 992px){
  .dept-two-col{
    flex-direction:column;
  }
  .side-tagline{
    flex:0 0 auto;
    width:100%;
  }
}


.dept-intro{
  display:flex;
  gap:48px;
  align-items:flex-start;
}

.dept-intro-text{
  flex:1 1 auto;
  min-width:0;
}

.section-intro-visual{
  flex:0 0 300px;
}

.section-image-placeholder{
  height:200px;
  border-radius:14px;
  background:linear-gradient(135deg, #e9ecef, #f8f9fa);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#666;
  font-size:14px;
  font-weight:600;
  letter-spacing:.04em;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

/* Mobile stacking */
@media (max-width: 992px){
  .dept-intro{
    flex-direction:column;
  }
  .dept-intro-visual{
    width:100%;
  }
}
.contact{
  margin-top:28px;
  border:1px solid #d8e6ff;
  border-left:6px solid #18b1a9;
  border-radius:0 14px 6px 0;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.contact-header{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  border-bottom:1px solid #eee;
  font-weight:600;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#444;
}

.contact-body{
  padding:14px 16px 16px;
  font-size:15px;
font-weight:400;
}

.contact-name{
  font-weight:600;
  margin-bottom:6px;
}

.contact a{
  text-decoration:none;
}

.contact a:hover{
  text-decoration:underline;
}

.contact-note{
  margin-top:10px;
  font-size:14px;
  color:#555;
}
.contact{
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
  border-left-width: 4px; /* slightly less heavy */
}


.dept-main{
  max-width: 720px;   /* optional: controls how wide the paragraph column gets */
}
.contact-actions{
  margin: 10px 0 6px;
}

.contact-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:4px;
}

.contact-name{
  margin:0;
  font-weight:600;
}

.contact-btn{
  background: transparent;
  border: 1px solid rgba(47, 179, 163, 0.7); /* accent green */
  color: #2fb3a3;
  padding:6px 10px;
  border-radius:8px;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
}

.contact-btn:hover{
  background: rgba(47, 179, 163, 0.08);
  text-decoration:none;
}

.section-intro {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.section-intro-text {
  flex: 1 1 auto;
  min-width: 0;
}

.section-intro-visual {
  flex: 0 0 320px;
}

.section-intro-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}
.nav-link {line-height:1.1; margin-top:5px}

.msmpmf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 8px 16px;
  background-color: #000000; /* matches your final version */
}

.msmpmf-footer-logo {
  height: 50px;   /* display size */
  width: auto;
}

.msmpmf-footer-link {
  color: #CFFF00;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.msmpmf-footer-link:hover {
  text-decoration: underline;
}
/* Full-width black bar */
.msmpmf-strip{
  background:#000;
  width:100%;
}

/* Inner content matches your page width */
.msmpmf-strip-inner{
  max-width:1200px;            /* adjust to match your theme container */
  margin:0 auto;
  padding:5px 16px;           /* gives breathing room, fixes right edge */
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* Logo sizing */
.msmpmf-strip-logo{
  height:30px;                 /* your target display height */
  width:auto;
  max-width:100%;
  display:block;
}

/* Optional: make the logo link not look like a link */
.msmpmf-strip-brand{
  display:flex;
  align-items:center;
  text-decoration:none;
}

/* CTA styling (looks like a deliberate button/link) */
.msmpmf-strip-cta{
  background: transparent;
  color: #CFFF00;
  border: 2px solid rgba(207,255,0,0.6);
  border-radius: 8px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 14px;
}

.msmpmf-strip-cta:hover{
 background: rgba(207,255,0,0.12);
  text-decoration: none;
}

/* Mobile: stack cleanly */
@media (max-width: 700px){
  .msmpmf-strip-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .msmpmf-strip-logo{
    height:unset;               /* slightly smaller on mobile */
  }
}
.msmpmf-text {
  display: flex;
  flex-direction: column;
}

.msmpmf-subline {
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.35;
  margin-top: 2px;
  max-width: 720px;
padding-left:5px;
}
@media (max-width: 775px) {
  body::before,
  body::after {
    content: none;
  }
}
@media (max-width: 400px) {
    .msmpmf-strip-logo {
        height: 25px;
    }
}

.fa-sm
 {
    font-size: .75em;
    vertical-align: .13572em;
}
/* Make the toggler icon drawable (not the default background svg) */
.nav-toggle-x .navbar-toggler-icon{
  background-image: none !important;
  width: 19px;
  height: 19px;
  position: relative;
  display: inline-block;
}

/* middle bar */
.nav-toggle-x .navbar-toggler-icon::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:2px;
  transform:translateY(-50%);
  background: currentColor;
  transition: transform .2s ease;
}

/* top + bottom bars (bottom is a box-shadow) */
.nav-toggle-x .navbar-toggler-icon::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background: currentColor;
  box-shadow: 0 16px 0 currentColor;
  transition: transform .2s ease, top .2s ease, box-shadow .2s ease;
}

/* OPEN state: turn into an X */
.nav-toggle-x[aria-expanded="true"] .navbar-toggler-icon::after{
  top:50%;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 0 currentColor;
}
.nav-toggle-x[aria-expanded="true"] .navbar-toggler-icon::before{
  transform: translateY(-50%) rotate(-45deg);
}

.contact-btn {
  color: #4f6ef7;                 /* same blue family */
  border: 1.5px solid #4f6ef7;
  background-color: transparent;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

a.contact-btn:hover,
a.contact-btn:focus,
a.contact-btn:active {
  background-color: rgba(79,110,247,0.08);
  text-decoration: none;
}


  /* --- Youth Sport Opportunities styles (clean + professional) --- */
  .yso-card{
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    background: #fff;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  }
  .yso-card:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    border-color: rgba(0,0,0,.10);
  }
  .yso-icon{
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    font-size: 22px;
  }
  /* You can swap these colors to match your brand palette */
  .yso-archery{ background: #7b1f1f; }
  .yso-mtb{ background: #1f6f5b; }
  .yso-trap{ background: #2b4c7e; }

  .yso-title{
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
  }
  .yso-meta{
    color: rgba(0,0,0,.60);
    font-size: .92rem;
    margin-top: 2px;
  }
  .yso-cta{
    margin-top: 8px;
    font-weight: 600;
    font-size: .92rem;
    color: rgba(0,0,0,.75);
  }

.image-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.85);
  align-items:center;
  justify-content:center;
}

.image-modal.show{ display:flex; }

.image-close{
  position:absolute;
  top:12px;
  right:16px;
  font-size:40px;
  line-height:1;
  background:transparent;
  border:0;
  color:#fff;
  cursor:pointer;
}

.image-stage{
  width:min(95vw, 1400px);
  height:90vh;
  overflow:hidden;
  position:relative;
  cursor:grab;
  user-select:none;
  touch-action:none; /* helps on touch devices */
}

.image-stage.dragging{ cursor:grabbing; }

.image-modal-content{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(1);
  transform-origin:center center;
  will-change:transform;
  max-width:none;   /* important: allow real-size zoom */
  max-height:none;
}
.zoomable-img {
  cursor: zoom-in;
  max-width: 100%;
  height: auto;
  display: block;
}

.image-modal {
  display: none;
}

.image-modal.show {
  display: flex;
}



/* ===============================
   Mesabi East Files & Links Style
   =============================== */

.file-links-block table {
  border-collapse: collapse;
}

/* Thin divider */
.file-links-block tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background-color .15s ease;
}

/* Remove last divider */
.file-links-block tbody tr:last-child {
  border-bottom: none;
}

/* Slight hover background */
.file-links-block tbody tr:hover {
  background-color: #f7f9fc;
}

/* Slight left padding */
.file-links-block td {
  padding: .75rem 0 .75rem .75rem;
  vertical-align: top;
}

/* Dark navy link color */
.file-links-block a.file-link-title {
  color: #0d3b66; /* deep navy */
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s ease, transform .1s ease;
}

/* Red hover */
.file-links-block a.file-link-title:hover {
  color: #BA0C2F; /* Mesabi red */
  text-decoration: underline;
  transform: translateX(2px);
}

/* Small icon before link */
.file-links-block a.file-link-title::before {
  content: "↗";
  font-size: .8rem;
  opacity: .6;
  transition: opacity .15s ease;
}

.file-links-block a.file-link-title:hover::before {
  opacity: 1;
}

/* Note styling */
.file-links-block .file-link-note {
  font-size: 0.85rem;
  font-style: italic;
  color: #6c757d;
  margin-top: 3px;
  line-height: 1.2;
}



/* Make list rows feel calmer */
.fc .fc-list-event:hover td {
  background: rgba(0,0,0,0.03);
}

/* Give the left accent a little breathing room */
.fc .fc-list-event {
  border-left: 4px solid transparent;
}



.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #81070b;
    color: #fff;
}

.sidemenu {
    background: #f7fbff;
    border-left: 6px solid #921411;
    border-radius: 0 14px 6px 0;
    padding: 16px 18px;
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

/* In-page menu styling */
.nav-pills-custom {
    gap: 8px;
}

.nav-pills-custom .nav-link {
    background: #ffffff;
    color: #222;
    border: 1px solid #d9e3ec;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.nav-pills-custom .nav-link:hover,
.nav-pills-custom .nav-link:focus {
    background: #fff;
    color: #81070b;
    border-color: #b9cddd;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

.nav-pills-custom .nav-link.active,
.nav-pills-custom .show > .nav-link {
    background: #81070b;
    color: #fff;
    border-color: #81070b;
    box-shadow: 0 8px 18px rgba(129, 7, 11, .22);
}

.nav-pills-custom .nav-link span {
    display: block;
}

/* Mobile section selector */
#pmenu-mobile-select {
    border-radius: 10px;
    border: 1px solid #cfd9e2;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (max-width: 991.98px) {
    .sidemenu {
        border-left: 0;
        border-top: 5px solid #921411;
        border-radius: 12px;
        padding: 14px;
    }
}

/* =====================================================
   DEPARTMENT / SECTION INTRO BLOCK
   ===================================================== */

.dept-intro {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0px 28px;
  align-items: start;
  margin-top: 10px;
  margin-bottom: 32px;
}

/* Intro text container */
.dept-intro-text {
  max-width: 760px;
}

/* Paragraph styling */
.dept-intro-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 16px;
  color: #2a2a2a;
}

/* First line (tagline/subheading) */
.dept-intro-text p strong:first-child {

  font-weight: 700;
  color: #81070b;

}

/* Improve readability on long sections */
.dept-intro-text p + p {
  margin-top: 4px;
}

/* Intro images */
.dept-intro img {
  width: 100%;

  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

/* =====================================================
   MOBILE BEHAVIOR
   ===================================================== */

@media (max-width: 991.98px) {

  .dept-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }

  .dept-intro-text {
    max-width: 100%;
  }

  .dept-intro-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

}

/* =====================================================
   SIDEMENU POLISH
   ===================================================== */

.sidemenu {    
  background:#f7fbff;
  border-left:6px solid #921411;
  border-radius:0 14px 6px 0;
  padding:16px 18px;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
}

/* Improve spacing between menu buttons */

.nav-pills-custom {
  gap: 8px;
}

.nav-pills-custom .nav-link {
  background:#fff;
  border:1px solid #d9e3ec;
  border-radius:10px;
  padding:10px 14px;
  font-weight:600;
  color:#222;
  transition:all .2s ease;
}

.nav-pills-custom .nav-link:hover {
  color:#81070b;
  border-color:#c7d7e4;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  transform:translateY(-1px);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color:#81070b;
  border-color:#81070b;
  color:#fff;
}

/* ===============================
   Mesabi East Button System
================================ */

a.btn-me,
a.btn-me:link,
a.btn-me:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 270px;
  padding: 11px 20px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  cursor: pointer;
}

a.btn-me i {
  margin-right: 0;
}

a.btn-me:active {
  transform: translateY(0);
}

/* ===============================
   PRIMARY CTA
   Lighter default look:
   outline-first with teal hover fill
================================ */

a.btn-me.btn-me-primary,
a.btn-me.btn-me-primary:link,
a.btn-me.btn-me-primary:visited {
  background: transparent !important;
  color: #2b8d88 !important;
  border: 1px solid #2b8d88 !important;
  box-shadow: none;
}

a.btn-me.btn-me-primary:hover,
a.btn-me.btn-me-primary:focus {
  background: #2b8d88 !important;
  color: #fff !important;
  border-color: #2b8d88 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(43, 141, 136, 0.14);
}

/* ===============================
   OUTLINE BUTTON
   Softer than pure black
================================ */

a.btn-me.btn-me-outline,
a.btn-me.btn-me-outline:link,
a.btn-me.btn-me-outline:visited {
  background: transparent !important;
  color: #495057 !important;
  border: 1px solid #6c757d !important;
  box-shadow: none;
}

a.btn-me.btn-me-outline:hover,
a.btn-me.btn-me-outline:focus {
  background: #6c757d !important;
  color: #fff !important;
  border-color: #6c757d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(108, 117, 125, 0.14);
}

/* ===============================
   SOFT BUTTON
   Light tinted neutral action
================================ */

a.btn-me.btn-me-soft,
a.btn-me.btn-me-soft:link,
a.btn-me.btn-me-soft:visited {
  background: rgba(43, 141, 136, 0.08) !important;
  color: #236f6b !important;
  border: 1px solid rgba(43, 141, 136, 0.28) !important;
  box-shadow: none;
}

a.btn-me.btn-me-soft:hover,
a.btn-me.btn-me-soft:focus {
  background: #2b8d88 !important;
  color: #fff !important;
  border-color: #2b8d88 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(43, 141, 136, 0.14);
}

/* ===============================
   INLINE ARROW LINK
================================ */

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  color: #000;
}

.link-arrow::after {
  content: " →";
  transition: margin-left .18s ease;
}

.link-arrow:hover::after {
  margin-left: 6px;
}

/* ===============================
   MOBILE BUTTON TWEAKS
================================ */

@media (max-width: 767.98px) {
  a.btn-me,
  a.btn-me:link,
  a.btn-me:visited {
    min-width: 0;
    width: 100%;
    padding: 10px 16px;
    font-size: .95rem;
  }
}

/* ===============================
   Hall of Fame Cards
================================ */

.hof-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.hof-card .card-body {
  flex: 1 1 auto;
}

.hof-card .card-footer {
  margin-top: auto;
}

.hof-card a.btn-me.hof-btn,
.hof-card a.btn-me.hof-btn:link,
.hof-card a.btn-me.hof-btn:visited {
  display: flex;
  width: 100%;
  min-width: 0;
  justify-content: center;
}

/* Hall of Fame buttons sizing */
.hof-btn,
a.hof-btn,
a.hof-btn:link,
a.hof-btn:visited {
  min-width: 0;
  width: 100%;
  padding: 8px 18px;
  height: 34px;
}

.hof-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.hof-modal-img {
  max-height: 70vh;
  width: auto;
  margin: 0 auto;
  display: block;
}

/* Hall of Fame filter bar */
.hof-filter-bar {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 18px;
}

.hof-results-meta {
  font-size: 0.95rem;
  color: #666;
}

/* Hall of Fame filter button */
.hof-filter-btn,
a.hof-filter-btn,
a.hof-filter-btn:link,
a.hof-filter-btn:visited {
  width: auto;
  min-width: 120px;
  padding: 6px 18px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* ===============================
   Badge / Tag Styling
   (Used in cards across the site)
================================ */

.badge.text-bg-light.border {
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 14px;
  padding: 3px 9px;
  background: #f5f7f8 !important;
  border: 1px solid #d8dee4 !important;
  color: #495057 !important;
}

.badge.text-bg-light.border:hover {
  background: #eef3f4 !important;
}
/* Community Ed filter row */
.community-ed-classes .form-select,
.community-ed-classes .btn-me,
.community-ed-classes button.btn-me {
  height: 38px;
}

.community-ed-classes .btn-me,
.community-ed-classes button.btn-me {
  padding: 0 18px;
  min-width: 160px;
}

/* ===============================
   Misc
================================ */

.pmenu-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b7280;
  margin: 14px 12px 8px;
  padding-top: 4px;
}

/* ===============================
   Calendar Filter Pills
================================ */

#calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

#calendar-filters .btn {
  border-radius: 999px !important;
  padding: 3px 12px;
  min-height: 0;
  height: 30px;
  line-height: 1;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #c3c8ce;
  background: #f7f7f8;
  color: #5d6875;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

#calendar-filters .btn:hover {
  background: #f1f3f5;
  border-color: #b8bec6;
  color: #4f5a67;
}

#calendar-filters .btn.active {
  background: #72b6b3;
  border-color: #72b6b3;
  color: #fff;
  font-weight: 600;
}
/* ===========================
   CALENDAR HEADER / TOOLBAR
=========================== */

.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.calendar-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
}

.calendar-toolbar-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.calendar-view-controls,
.calendar-nav-controls {
  display: flex;
  gap: 8px;
}

.calendar-toolbar .btn {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 6px;
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 767.98px) {
  .calendar-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .calendar-title {
    font-size: 1.8rem;
  }

  .calendar-toolbar-controls {
    align-items: stretch;
    gap: 10px;
  }

  .calendar-view-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .calendar-nav-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .calendar-toolbar .btn {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.95rem;
  }
}

.img-superintendent-family{
  object-position:center 15%;
}

/* ===============================
   Club Detail Pages
================================ */

.club-detail-page .club-intro {
  margin: 0 0 24px 0;
}

.club-detail-page .club-intro p {
  margin-bottom: 0;
  font-size: 1.06rem;
  line-height: 1.75;
  max-width: 900px;
}

.club-detail-page .club-section {
  margin-top: 28px;
}

.club-detail-page .club-section h4 {
  margin: 0 0 12px 0;
  position: relative;
}

.club-detail-page .club-section h4::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 6px;
  background: #b5121b;
  border-radius: 2px;
}

.club-detail-page .club-section p:last-child,
.club-detail-page .club-section ul:last-child {
  margin-bottom: 0;
}

.club-detail-page .club-section ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.club-detail-page .club-section li {
  margin-bottom: 6px;
}

.club-detail-page .club-section-advisor {
  margin-top: 34px;
}

.club-detail-page .club-section-advisor .row {
  margin-top: 6px;
}

/* Optional: tighten file links block slightly when it follows advisor cards */
.club-detail-page .club-section-advisor + * {
  margin-top: 28px;
}

/* Mobile polish */
@media (max-width: 767.98px) {
  .club-detail-page .club-intro p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .club-detail-page .club-section {
    margin-top: 24px;
  }

  .club-detail-page .club-section h4::after {
    width: 36px;
  }
}

/* ======================================================
   Mesabi East Section Heading System
   - Accent bar under H4 headings
   - Improved spacing after headings
   - Subtle divider between sections
====================================================== */

/* Base H4 styling */
h4 {
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 10px;
}

/* Accent underline */
h4::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #b11f24; /* Mesabi East red */
  margin-top: 6px;
}

/* Tighten spacing between heading and content */
h4 + p,
h4 + ul {
  margin-top: 6px;
}

/* Subtle divider between sections */
h4:not(:first-of-type) {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(177, 31, 36, 0.10);
}

html {
  scroll-behavior: smooth;
}
section[id] {
  scroll-margin-top: 120px;
}

.ai-chip {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
}

.ai-chip:hover,
.ai-chip:focus {
  background-color: #f8f9fa;
  text-decoration: none;
}

.ai-chip:hover,
.ai-chip:focus {
  background-color: #f8f9fa;
  color: #495057;
  border-color: #ced4da;
}

.ai-chip:hover .text-muted,
.ai-chip:focus .text-muted {
  color: #6c757d;
}
.content-section h5{
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-top: 1.6rem;
  margin-bottom: .25rem;
  color: #0041c0;
}
.content-section h5 + ul{
  margin-top:.35rem;
}
.content-section h5:not(:first-of-type){
  border-top:1px solid #eee;
  padding-top:1rem;
}
.honor-roll-page .honor-roll-accordion .accordion-item {
  border: 1px solid #dee2e6;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #fff;
}

.honor-roll-page .honor-roll-accordion .accordion-button {
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 1.25rem;
}

.honor-roll-page .honor-roll-accordion .accordion-button:not(.collapsed) {
  box-shadow: none;
}

.honor-roll-page .honor-roll-section h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

.honor-roll-page .honor-roll-card {
  height: 100%;
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem 1.1rem;
}

.honor-roll-page .honor-roll-card h5 {
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f3f5;
  font-size: 1rem;
  font-weight: 700;
}

.honor-roll-page .honor-roll-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.honor-roll-page .honor-roll-card li {
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .honor-roll-page .honor-roll-accordion .accordion-button {
    font-size: 1rem;
    padding: 0.9rem 1rem;
  }

  .honor-roll-page .honor-roll-card {
    padding: 0.9rem 1rem;
  }
}


.quick-link{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
padding:18px;
text-decoration:none;
color:#333;
border-radius:8px;
border:1px solid #eeeeee;
background:#fff;
transition:all .2s ease;
box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.quick-link i{
font-size:26px;
margin-bottom:6px;
color:#cfff00;
}

.quick-link span{
text-transform:uppercase;   /* converts text to ALL CAPS */
letter-spacing:.04em;       /* adds breathing room between letters */
font-weight:600;            /* slightly bold for readability */
font-size:13px;             /* caps look bigger, so slightly smaller text */
}

.quick-link:hover{
background:#f7f7f7;
border-color:#cfff00;
transform:translateY(-3px);
box-shadow:0 8px 18px rgba(0,0,0,.08);
}
.quick-link i{
font-size:34px;
margin-bottom:8px;
color:#921411;
transition:transform .2s ease;
}
.quick-link:hover i{
transform:scale(1.5);
}
/* =========================
   HOME WELCOME SECTION
   ========================= */

.home-fact-box{
background:#f7f7f7;
border-left:6px solid #cfff00;
font-size:0.95rem;
}

.home-fact-box h5{
font-weight:600;
}
/* =========================
   HOME FEATURE STRIP
   ========================= */

.home-feature-strip{
background:#000;
color:#fff;
padding:70px 20px;
text-align:center;
}

.home-feature-strip h2{
font-weight:700;
margin-bottom:15px;
}

.home-feature-strip p{
max-width:700px;
margin:0 auto 25px auto;
}

.btn-giant{
background:#cfff00;
border:none;
color:#000;
font-weight:600;
padding:10px 24px;
border-radius:6px;
}

/* =========================
   INFO BOXES
   ========================= */

.info-box{
background:#fff;
padding:28px;
border-radius:8px;
border:1px solid #e5e5e5;
height:100%;
}

.info-box h4{
margin-bottom:16px;
}

.info-list{
list-style:none;
padding:0;
margin:0 0 16px 0;
}

.info-list li{
margin-bottom:8px;
}

.info-link{
font-weight:600;
text-decoration:none;
}

.home-feature-strip{
background:#000;
color:#fff;
padding:70px 20px;
text-align:center;
position:relative;
}

.home-feature-strip:before{
content:"";
position:absolute;
top:-30px;
left:0;
right:0;
height:30px;
background:linear-gradient(to top, rgba(0,90,156,0.2), transparent);
}
.home-feature-strip:after{
content:"";
position:absolute;
bottom:-30px;
left:0;
right:0;
height:30px;
background:linear-gradient(to bottom, rgba(0,90,156,0.2), transparent);
}
.home-quick-links{
background:#f7f7f7;
}

/* =========================
   TODAY TICKER
   ========================= */

.me-ticker{

border-top:3px solid #921411;
border-bottom:3px solid #921411;
font-size:14px;
margin-top:2px;
}

.ticker-inner{
display:flex;
align-items:center;
gap:18px;
padding:10px 0;
flex-wrap:wrap;
}

.ticker-label{
font-weight:600;
color:#000000;
white-space:nowrap;
text-transform:uppercase;
}

.ticker-items{
color:black;
}

.ticker-divider{
margin:0 10px;
color:#921411;
}






.alert-inner{
display:flex;
align-items:center;
gap:12px;
font-weight:600;
}

.alert-inner i{
font-size:16px;
}




/* =========================
   ALERT SYSTEM
   ========================= */

.me-alert{
width:100%;
padding:10px 0;
font-size:14px;
}

.me-alert .alert-inner{
display:flex;
align-items:center;
gap:12px;
font-weight:600;
}

.me-alert .alert-inner i{
font-size:16px;
}

.me-alert .alert-text{
text-transform:uppercase;
letter-spacing:.03em;
}
/* Emergency Alert */

.alert-emergency{
background:#e10000;
color:#ffffff;
}

.alert-emergency i{
color:#ffffff;
}
/* Weather Alert */

.alert-weather{
background:#0beaf5;
color:#000000;
}

.alert-weather i{
color:#00363a;
}
/* Information Alert */

.alert-info{
background:#2563eb;
color:#ffffff;
}

.alert-info i{
color:#ffffff;
}
/* Event Alert */

.alert-event{
background:#7c3aed;
color:#ffffff;
}

.alert-event i{
color:#ffffff;
}

.alert-text{
font-weight:600;
text-transform:uppercase;
letter-spacing:.03em;
}
/* Feature strip container */
.home-feature-strip{
background:#000;
color:#fff;
padding:60px 20px;
position:relative;
}

/* Headline */
.home-feature-title{
font-family:'Satisfy', cursive;
font-size:46px;
color:#CFFF00; /* neon accent */
margin-bottom:18px;
}

/* Supporting text */
.home-feature-text{
max-width:760px;
margin:0 auto;
font-size:18px;
line-height:1.6;
color:#e5e5e5;
}
@media (min-width: 1700px) {
  body.home .custom-header {
    background-size: contain !important;
  }
}

.home-news-section .list-group-item {
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    padding-top: .85rem;
    padding-bottom: .85rem;
    text-decoration: none;
}

.home-news-section .list-group-item:first-child {
    padding-top: 0;
}

.home-news-section .list-group-item:last-child {
    border-bottom: 0;
}

.home-news-section .list-group-item:hover .fw-semibold {
    text-decoration: underline;
}
html {
  scroll-behavior: smooth;
}



.home-news-list .list-group-item {
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    padding-top: .8rem;
    padding-bottom: .8rem;
    text-decoration: none;
}

.home-news-list .list-group-item:last-child {
    border-bottom: 0;
}

.home-news-list .list-group-item:hover .fw-semibold {
    text-decoration: underline;
}

.news-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    flex-shrink: 0;
    margin-top: .1rem;
}

.pill-hs {
    background: #fbe9e7;
    color: #b71c1c;
}

.pill-el {
    background: #e8f0fe;
    color: #1565c0;
}

.pill-news {
    background: #f3f4f6;
    color: #374151;
}

.home-news-list .list-group-item {
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    padding: .55rem 0;
    font-weight: 400;
    color: #1f2937;
    text-decoration: none;
}

.home-news-list .list-group-item:hover {
    text-decoration: underline;
}

.home-news-list .list-group-item:last-child {
    border-bottom: 0;
}

.news-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.3rem;
    padding: .18rem .5rem;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 600;
    margin-right: .5rem;
}

.home-facebook .card {
  border-radius: 14px;
}

.home-facebook .card-text {
  font-size: 0.95rem;
}

.home-facebook .card-body {
  padding: 1rem;
}
.home-facebook .card {
  margin-bottom: 0.5rem;
}

.home-facebook .card-body {
  padding: 0.85rem;
}





.custom-header {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: none !important;
}

/* Keep page content above image layers */
.custom-header > .container {
  position: relative;
  z-index: 3;
}

/* Blurred full-width background */
.custom-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(12px) brightness(1.12) contrast(0.92);

}

/* Sharp centered image layer */
.custom-header::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 1800px);
  transform: translateX(-50%);
  z-index: 2;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Home page hero */
body.home .custom-header {
  height: clamp(40px, 32vw, 220px);
}

/* Mobile framing */
@media (max-width: 767px) {
  body.home .custom-header::before,
  body.home .custom-header::after {
    background-position: center top;
  }
}

/* Large screens: keep sharp image capped and centered */
@media (min-width: 1700px) {
  body.home .custom-header::after {
    width: 1800px;
    max-width: 100%;
  }
}

.home-facebook {
  padding-top: 3rem !important;
  padding-bottom: 3.5rem !important;
}

.facebook-grid-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.facebook-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08) !important;
}

.facebook-grid-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #eef1f4;
}

.facebook-grid-image-placeholder {
  background: #eef1f4;
}

.facebook-grid-text {
  line-height: 1.5;
  min-height: 4.5em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .home-facebook {
    padding-top: 2.25rem !important;
    padding-bottom: 2.5rem !important;
  }

  .facebook-grid-text {
    min-height: auto;
  }
}

.facebook-info-box {
  padding: 1.5rem;
}

.facebook-info-box h4 {
  margin-bottom: 0.5rem;
}

.facebook-section-intro {
  margin: 0 0 1.5rem;
  color: #6c757d;
}

.home-facebook {
  padding-top: 2rem !important;
  padding-bottom: 3.5rem !important;
}

.facebook-grid-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.facebook-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08) !important;
}

.facebook-grid-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #eef1f4;
}

.facebook-grid-image-placeholder {
  background: #eef1f4;
}

.facebook-grid-text {
  line-height: 1.5;
  min-height: 4.5em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .home-facebook {
    padding-top: 1.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .facebook-info-box {
    padding: 1.25rem;
  }

  .facebook-grid-text {
    min-height: auto;
  }
}
.facebook-grid-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.facebook-grid-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.facebook-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.12);
}

.home-events-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.home-event-item {
  line-height: 1.45;
}

.home-event-link {
  color: inherit;
  text-decoration: none;
}

.home-event-link:hover {
  text-decoration: underline;
}

.home-events-more {
  font-weight: 600;
  text-decoration: none;
}

.home-events-more:hover {
  text-decoration: underline;
}

.home-community-list {
  display: flex;
  flex-direction: column;
}

.home-community-item {
  padding: 0 0 0.75rem;
  margin: 0 0 0.75rem;
  border-bottom: 1px solid #d9d9d9;
  line-height: 1.4;
}

.home-community-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.home-community-title-link {
  color: inherit;
  text-decoration: none;
  font-weight: 400;
  display: inline-block;
}

.home-community-title-link:hover {
  text-decoration: underline;
}

.home-community-date {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: #666;
}

.home-community-more {
  text-decoration: none;
  font-weight: 600;
}

.home-community-more:hover {
  text-decoration: underline;
}

.home-trivia-box {
    background: #f7f7f7;
    padding: 1rem 1.1rem;
    height: 100%;
}

.home-trivia-title {
    margin: 0 0 .8rem 0;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    padding-bottom: .2rem;
}

.home-trivia-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;

    margin-top: .35rem;
}

.home-trivia-text {
    line-height: 1.6;
    color: #222;
}

.home-trivia-source {
    margin-top: .75rem;
    font-size: .85rem;
    line-height: 1.4;
    color: #666;
    font-style: italic;
}
.home-trivia-title i {
    color: #921411;   /* your school red */
    font-size: 0.95em;
    position: relative;
    top: -1px;
}
.home-feature-strip .btn-me-outline-light {
    border: 2px solid #d6ea00;
    color: #d6ea00;
    background: transparent;
    border-radius: 999px;
    padding: .5rem 1.1rem;
    text-decoration: none;
    transition: all .2s ease;
}

.home-feature-strip .btn-me-outline-light:hover,
.home-feature-strip .btn-me-outline-light:focus {
    background: #d6ea00;
    color: #000;
}