/* Public SEO Quiz Template (scoped) */

.oe-public-quiz-page {
  --oe-blue: #1769e8;
  --oe-blue-dark: #0f4fc4;
  --oe-navy: #0b1437;
  --oe-text: #172033;
  --oe-muted: #667085;
  --oe-border: #dfe5f2;
  --oe-soft-bg: #f7faff;
  --oe-card-bg: #ffffff;
  --oe-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  --oe-radius: 14px;
  --oe-radius-lg: 18px;

  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--oe-text);
  font-family: Inter, Arial, sans-serif;
}

.oe-public-quiz-page * { box-sizing: border-box; }

.oe-public-quiz-page a { color: inherit; text-decoration: none; }

.oe-public-quiz-page img { max-width: 100%; height: auto; }

.oe-public-header {
  background: #ffffff;
  border-bottom: 1px solid var(--oe-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.oe-public-header__inner {
  max-width: 1180px;
  height: 76px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.oe-public-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  color: var(--oe-blue);
}

.oe-public-logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--oe-blue);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.oe-public-logo__text {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.oe-public-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--oe-navy);
}

.oe-public-nav a:hover { color: var(--oe-blue); }

.oe-public-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.oe-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}

.oe-btn--ghost {
  border-color: var(--oe-border);
  color: var(--oe-blue);
  background: #ffffff;
}

.oe-btn--primary {
  background: var(--oe-blue);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 105, 232, 0.24);
}

.oe-btn--primary:hover,
.oe-play-btn:hover { background: var(--oe-blue-dark); }

.oe-public-main {
  /* Make container stable even if other public CSS overrides .oe-public-main */
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 20px 56px;
  box-sizing: border-box;
}

/* teacher-panel.css resets .oe-public-main to full-width (max-width:none, padding:0).
   Re-apply container only for the SEO quiz page with higher specificity. */
body.oe-public-page.oe-public-quiz-seo-body .oe-public-quiz-page .oe-public-main {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Keep SEO content centered while allowing homepage-like ad rails */
body.oe-public-page.oe-public-quiz-seo-body .oe-public-quiz-page .oe-public-shell {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 28px 20px 56px !important;
  box-sizing: border-box !important;
  overflow-x: clip !important;
}

/* Header: keep homepage header, but prevent oversized logo on SEO template. */
body.oe-public-page.oe-public-quiz-seo-body .oe-tp-pubBrand__img {
  height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
}

/* --- Public quiz SEO landing (templates/public-quiz-seo.php) --- */
body.oe-public-quiz-seo-body .oe-seo-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  color: #07143d;
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 13px;
  color: #52617f;
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-breadcrumb a:hover {
  text-decoration: underline;
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-breadcrumb strong {
  color: #07143d;
}

.oe-seo-hero {
  padding: 38px 40px;
  border: 1px solid #dbe7ff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 6%, rgba(20, 99, 232, 0.075), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(56, 189, 248, 0.055), transparent 48%),
    #ffffff;
  box-shadow: 0 18px 44px rgba(15, 35, 75, 0.09);
}

@media (min-width: 901px) {
  .oe-seo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: center;
  }
}

.oe-seo-hero__text,
.oe-seo-hero__game {
  min-width: 0;
}

.oe-seo-meta-strip {
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.oe-seo-meta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.oe-seo-meta-strip .oe-seo-meta-card--strip {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
}

.oe-seo-meta-strip .oe-seo-meta-card--strip.oe-seo-meta-card--topic {
  flex: 1 1 clamp(160px, 32vw, 320px);
  min-width: min(100%, 140px);
}

.oe-seo-meta-strip .oe-seo-meta-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0;
  flex-shrink: 0;
  font-size: 14px;
}

.oe-seo-meta-strip .oe-seo-meta-card__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  justify-content: center;
}

.oe-seo-meta-strip .oe-seo-meta-label {
  margin-bottom: 0;
  font-size: 10px;
  line-height: 1.2;
}

.oe-seo-meta-strip .oe-seo-meta-card--strip strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 900px) {
  .oe-seo-meta-strip__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .oe-seo-meta-strip .oe-seo-meta-card--strip.oe-seo-meta-card--topic {
    grid-column: 1 / -1;
    flex: none;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .oe-seo-meta-strip__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .oe-seo-meta-strip .oe-seo-meta-card--strip.oe-seo-meta-card--topic {
    grid-column: auto;
  }
}

.oe-seo-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #dff8e8;
  color: #12813b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.oe-seo-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #07143d;
  overflow-wrap: anywhere;
  word-break: normal;
}

.oe-seo-hero__text .oe-seo-hero__desc {
  margin-bottom: 22px;
}

