html,
body {
  margin: 0 !important;
  padding: 0 !important;
  background: #202127 !important;
  overflow-x: hidden;
  min-height: 100%;
}

body .main-section,
body .layout-main-section,
body .layout-main,
body .page-body,
body .page-wrapper,
body .page_content,
body .page-content,
body .web-page-content,
body .page-card,
body .container,
body .container-fluid,
body .page-form,
body .page-form-body,
body .layout-side-section,
body .page-head,
body .page-head-content,
main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
}

body .layout-main-section-wrapper,
body .standard-page,
body .page-container,
body .page-header-wrapper,
body .page-footer,
body .web-footer,
body .footer,
body .page_content,
body .webpage-content,
body .page-content-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #202127 !important;
}

body .page-head,
body .page-head-content,
body .page-breadcrumbs,
body .page-title,
body .page-actions,
body .page-form-header,
body .page-header-actions,
body .page-header-wrapper,
body .page-footer,
body .web-footer,
body .footer,
body .menu-btn-group,
body .sidebar-toggle-btn,
body .btn-open-sidebar,
body .navbar-toggler,
body .navbar-toggle,
body .sidebar-toggle,
body .menu-toggle,
body .mobile-menu,
body .offcanvas-toggle,
body [class*="sidebar-toggle"],
body [class*="menu-toggle"],
body [class*="navbar-toggler"],
body .layout-side-section {
  display: none !important;
}

