/* .section-inner .img-stack:first-child {
  transform: translateX(5px);
}

.section-inner .img-stack:last-child {
  transform: translateX(-5px);
} */

.section-layout {
  padding: 0 5px;
}

/* ── DISTRIBUTION SECTION STYLES ── */
/* ── Distribution Section ── */
  #distribution {
    /* background: var(--green-dark); */
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    border-top: 1px solid rgba(46,107,62,0.3);
  }

  #distribution .section-inner h2 {
    position: sticky;
    top: 68px;
    padding-top: 20px;
    border-bottom: 1px solid var(--amber-light);
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    z-index: 10;
  }

  .dist-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
  }

  /* ── Image Stacks ── */
  .dist-img-stack {
    display: flex;
    flex-direction: column;
    /* gap: 0.8rem; */
    gap: 0.8rem;
  }

  /* .dist-img-stack img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  } */

  .dist-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    /* background: var(--green-mid); */
    background: rgba(37, 95, 114, 0.15);
    /* border: 5px outset rgba(46,107,62,0.3); */
    border-radius: 0;
    outline: 3px solid #1b3545;
    outline-offset: 0;
    outline-style: groove;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
  }

  .dist-layout .dist-img-stack:first-child .dist-img-placeholder:nth-child(1) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/Distro/IMG_3192.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .dist-layout .dist-img-stack:first-child .dist-img-placeholder:nth-child(2) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    /* display: none; */
    background-image: url(/SiteAssets7/Images/Distro/slingload1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(55%) brightness(0.9);
  }

  .dist-layout .dist-img-stack:first-child .dist-img-placeholder:nth-child(3) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/Distro/twps1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(55%) brightness(0.9);
  }

  .dist-layout .dist-img-stack:last-child .dist-img-placeholder:nth-child(1) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/3DSlider/Image_21.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .dist-layout .dist-img-stack:last-child .dist-img-placeholder:nth-child(2) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    /* display: none; */
    background-image: url(/SiteAssets7/Images/3DSlider/Image_62.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(55%) brightness(0.9);
  }

  .dist-layout .dist-img-stack:last-child .dist-img-placeholder:nth-child(3) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    /* background-image: url(/SiteAssets7/Images/3DSlider/Image_58.JPG); */
    background-image: url(/SiteAssets7/Images/Distro/Picture2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(55%) brightness(0.9);
  }

  .dist-img-placeholder:hover { border-color: rgba(212,145,26,0.3); }

  /* .dist-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(46,107,62,0.1) 1px, transparent 1px),
      linear-gradient(90deg, rgba(46,107,62,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
  } */

  .dist-img-placeholder .img-label {
    display: none;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0.5rem;
  }

  .dist-img-placeholder .img-icon {
    display: none;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.4rem;
    opacity: 0.5;
  }

  /* ── Center Content ── */
  .dist-content { 
    box-sizing: border-box;
  }

  .dist-ops-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .dist-ops-label::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--amber);
  }

  /* ── MOS Grid ── */
  .mos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5px;
    background: rgba(46,107,62,0.2);
    margin-bottom: 2rem;
  }

  .mos-item {
    /* background: var(--green-deep); */
    padding: 0.7rem 1rem;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    border-left: 2px solid transparent;
    transition: all 0.25s;
    background: linear-gradient(165deg, #132d38 0%, #112030 100%);
    /* padding: 0.65rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-left: 2px solid transparent;
    transition: background 0.2s, border-color 0.2s; */
  }

  .mos-item:hover,
  .mos-item.active {
    /* background: rgba(46,107,62,0.25);
    border-left-color: var(--amber); */
    background: rgba(37,95,114,0.25);
    border-left-color: var(--amber);
  }

  .mos-item-name {
    /* font-size: 0.82rem; */
    font-size: var(--mos-item-font);
    color: var(--text-body);
    font-weight: 300;
    line-height: 1.3;
  }

  .mos-badge {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem;
    color: var(--amber);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    background: rgba(212,145,26,0.1);
    padding: 0.1rem 0.45rem;
    border: 1px solid rgba(212,145,26,0.2);
  }

  .mos-expand-icon {
    font-size: 0.75rem;
    color: rgba(212,145,26,0.4);
    flex-shrink: 0;
    transition: color 0.2s, transform 0.3s;
  }

  .mos-item.has-detail:hover .mos-expand-icon,
  .mos-item.active .mos-expand-icon {
    color: var(--amber);
    transform: rotate(180deg);
  }

  /* ── MOS Detail Panel ── */
  .mos-detail-panel {
    display: none;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-left: 3px solid var(--amber);
    padding: 1.4rem 1.5rem;
    margin-bottom: 2rem;
    position: relative;
  }

  .mos-detail-panel.open { display: block; }

  .mos-detail-panel h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 0.8rem;
  }

  .mos-detail-panel p {
    font-size: 0.85rem;
    line-height: 1.75;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 0.7rem;
  }

  .mos-detail-panel p:last-child { margin-bottom: 0; }

  .mos-close {
    position: absolute;
    top: 0.8rem; right: 0.9rem;
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    transition: color 0.2s;
    padding: 0.2rem;
  }

  .mos-close:hover { color: var(--amber); }

  /* ── Functions List ── */
  .dist-functions-intro {
    /* font-size: 0.88rem; */
    font-size: var(--func-intro-font);
    line-height: 1.75;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 1.1rem;
  }

  .dist-functions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
  }

  .dist-functions-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    /* font-size: 0.85rem; */
    font-size: var(--func-list-font);
    line-height: 1.6;
    color: var(--text-body);
    font-weight: 300;
    padding: 0.55rem 0.8rem;
    /* background: rgba(46,107,62,0.08); */
    background: rgba(37,95,114,0.08);
    /* border-left: 2px solid rgba(46,107,62,0.3); */
    border-left: 2px solid rgba(37,95,114,0.3);
    transition: border-color 0.2s, background 0.2s;
  }

  .dist-functions-list li:hover {
    /* background: rgba(46,107,62,0.18); */
    background: rgba(37,95,114,0.18);
    border-left-color: var(--amber);
  }

  .dist-functions-list li::before {
    content: '◆';
    font-size: 0.45rem;
    color: var(--amber);
    flex-shrink: 0;
    margin-top: 0.45rem;
  }

  /* ── Schedule Button ── */
  .dist-schedule-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(46,107,62,0.25);
  }

  .dist-schedule-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--green-deep);
    background: var(--amber);
    padding: 0.95rem 2.8rem;
    text-decoration: none;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.15s, letter-spacing 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
  }

  .dist-schedule-btn:hover {
    background: var(--amber-light);
    transform: translateX(4px);
    letter-spacing: 0.25em;
  }

  .dist-schedule-btn svg {
    width: 14px; height: 14px;
    fill: var(--green-deep);
    flex-shrink: 0;
  }

  /* ── Responsive ── */
  @media (max-width: 1024px) {
    .dist-layout {
      grid-template-columns: 1fr;
    }
    .dist-img-stack {
      flex-direction: row;
      flex-wrap: wrap;
    }
    .dist-img-stack .dist-img-placeholder {
      flex: 1 1 calc(33% - 0.5rem);
      min-width: 140px;
    }
  }

  @media (max-width: 640px) {
    .mos-grid { grid-template-columns: 1fr; }
    .dist-img-stack .dist-img-placeholder { flex: 1 1 calc(50% - 0.4rem); }
  }

