/*
Theme Name: Hello Elementor Child Reta
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child-reta
*/

/* CompareRetatrutide editorial lifestyle system — 2026-08-08 */
:root {
  --reta-ink: #202825;
  --reta-paper: #f7f4ec;
  --reta-cream: #fffdf8;
  --reta-sage: #81988a;
  --reta-sage-deep: #43594e;
  --reta-coral: #c86d59;
  --reta-gold: #bd9651;
  --reta-rule: rgba(32, 40, 37, .13);
}

body { background: var(--reta-paper) !important; }

.reta-lifestyle {
  --bg: var(--reta-paper) !important;
  --surface: var(--reta-cream) !important;
  --surface-warm: #f0eee4 !important;
  --text: var(--reta-ink) !important;
  --muted: #58635d !important;
  --soft: #6f786f !important;
  --coral: var(--reta-coral) !important;
  --coral-dark: #9e4e3e !important;
  --sage: var(--reta-sage) !important;
  --sage-dark: var(--reta-sage-deep) !important;
  --gold: var(--reta-gold) !important;
  --line: var(--reta-rule) !important;
  background:
    radial-gradient(circle at 90% 5%, rgba(202, 220, 199, .46), transparent 26rem),
    radial-gradient(circle at 4% 58%, rgba(242, 211, 190, .28), transparent 25rem),
    var(--reta-paper) !important;
}

.reta-lifestyle .wrap { width: min(1220px, calc(100% - 40px)) !important; }
.reta-lifestyle section { padding: 68px 0 !important; }
.reta-lifestyle h1,
.reta-lifestyle h2,
.reta-lifestyle h3,
.reta-lifestyle .brand-word {
  letter-spacing: -.035em !important;
}
.reta-lifestyle h1 { max-width: 13ch !important; line-height: .99 !important; }
.reta-lifestyle h2 { line-height: 1.02 !important; }
.reta-lifestyle p,
.reta-lifestyle li,
.reta-lifestyle td { line-height: 1.72 !important; }

.reta-lifestyle .site-header {
  position: sticky !important;
  top: 0;
  z-index: 20;
  padding: 16px 0 !important;
  background: rgba(247, 244, 236, .88) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--reta-rule) !important;
}
.reta-lifestyle .brand { text-decoration: none !important; display: inline-flex; align-items: center; gap: 10px; }
.reta-lifestyle .brand-mark { width: 30px; height: 30px; color: var(--reta-coral); flex-shrink: 0; }
.reta-lifestyle .brand-word { font-size: 20px !important; }
.reta-lifestyle .brand-word em { font-style: italic; font-weight: 400; opacity: .78; margin-right: 1px; }
.reta-lifestyle .brand-word .accent { font-weight: 700; }
.reta-lifestyle .nav-links { gap: 26px !important; font-size: 13px !important; letter-spacing: .02em; align-items: center; }
.reta-lifestyle .nav-links > a { padding: 8px 0; }
.reta-lifestyle .nav-links > a:hover { color: var(--reta-coral) !important; text-decoration: none !important; }
.reta-lifestyle .nav-links > a.is-current { color: var(--reta-coral-dark) !important; box-shadow: inset 0 -2px 0 var(--reta-coral); }
.reta-menu-toggle { display: none; }

/* Dropdown nav groups (Comparisons, The Record) */
.reta-lifestyle .nav-group { position: relative; }
.reta-lifestyle .nav-group-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  font: inherit; color: var(--reta-ink); background: none; border: 0; cursor: pointer;
  padding: 8px 0; letter-spacing: .02em;
}
.reta-lifestyle .nav-group-trigger:hover,
.reta-lifestyle .nav-group.is-current-group .nav-group-trigger { color: var(--reta-coral-dark); }
.reta-lifestyle .nav-group.is-current-group .nav-group-trigger { box-shadow: inset 0 -2px 0 var(--reta-coral); }
.reta-lifestyle .nav-chevron { transition: transform .15s ease; flex-shrink: 0; }
.reta-lifestyle .nav-group.is-open .nav-chevron,
.reta-lifestyle .nav-group:hover .nav-chevron { transform: rotate(180deg); }

