/* ── Ethics tab ── */
.ethics-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: justify;
}

.ethics-rule {
  display: flex;
  gap: 1rem;
  padding: 14px 14px 14px 0;
  border-bottom: 1px solid rgba(74,93,74,.08);
  font-size: .875rem; line-height: 1.8;
  color: var(--military);
}

.ethics-rule:last-child { border-bottom: none; }

.ethics-rule-num {
  min-width: 28px;
  height: 28px;
  background: var(--rosewood);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}

 /* ── Sidebar tab navigation ── */
    .about-layout {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 0;
      align-items: start;
    }

    .about-sidenav {
      position: sticky;
      top: 90px;
      padding: 2rem 0 2rem;
    }

    .about-sidenav-title {
      font-size: 10px;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--military);
      opacity: .45;
      padding: 0 0 0.75rem 1.25rem;
      margin-bottom: .25rem;
      border-bottom: 1px solid rgba(74,93,74,.1);
    }

    .sidenav-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      background: none;
      border: none;
      border-left: 3px solid transparent;
      padding: 11px 16px 11px 20px;
      text-align: left;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: .04em;
      color: var(--military);
      opacity: .55;
      cursor: pointer;
      transition: all .22s ease;
    }
    .sidenav-btn:hover {
      opacity: .9;
      background: rgba(74,93,74,.05);
      border-left-color: rgba(74,93,74,.3);
    }
    .sidenav-btn.active {
      opacity: 1;
      border-left-color: var(--rosewood);
      color: var(--military);
      background: rgba(74,93,74,.06);
      font-weight: 600;
    }
    .sidenav-btn .sidenav-icon {
      width: 28px; height: 28px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      background: rgba(74,93,74,.08);
      transition: background .22s;
    }
    .sidenav-btn.active .sidenav-icon,
    .sidenav-btn:hover .sidenav-icon {
      background: var(--military);
    }
    .sidenav-btn.active .sidenav-icon svg,
    .sidenav-btn:hover .sidenav-icon svg {
      stroke: var(--cream);
    }

    /* Mobile: horizontal scrolling tabs */
    .about-mobile-tabs {
      display: none;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      flex-wrap: nowrap;
      gap: 8px;
      padding: .875rem 1.5rem .875rem 1rem;
      scrollbar-width: none;
      border-bottom: 2px solid rgba(74,93,74,.12);
      background: var(--cream);
    }
    .about-mobile-tabs::-webkit-scrollbar { display: none; }
    .mobile-tab-btn {
      flex: 0 0 auto;
      padding: 8px 16px;
      font-family: 'Inter', sans-serif;
      font-size: 11px; font-weight: 600;
      letter-spacing: .08em; text-transform: uppercase;
      border: 2px solid rgba(74,93,74,.25);
      background: none; color: var(--military);
      cursor: pointer; transition: all .2s;
      white-space: nowrap;
    }
    .mobile-tab-btn.active {
      background: var(--military); color: var(--cream);
      border-color: var(--military);
    }

    /* ── Tab content area ── */
    .about-content-area {
      border-left: 1px solid rgba(74,93,74,.1);
      padding: 2.5rem 0 2.5rem 2.5rem;
      min-height: 60vh;
    }

    .sign-logo-wrap2 {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .sign-logo-img2 {
      width: 50%;
      height: auto;
      border: 2px solid rgba(74, 93, 74, 0.06);
      border-radius: 8px;
      padding: 1rem;
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
    }

    .sign-logo-img2:hover {
      transform: translateY(-4px); 
      box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    }

    .sign-layout2 {
      display: grid;
      align-items: center;
    }

    /* ── Responsive breakpoint ── */
    @media (max-width: 767px) {
      .about-layout {
        grid-template-columns: 1fr;
      }
      .about-sidenav {
        display: none;
      }
      .about-mobile-tabs {
        display: grid;
      }
      .about-content-area {
        border-left: none;
        padding: 1.75rem 0 1.5rem;
      }
    }

    .about-panel { display: none; }
    .about-panel.active {
      display: block;
      animation: panelFadeIn .35s ease forwards;
    }
    @keyframes panelFadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── Panel: Director ── */
    .director-layout {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 2.5rem;
      align-items: start;
    }
    @media (max-width: 991px) {
      .director-layout { grid-template-columns: 1fr; }
    }

    .director-photo-wrap {
      position: relative;
    }
    .director-photo-wrap::before {
      content: '';
      position: absolute;
      top: 12px; left: 12px;
      right: -12px; bottom: -12px;
      border: 2px solid rgba(74,93,74,.15);
      z-index: 0;
    }
    .director-photo {
      position: relative;
      z-index: 1;
      width: 100%;
      display: block;
      object-fit: cover;
      border: 3px solid rgba(74,93,74,.18);
      box-shadow: 0 18px 40px rgba(74,93,74,.12);
    }
    .director-name-badge {
      position: relative;
      z-index: 1;
      margin-top: 1rem;
      padding: 10px 14px;
      background: var(--military);
      color: var(--cream);
    }
    .director-name-badge .rank {
      font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .65;
      font-family: 'Inter', sans-serif;
    }
    .director-name-badge .name {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1.1rem; letter-spacing: .06em;
      margin-top: 2px;
    }

    .cv-section {
      margin-bottom: 2rem;
    }
    .cv-section:last-child { border-bottom: none; margin-bottom: 0; }

    .cv-section-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1.15rem; letter-spacing: .08em;
      color: var(--military);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .cv-section-title::after {
      content: '';
      flex: 1;
      height: 1px;
      background: rgba(74,93,74,.15);
    }

    .cv-entry {
      display: flex;
      gap: 1.25rem;
      padding: 5px 0;
     
    }
    .cv-entry:last-child { border-bottom: none; }
    .cv-years {
      min-width: 140px;
      font-size: .8rem;
      font-family: 'Inter', sans-serif;
      letter-spacing: .04em;
      color: var(--rosewood);
      padding-top: 3px;
      opacity: .85;
    }
    @media (max-width: 500px) {
      .cv-entry { flex-direction: column; gap: .25rem; }
      .cv-years { min-width: unset; font-size: .75rem; }
    }
    .cv-details {
      flex: 1;
      font-size: .9rem;
      line-height: 1.7;
      color: var(--military);
    }
    .cv-details p { margin-bottom: .25rem; }
    .cv-details p:last-child { margin-bottom: 0; }

    /* ── Panel: Sign (Logo) ── */
    .sign-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
      align-items: center;
    }
    @media (max-width: 767px) {
      .sign-layout { grid-template-columns: 1fr; }
    }
    .sign-logo-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    .sign-logo-img {
      width: min(400px, 100%);
      height: auto;
    }
    
    .sign-logo-img2 {
      width: min(500px, 100%);
      height: auto;
    }


    .sign-list { display: flex; flex-direction: column; gap: 12px; }
    .sign-item {
      padding: 14px 18px;
      border-left: 3px solid var(--military);
      background: rgba(74,93,74,.04);
    }
    .sign-item--rosewood { border-left-color: var(--rosewood); }
    .sign-item-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1rem; letter-spacing: .06em;
      color: var(--military); margin-bottom: 5px;
    }
    .sign-item-text {
      font-size: .875rem; line-height: 1.7;
      color: var(--military); opacity: .75;
      margin: 0;
    }
    .sign-description {
      font-size: .9rem; line-height: 1.75;
      color: var(--military); opacity: .75;
      margin-bottom: 1.5rem;
      padding: 14px 18px;
      background: rgba(74,93,74,.04);
      border-left: 3px solid rgba(74,93,74,.25);
    }

    /* ── Panel: História ── */
    .history-intro {
      font-size: .95rem; line-height: 1.8;
      opacity: .75; margin-bottom: 2rem;
    }

    /* ── Panel: Etický kódex ── */
    .panel-header {
      margin-bottom: 2rem;
      padding-bottom: 1.25rem;
      border-bottom: 2px solid rgba(74,93,74,.1);
    }
    .panel-title {
      font-family: 'Top Secret', sans-serif;
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      letter-spacing: .05em;
      color: var(--military);
      margin-bottom: .25rem;
    }
    .panel-subtitle {
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      color: var(--rosewood);
      font-size: clamp(1rem, 2vw, 1.2rem);
      opacity: .85;
    }

    /* ── History panel ── */
    .about-icon {
      width: 56px;
      height: 56px;
      border-radius: 50%;
    }

    .about-card--military {
      border-top: 4px solid var(--military);
    }

    .about-card--rosewood {
      border-top: 4px solid var(--rosewood);
    }

    .about-card-title {
      font-size: 1.4rem;
      letter-spacing: .05em;
    }

    .about-card-desc {
      opacity: .7;
      font-size: .875rem;
      line-height: 1.7;
      text-align: justify;
    }

    .vs-item {
    background-color: var(--cream);
    border: 2px solid rgba(74, 93, 74, 0.06);
    border-radius: 8px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
    display: flex;
    flex-direction: column;
    }

    .vs-title-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    background-color: transparent;
    border-left: 4px solid var(--military);
    transition: border-left-color 0.3s ease;
    cursor: pointer;
    }

    .vs-title{
    font-size: 1rem;
    font-weight: 600;
    color: var(--military-dark);
    margin-bottom: 0;
    flex: 0 1 100%;
    line-height: 1.4;
    text-align: justify;
    padding-left: 1.7em;
    }

    .vs-actions{
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 0.75rem;
    flex: 0 1 100%;
    }

    .vs-icon {
    flex-shrink: 0;
    width: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    background-color: transparent;
    }

  .vs-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
  }

  .vs-item:hover {
  transform: translateY(-4px); box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.vs-item:hover .vs-title-wrapper {
  border-left-color: var(--rosewood);
}

.vs-item:hover .vs-icon {
  transform: scale(1.1);
}

.vs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .vs-item {
        border-radius: 0 8px 8px 0;
    }
    .vs-title-wrapper {
      padding: 0 1.5rem 0 1.5rem;
  }
  .vs-title {
    font-size: 0.95rem;
}
}

@media (max-width: 480px) {
  .vs-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0 1rem 0 1rem;
}
.vs-title {
    font-size: 0.9rem;
    flex: 1 1 auto;
    max-width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}
.vs-actions {
    align-self: flex-end;
}

.vs-icon {
    width: 40px;
    height: 40px;
}
}