/* ============================================
   SUB-PAGES — Cream / Green / Gold Palette
   Matches the homepage editorial aesthetic.
   Loaded via $pageStyle = 'subpages.css'
   ============================================ */

:root {
  --cream: #fbf6ed;
  --cream-2: #f4eadc;
  --paper: #fffdf8;
  --ink: #10130f;
  --muted: #68645b;
  --line: #e8dccb;
  --green: #062a22;
  --green-2: #0b3b31;
  --gold: #b67a22;
  --gold-2: #d9a14a;
  --violet: #6b55b7;
  --serif: Georgia, 'Times New Roman', serif;
  --shadow-soft: 0 24px 80px rgba(49, 35, 18, 0.14);
  --shadow-card: 0 2px 24px rgba(49, 35, 18, 0.07);
}

html,
body {
  background: var(--cream);
  color: var(--ink);
}

.page-loader {
  background: var(--cream);
}

/* ---- Hide AI-template noise ---- */
.gradient-orb,
.floating-orb,
.particles-container,
.noise-overlay,
.footer-wave {
  display: none !important;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: rgba(251, 246, 237, 0.86) !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(18px);
  padding: 18px 0;
}

.navbar.scrolled {
  background: #fbf6ed !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 12px 38px rgba(49, 35, 18, 0.08);
}

.nav-logo a,
.logo-text {
  color: var(--ink) !important;
}

.logo-text {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-links a {
  color: var(--ink) !important;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--gold) !important;
  background: rgba(182, 122, 34, 0.08);
}

.dropdown-menu {
  background: var(--paper) !important;
  border-color: var(--line) !important;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.dropdown-menu a {
  color: var(--ink) !important;
}

.dropdown-menu a:hover {
  background: rgba(182, 122, 34, 0.06) !important;
  color: var(--gold) !important;
}

.login-btn {
  color: var(--ink) !important;
  border-color: transparent;
}

.nav-cta .btn-primary {
  background: var(--green) !important;
  color: #fffaf0 !important;
  border: 1px solid var(--green) !important;
  box-shadow: 0 16px 34px rgba(6, 42, 34, 0.18);
}

.nav-cta .btn-primary:hover {
  background: var(--green-2) !important;
  border-color: var(--green-2) !important;
}

.hamburger-btn span {
  background: var(--ink) !important;
}

/* ============================================
   SECTION LABEL
   ============================================ */
.section-label {
  color: var(--gold) !important;
  letter-spacing: 3px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.section-label::before,
.section-label::after {
  display: none !important;
}

/* ============================================
   GRADIENT TEXT (animated accent)
   ============================================ */
.gradient-text-animated {
  background: linear-gradient(135deg, var(--gold), var(--green-2), var(--gold-2)) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientTextShift 4s ease infinite;
}

@keyframes gradientTextShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   PAGE HERO — cream background, ink text
   ============================================ */
.page-hero {
  min-height: 50vh;
  background: var(--cream) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.page-hero.compact-hero {
  min-height: auto;
  padding-top: 110px;
  padding-bottom: 48px;
}

.page-hero-bg {
  display: none !important;
}

.page-hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink) !important;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 18px;
  color: var(--muted) !important;
  max-width: 550px;
  line-height: 1.7;
}

/* ============================================
   PAGE CONTENT — cream / paper
   ============================================ */
.page-content {
  padding: 80px 0 100px;
  background: var(--cream-2) !important;
}

/* ============================================
   GLASS-CARD → Paper cards
   ============================================ */
.glass-card {
  background: var(--paper) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-card) !important;
  border-radius: 16px !important;
}

.glass-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 8px 32px rgba(182, 122, 34, 0.10) !important;
}

/* ============================================
   CONTENT GRID (About page)
   ============================================ */
.content-grid-2 h2 {
  color: var(--ink) !important;
  font-family: var(--serif);
}

.content-grid-2 p {
  color: var(--muted) !important;
}

.content-card {
  padding: 32px;
  border-radius: 16px;
}

.content-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(182, 122, 34, 0.08) !important;
  color: var(--gold) !important;
  margin-bottom: 16px;
}

.content-card h3 {
  color: var(--ink) !important;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.content-card p {
  color: var(--muted) !important;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---- Values ---- */
.values-section h2,
.team-section h2,
.openings-section h2,
.help-faq h2 {
  color: var(--ink) !important;
  font-family: var(--serif);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.value-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--gold) !important;
  font-family: var(--serif);
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted) !important;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fffaf0;
  margin: 0 auto 16px;
}

.team-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-size: 13px;
  color: var(--gold) !important;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 14px;
  color: var(--muted) !important;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   CAREERS — Perk cards + Job cards
   ============================================ */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.perk-card {
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.perk-card i {
  font-size: 28px;
  color: var(--gold) !important;
  margin-bottom: 16px;
}

.perk-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 8px;
}