.reta-lifestyle .nav-dropdown {
  display: none;
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 220px; padding: 10px; border-radius: 16px;
  background: var(--reta-cream); border: 1px solid var(--reta-rule);
  box-shadow: 0 22px 46px rgba(35, 47, 41, .16);
  flex-direction: column; gap: 1px;
}
.reta-lifestyle .nav-dropdown a {
  display: block; padding: 9px 12px; border-radius: 10px;
  font-size: 13.5px; color: var(--reta-ink) !important; text-decoration: none !important;
  white-space: nowrap;
}
.reta-lifestyle .nav-dropdown a:hover { background: rgba(200, 109, 89, .09); color: var(--reta-coral-dark) !important; }
.reta-lifestyle .nav-dropdown a.is-current { color: var(--reta-coral-dark) !important; font-weight: 700; }
.reta-lifestyle .nav-dropdown-parent {
  font-weight: 700; border-bottom: 1px solid var(--reta-rule); border-radius: 10px 10px 0 0 !important;
  margin-bottom: 4px; padding-bottom: 11px !important;
}

@media (min-width: 901px) {
  .reta-lifestyle .nav-group:hover .nav-dropdown,
  .reta-lifestyle .nav-group.is-open .nav-dropdown,
  .reta-lifestyle .nav-group:focus-within .nav-dropdown { display: flex; }
  /* small hover bridge so the pointer can travel from trigger to dropdown */
  .reta-lifestyle .nav-group::after {
    content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
  }
}
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.reta-skip-link {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--reta-ink);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}
.reta-skip-link:focus { transform: translateY(0); outline: 3px solid var(--reta-gold); outline-offset: 2px; }

.reta-lifestyle .eyebrow {
  background: rgba(200, 109, 89, .13) !important;
  border: 1px solid rgba(200, 109, 89, .2);
  color: #8f493c !important;
  text-transform: uppercase;
  font-size: 11px !important;
  letter-spacing: .1em !important;
}
.reta-lifestyle .lead { color: #435047 !important; }
.reta-lifestyle .btn { border-radius: 999px !important; min-height: 48px !important; }
.reta-lifestyle .btn-primary { box-shadow: 0 10px 24px rgba(158, 78, 62, .2); }
.reta-lifestyle .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(158, 78, 62, .25); text-decoration: none !important; }
.reta-lifestyle .btn-secondary { background: rgba(255, 253, 248, .72) !important; }

