/* Extra styles for the /sozlar and /ielts SEO pages (seo/pages/words.js, seo/pages/ielts.js).
   Builds on seo.css (CORE); only colours inherited from the page, so it fits the dark/gold theme. */
.seo-table-wrap { overflow-x: auto; margin: 1rem 0; -webkit-overflow-scrolling: touch; }
.seo-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.seo-table caption { text-align: left; font-size: 0.85rem; opacity: 0.75; padding-bottom: 0.5rem; }
.seo-table th, .seo-table td { text-align: left; vertical-align: top; padding: 0.55rem 0.7rem; border-bottom: 1px solid rgba(201, 168, 106, 0.18); }
.seo-table thead th { font-weight: 600; color: var(--gold, #c9a86a); border-bottom-color: rgba(201, 168, 106, 0.45); white-space: nowrap; }
.seo-table tbody tr:hover { background: rgba(201, 168, 106, 0.05); }
.seo-words-table td:first-child { white-space: nowrap; }
.seo-words-table td:last-child { opacity: 0.85; font-style: italic; }

.seo-cards { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.75rem; }
.seo-cards > li { border: 1px solid rgba(201, 168, 106, 0.22); border-radius: 12px; padding: 0.85rem 1rem; background: rgba(255, 255, 255, 0.02); }
.seo-cards > li ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.seo-cards small { opacity: 0.75; }

.seo-examples { padding-left: 1.1rem; }
.seo-examples li { margin: 0.35rem 0; }
.seo-examples small { opacity: 0.75; }

.seo-card, .seo-model, .seo-passage { border-left: 3px solid var(--gold, #c9a86a); background: rgba(255, 255, 255, 0.03); border-radius: 0 10px 10px 0; padding: 0.75rem 1rem; margin: 0.75rem 0; }
.seo-card p, .seo-model p, .seo-passage p { margin: 0.45rem 0; }
.seo-note { opacity: 0.75; }
.seo-script { margin: 0.75rem 0; }
.seo-script summary { cursor: pointer; font-weight: 600; }
.seo-script > div { padding: 0.5rem 0 0 0.75rem; border-left: 3px solid rgba(201, 168, 106, 0.4); }
.seo-cta-inline { border: 1px solid rgba(201, 168, 106, 0.35); border-radius: 14px; padding: 1rem 1.2rem; margin: 1.5rem 0; }
.seo-cta-inline .btn { margin: 0.25rem 0.4rem 0.25rem 0; }

@media (max-width: 480px) {
  .seo-table { font-size: 0.88rem; }
  .seo-table th, .seo-table td { padding: 0.45rem 0.45rem; }
  .seo-words-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .seo-words-table tr { display: block; padding: 0.5rem 0; border-bottom: 1px solid rgba(201, 168, 106, 0.18); }
  .seo-words-table td { display: inline; border: 0; padding: 0; }
  .seo-words-table td:nth-child(2)::before { content: " — "; }
  .seo-words-table td:last-child { display: block; margin-top: 0.2rem; }
}