.perk-card p {
  font-size: 14px;
  color: var(--muted) !important;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---- Job Cards ---- */
.job-listings {
  max-width: 720px;
  margin: 0 auto;
}

.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.job-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}

.job-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 6px;
}

.job-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.job-meta span {
  font-size: 13px;
  color: var(--muted) !important;
}

.job-meta i {
  color: var(--gold) !important;
  margin-right: 4px;
}

/* ============================================
   CONTACT — Form + Info cards
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap h2 {
  color: var(--ink) !important;
  font-family: var(--serif);
}

.contact-form-wrap > p {
  color: var(--muted) !important;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--ink) !important;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(182, 122, 34, 0.12);
}

.form-input::placeholder {
  color: var(--muted) !important;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-card {
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(182, 122, 34, 0.08) !important;
  color: var(--gold) !important;
  margin: 0 auto 12px;
}

.contact-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 15px;
  color: var(--ink) !important;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-card span {
  font-size: 13px;
  color: var(--muted) !important;
}

.contact-socials h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  transition: all 0.3s ease;
  margin-right: 8px;
}

.social-links a:hover {
  color: var(--gold) !important;
  border-color: var(--gold);
  background: rgba(182, 122, 34, 0.06);
}

/* ============================================
   COMMUNITY — Cards + Stats
   ============================================ */
.community-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.community-card {
  padding: 32px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.community-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.community-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 8px;
}

.community-card p {
  font-size: 14px;
  color: var(--muted) !important;
  line-height: 1.6;
  margin-bottom: 20px;
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.comm-stat {
  text-align: center;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.comm-stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--ink) !important;
  font-family: var(--serif);
  margin-bottom: 4px;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

.comm-stat-label {
  font-size: 13px;
  color: var(--muted) !important;
}

/* ============================================
   RESOURCES — Resource cards + Guide cards
   ============================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.resource-card {
  display: block;
  padding: 32px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.resource-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.resource-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 8px;
}

.resource-card p {
  font-size: 14px;
  color: var(--muted) !important;
  line-height: 1.6;
  margin-bottom: 16px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold) !important;
  transition: gap 0.3s ease;
}

.resource-card:hover .resource-link {
  gap: 10px;
}

/* ---- Guide Cards ---- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.guide-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.guide-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold) !important;
  background: rgba(182, 122, 34, 0.08) !important;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.guide-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 8px;
  line-height: 1.4;
}

.guide-card p {
  font-size: 14px;
  color: var(--muted) !important;
  line-height: 1.6;
  margin-bottom: 16px;
}

.guide-time {
  font-size: 12px;
  color: var(--muted) !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   DOCUMENTATION — Sidebar + Main + Code
   ============================================ */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.docs-nav-group {
  margin-bottom: 24px;
}

.docs-nav-group h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.docs-nav-group ul {
  list-style: none;
}

.docs-nav-group li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--muted) !important;
  border-radius: 8px;
  transition: all 0.2s;
}

.docs-nav-group li a:hover,
.docs-nav-group li a.active {
  color: var(--ink) !important;
  background: rgba(182, 122, 34, 0.06) !important;
}

.docs-main h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 16px;
  font-family: var(--serif);
}

.docs-main h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink) !important;
  margin: 32px 0 12px;
}

.docs-main p {
  color: var(--muted) !important;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted) !important;
  margin-bottom: 32px;
}

.docs-breadcrumb i {
  font-size: 10px;
}

.docs-callout {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(182, 122, 34, 0.04) !important;
  border: 1px solid rgba(182, 122, 34, 0.12) !important;
  border-radius: 12px;
  margin: 24px 0;
}

.docs-callout i {
  font-size: 20px;
  color: var(--gold) !important;
  margin-top: 2px;
  flex-shrink: 0;
}

.docs-callout strong {
  display: block;
  color: var(--ink) !important;
  margin-bottom: 4px;
}

.docs-callout p {
  margin-bottom: 0;
  font-size: 14px;
}

.docs-callout-success {
  background: rgba(6, 42, 34, 0.04) !important;
  border-color: rgba(6, 42, 34, 0.12) !important;
}

.docs-callout-success i {
  color: var(--green) !important;
}

/* ---- Code Blocks (keep dark for readability) ---- */
.docs-code-block {
  background: #1a1d17;
  border: 1px solid rgba(232, 220, 203, 0.08);
  border-radius: 12px;
  margin: 16px 0 24px;
  overflow: hidden;
}

.docs-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(232, 220, 203, 0.06);
}

.docs-code-lang {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted) !important;
}

.docs-copy-btn {
  background: transparent;
  border: none;
  color: var(--muted) !important;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.docs-copy-btn:hover {
  color: #e2e8f0 !important;
}

.docs-code-block pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
}

.docs-code-block code {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #e2e8f0;
}

/* ============================================
   HELP CENTER — Search + Categories + FAQ
   ============================================ */
.help-search {
  max-width: 500px;
  margin: 32px auto 0;
  position: relative;
}

.help-search i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted) !important;
}

