/* ===== PAGES STYLES ===== */
/* Extracted section-specific CSS */

/* ===== CONTACT PAGE ===== */
.contact-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
}

.contact-card {
  background: linear-gradient(145deg, rgba(30, 35, 50, 0.9), rgba(20, 25, 35, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 22px;
}

.contact-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.35rem;
}

.contact-card h3 {
  margin: 20px 0 8px;
  color: #e5e7eb;
  font-size: 1.05rem;
}

.contact-card p {
  margin: 0 0 12px;
  color: #9ca3af;
  line-height: 1.65;
}

.contact-email {
  color: #86efac;
  font-weight: 600;
  text-decoration: none;
}

.contact-email:hover {
  color: #bbf7d0;
  text-decoration: underline;
}

.contact-list {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #cbd5e1;
}

.contact-list li + li {
  margin-top: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  padding: 10px 12px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(34, 197, 94, 0.7);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.contact-form .field-error {
  color: #f87171;
  font-size: 0.78rem;
  margin-top: -8px;
  margin-bottom: 4px;
  display: none;
}

.contact-success {
  margin: 10px 0 6px;
  padding: 10px 12px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.16);
  color: #dcfce7;
  font-size: 0.9rem;
}

.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.contact-btn {
  margin-top: 12px;
  align-self: flex-start;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #04130a;
  font-weight: 700;
  padding: 11px 18px;
  cursor: pointer;
}

.contact-btn:hover {
  filter: brightness(1.05);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.blog-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px 80px;
}

body:not(.course-guide-page) main > .hero:has(+ .blog-article) {
  width: min(1320px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 38px 44px 34px;
  text-align: left;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 12% 15%, rgba(34, 197, 94, 0.25), transparent 35%),
    radial-gradient(circle at 88% 20%, rgba(59, 130, 246, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 24, 1));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

body:not(.course-guide-page) main > .hero:has(+ .blog-article)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(34, 197, 94, 0.6) 25%,
    rgba(59, 130, 246, 0.5) 75%,
    transparent
  );
  border-radius: 32px 32px 0 0;
}

body:not(.course-guide-page) main > .hero:has(+ .blog-article) h1 {
  max-width: 1000px;
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #d1fae5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body:not(.course-guide-page) main > .hero:has(+ .blog-article) p {
  max-width: 820px;
  margin: 0;
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
}

body:not(.course-guide-page) main > .hero:has(+ .blog-article)::after {
  content: "Wealthton Journal";
  position: absolute;
  top: 22px;
  right: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.11);
  border: 1px solid rgba(34, 197, 94, 0.24);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.course-guide-page) main > .hero + .blog-article {
  max-width: 1320px;
  padding: 22px 20px 90px;
}

.course-guide-page .blog-article {
  max-width: 1500px;
}

