:root{
  /* Brand colors (Turquoise + Teal) */
  --mw-turq: #36E0D6;
  --mw-teal: #138C9A;

  /* Light canvas inspired by Owkin-like “soft background + premium contrast” */
  --mw-bg: #EAFBFB;
  --mw-surface: rgba(255,255,255,.70);
  --mw-surface-2: rgba(255,255,255,.82);
  --mw-text: rgba(10,16,22,.92);
  --mw-muted: rgba(10,16,22,.68);
  --mw-border: rgba(10,16,22,.12);

  /* Layout */
  --container: 1180px;
  --gutter: 22px;
  --radius: 18px;

  /* Type scale */
  --h1: clamp(34px, 4.6vw, 60px);
  --h2: clamp(24px, 2.8vw, 36px);
  --h3: clamp(18px, 2.0vw, 24px);
  --body: 16px;
  --lead: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:
    radial-gradient(900px 520px at 18% 12%, color-mix(in srgb, var(--mw-turq) 32%, transparent), transparent 60%),
    radial-gradient(900px 520px at 82% 18%, color-mix(in srgb, var(--mw-teal) 34%, transparent), transparent 60%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--mw-turq) 18%, #ffffff),
      color-mix(in srgb, var(--mw-teal) 18%, #ffffff)
    ),
    var(--mw-bg);
  color: var(--mw-text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a{ color: inherit; }
img{ max-width:100%; height:auto; display:block; }
.muted{ color: var(--mw-muted); }

.container{
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline:auto;
}

/* Top bar */
.topbar{
  border-bottom: 1px solid var(--mw-border);
  background: rgba(0,0,0,100%);
  backdrop-filter: blur(10px);
}
.topbar-inner{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--mw-muted);
  flex-wrap:wrap;
  color:#FFFFFF;
}
.topbar-left, .topbar-right{ display:flex; gap: 10px; align-items:center; flex-wrap:wrap; }
/*.topbar-link{ color: var(--mw-muted); text-decoration:none; }*/
.topbar-link{ color: #fff !important; text-decoration:none; }
.topbar-link:hover{ color: var(--mw-text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--mw-turq) 100%, transparent); }
.topbar-sep{ opacity:.7; }

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.55);
  border-bottom: 1px solid var(--mw-border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  min-width: 0;
}
.brand-logo{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(10,16,22,.14);
}
.brand-text{
  font-weight: 750;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.4em !important;
}

.nav .menu{
  display:flex;
  gap: 6px;
  list-style:none;
  padding:0;
  margin:0;
  align-items:center;
  flex-wrap:wrap;
}
.nav a{
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--mw-text);
}
.nav a:hover{ background: rgba(10,16,22,.06); }

/* CTA pill */
.cta-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 650;
  border: 1px solid transparent;
  color: #061015;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--mw-turq) 90%, #fff),
    color-mix(in srgb, var(--mw-teal) 90%, #fff)
  );
  box-shadow: 0 14px 38px rgba(10,16,22,.12);
}
.cta-pill:hover{ filter: brightness(1.04); }

.nav-toggle{
  display:none;
  border: 1px solid var(--mw-border);
  background: rgba(10,16,22,.05);
  color: var(--mw-text);
  border-radius: 999px;
  padding: 10px 12px;
}
.nav-toggle-bars{
  width: 18px;
  height: 12px;
  position: relative;
  display:block;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background: var(--mw-text);
  border-radius: 2px;
}
.nav-toggle-bars::before{ top:0; box-shadow: 0 5px 0 var(--mw-text); }
.nav-toggle-bars::after{ bottom:0; }

@media (max-width: 900px){
  .nav-toggle{ display:inline-flex; }
  .cta-pill{ display:none; }
  .topbar-right{ display:none; }
  .nav{ position: fixed; inset: 96px 0 auto 0; display:none; }
  body.nav-open .nav{ display:block; }
  .nav .menu{
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin: 0 auto;
    padding: 12px;
    background: rgba(255,255,255,.75);
    border: 1px solid var(--mw-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 55px rgba(10,16,22,.12);
  }
  .brand-text{ display:none; }
}

.site-main{ padding: 34px 0; }

h1{ font-size: var(--h1); line-height:1.04; letter-spacing:-.02em; margin: 0 0 14px; }
h2{ font-size: var(--h2); line-height:1.1; letter-spacing:-.02em; margin: 0 0 10px; }
h3{ font-size: var(--h3); line-height:1.15; margin: 0 0 8px; }

.card{
  background: linear-gradient(180deg, var(--mw-surface), rgba(255,255,255,.55));
  border: 1px solid var(--mw-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 18px 55px rgba(10,16,22,.12);
}

.post-card{ margin: 0 0 18px; }
.post-title a{ text-decoration:none; }
.post-title a:hover{ text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--mw-turq) 70%, transparent); }

