/*
Theme Name:  UHAW Child
Theme URI:   https://uniquehealthandwellness.com.au
Description: Child theme for Unique Health & Wellness — Dr Wayne Pickstone
Author:      Unique Health & Wellness
Template:    hello-elementor
Version:     1.0.0
*/

/* ── Brand Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Gold */
  --gold:        #C9A96E;
  --gold-light:  #E8D5A3;
  --gold-dark:   #8A6A35;

  /* Navy */
  --navy:        #0F1E2D;
  --navy-mid:    #152436;
  --navy-card:   #1C2F42;

  /* Text */
  --off-white:   #F4F2ED;
  --muted:       #7A8A96;
  --dim:         #4A5A66;
  --body-text:   #C0CEDC;

  /* Accents */
  --green:       #2D6A4F;
  --green-t:     #74C69D;
  --amber:       #D4A843;

  /* Borders */
  --border:      rgba(255, 255, 255, 0.08);
  --border-gold: rgba(201, 169, 110, 0.28);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
body {
  background-color: var(--navy);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Headings ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: var(--font-heading);
  color: var(--off-white);
  line-height: 1.15;
}

/* ── Links ────────────────────────────────────────────────────────────────── */
a {
  color: var(--gold);
  transition: color 0.2s;
}
a:hover {
  color: var(--gold-light);
}

/* ── Elementor global button ──────────────────────────────────────────────── */
.elementor-button,
.elementor-button.elementor-size-md {
  background-color: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  transition: background-color 0.2s;
}
.elementor-button:hover,
.elementor-button.elementor-size-md:hover {
  background-color: var(--gold-light);
  color: var(--navy);
}

/* ── Gold accent divider ──────────────────────────────────────────────────── */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: none;
  margin: 2rem 0;
}

/* ── Card style ───────────────────────────────────────────────────────────── */
.elementor-widget-container .card-navy {
  background: var(--navy-card);
  border: 1px solid var(--border-gold);
  padding: 1.5rem 1.75rem;
  position: relative;
}
.card-navy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── GHL form embed wrapper ───────────────────────────────────────────────── */
.ghl-form-wrap iframe,
.ghl-form-wrap .hl_form-builder-wrapper {
  width: 100% !important;
  border: none !important;
}

/* ── Blog post typography ─────────────────────────────────────────────────── */
.single-post .entry-content {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.8;
}
.single-post .entry-content h2,
.single-post .entry-content h3 {
  color: var(--gold);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* ── HFE Header nav fixes ─────────────────────────────────────────────────── */
/* Prevent menu from wrapping to a second row */
ul.hfe-nav-menu {
  flex-wrap: nowrap !important;
  gap: 24px !important;
}
ul.hfe-nav-menu > li {
  white-space: nowrap;
}
/* Nav link colours */
ul.hfe-nav-menu > li > a,
ul.hfe-nav-menu > li > a span {
  color: var(--off-white) !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  text-decoration: none !important;
}
ul.hfe-nav-menu > li > a:hover,
ul.hfe-nav-menu > li.current-menu-item > a {
  color: var(--gold) !important;
}
/* Remove bottom margin on nav widget in header */
.elementor-location-header .elementor-widget-navigation-menu {
  margin-bottom: 0 !important;
}

/* ── Utility classes ──────────────────────────────────────────────────────── */
.text-gold    { color: var(--gold) !important; }
.text-muted   { color: var(--muted) !important; }
.bg-navy      { background-color: var(--navy) !important; }
.bg-navy-card { background-color: var(--navy-card) !important; }
.border-gold  { border: 1px solid var(--border-gold) !important; }
.font-heading { font-family: var(--font-heading) !important; }
.uppercase    { text-transform: uppercase; letter-spacing: 0.12em; }

/* ── Shared layout ────────────────────────────────────────────────────────── */
.uhaw-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Blog single post ─────────────────────────────────────────────────────── */
.uhaw-single-post {
  background: #fff;
  color: #1a1a1a;
}

.uhaw-post-hero {
  background: #f7f8fa;
  border-bottom: 1px solid #eee;
  padding: 60px 24px 50px;
  text-align: center;
}
.uhaw-post-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.uhaw-post-meta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}
.uhaw-post-cat {
  background: #5CB85C;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 20px;
}
.uhaw-post-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #888;
}
.uhaw-post-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.15;
  margin: 0 0 18px;
}
.uhaw-post-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: #666;
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
}

.uhaw-post-featured-img {
  background: #fff;
  padding: 40px 24px 0;
}
.uhaw-feat-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.uhaw-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  padding: 50px 0 70px;
  align-items: start;
}