.blog-article-body {
  background: linear-gradient(145deg, rgba(30, 35, 50, 0.9), rgba(20, 25, 35, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body {
  position: relative;
  max-width: none;
  padding: 48px 60px 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(34, 197, 94, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(20, 26, 38, 0.98), rgba(12, 18, 30, 1));
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 28px;
  box-shadow: 
    0 30px 90px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent,
    rgba(34, 197, 94, 0.7) 30%,
    rgba(59, 130, 246, 0.5) 70%,
    transparent
  );
  border-radius: 28px 28px 0 0;
  pointer-events: none;
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-meta-row {
  margin-bottom: 28px;
  padding: 12px 16px;
  width: fit-content;
  max-width: 100%;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body > p:first-of-type {
  margin: 0 0 36px;
  padding: 24px 28px;
  color: #f1f5f9;
  font-size: 1.14rem;
  line-height: 1.75;
  font-weight: 500;
  background:
    radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.12), transparent 40%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(17, 24, 39, 0.5));
  border-left: 4px solid rgba(34, 197, 94, 0.6);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.course-guide-page .blog-article-body {
  position: relative;
  min-height: 760px;
  padding: 34px 38px 40px;
  background:
    radial-gradient(circle at 14% 10%, rgba(34, 197, 94, 0.14), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(59, 130, 246, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(18, 24, 36, 0.96), rgba(12, 18, 30, 0.96));
}

.blog-article-body p {
  margin: 0 0 16px;
  color: #cbd5e1;
  line-height: 1.75;
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body p,
body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body li {
  max-width: 1000px;
  color: #e2e8f0;
  font-size: 1.06rem;
  line-height: 1.85;
  font-weight: 400;
}

.blog-article-body h2 {
  margin: 26px 0 10px;
  color: #fff;
  font-size: 1.4rem;
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body h2 {
  position: relative;
  max-width: 1000px;
  margin: 48px 0 20px;
  padding: 0 0 12px 0;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-bottom: 2px solid rgba(34, 197, 94, 0.3);
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #10b981);
  border-radius: 2px;
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body h3 {
  max-width: 1000px;
  margin: 32px 0 16px;
  padding-left: 14px;
  color: #f1f5f9;
  font-size: 1.28rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-left: 3px solid rgba(34, 197, 94, 0.5);
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body p {
  margin-bottom: 20px;
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body a {
  color: #86efac;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(134, 239, 172, 0.35);
  text-underline-offset: 3px;
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body a:hover {
  color: #bbf7d0;
  text-decoration-color: rgba(187, 247, 208, 0.75);
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body strong {
  color: #fff;
  font-weight: 700;
}

body:not(.course-guide-page) main > .hero + .blog-article .blog-article-body li strong {
  color: #86efac;
  font-weight: 700;
}

.blog-article-body ul {
  margin: 20px 0 28px;
  padding-left: 0;
  list-style: none;
  color: #cbd5e1;
}

.blog-article-body li {
  position: relative;
  padding: 14px 18px 14px 44px;
  margin-bottom: 12px;
  background: rgba(15, 23, 42, 0.4);
  border-left: 3px solid rgba(34, 197, 94, 0.4);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.blog-article-body li::before {
  content: '✓';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #22c55e, #10b981);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.65rem;
}

.blog-article-body li:hover {
  background: rgba(15, 23, 42, 0.6);
  border-left-color: rgba(34, 197, 94, 0.6);
  transform: translateX(4px);
}

.blog-article-body li + li {
  margin-top: 0;
}

.course-overview,
.course-module-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
  margin: 24px 0;
}

.course-guide-page .course-overview,
.course-guide-page .course-module-grid {
  max-width: 100%;
}

.course-panel,
.course-module-card,
.course-quiz-card {
  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, 0.16);
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 197, 94, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.course-panel {
  padding: 20px;
}

.course-panel h2,
.course-quiz-card h2 {
  margin-top: 0;
}

.course-panel ul {
  margin-bottom: 0;
}

.course-example {
  color: #dbeafe;
  font-size: 0.94rem;
  line-height: 1.65;
}

.course-module-card {
  padding: 18px;
}

.course-guide-page .course-module-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.62)),
    radial-gradient(circle at 14% 12%, rgba(96, 165, 250, 0.16), transparent 38%);
}

.course-lesson-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  margin: 24px 0;
  padding: 14px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(8, 13, 24, 0.95));
  border: 1px solid rgba(34, 197, 94, 0.18);
}

.course-module-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.course-module-tab {
  width: 100%;
  min-height: 76px;
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: #cbd5e1;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.course-module-tab span {
  color: #86efac;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-module-tab strong {
  color: #e5e7eb;
  font-size: 0.95rem;
  line-height: 1.2;
}

.course-module-tab:hover,
.course-module-tab.is-active {
  transform: translateX(2px);
  border-color: rgba(34, 197, 94, 0.46);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(56, 189, 248, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.course-module-tab.is-active strong {
  color: #fff;
}

.course-module-detail {
  min-height: 520px;
  display: grid;
}

.course-module-detail:has(.course-quiz-panel.is-active) {
  min-height: 0;
}

.course-lesson-panel {
  grid-area: 1 / 1;
  min-height: 520px;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 30px;
  opacity: 0;
  transform: translateY(8px);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 10%, rgba(56, 189, 248, 0.15), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.72));
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.course-lesson-panel[hidden],
.course-quiz-panel[hidden] {
  display: none !important;
}

.course-lesson-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.course-lesson-panel.is-entering {
  opacity: 0;
  transform: translateY(8px);
}

.course-lesson-panel.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
}

.course-module-detail .course-quiz-panel {
  grid-area: 1 / 1;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(8px);
  text-align: left;
  border-radius: 20px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.course-module-detail .course-quiz-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.course-module-detail .course-quiz-panel.is-entering {
  opacity: 0;
  transform: translateY(8px);
}

.course-module-detail .course-quiz-panel.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
}

.course-quiz-panel::before,
.course-quiz-panel::after {
  content: none;
}

.course-quiz-hero {
  display: none;
  padding: 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #16a34a, #0f766e 48%, #2563eb);
}

.course-quiz-hero .course-quiz-kicker {
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ecfdf5;
  background: rgba(255, 255, 255, 0.16);
}

.course-quiz-hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.16;
}

.course-quiz-options {
  display: grid;
  gap: 14px;
  padding: 0 34px 34px;
  background: #ffffff;
}

.course-quiz-question {
  margin: 0;
  padding: 34px;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-weight: 950;
  line-height: 1.18;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #16a34a, #0f766e 52%, #2563eb);
}

.course-quiz-option {
  width: 100%;
  min-height: 64px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.course-quiz-option:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, 0.45);
  background: #f8fafc;
}

.course-quiz-option.is-correct {
  border-color: rgba(34, 197, 94, 0.75);
  background: #dcfce7;
  color: #14532d;
}

.course-quiz-option.is-wrong {
  border-color: rgba(248, 113, 113, 0.75);
  background: #fee2e2;
  color: #7f1d1d;
}

.course-quiz-feedback {
  margin: 0 34px 30px;
  padding: 14px 16px;
  color: #14532d;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.55;
  background: #dcfce7;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 14px;
}

.blog-article-body .course-quiz-feedback {
  color: #14532d !important;
}

.course-lesson-panel .course-module-card {
  min-height: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.course-lesson-panel .course-module-card h3 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.course-lesson-panel .course-module-card p {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.7;
}

.course-lesson-body {
  display: grid;
  gap: 14px;
}

.course-lesson-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.course-lesson-note {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 12px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 197, 94, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.56));
  border: 1px solid rgba(134, 239, 172, 0.16);
}

.course-lesson-note span {
  color: #86efac;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-lesson-note p {
  margin: 0;
  color: #dbeafe;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.48;
}

.course-lesson-body h2 {
  margin: 10px 0 0;
  padding-top: 14px;
  color: #fff;
  font-size: 1.28rem;
}

.course-lesson-body p {
  margin-bottom: 0;
}

.course-module-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #86efac;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-module-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.04rem;
  line-height: 1.25;
}

.course-module-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.course-quiz-card {
  position: relative;
  overflow: hidden;
  margin: 34px 0 4px;
  padding: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(74, 222, 128, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(12, 24, 38, 0.96), rgba(17, 34, 52, 0.92));
}

.course-quiz-card.is-active {
  padding: 0;
  text-align: left;
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.course-quiz-card::before {
  content: "?";
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(134, 239, 172, 0.32);
  font-size: 2rem;
  font-weight: 950;
  border: 1px solid rgba(134, 239, 172, 0.18);
}

.course-quiz-card.is-active::before {
  content: none;
}

.course-quiz-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-quiz-card.is-active .course-quiz-kicker,
.course-quiz-card.is-active h2,
.course-quiz-card.is-active .course-quiz-intro,
.course-quiz-card.is-active .course-quiz-button {
  margin-left: 0;
}

.course-quiz-card.is-active .course-quiz-kicker {
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.course-quiz-card.is-active h2 {
  margin: 0;
  max-width: 880px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.15;
}

.course-quiz-card.is-active > .course-quiz-kicker,
.course-quiz-card.is-active > h2,
.course-quiz-card.is-active > .course-quiz-intro,
.course-quiz-card.is-active > .course-quiz-button {
  position: relative;
  z-index: 1;
}

.course-quiz-card.is-active > .course-quiz-kicker,
.course-quiz-card.is-active > h2,
.course-quiz-card.is-active > .course-quiz-intro {
  display: block;
  padding-left: 28px;
  padding-right: 28px;
}

.course-quiz-card.is-active > .course-quiz-kicker {
  margin: 28px 28px 14px;
  display: inline-flex;
}

.course-quiz-card.is-active > h2 {
  padding-bottom: 10px;
}

.course-quiz-card.is-active > .course-quiz-intro {
  padding-bottom: 28px;
}

.course-quiz-card.is-active > .course-quiz-button {
  position: absolute;
  top: 24px;
  right: 28px;
}

.course-quiz-card.is-active::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  background: linear-gradient(135deg, #16a34a, #38bdf8);
  z-index: 0;
}

.course-quiz-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  text-align: left;
}

.course-quiz-card.is-active .course-quiz-list {
  position: relative;
  z-index: 1;
  gap: 14px;
  margin: 0;
  padding: 28px;
  background: #ffffff;
}

.course-quiz-list[hidden] {
  display: none;
}

.course-quiz-intro {
  max-width: 620px;
  margin: 0 auto 18px;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.course-quiz-card.is-active .course-quiz-intro {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.course-quiz-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: #03130a;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.01em;
  cursor: pointer;
  background: linear-gradient(135deg, #86efac, #38bdf8);
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.18);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.course-quiz-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 20px 44px rgba(34, 197, 94, 0.24);
}

.course-quiz-button.is-open {
  color: #d1fae5;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(134, 239, 172, 0.28);
  box-shadow: none;
}

.course-quiz-card.is-active .course-quiz-button.is-open {
  color: #0f172a;
  background: #ffffff;
  border-color: transparent;
}

.course-quiz-list details {
  border-radius: 12px;
  padding: 13px 14px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.course-quiz-card.is-active .course-quiz-list details {
  padding: 18px 20px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.course-quiz-list summary {
  cursor: pointer;
  color: #fff;
  font-weight: 850;
}

.course-quiz-card.is-active .course-quiz-list summary {
  color: #1e293b;
  font-size: 1rem;
}

.course-quiz-list p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.course-quiz-card.is-active .course-quiz-list p {
  color: #475569;
}

@media (max-width: 768px) {
  .course-overview,
  .course-module-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 18px 0;
  }

  .course-panel,
  .course-module-card,
  .course-quiz-card {
    border-radius: 14px;
  }

  .course-panel {
    padding: 16px;
  }

  .course-module-card {
    padding: 14px;
  }

  .course-module-card h3 {
    font-size: 0.98rem;
  }

  .course-quiz-card {
    padding: 16px;
    margin-top: 22px;
  }
}

.blog-article-figure,
.blog-cycle-visual,
.blog-check-visual {
  margin: 28px 0;
}

.blog-article-figure {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-article-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.blog-article-figure figcaption,
.blog-cycle-visual figcaption {
  margin: 0;
  padding: 12px 14px;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.blog-cycle-visual {
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(6, 78, 59, 0.42)),
    radial-gradient(circle at 18% 20%, rgba(34, 197, 94, 0.22), transparent 32%),
    radial-gradient(circle at 82% 24%, rgba(96, 165, 250, 0.2), transparent 34%);
  border: 1px solid rgba(34, 197, 94, 0.16);
}

.cycle-orbit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cycle-orbit span {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  border-radius: 16px;
  color: #f8fafc;
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 1.15;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cycle-orbit span:nth-child(1) {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.28), rgba(15, 23, 42, 0.42));
}

.cycle-orbit span:nth-child(2) {
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.24), rgba(15, 23, 42, 0.42));
}

.cycle-orbit span:nth-child(3) {
  background: linear-gradient(145deg, rgba(248, 113, 113, 0.24), rgba(15, 23, 42, 0.42));
}

.cycle-orbit span:nth-child(4) {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.24), rgba(15, 23, 42, 0.42));
}

.blog-check-visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.blog-check-visual div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-check-visual span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #052e16;
  background: #86efac;
  font-weight: 950;
  margin-bottom: 12px;
}

