/*
Theme Name: LEB 2027 v3.4
Theme URI: https://leblaboratorios.com.ar/
Author: LEB Laboratorios
Description: Tema original para LEB Laboratorios. Diseño responsive para pacientes, con accesos a turnos, indicaciones y portal de resultados.
Version: 3.4.0
Requires at least: 6.1
Requires PHP: 8.1
Text Domain: leb2027
License: GPL-2.0-or-later
*/
:root {
  --leb-teal:#00a9b3;
  --leb-teal-dark:#087f89;
  --leb-magenta:#f41358;
  --leb-ink:#313638;
  --leb-muted:#64747b;
  --leb-border:#e2edee;
  --leb-pale:#eff9f9;
  --leb-bg:#fff;
  --leb-navy:#263c41;
  --leb-radius:18px;
  --leb-shadow:0 14px 42px rgba(23,60,65,.065);
}
*,*::before,*::after {box-sizing:border-box;}
html {scroll-behavior:smooth; scroll-padding-top:110px;}
body {margin:0; color:var(--leb-ink); font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; font-size:16px; line-height:1.67; background:var(--leb-bg);}
img {max-width:100%;height:auto;}
a {color:var(--leb-teal-dark);}
button,input,textarea,select {font:inherit;}
a,button {-webkit-tap-highlight-color:transparent;}
:focus-visible {outline:3px solid var(--leb-magenta);outline-offset:4px;}
.wrap {width:min(1180px,calc(100% - 48px)); margin-inline:auto;}
.leb-icon {width:22px;height:22px;flex:0 0 auto;vertical-align:middle;}
.screen-reader-text {position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.screen-reader-text:focus {position:fixed!important;top:8px;left:10px;z-index:99999;width:auto;height:auto;background:#fff;color:#222;padding:12px 16px;clip:auto;}
h1,h2,h3,h4 {line-height:1.18;letter-spacing:-.035em;}
h1 {font-size:clamp(2.3rem,5vw,4.05rem);}
h2 {font-size:clamp(1.85rem,3.1vw,2.65rem);}
h3 {font-size:1.25rem;}
p {margin-top:0;}
.eyebrow {font-size:.76rem;font-weight:800;letter-spacing:.15em;color:var(--leb-teal-dark);margin-bottom:15px;}
/* Header */
.site-header {position:relative;z-index:100;background:#fff;border-bottom:1px solid #edf1f2;}
.header-inner {min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:32px;}
.brand {display:flex;align-items:center;flex:none;text-decoration:none;}
.site-logo {width:210px;max-height:78px;object-fit:contain;}
.desktop-nav {display:flex;align-items:center;gap:24px;}
.menu-links {display:flex;align-items:center;gap:19px;list-style:none;margin:0;padding:0;}
.menu-links a {font-size:.86rem;font-weight:650;text-decoration:none;color:var(--leb-ink);white-space:nowrap;transition:color .18s;}
.menu-links a:hover,.menu-links .current-menu-item>a {color:var(--leb-teal-dark);}
.desktop-nav ul.menu-links {margin:0;}
.mobile-toggle {display:none;align-items:center;gap:7px;border:1px solid var(--leb-border);border-radius:11px;background:#fff;color:var(--leb-ink);padding:10px 12px;font-size:.88rem;font-weight:700;cursor:pointer;}
.mobile-nav[hidden] {display:none!important;}
.mobile-nav {background:#fff;border-top:1px solid var(--leb-border);padding:7px 24px 18px;box-shadow:0 15px 22px #103e4512;}
.mobile-nav a {display:flex;justify-content:space-between;align-items:center;padding:13px 7px;color:var(--leb-ink);font-weight:650;border-bottom:1px solid var(--leb-border);text-decoration:none;}
.mobile-nav a.mobile-portal {margin-top:10px;background:var(--leb-teal-dark);color:#fff;border:0;border-radius:10px;padding:13px;}
.mobile-nav a.mobile-portal .leb-icon {height:18px;width:18px;}
/* Buttons */
.btn {display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:49px;border:1px solid transparent;border-radius:11px;padding:12px 17px;font-size:.89rem;font-weight:750;line-height:1.25;text-decoration:none;white-space:normal;transition:background .2s,transform .2s,border-color .2s;color:var(--leb-ink);}
.btn:hover {transform:translateY(-2px);}
.btn .leb-icon {width:19px;height:19px;}
.btn-primary {background:var(--leb-teal-dark);color:#fff!important;}
.btn-primary:hover {background:#046a73;color:#fff;}
.btn-outline {background:#fff;border-color:#cbdfe0;color:var(--leb-ink);}
.btn-outline:hover {border-color:var(--leb-teal-dark);}
.nav-portal {min-height:43px;font-size:.86rem;padding:10px 16px;}
/* Hero */
.hero {position:relative;overflow:hidden;background:linear-gradient(112deg,#effafa 0%,#fff 61%,#fff1f5 100%);padding:80px 0 108px;}
.hero-grid {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:center;gap:60px;}
.hero-copy {position:relative;z-index:2;}
.hero h1 {font-weight:820;color:var(--leb-ink);max-width:700px;margin:0 0 22px;}
.hero h1::first-letter {letter-spacing:-.05em;}
.hero-accent {color:var(--leb-teal-dark);}
.hero-description {color:var(--leb-muted);font-size:1.075rem;max-width:640px;line-height:1.78;margin-bottom:0;}
.hero-actions {display:flex;flex-wrap:wrap;gap:13px;margin:29px 0 24px;}
.hero-trust {display:flex;align-items:center;gap:22px;flex-wrap:wrap;color:#688185;font-size:.78rem;font-weight:640;}
.hero-trust span {display:flex;align-items:center;gap:7px;}
.hero-trust .leb-icon {width:16px;height:16px;color:var(--leb-teal-dark);}
/* Recupera el bloque institucional aprobado en v2: logo original, sin simbolos ajenos */
.hero-side {min-height:370px;border-radius:32px;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 22% 24%,#daf5f4,transparent 56%),radial-gradient(circle at 85% 80%,#ffdce8,transparent 55%),linear-gradient(125deg,#f7ffff,#fff);}
.hero-side::before {content:"";position:absolute;inset:23px;border:1px solid rgba(255,255,255,.62);border-radius:26px;pointer-events:none;}
.hero-logo-circle {position:relative;z-index:2;width:250px;height:250px;padding:25px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 42px #1d52651b;}
.hero-logo-circle img {display:block;width:100%;height:auto;max-height:176px;object-fit:contain;}
.hero-brand-tag {position:absolute;z-index:3;bottom:27px;right:22px;background:#fff;border-radius:12px;padding:13px 15px;box-shadow:0 8px 28px #173f4716;color:var(--leb-ink);font-size:.77rem;font-weight:750;white-space:nowrap;}
/* Quick access */
.quick-section {position:relative;z-index:3;margin-top:-46px;}
.quick-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.quick-card {display:flex;align-items:center;gap:14px;min-height:124px;padding:23px 21px;text-decoration:none;background:#fff;color:var(--leb-ink);border-radius:18px;border:1px solid #e5eff0;box-shadow:var(--leb-shadow);transition:transform .18s,border-color .18s;}
.quick-card:hover {border-color:#95d4d5;transform:translateY(-4px);}
.quick-icon {flex:0 0 52px;width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#e4f8f8;color:var(--leb-teal-dark);}
.quick-icon .leb-icon {width:26px;height:26px;}
.quick-content {display:flex;flex-direction:column;gap:5px;min-width:0;}
.quick-content strong {font-size:.99rem;line-height:1.27;}
.quick-content small {font-size:.78rem;line-height:1.45;color:var(--leb-muted);}
.quick-arrow {margin-left:auto;width:18px;height:18px;color:var(--leb-teal-dark);}
/* Body sections */
.section {padding:90px 0;}
.section-tinted {background:#f5fafa;}
.section-heading {max-width:710px;}
.section-heading h2 {margin:0 0 14px;}
.section-heading>p:last-child,.section-lead {color:var(--leb-muted);font-size:1.02rem;line-height:1.72;}
.service-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:32px;}
.service-card {border:1px solid var(--leb-border);border-radius:19px;padding:29px 25px;background:#fff;}
.service-symbol {height:55px;width:55px;background:#e8fafa;color:var(--leb-teal-dark);border-radius:15px;display:grid;place-items:center;}
.service-symbol .leb-icon {width:29px;height:29px;}
.service-card h3 {margin:22px 0 12px;}
.service-card p {font-size:.92rem;color:var(--leb-muted);line-height:1.65;margin:0;}
.prep-grid {display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:33px;}
.prep-card {background:#fff;border:1px solid var(--leb-border);padding:28px;border-radius:18px;display:flex;gap:19px;}
.prep-symbol {height:52px;width:52px;flex:0 0 52px;display:grid;place-items:center;border-radius:14px;color:var(--leb-teal-dark);background:#e8fafa;}
.prep-card h3 {margin:2px 0 11px;}
.prep-card p {font-size:.92rem;color:var(--leb-muted);line-height:1.7;}
.text-link {display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:.87rem;font-weight:800;}
.text-link .leb-icon {height:17px;width:17px;}
.locations-grid {display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;}
.locations-grid h2 {max-width:540px;}
.locations-grid .btn {margin-top:20px;}
.locations-list {display:grid;gap:13px;}
.location-row {text-decoration:none;display:flex;align-items:center;gap:16px;padding:20px;background:#fff;border:1px solid var(--leb-border);border-radius:15px;color:var(--leb-ink);}
.location-row:hover {border-color:var(--leb-teal);}
.location-row>span:first-child {height:48px;width:48px;display:grid;place-items:center;border-radius:12px;background:#e6f8f8;color:var(--leb-teal-dark);flex-shrink:0;}
.location-row>span:nth-child(2) {display:flex;flex-direction:column;gap:5px;flex:1;}
.location-row strong {font-size:.94rem;line-height:1.35;}
.location-row small {font-size:.82rem;color:var(--leb-muted);}
.location-row>.leb-icon {color:var(--leb-teal-dark);height:18px;width:18px;}
.section-about {padding:60px 0;background:#f8fafb;}
.about-bar {display:flex;align-items:center;justify-content:space-between;gap:30px;}
.about-bar>div {max-width:780px;}
.about-bar h2 {margin-bottom:12px;}
.about-bar>div>p:last-child {color:var(--leb-muted);margin-bottom:0;}
/* Article / pages */
.page-main {min-height:55vh;}
.page-top {background:linear-gradient(120deg,#eef9f9,#fff);padding:48px 0 42px;}
.page-top h1 {font-size:clamp(2rem,4vw,3.25rem);margin:6px 0 0;}
.page-top .eyebrow {margin:0;}
.page-body {max-width:890px;padding-top:45px;padding-bottom:85px;overflow-wrap:anywhere;}
.page-body p,.page-body li {line-height:1.8;}
.page-body h2 {font-size:1.8rem;margin-top:1.65em;}
.page-body h3 {font-size:1.36rem;}
.page-body img {border-radius:8px;}
.page-body a {overflow-wrap:anywhere;}
.archive-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;margin:36px 0;}
.post-card {border:1px solid var(--leb-border);padding:24px;border-radius:15px;}
.post-card h2 {font-size:1.43rem;margin:5px 0 12px;}
.post-card h2 a {text-decoration:none;color:var(--leb-ink);}
.post-card .excerpt {color:var(--leb-muted);font-size:.94rem;}
.post-card-thumbnail img {aspect-ratio:16/9;object-fit:cover;width:100%;}
.pagination {margin:35px 0;}
.page-numbers {padding:7px 12px;border:1px solid var(--leb-border);border-radius:8px;text-decoration:none;}
/* Footer */
.site-footer {background:#253438;color:#d2e0e2;padding:52px 0 24px;}
.footer-grid {display:grid;grid-template-columns:1.65fr 1fr 1fr;gap:45px;}
.footer-about {max-width:360px;}
.footer-logo {width:180px;padding:8px;background:#fff;border-radius:10px;}
.footer-about p {font-size:.85rem;line-height:1.8;margin-top:20px;color:#b7cace;}
.site-footer h2 {font-size:1rem;letter-spacing:0;color:#fff;margin:5px 0 20px;}
.site-footer a {display:block;color:#d2e0e2;text-decoration:none;margin-bottom:10px;font-size:.88rem;}
.site-footer a:hover {color:#fff;}
.footer-bottom {display:flex;justify-content:space-between;gap:20px;margin-top:35px;padding-top:20px;border-top:1px solid #446166;color:#aec3c6;font-size:.76rem;}
.footer-bottom a {display:inline;margin:0;font-size:inherit;}
/* Call Now Button overlaps controls on mobiles; Joinchat remains visible */
@media(max-width:850px) {
  #callnowbutton,
  .call-now-button,
  .cnb-single {display:none!important;}
}
@media(max-width:1100px) {
  .menu-links {gap:12px;}
  .menu-links a {font-size:.78rem;}
  .desktop-nav {gap:12px;}
  .site-logo {width:185px;}
  .hero-grid {gap:30px;}
  .quick-card {padding:18px 15px;}
  .quick-icon {width:46px;height:46px;flex-basis:46px;}
}
@media(max-width:900px) {
  .desktop-nav {display:none;}
  .mobile-toggle {display:flex;}
  .header-inner {min-height:77px;}
  .site-logo {width:179px;max-height:64px;}
  .hero {padding:59px 0 80px;}
  .hero-grid {grid-template-columns:1fr;}
  .hero-side {display:none;}
  .hero h1 {max-width:750px;font-size:clamp(2.25rem,5.2vw,3rem);}
  .hero-description {max-width:700px;font-size:1rem;}
  .quick-grid {grid-template-columns:1fr;}
  .quick-section {margin-top:-36px;}
  .quick-card {min-height:95px;padding:18px 22px;}
  .service-grid {gap:12px;}
  .service-card {padding:22px;}
  .locations-grid {gap:30px;}
}
@media(max-width:700px) {
  html {scroll-padding-top:70px;}
  .wrap {width:calc(100% - 32px);}
  .site-logo {width:165px;}
  .mobile-toggle {padding:8px 10px;}
  .hero {padding:41px 0 67px;}
  .hero h1 {font-size:clamp(2.05rem,9vw,2.65rem);margin-bottom:17px;}
  .hero-description {font-size:.95rem;line-height:1.67;}
  .hero-actions {display:grid;gap:10px;margin:22px 0 16px;}
  .hero-actions .btn {justify-content:center;width:100%;min-height:48px;}
  .hero-trust {font-size:.72rem;gap:12px;}
  .quick-card {min-height:80px;padding:15px 16px;}
  .quick-content strong {font-size:.94rem;}
  .quick-content small {font-size:.74rem;}
  .quick-icon {height:45px;width:45px;flex-basis:45px;}
  .quick-icon .leb-icon {height:24px;width:24px;}
  .section {padding:62px 0;}
  .service-grid,.prep-grid,.locations-grid {grid-template-columns:1fr;}
  .service-grid {margin-top:23px;}
  .service-card {padding:22px;}
  .prep-card {padding:20px;gap:14px;}
  .prep-symbol {width:45px;height:45px;flex-basis:45px;}
  .location-row {padding:17px;}
  .about-bar {flex-direction:column;align-items:flex-start;}
  .archive-grid,.footer-grid {grid-template-columns:1fr;}
  .footer-grid {gap:25px;}
  .footer-bottom {flex-wrap:wrap;}
  .page-body {padding-top:32px;padding-bottom:60px;}
  .page-top {padding:34px 0;}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto;}
  *,*::before,*::after {transition:none!important;animation:none!important;}
}

/* LEB 2027 v3.2 - patient-oriented interior pages */
.page-subtitle {max-width:720px;color:var(--leb-muted);font-size:1.03rem;line-height:1.75;margin:19px 0 0;}
.detail-section {padding-top:40px;}
.locations-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
.detail-card {padding:28px;border:1px solid var(--leb-border);border-radius:19px;background:#fff;box-shadow:var(--leb-shadow);}
.detail-card h2 {font-size:1.44rem;line-height:1.28;margin:18px 0 12px;}
.detail-card p {font-size:.95rem;color:var(--leb-muted);line-height:1.7;}
.detail-symbol {height:52px;width:52px;display:grid;place-items:center;background:#e7f8f8;color:var(--leb-teal-dark);border-radius:14px;}
.detail-symbol .leb-icon {width:27px;height:27px;}
.location-detail .btn {margin-top:8px;}
.detail-content {padding-top:34px;}
.detail-content>h2:first-child {margin-top:0;}
.contact-layout {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(285px,.7fr);gap:42px;padding-top:52px;padding-bottom:85px;}
.contact-content {overflow-wrap:anywhere;min-width:0;}
.contact-content p,.contact-content li {line-height:1.8;}
.contact-content input:not([type=checkbox]):not([type=radio]),.contact-content textarea,.contact-content select {max-width:100%;width:100%;padding:11px 13px;border:1px solid #cadbdd;border-radius:9px;}
.contact-content input[type=submit],.contact-content button[type=submit] {border:0;border-radius:10px;padding:12px 20px;background:var(--leb-teal-dark);color:white;font-weight:700;cursor:pointer;}
.contact-aside {display:grid;align-content:start;gap:18px;}
.contact-aside .btn {white-space:normal;text-align:center;}
.portal-banner {display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(110deg,#effafa,#fff8fb);margin-bottom:30px;}
.portal-banner>div {max-width:600px;}
.portal-banner h2 {margin:6px 0 12px;}
.portal-banner .btn {flex-shrink:0;}
.study-summary {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px;}
.study-summary .detail-card h2 {font-size:1.27rem;}
.study-summary .detail-card p {margin:0;}
.study-note {border-left:3px solid var(--leb-magenta);background:#fff5f8;padding:13px 16px;margin:0 0 32px!important;color:var(--leb-ink);font-size:.95rem;}
.article-footer-links {display:flex;gap:20px;flex-wrap:wrap;margin-top:35px;padding-top:25px;border-top:1px solid var(--leb-border);}
.mobile-nav .mobile-links {list-style:none;margin:0;padding:0;}
.mobile-nav .mobile-links a {display:flex;justify-content:space-between;align-items:center;padding:13px 7px;color:var(--leb-ink);font-weight:650;border-bottom:1px solid var(--leb-border);text-decoration:none;}
@media(max-width:900px) {
  .contact-layout {grid-template-columns:1fr;gap:25px;}
  .portal-banner {flex-direction:column;align-items:flex-start;}
}
@media(max-width:700px) {
  .locations-cards,.study-summary {grid-template-columns:1fr;}
  .detail-card {padding:21px;}
  .detail-section {padding-top:24px;}
  .contact-layout {padding-top:28px;padding-bottom:60px;}
}

/* LEB 2027 v3.3 - sedes y horarios integrados, sin contenido duplicado */
.leb-sedes .location-detail {display:flex;flex-direction:column;align-items:flex-start;}
.leb-sedes .location-detail h2 {margin:18px 0 8px;}
.leb-sedes .site-address {margin:0 0 16px;}
.site-info-line {display:flex;align-items:flex-start;gap:12px;padding:13px 0;border-top:1px solid var(--leb-border);width:100%;}
.site-info-line>.leb-icon {color:var(--leb-teal-dark);width:21px;height:21px;flex-shrink:0;margin-top:3px;}
.site-info-line>div {display:flex;flex-direction:column;align-items:flex-start;gap:3px;}
.site-info-line strong {font-size:.88rem;color:var(--leb-ink);}
.site-info-line span,.site-info-line a {font-size:.91rem;line-height:1.5;color:var(--leb-muted);}
.location-actions {display:flex;flex-direction:column;gap:14px;align-items:stretch;width:100%;margin-top:auto;padding-top:20px;}
.location-actions .btn {margin:0;justify-content:center;}
.location-map-details {width:100%;border-top:1px solid var(--leb-border);padding-top:13px;}
.location-map-details summary {display:flex;align-items:center;gap:8px;color:var(--leb-teal-dark);font-weight:760;cursor:pointer;font-size:.89rem;padding:5px 2px;}
.location-map-details summary::-webkit-details-marker {display:none;}
.location-map-details summary .leb-icon {width:19px;height:19px;}
.map-frame {margin-top:12px;overflow:hidden;border:1px solid var(--leb-border);border-radius:11px;min-height:255px;background:#f2faf9;}
.map-frame iframe {display:block;width:100%;height:260px;border:0;}
.guard-section {padding-top:42px;padding-bottom:26px;}
.guard-card {background:#f3fafa;border-radius:22px;border:1px solid #deeeee;padding:32px 34px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);gap:28px;align-items:center;}
.guard-card h2 {font-size:clamp(1.55rem,2.4vw,2rem);margin:8px 0 10px;}
.guard-card p:not(.eyebrow) {font-size:.96rem;color:var(--leb-muted);line-height:1.75;margin:0;}
.guard-actions {display:grid;gap:11px;}
.guard-actions .btn {justify-content:center;background:#fff;white-space:normal;}
.guard-actions .leb-icon {width:20px;height:20px;flex-shrink:0;}
.sedes-bottom {padding-bottom:86px;}
.sedes-bottom p {border-top:1px solid var(--leb-border);padding-top:25px;font-size:.92rem;color:var(--leb-muted);}
@media(max-width:800px) {
  .guard-card {grid-template-columns:1fr;padding:25px 22px;gap:20px;}
  .guard-actions {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:480px) {
  .guard-actions {grid-template-columns:1fr;}
  .sedes-bottom {padding-bottom:55px;}
}

/* v3.4: instrucciones frecuentes. Solo aplica a la página de indicaciones. */
.page-body--indications {max-width:1100px;}
.page-body--indications h2 {margin:0;}
.page-body--indications h3 {margin:0;}
.instructions-intro {margin:0 0 39px;}
.instruction-tip {display:flex;gap:15px;align-items:flex-start;background:#f1fafa;border:1px solid #dceef0;border-radius:17px;padding:22px 24px;}
.instruction-tip-icon {display:grid;place-items:center;flex:0 0 43px;height:43px;border-radius:12px;background:#dff6f5;color:var(--leb-teal-dark);}
.instruction-tip strong {font-size:1.02rem;}
.instruction-tip p {color:var(--leb-muted);margin:6px 0 0;font-size:.94rem;}
.study-jump {display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 0;}
.study-jump a {display:flex;gap:10px;align-items:center;flex-wrap:wrap;border:1px solid var(--leb-border);border-radius:15px;padding:17px 19px;font-size:.98rem;font-weight:750;text-decoration:none;color:var(--leb-ink);}
.study-jump a:hover {border-color:#7dc5cb;background:#f7fdfd;}
.study-jump a>.leb-icon:first-child {color:var(--leb-teal-dark);flex:0 0 24px;}
.study-jump a>span {font-size:.82rem;font-weight:500;color:var(--leb-muted);margin-left:auto;}
.study-jump a>.leb-icon:last-child {color:var(--leb-teal-dark);width:17px;height:17px;}
.study-guide {scroll-margin-top:110px;border:1px solid var(--leb-border);border-radius:21px;background:#fff;padding:32px 36px;margin:26px 0 36px;box-shadow:var(--leb-shadow);}
.study-guide-heading {display:flex;gap:17px;align-items:center;margin-bottom:25px;}
.study-guide-symbol {flex:0 0 58px;width:58px;height:58px;display:grid;place-items:center;color:var(--leb-teal-dark);background:#e7f8f8;border-radius:16px;}
.study-guide-symbol .leb-icon {width:30px;height:30px;}
.study-guide-heading .eyebrow {font-size:.72rem;margin:0 0 3px;}
.study-guide-heading h2 {font-size:clamp(1.6rem,3vw,2.13rem);line-height:1.2;}
.study-guide-heading p:last-child {margin:5px 0 0;color:var(--leb-muted);font-size:.92rem;}
.study-highlights {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 28px;}
.study-highlights>div {background:#f4fafa;border-radius:13px;padding:17px 15px;display:flex;flex-direction:column;gap:4px;}
.study-highlights .study-highlight-label {text-transform:uppercase;letter-spacing:.06em;font-size:.68rem;color:var(--leb-muted);font-weight:750;}
.study-highlights strong {font-size:1.37rem;line-height:1.3;color:var(--leb-ink);}
.study-highlights small {font-size:.75rem;line-height:1.45;color:var(--leb-muted);}
.study-guide>h3 {font-size:1.26rem;margin:0 0 17px;}
.study-steps {list-style:none;padding:0;margin:0 0 24px;}
.study-steps li {display:flex;gap:15px;padding:18px 0;border-bottom:1px solid var(--leb-border);line-height:1.6;}
.study-steps li:first-child {padding-top:0;}
.study-step-index {display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;background:#e7f8f8;border:1px solid #cfebec;color:var(--leb-teal-dark);border-radius:50%;font-weight:800;}
.study-steps strong {font-size:.97rem;}
.study-steps p {margin:4px 0 0;color:var(--leb-muted);font-size:.93rem;line-height:1.67;}
.instruction-note {padding:19px 22px;border-left:4px solid var(--leb-magenta);background:#fff5f8;border-radius:0 13px 13px 0;font-size:.92rem;line-height:1.75;}
.instruction-questions {display:flex;align-items:center;gap:24px;justify-content:space-between;padding:30px;border-radius:19px;background:linear-gradient(112deg,#edf9f9,#fff9fb);border:1px solid var(--leb-border);margin:36px 0 0;}
.instruction-questions>div {max-width:660px;}
.instruction-questions .eyebrow {margin:0 0 8px;}
.instruction-questions h2 {font-size:clamp(1.35rem,2.8vw,1.9rem);}
.instruction-questions p:last-child {color:var(--leb-muted);font-size:.91rem;margin:9px 0 0;}
.instruction-questions .btn {flex-shrink:0;white-space:normal;text-align:center;}
.instruction-extra {padding:36px 0 0;}
.instruction-extra-head {display:flex;align-items:end;justify-content:space-between;gap:20px;}
.instruction-extra-head h2 {font-size:clamp(1.4rem,3vw,2rem);}
.instruction-filter-label {font-size:.78rem;font-weight:700;display:flex;flex-direction:column;gap:6px;min-width:230px;}
.study-filter {width:100%;padding:10px 14px;border-radius:10px;border:1px solid #cbdfe0;background:white;}
.instruction-extra-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:20px;}
.instruction-extra-card {padding:21px;border:1px solid var(--leb-border);border-radius:16px;background:white;}
.instruction-extra-card h3 {font-size:1.1rem;}
.instruction-extra-card h3 a {color:var(--leb-ink);text-decoration:none;}
.instruction-extra-card p {color:var(--leb-muted);font-size:.88rem;}
.instruction-extra-card[hidden],.instruction-no-results[hidden] {display:none!important;}
@media(max-width:800px) {
  .study-guide {padding:25px 22px;}
  .study-jump {grid-template-columns:1fr;}
  .instruction-questions {flex-direction:column;align-items:stretch;}
  .instruction-extra-head {align-items:stretch;flex-direction:column;}
  .instruction-filter-label {max-width:none;min-width:0;}
}
@media(max-width:600px) {
  .instruction-tip {padding:18px;gap:11px;}
  .study-guide {padding:20px 16px;border-radius:15px;}
  .study-guide-heading {align-items:flex-start;gap:12px;}
  .study-guide-symbol {flex-basis:43px;width:43px;height:43px;border-radius:12px;}
  .study-guide-symbol .leb-icon {width:24px;height:24px;}
  .study-guide-heading .eyebrow {font-size:.62rem;}
  .study-highlights {grid-template-columns:1fr;gap:8px;}
  .study-highlights>div {padding:13px 15px;}
  .study-highlights strong {font-size:1.15rem;}
  .study-jump a {padding:15px;}
  .study-jump a>span {margin-left:0;}
  .study-steps li {gap:10px;}
  .study-step-index {flex-basis:30px;width:30px;height:30px;}
  .instruction-questions {padding:22px 19px;}
  .instruction-extra-grid {grid-template-columns:1fr;}
}
