/* ==========================================================================
   MATH LAB PAGE STYLESHEET (mathlab.css)
   Standalone CSS for Kompact AI Math Lab Initiative Page
   ========================================================================== */

/* ── Design System Tokens ── */
:root {
  --bg:            #150F0F;
  --bg-card:       rgba(255, 255, 255, 0.02);
  --primary:       #FFCE1B;
  --secondary:     #FB1650;
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-hover:  rgba(255, 206, 27, 0.35);
  --text-white:    #FFFFFF;
  --text-dim:      rgba(255, 255, 255, 0.68);
  --text-dimmer:   rgba(255, 255, 255, 0.45);
  --font-head:     'Sora', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --font-body:     'DM Sans', sans-serif;
  --max-w:         1376px;
  --px:            64px;
}

/* ── Base Reset & Layout ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body.mathlab-page {
  background-color: var(--bg);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ── Container System ── */
.mathlab-container {
  width: 100%;
  max-width: var(--max-w, 1376px);
  margin: 0 auto;
  padding: 0 var(--px, 64px);
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.text-center {
  text-align: center;
}

.highlight-yellow {
  color: var(--primary, #FFCE1B);
  font-weight: 400;
}

.desktop-only-br {
  display: inline;
}

/* ─────────────────────────────────────────────────────────────
   SECTION 1: HERO SECTION (#hero)
───────────────────────────────────────────────────────────── */
.mathlab-hero {
  position: relative;
  width: 100%;
  padding-top: 130px; /* Navbar offset */
  padding-bottom: 70px;
  box-sizing: border-box;
  overflow: hidden;
}

.mathlab-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

/* Eyebrow Pill Tag */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.02);
  width: fit-content;
  align-self: flex-start;
  justify-self: start;
}

.red-dot {
  width: 6px;
  height: 6px;
  background-color: var(--secondary, #FB1650);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(251, 22, 80, 0.6);
}

/* Hero Heading */
.mathlab-hero-title {
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 300;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

/* Hero Paragraphs */
.mathlab-hero-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}

.mathlab-hero-paragraphs p {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-dim);
}

/* Meta Row */
.mathlab-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 32px;
}

.mathlab-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mathlab-hero-meta-icon,
.mathlab-meta-icon,
.mathlab-meta-img-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.mathlab-hero-meta-text {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 300;
  color: var(--text-dim);
  white-space: nowrap;
}

.mathlab-hero-meta-text strong,
.mathlab-meta-item strong {
  color: var(--text-white);
  font-weight: 500;
}



/* Hero Image Right */
.mathlab-hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mathlab-hero-img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

/* ─────────────────────────────────────────────────────────────
   SECTION 2: FROM SCALING AI TO UNDERSTANDING INTELLIGENCE
───────────────────────────────────────────────────────────── */
.mathlab-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  box-sizing: border-box;
}

.mathlab-understanding-section {
  border-top: 1px solid var(--border-subtle);
}

.mathlab-section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-white);
  margin-bottom: 32px;
}

.mathlab-understanding-intro {
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 780px;
  margin-bottom: 40px;
}

.mathlab-foundations-wrapper {
  margin-left: max(0px, min(340px, 32%));
  max-width: 700px;
  margin-top: 36px;
}

.mathlab-foundations-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 24px;
}

.mathlab-questions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mathlab-questions-list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.mathlab-questions-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--primary, #FFCE1B);
  font-size: 20px;
  line-height: 1;
}

/* ─────────────────────────────────────────────────────────────
   SECTION 3: A RESEARCH QUESTION FOR THE NEXT GENERATION OF AI
───────────────────────────────────────────────────────────── */
.mathlab-research-section {
  border-top: 1px solid var(--border-subtle);
  padding-bottom: 120px;
}

.mathlab-section-subtext {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
}

/* Bento Graphic Wrapper */
.mathlab-graphic-wrapper {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 60px auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  background: #000;
}

.mathlab-graphic-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 3-Column Captions Row */
.mathlab-three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto 56px auto;
}

.mathlab-col-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.mathlab-col-icon,
.mathlab-col-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mathlab-col-img-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.mathlab-col-item p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 300px;
}

/* Contact Us Button */
.mathlab-cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

.mathlab-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  background-color: var(--primary, #FFCE1B);
  color: #000000;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(255, 206, 27, 0.2);
}

.mathlab-cta-btn:hover {
  background-color: #ffd84d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 206, 27, 0.35);
}