/* Post content typography */
.uhaw-post-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #2a2a2a;
  line-height: 1.8;
}
.uhaw-post-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 2.2rem 0 1rem;
  line-height: 1.2;
}
.uhaw-post-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 1.8rem 0 0.8rem;
}
.uhaw-post-content p { margin: 0 0 1.4rem; }
.uhaw-post-content ul,
.uhaw-post-content ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.uhaw-post-content li { margin-bottom: 0.4rem; }
.uhaw-post-content a { color: #5CB85C; text-decoration: underline; }
.uhaw-post-content blockquote {
  border-left: 3px solid #5CB85C;
  margin: 2rem 0;
  padding: 1rem 0 1rem 1.5rem;
  color: #555;
  font-style: italic;
}
.uhaw-post-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 1rem 0; }

/* Sidebar */
.uhaw-post-sidebar { display: flex; flex-direction: column; gap: 24px; }
.uhaw-sidebar-card {
  background: #f7f8fa;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 24px;
}
.uhaw-sidebar-cta {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  text-align: center;
}
.uhaw-sidebar-cta h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}
.uhaw-sidebar-cta p {
  font-size: 13px;
  color: #aaa;
  font-weight: 300;
  margin: 0 0 20px;
  line-height: 1.6;
}
.uhaw-btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: #5CB85C;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 25px;
}
.uhaw-sidebar-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 14px;
}
.uhaw-recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.uhaw-recent-posts li {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.uhaw-recent-posts li:last-child { border-bottom: none; }
.uhaw-recent-posts a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.4;
}
.uhaw-recent-posts a:hover { color: #5CB85C; }
.uhaw-recent-posts span { font-size: 11px; color: #999; }
.uhaw-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.uhaw-cat-list a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
}
.uhaw-cat-list a:hover { color: #5CB85C; }
.uhaw-cat-list span { color: #aaa; }

/* Post navigation */
.uhaw-post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid #eee;
  margin-bottom: 60px;
}
.uhaw-post-nav-prev,
.uhaw-post-nav-next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  max-width: 48%;
}
.uhaw-post-nav-next { align-items: flex-end; margin-left: auto; }
.nav-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5CB85C;
}
.nav-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 400;
  line-height: 1.4;
}
.uhaw-post-nav-prev:hover .nav-title,
.uhaw-post-nav-next:hover .nav-title { color: #5CB85C; }

/* ── Blog archive ─────────────────────────────────────────────────────────── */
.uhaw-archive {
  background: #fff;
  color: #1a1a1a;
}

.uhaw-archive-hero {
  background: #f7f8fa;
  border-bottom: 1px solid #eee;
  padding: 60px 24px 50px;
  text-align: center;
}
.uhaw-archive-hero-inner { max-width: 700px; margin: 0 auto; }
.uhaw-archive-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #5CB85C;
  margin: 0 0 12px;
}
.uhaw-archive-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.1;
  margin: 0 0 16px;
}
.uhaw-archive-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #666;
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
}

/* Post grid */
.uhaw-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 50px 0 20px;
}
.uhaw-post-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.uhaw-post-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.uhaw-card-img-wrap { display: block; }
.uhaw-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.uhaw-img-placeholder {
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}
.uhaw-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.uhaw-card-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5CB85C;
  text-decoration: none;
}
.uhaw-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.25;
}
.uhaw-card-title a { color: inherit; text-decoration: none; }
.uhaw-card-title a:hover { color: #5CB85C; }
.uhaw-card-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #666;
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.uhaw-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}
.uhaw-card-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #999;
}
.uhaw-card-read-more {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #5CB85C;
  text-decoration: none;
  letter-spacing: .04em;
}
.uhaw-card-read-more:hover { text-decoration: underline; }

/* Pagination */
.uhaw-pagination {
  padding: 40px 0 60px;
  text-align: center;
}
.uhaw-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #444;
  text-decoration: none;
}
.uhaw-pagination .page-numbers.current,
.uhaw-pagination .page-numbers:hover {
  background: #5CB85C;
  border-color: #5CB85C;
  color: #fff;
}
.uhaw-no-posts {
  padding: 60px 0;
  text-align: center;
  color: #888;
  font-family: 'DM Sans', sans-serif;
}

/* Responsive */
@media (max-width: 900px) {
  .uhaw-post-layout { grid-template-columns: 1fr; }
  .uhaw-post-sidebar { display: none; }
  .uhaw-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .uhaw-post-grid { grid-template-columns: 1fr; }
  .uhaw-post-navigation { flex-direction: column; }
  .uhaw-post-nav-next { align-items: flex-start; margin-left: 0; }
}