.oe-seo-hero__desc {
  max-width: 640px;
  margin: 0 0 26px;
  color: #52617f;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.72;
}

.oe-seo-hero__text .oe-seo-actions {
  margin-top: 0;
}

.oe-seo-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 14px;
  margin: 0 0 26px;
}

@media (min-width: 900px) {
  .oe-seo-meta-grid:not(.oe-seo-meta-grid--hero-topic) .oe-seo-meta-card--topic {
    grid-column: span 2;
  }
}

.oe-seo-meta-card {
  min-height: 0;
  padding: 15px 16px;
  border: 1px solid #dbe7ff;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 22px rgba(15, 35, 75, 0.05);
}

.oe-seo-meta-card--muted strong {
  color: #94a3b8;
}

.oe-seo-meta-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #edf5ff 0%, #e3efff 100%);
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.oe-seo-meta-label {
  display: block;
  margin-bottom: 4px;
  color: #52617f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.oe-seo-meta-card strong {
  display: block;
  color: #07143d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: normal;
}

.oe-seo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.oe-seo-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-primary-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #1473ff, #155eea);
  box-shadow: 0 14px 28px rgba(20, 115, 255, 0.28);
}

.oe-seo-primary-btn:hover {
  transform: translateY(-1px);
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-login-link {
  color: #1463e8 !important;
  font-weight: 800;
  text-decoration: none;
}

.oe-seo-hero__game {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

@media (min-width: 901px) {
  .oe-seo-hero__game {
    justify-content: flex-end;
  }
}

.oe-seo-hero-game-card {
  margin: 0;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid #dbe7ff;
  background: linear-gradient(145deg, #eff6ff 0%, #f5f9ff 48%, #ffffff 100%);
  box-shadow: 0 20px 42px rgba(15, 35, 75, 0.11);
  overflow: hidden;
  box-sizing: border-box;
}

.oe-seo-hero-game-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
  overflow: hidden;
}

.oe-seo-hero-game-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oe-seo-hero-game-card__caption,
.oe-seo-hero-game-card__cap {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #e8f0ff;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  color: #07143d;
  text-align: center;
}

.oe-seo-hero__visual-fallback {
  width: 100%;
  max-width: 340px;
  min-height: 180px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  border: 1px solid #dbe7ff;
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.12), transparent 55%),
    linear-gradient(135deg, rgba(219, 235, 255, 0.94), rgba(245, 250, 255, 0.96));
  box-sizing: border-box;
}

.oe-seo-search-tags {
  margin: 28px 0 36px;
  padding: 20px 22px;
  border: 1px solid #dbe7ff;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 65%);
  box-shadow: 0 10px 28px rgba(15, 35, 75, 0.05);
}

.oe-seo-search-tags__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.oe-seo-search-tags__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(145deg, #e8f1ff, #dbeafe);
  color: #1463e8;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.oe-seo-search-tags h2 {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 900;
  color: #07143d;
}

.oe-seo-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.oe-seo-tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #344461;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.oe-seo-tag-list span:hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 16px rgba(20, 99, 232, 0.12);
  transform: translateY(-1px);
}

.oe-seo-section {
  margin: 44px 0 0;
}

.oe-seo-section h2,
.oe-seo-info-card h2 {
  margin: 0 0 18px;
  color: #07143d;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.oe-seo-section-desc {
  margin: -8px 0 16px;
  color: #52617f;
  line-height: 1.7;
}

.oe-seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .oe-seo-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .oe-seo-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .oe-seo-feature-card {
    min-height: 0;
  }
}

.oe-seo-info-card,
.oe-seo-question-card,
body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-game-card,
.oe-seo-faq details,
.oe-seo-bottom-cta {
  border: 1px solid #dbe7ff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 35, 75, 0.06);
}

.oe-seo-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 138px;
  height: 100%;
  padding: 22px 20px 20px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #dbe7ff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 35, 75, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.oe-seo-feature-card > div {
  width: 100%;
  min-width: 0;
}

.oe-seo-feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #1463e8, #38bdf8);
}

.oe-seo-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 35, 75, 0.1);
  border-color: #b8d3ff;
}

