:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f5f8f6;
  --text: #17211d;
  --muted: #5b6862;
  --line: #dfe7e3;
  --brand: #176b4d;
  --brand-dark: #0f4c37;
  --accent: #c96f2d;
  --accent-soft: #fff3e9;
  --shadow: 0 14px 34px rgba(23, 33, 29, 0.08);
  --shadow-hover: 0 18px 42px rgba(23, 33, 29, 0.14);
  --radius: 8px;
  --container: 1120px;
  --narrow: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fbfdfc 0, #fff 280px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--brand);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.narrow-container {
  width: min(100% - 32px, var(--narrow));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(201, 111, 45, 0.2), transparent 26%),
    linear-gradient(90deg, rgba(12, 38, 29, 0.92), rgba(12, 38, 29, 0.72)),
    url("/images/products/hero-travel-gear.svg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-inner {
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #dfeee8;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1,
.page-header h1,
.article-hero h1 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: #edf7f3;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-primary,
.button-secondary,
.amazon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button-primary,
.amazon-button {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(201, 111, 45, 0.26);
}

.button-primary:hover,
.amazon-button:hover {
  background: #a95721;
  color: #fff;
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.button-secondary:hover {
  background: #fff;
  color: var(--brand-dark);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.1);
  color: #f4fbf8;
  font-size: 0.86rem;
  font-weight: 750;
}

.section {
  padding: 56px 0;
}

.muted-section {
  background: var(--surface-muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading h2,
.page-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
}

.section-heading a {
  color: var(--brand);
  font-weight: 800;
}

.category-grid,
.article-grid,
.term-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-tile,
.term-tile,
.article-card,
.product-box,
.disclaimer,
.article-summary-box,
.toc-box,
.faq-block,
.editorial-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.category-tile {
  min-height: 92px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  color: #fff;
  font-weight: 850;
  background:
    linear-gradient(135deg, rgba(15, 76, 55, 0.9), rgba(23, 107, 77, 0.68)),
    linear-gradient(135deg, #176b4d, #c96f2d);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-tile:hover,
.article-card:hover,
.term-tile:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.category-tile:hover {
  color: #fff;
}

.category-number {
  opacity: 0.76;
  font-size: 0.82rem;
}

.article-grid {
  grid-template-columns: 1fr;
}

.article-card {
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--surface-muted);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.article-card:hover .card-media img {
  transform: scale(1.035);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 850;
}

.card-body {
  padding: 18px;
}

.card-meta,
.article-taxonomy,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-meta a,
.article-taxonomy a,
.tag-list a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--brand-dark);
  background: #f8fbfa;
  font-size: 0.8rem;
  font-weight: 750;
}

.card-title {
  margin: 12px 0 8px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.card-description {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.price {
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--accent-soft);
  color: #9a4d1d;
  font-weight: 850;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
}

.page-list {
  padding-top: 34px;
}

.page-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.page-header p {
  margin: 12px 0 0;
  color: var(--muted);
}

.breadcrumbs {
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--brand);
}

.breadcrumbs span {
  margin-left: 6px;
}

.article-page {
  padding: 28px 0 64px;
}

.article-hero {
  padding-top: 20px;
}

.article-hero h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 6vw, 3.6rem);
}

.article-description {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.article-cover {
  margin-top: 28px;
}

.article-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-box {
  display: grid;
  gap: 18px;
  margin: 28px 0;
  padding: 20px;
  border-color: #d6e5dd;
  background: linear-gradient(180deg, #fff, #fbfdfc);
}

.product-box h2 {
  margin: 2px 0 10px;
  font-size: 1.2rem;
}

.box-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-box dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.product-box dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.product-box dt {
  color: var(--muted);
  font-weight: 700;
}

.product-box dd {
  margin: 0;
  font-weight: 850;
  text-align: right;
}

.product-action {
  display: grid;
  gap: 8px;
}

.product-action span {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.article-summary-box,
.toc-box,
.faq-block {
  margin: 24px 0;
  padding: 20px;
}

.article-summary-box {
  border-left: 4px solid var(--brand);
  box-shadow: none;
}

.article-summary-box h2,
.toc-box h2,
.faq-block h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.article-summary-box p {
  margin: 0 0 12px;
  color: var(--muted);
}

.article-summary-box ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.toc-box {
  background: #f8fbfa;
  box-shadow: none;
}

.toc-box nav ul,
.toc-box ul {
  margin: 0;
  padding-left: 20px;
}

.toc-box a {
  color: var(--brand);
  font-weight: 700;
}

.content {
  color: #24302b;
  font-size: 1.04rem;
}

.content h2,
.content h3 {
  margin-top: 1.8em;
  line-height: 1.2;
  scroll-margin-top: 90px;
}

.content h2 {
  border-top: 1px solid var(--line);
  padding-top: 1.25em;
}

.content p,
.content ul,
.content ol {
  margin: 1em 0;
}

.content a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

.content th,
.content td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
}

.faq-block {
  box-shadow: none;
}

.faq-block details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.faq-block details:last-child {
  padding-bottom: 0;
}

.faq-block summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-block p {
  margin: 8px 0 0;
  color: var(--muted);
}

.tag-list {
  margin-top: 32px;
}

.disclaimer {
  margin-top: 28px;
  padding: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  box-shadow: none;
}

.disclaimer p {
  margin: 0;
}

.seo-copy {
  border-top: 1px solid var(--line);
}

.editorial-grid {
  display: grid;
  gap: 22px;
  align-items: start;
}

.editorial-grid h2,
.editorial-panel h3 {
  margin-top: 0;
}

.editorial-grid p,
.editorial-panel li {
  color: var(--muted);
}

.editorial-panel {
  padding: 20px;
  box-shadow: none;
}

.editorial-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.related-section {
  margin-top: 48px;
}

.compact-heading {
  margin-bottom: 18px;
}

.related-grid .article-card {
  box-shadow: none;
}

.term-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.term-tile {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  font-weight: 800;
}

.term-tile strong {
  color: var(--accent);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
}

.pagination .active a {
  background: var(--brand);
  color: #fff;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f8fbfa;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 20px;
  padding: 32px 0;
}

.footer-grid p {
  margin: 8px 0 0;
}

.affiliate-note {
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 16px;
  }

  .hero-inner {
    min-height: 420px;
  }

  .section {
    padding: 42px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-box dl div {
    display: grid;
  }

  .product-box dd {
    text-align: left;
  }
}

@media (min-width: 681px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-box {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .editorial-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  }
}

@media (min-width: 980px) {
  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .term-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
