/* Pass Point Learning — Ohio license guide pages (loaded after styles.css) */

.g-crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 18px; }
.g-crumbs a { color: var(--muted); text-decoration: none; }
.g-crumbs a:hover { color: var(--navy); text-decoration: underline; }

.g-hero { padding: 48px 0 8px; }
.g-hero .container { max-width: 860px; }
.g-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.g-hero .lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 14px; }
.g-checked { font-size: .86rem; color: var(--muted); margin: 0; }

.g-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.g-sec { padding: 36px 0 4px; }
.g-sec h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-bottom: .6em; }
.g-sec h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.g-sec p, .g-sec li { color: #3a4256; }
.g-sec ul, .g-sec ol { padding-left: 22px; margin: 0 0 1em; }
.g-sec li { margin-bottom: 8px; }

/* At a glance tiles */
.g-glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 0; }
.g-tile { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; }
.g-tile b { display: block; font-size: 1.35rem; color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; }
.g-tile span { display: block; font-size: .84rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
@media (max-width: 760px) { .g-glance { grid-template-columns: 1fr 1fr; } }

/* Five steps in short */
.g-steps { list-style: none; counter-reset: gs; padding: 0 !important; display: grid; gap: 10px; }
.g-steps li { counter-increment: gs; display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0; }
.g-steps li::before { content: counter(gs); flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.g-steps b { color: var(--navy); }

/* Tables */
.g-table { width: 100%; border-collapse: collapse; font-size: .96rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.g-table th, .g-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.g-table thead th { background: var(--bg-soft); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.g-table tr:last-child td, .g-table tr:last-child th { border-bottom: 0; }
.g-table td.num { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
.g-table tr.total td, .g-table tr.total th { background: var(--teal-soft); font-weight: 800; color: var(--navy); }
.g-table .small { display: block; font-weight: 500; font-size: .84rem; color: var(--muted); }
.g-scroll { overflow-x: auto; }
.g-note { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }

/* Gate */
.gate-card { display: none; }
html.gate-on .gated-body { max-height: 300px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent); pointer-events: none; user-select: none; -webkit-user-select: none; }
html.gate-on .gate-card { display: block; position: relative; margin: -34px auto 0; background: #fff; border: 2px solid var(--teal); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 28px; max-width: 640px; }
.gate-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.gate-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.gate-card li { padding-left: 26px; position: relative; color: #3a4256; font-weight: 500; }
.gate-card li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 7px; height: 12px; border: solid var(--teal); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.gate-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.gate-form input[type="email"] { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); min-height: 52px; width: 100%; background: #fff; color: var(--ink); }
.gate-form input[type="email"]:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(54,178,175,.2); }
.gate-form .hidden { position: absolute; left: -9999px; }
.gate-form .form-error { grid-column: 1 / -1; color: #b42318; margin: 0; font-size: .92rem; }
.gate-form .fine { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; margin: 0; }
@media (max-width: 560px) { .gate-form { grid-template-columns: 1fr; } html.gate-on .gate-card { padding: 22px; } }

/* Exam-day checklist */
.g-check { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.g-check li { position: relative; padding: 12px 14px 12px 46px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 0; }
.g-check li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; border: 2px solid var(--teal); border-radius: 5px; }

/* Related guides */
.g-related { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; list-style: none; }
.g-related a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 700; text-decoration: none; color: var(--navy); }
.g-related a:hover { border-color: var(--teal); }
@media (max-width: 560px) { .g-related { grid-template-columns: 1fr; } }

.g-cta { margin: 48px auto 0; max-width: 860px; padding: 0 20px; }
.g-cta .cta-band .hero-ctas { flex-wrap: wrap; }
.g-sources { font-size: .88rem; color: var(--muted); }
.g-sources a { color: var(--muted); }

/* Practice question pages */
.pq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 0 0 14px; }
.pq-q { font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.pq-q span { color: var(--teal-dark); margin-right: 4px; }
.pq-choices { list-style: none; padding: 0 !important; margin: 0 0 10px !important; display: grid; gap: 6px; }
.pq-choices li { margin: 0; color: #3a4256; }
.pq-ans { background: var(--teal-soft); border-radius: 10px; padding: 10px 14px; }
.pq-ans summary { cursor: pointer; font-weight: 700; color: var(--teal-dark); }
.pq-ans p { margin: 8px 0 0; font-size: .95rem; }
.pq-ans.open p:first-child { margin-top: 0; }
.g-cta .btn { white-space: normal; text-align: center; line-height: 1.25; }
