
/* Global styles */
html {
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Enables smooth scrolling */
}
    *, *:before, *:after {
    box-sizing: inherit;
}
/* Body styling */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto; /* Centers the content horizontally */
}

body {
    font-family: Arial, sans-serif;
     /* font-size: 18px; */
    background-color: #FBF796;
    color: #003366;
    line-height: 1.6;
     /* text-align: center; */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
    overflow-y: auto;
    overflow-x: hidden;
}

.content-wrapper {
  max-width: 90%;
  margin: 0 auto;
  background-color: #FBF796; /* Light yellow */
  padding: 0px;
  box-sizing: border-box;
}

/* Image styling */
img {
    max-width: 100%;
    height: auto; /* Maintains aspect ratio */
    margin: 2px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #FBF796; /* Yellow background */
    padding: 2px; /* Optional: adds space between image and border */
    transition: transform 0.3s ease; /* Smooth zoom effect */
    }

/* Underline class */
.underline {
    text-decoration: underline;
}

/* Headings */
h1 {
    color: #003366; /* Navy Blue color */
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 60px;
    text-align: center;
    text-decoration: underline;
}
h2 {
    color: #003366; /* Navy Blue color */
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 40px;
    text-align: center;
}
h3 {
    color: #003366; /* Navy Blue color */
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 40px;
    text-align: center;
}
h4 {
    color: #003366; /* Navy Blue color */
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 40px;
    text-align: center;
}
h5 {
    color: #003366; /* Navy Blue color */
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 40px;
    text-align: center;
}
h6 {
    color: #003366; /* Navy Blue color */
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 40px;
    text-align: center;
    font-style: italic; /* Makes the text italic */
}
p { color: #003366; /* Navy Blue color */
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 40px;
    text-align: center;
    font-weight: bold; /* Makes the text bold */
  }
em {
  color: #003366;
  font-style: italic;
  font-weight: bold;
  display: block;
  font-size: 40px;
  margin: 10px 0;
}

/* Slideshow and image containers */
.slideshow-container,
.image-container,
.caption-box {
    max-width: 700px; /* Sets the size for slideshow images */
    margin: 20px auto;
    padding: 10px;
    background-color: #FBF796;
    text-align: center; /* Aligns text to center */
    position: relative;
    overflow: hidden; /* Ensures content stays within the box */
    display: block;
}

/* Image styling */
.slideshow-container img,
.image-container {
    overflow: hidden;
    position: relative;
}

.image-container img {
    aspect-ratio: 4 / 1;
    max-width: 100%;
    height: auto; /* Maintains aspect ratio */
    margin: 0 auto;
    display: block;
    background-color: #FBF796;
    padding: 0px; /* Optional: adds space between image and border */
    transition: transform 0.3s ease; /* Smooth zoom effect */
    object-fit: cover; /* Ensures image fills container cleanly */
    contain-intrinsic-size: 455px 114px; /* Helps prevent layout shift */
}
.image-container {
  position: relative;       /* Needed for z-index to work */
  overflow: hidden;         /* Prevents scaled image from spilling out */
  display: inline-block;    /* Keeps container tight around image */
}
.image-container {
  position: relative;       /* Needed for z-index to work */
  overflow: hidden;         /* Prevents scaled image from spilling out */
  display: inline-block;    /* Keeps container tight around image */
}

.jump-on-hover {
  display: block;           /* Removes bottom whitespace from inline images */
  cursor: pointer;
  will-change: transform;
}

.jump-on-hover:hover {
  transform: scale(1.25);
  image-rendering: crisp-edges;
  z-index: 10;
}

.audio-label {
  font-size: 2.25rem;      /* Adjust size as needed */
  font-weight: bold;       /* Optional: makes it stand out */
  color: #333;             /* Optional: sets text color */
  display: inline-block;   /* Ensures it behaves like a block if needed */
  margin-top: 10px;        /* Optional: spacing from elements above */
}

/* Caption box border and text */
.caption-box {
    background-color: #FBF796; /* Yellow background */
    padding: 10px;
    margin-top: 10px;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.4;
    max-width: 1200px;
    overflow-wrap: break-word; /* Ensures long words break to fit */
    word-wrap: break-word; /* Ensures long words break to fit */
    hyphens: auto; /* Allows hyphenation for better text flow */
    white-space: normal; /* Ensures normal text wrapping */
    min-height: 300px; /* Ensures space for longer captions */
    max-height: 300px; /* Prevents layout shift from longer captions */
    overflow-y: hidden; /* Removes scroll arrows */
}
.caption-box p {
  color: #003366; /* Navy Blue color */
  background-color: transparent; /* Ensures no yellow behind text */
  min-height: 300px; /* Match container height */
  max-height: 300px;
  overflow-y: hidden; /* Removes scroll arrows */
}

