/**
 * Trang tab Chính sách & hướng dẫn
 */

.st-policy-hub {
  --ph-navy: #001d3d;
  --ph-brand: #0e76bc;
  --ph-brand-2: #5eb3e0;
  --ph-bg: #f0f7fc;
  --ph-card: #fff;
  --ph-line: #cfe8f5;
  --ph-muted: #5b7184;
  --ph-text: #0d1b2a;
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, #f8fcff 0%, var(--ph-bg) 40%, #e8f4fc 100%);
  color: var(--ph-text);
}

.st-policy-hub__inner {
  max-width: 960px;
  margin: 0 auto;
}

.st-policy-hub__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.st-policy-hub__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ph-navy);
}

.st-policy-hub__lead {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ph-muted);
}

.st-policy-hub__hint {
  margin: 1rem 0 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94b3c8;
}

/* —— Tabs —— */
.st-policy-hub__tablist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 720px) {
  .st-policy-hub__tablist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  .st-policy-hub__tablist {
    grid-template-columns: 1fr;
  }
}

.st-policy-hub__tab {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  text-align: left;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ph-navy);
  background: var(--ph-card);
  border: 1px solid var(--ph-line);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(14, 118, 188, 0.06);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.st-policy-hub__tab:hover {
  border-color: rgba(14, 118, 188, 0.35);
  box-shadow: 0 6px 18px rgba(14, 118, 188, 0.1);
}

.st-policy-hub__tab.is-active {
  border-color: var(--ph-brand);
  box-shadow: 0 0 0 2px rgba(14, 118, 188, 0.2), 0 8px 22px rgba(14, 118, 188, 0.12);
  color: var(--ph-brand);
}

.st-policy-hub__tab:focus-visible {
  outline: 2px solid var(--ph-brand);
  outline-offset: 2px;
}

.st-policy-hub__tab-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--ph-brand);
  background: rgba(14, 118, 188, 0.1);
}

.st-policy-hub__tab.is-active .st-policy-hub__tab-icon {
  color: #fff;
  background: linear-gradient(145deg, var(--ph-brand), var(--ph-brand-2));
}

.st-policy-hub__tab-icon svg {
  display: block;
}

.st-policy-hub__tab-text {
  line-height: 1.35;
}

/* —— Panels —— */
.st-policy-hub__panels {
  background: var(--ph-card);
  border: 1px solid var(--ph-line);
  border-radius: 18px;
  padding: clamp(1.15rem, 3vw, 1.75rem) clamp(1.1rem, 3vw, 1.65rem);
  box-shadow: 0 12px 36px rgba(14, 118, 188, 0.08);
}

.st-policy-hub__panel[hidden] {
  display: none !important;
}

.st-policy-hub__panel-title {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ph-line);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ph-navy);
}

.st-policy-hub__body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
}

.st-policy-hub__body p {
  margin: 0 0 0.85rem;
}

.st-policy-hub__body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.st-policy-hub__body li {
  margin-bottom: 0.35rem;
}

.st-policy-hub__body strong {
  color: var(--ph-navy);
}

.st-policy-hub__wpentry {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--ph-line);
  background: #fafdff;
}

.st-policy-hub__wpentry .entry-content > *:first-child {
  margin-top: 0;
}