body .page-card {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.web-header,
.page-header-wrapper,
.page-footer,
.web-footer,
.footer {
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  display: none !important;
}

header:not(.faith-hero-v1__topbar),
nav.navbar,
.navbar,
.website-navbar {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.navbar .navbar-brand,
.navbar .avatar,
.navbar .dropdown-navbar-user,
.navbar .dropdown-help,
.navbar .btn-login,
.navbar .login-link,
.navbar .nav-item.dropdown,
.navbar .dropdown-toggle,
.navbar .nav-link,
.web-header .navbar-brand,
.web-header .navbar-brand img,
.web-header .navbar-brand svg,
.web-header .right-items,
.web-header .navbar-nav,
.web-header .nav,
.web-header .brand-logo,
.web-header .app-logo,
.web-header a[href="/login"],
.web-header a[href*="login"],
.web-header .avatar-frame,
.web-header .user-image {
  display: none !important;
}

body > .web-header,
body > header:not(.welcome-back-topbar):not(.faith-hero-v1__topbar),
body > nav.navbar,
body > .navbar,
body > .website-navbar,
.web-header .container,
.web-header .container-fluid,
.web-header .header-left,
.web-header .left-items,
.web-header .navbar-header,
.web-header .navbar-home,
.web-header .home-link,
.website-navbar .container,
.website-navbar .container-fluid,
.website-navbar .header-left,
.website-navbar .left-items,
.website-navbar .navbar-header,
.website-navbar .navbar-home,
.website-navbar .home-link {
  display: none !important;
}

.jof-page {
  --page-bg: #fbf8f2;
  --surface: #ffffff;
  --surface-soft: #fffdf8;
  --text: #1f2229;
  --muted: #6d7582;
  --border: #ece7dc;
  --accent: #f4bf3f;
  --accent-dark: #e2a623;
  --hero-strip: #202127;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  overflow-x: hidden;
  color: var(--text);
  background: var(--page-bg);
  margin: 0 !important;
  padding: 0 !important;
}

.jof-page > section {
  display: block !important;
  width: 100%;
  float: none !important;
  clear: both !important;
  position: relative;
  order: initial;
  flex: 0 0 auto !important;
}

.jof-page > .faith-hero-v1 { order: 1 !important; }
.jof-page > .jof-section--features { order: 2 !important; }
.jof-page > .jof-section--journey { order: 3 !important; }
.jof-page > .jof-section--testimonials { order: 4 !important; }
.jof-page > .jof-cta { order: 5 !important; }

.jof-page * {
  box-sizing: border-box;
}

.jof-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.faith-hero-v1 {
  position: relative;
  min-height: 720px;
  margin: 0 !important;
  overflow: hidden;
  background:
    linear-gradient(rgba(250, 245, 238, 0.62), rgba(250, 245, 238, 0.62)),
    url("/files/jof-student.png")
      center center / cover no-repeat;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
}

.faith-hero-v1__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.faith-hero-v1__topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: #fbf4ec;
  border-bottom: 1px solid #eadccf;
  box-shadow: 0 10px 30px rgba(97, 32, 41, 0.06);
}

.faith-hero-v1__topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.faith-hero-v1__topbar-brand img {
  display: block;
  width: 52px;
  height: auto;
}

.faith-hero-v1__topbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.faith-hero-v1__topbar-nav a {
  color: #7a2630;
  text-decoration: none;
  font-size: 15px;
  font-family: Arial, sans-serif;
  transition: 180ms ease;
}

.faith-hero-v1__topbar-nav a:hover {
  color: #612029;
}

.faith-hero-v1__topbar-nav a[aria-current="page"] {
  color: var(--accent);
}

.faith-hero-v1__auth {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.faith-hero-v1__guest {
  display: flex;
  align-items: center;
  gap: 8px;
}

.faith-user-menu {
  position: relative;
  display: none;
}

.faith-user-menu summary {
  list-style: none;
}

.faith-user-menu summary::-webkit-details-marker {
  display: none;
}

.faith-user-menu__toggle {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.faith-user-menu__avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7d97d, #d89b2a);
  color: #332008;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.faith-user-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  padding: 8px;
  border: 1px solid rgba(232, 225, 210, 0.95);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(36, 29, 15, 0.14);
  z-index: 10;
}

.faith-user-menu__link {
  display: block;
  padding: 10px 12px;
  color: #212127;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.faith-user-menu__link:hover {
  background: #f8f3e7;
  text-decoration: none;
}

.faith-user-menu__name {
  margin: 0 0 8px;
  padding: 0 12px;
  color: #212127;
  font-size: 13px;
  font-weight: 700;
}

body[frappe-session-status="logged-in"] .faith-hero-v1__guest {
  display: none;
}

body[frappe-session-status="logged-in"] .faith-user-menu {
  display: block;
}

.faith-btn-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 28px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease;
}

.faith-btn-auth:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.faith-btn-auth--light {
  background: #ffffff;
  color: #222222;
  border-color: #ffffff;
}

.faith-btn-auth--gold {
  background: var(--accent);
  color: #2f2510;
  border-color: var(--accent);
}

.faith-hero-v1__content {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 72px));
  max-width: none;
  margin: 0 auto;
  min-height: calc(720px - 72px);
  padding: 112px 20px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.faith-hero-v1__content h1 {
  max-width: 960px;
  margin: 0 auto 16px;
  color: #19191f;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.faith-hero-v1__content p {
  max-width: 760px;
  margin: 0 auto 26px;
  color: #3f3935;
  font-size: 16px;
  line-height: 1.65;
}

.faith-hero-v1__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.faith-cta-btn {
  min-width: 146px;
  height: 42px;
  padding: 0 24px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.18s ease;
  border: 1px solid #3d3d3d;
}

.faith-cta-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.faith-cta-btn--gold {
  background: var(--accent);
  color: #2f2510;
  border-color: var(--accent);
}

.faith-cta-btn--white {
  background: #ffffff;
  color: #222222;
  border-color: #3d3d3d;
}

.jof-section {
  padding: 92px 0;
  background: #ffffff;
}

.jof-heading {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.jof-heading h2 {
  margin: 0 0 12px;
  color: #171a1f;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.jof-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  font-family: Arial, sans-serif;
}

.jof-grid {
  display: grid;
  gap: 24px;
}

.jof-grid--features,
.jof-grid--testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jof-card,
.jof-testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.jof-section--features {
  padding-top: 96px;
  padding-bottom: 110px;
}

.jof-card {
  min-height: 232px;
  padding: 28px 24px 24px;
}

.jof-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff5dc;
  color: #efb334;
  font-size: 20px;
  font-weight: 700;
}

