/* Digital Coach — layout, header, footer, responsive */
/*
  Header shell uses --dc-brand / --dc-uni (logo-aligned blues). Logo lockup: padding + soft blue glow.
*/
:root {
  --dc-bg: #f0f4f8;
  --dc-bg-mesh: radial-gradient(ellipse 100% 80% at 100% 0%, rgba(11, 95, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(13, 148, 136, 0.06) 0%, transparent 45%);
  --dc-text: #0f172a;
  --dc-muted: #64748b;
  --dc-brand: #0b5fff;
  --dc-uni: #2563eb;
  --dc-coach: #ea580c;
  --dc-school: #0d9488;
  --dc-tutor: #7c3aed;
  --dc-card: #ffffff;
  --dc-radius: 14px;
  --dc-radius-lg: 22px;
  --dc-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  --dc-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --dc-header-h: auto;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --dc-safe-top: env(safe-area-inset-top, 0px);
  --dc-safe-bottom: env(safe-area-inset-bottom, 0px);
  /* Header: surfaces tinted from logo blues (--dc-brand / --dc-uni) */
  --dc-shell-top: #061428;
  --dc-shell-mid: #0c2244;
  --dc-shell-end: #071a32;
  --dc-shell-deep: #061222;
  --dc-shell-glow: radial-gradient(ellipse 95% 75% at 8% -10%, rgba(11, 95, 255, 0.32) 0%, transparent 52%),
    radial-gradient(ellipse 80% 60% at 92% 0%, rgba(37, 99, 235, 0.22) 0%, transparent 50%);
  --dc-brand-strip: linear-gradient(
    90deg,
    var(--dc-uni) 0%,
    var(--dc-brand) 45%,
    var(--dc-tutor) 100%
  );
  --dc-logo-drop: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 28px rgba(11, 95, 255, 0.22));
  --dc-logo-drop-light: drop-shadow(0 1px 3px rgba(15, 23, 42, 0.12));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.dc-site {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background-color: var(--dc-bg);
  background-image: var(--dc-bg-mesh);
  background-attachment: fixed;
  color: var(--dc-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
}

/* Flex column children default to min-width:auto and can force horizontal overflow on mobile */
body.dc-site > header.dc-header,
body.dc-site > main.dc-main,
body.dc-site > footer.dc-footer {
  min-width: 0;
  max-width: 100%;
}

body.dc-no-scroll {
  overflow: hidden;
  touch-action: none;
}

.dc-header {
  color: #0f172a;
  position: sticky;
  top: 0;
  z-index: 400;
  padding-top: var(--dc-safe-top);
  background: transparent;
  width: 100%;
  max-width: 100%;
}

/* Mobile: dim page behind account drawer; sits under bar content */
.dc-header > .dc-header__nav-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  margin: 0;
  border: none;
  padding: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dc-header__nav-backdrop[hidden] {
  display: none !important;
}

@media (min-width: 901px) {
  .dc-header > .dc-header__nav-backdrop {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-header > .dc-header__nav-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.dc-header__accent {
  height: 3px;
  background: var(--dc-brand-strip);
  opacity: 0.95;
}

.dc-header > * {
  position: relative;
  z-index: 1;
}

.dc-header__utility,
.dc-header__cd-bar {
  z-index: 2;
}

.dc-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px max(18px, env(safe-area-inset-right, 0px)) 16px max(18px, env(safe-area-inset-left, 0px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 18px;
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
}

/* Full-bleed white band: logo + primary nav (upper header) */
.dc-header__inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #ffffff;
  z-index: -1;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  pointer-events: none;
}

.dc-header__brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.dc-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  border-radius: 12px;
  padding: 4px 2px;
  transition: opacity 0.2s, transform 0.2s;
}

.dc-logo:focus-visible {
  outline: 2px solid rgba(11, 95, 255, 0.75);
  outline-offset: 3px;
}

.dc-logo__img {
  display: block;
  height: clamp(30px, 4.5vw, 44px);
  width: auto;
  max-width: min(260px, 62vw);
  object-fit: contain;
  object-position: left center;
  filter: var(--dc-logo-drop-light);
}

.dc-logo:hover .dc-logo__img {
  opacity: 0.95;
  transform: translateY(-0.5px);
}

.dc-logo--solo {
  display: inline-flex;
  align-items: center;
  padding: 4px 2px;
  line-height: 0;
}

.dc-logo--solo .dc-logo__mark {
  flex-shrink: 0;
  height: clamp(34px, 5.2vw, 48px);
  width: auto;
  max-width: min(260px, 72vw);
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
}

.dc-logo--with-wordmark {
  gap: 0.65rem;
}

.dc-logo__wordmark {
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1d4ed8;
}

@supports (-webkit-background-clip: text) {
  .dc-logo__wordmark {
    color: transparent;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #1d4ed8 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

@media (max-width: 400px) {
  .dc-logo__wordmark {
    display: none;
  }
}

/* Burger — hidden on desktop */
.dc-nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: background 0.2s;
}

.dc-nav-burger:hover {
  background: rgba(11, 95, 255, 0.12);
}

.dc-nav-burger__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #334155;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.dc-header--menu-open .dc-nav-burger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.dc-header--menu-open .dc-nav-burger__bar:nth-child(2) {
  opacity: 0;
}
.dc-header--menu-open .dc-nav-burger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.dc-nav--primary {
  display: flex;
  gap: 4px 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.dc-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #334155 !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.dc-nav__link--post {
  background: linear-gradient(135deg, var(--dc-uni) 0%, var(--dc-brand) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(11, 95, 255, 0.35);
}

.dc-nav__link--post:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0b57d0 100%);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 14px rgba(11, 95, 255, 0.45);
}

.dc-header__inner .dc-nav__link--post:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1d4ed8 0%, #0b57d0 100%);
  border-color: rgba(255, 255, 255, 0.28);
}

.dc-nav__link--login {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b !important;
}

.dc-nav__link--login:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
  color: #0f172a !important;
}

