/*
Theme Name:        TPBM Child Theme
Theme URI:         https://tpbm.co.uk
Description:       Child theme for The Parks (Bracknell) Management Ltd. Built from the live tpbm.co.uk site. Fully compatible with Elementor Free. Parent theme: Hello Elementor.
Version:           1.0.0
Author:            The Parks (Bracknell) Management Ltd
Author URI:        https://tpbm.co.uk
Template:          hello-elementor
License:           Private — all rights reserved
Text Domain:       tpbm
Requires at least: 6.3
Tested up to:      6.7
Requires PHP:      8.1
Tags:              elementor, full-width-template, custom-menu, custom-logo
*/

/* ================================================================
   TPBM DESIGN TOKENS
   All colours, fonts and spacing used across the entire site.
   Edit here to update the whole site at once.
   ================================================================ */
:root {
  /* Colours */
  --tpbm-deep:          #1a3320;
  --tpbm-mid:           #2e5435;
  --tpbm-bright:        #3d6b42;
  --tpbm-accent:        #6aaa52;
  --tpbm-light:         #e8f5e3;
  --tpbm-pale:          #f5f8f3;
  --tpbm-footer-bg:     #0e1c10;
  --tpbm-text:          #2d3a2e;
  --tpbm-text-muted:    #4a5e4c;
  --tpbm-text-light:    #5a6e5c;
  --tpbm-border:        #d0e0cc;
  --tpbm-white:         #ffffff;

  /* Typography */
  --tpbm-font-display:  'Playfair Display', Georgia, serif;
  --tpbm-font-body:     'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  /* Radii */
  --tpbm-r-sm:          4px;
  --tpbm-r-md:          8px;
  --tpbm-r-lg:          12px;

  /* Shadows */
  --tpbm-shadow-card:   0 4px 20px rgba(42,80,50,0.08);

  /* Transitions */
  --tpbm-ease:          0.2s ease;

  /* Layout */
  --tpbm-max-width:     1100px;
  --tpbm-gap:           48px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--tpbm-font-body);
  color: var(--tpbm-text);
  background: var(--tpbm-white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

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

a {
  color: var(--tpbm-bright);
  text-decoration: none;
  transition: color var(--tpbm-ease);
}
a:hover { color: var(--tpbm-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tpbm-font-display);
  font-weight: 600;
  color: var(--tpbm-deep);
  line-height: 1.25;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(30px, 4vw, 48px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: clamp(18px, 2vw, 24px); }
h4 { font-size: 18px; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }

/* ================================================================
   LAYOUT HELPERS
   ================================================================ */
.tpbm-container {
  width: 100%;
  max-width: var(--tpbm-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--tpbm-gap);
  padding-right: var(--tpbm-gap);
}

.tpbm-section          { padding-top: 72px; padding-bottom: 72px; }
.tpbm-section--alt     { background: var(--tpbm-pale); }
.tpbm-section--dark    { background: var(--tpbm-deep); }
.tpbm-section--footer  { background: var(--tpbm-footer-bg); }

/* Section typography helpers */
.tpbm-label {
  display: block;
  font-family: var(--tpbm-font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tpbm-accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.tpbm-label--light { color: rgba(168,201,160,0.75); }

.tpbm-divider {
  width: 44px;
  height: 3px;
  background: var(--tpbm-accent);
  margin: 0 0 24px;
  border-radius: 2px;
  border: none;
}

/* ================================================================
   NOTICE BAR
   ================================================================ */
.tpbm-notice-bar {
  background: var(--tpbm-accent);
  color: var(--tpbm-white);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 400;
}
.tpbm-notice-bar a {
  color: var(--tpbm-white);
  font-weight: 600;
  text-decoration: underline;
}

/* ================================================================
   SITE HEADER
   ================================================================ */
.tpbm-header {
  background: var(--tpbm-deep);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow var(--tpbm-ease);
}
.tpbm-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
}
.tpbm-header__inner {
  max-width: var(--tpbm-max-width);
  margin: 0 auto;
  padding: 0 var(--tpbm-gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

/* Logo */
.tpbm-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.tpbm-logo img { height: 40px; width: auto; }
.tpbm-logo__text { line-height: 1.1; }
.tpbm-logo__the  {
  font-family: var(--tpbm-font-body);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(168,201,160,0.7);
  font-weight: 300;
  display: block;
}
.tpbm-logo__name {
  font-family: var(--tpbm-font-display);
  font-size: 18px;
  color: var(--tpbm-white);
  font-weight: 600;
  display: block;
}
.tpbm-logo__sub {
  font-size: 10px;
  color: rgba(168,201,160,0.6);
  letter-spacing: 0.3px;
  display: block;
}

/* Primary nav */
.tpbm-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tpbm-nav a {
  color: rgba(197,221,192,0.85);
  font-size: 14px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: var(--tpbm-r-sm);
  transition: color var(--tpbm-ease), background var(--tpbm-ease);
  display: block;
}
.tpbm-nav a:hover,
.tpbm-nav a.current { color: var(--tpbm-white); background: rgba(255,255,255,0.08); }
.tpbm-nav a.tpbm-nav__cta {
  background: var(--tpbm-accent);
  color: var(--tpbm-white);
  font-weight: 600;
}
.tpbm-nav a.tpbm-nav__cta:hover { background: #5a9944; }

/* Mobile toggle */
.tpbm-nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--tpbm-white);
  padding: 7px 10px;
  border-radius: var(--tpbm-r-sm);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* ================================================================
   HERO SECTION (front page)
   ================================================================ */
.tpbm-hero {
  background: linear-gradient(155deg, var(--tpbm-deep) 0%, var(--tpbm-mid) 55%, var(--tpbm-bright) 100%);
  padding: 88px var(--tpbm-gap) 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tpbm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 80%, rgba(106,170,82,0.09) 0%, transparent 50%),
    radial-gradient(circle at 82% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}
.tpbm-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.tpbm-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(232,244,228,0.9);
  font-size: 11px;
  padding: 6px 18px;
  border-radius: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 300;
}
.tpbm-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--tpbm-accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: tpbm-pulse 2.2s ease-in-out infinite;
}
.tpbm-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--tpbm-white);
  margin-bottom: 20px;
  line-height: 1.18;
}
.tpbm-hero__lead {
  font-size: 16px;
  color: rgba(197,221,192,0.9);
  max-width: 540px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.75;
}
.tpbm-hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tpbm-hero__status {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  opacity: 0.65;
  font-size: 13px;
  color: #c5ddc0;
}
.tpbm-hero__status-dot {
  width: 6px;
  height: 6px;
  background: var(--tpbm-accent);
  border-radius: 50%;
  animation: tpbm-pulse 2.2s ease-in-out infinite;
}

@keyframes tpbm-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.tpbm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--tpbm-r-sm);
  font-family: var(--tpbm-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background var(--tpbm-ease), color var(--tpbm-ease), border-color var(--tpbm-ease);
  letter-spacing: 0.3px;
  line-height: 1;
}
.tpbm-btn--primary {
  background: var(--tpbm-accent);
  color: var(--tpbm-white);
}
.tpbm-btn--primary:hover { background: #5a9944; color: var(--tpbm-white); }

.tpbm-btn--ghost {
  background: transparent;
  color: rgba(232,244,228,0.9);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.tpbm-btn--ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--tpbm-white); }

