@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&family=Roboto+Mono&display=swap');
:root  > * {
    --md-primary-fg-color:        #FF7357;
    --md-primary-fg-color--light: #FF9985;
    --md-primary-fg-color--dark: #FF5333;
  }

[data-md-color-scheme="default"] {
  --md-default-bg-color:        #fdfbf7;
}



/* Global font for body text */
body {
font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
/* The fonts after 'Lato' are fallbacks */
}

/* Override grid width ONLY if the custom landing page exists */
.md-grid:has(.custom-landing-page) {
    max-width: none;
    padding: 0;
    margin: 0;
}

/* Remove internal padding/margins ONLY for the landing page */
.md-content__inner:has(.custom-landing-page) {
    margin: 0;
    padding: 0;
}

/* Ensure the landing page content fills the available space */
.custom-landing-page {
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdfbf7;
    width: 100%;
}

/* Your Custom Styles (Scoped) */
.custom-landing-page h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1rem; color: #333; }
.custom-landing-page h2 { font-size: 2rem; margin-top: 0; font-weight: 300; }
.custom-landing-page h3 { color: #ef8a6f; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 0.5rem; }
.custom-landing-page p { margin-bottom: 1rem; font-size: 1rem; }
.custom-landing-page strong { font-weight: 700; }

.custom-landing-page .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.custom-landing-page .section { padding: 40px 0; }
.custom-landing-page .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.custom-landing-page img { max-width: 60%; height: auto; display: block; margin: 0 auto; }

/* Colors */
.custom-landing-page .bg-cream { background-color: #fdfbf7; color: #333; }
.custom-landing-page .bg-green { background-color: #8bd3ae; color: #333; }
.custom-landing-page .bg-dark { background-color: #545657; color: #fff; }

/* Buttons */
.custom-landing-page .btn-group { display: flex; gap: 15px; margin-bottom: 2rem; }
.custom-landing-page .btn { padding: 12px 25px; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 0.9rem; display: inline-block; }
.custom-landing-page .btn-dark { background-color: #333; color: #fff; }
.custom-landing-page .btn-green { background-color: #8bd3ae; color: #333; }

/* Specific Components */
.custom-landing-page .hero-text { max-width: 500px; }
.custom-landing-page .hero-sub { font-size: 1.2rem; color: #555; }
.custom-landing-page .banner-text { text-align: center; max-width: 800px; margin: 0 auto; }

/* Mobile */
@media (max-width: 768px) {
    .custom-landing-page .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .custom-landing-page .btn-group { justify-content: center; }
    .custom-landing-page .hero-sub { margin: 0 auto; }
}


/* Hack to prevent dark mode from changing the color to white */
.custom-landing-page .bg-cream h2 { color: #333; } 

/*

TODO: Remove when switching back to zensical 

*/

[data-md-color-scheme="default"]  .md-header  {
  /* Override the primary header colors only for Light Mode */
  --md-primary-fg-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(0.4rem);
  --md-primary-bg-color: #000000; /* Header Icons/Text: Black */
  box-shadow: none;               /* Remove drop shadow for a flatter look */
}


/* 2. Navbar/Tabs Container (Light Mode) */
[data-md-color-scheme="default"] .md-tabs {
  --md-primary-fg-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(0.4rem);
  border-bottom: 1px solid #e0e0e0;
}

/* 3. Navbar Links - Inactive (Light Mode) */
[data-md-color-scheme="default"] .md-tabs__link {
  color: #525252; /* Dark Grey */
  opacity: 1;     /* Reset opacity so we can control color precisely */
}

/* 4. Navbar Links - Active & Hover (Light Mode) */
[data-md-color-scheme="default"] .md-tabs__link:hover,
[data-md-color-scheme="default"] .md-tabs__link--active,
[data-md-color-scheme="default"] .md-tabs__item--active .md-tabs__link {
  color: #000000 !important; /* Force Black text */
  font-weight: 700 !important; /* Force Bold (Added !important) */
  opacity: 1 !important;

}

[data-md-color-scheme="slate"] .md-tabs  {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(0.4rem);
  border-bottom: 1px solid #2e2e2e;
}

[data-md-color-scheme="slate"] .md-header {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(0.4rem);
}