.dc-header__inner .dc-nav__link--login:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
  color: #0f172a !important;
}

button.dc-nav__link {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.dc-nav__link--muted {
  font-weight: 500;
  color: #64748b !important;
}

.dc-nav__link--muted:hover {
  color: #0f172a !important;
  background: rgba(15, 23, 42, 0.06);
}

.dc-header__inner .dc-nav__link--muted:hover {
  color: #0f172a !important;
  background: rgba(15, 23, 42, 0.06);
}

.dc-nav__user {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  padding: 6px 10px;
  max-width: min(160px, 28vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-header__inner .dc-nav__link:hover {
  color: #0f172a !important;
  background: rgba(15, 23, 42, 0.06);
}

.dc-header__inner .dc-nav__link.is-active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(11, 95, 255, 0.85), rgba(37, 99, 235, 0.78));
  box-shadow: 0 4px 14px rgba(11, 95, 255, 0.28);
}

.dc-header__inner .dc-nav__link.is-active:hover {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(11, 95, 255, 0.92), rgba(37, 99, 235, 0.85));
}

.dc-header__home-search {
  min-width: 0;
  align-self: center;
}

/* Second row: light strip, crisp pills (no heavy dark bar / colored underlines) */
.dc-header__explore-wrap {
  position: relative;
  z-index: 350;
  overflow: visible;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 18px rgba(15, 23, 42, 0.05);
}

.dc-header__explore {
  max-width: 1200px;
  margin: 0 auto;
  padding: 11px 18px 13px;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.35) transparent;
}

.dc-header__explore-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  row-gap: 10px;
  max-width: 100%;
}

.dc-header__explore-site {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.dc-header__explore-sep {
  flex-shrink: 0;
  width: 1px;
  height: 28px;
  align-self: center;
  background: linear-gradient(180deg, transparent, #cbd5e1 15%, #cbd5e1 85%, transparent);
  margin: 0 4px;
}

@media (max-width: 480px) {
  .dc-header__explore-sep {
    display: none;
  }
}

.dc-header__explore::-webkit-scrollbar {
  height: 5px;
}
.dc-header__explore::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.35);
  border-radius: 6px;
}

.dc-explore-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
  color: #334155 !important;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.15s;
}

.dc-explore-pill:hover {
  color: #0f172a !important;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.dc-explore-pill.is-active {
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}

.dc-explore-pill--site {
  font-size: 0.8rem;
  padding: 8px 13px;
}

.dc-explore-pill--site.is-active {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
  color: #1d4ed8 !important;
}