/* ── MAINTENANCE SECTION STYLES ── */
/* ── Maintenance Section ── */
  #maintenance {
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    border-top: 1px solid var(--border);
  }

  #maintenance .section-inner h2 {
    position: sticky;
    top: 68px;
    padding-top: 20px;
    border-bottom: 1px solid var(--amber-light);
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    z-index: 10;
  }

  /* Reuse .dist- prefixed layout from distribution where possible;
     maint- prefix used only for overrides or new elements         */

  .maint-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
  }

  /* ── Image Stacks ── */
  .maint-img-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .maint-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(37,95,114,0.15);
    /* border: 1px solid var(--border); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
    border-radius: 0;
    outline: 3px solid #1b3545;
    outline-offset: 0;
    outline-style: groove;
  }

  .maint-layout .maint-img-stack:first-child .maint-img-placeholder:nth-child(1) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/Maint/Maint2.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.95);
  }

  .maint-layout .maint-img-stack:first-child .maint-img-placeholder:nth-child(2) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/Maint/200121-Z-KS612-013.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .maint-layout .maint-img-stack:first-child .maint-img-placeholder:nth-child(3) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/Maint/200121-Z-KS612-025.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .maint-layout .maint-img-stack:last-child .maint-img-placeholder:nth-child(1) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/Maint/Picture2.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .maint-layout .maint-img-stack:last-child .maint-img-placeholder:nth-child(2) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/Maint/200121-Z-KS612-022.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .maint-layout .maint-img-stack:last-child .maint-img-placeholder:nth-child(3) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/Maint/200122-Z-KS612-009.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .maint-img-placeholder:hover { border-color: rgba(212,145,26,0.3); }

  .maint-img-placeholder::before {
    display: none;
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(37,95,114,0.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37,95,114,0.12) 1px, transparent 1px);
    background-size: 20px 20px;
  }

  .maint-img-placeholder .img-label {
    display: none;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0.5rem;
  }

  .maint-img-placeholder .img-icon {
    display: none;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.4rem;
    opacity: 0.5;
  }

  /* ── Center Content ── */
  .maint-ops-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .maint-ops-label::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--amber);
  }

  /* ── MOS Grid — 3 columns, no expandable panels ── */
  .maint-mos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5px;
    background: rgba(37,95,114,0.2);
    margin-bottom: 2rem;
  }

  .maint-mos-item {
    background: linear-gradient(165deg, #132d38 0%, #112030 100%);
    padding: 0.65rem 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between /* align badge to bottom */;
    gap: 0.3rem;
    border-left: 2px solid transparent;
    transition: background 0.2s, border-color 0.2s;
  }

  .maint-mos-item:hover {
    background: rgba(37,95,114,0.25);
    border-left-color: var(--amber);
  }

  .maint-mos-name {
    /* font-size: 0.78rem; */
    font-size: var(--mos-item-font);
    color: var(--text-body);
    font-weight: 300;
    line-height: 1.3;
  }

  .maint-mos-badge {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    color: var(--amber);
    letter-spacing: 0.05em;
    background: rgba(212,145,26,0.1);
    padding: 0.05rem 0.4rem;
    border: 1px solid rgba(212,145,26,0.2);
    align-self: flex-start;
  }

  /* ── Functions ── */
  .maint-functions-intro {
    /* font-size: 0.88rem; */
    font-size: var(--func-intro-font);
    line-height: 1.75;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 1.1rem;
  }

  .maint-functions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
  }

  .maint-functions-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    /* font-size: 0.85rem; */
    font-size: var(--func-list-font);
    line-height: 1.6;
    color: var(--text-body);
    font-weight: 300;
    padding: 0.55rem 0.8rem;
    background: rgba(37,95,114,0.08);
    border-left: 2px solid rgba(37,95,114,0.3);
    transition: border-color 0.2s, background 0.2s;
  }

  .maint-functions-list li:hover {
    background: rgba(37,95,114,0.18);
    border-left-color: var(--amber);
  }

  .maint-functions-list li::before {
    content: '◆';
    font-size: 0.45rem;
    color: var(--amber);
    flex-shrink: 0;
    margin-top: 0.45rem;
  }

  /* ── Schedule Button ── */
  .maint-schedule-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
  }

  .maint-schedule-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--deep);
    background: var(--amber);
    padding: 0.95rem 2.8rem;
    text-decoration: none;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.15s, letter-spacing 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
  }

  .maint-schedule-btn:hover {
    background: var(--amber-light);
    transform: translateX(4px);
    letter-spacing: 0.25em;
  }

  .maint-schedule-btn svg {
    width: 14px; height: 14px;
    fill: var(--deep);
    flex-shrink: 0;
  }

  /* ── Responsive ── */
  @media (max-width: 1024px) {
    .maint-layout { grid-template-columns: 1fr; }
    .maint-img-stack {
      flex-direction: row;
      flex-wrap: wrap;
    }
    .maint-img-stack .maint-img-placeholder {
      flex: 1 1 calc(33% - 0.5rem);
      min-width: 140px;
    }
    .maint-mos-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 640px) {
    .maint-mos-grid { grid-template-columns: 1fr; }
    .maint-img-stack .maint-img-placeholder { flex: 1 1 calc(50% - 0.4rem); }
  }