.jof-card h3 {
  margin: 0 0 12px;
  color: #171a1f;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.jof-card p {
  margin: 0;
  color: #66707b;
  font-size: 15px;
  line-height: 1.65;
  font-family: Arial, sans-serif;
}

.jof-section--journey {
  background: #fffef8;
  padding-top: 96px;
  padding-bottom: 110px;
}

.jof-journey {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 12px 18px;
}

.jof-journey-step {
  text-align: center;
  padding: 0 12px;
}

.jof-step-badge {
  width: 34px;
  height: 34px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #1f2229;
  font-size: 15px;
  font-weight: 700;
  font-family: Arial, sans-serif;
}

.jof-step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4b9251a;
  border: 1px solid #ffffff;
  color: #f0b22c;
  font-size: 21px;
  line-height: 1;
}
.jof-step-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jof-journey-step h3 {
  margin: 0 0 12px;
  color: #171a1f;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.jof-journey-step p {
  max-width: 270px;
  margin: 0 auto;
  color: #6e7682;
  font-size: 15px;
  line-height: 1.65;
  font-family: Arial, sans-serif;
}

.jof-journey-arrow {
  align-self: center;
  margin-top: 34px;
  color: #4f5c70;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}

.jof-section--testimonials {
  background: #ffffff;
  padding-top: 96px;
  padding-bottom: 118px;
}

.jof-testimonial {
  min-height: 252px;
  padding: 22px 20px 26px;
}

.jof-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.jof-avatar-img {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 46px;
}
.jof-avatar-img--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e2c5c;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: Arial, sans-serif;
}

.jof-person__meta strong {
  display: block;
  margin: 0 0 3px;
  color: #171a1f;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.jof-person__meta span {
  display: block;
  color: #7a828f;
  font-size: 14px;
  line-height: 1.35;
  font-family: Arial, sans-serif;
}

.jof-testimonial p {
  margin: 0;
  color: #4d545f;
  font-size: 15px;
  line-height: 1.75;
  font-style: italic;
  font-family: Arial, sans-serif;
}

.jof-cta {
  padding: 72px 0 24px;
  background: #f3bf3d;
  margin: 0 !important;
  min-height: 0;
  box-shadow: 0 100vmax 0 100vmax #f3bf3d;
  clip-path: inset(0 -100vmax -100vmax -100vmax);
}

.jof-cta__hero {
  text-align: center;
  padding: 28px 0 42px;
  border-bottom: 1px solid rgba(42, 31, 13, 0.12);
}

.jof-cta__hero h2 {
  margin: 0 0 24px;
  color: #19191f;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.jof-cta__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.jof-footer-btn {
  min-width: 170px;
  height: 42px;
  padding: 0 24px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  border: 1px solid #2c241b;
}

.jof-footer-btn:hover {
  text-decoration: none;
}



.jof-footer-btn--dark {
  background: #17181f;
  border-color: #17181f;
  color: #fff7ea;
}

.jof-footer-btn--dark:hover {
  color: #fff7ea;
  background: #17181f;
  border-color: #17181f;
}

.jof-footer-btn--light {
  background: #ffffff;
  color: #2a2117;
}

.jof-footer {
  display: grid;
  grid-template-columns: 1.35fr 1.65fr;
  gap: 56px;
  padding: 36px 0 28px;
}

.jof-footer__brand {
  max-width: 320px;
}

.jof-footer__logo {
  width: 18px;
  height: 18px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #171513;
  font-size: 16px;
  line-height: 1;
}

