/*
Theme Name: Education Lawyers
Theme URI: https://educationlawyers.com/
Author: Montgomery Law Group, PLLC
Description: Accessible, conversion-focused classic WordPress theme for EducationLawyers.com.
Version: 1.5.61
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: education-lawyers
*/

:root {
  --el-brand-red: #ed174c;
  --el-brand-blue: #009ad6;
  --el-red-text: #e6164a;
  --el-blue-text: #007dad;
  --el-navy: #082d49;
  --el-navy-deep: #031c2d;
  --el-cream: #f7f4ee;
  --el-paper: #fffdf9;
  --el-ink: #12202a;
  --el-muted: #5c6b75;
  --el-line: #dce3e7;
  --el-white: #fff;
  --el-content: 44rem;
  --el-wide: 77.5rem;
  --el-shadow: 0 18px 50px rgba(3, 28, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--el-paper); color: var(--el-ink); font-family: Arial, Helvetica, sans-serif; margin: 0; overflow-x: hidden; }
a { color: inherit; }
img { height: auto; max-width: 100%; }
button, input, select, textarea { font: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--el-blue-text);
  outline-offset: 2px;
}

.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.screen-reader-text:focus { background: #fff; clip: auto; clip-path: none; color: #000; height: auto; left: 10px; padding: 12px 16px; top: 10px; width: auto; z-index: 100000; }
.el-shell { margin: 0 auto; max-width: var(--el-wide); padding-inline: 24px; }

.el-topbar { background: var(--el-navy-deep); color: #c8dbe4; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.el-topbar .el-shell { align-items: center; display: flex; justify-content: space-between; min-height: 38px; }
.el-topbar a { color: #fff; font-weight: 800; }
.el-site-header { background: #071d2e; border-bottom: 1px solid rgba(0,154,214,.3); position: sticky; top: 0; z-index: 999; }
.admin-bar .el-site-header { top: 32px; }
.el-header-inner { align-items: center; display: grid; gap: 30px; grid-template-columns: minmax(285px,1fr) auto auto; min-height: 92px; }
.el-brand { display: inline-flex; max-width: 350px; width: min(350px,100%); }
.el-brand img { display: block; height: auto; object-fit: contain; width: 100%; }
.el-nav, .el-nav-list { align-items: center; display: flex; gap: 28px; }
.el-nav-list { list-style: none; margin: 0; padding: 0; }
.el-nav a, .el-submenu-toggle { color: #dbe8ed; font-size: 13px; font-weight: 800; text-decoration: none; }
.el-nav a:hover, .el-submenu-toggle:hover { color: #fff; }
.el-nav-practice { position: relative; }
.el-submenu-toggle { align-items: center; background: transparent; border: 0; cursor: pointer; display: inline-flex; gap: 7px; padding: 12px 0; }
.el-submenu-toggle span { color: var(--el-brand-blue); font-size: 16px; line-height: 1; transition: transform .18s ease; }
.el-submenu-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.el-sub-menu { background: #071d2e; border: 1px solid rgba(0,154,214,.45); box-shadow: 0 22px 48px rgba(0,0,0,.32); display: none; left: -18px; list-style: none; margin: 0; min-width: 315px; padding: 8px; position: absolute; top: calc(100% + 4px); z-index: 1002; }
.el-nav-practice.is-open .el-sub-menu { display: block; }
.el-sub-menu a { border-left: 3px solid transparent; display: block; line-height: 1.35; padding: 13px 14px; }
.el-sub-menu a:hover, .el-sub-menu a:focus-visible { background: rgba(0,154,214,.1); border-left-color: var(--el-brand-blue); }
.el-header-cta, .wp-block-button__link, .el-button { align-items: center; background: var(--el-red-text); border: 2px solid var(--el-red-text); border-radius: 5px; box-shadow: 0 9px 24px rgba(230,22,74,.18); color: #fff !important; display: inline-flex; font-size: 14px; font-weight: 900; justify-content: center; min-height: 48px; padding: 12px 19px; text-decoration: none !important; transition: transform .18s ease, background .18s ease; }
.el-header-cta:hover, .wp-block-button__link:hover, .el-button:hover { background: #c91140; transform: translateY(-2px); }
.el-button-blue { background: var(--el-blue-text); border-color: var(--el-blue-text); }
.is-style-outline .wp-block-button__link { background: transparent; border-color: var(--el-navy); color: var(--el-navy) !important; box-shadow: none; }
.el-hero-pattern .is-style-outline .wp-block-button__link { border-color: #fff; color: #fff !important; }
.el-menu-toggle { background: transparent; border: 1px solid rgba(255,255,255,.55); border-radius: 5px; color: #fff; display: none; font-size: 13px; font-weight: 900; min-height: 44px; padding: 9px 14px; }

.el-main { min-height: 55vh; }
.el-content { margin-inline: auto; max-width: var(--el-content); padding: 80px 24px; }
.el-content-wide { max-width: var(--el-wide); }
.el-content-full { max-width: none; padding-inline: 0; }
.el-page-header { background: linear-gradient(135deg, var(--el-navy-deep), var(--el-navy)); color: #fff; padding: 75px 24px; text-align: center; }
.el-page-header h1 { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 74px); font-weight: 400; letter-spacing: -.045em; line-height: 1; margin: 0 auto; max-width: 980px; }
.entry-content { font-size: 17px; line-height: 1.75; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--el-navy); font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.15; }
.entry-content h2 { font-size: clamp(32px, 4vw, 52px); }
.entry-content h3 { font-size: 28px; }
.entry-content a:not(.wp-block-button__link):not(.el-button) { color: var(--el-blue-text); font-weight: 800; text-decoration: underline; text-decoration-thickness: .12em; text-underline-offset: .18em; }
.entry-content blockquote { border-left: 5px solid var(--el-brand-blue); color: var(--el-navy); font-family: Georgia, "Times New Roman", serif; font-size: 25px; margin: 35px 0; padding: 15px 28px; }
.entry-content :where(p, li) { max-width: 75ch; }
.alignwide { margin-left: 50%; max-width: var(--el-wide); transform: translateX(-50%); width: calc(100vw - 48px); }
.alignfull { margin-left: 50%; max-width: none; transform: translateX(-50%); width: 100vw; }

.el-layout-sidebar { display: grid; gap: 52px; grid-template-columns: minmax(0, 1fr) 300px; margin: 0 auto; max-width: var(--el-wide); padding: 70px 24px; }
.el-sidebar { border-left: 1px solid var(--el-line); padding-left: 30px; }
.el-sidebar section { margin-bottom: 35px; }
.el-post-card { background: #fff; border: 1px solid var(--el-line); margin-bottom: 24px; padding: 32px; }
.el-post-card h2 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 12px; }
.el-post-meta { color: var(--el-muted); font-size: 12px; margin-bottom: 16px; text-transform: uppercase; }
.pagination { display: flex; gap: 12px; margin-top: 35px; }
.pagination a, .pagination span { border: 1px solid var(--el-line); padding: 10px 14px; }
.pagination .current { background: var(--el-navy); color: #fff; }

.el-hero-pattern { background: radial-gradient(circle at 77% 14%, rgba(0,154,214,.16), transparent 27%), linear-gradient(135deg,var(--el-navy-deep),var(--el-navy) 62%,#0d496f); color:#fff; padding: clamp(75px, 9vw, 125px) 24px; }
.el-hero-pattern .wp-block-group__inner-container { margin:auto; max-width:var(--el-wide); }
.el-eyebrow { color: #59d0ff; font-size: 12px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.el-hero-pattern h1 { color:#fff; font-family:Georgia,"Times New Roman",serif; font-size:clamp(48px,7vw,92px); letter-spacing:-.055em; line-height:.95; max-width:950px; }
.el-cta-band { background: var(--el-brand-blue); color: var(--el-navy-deep); padding: 60px 24px; text-align:center; }
.el-call-bar { align-items:center; background:var(--el-navy); color:#fff; display:flex; gap:25px; justify-content:center; padding:18px 24px; }
.el-faq-pattern details { border-bottom:1px solid var(--el-line); padding:20px 0; }
.el-faq-pattern summary { color:var(--el-navy); cursor:pointer; font-weight:900; }

.el-share { align-items: center; background: linear-gradient(135deg, var(--el-navy-deep), var(--el-navy)); border: 1px solid rgba(0,154,214,.3); border-radius: 18px; box-shadow: var(--el-shadow); color: #fff; display: grid; gap: 26px; grid-template-columns: minmax(190px,1fr) auto; margin: 48px 0; overflow: hidden; padding: 26px; position: relative; }
.el-share::after { background: var(--el-brand-red); border-radius: 999px; content: ""; height: 88px; opacity: .14; position: absolute; right: -42px; top: -48px; transform: rotate(-18deg); width: 180px; }
.el-share-heading { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
.el-share-heading strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.2; }
.el-share-kicker { color: #75d9ff; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.el-share-links { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; position: relative; z-index: 1; }
.entry-content .el-share-link, .el-share-link { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.19); border-radius: 999px; color: #fff; display: inline-flex; font-size: 13px; font-weight: 900; gap: 7px; min-height: 42px; padding: 7px 13px 7px 8px; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.entry-content .el-share-link:hover, .el-share-link:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); color: #fff; transform: translateY(-2px); }
.el-share-mark { align-items: center; background: var(--el-brand-blue); border-radius: 50%; display: inline-flex; font-size: 11px; height: 27px; justify-content: center; letter-spacing: -.02em; line-height: 1; text-transform: none; width: 27px; }
.el-share-facebook .el-share-mark { background: #1877f2; }
.el-share-linkedin .el-share-mark { background: #0a66c2; }
.el-share-x .el-share-mark { background: #111; }
.el-share-email .el-share-mark { background: var(--el-red-text); }

.el-priority-matters { background: linear-gradient(135deg, var(--el-navy-deep), var(--el-navy)); color: #fff; padding: clamp(72px,8vw,110px) 24px; }
.el-priority-matters > .wp-block-group__inner-container { margin-inline: auto; max-width: var(--el-wide); }
.el-priority-matters h2 { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px,5vw,66px); letter-spacing: -.04em; line-height: 1.02; max-width: 900px; }
.el-priority-matters > .wp-block-group__inner-container > p { color: #c7dce5; max-width: 760px; }
.el-priority-grid { display: grid; gap: 14px; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 44px; }
.el-priority-grid .wp-block-column { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; min-height: 240px; padding: 25px; position: relative; }
.el-priority-grid .wp-block-column::before { background: linear-gradient(90deg,var(--el-brand-red),var(--el-brand-blue)); content: ""; height: 4px; left: 25px; position: absolute; top: 0; width: 58px; }
.el-priority-grid h3 { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.05; }
.el-priority-grid p { color: #b8d0da; font-size: 15px; line-height: 1.55; }
.el-priority-actions { align-items: center; background: var(--el-brand-blue); border-radius: 12px; color: var(--el-navy-deep); display: flex; gap: 24px; justify-content: space-between; margin-top: 18px; padding: 24px; }
.el-priority-actions p { margin: 0; max-width: 520px; }
.el-priority-actions .is-style-outline .wp-block-button__link { background: transparent; border-color: var(--el-navy-deep); color: var(--el-navy-deep) !important; }

.el-site-footer { background: var(--el-navy-deep); color: #c9d9e0; padding: 68px 0 34px; }
.el-footer-grid { display: grid; gap: 55px; grid-template-columns: 1.45fr 1fr; }
.el-footer-logo { display: block; max-width: 230px; }
.el-site-footer p { color: #91aab5; font-size: 13px; line-height: 1.65; }
.el-site-footer strong { color: #fff; display: block; margin-bottom: 12px; }
.el-site-footer a { color: #d8e6eb; text-decoration: underline; text-underline-offset: .18em; }
.el-footer-nav { display: flex; flex-direction: column; gap: 8px; list-style:none; margin:0; padding:0; }
.el-disclaimer { border-top: 1px solid rgba(255,255,255,.1); color: #718d99 !important; grid-column: 1/-1; margin: 8px 0 0 !important; padding-top: 26px; }
.el-footer-offices { border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 28px; grid-column: 1/-1; grid-template-columns: repeat(4,minmax(0,1fr)); padding-top: 28px; }.el-footer-offices p{margin:0}.el-footer-offices small{color:#718d99;display:block;font-size:10px;line-height:1.5;margin-top:8px}.el-footer-jurisdiction{color:#718d99!important;grid-column:1/-1;margin:-35px 0 0!important}

@media (max-width: 900px) {
  .el-header-inner { gap: 18px; grid-template-columns: minmax(0,1fr) auto; }
  .el-brand { max-width: 260px; }
  .el-nav { align-items: flex-start; background: var(--el-navy); display: none; flex-direction: column; grid-column: 1/-1; padding: 0 0 24px; }
  .el-nav.is-open { display: flex; }
  .el-nav-list { align-items: flex-start; flex-direction: column; }
  .el-nav-list, .el-nav-list > li { width: 100%; }
  .el-submenu-toggle { justify-content: space-between; min-height: 44px; padding: 9px 0; width: 100%; }
  .el-sub-menu { background: rgba(255,255,255,.04); border: 0; border-left: 3px solid var(--el-brand-blue); box-shadow: none; margin: 4px 0 8px; min-width: 0; padding: 4px 0 4px 10px; position: static; width: 100%; }
  .el-sub-menu a { padding: 11px 12px; }
  .el-menu-toggle { display: block; }
  .el-header-cta { display: none; }
  .el-layout-sidebar { grid-template-columns: 1fr; }
  .el-sidebar { border-left: 0; border-top: 1px solid var(--el-line); padding: 30px 0 0; }
  .el-footer-grid { grid-template-columns: 1fr 1fr; }
  .el-footer-offices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .el-priority-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 782px) { .admin-bar .el-site-header { top: 46px; } }
@media (max-width: 620px) {
  .el-shell { padding-inline: 18px; }
  .el-topbar .el-shell > span { display: none; }
  .el-topbar .el-shell { justify-content: flex-end; }
  .el-header-inner { min-height: 72px; }
  .el-brand { max-width: 225px; width: min(225px,100%); }
  .el-content { padding: 58px 20px; }
  .el-footer-grid { grid-template-columns: 1fr; }
  .el-footer-offices { grid-template-columns: 1fr; }
  .el-page-header { padding: 58px 20px; }
  .el-call-bar { align-items:stretch; flex-direction:column; text-align:center; }
  .el-share { grid-template-columns: 1fr; }
  .el-share-links { justify-content: flex-start; }
  .el-share-link { flex: 1 1 125px; }
  .el-priority-grid { grid-template-columns: 1fr; }
  .el-priority-grid .wp-block-column { min-height: 0; }
  .el-priority-actions { align-items: stretch; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