/* ─────────────────────────────────────────────────────────────
   SHARED SITEWIDE FOOTER STYLES
───────────────────────────────────────────────────────────── */
footer.footer,
.footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0;
  background-color: var(--bg);
  position: relative;
  z-index: 2;
}

.footer-inner {
  width: calc(100% - calc(var(--px, 64px) * 2));
  max-width: var(--max-w, 1376px);
  margin: 0 auto;
  padding: 40px 40px;
  box-sizing: border-box;
}

.footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 48px;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-nav-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.18s;
  text-decoration: none;
}

.footer-nav-link:hover {
  color: var(--text-white);
}

.footer-nav-link.active,
.footer-nav-link--active {
  color: var(--primary, #FFCE1B);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.20);
  transition: border-color 0.18s, background 0.18s;
}

.social-icon:hover {
  border-color: rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-big-logo {
  flex-shrink: 0;
}

.big-k-square {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  object-fit: cover;
}

.footer-addresses {
  display: flex;
  gap: 60px;
  flex: 1;
  padding: 0 60px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-city {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.02em;
}

.footer-addr-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 20px;
}

.footer-ziroh {
  flex-shrink: 0;
}

.ziroh-logo {
  height: 36px;
  width: auto;
  filter: none;
  transition: filter 0.18s;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.40);
}

.footer-legal-links {
  display: flex;
  gap: 32px;
}

.footer-legal-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.40);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-legal-links a:hover {
  color: var(--text-white);
}

/* Hero Paragraphs & Image Layout */
.mathlab-hero-p1 {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 820px;
}

.mobile-only-br {
  display: block;
}

@media (min-width: 769px) {
  .mobile-only-br {
    display: none;
  }

  .mathlab-hero-body-left {
    display: contents;
  }
}

/* 2-Column Hero Body Grid */
.mathlab-hero-body-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .mathlab-hero-body-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0 32px;
    align-items: center;
  }

  .eyebrow-pill { grid-column: 1; grid-row: 1; }
  .mathlab-hero-title { grid-column: 1; grid-row: 2; }
  .mathlab-hero-p1 { grid-column: 1; grid-row: 3; }
  .mathlab-hero-paragraphs { grid-column: 1; grid-row: 4; }
  .mathlab-meta-row { grid-column: 1; grid-row: 5; }

  .mathlab-hero-image-col {
    grid-column: 2;
    grid-row: 1 / span 5;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mathlab-hero-img {
    max-width: 100%;
    height: auto;
  }
}

@media (min-width: 1025px) {
  .mathlab-hero {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .mathlab-hero-title {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 24px;
    grid-column: 1;
    grid-row: 2;
  }

  .eyebrow-pill { grid-column: 1; grid-row: 1; }

  .mathlab-hero-p1 {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 24px;
    max-width: 620px;
    grid-column: 1;
    grid-row: 3;
  }

  .mathlab-hero-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    max-width: 620px;
    grid-column: 1;
    grid-row: 4;
  }

  .mathlab-hero-body-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 0 48px;
    margin-top: 0;
  }

  .mathlab-hero-image-col {
    grid-column: 2;
    grid-row: 1 / span 5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: center;
  }

  .mathlab-hero-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
  }

  .mathlab-meta-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 36px;
    grid-column: 1;
    grid-row: 5;
  }

  .mathlab-hero-meta-text {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE MEDIA QUERIES
───────────────────────────────────────────────────────────── */

/* ── TABLET BREAKPOINT (769px - 1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --px: 36px;
  }

  .page-margins {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 48px) !important;
    max-width: 960px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    pointer-events: none !important;
    z-index: 99 !important;
  }

  .mathlab-hero {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .mathlab-hero-title {
    font-size: 36px;
  }

  .mathlab-foundations-wrapper {
    margin-left: max(0px, min(220px, 25%));
    max-width: 650px;
  }

  .mathlab-three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .mathlab-col-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ── MOBILE BREAKPOINT (max-width: 768px) ── */
@media (max-width: 768px) {
  :root {
    --px: 32px;
  }

  .page-margins {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    pointer-events: none !important;
    z-index: 99 !important;
  }

  .desktop-only-br,
  .desktop-tablet-br {
    display: none;
  }

  .mathlab-hero {
    padding-top: 100px;
    padding-bottom: 36px;
  }

  .mathlab-hero-title {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 20px;
  }

  .mathlab-hero-image-col {
    margin: 12px 0 24px 0;
    width: 100%;
  }

  .mathlab-hero-img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .mathlab-meta-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 16px !important;
    margin-top: 28px !important;
  }

  .mathlab-meta-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .mathlab-hero-meta-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }

  .mathlab-hero-meta-text .meta-label {
    font-size: 13px !important;
    color: var(--text-dim) !important;
    white-space: nowrap !important;
  }

  .mathlab-hero-meta-text .meta-value {
    font-size: 14px !important;
    color: var(--text-white) !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }

  .mathlab-foundations-wrapper {
    margin-left: 0 !important;
    max-width: 100% !important;
    margin-top: 28px !important;
  }

  .mathlab-section {
    padding: 50px 0;
  }

  .mathlab-section-title {
    font-size: 24px;
  }

  .mathlab-three-col-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    margin-bottom: 44px !important;
  }

  .mathlab-col-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 16px !important;
  }

  .mathlab-col-icon-box {
    width: 44px !important;
    height: 44px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 206, 27, 0.35) !important;
    background: rgba(255, 206, 27, 0.06) !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mathlab-col-img-icon {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
  }

  .mathlab-col-item p {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: var(--text-dim) !important;
    line-height: 1.5 !important;
    text-align: left !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .mathlab-graphic-wrapper {
    border-radius: 12px;
    margin-bottom: 36px;
  }

  .mathlab-cta-btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 28px;
  }
}

