/*
Theme Name: VapeAccess Health
Theme URI: https://spx.playsbay.com/
Author: Codex
Description: A calm public-health and regulatory information theme for VapeAccess Australia.
Version: 1.0.0
Text Domain: vapeaccess-health
*/

:root {
  --vh-ink: #102235;
  --vh-body: #43576b;
  --vh-muted: #6c7d8d;
  --vh-line: #d8e3ea;
  --vh-soft: #f4f8f7;
  --vh-card: #ffffff;
  --vh-teal: #007f89;
  --vh-green: #2f8f6b;
  --vh-blue: #315f8f;
  --vh-sand: #f7f0df;
  --vh-warning: #8a5a00;
  --vh-shadow: 0 18px 44px rgba(16, 34, 53, 0.08);
  --vh-radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--vh-ink);
  background: #f8fbfb;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--vh-teal);
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.vh-wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.vh-skip {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--vh-ink);
  color: #fff;
  padding: 10px 12px;
  z-index: 20;
}

.vh-skip:focus {
  left: 10px;
}

.vh-topbar {
  background: #0f2f42;
  color: #dceef1;
  font-size: 14px;
}

.vh-topbar .vh-wrap {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 8px 0;
}

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

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

.vh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--vh-ink);
  text-decoration: none;
  font-weight: 850;
  font-size: 20px;
}

.vh-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--vh-teal), var(--vh-green));
  border-radius: 8px;
  font-weight: 900;
}

.vh-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.vh-nav a {
  color: var(--vh-ink);
  text-decoration: none;
  font-weight: 720;
  font-size: 15px;
  padding: 9px 10px;
  border-radius: 6px;
}

.vh-nav a:hover,
.vh-nav a:focus {
  background: #eaf4f4;
  color: var(--vh-teal);
}

.vh-button,
.va-actions a,
.va-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid var(--vh-teal);
  background: var(--vh-teal);
  color: #fff;
  padding: 0 16px;
  font-weight: 800;
  text-decoration: none;
}

.vh-button.secondary,
.va-actions a:nth-child(2),
.va-actions a:nth-child(3),
.va-button.secondary {
  background: #fff;
  color: var(--vh-ink);
  border-color: var(--vh-line);
}

.vh-hero {
  padding: 52px 0 34px;
  background:
    linear-gradient(90deg, rgba(0, 127, 137, 0.09), rgba(47, 143, 107, 0.05)),
    #f8fbfb;
  border-bottom: 1px solid var(--vh-line);
}

.vh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 34px;
  align-items: center;
}

.vh-eyebrow,
.va-kicker {
  margin: 0 0 10px;
  color: var(--vh-teal);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 850;
}

.vh-hero h1,
.vh-title,
.va-hero h1,
.va-page h1 {
  margin: 0 0 18px;
  letter-spacing: 0;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.02;
  color: var(--vh-ink);
}

.vh-hero p,
.vh-lede,
.va-hero p,
.va-page p {
  color: var(--vh-body);
  font-size: 19px;
  line-height: 1.72;
}

.vh-actions,
.va-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.vh-health-card,
.vh-card,
.va-panel,
.va-answer,
.va-section,
.va-ai,
.va-grid-links a {
  background: var(--vh-card);
  border: 1px solid var(--vh-line);
  border-radius: var(--vh-radius);
  box-shadow: var(--vh-shadow);
}

.vh-health-card {
  padding: 22px;
}

.vh-hero-visual-card .vh-visual {
  margin-bottom: 18px;
}

.vh-health-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.vh-checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.vh-checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  margin: 10px 0;
  color: var(--vh-body);
}

.vh-checklist li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 7px;
  border-radius: 4px;
  background: var(--vh-green);
}

.vh-section {
  padding: 44px 0;
}

.vh-section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.vh-section h2,
.va-section h2,
.va-ai h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.14;
}

.vh-grid,
.va-grid-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vh-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.vh-visual-grid a {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--vh-line);
  border-radius: var(--vh-radius);
  background: #fff;
  color: var(--vh-ink);
  text-decoration: none;
  box-shadow: var(--vh-shadow);
  font-weight: 850;
}

.vh-visual-grid img {
  width: 72px;
  height: 72px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--vh-soft);
}

.vh-visual {
  margin: 0 0 18px;
  border: 1px solid var(--vh-line);
  border-radius: var(--vh-radius);
  overflow: hidden;
  background: #f6fbfb;
}

.vh-card .vh-visual,
.vh-post-item .vh-visual {
  margin: -20px -20px 16px;
  border-width: 0 0 1px;
  border-radius: var(--vh-radius) var(--vh-radius) 0 0;
}

.vh-content > .vh-visual:first-child {
  margin: -20px -20px 26px;
}

.vh-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.vh-card .vh-visual img,
.vh-post-item .vh-visual img {
  aspect-ratio: 16 / 9;
}

.vh-card,
.va-grid-links a {
  padding: 20px;
  text-decoration: none;
  color: var(--vh-ink);
}

.vh-card small,
.va-grid-links small {
  display: block;
  color: var(--vh-muted);
  line-height: 1.5;
  margin-top: 8px;
}

.vh-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--vh-muted);
  font-size: 14px;
}

.vh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 38px 0 54px;
}

.vh-content {
  background: #fff;
  border: 1px solid var(--vh-line);
  border-radius: var(--vh-radius);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--vh-shadow);
}

.vh-content h1 {
  margin-top: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.vh-content h2 {
  margin-top: 34px;
}

.vh-sidebar {
  align-self: start;
  position: sticky;
  top: 96px;
}

.vh-side-box {
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--vh-line);
  border-radius: var(--vh-radius);
  background: #fff;
}

.vh-side-box h2 {
  font-size: 20px;
  margin: 0 0 10px;
}

.vh-post-list {
  display: grid;
  gap: 16px;
}

.vh-post-item {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--vh-line);
  border-radius: var(--vh-radius);
  box-shadow: var(--vh-shadow);
}

.vh-post-item h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.vh-post-item h2 a {
  color: var(--vh-ink);
  text-decoration: none;
}

.va-home,
.va-page {
  max-width: 1160px;
  padding-left: 0;
  padding-right: 0;
}

.va-hero {
  display: none;
}

.va-answer {
  border-left: 5px solid var(--vh-green);
}

.va-disclaimer,
.vh-notice {
  background: #fff8e6;
  border: 1px solid #edd08d;
  border-radius: var(--vh-radius);
  color: #5f4100;
  padding: 16px;
}

.vh-site-footer {
  background: #102235;
  color: #d9e7ec;
  padding: 34px 0;
}

.vh-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}

.vh-site-footer a {
  color: #d8fffb;
}

.vh-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .vh-header-inner,
  .vh-topbar .vh-wrap,
  .vh-section-header,
  .vh-footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .vh-hero-grid,
  .vh-layout,
  .vh-grid,
  .vh-visual-grid,
  .va-grid-links {
    grid-template-columns: 1fr;
  }

  .vh-sidebar {
    position: static;
  }

  .vh-nav {
    justify-content: flex-start;
  }
}
