:root {
	--eql-ink: #101010;
	--eql-muted: #5c5c5c;
	--eql-gold: #E3D767;
	--eql-line: #E7E6E6;
	--eql-soft: #F7F6F0;
}
.eql { font-family: "Libre Franklin", sans-serif; color: var(--eql-ink); padding-bottom: 64px; }
.eql-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.eql a { color: inherit; }

/* Hero */
.eql-hero { background: #000; color: #fff; padding: 56px 0 48px; margin-bottom: 40px; border-bottom: 4px solid var(--eql-gold); }
.eql-hero h1 { color: #fff; margin: 0 0 12px; font-size: clamp(28px, 4vw, 42px); font-weight: 600; }
.eql-hero p { margin: 0; max-width: 680px; color: #d8d8d8; font-size: 17px; line-height: 1.6; }

/* Grid + cards */
.eql-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.eql-card { background: #fff; border: 1px solid var(--eql-line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.eql-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.10); transform: translateY(-2px); }
.eql-card__img { position: relative; display: block; aspect-ratio: 16 / 10; background: #111; }
.eql-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eql-card__noimg { display: flex; align-items: center; justify-content: center; height: 100%; padding: 16px; text-align: center; color: var(--eql-gold); font-weight: 600; font-size: 20px; }
.eql-card__img .eql-badge { position: absolute; top: 12px; left: 12px; }
.eql-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.eql-card__title { margin: 0 0 12px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.eql-card__title a { text-decoration: none; }
.eql-card__excerpt { color: var(--eql-muted); font-size: 15px; line-height: 1.55; margin: 12px 0 0; }
.eql-card .eql-btn { margin-top: auto; align-self: flex-start; }
.eql-card .eql-facts { margin-bottom: 4px; }
.eql-card__body > :last-child { margin-top: 18px; }

/* Facts */
.eql-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px 20px; margin: 0; }
.eql-fact dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--eql-muted); margin: 0; }
.eql-fact dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; }

/* Badge */
.eql-badge { display: inline-block; padding: 4px 10px; border-radius: 3px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: var(--eql-gold); color: #000; }
.eql-badge--under-offer { background: #2F5496; color: #fff; }
.eql-badge--sold { background: #54595F; color: #fff; }

/* Buttons */
.eql-btn { display: inline-block; background: #000; color: #fff !important; padding: 10px 20px; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: 15px; border: 2px solid #000; transition: background .2s, color .2s; }
.eql-btn:hover { background: var(--eql-gold); color: #000 !important; border-color: var(--eql-gold); }
.eql-btn--lg { padding: 14px 28px; font-size: 17px; }

/* Single */
.eql-single { padding-top: 32px; }
.eql-back { margin: 0 0 20px; font-size: 15px; }
.eql-back a { text-decoration: none; color: var(--eql-muted); }
.eql-back a:hover { color: var(--eql-ink); }
.eql-single__head { margin-bottom: 28px; }
.eql-single__title { margin: 12px 0 6px; font-size: clamp(28px, 4vw, 40px); font-weight: 600; line-height: 1.2; }
.eql-single__loc { margin: 0; color: var(--eql-muted); font-size: 17px; }
.eql-single__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.eql-single__img img { width: 100%; height: auto; border-radius: 6px; display: block; margin-bottom: 28px; }
.eql-single .eql-facts { background: var(--eql-soft); border-left: 4px solid var(--eql-gold); padding: 20px 24px; margin-bottom: 28px; }
.eql-single__content { font-size: 17px; line-height: 1.7; }
.eql-single__side { position: sticky; top: 24px; }
.eql-inquiry { background: #000; color: #fff; padding: 28px 24px; border-radius: 6px; border-top: 4px solid var(--eql-gold); }
.eql-inquiry h2 { color: #fff; margin: 0 0 8px; font-size: 22px; font-weight: 600; }
.eql-inquiry > p { color: #cfcfcf; font-size: 15px; line-height: 1.55; margin: 0 0 18px; }

/* Forms: match the site's contact form (rounded fields, blue pill button) */
.eql-inquiry .form-row, .eql-plan .form-row { margin-bottom: 12px; }
.eql-inquiry .form-col { width: 100%; }
.eql-inquiry .form-control, .eql-plan .form-control { padding: 12px 16px; border: 1px solid #ddd; border-radius: 10px; font-family: inherit; font-size: 15px; background: #fff; color: #000; }
.eql-inquiry textarea.form-control, .eql-plan textarea.form-control { height: 120px; }
.eql-inquiry input[type=submit].form-control, .eql-plan input[type=submit].form-control { background: #2F5496; color: #fff; border: 0; border-radius: 999px; padding: 14px; font-weight: 500; font-size: 16px; cursor: pointer; transition: background .2s; }
.eql-inquiry input[type=submit].form-control:hover, .eql-plan input[type=submit].form-control:hover { background: #1f3b6b; }
.eql-inquiry .wpcf7-response-output { color: #fff; }
.eql-plan__done { text-align: center; padding: 32px 16px; background: var(--eql-soft); border-top: 4px solid var(--eql-gold); border-radius: 6px; }
.eql-plan__done h3 { margin-top: 0; }

.eql-empty { font-size: 17px; padding: 32px 0; }

@media (max-width: 900px) {
	.eql-single__grid { grid-template-columns: 1fr; }
	.eql-single__side { position: static; }
}
@media (max-width: 600px) {
	.eql-plan .form-col { width: 100%; }
	.eql-grid { grid-template-columns: 1fr; }
}
.eql-single__content ul { margin-bottom: 1.2em; }

/* ---------- The Plan landing page ---------- */
.eqp { --eqp-navy: #1e2761; --eqp-red: #990011; --eqp-soft: #f3f4f9; font-family: "Libre Franklin", sans-serif; color: #1a1a1a; }
.eqp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.eqp-hero { background: var(--eqp-navy); color: #fff; border-top: 6px solid var(--eqp-red); padding: 64px 0 72px; overflow: hidden; }
.eqp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.eqp-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: #c9cdea; margin: 0 0 14px; }
.eqp-hero__title { color: #fff; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; font-weight: 700; margin: 0 0 18px; }
.eqp-hero__lead { font-size: 19px; line-height: 1.6; color: #e4e6f4; margin: 0 0 22px; max-width: 520px; }
.eqp-hero__facts { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: #c9cdea; }
.eqp-hero__facts li { position: relative; padding-left: 16px; }
.eqp-hero__facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--eqp-red); border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.eqp-btn { display: inline-block; background: #fff; color: var(--eqp-navy) !important; font-weight: 700; font-size: 17px; padding: 15px 30px; border-radius: 999px; text-decoration: none; transition: transform .15s, box-shadow .15s; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.eqp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.eqp-hero__cover { perspective: 1400px; }
.eqp-cover { display: block; width: 100%; height: auto; border-radius: 6px; transform: rotateY(-9deg) rotateX(3deg); box-shadow: -18px 24px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12); transition: transform .4s; }
.eqp-hero__cover:hover .eqp-cover { transform: rotateY(-3deg) rotateX(1deg); }

.eqp-inside { padding: 72px 0 56px; background: #fff; }
.eqp-h2 { color: var(--eqp-navy); font-size: clamp(26px, 3vw, 34px); font-weight: 700; margin: 0 0 8px; }
.eqp-sub { color: #555; font-size: 17px; margin: 0 0 32px; }
.eqp-chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.eqp-chapter { display: flex; gap: 22px; align-items: flex-start; background: var(--eqp-soft); padding: 24px 26px; border-radius: 6px; border-left: 4px solid var(--eqp-navy); }
.eqp-chapter__num { font-family: Georgia, "Times New Roman", serif; font-size: 44px; line-height: 1; color: var(--eqp-red); min-width: 32px; }
.eqp-chapter h3 { color: var(--eqp-navy); font-size: 19px; font-weight: 700; margin: 2px 0 6px; }
.eqp-chapter p { margin: 0; color: #4a4a4a; font-size: 15.5px; line-height: 1.55; }

.eqp-get { background: var(--eqp-soft); padding: 64px 0 72px; border-top: 1px solid #e3e5ef; }
.eqp-get__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.eqp-get__intro p { font-size: 17px; line-height: 1.6; color: #333; }
.eqp-note { font-size: 14px !important; color: #666 !important; }
.eqp-get__form { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(30,39,97,.10); border-top: 5px solid var(--eqp-red); }
.eqp .eql-plan input[type=submit].form-control { background: var(--eqp-navy); }
.eqp .eql-plan input[type=submit].form-control:hover { background: var(--eqp-red); }
.eqp .eql-plan__done { background: #fff; border-top-color: var(--eqp-navy); }
.eqp .eql-btn { background: var(--eqp-navy); border-color: var(--eqp-navy); }
.eqp .eql-btn:hover { background: var(--eqp-red); border-color: var(--eqp-red); color: #fff !important; }

@media (max-width: 900px) {
	.eqp-hero { padding: 44px 0 52px; }
	.eqp-hero__grid, .eqp-get__grid { grid-template-columns: 1fr; gap: 32px; }
	.eqp-hero__cover { order: -1; max-width: 520px; }
	.eqp-cover { transform: none; }
	.eqp-chapters { grid-template-columns: 1fr; }
}

/* Full-bleed sections inside the theme's content column */
body.page-id-800 { overflow-x: hidden; }
body.page-id-800 .site-main, body.page-id-800 .page-content { padding-top: 0; margin-top: 0; }
.eqp-hero, .eqp-inside, .eqp-get { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.eqp-btn, .eqp-btn:hover, .eqp-btn:focus { text-decoration: none !important; }
.eqp-hero { background: radial-gradient(ellipse 60% 70% at 78% 50%, #34408a 0%, var(--eqp-navy) 70%); }
.eqp-cover { box-shadow: -18px 24px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.35), 0 0 60px rgba(160,172,255,.18); }