/* ── MEDICAL SECTION STYLES ── */
/* ── Medical Section ── */
  #medical {
    /* background: linear-gradient(155deg, #0e1e26 0%, #112434 55%, #132d38 100%);
    border-top: 1px solid var(--border); */
      background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);;
      border-top: 1px solid rgba(46,107,62,0.3);
  }

  #medical .section-inner h2 {
    position: sticky;
    top: 68px;
    padding-top: 20px;
    border-bottom: 1px solid var(--amber-light);
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    z-index: 10;
  }

  .med-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
  }

  /* ── Image Stacks ── */
  .med-img-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .med-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(37,95,114,0.15);
    /* border: 1px solid var(--border); */
    border-radius: 0;
    outline: 3px solid #1b3545;
    outline-offset: 0;
    outline-style: groove;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
  }

  .med-layout .med-img-stack:first-child .med-img-placeholder:nth-child(1) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/Medical/MedEvac.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.8);
  }

  .med-layout .med-img-stack:first-child .med-img-placeholder:nth-child(2) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/Medical/IMG_0455.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.8);
  }

  .med-layout .med-img-stack:first-child .med-img-placeholder:nth-child(3) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/3DSlider/Image_26.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.8);
  }

  .med-layout .med-img-stack:last-child .med-img-placeholder:nth-child(1) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/3DSlider/Image_29.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.8);
  }

  .med-layout .med-img-stack:last-child .med-img-placeholder:nth-child(2) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/3DSlider/Image_63.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.8);
  }

  .med-layout .med-img-stack:last-child .med-img-placeholder:nth-child(3) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/3DSlider/Image_31.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.8);
  }

  .med-img-placeholder:hover { border-color: rgba(212,145,26,0.3); }

  .med-img-placeholder::before {
    display: none;
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(37,95,114,0.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37,95,114,0.12) 1px, transparent 1px);
    background-size: 20px 20px;
  }

  .med-img-placeholder .img-label {
    display: none;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0.5rem;
  }

  .med-img-placeholder .img-icon {
    display: none;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.4rem;
    opacity: 0.5;
  }

  /* ── Subsection Headers (Operations / Logistics) ── */
  .med-sub-header {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  .med-sub-header::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--amber);
  }

  /* Divider between the two subsections */
  .med-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
  }

  /* ── MOS Grids ── */
  .med-mos-grid {
    display: grid;
    gap: 0.5px;
    background: rgba(37,95,114,0.2);
    margin-bottom: 1.5rem;
  }

  /* Operations — 8 MOS in 2 columns */
  .med-mos-grid.ops  { grid-template-columns: 1fr 1fr; }

  /* Logistics — 4 MOS in 2 columns */
  .med-mos-grid.logs { grid-template-columns: 1fr 1fr; }

  .med-mos-item {
    background: linear-gradient(165deg, #132d38 0%, #112030 100%);
    padding: 0.65rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-left: 2px solid transparent;
    transition: background 0.2s, border-color 0.2s;
  }

  .med-mos-item:hover {
    background: rgba(37,95,114,0.25);
    border-left-color: var(--amber);
  }

  .med-mos-name {
    /* font-size: 0.78rem; */
    font-size: var(--mos-item-font);
    color: var(--text-body);
    font-weight: 300;
    line-height: 1.3;
  }

  .med-mos-badge {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    color: var(--amber);
    letter-spacing: 0.05em;
    background: rgba(212,145,26,0.1);
    padding: 0.05rem 0.4rem;
    border: 1px solid rgba(212,145,26,0.2);
    align-self: flex-start;
  }

  /* ── Functions ── */
  .med-functions-intro {
    /* font-size: 0.88rem; */
    font-size: var(--func-intro-font);
    line-height: 1.75;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 1.1rem;
  }

  .med-functions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .med-functions-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    /* font-size: 0.85rem; */
    font-size: var(--func-list-font);
    line-height: 1.6;
    color: var(--text-body);
    font-weight: 300;
    padding: 0.55rem 0.8rem;
    background: rgba(37,95,114,0.08);
    border-left: 2px solid rgba(37,95,114,0.3);
    transition: border-color 0.2s, background 0.2s;
  }

  .med-functions-list li:hover {
    background: rgba(37,95,114,0.18);
    border-left-color: var(--amber);
  }

  .med-functions-list li::before {
    content: '◆';
    font-size: 0.45rem;
    color: var(--amber);
    flex-shrink: 0;
    margin-top: 0.45rem;
  }

  /* ── Schedule Button ── */
  .med-schedule-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
  }

  .med-schedule-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--deep);
    background: var(--amber);
    padding: 0.95rem 2.8rem;
    text-decoration: none;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.15s, letter-spacing 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
  }

  .med-schedule-btn:hover {
    background: var(--amber-light);
    transform: translateX(4px);
    letter-spacing: 0.25em;
  }

  .med-schedule-btn svg {
    width: 14px; height: 14px;
    fill: var(--deep);
    flex-shrink: 0;
  }

  /* ── Responsive ── */
  @media (max-width: 1024px) {
    .med-layout { grid-template-columns: 1fr; }
    .med-img-stack { flex-direction: row; flex-wrap: wrap; }
    .med-img-stack .med-img-placeholder {
      flex: 1 1 calc(33% - 0.5rem);
      min-width: 140px;
    }
  }

  @media (max-width: 640px) {
    .med-mos-grid.ops,
    .med-mos-grid.logs { grid-template-columns: 1fr; }
    .med-img-stack .med-img-placeholder { flex: 1 1 calc(50% - 0.4rem); }
  }

