/*
Theme Name: LadderEA Theme
Theme URI: https://ladderea.com
Author: LadderEA
Author URI: https://ladderea.com
Description: Premium dark forex EA review and trading tools WordPress theme for MT4/MT5 EA reviews, Gold EAs, indicators, AI trading bots, and custom EA development.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ladderea-theme
*/

:root {
  --le-bg: #f7f8fb;
  --le-bg-soft: #ffffff;
  --le-surface: #ffffff;
  --le-surface-2: #f3f6fb;
  --le-border: rgba(15, 23, 42, 0.12);
  --le-text: #111827;
  --le-muted: #64748b;
  --le-green: #16a34a;
  --le-green-soft: rgba(25, 195, 125, 0.14);
  --le-gold: #d6a740;
  --le-gold-soft: rgba(214, 167, 64, 0.15);
  --le-danger: #ffcf66;
  --le-max: 1180px;
  --le-radius: 8px;
  --le-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--le-bg);
  color: var(--le-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--le-green);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--le-gold);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell,
.le-container {
  width: min(100% - 40px, var(--le-max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--le-border);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}

.custom-logo-link img {
  display: block;
  width: auto;
  max-height: 44px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(25, 195, 125, 0.45);
  border-radius: var(--le-radius);
  background: linear-gradient(135deg, rgba(25, 195, 125, 0.22), rgba(214, 167, 64, 0.18));
  color: var(--le-green);
  font-weight: 800;
}

.site-title {
  display: block;
  color: var(--le-text);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.site-description {
  margin: 3px 0 0;
  color: var(--le-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--le-border);
  border-radius: var(--le-radius);
  background: var(--le-surface);
  color: var(--le-text);
  cursor: pointer;
}

.mobile-menu-toggle svg {
  width: 22px;
  height: 22px;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--le-radius);
  color: var(--le-muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  background: rgba(255, 255, 255, 0.06);
  color: var(--le-text);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(42, 171, 238, 0.35);
  border-radius: var(--le-radius);
  background: #2aabee;
  color: #ffffff;
  font-weight: 750;
  white-space: nowrap;
}

.header-action:hover {
  background: #179bd7;
  color: #ffffff;
}

.hero {
  padding: 86px 0 60px;
  background:
    linear-gradient(135deg, rgba(25, 195, 125, 0.12), transparent 36%),
    linear-gradient(225deg, rgba(214, 167, 64, 0.14), transparent 34%),
    var(--le-bg);
  border-bottom: 1px solid var(--le-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--le-green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--le-gold);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px;
  color: var(--le-text);
  line-height: 1.16;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 6vw, 4.7rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0 0 18px;
}

.lead {
  max-width: 720px;
  color: var(--le-muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--le-radius);
  background: var(--le-green);
  color: #03100b;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
}

.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: #22d98f;
  color: #03100b;
}

.button.button-secondary {
  border-color: rgba(214, 167, 64, 0.5);
  background: transparent;
  color: var(--le-text);
}

.button.button-secondary:hover {
  background: var(--le-gold-soft);
  color: var(--le-text);
}

.market-panel {
  border: 1px solid var(--le-border);
  border-radius: var(--le-radius);
  background: linear-gradient(180deg, rgba(17, 30, 50, 0.95), rgba(8, 17, 31, 0.95));
  box-shadow: var(--le-shadow);
  overflow: hidden;
}

.market-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--le-border);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--le-green-soft);
  color: var(--le-green);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--le-border);
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: var(--le-surface);
}

.metric-list span {
  color: var(--le-muted);
}

.metric-list strong {
  color: var(--le-text);
  text-align: right;
}

.search-band {
  padding: 24px;
  margin-top: -34px;
  border: 1px solid var(--le-border);
  border-radius: var(--le-radius);
  background: var(--le-surface);
  box-shadow: var(--le-shadow);
}

.search-band .search-form,
.widget_search .search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-form label {
  display: block;
}

.search-field,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--le-border);
  border-radius: var(--le-radius);
  background: #07101d;
  color: var(--le-text);
}

textarea {
  min-height: 140px;
}