.reta-lifestyle .panel,
.reta-lifestyle .card,
.reta-lifestyle .table-shell,
.reta-lifestyle .source-card,
.reta-lifestyle .pillar-card,
.reta-lifestyle .cross-card,
.reta-lifestyle .hero-card {
  border-color: var(--reta-rule) !important;
  box-shadow: 0 18px 44px rgba(35, 47, 41, .07) !important;
}
.reta-lifestyle .pillar-card,
.reta-lifestyle .cross-card { border-radius: 28px !important; }
.reta-lifestyle .pillar-card { padding: 34px !important; }
.reta-lifestyle .pillar-card:hover { transform: translateY(-3px); box-shadow: 0 24px 52px rgba(35, 47, 41, .12) !important; }
.reta-lifestyle .pillar-icon { border-radius: 50% !important; }
.reta-lifestyle .status-banner { border-radius: 26px !important; border-left-color: var(--reta-coral) !important; }
.reta-lifestyle .table-shell { border-radius: 24px !important; background: rgba(255, 253, 248, .82) !important; }
.reta-lifestyle .source-card a,
.reta-lifestyle .pillar-link,
.reta-lifestyle .cross-link { text-decoration: underline; text-decoration-color: rgba(158, 78, 62, .35); text-underline-offset: 3px; }
.reta-lifestyle .site-footer { border-top-color: var(--reta-rule) !important; background: rgba(255, 253, 248, .48); }
.reta-footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.reta-footer-links a { color: var(--reta-sage-deep) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Homepage visual editorial module. Other pages retain their evidence-first layout. */
.reta-lifestyle .hero-visual { position: relative; min-height: 490px; }
.reta-lifestyle .hero-editorial-media { height: 100%; min-height: 490px; margin: 0; overflow: hidden; border-radius: 30px; box-shadow: 0 26px 60px rgba(35, 47, 41, .16); }
.reta-lifestyle .hero-editorial-media img { width: 100%; height: 100%; min-height: 490px; object-fit: cover; object-position: 70% center; display: block; }
.reta-lifestyle .hero-visual .hero-card { position: absolute; left: -28px; bottom: 28px; width: min(92%, 355px); padding: 25px !important; background: rgba(255, 253, 248, .94) !important; backdrop-filter: blur(12px); }

/* Dated-news cards carry a small, scannable subject label. */
.reta-lifestyle .news-item .news-date,
.reta-lifestyle .news-item .news-tag {
  display: inline-flex !important;
  align-items: center;
  width: auto;
  margin: 0 8px 10px 0 !important;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
}
.reta-lifestyle .news-item .news-date { background: rgba(92, 133, 112, .11); color: var(--reta-sage-deep) !important; }
.reta-lifestyle .news-item .news-tag { background: rgba(200, 109, 89, .11); color: #8f493c !important; }

/* Comparison guides use a quiet research still life rather than a blank hero field. */
@media (min-width: 901px) {
  body.page-id-16 .reta-lifestyle > section:first-of-type .panel,
  body.page-id-18 .reta-lifestyle > section:first-of-type .panel,
  body.page-id-19 .reta-lifestyle > section:first-of-type .panel,
  body.page-id-20 .reta-lifestyle > section:first-of-type .panel,
  body.page-id-21 .reta-lifestyle > section:first-of-type .panel,
  body.page-id-22 .reta-lifestyle > section:first-of-type .panel {
    position: relative;
    min-height: 545px;
    overflow: hidden;
    background:
      linear-gradient(90deg, rgba(255,253,248,.99) 0%, rgba(255,253,248,.97) 46%, rgba(255,253,248,.72) 61%, rgba(255,253,248,.08) 100%),
      url('https://compareretatrutide.co.uk/wp-content/uploads/2026/08/reta-comparison-editorial-v1.webp') center right / auto 100% no-repeat,
      var(--reta-cream) !important;
  }
  body.page-id-16 .reta-lifestyle > section:first-of-type .panel > *,
  body.page-id-18 .reta-lifestyle > section:first-of-type .panel > *,
  body.page-id-19 .reta-lifestyle > section:first-of-type .panel > *,
  body.page-id-20 .reta-lifestyle > section:first-of-type .panel > *,
  body.page-id-21 .reta-lifestyle > section:first-of-type .panel > *,
  body.page-id-22 .reta-lifestyle > section:first-of-type .panel > * { position: relative; z-index: 1; }
}

@media (max-width: 900px) {
  .reta-lifestyle section { padding: 46px 0 !important; }
  .reta-lifestyle .site-header { position: relative !important; }
  .reta-lifestyle .header-inner { position: relative; }
  .reta-lifestyle .nav-links { display: none !important; position: absolute; top: calc(100% + 14px); right: 0; left: 0; flex-direction: column; gap: 0 !important; padding: 10px 18px; border: 1px solid var(--reta-rule); border-radius: 20px; background: rgba(255, 253, 248, .98); box-shadow: 0 18px 38px rgba(35, 47, 41, .14); }
  .reta-lifestyle .nav-links.is-open { display: flex !important; }
  .reta-lifestyle .nav-links > a { padding: 13px 4px; border-bottom: 1px solid var(--reta-rule); }
  .reta-lifestyle .nav-links > a:last-child { border-bottom: 0; }
  .reta-lifestyle .nav-group { border-bottom: 1px solid var(--reta-rule); }
  .reta-lifestyle .nav-group-trigger { width: 100%; justify-content: space-between; padding: 13px 4px; }
  .reta-lifestyle .nav-dropdown {
    display: none; position: static; transform: none; width: 100%; min-width: 0;
    box-shadow: none; border: 0; border-radius: 0; background: rgba(32,40,37,.03);
    padding: 4px 0 8px 12px; margin: 0;
  }
  .reta-lifestyle .nav-group.is-open .nav-dropdown { display: flex; }
  .reta-lifestyle .nav-dropdown-parent { border-bottom-color: var(--reta-rule); }
  .reta-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--reta-rule); border-radius: 50%; background: var(--reta-cream); color: var(--reta-ink); cursor: pointer; }
  .reta-menu-toggle > span:first-child,
  .reta-menu-toggle > span:first-child::before,
  .reta-menu-toggle > span:first-child::after { display: block; width: 17px; height: 1.5px; background: currentColor; content: ''; }
  .reta-menu-toggle > span:first-child { position: relative; }
  .reta-menu-toggle > span:first-child::before { position: absolute; top: -6px; }
  .reta-menu-toggle > span:first-child::after { position: absolute; top: 6px; }
  .reta-lifestyle .hero-visual,
  .reta-lifestyle .hero-editorial-media,
  .reta-lifestyle .hero-editorial-media img { min-height: 390px; }
  .reta-lifestyle .hero-visual .hero-card { left: 18px; right: 18px; bottom: 18px; width: auto; }
}