/* ── FSC SECTION STYLES ── */
/* ── FSC Section ── */
  #fsc {
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    border-top: 1px solid var(--border);
  }

  #fsc .section-inner h2 {
    position: sticky;
    top: 68px;
    padding-top: 20px;
    border-bottom: 1px solid var(--amber-light);
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    z-index: 10;
  }

  .fsc-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
  }

  /* ── Image Stacks ── */
  .fsc-img-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .fsc-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(37,95,114,0.15);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
    border-radius: 0;
    outline: 3px solid #1b3545;
    outline-offset: 0;
    outline-style: groove;
  }

  .fsc-layout .fsc-img-stack:first-child .fsc-img-placeholder:nth-child(1) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FSC/FSC_Distro1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(1.1);
  }

  .fsc-layout .fsc-img-stack:first-child .fsc-img-placeholder:nth-child(2) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FSC/IMG_2965.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.95);
  }

   .fsc-layout .fsc-img-stack:first-child .fsc-img-placeholder:nth-child(3) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FSC/200121-Z-KS612-030.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }
  
   .fsc-layout .fsc-img-stack:last-child .fsc-img-placeholder:nth-child(1) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FSC/fscdistro1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(1.1);
  }

  .fsc-layout .fsc-img-stack:last-child .fsc-img-placeholder:nth-child(2) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/3DSlider/Image_7.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .fsc-layout .fsc-img-stack:last-child .fsc-img-placeholder:nth-child(3) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FSC/Picture4.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .fsc-img-placeholder:hover { border-color: rgba(212,145,26,0.3); }

  .fsc-img-placeholder::before {
    display: none;
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(37,95,114,0.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37,95,114,0.12) 1px, transparent 1px);
    background-size: 20px 20px;
  }

  .fsc-img-placeholder .img-label {
    display: none;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0.5rem;
  }

  .fsc-img-placeholder .img-icon {
    display: none;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.4rem;
    opacity: 0.5;
  }

  /* ── Subsection Headers ── */
  .fsc-sub-header {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  .fsc-sub-header::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--amber);
  }

  /* Divider between subsections */
  .fsc-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
  }

  /* ── MOS Grids ── */
  .fsc-mos-grid {
    display: grid;
    gap: 0.5px;
    background: rgba(37,95,114,0.2);
    margin-bottom: 1.5rem;
  }

  /* Distribution — 6 MOS in 2 columns */
  .fsc-mos-grid.distro { grid-template-columns: 1fr 1fr; }

  /* Maintenance — 10 MOS in 2 columns */
  .fsc-mos-grid.maint  { grid-template-columns: 1fr 1fr; }

  .fsc-mos-item {
    background: linear-gradient(165deg, #132d38 0%, #112030 100%);
    padding: 0.65rem 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between /* align badge to bottom */;
    gap: 0.3rem;
    border-left: 2px solid transparent;
    transition: background 0.2s, border-color 0.2s;
  }

  .fsc-mos-item:hover {
    background: rgba(37,95,114,0.25);
    border-left-color: var(--amber);
  }

  .fsc-mos-name {
    /* font-size: 0.78rem; */
    font-size: var(--mos-item-font);
    color: var(--text-body);
    font-weight: 300;
    line-height: 1.3;
  }

  .fsc-mos-badge {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    color: var(--amber);
    letter-spacing: 0.05em;
    background: rgba(212,145,26,0.1);
    padding: 0.05rem 0.4rem;
    border: 1px solid rgba(212,145,26,0.2);
    align-self: flex-start;
  }

  /* ── Functions ── */
  .fsc-functions-intro {
    /* font-size: 0.88rem; */
    font-size: var(--func-intro-font);
    line-height: 1.75;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 1.1rem;
  }

  .fsc-functions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .fsc-functions-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    /* font-size: 0.85rem; */
    font-size: var(--func-list-font);
    line-height: 1.6;
    color: var(--text-body);
    font-weight: 300;
    padding: 0.55rem 0.8rem;
    background: rgba(37,95,114,0.08);
    border-left: 2px solid rgba(37,95,114,0.3);
    transition: border-color 0.2s, background 0.2s;
  }

  .fsc-functions-list li:hover {
    background: rgba(37,95,114,0.18);
    border-left-color: var(--amber);
  }

  .fsc-functions-list li::before {
    content: '◆';
    font-size: 0.45rem;
    color: var(--amber);
    flex-shrink: 0;
    margin-top: 0.45rem;
  }

  /* ── Schedule Button ── */
  .fsc-schedule-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
  }

  .fsc-schedule-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--deep);
    background: var(--amber);
    padding: 0.95rem 2.8rem;
    text-decoration: none;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.15s, letter-spacing 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
  }

  .fsc-schedule-btn:hover {
    background: var(--amber-light);
    transform: translateX(4px);
    letter-spacing: 0.25em;
  }

  .fsc-schedule-btn svg {
    width: 14px; height: 14px;
    fill: var(--deep);
    flex-shrink: 0;
  }

  /* ── Responsive ── */
  @media (max-width: 1024px) {
    .fsc-layout { grid-template-columns: 1fr; }
    .fsc-img-stack { flex-direction: row; flex-wrap: wrap; }
    .fsc-img-stack .fsc-img-placeholder {
      flex: 1 1 calc(33% - 0.5rem);
      min-width: 140px;
    }
  }

  @media (max-width: 640px) {
    .fsc-mos-grid.distro,
    .fsc-mos-grid.maint  { grid-template-columns: 1fr; }
    .fsc-img-stack .fsc-img-placeholder { flex: 1 1 calc(50% - 0.4rem); }
  }