.blog-check-visual strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}

.blog-check-visual p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 24px;
  padding: 10px 16px;
  color: #86efac;
  text-decoration: none;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.blog-back-link::before {
  content: '←';
  font-size: 1.1rem;
}

.blog-back-link:hover {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateX(-4px);
}

@media (max-width: 768px) {
  .blogs-page .hero {
    padding: 56px 20px 24px;
    flex-direction: column;
  }

  .blogs-page .hero::before {
    inset: 12px 12px 0;
    border-radius: 24px;
  }

  .blogs-page .hero .blogs-return-loop {
    max-width: 100%;
  }

  .blogs-hero-stats {
    grid-template-columns: 1fr;
  }

  .blogs-wrap {
    padding: 24px 20px 60px;
  }

  .blogs-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .blogs-topic-chips {
    justify-content: flex-start;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    min-height: 0;
  }

  .blog-article-body {
    padding: 24px 18px;
  }

  .blog-article-body h2 {
    font-size: 1.2rem;
  }
}


/* ===== MOBILE ABOUT COMPACT ===== */
@media (max-width: 768px) {
  .about-page {
    overflow-x: hidden;
  }

  .about-page .about-wrap,
  .about-page .about-values-grid,
  .about-page .about-principles,
  .about-page .about-principles div {
    min-width: 0;
  }

  .about-page .about-hero-stats strong,
  .about-page .about-hero-stats span,
  .about-page .about-principles strong,
  .about-page .about-principles span {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .about-page .hero {
    width: calc(100% - 24px);
    margin: 8px auto 0;
    padding: 18px 12px 14px;
    box-sizing: border-box;
  }

  .about-page .hero::before {
    inset: 0;
    border-radius: 18px;
  }

  .about-hero-kicker {
    margin-bottom: 5px;
    font-size: 0.54rem;
  }

  .about-page .hero h1 {
    font-size: clamp(1.5rem, 7vw, 2.05rem);
    margin-bottom: 6px;
  }

  .about-page .hero p {
    font-size: 0.76rem;
    line-height: 1.34;
  }

  .about-hero-stats {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 6px;
    margin-top: 10px;
  }

  .about-hero-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
    padding: 8px 7px;
    border-radius: 11px;
  }

  .about-hero-stats div:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .about-hero-stats div:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .about-hero-stats strong {
    flex: 0 0 auto;
    font-size: 0.78rem;
    line-height: 1.1;
    white-space: normal;
  }

  .about-hero-stats span {
    max-width: 70%;
    margin-top: 0;
    font-size: 0.53rem;
    line-height: 1.18;
    text-align: right;
    white-space: normal;
  }

  .about-hero-stats div:nth-child(2) span {
    max-width: 70%;
  }

  .about-hero-stats div:nth-child(3) span {
    max-width: 66%;
    white-space: normal;
  }

  .about-wrap {
    width: calc(100% - 24px);
    max-width: none;
    margin: 0 auto;
    gap: 12px;
    padding: 8px 0 42px;
  }

  .about-mission-band {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 13px 14px;
    border-radius: 16px;
  }

  .about-mission-band span,
  .about-value-tag,
  .about-principles span {
    font-size: 0.58rem;
  }

  .about-mission-band h2 {
    font-size: 1rem;
    line-height: 1.22;
    margin-top: 5px;
  }

  .about-mission-band p {
    font-size: 0.76rem;
    line-height: 1.38;
  }

  .about-values-grid,
  .about-principles {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .about-value-card {
    min-height: 0;
    padding: 13px 14px;
    border-radius: 16px;
  }

  .about-value-card h3 {
    font-size: 1rem;
    line-height: 1.18;
    margin: 7px 0 5px;
  }

  .about-value-card p {
    font-size: 0.74rem;
    line-height: 1.34;
  }

  .about-card-meta {
    gap: 5px;
    margin-top: 8px;
    padding-top: 0;
  }

  .about-card-meta span {
    padding: 5px 7px;
    font-size: 0.58rem;
    line-height: 1;
  }

  .about-principles div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 11px 12px;
    border-radius: 14px;
  }

  .about-principles strong {
    max-width: 70%;
    font-size: 0.78rem;
    line-height: 1.22;
    text-align: right;
  }

  .about-principles div:nth-child(2) strong {
    max-width: 82%;
    font-size: 0.72rem;
    white-space: normal;
  }
}