.section {
  padding: 72px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-header p {
  max-width: 640px;
  color: var(--le-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card,
.feature-card,
.fact-box,
.risk-box,
.cta-panel,
.content-card {
  border: 1px solid var(--le-border);
  border-radius: var(--le-radius);
  background: var(--le-surface);
}

.post-card,
.feature-card {
  overflow: hidden;
}

.post-card-thumbnail {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(25, 195, 125, 0.18), rgba(214, 167, 64, 0.13));
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body,
.feature-card,
.content-card {
  padding: 22px;
}

.post-meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
  color: var(--le-muted);
  font-size: 0.9rem;
}

.post-card h3 a,
.entry-title a {
  color: var(--le-text);
}

.post-card h3 a:hover,
.entry-title a:hover {
  color: var(--le-green);
}

.feature-card p,
.post-card p,
.archive-description,
.entry-content,
.page-content {
  color: var(--le-muted);
}

.category-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list a {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--le-border);
  border-radius: var(--le-radius);
  background: var(--le-surface);
  color: var(--le-text);
  font-weight: 800;
}

.category-list a:hover {
  border-color: rgba(25, 195, 125, 0.45);
  background: var(--le-green-soft);
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--le-gold-soft);
  color: var(--le-gold);
  font-size: 0.82rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(25, 195, 125, 0.12), transparent 42%),
    var(--le-surface-2);
}

.risk-box {
  padding: 22px;
  border-color: rgba(255, 207, 102, 0.35);
  background: rgba(255, 207, 102, 0.08);
}

.risk-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--le-danger);
}

.site-main {
  min-height: 56vh;
}

.content-wrap {
  width: min(100% - 40px, 860px);
  margin: 0 auto;
  padding: 64px 0;
}

.page-hero,
.archive-hero {
  padding: 58px 0 38px;
  border-bottom: 1px solid var(--le-border);
  background: var(--le-bg-soft);
}

.entry-content > * {
  max-width: 860px;
}

.entry-content > .alignwide {
  max-width: var(--le-max);
}

.entry-content > .alignfull {
  max-width: none;
  width: 100%;
}

.entry-content h2,
.entry-content h3,
.page-content h2,
.page-content h3 {
  margin-top: 34px;
}

.entry-content blockquote {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--le-gold);
  background: rgba(214, 167, 64, 0.08);
  color: var(--le-text);
}

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

.entry-content th,
.entry-content td {
  padding: 12px;
  border: 1px solid var(--le-border);
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  width: min(100% - 40px, var(--le-max));
  margin: 0 auto;
  padding: 56px 0;
}

.single-featured {
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--le-border);
  border-radius: var(--le-radius);
  background: var(--le-surface);
}

.single-featured img {
  display: block;
  width: 100%;
}

.review-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}

.fact-box,
.related-box {
  padding: 22px;
}

.fact-box ul,
.related-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-box li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--le-border);
}

.fact-box li:last-child {
  border-bottom: 0;
}

.fact-box span {
  color: var(--le-muted);
}

.fact-box strong {
  text-align: right;
}

.related-box li + li {
  margin-top: 12px;
}

.post-list {
  display: grid;
  gap: 18px;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.page-numbers,
.post-page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--le-border);
  border-radius: var(--le-radius);
  color: var(--le-text);
}

.page-numbers.current,
.page-numbers:hover,
.post-page-numbers.current,
.post-page-numbers:hover {
  background: var(--le-green);
  color: #03100b;
}

.site-footer {
  border-top: 1px solid var(--le-border);
  background: #030712;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  padding: 46px 0;
}

.footer-grid p,
.footer-grid li {
  color: var(--le-muted);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--le-border);
  color: var(--le-muted);
  font-size: 0.9rem;
}

.mobile-bottom-nav {
  display: none;
}

.mobile-bottom-nav a {
  color: var(--le-muted);
}

.mobile-bottom-nav svg {
  width: 21px;
  height: 21px;
}

