/* Able Driving Skool Homepage Blocks */

:root {
  --able-black: #111111;
  --able-red: #b00012;
  --able-yellow: #ffdd00;
  --able-light: #f7f7f7;
  --able-white: #ffffff;
  --able-text: #333333;
}

body .able-wrap {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

body .able-narrow {
  width: min(900px, calc(100% - 44px));
}

body .able-hero,
body .able-section,
body .able-trust,
body .able-final-cta {
  margin-top: 0;
  margin-bottom: 0;
}

body .able-hero {
  background: var(--able-white);
  padding: 92px 0 84px;
}

body .able-hero-grid,
body .able-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}

body .able-kicker {
  color: var(--able-red);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .055em;
  margin: 0 0 14px;
  font-size: 14px;
}

body .able-h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  margin: 0 0 22px;
  color: var(--able-black);
  font-weight: 900;
  letter-spacing: -0.045em;
}

body .able-hero p,
body .able-section p,
body .able-section li,
body .able-final-cta p {
  font-size: 18px;
  line-height: 1.72;
  color: var(--able-text);
}

body .able-lead {
  font-size: clamp(20px, 2vw, 23px) !important;
  line-height: 1.55 !important;
  color: #222222 !important;
  max-width: 720px;
  margin-bottom: 18px;
}

body .able-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 18px;
}

body .able-button .wp-block-button__link,
body .able-button a.wp-block-button__link {
  border-radius: 12px;
  padding: 15px 24px;
  font-weight: 850;
  font-size: 17px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

body .able-button .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

body .able-button-primary .wp-block-button__link {
  background: var(--able-red) !important;
  color: var(--able-white) !important;
}

body .able-button-secondary .wp-block-button__link {
  background: var(--able-yellow) !important;
  color: var(--able-black) !important;
}

body .able-trust-line {
  color: var(--able-black) !important;
  font-weight: 850;
  margin-top: 8px;
}

body .able-hero-card {
  background: var(--able-black);
  color: var(--able-white);
  border-radius: 28px;
  padding: clamp(32px, 4vw, 46px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
  position: relative;
  overflow: hidden;
}

body .able-hero-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: rgba(255,221,0,.10);
  right: -70px;
  bottom: -70px;
}

body .able-hero-card h2,
body .able-hero-card p {
  color: var(--able-white) !important;
  position: relative;
  z-index: 1;
}

body .able-hero-card h2 {
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.1;
  margin: 16px 0 10px;
  font-weight: 850;
}

body .able-l-plate {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  background: var(--able-red);
  color: var(--able-white) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px !important;
  line-height: 1 !important;
  font-weight: 950;
  border: 4px solid var(--able-white);
  margin: 0;
  position: relative;
  z-index: 1;
}

body .able-call-link a {
  color: var(--able-yellow);
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

body .able-trust {
  background: var(--able-black);
  padding: 32px 0;
}

body .able-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

body .able-trust-item {
  margin: 0;
}

body .able-trust h3 {
  color: var(--able-white);
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 6px;
  font-weight: 850;
}

body .able-trust p {
  color: var(--able-yellow);
  margin: 0;
  font-size: 15px;
}

body .able-section {
  padding: 82px 0;
  background: var(--able-white);
}

body .able-light {
  background: var(--able-light);
}

body .able-section h2,
body .able-final-cta h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: var(--able-black);
  font-weight: 900;
}

body .able-section h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--able-black);
  font-weight: 850;
}

body .able-section-intro {
  max-width: 860px;
  margin-bottom: 30px;
}

body .able-list {
  padding-left: 0;
  list-style: none;
  margin-top: 24px;
}

body .able-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

body .able-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--able-red);
  font-weight: 950;
}

body .able-panel,
body .able-price-box {
  background: var(--able-white);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 16px 38px rgba(0,0,0,.08);
  border-left: 7px solid var(--able-red);
}

body .able-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

body .able-area-list p {
  background: var(--able-yellow);
  color: var(--able-black) !important;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2 !important;
  margin: 0 !important;
}

body .able-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 32px;
}

body .able-card {
  background: var(--able-white);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  border-top: 5px solid var(--able-red);
}

body .able-card p {
  margin-bottom: 0;
}

body .able-faq {
  background: var(--able-white);
}

body .able-faq-item {
  border: 1px solid #dedede;
  border-radius: 14px;
  padding: 0;
  margin: 14px 0;
  background: var(--able-white);
  overflow: hidden;
}

body .able-faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-size: 19px;
  font-weight: 850;
  color: var(--able-black);
}

body .able-faq-item p {
  padding: 0 24px 22px;
  margin: 0;
}

body .able-final-cta {
  padding: 90px 0;
  background: var(--able-black);
  text-align: center;
}

body .able-final-cta h2,
body .able-final-cta p {
  color: var(--able-white) !important;
}

body .able-final-cta p {
  max-width: 760px;
  margin: 0 auto;
}

body .able-cta-inner {
  max-width: 860px;
}

body .able-buttons-center {
  justify-content: center;
}

@media (max-width: 980px) {
  body .able-hero {
    padding: 58px 0 54px;
  }

  body .able-section {
    padding: 58px 0;
  }

  body .able-hero-grid,
  body .able-two-col,
  body .able-card-grid,
  body .able-trust-grid {
    grid-template-columns: 1fr;
  }

  body .able-hero-card {
    min-height: auto;
  }

  body .able-buttons,
  body .able-buttons .wp-block-button,
  body .able-buttons .wp-block-button__link {
    width: 100%;
  }

  body .able-buttons .wp-block-button__link {
    text-align: center;
  }

  body .able-area-list {
    gap: 10px;
  }
}

@media (max-width: 600px) {
  body .able-wrap,
  body .able-narrow {
    width: min(100% - 32px, 1180px);
  }

  body .able-hero p,
  body .able-section p,
  body .able-section li,
  body .able-final-cta p {
    font-size: 17px;
  }

  body .able-trust-grid {
    text-align: left;
  }
}