/* ─────────────────────────────────────────────────────────────
   SITEWIDE TABLET & MOBILE FOOTER STYLES (Matching faqs.html/scholarship.html <= 1024px)
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 32px 0 0 0 !important;
    padding: 0 !important;
    background: #1c1414 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 10 !important;
  }

  body .footer .footer-inner,
  body footer#footer-mobile .footer-inner,
  .footer-inner {
    padding: 32px 16px !important;
    width: calc(100% - 32px) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-row,
  body footer#footer-mobile .footer-nav-row,
  .footer-nav-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    width: 100% !important;
  }

  body .footer .footer-nav-links,
  body footer#footer-mobile .footer-nav-links,
  .footer-nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 20px !important;
    width: 100% !important;
  }

  body .footer .footer-nav-link,
  body footer#footer-mobile .footer-nav-link,
  .footer-nav-link {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
  }

  body .footer .footer-socials,
  body footer#footer-mobile .footer-socials,
  .footer-socials {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
  }

  body .footer .social-icon,
  body footer#footer-mobile .social-icon,
  .social-icon {
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body .footer .social-icon svg path,
  body .footer .social-icon svg circle,
  .social-icon svg path,
  .social-icon svg circle {
    stroke: #000000 !important;
    fill: #000000 !important;
  }

  body .footer .social-icon svg path[fill="none"],
  .social-icon svg path[fill="none"] {
    fill: none !important;
  }

  body .footer .footer-bottom-row,
  body footer#footer-mobile .footer-bottom-row,
  .footer-bottom-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    width: 100% !important;
  }

  body .footer .footer-addresses,
  body footer#footer-mobile .footer-addresses,
  .footer-addresses {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    order: 1 !important;
  }

  body .footer .footer-address:first-child,
  .footer-address:first-child {
    flex: 1 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  body .footer .footer-address:last-child,
  body .footer .footer-address:nth-child(2),
  .footer-address:last-child,
  .footer-address:nth-child(2) {
    flex: 1 !important;
    margin-left: auto !important;
    text-align: left !important;
  }

  body .footer .footer-city,
  .footer-city {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 0 4px 0 !important;
  }

  body .footer .footer-addr-text,
  body footer#footer-mobile .footer-addr-text,
  .footer-addr-text {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  body .footer .footer-ziroh,
  .footer-ziroh {
    order: 2 !important;
    align-self: flex-start !important;
    margin-bottom: 24px !important;
  }

  body .footer .ziroh-logo,
  .ziroh-logo {
    height: 28px !important;
    width: auto !important;
    display: block !important;
  }

  body .footer .footer-big-logo,
  .footer-big-logo {
    order: 3 !important;
    align-self: flex-start !important;
  }

  body .footer .big-k-square,
  .big-k-square {
    width: 72px !important;
    height: 72px !important;
    border-radius: 4px !important;
    display: block !important;
  }

  body .footer .footer-legal,
  .footer-legal {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
    width: 100% !important;
  }

  body .footer .footer-legal-links,
  .footer-legal-links {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    order: 1 !important;
  }

  body .footer .footer-legal-links a,
  .footer-legal-links a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }

  body .footer .footer-copyright,
  .footer-copyright {
    order: 2 !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.45) !important;
  }
}
