/*************************************************
 GLOBAL FIX: CONTENT HIDDEN BEHIND FIXED HEADER
*************************************************/

/* Push page content below the fixed site banner */
#ContentPane,
.main-content,
.contentPane {
  padding-top: 120px;
}

/*************************************************
 SAFE GLOBAL TEXT ADJUSTMENTS (NO BACKGROUNDS)
*************************************************/

/* Ensure readable text on dark theme without breaking modules */
body {
  color: inherit;
}

/*************************************************
 LEADERSHIP / BIO MODULES
*************************************************/

/* Keep leadership bios transparent so theme blue shows */
.leadership-bio,
.leadership-bio * {
  background: transparent;
}

/* Ensure biography text remains readable */
.leadership-bio p,
.leadership-bio h1,
.leadership-bio h2,
.leadership-bio h3 {
  color: #ffffff;
}

/* Preserve yellow biography buttons */
.leadership-bio .btn,
.leadership-bio .btn-primary,
.leadership-bio .btn-warning {
  background-color: #f5c400;
  color: #00283C;
  border: none;
}

/*************************************************
 MESSAGE / INSTRUCTION LISTS (ALNAVRESFOR)
*************************************************/

/* Preserve Navy blue list background */
.alnavresfor-list,
.alnavresfor-list tr,
.alnavresfor-list td {
  background: transparent;
}

/* Make list text readable */
.alnavresfor-list a,
.alnavresfor-list td {
  color: #ffffff;
}

/* Hover behavior */
.alnavresfor-list a:hover {
  color: #f5c400;
  text-decoration: underline;
}

/*************************************************
 ACCORDION MENU ADJUSTMENTS (SAFE)
*************************************************/

.ftAccordionMenu div.lvl0 {
  font-size: 1.5rem;
}

.ftAccordionMenuCollapsed::after {
  font-size: 2.25rem;
}

.ftAccordionMenuCollapsed {
  top: 0;
}

.ftAccordionMenuCollapsed.ftAccordionMenuExpanded {
  top: -18px;
}

.ftAccordionMenuCollapsed.ftAccordionMenuExpanded::after {
  font-size: 40px;
}

/*************************************************
 HISTORY & HERITAGE (UNCHANGED, SAFE)
*************************************************/

.ui-datepicker-year {
  display: none;
}

.current-day {
  text-align: center;
  padding: 21px 0;
  background-color: #c6ccd0;
  color: #003b4f;
  font-size: 17px;
}

.current-day h2,
.current-day h3 {
  font-family: "Roboto Slab", "RobotoSlabLocal", serif;
  font-weight: 700;
  color: #003B4F;
}

/*************************************************
 IMAGE BLOCK CALLOUTS (UNCHANGED)
*************************************************/

.image-block-callouts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.image-block-callouts li {
  min-height: 460px;
  width: calc(50% - 10px);
  margin-bottom: 20px;
  position: relative;
  background: #000;
  overflow: hidden;
}

@media (max-width: 720px) {
  .image-block-callouts li {
    width: 100%;
  }
}

.image-block-callouts a {
  color: #fff;
  text-decoration: none;
  display: block;
  height: 100%;
  width: 100%;
  padding: 30px;
  background: rgba(0, 0, 0, 0.4);
}

.image-block-callouts a:hover {
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  text-decoration: underline;
}

//FONT Installs//
@font-face {
  font-family: 'Quantico-Bold';
  src:  url('/Portals/35/Fonts/Quantico-Bold.ttf') format('truetype');
    }
@font-face {
  font-family: 'Quantico-BoldItalic';
  src:  url('/Portals/35/Fonts/Quantico-BoldItalic.ttf') format('truetype');
    }
@font-face {
  font-family: 'Quantico-Italic';
  src:  url('/Portals/35/Fonts/Quantico-Italic.ttf') format('truetype');
    }
@font-face {
  font-family: 'Quantico-Regular';
  src:  url('/Portals/35/Fonts/Quantico-Reuglar.ttf') format('truetype');
    }
/**************************************************
 MOBILE RESPONSIVENESS OVERRIDES (< 768px)
**************************************************/
@media (max-width: 768px) {
  
  /* 1. Reduce fixed top padding so users don't have to scroll past empty space on small screens */
  #ContentPane,
  .main-content,
  .contentPane {
    padding-top: 80px; /* Reduced from 120px */
  }

  /* 2. Scale down heavy accordion elements so they don't break lines or overflow */
  .ftAccordionMenu div.lvl0 {
    font-size: 1.2rem; /* Reduced from 1.5rem */
  }
  .ftAccordionMenuCollapsed::after {
    font-size: 1.75rem; /* Reduced from 2.25rem */
  }

  /* 3. Optimize the current-day box for thumb-scrolling and smaller viewports */
  .current-day {
    padding: 15px 10px; /* Reduced vertical padding, added horizontal safety margins */
    font-size: 15px; /* Scaled down slightly */
  }

  /* 4. Ensure Image Callouts have touch-friendly spacing and dynamic heights */
  .image-block-callouts li {
    min-height: 300px; /* Reduced from 460px to prevent excessive scrolling */
    width: 100% !important; /* Force single column on smaller tablets as well */
    margin-bottom: 15px;
  }

  .image-block-callouts a {
    padding: 20px; /* Reduced padding to make room for text on narrow screens */
  }
  
  /* 5. Make buttons in bios full-width for easier thumb-tapping */
  .leadership-bio .btn,
  .leadership-bio .btn-primary,
  .leadership-bio .btn-warning {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    padding: 12px; /* Thicker touch targets (minimum 44x44px recommended by mobile standards) */
  }
}

