/* ===== CORE STYLES ===== */
.honor-card {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.honor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ===== IMAGE STYLES ===== */
.honor-photo {
  flex: 0 0 250px;
  display: flex;
  align-items: flex-start;
}

.honor-photo img {
  width: 100%;             /* or any fixed width */
  height: auto;            /* or any fixed height */
  border-radius: 4px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  object-fit: cover;        /* fill the box while cropping if necessary */
}


/* ===== DETAILS SECTION ===== */
.honor-details {
  flex: 1;
}

.honor-details h2 {
  font-family: 'Georgia', serif;
  font-size: 2.2rem;
  color: #1a1a1a;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.honor-details p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

/* ===== ACCORDION BUTTON SYSTEM ===== */
.accordion-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #b30000;
  border-radius: 4px;
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  color: black;
}

.soldier-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2a2a2a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conflict-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  background: #f0f0f0;
  padding: 4px 0;
  border-radius: 12px;
  text-align: center;
  font-family: 'Arial Narrow', sans-serif;
  width: 100px;
}

.star {
  color: #d4af37;
  font-size: 1.1rem;
  padding-left: 10px;
}

/* ===== INTERACTIVE STATES ===== */
.accordion-btn:hover {
  background: #f0f0f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.accordion-btn[aria-expanded="true"] {
  background: #fff9e6;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.accordion-btn[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media screen and (min-width: 1024px) {
  .honor-details h2 {
    font-size: 2.4rem;
  }
  
  .soldier-name {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 768px) {
  .honor-card {
    flex-direction: column;
    padding: 20px;
  }
  
  .honor-photo {
    margin-bottom: 20px;
  }
  
  .honor-details h2 {
    font-size: 1.9rem;
  }
  
  .accordion-btn {
    font-size: 1rem;
    padding: 14px 20px;
  }
  
  .soldier-name {
    font-size: 1.1rem;
  }
  
  .conflict-label {
    font-size: 0.8rem;
    width: 90px;
  }
}

@media screen and (max-width: 480px) {
  .honor-card {
    padding: 15px;
  }
  
  .honor-details h2 {
    font-size: 1.6rem;
  }
  
  .accordion-btn {
    grid-template-columns: minmax(0, 1fr) 80px auto;
    gap: 8px;
  }
  
  .conflict-label {
    width: 80px;
    font-size: 0.7rem;
  }
  
   
  .nd_options_container {
      max-width: 100% !important;
      width: 100% !important;
    }
 
}



/* ===== FOOTER ===== */
.memorial-footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
  color: #666;
  font-style: italic;
}


.nd_options_open_navigation_4_sidebar_content  {
    display: flex !important;
    justify-content: end !important;
    margin-right: 20px !important;
}


  .video-container {
    position: relative;
    cursor: pointer;
  }

  .video-poster {
    display: block;
    width: 100%;
  }
  .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.4);
  border: 2px solid white;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;

  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.play-button::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 18px solid currentColor;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  opacity: 0.7;
}

.video-container:hover .play-button {
  background-color: rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%) scale(1.1);
}

.conflict-title {
    font-size: 1rem;
    padding-right: 10px;
    padding-top: 10px;
}

.title-banner {
  display: flex;
  flex-direction: row;
  min-height: 20rem;
  width: 100%;
  padding-bottom: 20px;
  
}

.img-block {
  flex: 1;
  background-size: cover;
  background-position: center;
}

.title-container {
  flex: 1;
  background-color: #243447; /* deep navy blue */
  color: white;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.title-banner {
  display: flex;
}

.img-block,
.title-container {
  flex: 1 1 50%;
}


.banner-capture {
  max-width: 800px;
  color: #fff !important;
}

.banner-capture h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #fff !important;
}

.banner-capture div {
  font-size: 1.2rem;
}

.banner-capture small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #b0bbd9;
}

/* Responsive fallback for mobile */
@media screen and (max-width: 768px) {
  .title-banner {
    flex-direction: column;
  }
  
  .tribute-container {
      padding-left: 10px !important;
      padding-right: 10px !important;
  }
  
  .title-container {
      min-width: unset !important;
  }

 
}

.banner-capture {
  color: #fff;
  display: flex;
  flex-direction: column;
}

.banner-capture small {
  display: block;
  font-size: 0.9rem;
  color: #c1d7ff;
  margin-top: 0.5rem;
}

.banner-subtext {
  margin-top: 1.5rem;
  font-style: italic;
}

.banner-subtext p {
  margin-bottom: 0.75rem;
  color: #f0f0f0 !important
}

.search-box {
  width: 100%;
  max-width: 400px;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.video-note {
  font-size: 1rem;
  color: #eaeaea;
}


 .img-block {
    min-height: 400px;
  }
  
 .tribute-container {
     padding: 30px;
 }
 
 .nd_options_navigation_4_sidebar div li > a {
    text-transform: unset !important;
 }