/* ── Article layout ── */
    .article-hero-img {
      width: 100%; max-height: 480px;
      object-fit: cover; display: block;
    }
    .article-body p {
      font-family: 'Inter', sans-serif;
      font-size: .975rem; line-height: 1.85;
      color: var(--military); opacity: .85;
      margin-bottom: 1.25rem;
    }
    .article-data-image {
      display: block;
      width: auto;
      max-width: 100%;
      margin: 10px auto;
    }
    .article-data-image-narrow {
      width: 55%;
    }
        .article-date {
          font-size: 12px;
          letter-spacing: .12em;
          text-transform: uppercase;
          color: var(--rosewood);
        }
    
        .article-title {
          font-family: 'Bebas Neue', sans-serif;
          font-size: clamp(2rem, 5vw, 3.5rem);
          color: var(--military);
          letter-spacing: 0.05em;
          margin-bottom: 1rem;
          text-transform: uppercase;
        }

                .article-breadcrumb {
                  display: flex;
                  align-items: center;
                  gap: 0.5rem;
                  margin-bottom: 2rem;
                  font-size: 0.9rem;
                }


  .breadcrumb-link {
  color: var(--military);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--rosewood);
  text-decoration: underline;
}
     
.breadcrumb-current {
    color: var(--military);
    font-weight: 500;
}

    .back-btn {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
      letter-spacing: .08em; text-transform: uppercase;
      color: var(--military); text-decoration: none;
      border: 2px solid var(--military); padding: 8px 20px;
      transition: all 0.3s;
    }
    .back-btn:hover { background: var(--military); color: var(--cream); }

    /* ── Translation notice ── */
    .translation-notice {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 14px 20px;
      background: rgba(101,66,74,0.07);
      border-left: 4px solid var(--rosewood);
      margin-bottom: 2rem;
    }
    .translation-notice svg { flex-shrink: 0; margin-top: 1px; }
    .translation-notice p { margin: 0; font-size: .875rem; line-height: 1.6; color: var(--military); opacity: .85; }

    /* ── Related cards ── */
    .related-card {
      text-decoration: none; color: inherit; display: block;
      background: var(--cream); border-top: 3px solid var(--military);
      transition: all 0.3s ease; overflow: hidden;
    }
    .related-card:nth-child(2) { border-top-color: var(--rosewood); }
    .related-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(74,93,74,.12); color: inherit; }
    .related-img-wrap { overflow: hidden; }
    .related-card img { width:100%;height:140px;object-fit:cover;display:block;transition:transform .4s; }
    .related-card:hover img { transform:scale(1.04); }

    /* ── Photo gallery at bottom of article ── */
    .article-gallery {
      border-top: 2px solid rgba(74,93,74,.12);
      padding-top: 2rem;
    }
    .gallery-header {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 1.25rem;
    }
    .gallery-header h3 {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1.5rem; letter-spacing: .06em;
      color: var(--military); margin: 0;
    }
    .gallery-count {
      display: inline-flex; align-items: center; justify-content: center;
      width: 26px; height: 26px;
      background: var(--rosewood); color: #fff;
      font-family: 'Inter', sans-serif;
      font-size: 12px; font-weight: 600;
      border-radius: 50%; vertical-align: middle;
      margin-left: 4px;
    }

    /* Grid layouts */
    .gallery-grid {
      display: grid; gap: 12px;
    }
    .gallery-grid--1col { grid-template-columns: 1fr; }
    .gallery-grid--2col { grid-template-columns: 1fr 1fr; }
    .gallery-grid--3col { grid-template-columns: 1fr 1fr 1fr; }
    @media (max-width: 576px) {
      .gallery-grid--2col,
      .gallery-grid--3col { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 380px) {
      .gallery-grid--3col { grid-template-columns: 1fr; }
    }

    /* Tile */
    .gallery-tile {
      cursor: zoom-in;
    }
    .gallery-tile-img-wrap {
      position: relative; overflow: hidden;
      border-top: 3px solid var(--military);
    }
    .gallery-tile:nth-child(even) .gallery-tile-img-wrap { border-top-color: var(--rosewood); }
    .gallery-tile-img-wrap img {
      width: 100%; height: 180px;
      object-fit: cover; display: block;
      transition: transform .4s ease;
    }
    .gallery-grid--1col .gallery-tile-img-wrap img { height: 320px; }
    @media (max-width: 576px) {
      .gallery-tile-img-wrap img { height: 130px; }
    }
    .gallery-tile:hover .gallery-tile-img-wrap img { transform: scale(1.05); }

    /* Hover overlay */
    .gallery-tile-overlay {
      position: absolute; inset: 0;
      background: rgba(74,93,74,.35);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; transition: opacity .25s ease;
    }
    .gallery-tile:hover .gallery-tile-overlay { opacity: 1; }
    .gallery-tile-overlay svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }

    /* Caption */
    .gallery-tile-caption {
      font-family: 'Inter', sans-serif;
      font-size: .75rem; letter-spacing: .05em;
      text-transform: uppercase;
      color: var(--rosewood); opacity: .8;
      margin: 6px 0 0;
      line-height: 1.4;
    }

    /* ══════════════════════════════════
       LIGHTBOX
    ══════════════════════════════════ */
    #lightbox {
      position: fixed; inset: 0; z-index: 99999;
      background: rgba(15,15,15,.96);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      opacity: 0; pointer-events: none;
      transition: opacity .3s ease;
    }
    #lightbox.open {
      opacity: 1; pointer-events: all;
    }

    /* Counter */
    #lb-counter {
      position: absolute; top: 20px; left: 50%;
      transform: translateX(-50%);
      font-family: 'Inter', sans-serif;
      font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
      color: rgba(255,255,255,.5);
    }

    /* Close button */
    #lb-close {
      position: absolute; top: 16px; right: 20px;
      width: 44px; height: 44px;
      background: none; border: 2px solid rgba(255,255,255,.25);
      color: #fff; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: all .2s ease; border-radius: 0;
    }
    #lb-close:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

    /* Image container */
    #lb-img-wrap {
      position: relative;
      max-width: min(92vw, 1100px);
      max-height: 78vh;
      display: flex; align-items: center; justify-content: center;
    }
    #lb-img {
      max-width: 100%; max-height: 78vh;
      object-fit: contain; display: block;
      transition: opacity .25s ease, transform .25s ease;
      box-shadow: 0 32px 80px rgba(0,0,0,.7);
    }
    #lb-img.switching { opacity: 0; transform: scale(.96); }

    /* Caption */
    #lb-caption {
      margin-top: 18px;
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      font-size: 1rem; color: rgba(255,255,255,.7);
      text-align: center;
      max-width: min(92vw, 800px);
      min-height: 1.5em;
      transition: opacity .2s ease;
    }
    #lb-caption.switching { opacity: 0; }

    /* Prev / Next buttons */
    .lb-nav {
      position: absolute; top: 50%; transform: translateY(-50%);
      width: 52px; height: 52px;
      background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.2);
      color: #fff; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: all .2s ease; border-radius: 0;
    }
    .lb-nav:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); }
    .lb-nav:disabled { opacity: .2; cursor: default; }
    #lb-prev { left: -72px; }
    #lb-next { right: -72px; }
    @media (max-width: 900px) {
      #lb-prev { left: 8px; }
      #lb-next { right: 8px; }
    }

    /* Thumbnail strip */
    #lb-thumbs {
      position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
      display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
      max-width: 92vw;
    }
    #lb-thumbs:not(.has-multiple) { display: none; }
    .lightbox-open { overflow: hidden; }
    .lb-thumb {
      width: 56px; height: 40px;
      object-fit: cover; cursor: pointer;
      opacity: .45; border: 2px solid transparent;
      transition: all .2s ease;
    }
    .lb-thumb:hover { opacity: .8; }
    .lb-thumb.active { opacity: 1; border-color: var(--rosewood); }

    .article-not-found { opacity: .6; }
    .related-section { border-top: 2px solid rgba(74,93,74,.1); }
    .related-title {
      font-size: 1.8rem;
      letter-spacing: .05em;
    }
    .related-card-title {
      font-size: 1.1rem;
      letter-spacing: .04em;
      line-height: 1.2;
    }
    .related-img-no-translation { filter: grayscale(40%); }
    .related-sk-only-badge {
      position: absolute;
      top: 8px;
      right: 8px;
      background: var(--rosewood);
      color: #fff;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: 2px 7px;
      border-radius: 2px;
    }
    .article-corner {
      position: absolute;
      width: 32px;
      height: 32px;
      border-color: var(--rosewood);
      border-style: solid;
      z-index: 1;
    }
    .article-corner-top-left {
      top: -8px;
      left: -8px;
      border-width: 2px 0 0 2px;
    }
    .article-corner-top-right {
      top: -8px;
      right: -8px;
      border-width: 2px 2px 0 0;
    }
    .article-corner-bottom-left {
      bottom: -8px;
      left: -8px;
      border-width: 0 0 2px 2px;
    }
    .article-corner-bottom-right {
      bottom: -8px;
      right: -8px;
      border-width: 0 2px 2px 0;
    }
    .article-divider { margin-left: 0; }
    .article-excerpt {
      font-size: clamp(1.1rem, 2.5vw, 1.4rem);
      line-height: 1.6;
    }

    /* ── News article inline-style replacements ── */
    .news-article-container {
      max-width: 860px;
    }

  .pdf-viewer {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    background: #f4f5f7;
  }

  .pdf-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #2c2f36;
    color: white;
    border-bottom: 1px solid #444;
  }

  .pdf-toolbar button,
  .pdf-toolbar .open-btn {
    border: none;
    background: #4b5563;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
  }

  .pdf-toolbar button:hover,
  .pdf-toolbar .open-btn:hover {
    background: #6b7280;
  }

  #zoom-level {
    min-width: 50px;
    text-align: center;
    font-weight: bold;
  }

  #pdf-frame {
    width: 100%;
    height: 80vh;
    border: none;
    background: white;
    transform-origin: top center;
  }

  @media (max-width: 700px) {
    .pdf-toolbar {
      flex-wrap: wrap;
    }

    #pdf-frame {
      height: 70vh;
    }
  }

  .embed-responsive{
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
  }

  .embed-responsive-16by9{
    padding-bottom: 56.25%;
  }

  .careers-image-container {
    height: 100%;
    min-height: 350px;
    display: flex;
    justify-content: center;
}