.meta{ font-size: 14px; margin: 8px 0 12px; }

.featured img{
  border-radius: 14px;
  border: 1px solid var(--mw-border);
  margin: 14px 0;
}

.pagination a, .pagination span{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--mw-border);
  background: rgba(255,255,255,.55);
  text-decoration:none;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--mw-border);
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(10px);
}
.footer-top{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
  padding: 26px 0;
}
@media (max-width: 900px){ .footer-top{ grid-template-columns: 1fr; } }

.footer-brand{ display:flex; gap: 12px; align-items:flex-start; }
.footer-logo{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--mw-border);
}

.footer-nav .menu{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.footer-nav a{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--mw-border);
  background: rgba(255,255,255,.55);
  text-decoration:none;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0 24px;
  border-top: 1px solid var(--mw-border);
  flex-wrap:wrap;
}

/* Accessibility helper */
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Elementor boxed sections should align with theme container */
.elementor-section.elementor-section-boxed > .elementor-container{ max-width: var(--container); }

/* FORCE HIDE MOBILE MENU ON DESKTOP */
@media screen and (min-width: 993px) {
    /* Hide the entire mobile navigation container */
    .nav-mobile {
        display: none !important;
    }
    /* Hide the hamburger button */
    .nav-toggle {
        display: none !important;
    }
    /* Ensure desktop menu is visible */
    .nav-desktop {
        display: block !important;
    }
}

/* FORCE HIDE DESKTOP MENU ON MOBILE */
@media screen and (max-width: 992px) {
    /* Hide the desktop navigation container */
    .nav-desktop {
        display: none !important;
    }
    /* Show the hamburger button */
    .nav-toggle {
        display: block !important;
    }
    
    /* Mobile Menu Styling */
    .nav-mobile {
        display: none; /* Hidden by default until clicked */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 9999;
    }

    /* Show menu when Javascript adds 'nav-open' class */
    body.nav-open .nav-mobile {
        display: block !important;
    }
    
    /* Stack the links vertically */
    .nav-mobile ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin: 0;
        list-style: none;
    }
}

/* =========================================
   Inner Page Layout (Teal & White Theme)
   ========================================= */

/* 1. The Banner Strip - Updated to Brand Teal */
.inner-page-banner {
    /* Uses your brand variable --mw-teal mixed with a slightly darker shade for depth */
    background: linear-gradient(135deg, var(--mw-teal) 0%, #0e6b75 100%); 
    padding: 80px 0;
    margin-bottom: 50px;
    color: #ffffff;
    text-align: center;
    width: 100%;
    /* Optional: Add a subtle pattern overlay if desired */
    box-shadow: 0 4px 20px rgba(19, 140, 154, 0.2);
}

/* 2. Page Title Styling */
.inner-page-banner h1.entry-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 3. Breadcrumbs */
#breadcrumbs {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
    font-weight: 500;
}
#breadcrumbs a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--mw-turq); /* Highlights links with your Turquoise */
}
#breadcrumbs a:hover {
    text-decoration: none;
    color: var(--mw-turq);
}

/* 4. Main Content Container */
.inner-page-content {
    padding-bottom: 80px;
    min-height: 60vh; 
}

/* 5. Background Color - Pure White */
body.page:not(.home) {
    background-image: none !important;
    background-color: #ffffff !important; /* Pure White per request */
    color: var(--mw-text);
}

/* =========================================
   Glassmorphism (Frosted Glass) Components
   ========================================= */

.mwt-glass-card {
    /* Glass Background: White with 25% opacity */
    background: rgba(255, 255, 255, 0.25); 
    box-shadow: 0 8px 32px 0 rgba(19, 140, 154, 0.15); /* Soft Teal Shadow */
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6); 
    border-radius: 15px;
    padding: 40px;
    margin: 20px 0;
    max-width: 100%;
    color: #000000; 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Typography inside Glass Card */
.mwt-glass-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
    color: #000000;
}

.mwt-glass-card strong {
    font-weight: 700;
    color: #000000;
}

/* Heading with Teal Accent Bar */
.mwt-glass-card h3 {
    color: #000000;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 4px solid var(--mw-teal); /* Uses your Theme Teal Variable */
    padding-left: 15px;
}

/* Horizontal Divider inside Glass Card */
.mwt-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
    margin: 30px 0;
}

/* The Signature / Final Sentence Callout */
.mwt-signature {
    margin-top: 30px;
    font-weight: 600;
    font-size: 18px;
    border-left: 4px solid var(--mw-teal);
    padding-left: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .mwt-glass-card { padding: 25px; }
}

#mission .elementor-icon-box-description .elementor-icon-box-title{
	font-family: candara !important;
}

#matter-header h1{
	font-family: candara !important;
}