/* ── FIELD FEEDING SECTION STYLES ── */
/* ── Field Feeding Section ── */
  #fieldfeeding {
    /* background: linear-gradient(155deg, #0e1e26 0%, #112434 55%, #132d38 100%);
    border-top: 1px solid var(--border); */
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    border-top: 1px solid var(--border);
  }

  #fieldfeeding .section-inner h2 {
    position: sticky;
    top: 68px;
    padding-top: 20px;
    border-bottom: 1px solid var(--amber-light);
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    z-index: 10;
  }

  .feed-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
  }

  /* ── Image Stacks ── */
  .feed-img-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .feed-layout .feed-img-stack:first-child .feed-img-placeholder:nth-child(1) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FieldFeeding/FF1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .feed-layout .feed-img-stack:first-child .feed-img-placeholder:nth-child(2) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FieldFeeding/FF2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .feed-layout .feed-img-stack:first-child .feed-img-placeholder:nth-child(3) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FieldFeeding/FF3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .feed-layout .feed-img-stack:last-child .feed-img-placeholder:nth-child(1) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FieldFeeding/FF4.jpg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .feed-layout .feed-img-stack:last-child .feed-img-placeholder:nth-child(2) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FieldFeeding/FF6.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .feed-layout .feed-img-stack:last-child .feed-img-placeholder:nth-child(3) {
    /* border-top: 2px solid rgba(46,107,62,0.3); */
    background-image: url(/SiteAssets7/Images/FieldFeeding/Picture2.jpg);
    background-size: 110% 110%;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: sepia(85); */
    filter: grayscale(55%) brightness(0.9);
  }

  .feed-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(37,95,114,0.15);
    /* border: 1px solid var(--border); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
    border-radius: 0;
    outline: 3px solid #1b3545;
    outline-offset: 0;
    outline-style: groove;
  }

  .feed-img-placeholder:hover { border-color: rgba(212,145,26,0.3); }

  .feed-img-placeholder::before {
    display: none;
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(37,95,114,0.12) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37,95,114,0.12) 1px, transparent 1px);
    background-size: 20px 20px;
  }

  .feed-img-placeholder .img-label {
    display: none;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0.5rem;
  }

  .feed-img-placeholder .img-icon {
    display: none;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 0.4rem;
    opacity: 0.5;
  }

  /* ── MOS Label ── */
  .feed-ops-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  .feed-ops-label::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--amber);
  }

  /* ── MOS Grid — 2 specialties, 1 column each ── */
  .feed-mos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5px;
    background: rgba(37,95,114,0.2);
    margin-bottom: 2rem;
  }

  .feed-mos-item {
    background: linear-gradient(165deg, #132d38 0%, #112030 100%);
    padding: 0.65rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-left: 2px solid transparent;
    transition: background 0.2s, border-color 0.2s;
  }

  .feed-mos-item:hover {
    background: rgba(37,95,114,0.25);
    border-left-color: var(--amber);
  }

  .feed-mos-name {
    /* font-size: 0.78rem; */
    font-size: var(--mos-item-font);
    color: var(--text-body);
    font-weight: 300;
    line-height: 1.3;
  }

  .feed-mos-badge {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    color: var(--amber);
    letter-spacing: 0.05em;
    background: rgba(212,145,26,0.1);
    padding: 0.05rem 0.4rem;
    border: 1px solid rgba(212,145,26,0.2);
    align-self: flex-start;
  }

  /* ── Intro Paragraphs ── */
  .feed-intro {
    /* font-size: 0.88rem; */
    font-size: var(--func-intro-font);
    line-height: 1.75;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 0.75rem;
  }

  /* ── Functions List ── */
  .feed-functions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
  }

  .feed-functions-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    /* font-size: 0.85rem; */
    font-size: var(--func-list-font);
    line-height: 1.6;
    color: var(--text-body);
    font-weight: 300;
    padding: 0.55rem 0.8rem;
    background: rgba(37,95,114,0.08);
    border-left: 2px solid rgba(37,95,114,0.3);
    transition: border-color 0.2s, background 0.2s;
  }

  .feed-functions-list li:hover {
    background: rgba(37,95,114,0.18);
    border-left-color: var(--amber);
  }

  .feed-functions-list li::before {
    content: '◆';
    font-size: 0.45rem;
    color: var(--amber);
    flex-shrink: 0;
    margin-top: 0.45rem;
  }

  /* ── Schedule Button ── */
  .feed-schedule-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
  }

  .feed-schedule-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--deep);
    background: var(--amber);
    padding: 0.95rem 2.8rem;
    text-decoration: none;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.15s, letter-spacing 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
  }

  .feed-schedule-btn:hover {
    background: var(--amber-light);
    transform: translateX(4px);
    letter-spacing: 0.25em;
  }

  .feed-schedule-btn svg {
    width: 14px; height: 14px;
    fill: var(--deep);
    flex-shrink: 0;
  }

  .mos-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: var(--mos-title-font);
    color: var(--amber);
    line-height: 1;
    text-align: center;
  }

  /* ── Responsive ── */
  @media (max-width: 1024px) {
    .feed-layout { grid-template-columns: 1fr; }
    .feed-img-stack { flex-direction: row; flex-wrap: wrap; }
    .feed-img-stack .feed-img-placeholder {
      flex: 1 1 calc(33% - 0.5rem);
      min-width: 140px;
    }
  }

  @media (max-width: 640px) {
    .feed-mos-grid { grid-template-columns: 1fr; }
    .feed-img-stack .feed-img-placeholder { flex: 1 1 calc(50% - 0.4rem); }
  }

