/* Additions for the WordPress version */
[hidden] { display: none !important; }
.site-header .btn { display: inline-block; }
.desktop-nav .btn { padding: 12px 20px; }
.course-panel + .course-panel { margin-top: 0; }
.course-panel .btn { display: inline-block; margin-top: 4px; }
.blog-card a { color: inherit; }
.blog-image-wrap { display: block; }

.page-hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--light) 0%, #fff 100%); }
.page-hero h1 { margin: 16px 0 0; font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--dark); letter-spacing: -0.03em; line-height: 1.1; }
.post-meta { color: #64748b; margin: 12px 0 0; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.entry-content { line-height: 1.85; font-size: 1.06rem; color: #334155; }
.entry-content h2 { color: var(--dark); font-size: 1.7rem; margin: 1.8em 0 .6em; }
.entry-content h3 { color: var(--dark); font-size: 1.3rem; margin: 1.5em 0 .5em; }
.entry-content a { color: var(--primary); font-weight: 600; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; margin-bottom: 32px; }
.post-cta { margin-top: 48px; padding: 32px; border-radius: 24px; background: var(--light); }
.post-cta h3 { margin: 0 0 8px; color: var(--dark); }
.post-cta .btn { display: inline-block; margin-top: 8px; }

.course-list { display: grid; gap: 28px; margin-top: 32px; }
.course-card { display: grid; grid-template-columns: 340px 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.course-card > img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.course-card-body { padding: 30px; }
.course-card-body h2 { margin: 0 0 12px; color: var(--dark); font-size: 1.7rem; }
.course-facts { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.course-facts li { padding: 14px; border-radius: 16px; background: rgba(10,102,255,.06); color: var(--dark); font-weight: 600; }
.course-facts span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; font-weight: 800; margin-bottom: 4px; }
.course-buy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.course-buy .price { font-size: 1.6rem; color: var(--dark); }
.course-buy .btn { display: inline-block; }

.enroll-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.enroll-layout .contact-card { box-shadow: var(--shadow); }
.contact-card textarea { width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); font: inherit; }
.contact-card .btn { margin-top: 8px; }
.form-note { font-size: .85rem; color: #64748b; margin: 4px 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: 16px; margin-bottom: 28px; font-weight: 600; }
.notice-ok { background: #ecfdf5; color: #065f46; }
.notice-err { background: #fef2f2; color: #991b1b; }

.footer-contact a { color: #cbd5e1; }
.footer-bottom { justify-content: space-between; }

@media (max-width: 980px) {
  .course-card, .enroll-layout { grid-template-columns: 1fr; }
  .course-card > img { min-height: 200px; max-height: 260px; }
}
@media (max-width: 640px) {
  .course-facts { grid-template-columns: 1fr; }
}
/* Free resources + practice test */
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.res-card .btn { display: inline-block; margin-top: 18px; }
.res-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pt-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-radius: 16px; background: var(--dark); color: #fff; margin-bottom: 20px; position: sticky; top: 86px; z-index: 5; }
.pt-timer { font-variant-numeric: tabular-nums; font-weight: 800; }
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.pt-passage { background: var(--muted); border-radius: 20px; padding: 26px; line-height: 1.8; max-height: 75vh; overflow: auto; position: sticky; top: 150px; }
.pt-passage h2 { margin-top: 0; color: var(--dark); }
.pt-para { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 6px; background: var(--primary); color: #fff; font-size: .8rem; font-weight: 800; }
.pt-questions h3 { font-size: 1rem; color: var(--dark); margin: 24px 0 12px; }
.pt-q { padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; }
.pt-q.is-right { border-color: #10b981; background: #ecfdf5; }
.pt-q.is-wrong { border-color: #ef4444; background: #fef2f2; }
.pt-qtext { margin: 0 0 10px; }
.pt-opts { display: flex; gap: 16px; flex-wrap: wrap; }
.pt-opts-col { flex-direction: column; gap: 8px; }
.pt-opts label { cursor: pointer; }
.pt-text { width: 100%; max-width: 260px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font: inherit; }
.pt-why { margin-top: 10px; font-size: .95rem; color: #334155; }
.pt-actions { display: flex; gap: 12px; margin-top: 18px; }
.pt-result { margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--light); }
.pt-result a { color: var(--primary); font-weight: 700; }
@media (max-width: 980px) {
  .res-grid, .pt-grid { grid-template-columns: 1fr; }
  .pt-passage { position: static; max-height: none; }
  .pt-bar { top: 70px; }
}
.res-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; margin-bottom: 20px; }
.blog-badge { top: auto; bottom: 16px; }
.file-spec { font-size: .92rem; color: #334155; background: var(--light); border-radius: 12px; padding: 10px 14px; margin: 12px 0 0; }
.res-grid > .file-spec { grid-column: 1 / -1; }

/* === E84 FOOTER v2 === */
.e84-footer { background: #020617; color: #cbd5e1; padding: 0 0 8px; position: relative; overflow: hidden; }
.e84-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(59,130,246,.6), transparent); }
.e84-footer .container { position: relative; }
.ef-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 64px 0 56px; padding: 32px 36px; border-radius: 20px; background: linear-gradient(135deg, #1d4ed8 0%, #0b5cff 55%, #2563eb 100%); box-shadow: 0 20px 50px -20px rgba(37,99,235,.55); }
.ef-cta h3 { margin: 0 0 6px; color: #fff; font-size: 1.5rem; line-height: 1.25; }
.ef-cta p { margin: 0; color: rgba(255,255,255,.85); }
.ef-cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.ef-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s, background .15s; white-space: nowrap; }
.ef-btn:hover { transform: translateY(-1px); }
.ef-btn-primary { background: #fff; color: #0b3fd1; }
.ef-btn-ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.ef-btn-ghost:hover { background: rgba(255,255,255,.12); }
.ef-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.ef-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.ef-logo .brand-badge { flex-shrink: 0; }
.ef-brand p { color: #94a3b8; line-height: 1.75; margin: 18px 0 20px; max-width: 340px; }
.ef-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.3); color: #bfdbfe; font-size: .82rem; font-weight: 600; }
.ef-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.ef-col h4 { margin: 6px 0 18px; color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.ef-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ef-col a { color: #94a3b8; text-decoration: none; font-weight: 500; transition: color .15s; }
.ef-col a:hover { color: #fff; }
.ef-contact li { display: grid; gap: 3px; color: #cbd5e1; line-height: 1.55; }
.ef-contact a { color: #e2e8f0; font-weight: 600; }
.ef-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; font-weight: 600; }
.ef-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 24px; border-top: 1px solid rgba(255,255,255,.08); color: #64748b; font-size: .88rem; }
.ef-bottom p { margin: 0; }
.ef-bottom nav { display: flex; gap: 22px; }
.ef-bottom a { color: #64748b; text-decoration: none; }
.ef-bottom a:hover { color: #fff; }
@media (max-width: 1080px) {
  .ef-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ef-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ef-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; margin: 44px 0 40px; }
  .ef-cta-actions { width: 100%; flex-wrap: wrap; }
  .ef-cta-actions .ef-btn { flex: 1; }
  .ef-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .ef-contact { grid-column: 1 / -1; }
  .ef-bottom { flex-direction: column; align-items: flex-start; }
}

/* === E84 MOBILE v1 === */
.brand-text{white-space:nowrap}
@media (max-width:420px){.brand-text{font-size:1.05rem}.brand-badge{width:34px;height:34px;font-size:.9rem}.brand{gap:8px}}