.careers-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0.375rem;
}

.form-group {
        margin-bottom: 20px;
    }

    label {
        display: block;
        font-weight: bold;
        margin-bottom: 8px;
    }

    textarea,
    input {
        width: 100%;
        padding: 12px;
        border: 1px solid #ced4da;
        border-radius: 6px;
        font-size: 16px;
        font-family: inherit;
    }

    textarea {
        min-height: 130px;
        resize: vertical;
    }

    input[type="number"] {
        max-width: 150px;
    }

    .buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 15px;
    }

    .button {
        border: none;
        padding: 12px 22px;
        border-radius: 6px;
        font-size: 15px;
        cursor: pointer;
        color: white;
    }

    .encrypt {
        background: var(--military);
    }

    .encrypt:hover {
        background: #627e62;
    }

    .decrypt {
        background: var(--rosewood);
    }

    .decrypt:hover {
        background: #8e5b67;
    }

    .clear {
        background: #6c757d;
    }

    .clear:hover {
        background: #5c636a;
    }

    .output {
        margin-top: 25px;
    }

    .output textarea {
        background: #f8f9fa;
    }

    .example {
        margin-top: 25px;
        padding: 15px;
        background: #fff3cd;
        border: 1px solid #ffecb5;
        border-radius: 6px;
    }