.fixed-size {
  width: 105px;
  height: 188px;
  object-fit: cover; /* Optional: keeps aspect ratio tidy */
}
main {
  padding-bottom: 2rem;
}
.reflection {
  font-style: italic;
  margin-top: 2rem;
  color: #003366; /* Navy Blue color */
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  outline: 2px solid #FBF796; /* High contrast yellow */
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:hover {
  background-color: #003366; /* Navy Blue color */
  color: #FBF796;
  font-weight: bold;
  text-decoration: underline;
  z-index: 1000;
}
.skip-link:focus {
  position: relative;
  left: auto;
  width: auto;
  height: auto;
  padding: 8px;
  font-size: 40px; 
  background-color: #003366; /* Navy Blue color */
  color: #FBF796;
  font-weight: bold;
  text-decoration: underline;
  z-index: 1000;
}

.hidden {
  display: none;
}

#float {
  position: fixed;
  top: 45%; /* Center vertically */
  left: 1px; /* Adjust distance from left edge */
  transform: translateY(-50%); /* Ensures perfect vertical centering */
  z-index: 1000; /* Keeps it above other elements */
}
#float img {
  width: auto; /* Maintains aspect ratio */
  height: 200px; /* Sets the fixed height */
  cursor: pointer; /* Makes it clickable */
}
#float img:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

@media (max-width: 600px) {
  #float {
    top: auto;
    bottom: 20px;
    left: 10px;
    transform: none;
  }
}
.full-width-line {
  width: 90%; /* Ensures it stretches across 90% of the full container */
  height: 4px; /* Adjust thickness */
  background-color: #000000; /* Sets the color */
  border: none; /* Removes default border */
  margin: 2px auto; /* Adds spacing AND centers */
  
}

.accessibility-icon-button:focus {
 background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.accessibility-icon {
  width: 100px; /* Fixed width */
  height: 200px; /* Fixed height */
  cursor: pointer; /* Makes it clickable */
}
.accessibility-icon:hover {
  transform: scale(1.2); /* Slightly enlarges on hover */
}
@media (max-width: 600px) {
  .accessibility-icon {
    width: 50px; /* Smaller width on mobile */
    height: 100px; /* Smaller height on mobile */
  }
}
/* Button styling */
button {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #003366; /* Navy Blue color */
  background-color: #FBF796; /* Yellow background */
  padding: 10px 20px;
  cursor: pointer;
  /*border-radius: 5px; /* Optional: rounded corners */
  transition: background-color 0.3s ease, color 0.3s ease;
}
button:hover {
  background-color: #003366; /* Navy Blue background on hover */
  color: #FBF796; /* Yellow text on hover */
}
button:focus {
  outline: 2px solid #003366; /* High contrast blue */
  outline-offset: 4px;
}
.nav-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.nav-buttons button {
  background-color: #003366;
  color: #FBF796;
  border: none;
  padding: 14px 28px; /* Increased from 8px 16px */
  font-size: 1.25rem;  /* Increased from 1rem */
  cursor: pointer;
  border-radius: 6px;  /* Slightly more rounded */
}
.nav-buttons button:hover {
  background-color: #003366;
  transform: scale(1.05); /* Optional: subtle grow on hover */
}

/* Audio player styling */
audio {
  width: 100%;
  max-width: 600px;
  margin: 10px auto;
  display: block;
}
#play-audio {
  transition: transform 0.2s ease;
}

#play-audio:hover {
  transform: translateY(-25%);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  body {
    font-size: 16px; /* Slightly smaller font on mobile */
    padding: 10px;
  }
  h1 {
    font-size: 36px; /* Smaller heading on mobile */
  }
  h2 {
    font-size: 1.8em; /* Smaller subheading on mobile */
  }
  .slideshow-container,
  .image-container,
  .caption-box {
    max-width: 100%; /* Full width on mobile */
    margin: 10px auto; /* Reduced margin */
    padding: 5px; /* Reduced padding */
  }
}
/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important; /* Disables all transitions */
  }
}

#mission-heading {
  text-align: center;
  font-size: 2rem;
  margin-top: 2rem;
}
#the-media-and-crew-chief-dustoff-personified {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #FBF796; /* Optional tribute tone */
}
.sr-only:focus,
.sr-only:active {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  white-space: normal;
}
#Congressional-Gold-Medal-Section {
  margin-top: 80px;
  padding: 20px;
 background-color: #FBF796;
/* border-left: 5px solid #003366; */
}

.bill-container {
  margin: 40px auto;
  padding: 20px;
  max-width: 900px;
  background-color: #FBF796;
}



.dustoff-acronym-heading {
  font-size: 2rem;
  text-align: center;
}
.dustoff-acronym-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-mission-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-definition-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-mission-heading {
  font-size: 2rem;
  text-align: center;
}
.dustoff-definition-heading {
  font-size: 2rem;
  text-align: center;
}
#dustoff-title {
  text-align: center;
  font-size: 2rem; /* Optional: adjust for emphasis */
}

#dustoff-heading {
  text-align: center;
  font-size: 2.5em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-context-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-terminology-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}

.dustoff-terminology-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}