.jof-footer__brand p {
  margin: 0;
  color: #2b251d;
  font-size: 14px;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.jof-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.jof-footer__links h4 {
  margin: 0 0 12px;
  color: #171a1f;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.jof-footer__links a {
  display: block;
  margin-bottom: 8px;
  color: #2b251d;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  font-family: Arial, sans-serif;
}

.jof-footer__links a:hover {
  text-decoration: underline;
}

.jof-footer__bottom {
  border-top: 1px solid rgba(42, 31, 13, 0.12);
  padding-top: 18px;
  text-align: center;
}

.jof-footer__bottom p {
  margin: 0;
  color: #2b251d;
  font-size: 14px;
  line-height: 1.4;
  font-family: Arial, sans-serif;
}

@media (max-width: 960px) {
  .jof-shell {
    width: min(1280px, calc(100% - 24px));
  }

  .faith-hero-v1 {
    min-height: 620px;
    margin-top: 0 !important;
  }

  .faith-hero-v1__topbar {
    position: relative;
    top: 0;
  }

  .faith-hero-v1__topbar-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 16px 0;
  }

  .faith-hero-v1__content {
    width: min(940px, calc(100% - 32px));
    min-height: calc(620px - 84px);
    padding: 40px 20px 56px;
  }

  .faith-hero-v1__content h1 {
    font-size: clamp(38px, 6vw, 56px);
  }

  .faith-hero-v1__content p {
    font-size: 16px;
  }

  .jof-grid--features,
  .jof-grid--testimonials {
    grid-template-columns: 1fr 1fr;
  }

  .jof-journey {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jof-journey-arrow {
    display: none;
  }

  .jof-footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .jof-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .faith-hero-v1__content {
    width: min(1280px, calc(100% - 88px));
    min-height: calc(720px - 72px);
    padding-top: 112px;
  }

  .faith-hero-v1__content h1 {
    font-size: 60px;
    line-height: 70px;
  }

  .faith-hero-v1__content p {
    max-width: 760px;
  }

  .faith-hero-v1__actions {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .jof-shell {
    width: min(1280px, calc(100% - 20px));
  }

  .faith-hero-v1 {
    min-height: 560px;
    margin-top: 0 !important;
    background:
      linear-gradient(rgba(250, 245, 238, 0.62), rgba(250, 245, 238, 0.62)),
      url("/files/jof-mobile-bg.png") center top / cover no-repeat;
  }

  .faith-hero-v1__topbar {
    position: relative;
    top: 0;
  }

  .faith-hero-v1__topbar-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .faith-hero-v1__auth {
    gap: 6px;
  }

  .faith-btn-auth {
    min-width: 58px;
    height: 26px;
    padding: 0 10px;
    font-size: 10px;
    border-radius: 6px;
  }

  .faith-hero-v1__content {
    width: calc(100% - 24px);
    min-height: calc(560px - 108px);
    padding: 36px 16px 44px;
  }

  .faith-hero-v1__content h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.18;
  }

  .faith-hero-v1__content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .faith-hero-v1__actions {
    gap: 12px;
  }

  .faith-cta-btn {
    width: min(100%, 240px);
    min-width: 0;
  }

  .jof-section,
  .jof-section--features,
  .jof-section--journey,
  .jof-section--testimonials,
  .jof-cta {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .jof-heading {
    margin-bottom: 34px;
  }

  .jof-heading h2,
  .jof-heading--features h2,
  .jof-heading--journey h2,
  .jof-heading--testimonials h2,
  .jof-cta__hero h2 {
    font-size: 32px;
  }

  .jof-grid--features,
  .jof-grid--testimonials,
  .jof-footer__links {
    grid-template-columns: 1fr;
  }

  .jof-card,
  .jof-testimonial {
    min-height: 0;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .jof-journey-step {
    padding: 0;
  }

  .jof-journey-step p {
    max-width: 100%;
  }

  .jof-cta__buttons {
    flex-direction: column;
  }

  .jof-footer-btn {
    width: min(100%, 260px);
    min-width: 0;
  }

  .jof-footer__brand {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .faith-hero-v1__topbar {
    top: 0;
  }

  .faith-btn-auth {
    min-width: 54px;
    padding: 0 8px;
    font-size: 9px;
  }

  .faith-hero-v1__content {
    padding-top: 92px;
  }
}

.welcome-back-page {
  --page-bg: #fbf8f2;
  --surface: #ffffff;
  --surface-soft: #f8f1de;
  --text: #1f2025;
  --muted: #6c6b6a;
  --border: #e4dbcd;
  --gold: #efb83b;
  --ink: #202127;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  box-shadow: 0 0 0 100vmax var(--page-bg);
  clip-path: inset(0 -100vmax);
}

.welcome-back-page * {
  box-sizing: border-box;
}

.welcome-back-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.welcome-back-topbar {
  background: #fbf4ec;
  border-bottom: 1px solid #eadccf;
  box-shadow: 0 10px 30px rgba(97, 32, 41, 0.06);
}

.welcome-back-topbar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.welcome-back-brand,
.welcome-back-auth__btn,
.welcome-back-link-card,
.welcome-back-profile__action,
.welcome-back-footer__nav a {
  text-decoration: none;
}

.welcome-back-brand {
  display: inline-flex;
  align-items: center;
}

.welcome-back-brand img {
  display: block;
  width: 52px;
  height: auto;
}

.welcome-back-auth {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
}

.welcome-back-auth__guest {
  display: flex;
  gap: 8px;
}

.welcome-back-auth__btn {
  min-width: 68px;
  height: 28px;
  padding: 0 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.welcome-back-auth__btn--light {
  background: #ffffff;
  color: #212127;
}

.welcome-back-auth__btn--gold {
  background: var(--gold);
  color: #4a3204;
}

.welcome-back-user-menu {
  position: relative;
  display: none;
}

.welcome-back-user-menu summary {
  list-style: none;
}

.welcome-back-user-menu summary::-webkit-details-marker {
  display: none;
}

.welcome-back-user-menu__toggle {
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
}

.welcome-back-user-menu__avatar,
.welcome-back-hero__seal span,
.welcome-back-profile__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.welcome-back-user-menu__avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #f7d97d, #d89b2a);
  color: #332008;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.welcome-back-user-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 176px;
  padding: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(36, 29, 15, 0.14);
  z-index: 5;
}

.welcome-back-user-menu__name {
  margin: 0 0 8px;
  color: #212127;
  font-size: 13px;
  font-weight: 700;
}

.welcome-back-user-menu__link {
  display: block;
  padding: 10px 12px;
  color: #212127;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.welcome-back-user-menu__link:hover {
  background: #f8f3e7;
}

body[frappe-session-status="logged-in"] .welcome-back-auth__guest {
  display: none;
}

body[frappe-session-status="logged-in"] .welcome-back-user-menu {
  display: block;
}

.welcome-back-main {
  padding: 26px 0 64px;
}

.welcome-back-hero__eyebrow,
.welcome-back-card__heading h2,
.welcome-back-footer__nav h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.welcome-back-hero__eyebrow {
  margin: 0 0 24px;
  font-size: clamp(30px, 4vw, 46px);
  color: #171513;
}

.welcome-back-hero__card {
  display: block;
  padding: 26px 30px;
  border: 1px solid rgba(239, 184, 59, 0.18);
  background: var(--surface-soft);
}

.welcome-back-hero__card h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.welcome-back-hero__card p {
  margin: 0;
  color: #5f594d;
  font-size: 15px;
  line-height: 1.7;
}

.welcome-back-hero__seal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-back-hero__seal span {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #f2d783, #e2b450);
  color: #412807;
  font-size: 24px;
}

.welcome-back-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
  margin-bottom: 40px;
}

.welcome-back-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
}

.welcome-back-card__heading {
  margin-bottom: 18px;
}

.welcome-back-card__heading h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.12;
}

.welcome-back-card__heading p,
.welcome-back-profile span,
.welcome-back-certificate span,
.welcome-back-footer__brand p,
.welcome-back-footer__bottom p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.welcome-back-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.welcome-back-link-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--border);
  background: #fffcf5;
  color: #1f2025;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.welcome-back-link-card:hover,
