/* FreeWeightLoss.com - Classic Design */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');

:root {
  --primary-orange: #ff6600;
  --dark-orange: #cc5200;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #cccccc;
  --bg-light: #f5f5f5;
  --box-bg: #ffffff;
  --bs-primary: #ff6600;
  --bs-primary-rgb: 255, 102, 0;
}

/* Override Bootstrap primary colors */
.bg-primary {
  background-color: var(--primary-orange) !important;
}

.btn-primary {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--dark-orange);
  border-color: var(--dark-orange);
}

.btn-outline-primary {
  color: var(--primary-orange);
  border-color: var(--primary-orange);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #fff;
}

.text-primary {
  color: var(--primary-orange) !important;
}

.border-primary {
  border-color: var(--primary-orange) !important;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  background: #ffffff;
}

/* Header Top Section */
.header-top {
  background: #ffffff;
  padding: 20px 0 15px 0;
  border-bottom: 2px solid var(--primary-orange);
}

.header-top .logo {
  max-height: 60px;
  width: auto;
}

/* Header About Link */
.header-about-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.header-about-link:hover {
  background-color: #fff5eb;
}

.header-about-since {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-about-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.header-about-text i {
  color: var(--primary-orange);
  transition: transform 0.2s;
}

.header-about-link:hover .header-about-text i {
  transform: translateX(3px);
}

@media (max-width: 576px) {
  .header-about-link {
    padding: 0.25rem 0.5rem;
  }
  
  .header-about-since {
    font-size: 0.6rem;
  }
  
  .header-about-text {
    font-size: 0.8rem;
  }
}

/* Home Page Title Box */
.box_home_title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.box_home_title h1 {
  color: #000000;
  font-family: 'Oswald', sans-serif;
  font-size: 60px;
  line-height: 65px;
  font-weight: 700;
  letter-spacing: -3px;
  margin: 0;
}

.box_home_title h1 span {
  color: rgb(255, 102, 0);
  font-family: 'Oswald', sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 65px;
}

.box_home_title h2 {
  color: rgb(0, 0, 0);
  font-family: Arial, sans-serif;
  font-size: 26.6667px;
  line-height: 30px;
  font-weight: 700;
  font-style: italic;
  margin: 0 0 10px 0;
}

.box_home_title_sign_up {
  width: 400px;
  font-size: 20px;
}

.sign-up-section {
  display: flex;
  align-items: center;
}

.sign-up-left {
  text-align: right;
}

.sign-up-left img {
  width: 180px;
  padding: 30px 20px 30px 0;
}

.sign-up-right {
  text-align: left;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-dark);
}

.sign-up-right a {
  color: rgb(255, 102, 0);
  font-size: 20px;
  line-height: 22px;
  text-decoration: none;
  cursor: pointer;
}

.sign-up-right a:hover {
  color: rgb(255, 102, 0);
  text-decoration: none;
}

.welcome-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-orange);
  padding: 30px 0;
}

.header-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-orange);
  margin: 0;
  line-height: 1.2;
}

.header-subtitle {
  font-size: 14px;
  color: var(--text-dark);
  margin: 5px 0;
  line-height: 1.3;
}

.header-since {
  font-size: 12px;
  color: var(--text-light);
  margin: 5px 0;
}

.header-login {
  font-size: 13px;
  color: var(--text-dark);
}

.header-login a {
  color: var(--primary-orange);
  font-weight: bold;
  text-decoration: none;
}

.header-login a:hover {
  text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: var(--text-dark);
  font-family: Arial, Helvetica, sans-serif;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

/* Navigation */
.navbar {
  background: #f0f0f0 !important;
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  box-shadow: none;
  margin: 0;
}

.navbar-brand {
  font-weight: bold;
  font-size: 20px;
  color: var(--primary-orange) !important;
}

.navbar-nav {
  margin: 0;
}

.navbar-nav.justify-content-between {
  justify-content: center !important;
}

.nav-item {
  margin: 0;
  flex: 1;
  text-align: center;
}

.nav-link {
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-dark) !important;
  padding: 12px 15px !important;
  border-right: 1px solid var(--border-color);
  transition: all 0.2s;
  display: block;
  white-space: nowrap;
}