@media (max-width: 980px) {
  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .primary-navigation {
    display: none;
    order: 4;
    width: 100%;
    padding-top: 12px;
  }

  .primary-navigation.is-open,
  body.ladderea-mobile-menu-open .primary-navigation {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
  }

  .primary-navigation a {
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--le-border);
    background: rgba(255, 255, 255, 0.04);
  }

  .header-action {
    display: none;
  }

  .hero-grid,
  .single-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-shell,
  .le-container,
  .content-wrap,
  .single-layout {
    width: min(100% - 28px, var(--le-max));
  }

  .hero {
    padding: 54px 0 46px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    display: block;
  }

  .card-grid,
  .category-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .search-band .search-form,
  .widget_search .search-form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: block;
  }

  .metric-list li,
  .fact-box li {
    display: block;
  }

  .metric-list strong,
  .fact-box strong {
    display: block;
    margin-top: 4px;
    text-align: left;
  }
}

/* Mobile hardening for Elementor/WooCommerce content used on live LadderEA pages. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.elementor,
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.e-con,
.e-con-inner,
.woocommerce,
.shopengine,
.site-main {
  max-width: 100%;
}

.elementor img,
.woocommerce img,
.shopengine img {
  max-width: 100%;
  height: auto;
}

.elementor-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  white-space: normal;
  text-align: center;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  float: none;
}

@media (max-width: 782px) {
  body {
    padding-bottom: 76px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    gap: 14px;
    min-height: auto;
  }

  .site-branding {
    width: 100%;
    min-width: 0;
  }

  .site-title {
    font-size: 1rem;
  }

  .site-description {
    font-size: 0.76rem;
  }

  .elementor-section,
  .elementor-container,
  .e-con,
  .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
  }

  .e-con,
  .e-con-inner {
    --width: 100%;
    --min-height: auto;
  }

  .elementor-element,
  .elementor-widget,
  .elementor-widget-container {
    max-width: 100%;
  }

  .elementor-heading-title {
    overflow-wrap: anywhere;
  }

  .elementor-widget-heading h1,
  .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(1.75rem, 8vw, 2.65rem) !important;
    line-height: 1.12 !important;
  }

  .elementor-widget-heading h2,
  .elementor-widget-heading h3 {
    font-size: clamp(1.3rem, 6vw, 2rem) !important;
    line-height: 1.18 !important;
  }

  .elementor-widget-text-editor,
  .elementor-widget-text-editor p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .elementor-button-wrapper,
  .wp-block-buttons,
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .elementor-button,
  .wp-block-button__link,
  .button {
    width: 100%;
    max-width: 100%;
  }

  .search-band,
  .elementor-search-form,
  .woocommerce .woocommerce-ordering,
  .woocommerce .woocommerce-result-count {
    width: 100%;
  }

  .woocommerce ul.products,
  .shopengine ul.products,
  .shopengine-grid,
  .shopengine-product-list,
  .card-grid,
  .category-list {
    grid-template-columns: 1fr !important;
  }

  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce-page ul.products[class*="columns-"] li.product {
    width: 100% !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 999;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    background: rgba(5, 9, 20, 0.94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav a {
    display: grid;
    min-width: 0;
    min-height: 54px;
    place-items: center;
    gap: 3px;
    padding: 6px 4px;
    border-radius: 13px;
    color: var(--le-muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.1;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:focus {
    background: rgba(25, 195, 125, 0.12);
    color: var(--le-text);
  }

.mobile-bottom-nav .cart-link {
    color: var(--le-gold);
  }

  .ladderea-floating-menu {
    position: fixed;
    top: 92px;
    right: 12px;
    z-index: 1001;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(214, 167, 64, 0.55);
    border-radius: 999px;
    background: rgba(5, 9, 20, 0.94);
    color: var(--le-text);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  }

  .ladderea-floating-menu svg {
    width: 22px;
    height: 22px;
  }

  .ladderea-mobile-panel {
    position: fixed;
    top: 142px;
    right: 12px;
    z-index: 1000;
    display: none;
    width: min(260px, calc(100vw - 24px));
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    background: rgba(5, 9, 20, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
  }

  .ladderea-mobile-panel.is-open {
    display: grid;
    gap: 8px;
  }

  .ladderea-mobile-panel strong {
    display: block;
    margin-bottom: 6px;
    color: var(--le-text);
  }

  .ladderea-mobile-panel a {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--le-border);
    border-radius: 12px;
    color: var(--le-text);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    font-weight: 800;
  }

  .ladderea-js-bottom-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 1001;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    background: rgba(5, 9, 20, 0.94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
  }

  .ladderea-js-bottom-nav a {
    display: grid;
    min-height: 54px;
    place-items: center;
    gap: 3px;
    padding: 6px 4px;
    border-radius: 13px;
    color: var(--le-muted);
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .ladderea-js-bottom-nav span {
    color: var(--le-gold);
    font-size: 1.15rem;
  }

  .ladderea-js-bottom-nav strong {
    font-size: 0.72rem;
  }
}

@media (min-width: 783px) {
  .ladderea-app-header,
  .ladderea-app-menu-button,
  .ladderea-floating-menu,
  .ladderea-mobile-panel,
  .ladderea-js-bottom-nav {
    display: none !important;
  }
}

.ladderea-app-header,
.ladderea-app-menu-button,
.ladderea-js-bottom-nav {
  display: none;
}

@media (max-width: 782px) {
  body {
    padding-top: 66px;
    padding-bottom: 92px;
    background: #f7f8fb;
  }

  body.admin-bar {
    padding-top: 112px;
  }

  .site-header {
    display: none;
  }

  .ladderea-app-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 66px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
  }

  body.admin-bar .ladderea-app-header {
    top: 46px;
  }

  .ladderea-app-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    color: #111827;
  }

  .ladderea-app-logo {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 9px;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .ladderea-app-brand strong {
    overflow: hidden;
    color: #111827;
    font-size: 1.02rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ladderea-telegram-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 10px;
    background: #2aabee;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(42, 171, 238, 0.25);
  }

  .ladderea-telegram-cta:hover,
  .ladderea-telegram-cta:focus {
    color: #ffffff;
    background: #179bd7;
  }

  .ladderea-app-menu-button {
    display: none;
  }

  .ladderea-mobile-panel {
    top: auto;
    right: 12px;
    bottom: 92px;
    left: 12px;
    z-index: 1102;
    width: auto;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
  }

  .ladderea-mobile-panel.is-open {
    display: grid;
    gap: 8px;
  }

  .ladderea-mobile-panel strong {
    color: #111827;
  }

  .ladderea-mobile-panel a {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    color: #111827;
  }

  .ladderea-js-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1101;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 76px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.12);
  }

  .ladderea-js-bottom-nav a,
  .ladderea-js-bottom-nav button {
    display: grid;
    min-width: 0;
    min-height: 58px;
    place-items: center;
    gap: 3px;
    padding: 5px 2px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #475569;
    cursor: pointer;
    font: inherit;
    line-height: 1.1;
  }

  .ladderea-js-bottom-nav svg {
    width: 23px;
    height: 23px;
  }

  .ladderea-js-bottom-nav strong {
    font-size: 0.68rem;
    font-weight: 900;
  }

  .ladderea-js-bottom-nav .membership-link {
    position: relative;
    transform: translateY(-18px);
    color: #ffffff;
  }

  .ladderea-js-bottom-nav .membership-link svg {
    display: grid;
    width: 54px;
    height: 54px;
    padding: 13px;
    border: 4px solid #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a34a, #d6a740);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
  }

  .ladderea-js-bottom-nav .membership-link strong {
    width: 78px;
    color: #111827;
    font-size: 0.62rem;
    text-align: center;
  }

  .ladderea-js-bottom-nav a:hover,
  .ladderea-js-bottom-nav a:focus,
  .ladderea-js-bottom-nav button:hover,
  .ladderea-js-bottom-nav button:focus {
    background: #f1f5f9;
    color: #111827;
  }
}

@media (max-width: 480px) {
  .site-shell,
  .le-container,
  .content-wrap,
  .single-layout {
    width: min(100% - 24px, var(--le-max));
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  .hero,
  .page-hero,
  .archive-hero {
    padding-left: 0;
    padding-right: 0;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .lead {
    font-size: 1rem;
  }

  .post-card-body,
  .feature-card,
  .content-card,
  .fact-box,
  .risk-box,
  .cta-panel,
  .search-band {
    padding: 18px;
  }
}

/* How We Work page template */
.lea-work-container {
  width: min(100% - 34px, 1120px);
  margin: 0 auto;
}