.dc-explore-pill--external {
  background: linear-gradient(180deg, #fafaff 0%, #eef2ff 100%);
  border-color: #c7d2fe;
  color: #4338ca !important;
}

.dc-explore-pill--external:hover {
  border-color: #a5b4fc;
  color: #312e81 !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.14);
}

/* ——— Mega menu (University / School / Coaching / Tutors) ——— */
.dc-header__explore-wrap.dc-mega-open {
  z-index: 400;
}

.dc-mega-triggers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dc-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.15s;
}

.dc-mega-trigger:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.dc-mega-trigger[aria-expanded="true"] {
  border-color: #94a3b8;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

.dc-mega-trigger__chev {
  font-size: 0.65rem;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.dc-mega-trigger[aria-expanded="true"] .dc-mega-trigger__chev {
  transform: rotate(180deg);
}

.dc-mega-trigger.is-active {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}

.dc-mega-trigger--uni.is-active {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
  color: #1e40af;
}
.dc-mega-trigger--school.is-active {
  background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
  border-color: #5eead4;
  color: #115e59;
}
.dc-mega-trigger--coach.is-active {
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fdba74;
  color: #9a3412;
}
.dc-mega-trigger--tutor.is-active {
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
  border-color: #c4b5fd;
  color: #5b21b6;
}

.dc-mega-panels {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 8px 18px 20px;
  pointer-events: none;
}

.dc-mega-panel {
  pointer-events: auto;
  animation: dc-mega-in 0.2s ease-out;
}

.dc-mega-panel[hidden] {
  display: none !important;
}

@keyframes dc-mega-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-mega-panel {
    animation: none;
  }
}

.dc-mega-panel__card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.dc-mega-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  align-items: start;
}

@media (max-width: 720px) {
  .dc-mega-panel__grid {
    grid-template-columns: 1fr;
  }
}

.dc-mega-panel__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.dc-mega-panel__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748b;
}

.dc-mega-panel__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-mega-panel__links li {
  margin-bottom: 10px;
}

.dc-mega-panel__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb !important;
  text-decoration: none !important;
}

.dc-mega-panel__links a:hover {
  text-decoration: underline !important;
}

.dc-mega-panel__cta {
  display: block;
  margin-top: 18px;
  padding: 12px 18px;
  text-align: center;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none !important;
  color: #fff !important;
  transition: filter 0.15s, transform 0.15s;
}

.dc-mega-panel__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.dc-mega-panel__cta--uni {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}
.dc-mega-panel__cta--school {
  background: linear-gradient(135deg, #0d9488, #0f766e);
}
.dc-mega-panel__cta--coach {
  background: linear-gradient(135deg, #ea580c, #c2410c);
}
.dc-mega-panel__cta--tutor {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

/* ——— Mobile: burger + overlay nav ——— */
@media (max-width: 900px) {
  .dc-nav-burger {
    display: flex;
    justify-self: end;
  }

  .dc-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
  }

  .dc-header__brand {
    grid-column: 1;
    grid-row: 1;
  }

  .dc-nav-burger {
    grid-column: 2;
    grid-row: 1;
  }

  .dc-header__home-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .dc-nav--primary {
    grid-column: 1 / -1;
    grid-row: 3;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    margin: 8px -8px -8px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: var(--dc-shadow-lg);
  }

  .dc-header--menu-open .dc-nav--primary {
    display: flex;
    animation: dc-nav-in 0.22s ease-out;
  }

  .dc-nav__link {
    justify-content: center;
    text-align: center;
    padding: 14px 16px;
    min-height: 48px;
    box-sizing: border-box;
    font-size: 1rem;
  }
}

@keyframes dc-nav-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-explore-pill:hover {
    transform: none;
  }
  .dc-header--menu-open .dc-nav--primary {
    animation: none;
  }
  .dc-logo:hover .dc-logo__img {
    transform: none;
  }
}

main.dc-main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 28px) clamp(14px, 4vw, 22px) clamp(32px, 6vw, 56px);
  min-width: 0;
  box-sizing: border-box;
}

/* Home: use full viewport width (content keeps comfortable side gutters) */
body.dc-nav-ctx--home main.dc-main {
  max-width: none;
  padding-left: clamp(16px, 3vw, 40px);
  padding-right: clamp(16px, 3vw, 40px);
}