.welcome-back-profile__action:hover {
  transform: translateY(-1px);
}

.welcome-back-link-card__title,
.welcome-back-profile strong,
.welcome-back-certificate strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.2;
}

.welcome-back-link-card__meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.welcome-back-live-classes__list {
  display: grid;
  gap: 12px;
}

.welcome-back-live-classes__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  background: #fffcf5;
}

.welcome-back-live-classes__copy {
  display: grid;
  gap: 4px;
}

.welcome-back-live-classes__copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text);
}

.welcome-back-live-classes__copy span,
.welcome-back-live-classes__copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.welcome-back-live-classes__copy p {
  margin: 0;
}

.welcome-back-profile,
.welcome-back-certificate {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.welcome-back-certificate__course {
  max-width: 100%;
  color: var(--text) !important;
  font-size: 15px !important;
  line-height: 1.5;
}

.welcome-back-profile--empty,
.welcome-back-certificate[data-certificate-empty="1"] {
  min-height: 160px;
  align-content: center;
}

.welcome-back-profile__avatar {
  width: 72px;
  height: 72px;
  background: #d6efcf;
  color: #224217;
  font-size: 24px;
}

.welcome-back-profile__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--gold);
  color: #4a3204;
  font-size: 12px;
  font-weight: 700;
}