/* ===== MOBILE FEEDBACK COMPACT ===== */
@media (max-width: 768px) {
  .site-feedback {
    margin-top: 22px;
    padding: 0 12px 34px;
  }

  .site-feedback-inner {
    gap: 12px;
    padding: 13px 14px;
    border-radius: 16px;
  }

  .site-feedback-copy span {
    margin-bottom: 5px;
    font-size: 0.56rem;
  }

  .site-feedback-copy h2 {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 5px;
  }

  .site-feedback-copy p,
  .site-feedback-bottom p {
    font-size: 0.72rem;
    line-height: 1.32;
  }

  .site-feedback-form {
    gap: 8px;
  }

  .site-feedback-actions {
    gap: 6px;
  }

  .site-feedback-choice {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  .site-feedback-form label {
    font-size: 0.72rem;
  }

  .site-feedback-form textarea {
    min-height: 66px;
    padding: 9px 10px;
    border-radius: 12px;
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .site-feedback-bottom {
    gap: 8px;
  }

  .site-feedback-submit {
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
  }
}


/* ===== MOBILE LEARN BOTTOM GAP FIX ===== */
@media (max-width: 768px) {
  .learn-section {
    margin-bottom: 16px;
  }

  .learn-content > :last-child {
    margin-bottom: 0;
  }

  .tips-section {
    padding: 12px;
    border-radius: 16px;
  }

  .tips-section h2 {
    margin-bottom: 10px;
    padding-bottom: 8px;
    font-size: 1rem;
  }

  .tips-grid {
    gap: 8px;
  }

  .tip-card {
    align-items: center;
    gap: 9px;
    padding: 10px;
    border-radius: 12px;
  }

  .tip-number {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .tip-card p {
    font-size: 0.72rem;
    line-height: 1.28;
  }
}
