
body {
  background:
    radial-gradient(circle at top left, rgba(53, 182, 255, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(241, 164, 51, 0.11), transparent 23%),
    linear-gradient(180deg, #050b13 0%, #07111b 100%);
  color: #e5eef8;
}
.site-header {
  background: rgba(6, 12, 20, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(191, 214, 244, 0.14);
}
.brand strong,
.brand span,
.nav a,
.nav-toggle {
  color: #f8fafc;
}
.brand span {
  opacity: 0.72;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: #f97316;
}
.cta-pill {
  background: #f97316;
  color: #fff;
  border-color: #f97316;
}
.footer {
  background: #07111b;
  color: #e5eef8;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.footer a,
.footer p,
.footer li,
.footer span {
  color: inherit;
}
.page-hero {
  background: transparent;
  padding: 18px 0 22px;
}
.page-shell {
  display: grid;
  gap: 18px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.breadcrumb a {
  color: inherit;
}
.breadcrumb .sep {
  color: rgba(248, 250, 252, 0.52);
}
.tags-page-hero {
  display: grid;
  gap: 16px;
  max-width: 1040px;
  padding-top: 26px;
  padding-bottom: 8px;
}
.tags-page-hero .eyebrow,
.tags-card .eyebrow {
  color: #f97316;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
}
.tags-family-chip span:first-child {
  color: #0f172a;
}
.tags-page-hero h1 {
  margin: 0;
  max-width: 13ch;
  color: #f8fafc;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.tags-page-hero p {
  margin: 0;
  max-width: 66ch;
  color: rgba(226, 232, 240, 0.84);
  font-size: 1.04rem;
  line-height: 1.45;
}
.tags-filter-panel,
.tags-card,
.tags-detail-copy,
.tags-detail-media,
.tags-body-grid > .panel {
  min-width: 0;
  background: #fff;
  color: #0f172a;
  border: 1px solid #dbe2ea;
  box-shadow: none;
}
.tags-filter-panel,
.tags-detail-copy,
.tags-detail-media,
.tags-body-grid > .panel {
  border-radius: 0;
  padding: 18px 18px 16px;
}
.tags-filter-panel {
  display: grid;
  gap: 16px;
}
.tags-filter-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.tags-filter-head strong {
  display: block;
  color: #0f172a;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.tags-filter-total {
  color: #567;
  font-size: 0.95rem;
  line-height: 1.3;
}
.tags-results-count {
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.95rem;
  line-height: 1.3;
}
.tags-filter-total strong,
.tags-results-count strong {
  color: #f97316;
}
.tags-search {
  display: grid;
}
.tags-search input,
.tags-select input,
.tags-select select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 0;
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #0f172a;
  font: inherit;
}
.tags-chip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 10px;
  grid-auto-rows: 72px;
}
.tags-family-chip {
  appearance: none;
  border: 1px solid #d8dee7;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.tags-family-chip strong {
  color: #f97316;
  font-size: 0.78rem;
  font-weight: 700;
  flex: 0 0 auto;
}
.tags-family-chip span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.tags-family-chip:hover {
  border-color: #bfc9d6;
}
.tags-family-chip.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}
.tags-family-chip.is-active span:first-child {
  color: #fff;
}
.tags-family-chip.is-active strong {
  color: #fff;
}
.tags-section {
  padding-top: 0;
}
.tags-results-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin: 24px 0 14px;
}
.tags-results-head h2 {
  margin: 8px 0 10px;
  color: #f8fafc;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.1;
}
.tags-results-head p {
  margin: 0;
  max-width: 66ch;
  color: rgba(226, 232, 240, 0.84);
  line-height: 1.45;
}
.tags-filter-empty {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px dashed rgba(148, 163, 184, 0.32);
  color: rgba(226, 232, 240, 0.84);
  background: rgba(255, 255, 255, 0.03);
}
.tags-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.tags-card {
  overflow: hidden;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tags-card[hidden],
[hidden] {
  display: none !important;
}
.tags-card:hover {
  transform: translateY(-2px);
  border-color: #c7d0db;
}
.tags-card-copy {
  padding: 18px 18px 16px;
  display: grid;
  gap: 10px;
}
.tags-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.15;
  min-height: 2.4em;
}
.tags-card p {
  margin: 0;
  color: #567;
  line-height: 1.55;
  min-height: 3.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tags-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #edf1f5;
  color: #567;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.tags-card-link {
  color: #f97316;
  font-size: 0.82rem;
  font-weight: 700;
}
.tags-card-actions {
  display: none;
}
.tags-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}
.tags-detail-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}
.tags-detail-image {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid #dbe2ea;
  background: #f8fafc;
}
.tags-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.tags-detail-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid #dbe2ea;
}
.detail-body-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: start;
  gap: 24px;
}
.detail-body-grid > .panel {
  min-width: 0;
}
.detail-rich-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}
.detail-rich-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.detail-subsection {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.detail-subsection h2,
.detail-subsection h3 {
  margin: 0;
}
.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.detail-card-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail-mini-card {
  min-width: 0;
  padding: 16px 16px 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(10, 20, 34, 0.95);
}
.detail-mini-card h3 {
  margin: 8px 0 10px;
  font-size: 1rem;
  line-height: 1.25;
  color: #f8fafc;
}
.detail-mini-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.55;
}
.detail-step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.detail-step-list li {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(10, 20, 34, 0.95);
  padding: 14px 16px;
}
.detail-step-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: #f8fafc;
}
.detail-step-list div {
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.55;
}
.detail-faq-list {
  display: grid;
  gap: 12px;
}
.detail-faq-item {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(10, 20, 34, 0.95);
  padding: 14px 16px;
}
.detail-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #f8fafc;
}
.detail-faq-item p {
  margin: 10px 0 0;
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.55;
}
.detail-sidebar {
  min-width: 0;
}
.detail-sidebar-stack {
  display: grid;
  gap: 18px;
}
.detail-sidebar-card {
  min-width: 0;
  padding: 20px;
}
.detail-sidebar-card h2 {
  margin: 10px 0 12px;
}
.detail-notes {
  margin: 0;
  padding-left: 20px;
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.55;
}
.detail-notes li + li {
  margin-top: 10px;
}
.detail-side-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.tags-data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid #dbe2ea;
  background: #fff;
}
.tags-data-table th,
.tags-data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf1f5;
  text-align: left;
  vertical-align: top;
}
.tags-data-table thead th {
  background: #f8fafc;
}
.tags-data-table tbody tr:last-child td {
  border-bottom: 0;
}
.tags-link-list {
  display: grid;
}
.tags-link-list a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 0;
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #0f172a;
}
.tags-link-list a span {
  color: #567;
  font-size: 0.95rem;
}
.tag-faq-list {
  display: grid;
  gap: 12px;
}
.faq {
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 0;
  padding: 16px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.faq .answer {
  color: #567;
  margin-top: 10px;
  line-height: 1.6;
}
@media (max-width: 1200px) {
  .tags-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .tags-detail-layout,
  .tags-detail-layout,
  .tags-body-grid {
    grid-template-columns: 1fr;
  }
  .tags-page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 10vw, 3.6rem);
  }
  .tags-chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 64px;
  }
  .tags-results-grid {
    grid-template-columns: 1fr;
  }
  .detail-body-grid {
    grid-template-columns: 1fr;
  }
  .detail-rich-grid,
  .detail-card-grid,
  .detail-card-grid-wide {
    grid-template-columns: 1fr;
  }
  .tags-filter-head,
  .tags-results-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .tags-detail-gallery {
    grid-template-columns: 1fr;
  }
  .tags-detail-image {
    min-height: 260px;
  }
}
