.grammar{max-width:1040px;padding-block:56px 32px}
.grammar-language-switch{display:flex;flex-wrap:wrap;gap:8px;margin:-32px 0 40px;font-size:.85rem}
.grammar-language-switch a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:999px}
.grammar-language-switch a[aria-current=page]{background:#edf4ef;border-color:#b5cbbd;color:#2e634d}
.grammar-language-switch a:hover{border-color:#6e927d}
html[lang=tr] .footer-links{flex-wrap:wrap;margin-left:0}
.grammar-breadcrumbs{font-size:.8rem;font-weight:400;line-height:1.6;margin-bottom:64px;color:var(--muted)}
.grammar-breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px 12px;margin:0;padding:0}
.grammar-breadcrumbs li:not(:last-child)::after{content:'/';margin-left:12px;color:#949ba4}
.grammar-breadcrumbs a:hover,.grammar-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.grammar-heading{max-width:780px;margin-bottom:48px}
.grammar-heading h1{font-size:clamp(2.7rem,6vw,4.6rem);line-height:1.08;max-width:900px;color:var(--ink);background:none;-webkit-text-fill-color:currentColor}
.grammar-heading h1 span{color:#306b57}
.grammar-subtitle{font-size:1.4rem;line-height:1.5;margin-top:24px;max-width:650px;color:var(--ink)}
.grammar-intro{max-width:630px;margin-top:20px;line-height:1.8}
.grammar-byline{font-size:.8rem;margin-top:24px}
.grammar h2{font-size:1.8rem;line-height:1.25;letter-spacing:-.035em}
.grammar h3{font-size:1.25rem;line-height:1.4}
.grammar-answer{padding:28px 32px;border-left:3px solid #477e69;background:#f1f6f3;border-radius:0 16px 16px 0;margin-bottom:28px}
.grammar-answer h2{font-size:1rem;letter-spacing:0;margin-bottom:12px}
.grammar-answer p{max-width:860px;color:#344b41;line-height:1.8}
.grammar-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.grammar-choice{padding:32px;border:1px solid #dce8e0;border-radius:20px;background:#f6f9f5}
.grammar-choice:nth-child(2){background:#fff8f1;border-color:#efe2d2}
.grammar-choice h2{font-size:3.2rem;color:#356b55;margin-bottom:20px}
.grammar-choice:nth-child(2) h2{color:#98623f}
.grammar-choice h3{margin-bottom:12px}
.grammar-choice>p{line-height:1.7;min-height:3.4em}
.grammar-example{border-left:2px solid #d5e1ec;padding-left:20px}
.grammar-example p[lang=es]{font-size:1.15rem;color:var(--ink);line-height:1.6}
.grammar-example .grammar-translation{margin-top:6px;font-size:.95rem}
.grammar-example .grammar-note{font-size:.85rem;margin-top:14px;line-height:1.7}
.grammar-choice .grammar-example{margin-top:28px;border-color:#c4d9c8}
.grammar-choice:nth-child(2) .grammar-example{border-color:#e3c7aa}
.grammar-reading{max-width:720px;margin:64px auto 0}
.grammar-toc{display:block;padding-bottom:32px;border-bottom:1px solid var(--line);font-weight:400}
.grammar-toc p{font-size:.7rem;letter-spacing:.12em;font-weight:600}
.grammar-toc ul{padding-left:20px;margin:16px 0 0;display:grid;gap:14px;line-height:1.6}
.grammar-toc a,.grammar-references a,.grammar-text-link{color:#2454b7;text-decoration:underline;text-underline-offset:4px}
.grammar-section{margin-top:64px}
.grammar-section>p,.grammar-caution p,.grammar-takeaway p{margin-top:20px;line-height:1.85}
.grammar-section>.eyebrow{margin:0 0 16px}
.grammar-examples{display:grid;gap:28px;margin-top:28px}
.grammar-caution{padding:28px 32px;background:#fff8e8;border-radius:16px;margin-top:48px}
.grammar-caution h2,.grammar-takeaway h2{font-size:1.25rem}
.grammar-caution p,.grammar-takeaway p{margin-top:12px}
.grammar-exercises{list-style:none;counter-reset:question;padding:0;margin:32px 0 0}
.grammar-exercises>li{counter-increment:question;border-top:1px solid var(--line);padding:28px 0}
.grammar-exercises>li>p:first-child::before{content:counter(question,decimal-leading-zero) ' / ';color:#3c6e59;font-size:.8rem;font-weight:600}
.grammar-exercises>li>p{line-height:1.75}
.grammar-prompt{font-size:1.35rem;color:var(--ink);margin:12px 0 20px}
.grammar-exercises summary{cursor:pointer;font-size:.9rem;font-weight:600;color:#2454b7;width:fit-content;padding:8px 0;min-height:44px}
.grammar-solution{padding:20px 24px;background:#f1f6f3;border-radius:12px;margin-top:8px}
.grammar-solution p{line-height:1.75}
.grammar-solution p[lang=es]{color:#2e634d;font-weight:600;margin-bottom:8px}
.grammar-takeaway{padding-block:24px 40px}
.grammar-references{border-top:1px solid var(--line);padding-top:24px}
.grammar-references h2{font-size:1rem;letter-spacing:0}
.grammar-references p,.grammar-references ul{font-size:.85rem;line-height:1.8;margin-top:16px}
.grammar-references ul{padding-left:20px;display:grid;gap:8px}
.grammar-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.grammar-list-title{margin-bottom:28px}
.grammar-card{border:1px solid var(--line);border-radius:18px;padding:28px;display:flex;flex-direction:column;align-items:flex-start;background:#fff}
.grammar-card:hover{border-color:#6e927d;color:var(--ink);background:#f6f9f5}
.grammar-card-number{font-size:.65rem;letter-spacing:.1em;color:#446a56;margin-bottom:32px}
.grammar-card h3{font-size:1.55rem;margin-bottom:16px}
.grammar-card p{font-size:.95rem;line-height:1.8;margin-bottom:28px}
.grammar-card-link{font-size:.8rem;color:#2454b7;margin-top:auto;display:flex;gap:16px;align-items:center}
.grammar-hub-note{max-width:680px;padding-block:96px 48px}
.grammar-hub-note>p:not(.eyebrow){margin-block:24px;line-height:1.85}
.grammar-related{margin-top:88px}
.grammar-related h2{margin-bottom:28px}
.grammar-related .grammar-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.grammar-app{margin-block:72px 32px;padding:40px;background:#edf3ff;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:48px}
.grammar-app h2{font-size:1.6rem}
.grammar-app p{margin-block:16px;line-height:1.8;max-width:500px}
.grammar-app .app-store-badge{flex-shrink:0}
.grammar-app a.grammar-text-link{font-size:.85rem}
.grammar-resource{padding:40px;border:1px solid var(--line);border-radius:20px;margin-bottom:64px}
.grammar-resource h2{font-size:2rem;line-height:1.2}
.grammar-resource p:not(.eyebrow){margin-block:20px;max-width:640px;line-height:1.8}
.grammar-resource a{color:#2454b7;text-decoration:underline;text-underline-offset:4px}
@media(max-width:900px){.grammar-cards{grid-template-columns:1fr}.grammar-card-number{margin-bottom:20px}.grammar-app{align-items:flex-start;flex-direction:column;gap:24px}}
@media(max-width:600px){.grammar{padding-top:32px}.grammar-breadcrumbs{margin-bottom:40px;font-size:.75rem}.grammar-heading{margin-bottom:32px}.grammar-subtitle{font-size:1.15rem}.grammar-choices,.grammar-related .grammar-cards{grid-template-columns:1fr}.grammar-choice,.grammar-answer,.grammar-caution,.grammar-card,.grammar-app,.grammar-resource{padding:24px}.grammar-choice>p{min-height:0}.grammar-choice h2{font-size:2.7rem}.grammar h2{font-size:1.5rem}.grammar-choice h2{font-size:2.7rem}.grammar-answer h2,.grammar-references h2{font-size:1rem}.grammar-reading{margin-top:40px}.grammar-section{margin-top:48px}.grammar-related{margin-top:64px}.grammar-hub-note{padding-top:64px}.grammar-app{margin-top:48px}.grammar-prompt{font-size:1.2rem}.grammar-caution h2,.grammar-takeaway h2{font-size:1.2rem}}