.oe-seo-feature-card--blue {
  background: linear-gradient(135deg, #f3f8ff 0%, #ffffff 72%);
}

.oe-seo-feature-card--blue::before {
  background: linear-gradient(90deg, #1463e8, #60a5fa);
}

.oe-seo-feature-card--purple {
  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 72%);
}

.oe-seo-feature-card--purple::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.oe-seo-feature-card--cyan {
  background: linear-gradient(135deg, #ecfeff 0%, #ffffff 72%);
}

.oe-seo-feature-card--cyan::before {
  background: linear-gradient(90deg, #0891b2, #38bdf8);
}

.oe-seo-feature-card--orange {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 72%);
}

.oe-seo-feature-card--orange::before {
  background: linear-gradient(90deg, #ea580c, #fb923c);
}

.oe-seo-feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #e8f2ff);
  border: 1px solid #dbe7ff;
  font-size: 21px;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(15, 35, 75, 0.06);
  flex-shrink: 0;
}

.oe-seo-feature-card h3 {
  width: 100%;
  margin: 0 0 7px;
  font-size: 16.5px;
  font-weight: 900;
  color: #07143d;
  line-height: 1.22;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: normal;
}

.oe-seo-feature-card p {
  width: 100%;
  margin: 0;
  color: #52617f;
  font-size: 13.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: normal;
}

.oe-seo-info-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  margin: 44px 0 0;
  align-items: stretch;
}

.oe-seo-info-card {
  padding: 26px 26px 24px;
}

.oe-seo-info-card--teacher,
.oe-seo-info-card--green {
  grid-row: span 2;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 78%);
  border-color: #bbf7d0;
  align-self: stretch;
}

.oe-seo-info-card--teacher h2,
.oe-seo-info-card--green h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}

.oe-seo-info-card--board {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 78%);
  border-color: #bfdbfe;
}

.oe-seo-info-card--board h2 {
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 900;
}

.oe-seo-info-card--topic {
  background: linear-gradient(135deg, #faf8ff 0%, #ffffff 78%);
  border-color: #ddd6fe;
}

.oe-seo-info-card--topic h2 {
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 900;
}

.oe-seo-info-card p {
  margin: 0;
  color: #344461;
  line-height: 1.7;
}

.oe-seo-info-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.oe-seo-info-card li {
  position: relative;
  padding-left: 28px;
  color: #253653;
  font-weight: 700;
  line-height: 1.5;
}

.oe-seo-info-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.oe-seo-info-card--teacher li::before,
.oe-seo-info-card--green li::before {
  top: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.oe-seo-question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.oe-seo-question-card {
  position: relative;
  padding: 26px 22px 22px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe7ff;
  box-shadow: 0 12px 28px rgba(15, 35, 75, 0.07);
  display: flex;
  flex-direction: column;
}

.oe-seo-question-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #1463e8, #38bdf8);
}

.oe-seo-question-no {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1463e8, #4f8cff);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(20, 99, 232, 0.25);
}

.oe-seo-question-card h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  color: #07143d;
  overflow-wrap: anywhere;
  word-break: normal;
}

.oe-seo-q-opts {
  margin: 0;
  margin-top: auto;
  padding-left: 22px;
  color: #52617f;
  font-size: 14px;
  line-height: 1.72;
}

.oe-seo-q-opts li {
  margin-bottom: 10px;
}

.oe-seo-q-opts li:last-child {
  margin-bottom: 0;
}

.oe-seo-center-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.oe-seo-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 14px;
  color: #1463e8 !important;
  background: #ffffff;
  border: 2px solid #bcd5ff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(20, 99, 232, 0.08);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.oe-seo-outline-btn:hover {
  transform: translateY(-2px);
  border-color: #1463e8;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  box-shadow: 0 12px 28px rgba(20, 99, 232, 0.14);
}

.oe-seo-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.oe-seo-section-head h2 {
  margin: 0;
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-section-head a {
  color: #1463e8 !important;
  font-weight: 900;
  text-decoration: none;
}

.oe-seo-game-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 16px;
}