.dustoff-importance-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-importance-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-context-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-history-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-history-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-legacy-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-legacy-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-heroes-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-heroes-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-media-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-media-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-facts-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-facts-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-resources-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-resources-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-acknowledgments-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-acknowledgments-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-conclusion-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-conclusion-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}
.dustoff-credits-section {
  padding: 20px;
  background-color: #FBF796;
   /* max-width: 800px;
  margin: 0 auto; */ 
}
.dustoff-credits-heading {
  text-align: center;
  font-size: 1.8em;
  margin-top: 40px;
  color: #003366;
}

.dustoff-image {
  display: block;
  max-width: 1164px; /* Matches your largest intended width */
  margin: 0 auto;
}

@media (max-width: 1260px) {
  .dustoff-image {
    max-width: calc(97.55vw - 46px);
  }
}
@media (max-width: 600px) {
  .dustoff-image {
    max-width: calc(100vw - 20px);
  }
}






.dustoff-image-small {
  display: block;
  max-width: 600px; 
  margin: 0 auto;
}
@media (max-width: 620px) {
  .dustoff-image-small {
    max-width: calc(100vw - 20px);
  }
}
.dustoff-image-medium {
  display: block;
  max-width: 800px; 
  margin: 0 auto;
}
@media (max-width: 820px) {
  .dustoff-image-medium {
    max-width: calc(100vw - 20px);
  }
}
.dustoff-image-large {
  display: block;
  max-width: 1000px; 
  margin: 0 auto;
}
@media (max-width: 1020px) {
  .dustoff-image-large {
    max-width: calc(100vw - 20px);
  }
}
.dustoff-image-xlarge {
  display: block;
  max-width: 1200px; 
  margin: 0 auto;
}
@media (max-width: 1220px) {
  .dustoff-image-xlarge {
    max-width: calc(100vw - 20px);
  }
}
.dustoff-image img {
  width: 100%;
  height: auto;
}
.dustoff-image-small img {
  width: 100%;
  height: auto;
}
.dustoff-image-medium img {
  width: 100%;
  height: auto;
}
.dustoff-image-large img {
  width: 100%;
  height: auto;
}
.dustoff-image-xlarge img {
  width: 100%;
  height: auto;
}
.dustoff-caption {
  text-align: center;
  font-size: 1rem;
  color: #003366;
  margin-top: 8px;
}
.dustoff-caption-small {
  text-align: center;
  font-size: 0.875rem;
  color: #003366;
  margin-top: 6px;
}
.dustoff-caption-large {
  text-align: center;
  font-size: 1.125rem;
  color: #003366;
  margin-top: 10px;
}
.dustoff-caption-xlarge {
  text-align: center;
  font-size: 1.25rem;
  color: #003366;
  margin-top: 12px;
}
.dustoff-caption-medium {
  text-align: center;
  font-size: 1rem;
  color: #003366;
  margin-top: 8px;
}
.dustoff-section {
  margin-top: 60px;
  padding: 20px;
  background-color: #FBF796;
}
.dustoff-section-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #003366;
}
.dustoff-paragraph {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #003366;
  margin-bottom: 16px;
}
.dustoff-paragraph strong {
  font-weight: bold;
}
.dustoff-paragraph em {
  font-style: italic;
}
.dustoff-list {
  list-style-type: disc;
  padding-left: 40px;
  color: #003366;
  margin-bottom: 16px;
}
.dustoff-list li {
  margin-bottom: 8px;
  font-size: 1.125rem;
  line-height: 1.6;
}
.dustoff-link {
  color: #003366;
  text-decoration: underline;
}
.dustoff-link:hover {
  color: #001F4D;
}
.dustoff-link:focus {
  outline: 2px solid #003366;
  outline-offset: 4px;
}
.dustoff-quote {
  font-style: italic;
  border-left: 4px solid #003366;
  padding-left: 16px;
  margin: 20px 0;
  color: #003366;
}
.dustoff-quote p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
}
.dustoff-quote-footer {
  text-align: right;
  font-size: 1rem;
  color: #003366;
  margin-top: 8px;
}
.dustoff-highlight {
  background-color: #FFFF99; /* Light yellow highlight */
  padding: 2px 4px;
}
.dustoff-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.dustoff-table th,
.dustoff-table td {
  border: 1px solid #003366;
  padding: 8px;
  text-align: left;
  color: #003366;
}
.dustoff-table th {
  background-color: #FBF796;
}
.dustoff-table tr:nth-child(even) {
  background-color: #F0F8FF; /* Light blue for even rows */
}
.dustoff-table tr:hover {
  background-color: #FFFFCC; /* Light yellow on hover */
}
.dustoff-button {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #003366; /* Navy Blue color */
  background-color: #FBF796; /* Yellow background */
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s ease, color 0.3s ease;
}
.dustoff-button:hover {
  background-color: #003366; /* Navy Blue background on hover */
  color: #FBF796; /* Yellow text on hover */
}
.dustoff-button:focus {
  outline: 2px solid #003366; /* High contrast blue */
  outline-offset: 4px;
}
.dustoff-audio-player {
  width: 100%;
  max-width: 600px;
  margin: 10px auto;
  display: block;
}
.dustoff-audio-player audio {
  width: 100%;
}


