
.topnav { 
 	font-size: 0.8em;
  color: #000;
 	background-color: #B3C0CA;
 	border: 1px #00009C solid;
 	padding: 0.5em;
}

/* ===========================
   Medal & Ribbon Display
   =========================== */

.service-honors {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.service-honors-title {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #333;
}

.honor-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.honor-item {
  text-align: center;
  width: 90px; /* keeps everything aligned */
}

.honor-item figcaption {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #555;
}

.ribbon-bar {
  border-top: 1px solid #eee;
  padding-top: 15px;
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.medal-container {
  max-width: 600px;
  margin: 0 auto;
}

.medal-img {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.medal-img:hover {
  opacity: 0.85;
  cursor: help;
}

.medal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee; /* Clean separator */
}

.medal-list-img {
  height: auto;
  width: 100px; /* Consistent sizing */
  border-radius: 4px;
}

.medal-note {
  font-size: 0.8em;
  color: #555;
}

.awards-section {
  margin-top: 20px;
}

.award-list {
  list-style: none;
  padding: 0;
}

.award-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.award-list img {
  width: 35px;
}

.conflict-title {
  font-family: 'Georgia', serif; /* Use a classic, archival-style font */
  text-transform: uppercase;
  letter-spacing: 2px;
  border-left: 8px solid #4A5D4E; /* A military olive or navy blue */
  padding-left: 15px;
  margin-bottom: 5px;
}

.service-subtitle {
  font-style: italic;
  color: #666;
  margin-top: 0;
  margin-left: 23px; /* Aligns with the text above, not the border */
}

.veteran-list-container { /* Add this new div around all veteran-sections */
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    gap: 20px; /* Space between cards */
    justify-content: space-around; /* Distributes items evenly */
}

.veteran-section {
    flex: 1 1 calc(33% - 20px); /* Adjust width for 3 columns, minus gap */
    /* Or for 2 columns: flex: 1 1 calc(50% - 20px); */
    min-width: 300px; /* Ensures cards don't get too small */
    border: 1px solid #ddd;
    padding: 15px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    box-sizing: border-box; /* Include padding/border in width calculation */
}

.military-summary-box {
  background-color: #f9f9f9;
  border-left: 5px solid #2c3e50;
  padding: 15px 20px;
  margin: 25px 0;
  border-radius: 4px;
}

.military-summary-box h3 {
  margin-top: 0;
  color: #2c3e50;
}

.service-details {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.family-link-box {
  border-top: 1px solid #ccc;
  padding-top: 10px;
  font-size: 0.9em;
}

.family-link-box a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.family-link-box a:hover {
  text-decoration: underline;
}


.read-more-link a {
  color: #888;
  cursor: help;
  text-decoration: none;
}

.read-more-link a:hover {
  color: #555;
}

.read-more-coming-soon {
  font-size: 0.85em;
  font-style: italic;
  color: #b22222;
}

.read-more-link a.disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.7;
}

.memorial-badge {
  background-color: #f4eae1;
  border-left: 4px solid #b8860b;
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 0 4px 4px 0;
}

.memorial-badge p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: bold;
  color: #5c4033;
}

.memorial-badge a {
  color: #8b0000;
  text-decoration: none;
  border-bottom: 1px dashed #8b0000;
}

.memorial-badge a:hover {
  color: #a30000;
  border-bottom-color: #a30000;
}

.photo-placeholder {
  width: 100%;
  max-width: 200px;
  height: 250px;
  background: #e9e9e9;
  border: 1px dashed #bbb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.photo-placeholder-icon {
  font-size: 2rem;
  color: #888;
}

.photo-placeholder-text {
  font-size: 0.8rem;
  color: #666;
  margin-top: 10px;
  line-height: 1.3;
}




/* Specific styling for the military sidebar */
.sidebar-flag {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.war-title {
  font-size: 1.1rem;
  margin-bottom: 2px;
  color: #2a2a2a;
  /* This prevents the hyphen break issue */
  overflow-wrap: normal; 
  word-break: keep-all; 
}

.war-dates {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0;
  border-bottom: 1px dotted #ccc; /* Adds a nice visual separator */
  padding-bottom: 10px;
}

.timeline-subitem {
  margin-left: 15px;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.timeline-subitem a {
  color: #003366;
  text-decoration: none;
}

.timeline-subitem a:hover {
  text-decoration: underline;
}


.timeline-gap {
    font-size: 0.8rem;
    font-style: italic;
    color: #999;
    text-align: center;
    margin: 10px 0;
    
    /* The new line style */
    border-bottom: 1px solid #e0e0e0; /* A very thin, light grey line */
    padding-bottom: 8px; /* Adds space between the text and the line */
    width: 80%; /* Makes the line slightly shorter than the sidebar width */
    margin-left: auto; /* Centers the shorter line */
    margin-right: auto;
}

.name, .war-title {
  display: block; /* Ensures it takes its own line */
  white-space: normal; /* Allow wrapping IF necessary, but we'll control it */
  font-size: 0.95rem;  /* Slightly smaller to help it fit */
  line-height: 1.2;
  margin-bottom: 5px;
  font-weight: bold;
}

.military-divider {
width: 50%;             /* Sets the width */
margin: 40px auto;       /* Adds vertical space and centers it */
border: 0;           /* Removes default HR border */
border-top: 1px;
height: 0.25px;            /* Makes it visible */
background-color: #888; 

/* Add other styling for the hr if needed */

.timeline-date {
  font-size: 1.25em;
  font-weight: 600;
  color: #2a4b7c; /* deep Air Force blue */
  margin: 30px 0 10px;
  padding-left: 5px;
  border-left: 4px solid #2a4b7c;
  letter-spacing: 0.5px;
}


}

/* Responsive adjustments */
@media (max-width: 768px) {
    .veteran-section {
        flex: 1 1 calc(50% - 20px); /* 2 columns on tablets */
    }
}

@media (max-width: 480px) {
    .veteran-section {
        flex: 1 1 100%; /* 1 column on phones */
    }
}