.tpbm-btn--outline {
  background: transparent;
  color: var(--tpbm-deep);
  border: 1.5px solid var(--tpbm-accent);
}
.tpbm-btn--outline:hover { background: var(--tpbm-light); }

/* ================================================================
   FEATURE CARDS (4-up grid on homepage)
   ================================================================ */
.tpbm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.tpbm-card {
  background: var(--tpbm-white);
  border: 0.5px solid var(--tpbm-border);
  border-radius: var(--tpbm-r-md);
  padding: 28px 24px;
  transition: box-shadow var(--tpbm-ease), transform var(--tpbm-ease);
}
.tpbm-card:hover {
  box-shadow: var(--tpbm-shadow-card);
  transform: translateY(-2px);
}
.tpbm-card--accent-left { border-left: 3px solid var(--tpbm-accent); }

.tpbm-card__icon {
  width: 44px;
  height: 44px;
  background: var(--tpbm-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.tpbm-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--tpbm-deep);
}
.tpbm-card p {
  font-size: 14px;
  color: var(--tpbm-text-light);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}
.tpbm-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--tpbm-bright);
  font-weight: 600;
}
.tpbm-card__link:hover { color: var(--tpbm-accent); }

/* ================================================================
   FACT STRIP
   ================================================================ */
.tpbm-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--tpbm-border);
  border-bottom: 1px solid var(--tpbm-border);
  margin-top: 56px;
}
.tpbm-fact {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--tpbm-border);
}
.tpbm-fact:last-child { border-right: none; }
.tpbm-fact__number {
  font-family: var(--tpbm-font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--tpbm-bright);
  line-height: 1;
  margin-bottom: 6px;
}
.tpbm-fact__label {
  font-size: 13px;
  color: var(--tpbm-text-muted);
  font-weight: 300;
}

