/* =========================================================
   ARMY READY — Official
========================================================= */

.official-page {
  min-height: 100vh;
  margin: 0;
  background: #f7f8f9;
  color: #202124;
}

.official-page *,
.official-page *::before,
.official-page *::after {
  box-sizing: border-box;
}

.official-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(230, 233, 236, 0.92);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.official-header-inner {
  width: min(100%, 880px);
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  padding: 10px 22px;
}

.official-back {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #e3e7e9;
  border-radius: 50%;
  background: #ffffff;
  color: #202124;
  font-size: 31px;
  line-height: 1;
  text-decoration: none;
}

.official-header-copy p,
.official-header-copy h1 {
  margin: 0;
}

.official-header-copy p {
  color: #8a9096;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.official-header-copy h1 {
  margin-top: 2px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.official-main {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 24px 22px 96px;
}

.official-hero {
  padding: 30px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(
      circle at top right,
      rgba(33, 216, 196, 0.28),
      transparent 35%
    ),
    #111318;
  color: #ffffff;
}

.official-eyebrow {
  margin: 0 0 11px;
  color: #21d8c4;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.official-hero h2 {
  margin: 0;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.official-hero > p:last-child {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.official-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.official-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.official-filter {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #e1e5e7;
  border-radius: 999px;
  background: #ffffff;
  color: #6f757b;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.official-filter.active {
  border-color: #111318;
  background: #111318;
  color: #ffffff;
}

.official-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #e1e5e7;
  border-radius: 14px;
  outline: none;
  background: #ffffff;
  color: #202124;
  font: inherit;
  font-size: 13px;
}

.official-search input:focus {
  border-color: #66cfc3;
  box-shadow: 0 0 0 3px rgba(33, 216, 196, 0.12);
}

.official-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 2px 9px;
}

.official-status p {
  margin: 0;
  color: #8a9096;
  font-size: 12px;
  font-weight: 700;
}

.official-status button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #008f82;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.official-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.official-card {
  padding: 22px;
  border: 1px solid #e6eaec;
  border-radius: 20px;
  background: #ffffff;
}

.official-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.official-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.official-card-category,
.official-card-new {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.official-card-category {
  background: #e9faf7;
  color: #008f82;
}

.official-card-new {
  background: #111318;
  color: #ffffff;
}

.official-card time {
  color: #9aa0a6;
  font-size: 11px;
  font-weight: 650;
}

.official-card h3 {
  margin: 15px 0 0;
  color: #202124;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.official-card-summary {
  margin: 10px 0 0;
  color: #6f757b;
  font-size: 14px;
  line-height: 1.7;
}

.official-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.official-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #dce2e4;
  border-radius: 12px;
  color: #30343a;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.official-card-link.primary {
  border-color: #111318;
  background: #111318;
  color: #ffffff;
}

.official-empty {
  padding: 54px 24px;
  border: 1px dashed #d9dfe2;
  border-radius: 20px;
  background: #ffffff;
  text-align: center;
}

.official-empty strong {
  font-size: 17px;
}

.official-empty p {
  margin: 8px 0 0;
  color: #8a9096;
  font-size: 13px;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 680px) {
  .official-header-inner {
    min-height: 64px;
    padding: 9px 14px;
  }

  .official-main {
    padding: 14px 14px 84px;
  }

  .official-hero {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .official-toolbar {
    grid-template-columns: 1fr;
  }

  .official-search {
    order: -1;
  }

  .official-card {
    padding: 18px;
    border-radius: 18px;
  }

  .official-card-top {
    align-items: flex-start;
  }

  .official-card h3 {
    font-size: 18px;
  }
}
