/* Council lease extension pages: quick answer, facts, CTA band, sticky CTA, sources.
   Loaded only on the council pages (via $seo['headExtra']). */

.cl-intro { padding: 48px 0 8px; }
.cl-answer {
  border-left: 5px solid var(--accent-color);
  background: #f3faf5;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #1f3a2b;
}
.cl-answer p:last-child { margin-bottom: 0; }
.cl-reviewed {
  display: flex; align-items: center; gap: .75rem;
  margin-top: 1rem; font-size: .92rem; color: #4d6357;
}
.cl-reviewed i { font-size: 1.6rem; color: var(--accent-color); }
.cl-reviewed a { color: inherit; text-decoration: underline; }

.cl-facts { width: 100%; border-collapse: collapse; margin: 0; background: #fff; }
.cl-facts th, .cl-facts td { padding: .7rem .9rem; border-bottom: 1px solid #e3ece6; vertical-align: top; text-align: left; font-size: .97rem; }
.cl-facts th { width: 36%; color: var(--heading-color); font-weight: 600; background: #f8fbf9; }
.cl-facts-wrap { border: 1px solid #e3ece6; border-radius: 12px; overflow: hidden; }
.cl-facts-title { font-size: 1.35rem; margin: 0 0 .9rem; color: var(--heading-color); }

.cl-know { padding: 56px 0; }
.cl-know h2 { font-size: 1.7rem; margin-bottom: 1rem; color: var(--heading-color); }
.cl-know h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; color: var(--heading-color); }
.cl-know p, .cl-know li { line-height: 1.7; }
.cl-know .cl-body { max-width: 860px; }

/* CTA band */
.cl-cta {
  background: linear-gradient(135deg, #0d3035 0%, #145a3a 100%);
  color: #fff; border-radius: 18px; padding: 2rem 2rem 1.75rem;
  box-shadow: 0 18px 40px rgba(13, 48, 53, .18);
  margin: 8px 0 0;
}
.cl-cta h2 { color: #fff; font-size: 1.65rem; margin-bottom: .5rem; }
.cl-cta p { color: rgba(255,255,255,.88); margin-bottom: 1rem; }
.cl-cta ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem 1.25rem; }
.cl-cta li { display: flex; gap: .5rem; align-items: flex-start; color: #fff; }
.cl-cta li i { color: #7ee2a0; margin-top: .15rem; }
.cl-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cl-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 8px; font-weight: 600;
  text-decoration: none; font-family: var(--heading-font); transition: transform .15s ease, background .15s ease;
}
.cl-btn:hover { transform: translateY(-1px); }
.cl-btn--primary { background: var(--accent-color); color: #fff; }
.cl-btn--primary:hover { background: #218838; color: #fff; }
.cl-btn--light { background: #fff; color: #0d3035; }
.cl-btn--light:hover { background: #eef6f1; color: #0d3035; }
.cl-btn--ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.cl-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.cl-cta-note { font-size: .88rem; color: rgba(255,255,255,.75) !important; margin: 1rem 0 0 !important; }

/* Sources */
.cl-sources { padding: 32px 0 8px; }
.cl-sources h2 { font-size: 1.2rem; color: var(--heading-color); }
.cl-sources ul { padding-left: 1.1rem; margin-bottom: .5rem; }
.cl-sources li { font-size: .9rem; margin-bottom: .3rem; }
.cl-sources p { font-size: .88rem; color: #5b6b62; }

/* Form additions */
.cl-form-note { font-size: .88rem; color: #5b6b62; margin-top: .75rem; }
.contact-2 .php-email-form button[type=submit].cl-submit { font-weight: 600; }

/* Sticky mobile CTA */
.cl-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 997;
  display: none; gap: 0; box-shadow: 0 -6px 18px rgba(0,0,0,.15);
}
.cl-sticky a {
  flex: 1; text-align: center; padding: .85rem .5rem; font-weight: 600;
  text-decoration: none; font-family: var(--heading-font); font-size: .98rem;
}
.cl-sticky .cl-sticky-call { background: #0d3035; color: #fff; }
.cl-sticky .cl-sticky-quote { background: var(--accent-color); color: #fff; }
@media (max-width: 991.98px) {
  .cl-sticky { display: flex; }
  body.has-cl-sticky { padding-bottom: 56px; }
  body.has-cl-sticky .scroll-top { bottom: 72px; }
}
#contact-2, #get-started, #quick-answer, #local-guide, #sources { scroll-margin-top: 90px; }
@media (max-width: 575.98px) {
  .cl-cta { padding: 1.5rem 1.25rem; }
  .cl-cta-actions .cl-btn { width: 100%; justify-content: center; }
  .cl-answer { padding: 1rem 1.1rem; font-size: 1rem; }
  .cl-facts th { width: 42%; }
}

/* ---- Text hero for council pages without a photo (matches the housing association pages) ---- */
.cl-hero {
  position: relative;
  padding: 64px 0 56px;
  background: #0f172a;
  background-image: radial-gradient(circle at 85% 20%, rgba(40, 167, 69, 0.28), transparent 45%),
                    radial-gradient(circle at 10% 90%, rgba(14, 162, 189, 0.22), transparent 40%);
  color: #fff;
}
.cl-hero .cl-kicker {
  display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); color: #d1fae5; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.cl-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.15; margin: 0 0 16px; }
.cl-hero .cl-lead { color: rgba(255, 255, 255, 0.86); font-size: 18px; line-height: 1.6; max-width: 760px; margin: 0 0 14px; }
.cl-hero .cl-sub { color: rgba(255, 255, 255, 0.74); font-size: 16px; line-height: 1.6; max-width: 760px; margin: 0 0 26px; }
.cl-hero .cl-sub strong { color: #fff; }
.cl-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cl-hero .cl-btn { padding: 13px 24px; border-radius: 10px; font-size: 16px; }
.cl-hero .cl-btn--primary { box-shadow: 0 10px 24px -10px rgba(40, 167, 69, 0.8); }
.cl-hero .cl-btn--ghost { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.3); }
.cl-hero-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cl-hero-trust li { color: rgba(255, 255, 255, 0.82); font-size: 15px; display: flex; align-items: center; gap: 7px; }
.cl-hero-trust i { color: #7ee2a0; }
@media (max-width: 575.98px) {
  .cl-hero { padding: 44px 0 40px; }
  .cl-hero .cl-lead { font-size: 16.5px; }
  .cl-hero-ctas .cl-btn { width: 100%; justify-content: center; }
}

/* ---- Enquiry form submit: the main call to action ---- */
.contact-2 .php-email-form button[type=submit].cl-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 440px;
  padding: 17px 28px;
  font-size: 19px; font-weight: 700; letter-spacing: 0.01em; font-family: var(--heading-font);
  color: #fff; background: linear-gradient(180deg, #2fbf55 0%, #22963f 100%);
  border: 0; border-radius: 12px;
  box-shadow: 0 14px 28px -12px rgba(34, 150, 63, 0.85), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  cursor: pointer;
}
.contact-2 .php-email-form button[type=submit].cl-submit:hover,
.contact-2 .php-email-form button[type=submit].cl-submit:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 32px -12px rgba(34, 150, 63, 0.95), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  outline: none;
}
.contact-2 .php-email-form button[type=submit].cl-submit:focus-visible { box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.35); }
.contact-2 .php-email-form button[type=submit].cl-submit:active { transform: translateY(0); }
.cl-submit .bi-arrow-right { transition: transform 0.15s ease; }
.cl-submit:hover .bi-arrow-right { transform: translateX(4px); }
.cl-submit-trust {
  list-style: none; padding: 0; margin: 14px auto 0; max-width: 520px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
}
.cl-submit-trust li { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #33503f; font-weight: 600; }
.cl-submit-trust i { color: var(--accent-color); }