/* ================================================================
   DIRECTOR CARDS
   ================================================================ */
.tpbm-directors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.tpbm-director {
  background: var(--tpbm-white);
  border: 0.5px solid var(--tpbm-border);
  border-radius: var(--tpbm-r-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.tpbm-director__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tpbm-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tpbm-font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--tpbm-bright);
  flex-shrink: 0;
}
.tpbm-director h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--tpbm-deep);
}
.tpbm-director p {
  font-size: 13px;
  color: var(--tpbm-text-light);
  font-weight: 300;
  margin: 0;
}

/* ================================================================
   PARTNER / TPRA CALLOUT BLOCK
   ================================================================ */
.tpbm-partner-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 14px 24px;
  text-decoration: none;
  transition: background var(--tpbm-ease);
}
.tpbm-partner-link:hover { background: rgba(255,255,255,0.12); }
.tpbm-partner-link__dot {
  width: 8px;
  height: 8px;
  background: var(--tpbm-accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: tpbm-pulse 2.2s ease-in-out infinite;
}
.tpbm-partner-link span { font-size: 14px; color: rgba(197,221,192,0.85); }
.tpbm-partner-link strong { color: #a8e090; }

/* ================================================================
   PAGE HERO (interior pages — Privacy, Cookie)
   ================================================================ */
.tpbm-page-hero {
  background: var(--tpbm-pale);
  border-bottom: 1px solid var(--tpbm-border);
  padding: 48px var(--tpbm-gap) 40px;
}
.tpbm-page-hero__inner {
  max-width: var(--tpbm-max-width);
  margin: 0 auto;
}
.tpbm-breadcrumb {
  font-size: 13px;
  color: var(--tpbm-text-muted);
  margin-bottom: 14px;
  font-weight: 300;
}
.tpbm-breadcrumb a { color: var(--tpbm-bright); }
.tpbm-breadcrumb a:hover { text-decoration: underline; }
.tpbm-page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--tpbm-deep);
  margin-bottom: 10px;
  line-height: 1.2;
}
.tpbm-page-hero__meta {
  font-size: 13px;
  color: var(--tpbm-text-muted);
  font-weight: 300;
}

/* ================================================================
   TWO-COLUMN POLICY LAYOUT (TOC + content)
   ================================================================ */