body.dc-nav-ctx--home .dc-footer__grid {
  max-width: none;
  padding-left: clamp(16px, 3vw, 40px);
  padding-right: clamp(16px, 3vw, 40px);
}

.dc-footer {
  position: relative;
  background: linear-gradient(180deg, #323232 0%, #282828 52%, #1c1c1c 100%);
  color: #cbd5e1;
  margin-top: auto;
  padding-bottom: var(--dc-safe-bottom);
  overflow: hidden;
}

.dc-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(255, 255, 255, 0.055) 0%, transparent 50%);
  pointer-events: none;
}

.dc-footer > * {
  position: relative;
  z-index: 1;
}

.dc-footer__accent {
  height: 3px;
  background: var(--dc-brand-strip);
  opacity: 0.88;
}

/* Footer: mobile-first single column → tablet 2-col → desktop 3-col */
.dc-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px) clamp(16px, 4vw, 22px) clamp(22px, 4vw, 32px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 36px);
  text-align: center;
}

.dc-footer__grid .dc-footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .dc-footer__grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .dc-footer__brand {
    grid-column: 1 / -1;
  }

  .dc-footer__grid .dc-footer__links {
    align-items: flex-start;
  }
}

@media (min-width: 960px) {
  .dc-footer__grid {
    grid-template-columns: 1.25fr 1fr 1fr;
  }

  .dc-footer__brand {
    grid-column: auto;
  }
}

/* Accordion sections (Explore / Site) — collapsed on small viewports; flat columns on wide screens */
.dc-footer__grid-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
  text-align: left;
}

.dc-footer__grid-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  margin: 0;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.dc-footer__grid-summary::-webkit-details-marker {
  display: none;
}

.dc-footer__grid-summary::marker {
  content: "";
}

.dc-footer__grid-summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
  opacity: 0.9;
}

.dc-footer__grid-panel[open] > .dc-footer__grid-summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.dc-footer__grid-summary:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.75);
  outline-offset: 2px;
}

.dc-footer__grid-summary .dc-footer__heading {
  margin: 0;
}

.dc-footer__grid-panel .dc-footer__links {
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  padding: 4px 12px 14px;
}

.dc-footer__grid-panel .dc-footer__links li {
  margin-bottom: 6px;
}

.dc-footer__grid-panel .dc-footer__links li:last-child {
  margin-bottom: 0;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .dc-footer__grid-summary {
    justify-content: flex-start;
  }

  .dc-footer__grid-panel {
    text-align: left;
  }

  .dc-footer__grid-panel .dc-footer__links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    box-sizing: border-box;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 767px) {
  .dc-footer__grid-panel {
    text-align: center;
    border: none;
    background: transparent;
  }

  .dc-footer__grid-summary {
    justify-content: center;
  }

  .dc-footer__grid-panel .dc-footer__links {
    align-items: center;
    padding: 4px 0 12px;
    max-width: 20rem;
    margin: 0 auto;
  }

  .dc-footer__grid-panel .dc-footer__links a {
    display: inline-block;
    width: auto;
    min-height: 44px;
    padding: 10px 12px;
    line-height: 1.4;
    background: transparent;
    border: none;
    border-radius: 0;
  }
}