.nav-item:first-child .nav-link {
  border-left: 1px solid var(--border-color);
}

.nav-link:hover {
  color: #ffffff !important;
  background: var(--primary-orange);
}

/* Hero/Tagline Section */
.hero {
  background: var(--bg-light);
  padding: 20px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.hero h1 {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.hero h1 span {
  color: var(--primary-orange);
}

.hero p {
  font-size: 15px;
  color: var(--text-dark);
}

.tagline-box {
  background: var(--primary-orange);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  margin: 20px 0;
  border-radius: 3px;
}

.tagline-box span {
  font-weight: bold;
}

/* Box Tagline - Legacy Style */
.box_tagline {
  background: #333333;
  color: #ffffff;
  padding: 0;
  margin: 0 0 20px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.box_tagline .box_body {
  display: block;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 35px;
  font-weight: normal;
  font-style: italic;
  line-height: 40px;
  letter-spacing: -1px;
  margin: 0;
  padding: 20px 0;
  text-align: left;
  color: rgb(255, 255, 255);
}

/* 9 Box Grid Layout */
.grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.grid-box {
  flex: 0 0 auto;
  max-width: 350px;
}

/* Box Description */
.box_description {
  background-color: #ffffff;
  color: #6d6d6d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  max-width: 300px;
}

.box_description img {
  width: 300px;
  height: auto;
  display: block;
}

.box_read {
  max-width: 300px;
}

/* Box Read More Link */
.box_read {
  background-color: #ffffff;
  padding: 5px;
}

.box_read a,
.box_read a:link,
.box_read a:visited {
  color: rgb(255, 102, 0);
  font-family: 'Oswald', sans-serif !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
  cursor: pointer;
}

.box_read a:hover {
  color: #ff8c40;
  text-decoration: none;
}

/* Row 3 Featured Section Styles */
.bg_orange {
  background-color: var(--primary-orange);
  font-family: 'Oswald', sans-serif;
  color: #ffffff;
  font-size: 20px;
  padding: 5px;
  min-width: 280px;
  max-width: 300px;
}

/* Dark box style - used for featured content sections */
.box-dark,
.box_grey,
.box_review {
  background-color: #333333;
  color: #ffffff;
  padding: 5px;
  min-width: 280px;
  min-height: 500px;
  max-width: 300px;
}

/* Featured content row - equal heights */
.featured-row {
  display: flex;
  flex-wrap: wrap;
}

.featured-row > .col-md-4 {
  display: flex;
  flex-direction: column;
}

.featured-col {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-col .box_grey,
.featured-col .box_review {
  max-height: 500px;
  overflow-y: auto;
}

.featured-col .box_grey > div,
.featured-col .box_review > div {
  flex: 1;
}

.box-dark,
.box-dark p,
.box-dark span,
.box-dark .text-muted,
.box_grey,
.box_grey p,
.box_grey span,
.box_grey .text-muted,
.box_review,
.box_review p,
.box_review span,
.box_review .text-muted {
  color: #ffffff !important;
}

.box-dark a,
.box-dark a:link,
.box-dark a:visited,
.box_grey a,
.box_grey a:link,
.box_grey a:visited,
.box_review a,
.box_review a:link,
.box_review a:visited {
  color: var(--primary-orange);
  text-decoration: none;
}

.box-dark .featured-desc,
.box_grey .featured-desc,
.box_review .featured-desc {
  color: #ffffff;
  font-size: 13px;
}

.box-dark .read-link,
.box_grey .read-link,
.box_review .read-link {
  color: var(--primary-orange);
}

.box_grey_grid {
  background-color: #333333;
  color: #ffffff;
}

.box_grey_grid a,
.box_grey_grid a:link,
.box_grey_grid a:visited {
  color: var(--primary-orange);
  text-decoration: none;
}

/* Featured Content Grid Styles */
.box_grey_grid, .box_review_grid {
  border: none;
  margin-bottom: 5px;
}

.box_grey_grid td, .box_review_grid td {
  padding: 10px 5px;
}

.featured-desc {
  font-size: 13px;
  color: var(--text-light);
  display: block;
  margin: 2px 0;
  line-height: 1.3;
}

.read-link {
  font-size: 12px;
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: normal;
}

.read-link:hover {
  text-decoration: underline;
}

.featured-item {
  margin-bottom: 0;
}

.box_grey hr, .box_review hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 6px 0;
}

.box_grey hr:last-child, .box_review hr:last-child {
  display: none;
}

/* Box Sections */
.box-section {
  background: var(--box-bg);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  border-radius: 3px;
}

.box-header {
  background: var(--primary-orange);
  color: white;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 3px 3px 0 0;
}

.box-content {
  padding: 15px;
  background: var(--bg-light);
}

.box-description {
  background: white;
  border: 1px solid var(--border-color);
  padding: 15px;
  margin-bottom: 10px;
  min-height: 200px;
}

.box-description img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.box-read {
  text-align: center;
  padding: 10px;
}

.box-read a {
  background: var(--primary-orange);
  color: white;
  padding: 8px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 3px;
  display: inline-block;
}

.box-read a:hover {
  background: var(--dark-orange);
}

/* Featured Lists */
.featured-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.featured-list li {
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

.featured-list li:last-child {
  border-bottom: none;
}

.featured-list a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.featured-list a:hover {
  color: var(--primary-orange);
}

.featured-list .description {
  color: var(--text-light);
  font-size: 13px;
  margin: 5px 0;
}

.featured-list .read-more {
  color: var(--primary-orange);
  font-size: 12px;
}

/* Cards (modernized boxes) */
.card {
  border: 1px solid var(--border-color);
  border-radius: 3px;
  background: white;
}

.card-body {
  padding: 15px;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.card-text {
  color: var(--text-light);
  font-size: 13px;
}

/* Buttons */
.btn {
  border-radius: 3px;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  padding: 8px 20px;
}

.btn-primary {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: white;
}

.btn-primary:hover {
  background: var(--dark-orange);
  border-color: var(--dark-orange);
}

.btn-outline-primary {
  color: var(--primary-orange);
  border-color: var(--primary-orange);
}

.btn-outline-primary:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: white;
}

/* Badge */
.badge {
  border-radius: 3px;
  font-weight: bold;
  padding: 4px 8px;
  font-size: 11px;
}

.badge-success {
  background: #28a745;
}

.badge-warning {
  background: var(--primary-orange);
}

/* Footer - Legacy Style */
.bg_footer {
  background: #2c2c2c;
  color: #cccccc;
  padding: 30px 0 0 0;
  margin-top: 40px;
  width: 100%;
}

.box_footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer_link {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px 0;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
}

.footer_link > div {
  padding: 10px;
}

.footer_link h2 {
  color: #ffffff;
  font-size: 24px;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-weight: normal;
  margin-top: 0px;
  margin-bottom: 10px;
  line-height: 24px;
  letter-spacing: -1px;
  text-transform: none;
  padding: 0;
}

.footer_link a {
  color: var(--primary-orange);
  text-decoration: none;
  font-size: 13px;
  line-height: 2;
  display: inline-block;
  outline: none;
  font-family: Arial, Helvetica, sans-serif, Oswald;
}

.footer_link a:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

.footer-copyright {
  border-top: 1px solid #444;
  color: #999999;
  font-size: 12px;
  padding: 15px 10px;
  margin-top: 20px;
}

.footer-copyright a {
  color: #cccccc;
  text-decoration: none;
  font-size: 12px;
}

.footer-copyright a:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

/* Footer Legal Disclaimer */
.footer-legal {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.footer-legal-text {
  color: #b0b0b0;
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0;
}

.footer-legal-text i {
  color: var(--primary-orange);
  margin-right: 0.5rem;
}

.footer-legal-text a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--primary-orange);
}

.footer-legal-text a:hover {
  color: var(--primary-orange);
  border-bottom-style: solid;
}

/* Card/Panel Headers with Subtle Orange */
.bg-primary {
  background: linear-gradient(135deg, #ffe0c2 0%, #fff5eb 100%) !important;
  border-left: 4px solid var(--primary-orange);
  color: var(--text-dark) !important;
  font-weight: 600;
}

/* Form Controls */
.form-control {
  border-radius: 3px;
  border: 1px solid var(--border-color);
  font-size: 13px;
}

.form-control:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

/* Accessibility */
.btn:focus, .btn:active:focus, .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25);
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

a:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-orange);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Utilities */
.text-primary {
  color: var(--primary-orange) !important;
}

.text-orange {
  color: var(--primary-orange) !important;
}

.bg-orange {
  background-color: var(--primary-orange) !important;
  color: white;
}

.border-orange {
  border-color: var(--primary-orange) !important;
}

/* Cookie Consent */
#cookieConsent {
  background: #2c2c2c !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 22px;
  }
  
  h1 { font-size: 20px; }
  h2 { font-size: 18px; }
}