.lea-work-hero {
  padding: 88px 0 70px;
  background:
    radial-gradient(circle at 12% 10%, rgba(22, 163, 74, 0.10), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(214, 167, 64, 0.18), transparent 32%),
    linear-gradient(110deg, #ffffff, #fff7e8);
}

.lea-work-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: #16a34a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lea-work-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #d6a740;
}

.lea-work-hero h1,
.lea-work-heading h2,
.lea-work-split h2 {
  color: #111827;
  letter-spacing: 0;
}

.lea-work-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  line-height: 1.08;
}

.lea-work-hero p {
  max-width: 780px;
  margin: 0;
  color: #64748b;
  font-size: 1.08rem;
}

.lea-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.lea-work-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 900;
}

.lea-work-button-primary {
  border: 1px solid #16a34a;
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(22, 163, 74, 0.18);
}

.lea-work-button-primary:hover {
  background: #12813c;
  color: #ffffff;
}

.lea-work-button-outline {
  border: 1px solid #d7deea;
  background: #ffffff;
  color: #111827;
}

.lea-work-button-outline:hover {
  border-color: #16a34a;
  background: #eefdf4;
  color: #12813c;
}

.lea-work-section {
  padding: 72px 0;
  background: #f7f8fb;
}

.lea-work-section-white {
  background: #ffffff;
}