@media (min-width: 1024px) {
  .dc-footer__grid-panel {
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .dc-footer__grid-summary {
    display: block;
    padding: 0;
    min-height: 0;
    cursor: default;
    pointer-events: none;
    justify-content: flex-start;
  }

  .dc-footer__grid-summary::after {
    display: none;
  }

  .dc-footer__grid-summary .dc-footer__heading {
    margin: 0 0 14px;
  }

  .dc-footer__grid-panel .dc-footer__links {
    padding: 0;
  }

  .dc-footer__grid-panel .dc-footer__links a {
    display: inline;
    width: auto;
    min-height: 0;
    padding: 0;
    justify-content: flex-start;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .dc-footer__grid-panel .dc-footer__links li {
    margin-bottom: 10px;
  }
}

.dc-footer__brand-panel {
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  max-width: 22rem;
}

@media (max-width: 520px) {
  .dc-footer__brand-panel {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
}

.dc-footer__logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 14px;
  text-decoration: none;
  border-radius: 10px;
  transition: opacity 0.2s;
}

.dc-footer__logo--solo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.dc-footer__logo--solo .dc-footer__mark {
  flex-shrink: 0;
  height: clamp(30px, 4.5vw, 44px);
  width: auto;
  max-width: min(240px, 75vw);
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
}

.dc-footer__logo--with-wordmark {
  gap: 0.65rem;
  align-items: center;
}

.dc-footer__wordmark {
  font-weight: 800;
  font-size: clamp(1.02rem, 2.2vw, 1.28rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.dc-footer__logo:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.75);
  outline-offset: 3px;
}

.dc-footer__logo-img {
  display: block;
  height: clamp(30px, 4.2vw, 40px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  filter: var(--dc-logo-drop);
}

.dc-footer__logo:hover .dc-footer__logo-img {
  opacity: 0.94;
}

.dc-footer__tagline {
  margin: 0;
  font-size: 0.92rem;
  color: #a8b8ca;
  line-height: 1.65;
  max-width: 36ch;
  font-weight: 500;
}

@media (max-width: 520px) {
  .dc-footer__tagline {
    max-width: none;
  }
}

.dc-footer__heading {
  margin: 0 0 14px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  font-weight: 800;
}

.dc-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-footer__links li {
  margin-bottom: 10px;
}

.dc-footer__links a {
  color: #e2e8f0 !important;
  text-decoration: none !important;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.15s;
}

.dc-footer__links a:hover {
  color: #fff !important;
}

.dc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  padding: 18px 20px calc(18px + var(--dc-safe-bottom));
  text-align: center;
}

.dc-footer__bottom p {
  margin: 0;
  font-size: 0.86rem;
  color: #64748b;
  letter-spacing: 0.02em;
}

.dc-rich a {
  color: var(--dc-brand);
  font-weight: 600;
}

.dc-rich p {
  margin: 0 0 1em;
}

.dc-rich p:last-child {
  margin-bottom: 0;
}

/* ——— Auth modal (login / register) ——— */
.dc-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  box-sizing: border-box;
}

.dc-auth-modal[hidden] {
  display: none !important;
}

.dc-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dc-auth-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: 28px 24px 26px;
  border-radius: 18px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.dc-auth-modal__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.dc-auth-modal__x:hover {
  background: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

.dc-auth-modal__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.dc-auth-modal__lead {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

.dc-auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 12px;
  background: #f1f5f9;
}

.dc-auth-tab {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  color: #64748b;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}

.dc-auth-tab.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.dc-auth-msg {
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(11, 95, 255, 0.08);
  color: #1e40af;
}

.dc-auth-msg.dc-auth-msg--err {
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
}

.dc-auth-panel {
  display: none;
}

.dc-auth-panel.is-active {
  display: block;
}

.dc-auth-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dc-auth-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.dc-auth-input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.dc-auth-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.dc-auth-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.dc-auth-submit {
  margin-top: 4px;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: transform 0.12s, box-shadow 0.2s;
}

.dc-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.4);
}

.dc-auth-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 900px) {
  button.dc-nav__link {
    font-size: 1rem;
  }
}

/* -------------------------------------------------------------------------
   Section themes: Home / Predictor / Contact vs University / School / Coaching / Tutors
   body.dc-nav-ctx--* is set in assets/header.php ($dcNavCtx).
   ------------------------------------------------------------------------- */

/* --- Top accent bar (header + footer) --- */
body.dc-nav-ctx--home .dc-header__accent,
body.dc-nav-ctx--home .dc-footer__accent {
  background: var(--dc-brand-strip);
  opacity: 0.95;
}

body.dc-nav-ctx--predictor .dc-header__accent,
body.dc-nav-ctx--predictor .dc-footer__accent {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 48%, #9333ea 100%);
  opacity: 0.96;
}