/* ── TECHNICIAN TRAINING STYLES ── */

  /* ── Section ── */
  #techtrng {
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    border-top: 1px solid var(--border);
  }

  #techtrng .section-inner h2 {
    position: sticky;
    top: 68px;
    padding-top: 20px;
    border-bottom: 1px solid var(--amber-light);
    background: linear-gradient(158deg, #132d38 0%, #172e3c 60%, #1b3545 100%);
    z-index: 10;
  }

  .tech-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
    font-weight: 500;
    word-spacing: 0.3rem;
    max-width: 760px;
    margin-top: 1rem;
  }

  #techtrng-pics {
    min-width: 50%;
  }

  #techtrng-pics img {
    aspect-ratio: 4 / 3;
  }

  /* ── Enrollment Callout ── */
  .tech-enrollment {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: rgba(37,95,114,0.1);
    border: 1px solid var(--border);
    border-left: 3px solid var(--amber);
    padding: 1.4rem 1.6rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
  }

  .tech-enrollment-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .tech-enrollment-label {
    font-family: 'Barlow Condensed', sans-serif;
    /* font-size: 0.6rem; */
    font-size: 1rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
  }

  .tech-enrollment-value {
    font-family: 'Barlow Condensed', sans-serif;
    /* font-size: 0.88rem; */
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.04em;
  }

  .tech-enrollment-div {
    display: flex;
    flex-direction: row;
    justify-items: center;
    align-items: center;
    gap: 1rem;
    padding-left: 1.5rem;
    margin-left: auto;
    border-left: 1px solid var(--border);
    min-height: 50px;
  }

  .tech-enrollment-note {
    /* font-size: 0.8rem; */
    font-size: 1rem;
    color: var(--text-body);
    font-weight: 300;
    line-height: 1.5;
    /* border-left: 1px solid var(--border);
    padding-left: 1.5rem;
    margin-left: auto;
    max-width: 400px; */
  }

  .fa-triangle-exclamation {
    color:#f72727;
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
  }

  /* ── Group Grid ── */
  .tech-groups {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5px;
    background: rgba(37,95,114,0.2);
    margin-top: 3rem;
  }

  /* ── Group Card ── */
  .tech-group {
    background: linear-gradient(165deg, #132d38 0%, #112030 100%);
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
  }

  .tech-group::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--amber);
    transition: width 0.5s;
  }

  .tech-group:hover::before { width: 100%; }

  /* ── Group Header ── */
  .tech-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border);
  }

  .tech-group-icon { font-size: 1.4rem; flex-shrink: 0; opacity: 0.85; }

  .tech-group-title {
    font-family: 'Barlow Condensed', sans-serif;
    /* font-size: 0.82rem; */
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-main);
    line-height: 1.2;
  }

  .tech-group-count {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    color: rgba(212,145,26,0.2);
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
    transition: color 0.3s;
  }

  .tech-group:hover .tech-group-count { color: rgba(212,145,26,0.35); }

  /* ── Course List ── */
  .tech-course-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  /* ── Course Row (trigger) ── */
  .tech-course-item {
    display: flex;
    /* align-items: flex-start; */
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    /* font-size: 0.82rem; */
    font-size: var(--course-item-font);
    line-height: 1.5;
    color: var(--text-body);
    font-weight: 300;
    padding: 0.45rem 0.6rem;
    background: rgba(37,95,114,0.07);
    border-left: 2px solid transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: default;
  }

  .tech-course-item.expandable { cursor: pointer; }

  .tech-course-item:hover,
  .tech-course-item.expandable:hover {
    background: rgba(37, 95, 114, 0.5);
    border-left-color: var(--amber);
    color: var(--text-main);
  }

  .tech-course-item.expandable.open {
    /* background: rgba(37,95,114,0.18); */
    background-image: linear-gradient(180deg, rgb(71, 180, 216, 0.7) 0%, #00000000 100%);
    border-left-color: var(--amber);
    /* color: var(--text-main); */
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
  }

  .tech-course-item-left {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    flex: 1;
    min-width: 0;
  }

  .tech-course-item-left::before {
    content: '◆';
    font-size: 0.4rem;
    color: var(--amber);
    flex-shrink: 0;
    margin-top: 0.42rem;
    opacity: 0.7;
  }

  .tech-course-badge {
    font-family: 'Barlow Condensed', sans-serif;
    /* font-size: 0.58rem; */
    font-size: .85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--deep);
    /* background: var(--amber); */
    padding: 0.1rem 0.35rem;
    flex-shrink: 0;
    margin-top: 0.12rem;
    opacity: 0.85;
    /* new */
    border: 1px solid var(--amber);
    /* background: transparent; */
    background: rgb(241, 173, 45);
    color: #222;
  }

  .tech-course-badge.placeholder {
    background: rgba(94,136,152,0.3);
    color: var(--text-dim);
  }

  .tech-expand-icon {
    font-size: 1rem;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: color 0.2s, transform 0.3s;
    margin-top: 0.1rem;
    user-select: none;
  }

  .eligibility-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: var(--eligibility-font);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    /* color: var(--amber); */
    color: orange;
    margin-top: 0.8rem;
  }

  .tech-course-item.expandable:hover .tech-expand-icon,
  .tech-course-item.expandable.open .tech-expand-icon { color: var(--amber); }

  .tech-course-item.expandable.open .tech-expand-icon { transform: rotate(180deg); }

  /* ── Course Detail Panel ── */
  .tech-course-detail {
    display: none;
    background: rgba(37,95,114,0.1);
    border-left: 3px solid var(--amber);
    border-top: 1px solid var(--border);
    padding: 1rem 1.1rem;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    /* transition: opacity 1s ease, transform 0.3s ease; */
  }

  .tech-course-detail.open {
    display: block;
    animation: techDetailIn 1s ease forwards;
  }

  @keyframes techDetailIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .tech-course-detail p {
    /* font-size: 0.8rem; */
    font-size: var(--course-detail-font);
    line-height: 1.7;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 0.5rem;
    word-spacing: 0.25rem;
  }

  .tech-course-detail .course-poc {
    color: var(--text-body);
  }

  .tech-course-detail .course-poc-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: var(--eligibility-font);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.6rem;
    margin-bottom: 0.2rem;
    color: orange;
  }

  .course-doc-link {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
  }

  .course-doc-link:hover, .course-doc-link:active { color: var(--amber); }

  .tech-course-detail p:last-child { margin-bottom: 0; }

  .tech-course-detail .eligibility {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    /* font-size: 0.75rem; */
    font-size: var(--eligibility-font);
    color: var(--text-dim);
    /* font-style: italic; */
  }

  .tech-course-detail .placeholder-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .tech-course-detail .placeholder-note::before {
    content: '⚠';
    font-style: normal;
    font-size: 0.7rem;
    opacity: 0.6;
  }

  /* ── Summary Ribbon ── */
  .tech-ribbon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5px;
    background: rgba(37,95,114,0.25);
    margin-top: 1.5px;
  }

  .tech-ribbon-item {
    background: linear-gradient(145deg, #152e3c 0%, #112432 100%);
    padding: 1.4rem 1.8rem;
    text-align: center;
  }

  .tech-ribbon-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    color: var(--amber);
    line-height: 1;
    display: block;
  }

  .tech-ribbon-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 0.3rem;
    display: block;
  }

  /* ── Schedule Button ── */
  .tech-schedule-wrap {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
  }

  .tech-schedule-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--deep);
    background: var(--amber);
    padding: 0.95rem 2.8rem;
    text-decoration: none;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.15s, letter-spacing 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
  }

  .tech-schedule-btn:hover {
    background: var(--amber-light);
    transform: translateX(4px);
    letter-spacing: 0.25em;
  }

  .tech-schedule-btn svg { width: 14px; height: 14px; fill: var(--deep); flex-shrink: 0; }

  /* ── Responsive ── */
  @media (max-width: 3840px) {
    .img-stack { gap: 4rem;}
  }

  @media (max-width: 1736px) {
    .img-stack { gap: 4rem;}
  }

  @media (max-width: 1280px) {
    .img-stack { gap: 0.8rem; }
  }

  @media (max-width: 1024px) {
    .tech-groups { grid-template-columns: repeat(2, 1fr); }
    .tech-ribbon  { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 640px) {
    .tech-groups { grid-template-columns: 1fr; }
    .tech-ribbon { grid-template-columns: 1fr; }
    .tech-enrollment { flex-direction: column; }
    .tech-enrollment-div { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 1rem; margin-left: 0; max-width: 100%; }
  }
  