.welcome-back-profile__action--secondary {
  background: #fffaf0;
  color: #5a420d;
  border: 1px solid #e4d2a6;
}

.welcome-back-progress {
  display: grid;
  gap: 18px;
}

.welcome-back-progress__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.welcome-back-progress__bar {
  height: 8px;
  border-radius: 999px;
  background: #ece7dc;
  overflow: hidden;
}

.welcome-back-progress__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #e2a623, #f2c14e);
}

.welcome-back-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.welcome-back-tags span {
  padding: 8px 12px;
  border: 1px solid #d9d1c1;
  border-radius: 999px;
  background: #ffffff;
  font-size: 12px;
  color: #48433b;
}

.welcome-back-certificate__art {
  width: 120px;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(rgba(42, 32, 14, 0.16), rgba(42, 32, 14, 0.16)),
    linear-gradient(135deg, #3c1d08, #b87b14 60%, #efd486);
}

.welcome-back-certificate__actions {
  display: grid;
  gap: 10px;
  width: 100%;
  justify-items: center;
}

.welcome-back-footer {
  background: #f3bc34;
  padding: 30px 0 18px;
  color: #2f2716;
}

.welcome-back-footer__content {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 42px;
  padding-bottom: 18px;
}

.welcome-back-footer__brand {
  max-width: 320px;
}

.welcome-back-footer__mark {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border: 1px solid rgba(47, 39, 22, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

.welcome-back-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.welcome-back-footer__nav h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.welcome-back-footer__nav a {
  display: block;
  margin-bottom: 6px;
  color: #2f2716;
  font-size: 12px;
  line-height: 1.7;
}

.welcome-back-footer__bottom {
  border-top: 1px solid rgba(47, 39, 22, 0.16);
  padding-top: 12px;
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .welcome-back-grid,
  .welcome-back-footer__content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .welcome-back-shell {
    width: calc(100% - 24px);
  }

  .welcome-back-hero__card,
  .welcome-back-links,
  .welcome-back-footer__nav {
    grid-template-columns: 1fr;
  }

  .welcome-back-hero__card {
    padding: 22px 18px;
  }

  .welcome-back-card {
    padding: 18px;
  }

  .welcome-back-topbar__inner {
    min-height: 36px;
  }
}

@media (max-width: 960px) {
  .faith-hero-v1__auth {
    justify-self: center;
  }
}