/* ========================================
   Google Ads Styles
   ======================================== */

.ad-container {
  text-align: center;
  margin: 20px 0;
  min-height: 90px;
  overflow: hidden;
}

.ad-container-full {
  width: 100%;
  max-width: 100%;
}

/* Placeholder for when ads are disabled (development) */
.ad-placeholder {
  background: linear-gradient(135deg, #f0f0f0 25%, #e8e8e8 25%, #e8e8e8 50%, #f0f0f0 50%, #f0f0f0 75%, #e8e8e8 75%);
  background-size: 20px 20px;
  border: 2px dashed #ccc;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.ad-placeholder-text {
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 4px;
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ad spacing adjustments */
.ad-below-header {
  margin-top: 0;
  margin-bottom: 20px;
}

.ad-above-footer {
  margin-top: 30px;
  margin-bottom: 0;
}

.ad-above-tagline {
  margin-top: 20px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .ad-container {
    min-height: 50px;
    margin: 15px 0;
  }
  
  .ad-placeholder {
    min-height: 50px;
  }
}

/* ========================================
   Utility Classes for Common Patterns
   ======================================== */

/* Text color accent (replaces inline style="color:#ff6600") */
.text-accent {
  color: var(--primary-orange) !important;
}

/* Box description text padding (replaces inline style="padding: 10px;") */
.box-description-text {
  padding: 10px;
}

/* Featured link font size (replaces inline style="font-size:14px;") */
.featured-link {
  font-size: 14px;
}

/* Card image fixed height (replaces inline style="height: 200px; object-fit: cover;") */
.card-img-fixed {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.card-img-fixed-lg {
  height: 300px;
  object-fit: cover;
  width: 100%;
}

/* User avatar styles */
.user-avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
}

.user-avatar-md {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
}

.user-avatar-lg {
  width: 48px;
  height: 48px;
}

/* Stats icons */
.stats-icon {
  font-size: 2rem;
}

/* Empty state icons */
.empty-state-icon {
  font-size: 4rem;
  color: #ccc;
}

/* Calculator icons */
.calculator-icon {
  font-size: 3rem;
}

.calculator-icon i {
  display: block;
}

/* Bootstrap color classes for icons */
.calculator-icon-primary { color: #0d6efd; }
.calculator-icon-success { color: #198754; }
.calculator-icon-danger { color: #dc3545; }
.calculator-icon-warning { color: #fd7e14; }
.calculator-icon-info { color: #0dcaf0; }
.calculator-icon-pink { color: #d63384; }
.calculator-icon-secondary { color: #6c757d; }

/* Recipe meta icons (replaces inline style="font-size: 1.5rem;") */
.recipe-meta-icon {
  font-size: 1.5rem;
}

/* Recipe detail featured image - constrain size */
.recipe-detail-img {
  max-height: 400px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
}

/* Forum icons */
.forum-icon-lg { font-size: 2rem; }
.forum-icon-xl { font-size: 4rem; }

/* ========================================
   Additional Utility Classes
   ======================================== */

/* Icon sizes - replaces inline font-size styles */
.icon-2x { font-size: 2rem !important; }
.icon-3x { font-size: 3rem !important; }
.icon-4x { font-size: 4rem !important; }
.icon-5x { font-size: 5rem !important; }

/* Card image heights - replaces inline height/object-fit styles */
.card-img-150 {
  height: 150px;
  object-fit: cover;
  width: 100%;
}

.card-img-200 {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.card-img-250 {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

/* Avatar sizes - replaces inline width/height styles */
.avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
}

.avatar-md {
  width: 50px;
  height: 50px;
  font-size: 1rem;
}

.avatar-lg {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}

.avatar-xl {
  width: 150px;
  height: 150px;
  font-size: 3rem;
}

/* Progress bar height */
.progress-lg {
  height: 30px;
}

/* Input width constraints */
.input-narrow {
  max-width: 100px;
}

.input-medium {
  max-width: 200px;
}

.input-wide {
  max-width: 500px;
}

/* Hidden elements for JS toggle */
.js-hidden {
  display: none;
}

/* Cookie consent z-index */
.z-top {
  z-index: 9999;
}

/* Placeholder background for empty images */
.placeholder-bg {
  background: linear-gradient(135deg, #f0f0f0 25%, #e8e8e8 25%, #e8e8e8 50%, #f0f0f0 50%, #f0f0f0 75%, #e8e8e8 75%);
  background-size: 20px 20px;
}

/* Calculator card header colors */
.bg-pink { background-color: #d63384 !important; }
.text-pink { color: #d63384 !important; }

/* Admin table column widths */
.col-w-60 { width: 60px; }
.col-w-100 { width: 100px; }
.col-w-150 { width: 150px; }

/* Hover opacity for admin links */
.hover-opacity {
  opacity: 0.5;
  transition: opacity 0.2s;
}
.hover-opacity:hover {
  opacity: 1;
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(135deg, #fff5eb 0%, #ffffff 100%);
  padding: 3rem 0;
  border-bottom: 3px solid var(--primary-orange);
}

.about-hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.about-hero-tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.about-hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Timeline Styles */
.about-timeline {
  position: relative;
  padding-left: 40px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-orange), #ffd4b3);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--border-color);
  z-index: 1;
}

.timeline-marker.active {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.2);
}

.timeline-marker.future {
  background: #ffffff;
  border: 3px dashed var(--primary-orange);
}

.timeline-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.timeline-year {
  display: inline-block;
  background: var(--text-dark);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.timeline-content h4 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

/* Values Strip */
.about-values {
  background: var(--bg-light);
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.25rem;
  }
  
  .about-hero-tagline {
    font-size: 1.25rem;
  }
  
  .about-timeline {
    padding-left: 30px;
  }
  
  .about-timeline::before {
    left: 8px;
  }
  
  .timeline-marker {
    left: -30px;
    width: 20px;
    height: 20px;
  }
}

/* ============================================
   Legal Document Styles (Privacy, Terms, Disclaimer)
   ============================================ */
.legal-document {
  background: #ffffff;
  padding: 2rem 0 4rem;
}

.legal-header {
  text-align: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--primary-orange);
}

.legal-header h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.legal-meta i {
  color: var(--primary-orange);
}

/* Table of Contents */
.legal-toc {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.legal-toc h6 {
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 2rem;
}

.legal-toc li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

.legal-toc a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-toc a:hover {
  color: var(--primary-orange);
}

/* Notice & Warning Boxes */
.legal-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff5eb;
  border-left: 4px solid var(--primary-orange);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: 0 8px 8px 0;
}

.legal-notice i {
  color: var(--primary-orange);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.legal-warning {
  background: #fff8e6;
  border-left: 4px solid #cc8400;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0 8px 8px 0;
  color: var(--text-dark);
}

/* Document Body & Sections */
.legal-body {
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-orange);
  display: inline-block;
}

.legal-section p {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.legal-section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.legal-section li strong {
  color: var(--text-dark);
}

/* Agreement Box */
.legal-agreement {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
}

.legal-agreement i {
  color: #28a745;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.legal-agreement a {
  color: var(--primary-orange);
}

/* Footer */
.legal-footer {
  text-align: center;
  padding-top: 1.5rem;
  color: var(--text-light);
}

.legal-footer p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.legal-footer a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.legal-footer a:hover {
  color: var(--primary-orange);
}

/* Responsive */
@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 2rem;
  }
  
  .legal-toc ol {
    columns: 1;
  }
  
  .legal-notice,
  .legal-agreement {
    flex-direction: column;
    text-align: center;
  }
}