@media (min-width: 1200px) {
  .oe-seo-game-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-game-card {
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: inherit !important;
  border-radius: 16px;
  border: 1px solid #dbe7ff;
  box-shadow: 0 10px 26px rgba(15, 35, 75, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-game-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 18px 38px rgba(15, 35, 75, 0.12);
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef4ff;
  border-radius: 15px 15px 0 0;
}

.oe-seo-game-card__ph {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  background: linear-gradient(135deg, #eef5ff, #f1f5f9);
  border-radius: 15px 15px 0 0;
}

body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-game-card strong {
  display: block;
  padding: 14px 10px 16px;
  color: #07143d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  border-top: 1px solid #eef4ff;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.oe-seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.oe-seo-faq details {
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
  border: 1px solid #e8f0ff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.oe-seo-faq details[open] {
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(20, 99, 232, 0.09);
}

.oe-seo-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #07143d;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.45;
  list-style: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

.oe-seo-faq summary::-webkit-details-marker {
  display: none;
}

.oe-seo-faq summary::after {
  content: "⌄";
  float: right;
  margin-left: 12px;
  color: #1463e8;
  font-size: 18px;
  line-height: 1.2;
}

.oe-seo-faq details[open] summary::after {
  content: "⌃";
}

.oe-seo-faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: #52617f;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.oe-seo-bottom-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
  padding: 26px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 52%, #f8fbff 100%);
  border: 1px solid #dbe7ff;
  box-shadow: 0 14px 34px rgba(15, 35, 75, 0.07);
  text-align: center;
}

.oe-seo-bottom-cta span {
  font-size: 28px;
  line-height: 1;
}

.oe-seo-bottom-cta p {
  margin: 0;
  max-width: 720px;
  color: #52617f;
  font-weight: 800;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.58;
}

@media (max-width: 900px) {
  .oe-seo-hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .oe-seo-hero__game {
    order: 2;
    justify-content: center;
  }

  .oe-seo-hero__text {
    order: 1;
  }

  .oe-seo-hero-game-card {
    max-width: min(400px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .oe-seo-question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oe-seo-game-row {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

@media (max-width: 760px) {
  .oe-seo-hero {
    padding: 22px;
    border-radius: 18px;
  }

  .oe-seo-meta-grid,
  .oe-seo-info-grid,
  .oe-seo-question-grid,
  .oe-seo-faq-grid {
    grid-template-columns: 1fr;
  }

  .oe-seo-info-card--teacher,
  .oe-seo-info-card--green {
    grid-row: auto;
  }

  .oe-seo-info-card ul {
    grid-template-columns: 1fr;
  }

  .oe-seo-game-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  body.oe-public-quiz-seo-body .oe-public-quiz-page .oe-seo-game-card {
    min-width: 180px;
    scroll-snap-align: start;
  }

  .oe-seo-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .oe-seo-primary-btn,
  .oe-seo-outline-btn {
    width: 100%;
  }

  .oe-seo-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.oe-public-footer {
  border-top: 1px solid var(--oe-border);
  background: #ffffff;
}

.oe-public-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.oe-public-logo--footer .oe-public-logo__text { font-size: 22px; }

.oe-public-footer p {
  max-width: 310px;
  margin: 12px 0 14px;
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
}

.oe-social-row { display: flex; align-items: center; gap: 10px; }

.oe-social-row a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.oe-social-row a:hover { background: var(--oe-blue); color: #ffffff; }

.oe-copyright {
  margin: 0 !important;
  color: #758195 !important;
  font-size: 14px !important;
  text-align: right;
}

@media (max-width: 1024px) {
  .oe-public-nav { gap: 18px; }
}

@media (max-width: 760px) {
  .oe-public-header__inner {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 16px;
  }
  .oe-public-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 18px;
  }
  .oe-public-header__actions { margin-left: auto; }
  .oe-public-main { padding: 20px 14px 42px; }
  .oe-public-footer__inner { align-items: flex-start; flex-direction: column; }
  .oe-copyright { text-align: left; }
}

@media (max-width: 760px) {
  body.oe-public-page.oe-public-quiz-seo-body .oe-public-quiz-page .oe-public-main {
    padding: 0 !important;
  }

  body.oe-public-page.oe-public-quiz-seo-body .oe-public-quiz-page .oe-public-shell {
    padding: 20px 14px 42px !important;
  }

  body.oe-public-page.oe-public-quiz-seo-body .oe-tp-pubBrand__img {
    height: 46px !important;
    max-height: 46px !important;
  }
}

/* Üst reklam (home_top): genel .oe-public-quiz-page img kuralını aşarak alanı doldur */
.oe-public-quiz-page .oe-quiz-seo-top-ad {
  width: 100%;
  max-width: min(1180px, 100%);
  margin: 0 auto 16px;
  height: clamp(72px, 10vw, 90px);
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

.oe-public-quiz-page .oe-quiz-seo-top-ad .oe-ad-slot--placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.oe-public-quiz-page .oe-quiz-seo-top-ad .oe-ad-slot:not(.oe-ad-slot--placeholder) {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  box-sizing: border-box;
}

.oe-public-quiz-page .oe-quiz-seo-top-ad .oe-ad-slot--image {
  aspect-ratio: unset;
  min-height: 0;
  padding: 0;
  display: block;
}

.oe-public-quiz-page .oe-quiz-seo-top-ad .oe-ad-slot--image .oe-ad-slot__media,
.oe-public-quiz-page .oe-quiz-seo-top-ad .oe-ad-slot--image .oe-ad-slot__link.oe-ad-slot__media {
  height: 100%;
}

.oe-public-quiz-page .oe-quiz-seo-top-ad .oe-ad-slot__img {
  width: 100%;
  height: 100%;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
}