.tpbm-policy-wrap {
  max-width: var(--tpbm-max-width);
  margin: 0 auto;
  padding: 56px var(--tpbm-gap) 72px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

/* TOC */
.tpbm-toc { position: sticky; top: 84px; }
.tpbm-toc__card {
  background: var(--tpbm-pale);
  border: 0.5px solid var(--tpbm-border);
  border-radius: var(--tpbm-r-md);
  padding: 20px 20px 24px;
}
.tpbm-toc__card h4 {
  font-family: var(--tpbm-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tpbm-accent);
  margin-bottom: 14px;
}
.tpbm-toc__card ol { margin: 0; padding-left: 16px; list-style: decimal; }
.tpbm-toc__card ol li { margin-bottom: 7px; }
.tpbm-toc__card ol li a {
  font-size: 13px;
  color: var(--tpbm-text-muted);
  font-weight: 300;
  line-height: 1.4;
  transition: color 0.15s;
}
.tpbm-toc__card ol li a:hover,
.tpbm-toc__card ol li a.is-active { color: var(--tpbm-bright); font-weight: 600; }

/* Policy content column */
.tpbm-policy-content { max-width: 760px; }
.tpbm-policy-content section {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 0.5px solid var(--tpbm-border);
}
.tpbm-policy-content section:last-of-type { border-bottom: none; }
.tpbm-policy-content h2 {
  font-size: 22px;
  color: var(--tpbm-deep);
  margin-bottom: 16px;
  padding-top: 4px;
  line-height: 1.25;
}
.tpbm-policy-content p {
  font-size: 15px;
  color: var(--tpbm-text-muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 14px;
}
.tpbm-policy-content p:last-child { margin-bottom: 0; }
.tpbm-policy-content ul {
  font-size: 15px;
  color: var(--tpbm-text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 14px;
  padding-left: 20px;
}
.tpbm-policy-content li { margin-bottom: 6px; }
.tpbm-policy-content strong { font-weight: 600; color: var(--tpbm-text); }
.tpbm-policy-content a { color: var(--tpbm-bright); }
.tpbm-policy-content a:hover { color: var(--tpbm-accent); }

/* Intro highlight box */
.tpbm-intro-box {
  background: var(--tpbm-light);
  border-left: 3px solid var(--tpbm-accent);
  border-radius: 0 var(--tpbm-r-sm) var(--tpbm-r-sm) 0;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.tpbm-intro-box p {
  font-size: 15px;
  color: var(--tpbm-text);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 10px;
}
.tpbm-intro-box p:last-child { margin-bottom: 0; }

/* Contact box */
.tpbm-contact-box {
  background: var(--tpbm-white);
  border: 0.5px solid var(--tpbm-border);
  border-left: 3px solid var(--tpbm-accent);
  border-radius: var(--tpbm-r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0;
}
.tpbm-contact-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  font-size: 14px;
}
.tpbm-contact-row strong {
  min-width: 48px;
  color: var(--tpbm-deep);
  font-weight: 600;
  flex-shrink: 0;
  padding-top: 1px;
}
.tpbm-contact-row span,
.tpbm-contact-row address {
  color: var(--tpbm-text-muted);
  font-weight: 300;
  line-height: 1.65;
  font-style: normal;
}

/* Policy footer note */
.tpbm-policy-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--tpbm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tpbm-policy-footer p {
  font-size: 12px;
  color: var(--tpbm-text-light);
  margin: 0;
  max-width: 480px;
  font-weight: 300;
}

/* ================================================================
   DATA TABLE (privacy policy / cookie policy)
   ================================================================ */
.tpbm-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 0.5px solid var(--tpbm-border);
  border-radius: var(--tpbm-r-md);
}
.tpbm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 500px;
}
.tpbm-table thead th {
  background: var(--tpbm-pale);
  color: var(--tpbm-deep);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--tpbm-border);
}
.tpbm-table tbody td {
  padding: 13px 16px;
  vertical-align: top;
  color: var(--tpbm-text-muted);
  font-weight: 300;
  line-height: 1.6;
  border-bottom: 0.5px solid var(--tpbm-border);
}
.tpbm-table tbody tr:last-child td { border-bottom: none; }
.tpbm-table tbody tr:nth-child(even) td { background: #fafcf9; }

/* Cookie name pill */
.tpbm-cookie-name {
  font-family: monospace;
  font-size: 12px;
  color: var(--tpbm-deep);
  font-weight: 600;
  background: var(--tpbm-light);
  padding: 2px 6px;
  border-radius: 3px;
}

/* ================================================================
   COOKIE CATEGORY CARDS
   ================================================================ */
.tpbm-cookie-card {
  background: var(--tpbm-white);
  border: 0.5px solid var(--tpbm-border);
  border-radius: var(--tpbm-r-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.tpbm-cookie-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--tpbm-pale);
  border-bottom: 0.5px solid var(--tpbm-border);
}
.tpbm-cookie-card__title { font-family: var(--tpbm-font-display); font-size: 15px; font-weight: 600; color: var(--tpbm-deep); }
.tpbm-cookie-card__desc  { font-size: 12px; color: var(--tpbm-text-muted); font-weight: 300; margin-top: 1px; }
.tpbm-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.tpbm-badge--always   { background: var(--tpbm-light); color: var(--tpbm-bright); }
.tpbm-badge--consent  { background: #fef3e2; color: #b45309; }
.tpbm-badge--external { background: #e8f0fe; color: #1d4ed8; }

/* ================================================================
   SITE FOOTER
   ================================================================ */
.tpbm-footer { background: var(--tpbm-footer-bg); }
.tpbm-footer__grid {
  max-width: var(--tpbm-max-width);
  margin: 0 auto;
  padding: 48px var(--tpbm-gap) 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.tpbm-footer__brand p {
  font-size: 14px;
  color: rgba(168,201,160,0.6);
  font-weight: 300;
  margin-top: 14px;
  max-width: 260px;
  line-height: 1.6;
}
.tpbm-footer__col h4 {
  font-family: var(--tpbm-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(106,170,82,0.7);
  margin-bottom: 14px;
}
.tpbm-footer__col ul { list-style: none; padding: 0; margin: 0; }
.tpbm-footer__col ul li { margin-bottom: 8px; }
.tpbm-footer__col ul li a {
  color: rgba(197,221,192,0.65);
  font-size: 14px;
  font-weight: 300;
  transition: color var(--tpbm-ease);
}
.tpbm-footer__col ul li a:hover { color: var(--tpbm-accent); }

.tpbm-footer__bottom {
  max-width: var(--tpbm-max-width);
  margin: 40px auto 0;
  padding: 24px var(--tpbm-gap);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.tpbm-footer__bottom p { font-size: 12px; color: rgba(106,170,82,0.4); margin: 0; }
.tpbm-footer__bottom a { font-size: 12px; color: rgba(106,170,82,0.55); }
.tpbm-footer__bottom a:hover { color: var(--tpbm-accent); }

/* ================================================================
   WORDPRESS TITLE SUPPRESSION
   Hides any auto-generated page <h1> from active theme or Elementor.
   Applied on custom templates via body class .tpbm-hide-title.
   ================================================================ */
.tpbm-hide-title .entry-title,
.tpbm-hide-title .page-title,
.tpbm-hide-title .entry-header,
.tpbm-hide-title .page-header,
.tpbm-hide-title .wp-block-post-title,
.tpbm-hide-title .elementor-page-title {
  display: none !important;
}
.tpbm-hide-title .entry-content,
.tpbm-hide-title .page-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ================================================================
   ELEMENTOR FREE OVERRIDES
   Ensures Elementor sections, columns and widgets inherit
   TPBM tokens without needing Elementor Pro.
   ================================================================ */
.elementor-section { position: relative; }
.elementor-section.elementor-section-stretched { width: 100% !important; }

/* Prevent Elementor from adding conflicting padding to full-width sections */
.elementor-section > .elementor-container {
  max-width: var(--tpbm-max-width) !important;
}

/* ================================================================
   RESPONSIVE — TABLET (≤900px)
   ================================================================ */
@media (max-width: 900px) {
  .tpbm-footer__grid { grid-template-columns: 1fr 1fr; }
  .tpbm-facts { grid-template-columns: 1fr 1fr; }
  .tpbm-fact:nth-child(even) { border-right: none; }
  .tpbm-fact:nth-child(n+3) { border-top: 1px solid var(--tpbm-border); }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤768px)
   ================================================================ */
@media (max-width: 768px) {
  :root { --tpbm-gap: 24px; }

  .tpbm-header__inner { padding: 0 24px; }
  .tpbm-nav { display: none; }
  .tpbm-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--tpbm-deep);
    padding: 12px 24px 20px;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 199;
  }
  .tpbm-nav-toggle { display: block; }

  .tpbm-hero { padding: 56px 24px 48px; }

  .tpbm-policy-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px 56px;
  }
  .tpbm-toc { position: static; }
  .tpbm-toc__card ol { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }

  .tpbm-footer__grid { grid-template-columns: 1fr 1fr; padding: 40px 24px 0; }
  .tpbm-footer__bottom { padding: 20px 24px; flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤560px)
   ================================================================ */
@media (max-width: 560px) {
  .tpbm-page-hero { padding: 36px 24px 32px; }
  .tpbm-cards { grid-template-columns: 1fr; }
  .tpbm-directors { grid-template-columns: 1fr; }
  .tpbm-facts { grid-template-columns: 1fr 1fr; }
  .tpbm-toc__card ol { grid-template-columns: 1fr; }
  .tpbm-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .tpbm-policy-footer { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   ELEMENTOR EDITOR CONTENT AREA
   On the front end: hidden so only the PHP-rendered sections show.
   In Elementor editor: Elementor overrides display via its own
   iframe styles so the builder canvas becomes visible.
   ================================================================ */
.tpbm-elementor-content-area {
  display: none;
}

/* When Elementor is editing, show the content area */
.elementor-editor-active .tpbm-elementor-content-area {
  display: block !important;
  min-height: 100px;
}