body.dc-nav-ctx--contact .dc-header__accent,
body.dc-nav-ctx--contact .dc-footer__accent {
  background: linear-gradient(90deg, #0d9488 0%, #14b8a6 45%, #2dd4bf 100%);
  opacity: 0.96;
}

/* University: light black / charcoal accent strip */
body.dc-nav-ctx--university .dc-header__accent {
  background: linear-gradient(90deg, #121212 0%, #1a1a1a 35%, #2e2e2e 70%, #525252 100%);
  opacity: 0.96;
}

body.dc-nav-ctx--university .dc-footer__accent {
  background: linear-gradient(90deg, #121212 0%, #1a1a1a 40%, #2e2e2e 75%, #404040 100%);
  opacity: 0.96;
}

body.dc-nav-ctx--school .dc-header__accent,
body.dc-nav-ctx--school .dc-footer__accent {
  background: linear-gradient(90deg, #0f766e 0%, var(--dc-school) 50%, #14b8a6 100%);
  opacity: 0.96;
}

body.dc-nav-ctx--coaching .dc-header__accent,
body.dc-nav-ctx--coaching .dc-footer__accent {
  background: linear-gradient(90deg, #c2410c 0%, var(--dc-coach) 50%, #fb923c 100%);
  opacity: 0.96;
}

body.dc-nav-ctx--tutor .dc-header__accent,
body.dc-nav-ctx--tutor .dc-footer__accent {
  background: linear-gradient(90deg, #5b21b6 0%, var(--dc-tutor) 50%, #a78bfa 100%);
  opacity: 0.96;
}

body.dc-nav-ctx--site .dc-header__accent,
body.dc-nav-ctx--site .dc-footer__accent {
  background: linear-gradient(90deg, var(--dc-uni) 0%, var(--dc-brand) 55%, #60a5fa 100%);
  opacity: 0.94;
}

/* --- Header second row (explore + category triggers) --- */
body.dc-nav-ctx--home .dc-header__explore-wrap {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 55%, #f1f5f9 100%);
  border-top-color: rgba(37, 99, 235, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 4px 20px rgba(37, 99, 235, 0.06);
}

body.dc-nav-ctx--predictor .dc-header__explore-wrap {
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 55%, #f1f5f9 100%);
  border-top-color: rgba(124, 58, 237, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 22px rgba(124, 58, 237, 0.08);
}

body.dc-nav-ctx--contact .dc-header__explore-wrap {
  background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 50%, #f1f5f9 100%);
  border-top-color: rgba(13, 148, 136, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 22px rgba(13, 148, 136, 0.07);
}

body.dc-nav-ctx--university .dc-header__explore-wrap {
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f1 48%, #f8fafc 100%);
  border-top-color: rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 24px rgba(0, 0, 0, 0.05);
}

body.dc-nav-ctx--school .dc-header__explore-wrap {
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 45%, #f8fafc 100%);
  border-top-color: rgba(13, 148, 136, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 24px rgba(13, 148, 136, 0.09);
}

body.dc-nav-ctx--coaching .dc-header__explore-wrap {
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 45%, #f8fafc 100%);
  border-top-color: rgba(234, 88, 12, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 24px rgba(234, 88, 12, 0.09);
}

body.dc-nav-ctx--tutor .dc-header__explore-wrap {
  background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 45%, #f8fafc 100%);
  border-top-color: rgba(124, 58, 237, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 24px rgba(124, 58, 237, 0.1);
}

body.dc-nav-ctx--site .dc-header__explore-wrap {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top-color: rgba(148, 163, 184, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 18px rgba(15, 23, 42, 0.05);
}

/* --- Home / Predictor / Contact: active site pills --- */
body.dc-nav-ctx--predictor .dc-explore-pill--site.is-active {
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
  border-color: #a5b4fc;
  color: #4338ca !important;
}

body.dc-nav-ctx--contact .dc-explore-pill--site.is-active {
  background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
  border-color: #5eead4;
  color: #0f766e !important;
}

/* --- Footer atmosphere per section --- */
body.dc-nav-ctx--predictor .dc-footer::before {
  background: radial-gradient(ellipse 80% 55% at 12% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 52%);
}

body.dc-nav-ctx--contact .dc-footer::before {
  background: radial-gradient(ellipse 80% 55% at 12% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 52%);
}

body.dc-nav-ctx--university .dc-footer::before {
  background: radial-gradient(ellipse 80% 55% at 10% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 52%);
}

body.dc-nav-ctx--school .dc-footer::before {
  background: radial-gradient(ellipse 80% 55% at 10% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 52%);
}

body.dc-nav-ctx--coaching .dc-footer::before {
  background: radial-gradient(ellipse 80% 55% at 10% 0%, rgba(255, 255, 255, 0.045) 0%, transparent 52%);
}

body.dc-nav-ctx--tutor .dc-footer::before {
  background: radial-gradient(ellipse 80% 55% at 10% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 52%);
}

body.dc-nav-ctx--home .dc-footer::before {
  background: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

body.dc-nav-ctx--site .dc-footer::before {
  background: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(255, 255, 255, 0.045) 0%, transparent 50%);
}

body.dc-nav-ctx--university .dc-footer__brand-panel {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.dc-nav-ctx--school .dc-footer__brand-panel {
  border-color: rgba(45, 212, 191, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(13, 148, 136, 0.1);
}

body.dc-nav-ctx--coaching .dc-footer__brand-panel {
  border-color: rgba(251, 146, 60, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(234, 88, 12, 0.08);
}

body.dc-nav-ctx--tutor .dc-footer__brand-panel {
  border-color: rgba(167, 139, 250, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(124, 58, 237, 0.1);
}

body.dc-nav-ctx--predictor .dc-footer__brand-panel {
  border-color: rgba(165, 180, 252, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

body.dc-nav-ctx--contact .dc-footer__brand-panel {
  border-color: rgba(45, 212, 191, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(13, 148, 136, 0.1);
}

/* Current section link in footer */
.dc-footer__link--ctx {
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.dc-nav-ctx--university .dc-footer__link--ctx {
  color: #d4d4d4 !important;
}

body.dc-nav-ctx--school .dc-footer__link--ctx {
  color: #5eead4 !important;
}

body.dc-nav-ctx--coaching .dc-footer__link--ctx {
  color: #fdba74 !important;
}

body.dc-nav-ctx--tutor .dc-footer__link--ctx {
  color: #c4b5fd !important;
}

body.dc-nav-ctx--home .dc-footer__link--ctx {
  color: #e2e8f0 !important;
}

body.dc-nav-ctx--predictor .dc-footer__link--ctx {
  color: #c4b5fd !important;
}

body.dc-nav-ctx--contact .dc-footer__link--ctx {
  color: #5eead4 !important;
}

body.dc-nav-ctx--site .dc-footer__link--ctx {
  color: #f1f5f9 !important;
}

/* ========== Global mobile / small-screen polish ========== */
@media (max-width: 900px) {
  body.dc-site {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  main.dc-main {
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    padding-top: max(14px, env(safe-area-inset-top, 0px));
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
  }

  body.dc-nav-ctx--home main.dc-main {
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 380px) {
  main.dc-main {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.dc-rich img,
.dc-rich video,
.dc-rich iframe {
  max-width: 100%;
  height: auto;
}

.dc-rich pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ========== Mobile bottom icon tab bar ========== */
.dc-mobile-tabbar {
  display: none;
}

@media (max-width: 900px) {
  .dc-mobile-tabbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 380;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #fff 18%);
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .dc-mobile-tabbar__inner {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 4px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 8px 8px;
    min-height: calc(52px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }

  .dc-mobile-tabbar__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    margin: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .dc-mobile-tabbar__item:hover {
    background: rgba(11, 95, 255, 0.06);
    color: #334155;
  }

  .dc-mobile-tabbar__item.is-active {
    color: #1d4ed8;
  }

  .dc-mobile-tabbar__item.is-active .dc-mobile-tabbar__ico {
    color: #2563eb;
  }

  .dc-mobile-tabbar__ico {
    font-size: 1.25rem;
    line-height: 1;
    color: #475569;
    transition: color 0.15s ease;
  }

  .dc-mobile-tabbar__item.is-active .dc-mobile-tabbar__ico {
    transform: none;
  }

  body.dc-site--listing-portal .dc-mobile-tabbar__item.is-active {
    color: #2563eb;
  }

  body.dc-site--listing-portal .dc-mobile-tabbar__item.is-active .dc-mobile-tabbar__ico {
    color: #2563eb;
  }

  main.dc-main {
    padding-bottom: calc(clamp(28px, 5vw, 48px) + 58px + env(safe-area-inset-bottom, 0px));
  }

  body.dc-nav-ctx--home main.dc-main {
    padding-bottom: calc(clamp(28px, 5vw, 48px) + 58px + env(safe-area-inset-bottom, 0px));
  }
}

@media print {
  .dc-mobile-tabbar {
    display: none !important;
  }
}