.lea-work-heading {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.lea-work-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.lea-work-heading p,
.lea-work-card p,
.lea-price-card p,
.lea-work-split p,
.lea-work-risk p {
  color: #64748b;
}

.lea-work-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lea-work-card,
.lea-price-card {
  min-width: 0;
  border: 1px solid #e3e9f3;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.lea-work-card {
  padding: 24px;
}

.lea-work-card span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 12px;
  background: #eefdf4;
  color: #16a34a;
  font-weight: 900;
}

.lea-work-card h3,
.lea-price-card h3 {
  color: #111827;
}

.lea-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.lea-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 330px;
  padding: 34px 28px;
  text-align: center;
}

.lea-price-card.is-featured {
  border-color: #d6a740;
  background:
    radial-gradient(circle at 90% 10%, rgba(214, 167, 64, 0.16), transparent 28%),
    #ffffff;
}

.lea-price-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 13px;
  border-radius: 999px;
  background: #d6a740;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.lea-price-time {
  margin-top: -6px;
  font-size: 0.92rem;
}

.lea-price {
  margin: 14px 0 18px;
  color: #16a34a;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 950;
}

.lea-price-card .lea-work-button {
  width: 100%;
  margin-top: auto;
}

.lea-work-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.lea-work-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lea-work-checklist li {
  padding: 14px 16px;
  border: 1px solid #e3e9f3;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font-weight: 750;
}

.lea-work-checklist li::before {
  content: "+";
  margin-right: 10px;
  color: #16a34a;
  font-weight: 950;
}

.lea-work-risk {
  padding: 30px 0;
  background: #fff7e8;
  border-top: 1px solid rgba(214, 167, 64, 0.25);
}

.lea-work-risk strong {
  display: block;
  margin-bottom: 8px;
  color: #9a6b00;
}

@media (max-width: 960px) {
  .lea-work-steps,
  .lea-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lea-price-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, 540px);
    justify-self: center;
  }

  .lea-work-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .lea-work-container {
    width: min(100% - 22px, 1120px);
  }

  .lea-work-hero {
    padding: 44px 0 42px;
  }

  .lea-work-section {
    padding: 52px 0;
  }

  .lea-work-steps,
  .lea-price-grid {
    grid-template-columns: 1fr;
  }

  .lea-price-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .lea-work-actions,
  .lea-work-button {
    width: 100%;
  }

  .lea-price-card {
    min-height: auto;
  }
}