.help-search-input {
  width: 100%;
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 50px;
  padding: 16px 24px 16px 52px;
  color: var(--ink) !important;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.help-search-input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(182, 122, 34, 0.12);
}

.help-search-input::placeholder {
  color: var(--muted) !important;
}

.help-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.help-cat-card {
  padding: 28px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.help-cat-card:hover {
  border-color: var(--gold) !important;
}

.help-cat-card i {
  font-size: 24px;
  color: var(--gold) !important;
  margin-bottom: 16px;
}

.help-cat-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 8px;
}

.help-cat-card p {
  font-size: 14px;
  color: var(--muted) !important;
  line-height: 1.6;
  margin-bottom: 12px;
}

.help-cat-card span {
  font-size: 12px;
  color: var(--muted) !important;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink) !important;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(182, 122, 34, 0.06) !important;
  color: var(--gold) !important;
  font-size: 13px;
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
}

.faq-question i.fa-chevron-down {
  color: var(--muted) !important;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i.fa-chevron-down {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p {
  color: var(--muted) !important;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================
   LEGAL PAGES — TOC + Body
   ============================================ */
.legal-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}

.legal-toc {
  position: sticky;
  top: 100px;
  align-self: start;
}

.legal-toc h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.legal-toc ul {
  list-style: none;
}

.legal-toc li {
  margin-bottom: 8px;
}

.legal-toc a {
  font-size: 14px;
  color: var(--muted) !important;
  transition: color 0.2s;
}

.legal-toc a:hover {
  color: var(--gold) !important;
}

.legal-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink) !important;
  margin: 40px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.legal-body h2:first-of-type {
  margin-top: 0;
  border-top: none;
}

.legal-body p {
  color: var(--muted) !important;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-body ul {
  margin: 0 0 20px 20px;
  color: var(--muted) !important;
  font-size: 15px;
  line-height: 1.8;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body strong {
  color: var(--ink) !important;
}

.legal-body a {
  color: var(--gold) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--green) !important;
}

/* ---- Cookie Table ---- */
.cookie-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
}

.cookie-table th,
.cookie-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line) !important;
}

.cookie-table th {
  color: var(--ink) !important;
  font-weight: 600;
  background: rgba(182, 122, 34, 0.04) !important;
}

.cookie-table td {
  color: var(--muted) !important;
}

/* ---- GDPR ---- */
.gdpr-highlight {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(182, 122, 34, 0.04) !important;
  border: 1px solid rgba(182, 122, 34, 0.12) !important;
  border-radius: 12px;
  margin: 24px 0;
}

.gdpr-highlight i {
  font-size: 24px;
  color: var(--gold) !important;
  margin-top: 2px;
}

.gdpr-highlight strong {
  display: block;
  color: var(--ink) !important;
  margin-bottom: 4px;
}

.gdpr-highlight p {
  margin-bottom: 0;
}

.gdpr-rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0 24px;
}

.gdpr-right-card {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.gdpr-right-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 6px;
}

.gdpr-right-card p {
  font-size: 13px;
  color: var(--muted) !important;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: var(--green) !important;
  color: #fffaf0 !important;
  border: 1px solid var(--green) !important;
  box-shadow: 0 16px 34px rgba(6, 42, 34, 0.18);
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--green-2) !important;
  border-color: var(--green-2) !important;
}

.btn-outline {
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  background: rgba(182, 122, 34, 0.04) !important;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ============================================
   SECTION SUBTITLE
   ============================================ */
.section-subtitle {
  color: var(--muted) !important;
  font-size: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
  background: #07130f !important;
  color: #a8a196;
}

.main-footer::before {
  background: linear-gradient(90deg, transparent, var(--gold), var(--green-2), var(--gold), transparent) !important;
}

/* ============================================
   INLINE STYLE OVERRIDES
   (targets style attributes in PHP files)
   ============================================ */
[style*="color: var(--text-secondary)"] {
  color: var(--muted) !important;
}

[style*="color: var(--text-muted)"] {
  color: var(--muted) !important;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar-track {
  background: var(--cream-2);
}

::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
  border: 2px solid var(--cream-2);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .content-grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .perks-grid,
  .help-categories,
  .guides-grid,
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-layout,
  .legal-content {
    grid-template-columns: 1fr;
  }

  .docs-sidebar,
  .legal-toc {
    position: static;
  }

  .gdpr-rights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex !important;
    margin-left: auto;
    flex-shrink: 0;
  }

  .hamburger-btn span {
    background: var(--ink) !important;
  }

  .nav-cta {
    display: none;
  }

  .page-hero {
    padding-top: 110px;
  }

  .page-hero-title {
    font-size: 34px;
  }

  .values-grid,
  .team-grid,
  .perks-grid,
  .help-categories,
  .guides-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .community-channels {
    grid-template-columns: 1fr;
  }

  .community-stats {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .gdpr-rights-grid {
    grid-template-columns: 1fr;
  }

  .job-card {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
