
/*
Theme Name: Men's Medical Pond Exact Reference
Version: 1.1.0
*/
:root{--navy:#062b50;--blue:#0877c9;--green:#08a34a;--text:#1f3348;--muted:#6f8090;--line:#e0e8ee;--container:1180px}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.5}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(var(--container),calc(100% - 38px));margin:auto}
.topbar{height:31px;background:var(--navy);color:#fff;font-size:11px}.topbar .container{height:100%;display:flex;align-items:center;justify-content:space-between}.toplinks,.socials{display:flex;gap:10px;align-items:center}
.site-header{background:#fff;border-bottom:1px solid #e7edf1}.header-inner{min-height:76px;display:flex;align-items:center;gap:25px}.brand{width:245px;flex:0 0 245px}.brand-row{display:flex;align-items:center;gap:8px}.logo-circle{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#0b9c78,#0a79bb);color:#fff;display:grid;place-items:center;font-size:21px;font-weight:900}.brand-name{font-size:22px;font-weight:900;line-height:1;color:#092e54}.brand-name span{color:#10a657}.tagline{display:block;font-size:7px;color:#6c8290;letter-spacing:.55px;margin:4px 0 0 49px;white-space:nowrap}.main-nav{margin-left:auto;display:flex;align-items:center;gap:1px;white-space:nowrap}.main-nav a{font-size:12px;font-weight:700;padding:12px 8px;color:#142f47}.main-nav a:hover{color:var(--green)}.search-wrap{display:flex}.search{height:33px;width:174px;border:1px solid #cddce6;padding:0 10px;border-radius:5px 0 0 5px;font-size:11px}.search-btn{height:33px;width:37px;border:0;background:var(--green);color:#fff;border-radius:0 5px 5px 0}
.hero{background:linear-gradient(90deg,#eef9ff,#dff1fb)}.hero-inner{height:300px;display:grid;grid-template-columns:1.06fr .94fr;align-items:center;overflow:hidden}.hero-copy{padding-left:20px}.eyebrow{display:inline-block;border:1px solid #9ccbe7;background:#edf9ff;color:#0871ae;border-radius:16px;padding:4px 10px;font-size:9px;font-weight:800;letter-spacing:.4px}.hero h1{font-size:38px;line-height:1.08;color:#0b3b68;margin:10px 0 8px;letter-spacing:-.8px}.hero h1 span{color:var(--green)}.hero p{font-size:15px;max-width:560px;margin:0 0 15px}.hero-trust{display:flex;gap:20px;margin-bottom:13px}.hero-trust div{display:flex;gap:7px;align-items:center;font-size:10px;font-weight:700}.trust-icon{width:28px;height:28px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#0877c9;box-shadow:0 1px 7px #0001}.hero-btn,.review-btn{display:inline-block;background:var(--green);color:#fff;padding:10px 22px;border-radius:5px;font-size:12px;font-weight:800}.hero-visual{height:100%;position:relative}.hero-visual img{width:100%;height:100%;object-fit:cover}.hero-points{position:absolute;right:8px;top:54px;display:flex;flex-direction:column;gap:8px}.hero-points div{background:#fff;min-width:170px;padding:9px 11px;border-radius:7px;box-shadow:0 2px 9px #0002;font-size:11px;font-weight:800}.check{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#12a34a;color:#fff;margin-right:7px}
.section{padding:17px 0 0}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.section-title{font-size:23px;color:#0b3b68;margin:0;font-weight:900}.view-all{font-size:11px;color:#0877c9;font-weight:800}
.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.category{border:1px solid #e0e7ec;border-radius:6px;background:#fff;overflow:hidden;box-shadow:0 1px 4px #0001}.category img{height:98px;width:100%;object-fit:cover}.category-body{padding:8px 9px 10px}.category h3{font-size:12px;margin:0 0 3px;color:#102f4c}.category p{font-size:10px;color:#6d7f8e;margin:0;min-height:30px}.circle-arrow{width:23px;height:23px;border:1px solid #dbe6ed;border-radius:50%;display:grid;place-items:center;color:#0877c9;margin:5px auto 0}
.products{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.product{border:1px solid #e0e7ec;border-radius:7px;background:#fff;overflow:hidden;box-shadow:0 1px 5px #0001;padding:0 10px 12px;text-align:center}.ribbon{height:25px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:10px;font-weight:800;border-radius:0 0 13px 13px;margin:0 20px 5px}.product img{height:125px;width:100%;object-fit:cover}.stars{color:#f2b500;font-size:13px}.rating{font-size:10px;color:#4e6475}.product h3{font-size:13px;margin:4px 0 2px}.product p{font-size:10px;color:#6c7e8d;min-height:30px;margin:0 0 8px}.review-btn{display:block;padding:8px}
.articles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.article-card{border:1px solid #e0e7ec;border-radius:7px;overflow:hidden;background:#fff;box-shadow:0 1px 4px #0001}.article-card img{height:118px;width:100%;object-fit:cover}.article-body{padding:8px 10px 10px}.article-tag{display:inline-block;background:#087bc8;color:#fff;padding:4px 7px;border-radius:3px;font-size:9px;font-weight:800;margin-top:-22px;position:relative}.article-card h3{font-size:13px;line-height:1.25;margin:6px 0}.date{font-size:10px;color:#7a8995}.read{display:inline-block;color:#0877c9;font-size:10px;font-weight:800;margin-top:7px}
.trust-strip{margin-top:22px;background:#eef9ff;border-top:1px solid #e0edf4;border-bottom:1px solid #e0edf4}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:18px 0}.trust-item{display:flex;gap:11px;align-items:center}.trust-big{width:42px;height:42px;border-radius:10px;background:#fff;display:grid;place-items:center;color:#0877c9;font-size:21px;box-shadow:0 2px 8px #0001}.trust-item h3{font-size:12px;margin:0;color:#0870bb}.trust-item p{font-size:10px;margin:2px 0;color:#62788a}
.footer{background:#062b50;color:#e5f0f7;padding:28px 0 10px}.footer-grid{display:grid;grid-template-columns:1.6fr .8fr .9fr .9fr 1.1fr;gap:35px}.footer h3{font-size:12px;margin:0 0 9px;color:#fff}.footer p,.footer a{font-size:10px;color:#d2e0e9;line-height:1.7}.footer-logo{font-size:20px;font-weight:900}.footer-logo span{color:#1bc169}.subscribe input{width:100%;height:33px;border:0;border-radius:4px;padding:0 9px;margin:4px 0}.subscribe button{background:var(--green);border:0;color:#fff;width:100%;height:33px;border-radius:4px;font-weight:800}.copyright{border-top:1px solid #2a4b68;margin-top:18px;padding-top:9px;display:flex;justify-content:space-between;font-size:9px;color:#bcd0dd}
@media(max-width:1050px){.main-nav a{padding:9px 5px;font-size:11px}.search{width:125px}.hero h1{font-size:32px}.categories{grid-template-columns:repeat(3,1fr)}.products{grid-template-columns:repeat(3,1fr)}.articles{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.container{width:calc(100% - 22px)}.toplinks{font-size:9px}.socials{display:none}.header-inner{display:block;padding:10px 0}.brand{margin:0 auto 8px}.main-nav{justify-content:center;flex-wrap:wrap}.main-nav a{padding:5px;font-size:11px}.search-wrap{display:none}.hero-inner{height:auto;display:flex;flex-direction:column}.hero-copy{padding:20px 0}.hero h1{font-size:29px}.hero-visual{width:100%;height:240px}.hero-points{right:5px;top:18px}.hero-points div{min-width:145px;font-size:10px}.categories{grid-template-columns:repeat(2,1fr)}.products{grid-template-columns:repeat(2,1fr)}.articles{grid-template-columns:1fr}.trust-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.copyright{display:block}}


/* ===== 2026 REFERENCE LAYOUT POLISH ===== */
body{overflow-x:hidden}
.container{width:min(1180px,calc(100% - 40px))}
.topbar{letter-spacing:.05px}
.header-inner{height:76px;min-height:76px}
.main-nav{gap:0}
.main-nav a{transition:color .15s ease}
.hero-inner{min-height:300px}
.hero-copy{padding-top:3px}
.hero-visual{min-width:0}
.hero-visual img{object-position:center center}
.categories,.products,.articles{align-items:stretch}
.category,.product,.article-card{height:100%}
.category-body{min-height:101px;display:flex;flex-direction:column}
.category-body .circle-arrow{margin-top:auto}
.product{display:flex;flex-direction:column}
.product img{flex:0 0 125px}
.product p{flex:1}
.product .review-btn{margin-top:auto}
.article-card{display:flex;flex-direction:column}
.article-card .article-body{flex:1;display:flex;flex-direction:column}
.article-card .read{margin-top:auto}
.trust-strip{margin-top:24px}
.footer{margin-top:0}
@media(min-width:1100px){
 .hero-inner{grid-template-columns:56% 44%}
 .hero-copy{padding-left:18px}
 .hero h1{font-size:39px}
 .categories{gap:12px}
 .products{gap:12px}
 .articles{gap:12px}
}
@media(max-width:1050px){
 .header-inner{gap:12px}
 .brand{width:225px;flex-basis:225px}
 .main-nav a{padding-left:5px;padding-right:5px}
}
@media(max-width:700px){
 .container{width:calc(100% - 22px)}
 .hero-copy{padding:20px 0 22px}
 .hero-visual{height:245px}
 .hero-visual img{object-position:center}
 .hero-points{right:6px;top:16px}
 .hero-points div{min-width:145px;padding:7px 9px}
 .category img{height:105px}
 .product img{height:125px}
 .article-card img{height:150px}
}


/* ===== WORDPRESS OUTPUT / RESET FIX ===== */
html,body{min-height:100%}
body.mmp-theme{margin:0!important;padding:0!important}
body.mmp-theme ul,body.mmp-theme ol{margin-top:0}
button,input{font-family:inherit}
.search-btn{cursor:pointer}
.main-nav a,.brand,.hero-btn,.review-btn,.view-all,.read,.category{color:inherit}
.main-nav a{color:#142f47}
.hero-btn,.review-btn{color:#fff}


/* =========================================================
   SINGLE POST / REVIEW LAYOUT
   ========================================================= */
.post-page{background:#f6f9fb;padding:18px 0 55px}
.post-breadcrumb{display:flex;gap:8px;align-items:center;color:#728493;font-size:11px;margin:0 0 12px}
.post-breadcrumb a{color:#47799c;font-weight:600}
.post-layout{display:grid;grid-template-columns:minmax(0,850px) 310px;gap:24px;align-items:start}
.post-main{background:#fff;border:1px solid #dfe8ee;border-radius:8px;padding:18px 22px 40px;box-shadow:0 1px 5px rgba(0,0,0,.03)}
.post-meta-top{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.post-label{background:#087bc8;color:#fff;border-radius:5px;padding:5px 10px;font-size:10px;font-weight:800}
.post-reviewed{color:#1c8c4c;font-size:11px;font-weight:800}
.post-updated{margin-left:auto;color:#718291;font-size:11px}
.post-title{font-size:40px;line-height:1.1;color:#0a3765;margin:9px 0 15px;letter-spacing:-.8px}
.post-author{display:flex;align-items:center;gap:10px;color:#657787;font-size:11px;margin-bottom:16px}
.post-author strong{color:#203b52;font-size:12px}
.author-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#0a8f78,#0a70ba);color:#fff;display:grid;place-items:center;font-weight:900;font-size:17px}
.post-featured{width:100%;border-radius:8px;overflow:hidden;margin-bottom:14px;background:#edf5f9}
.post-featured img{width:100%;height:350px;object-fit:cover}
.post-disclosure{background:#fff7e7;border-left:4px solid #f1a238;padding:12px 14px;color:#455a6b;font-size:12px;margin:0 0 20px}
.post-content{color:#283d50}
.post-content p{font-size:16px;line-height:1.78;margin:0 0 17px}
.post-content h2{font-size:28px;line-height:1.25;color:#0a3d72;margin:34px 0 10px;padding-top:5px}
.post-content h3{font-size:20px;color:#08775e;margin:25px 0 8px}
.post-content img{width:100%;height:auto;border-radius:8px;margin:16px 0}
.post-content table{width:100%;border-collapse:collapse;margin:18px 0 25px;font-size:14px}
.post-content th,.post-content td{border:1px solid #dce5eb;padding:10px;text-align:left;vertical-align:top}
.post-content th{background:#edf5f8;color:#163c59}
.post-content ul,.post-content ol{padding-left:24px;margin:0 0 20px}
.post-content li{margin:6px 0}
.post-content blockquote{background:#eff9f5;border-left:4px solid #10a253;padding:15px 18px;margin:22px 0}
.post-content a{color:#0877c9}
.post-content .cta,.post-content .button,.post-content a.cta{display:block;background:#08a348;color:#fff!important;text-align:center;border-radius:6px;padding:13px 18px;font-weight:800;margin:22px 0;text-decoration:none}
.post-bottom-disclosure{border-top:1px solid #e0e8ee;margin-top:30px;padding-top:16px;font-size:11px;color:#71808d;line-height:1.65}

/* sidebar */
.post-sidebar{display:flex;flex-direction:column;gap:16px}
.sidebar-product,.sidebar-box{background:#fff;border:1px solid #dfe8ee;border-radius:8px;padding:14px;box-shadow:0 1px 5px rgba(0,0,0,.03)}
.sidebar-product{text-align:center}
.sidebar-product-badge{display:inline-block;background:#087bc8;color:#fff;padding:7px 18px;border-radius:5px;font-size:10px;font-weight:800;margin-bottom:8px}
.sidebar-product-image{width:100%;height:165px;object-fit:cover;border-radius:6px;margin:0 auto 10px}
.sidebar-placeholder{height:165px;border-radius:6px;background:#eef6fa;display:grid;place-items:center;color:#547086;font-weight:800;margin-bottom:10px}
.sidebar-product h3{font-size:19px;color:#0a3d72;margin:5px 0}
.sidebar-product p{font-size:12px;line-height:1.55;color:#657787;margin:0 0 11px}
.sidebar-cta{display:block;background:#08a348;color:#fff;border-radius:5px;padding:11px;font-size:12px;font-weight:800}
.sidebar-trust{font-size:9px;color:#71808d;margin-top:9px}
.sidebar-box h3{font-size:18px;color:#0a3d72;margin:2px 0 10px}
.toc-auto{display:flex;flex-direction:column;gap:5px}
.toc-auto a{font-size:12px;color:#1e638e;padding:4px 0;border-bottom:1px solid #edf1f4}
.sidebar-latest{display:flex;gap:9px;padding:8px 0;border-bottom:1px solid #edf1f4}
.sidebar-latest:last-child{border-bottom:0}
.sidebar-latest img{width:68px;height:55px;object-fit:cover;border-radius:5px;flex:0 0 68px}
.sidebar-latest span{display:flex;flex-direction:column;gap:4px}
.sidebar-latest strong{font-size:11px;line-height:1.3;color:#173a55}
.sidebar-latest small{font-size:9px;color:#7b8994}
.sidebar-muted{font-size:12px;color:#71808d}
.sidebar-newsletter{background:#eef8ff;text-align:center}
.newsletter-icon{width:40px;height:40px;border-radius:50%;background:#fff;color:#0877c9;display:grid;place-items:center;margin:0 auto 7px;font-size:20px}
.sidebar-newsletter h3{margin-bottom:5px}
.sidebar-newsletter p{font-size:11px;color:#657787}
.sidebar-newsletter input{width:100%;height:37px;border:1px solid #d4e0e7;border-radius:5px;padding:0 9px;margin:4px 0 7px}
.sidebar-newsletter button{width:100%;height:37px;border:0;border-radius:5px;background:#08a348;color:#fff;font-weight:800}
.sidebar-newsletter small{display:block;font-size:9px;color:#748592;margin-top:7px}

@media(max-width:1050px){
 .post-layout{grid-template-columns:1fr}
 .post-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .post-title{font-size:35px}
}
@media(max-width:700px){
 .post-page{padding-top:10px}
 .post-main{padding:14px}
 .post-meta-top{flex-wrap:wrap}
 .post-updated{width:100%;margin-left:0}
 .post-title{font-size:29px;letter-spacing:-.4px}
 .post-featured img{height:230px}
 .post-content p{font-size:15px}
 .post-content h2{font-size:25px}
 .post-sidebar{display:flex}
 .post-breadcrumb{font-size:10px;overflow:hidden;white-space:nowrap}
}


/* =========================================================
   MOBILE HEADER / HAMBURGER MENU FIX
   ========================================================= */
.mobile-menu-toggle{
  display:none;
  border:0;
  background:#08a348;
  color:#fff;
  width:48px;
  height:42px;
  border-radius:6px;
  cursor:pointer;
  padding:6px;
  position:relative;
  z-index:1001;
}
.mobile-menu-toggle span{
  display:block;
  width:21px;
  height:2px;
  background:#fff;
  margin:4px auto;
  border-radius:2px;
  transition:transform .2s ease,opacity .2s ease;
}
.mobile-menu-toggle b{
  display:none;
}
.header-navigation{display:flex;align-items:center;gap:0;margin-left:auto}
body.mobile-menu-open{overflow:hidden}

@media(max-width:700px){
  .site-header{position:relative;z-index:1000}
  .header-inner{
    min-height:66px;
    height:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 0;
  }
  .brand{
    width:auto;
    flex:1 1 auto;
    margin:0;
    min-width:0;
  }
  .brand-row{gap:6px}
  .logo-circle{width:38px;height:38px;font-size:18px;flex:0 0 38px}
  .brand-name{font-size:18px}
  .tagline{
    font-size:6px;
    margin-left:44px;
    letter-spacing:.35px;
    white-space:nowrap;
  }

  .mobile-menu-toggle{
    display:block;
    flex:0 0 48px;
  }
  .mobile-menu-toggle.is-open span:nth-child(1){
    transform:translateY(6px) rotate(45deg);
  }
  .mobile-menu-toggle.is-open span:nth-child(2){opacity:0}
  .mobile-menu-toggle.is-open span:nth-child(3){
    transform:translateY(-6px) rotate(-45deg);
  }

  .header-navigation{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:#fff;
    border-top:1px solid #e0e8ee;
    border-bottom:1px solid #dbe5eb;
    box-shadow:0 10px 22px rgba(0,0,0,.12);
    padding:8px 12px 12px;
    flex-direction:column;
    align-items:stretch;
    margin:0;
    max-height:calc(100vh - 66px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .header-navigation.is-open{display:flex}
  .main-nav{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    width:100%;
    margin:0;
    white-space:normal;
  }
  .main-nav a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:46px;
    padding:11px 10px;
    border-bottom:1px solid #edf1f4;
    color:#123550;
    font-size:14px;
    font-weight:700;
  }
  .main-nav a:hover{background:#f2f8fb;color:#07864a}
  .search-wrap{
    width:100%;
    display:flex;
    margin:10px 0 0;
  }
  .search{
    width:100%;
    height:42px;
    font-size:13px;
    border-radius:6px 0 0 6px;
  }
  .search-btn{
    height:42px;
    width:46px;
  }
  .topbar{
    height:28px;
    overflow:hidden;
  }
  .topbar .container{justify-content:center}
  .toplinks{
    font-size:8px;
    gap:5px;
    white-space:nowrap;
    overflow:hidden;
  }
  .toplinks span:nth-child(n+6){display:none}
  .socials{display:none}
}


/* =========================================================
   FINAL MOBILE MENU FIX v6
   CSS-FIRST: WORKS EVEN IF JAVASCRIPT/CACHE IS DELAYED
   ========================================================= */
.mobile-menu-check{display:none!important}
.mobile-menu-button{display:none!important}

@media(max-width:767px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body.mmp-theme{position:relative}

  .topbar{
    height:28px!important;
    min-height:28px!important;
    overflow:hidden!important;
  }
  .topbar .container{
    height:28px!important;
    width:100%!important;
    padding:0 10px!important;
    display:flex!important;
    justify-content:center!important;
  }
  .toplinks{
    width:100%!important;
    justify-content:center!important;
    gap:4px!important;
    font-size:8px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  .socials{display:none!important}

  .site-header{
    position:relative!important;
    z-index:99999!important;
    background:#fff!important;
  }
  .header-inner{
    position:relative!important;
    width:100%!important;
    min-height:68px!important;
    height:68px!important;
    padding:8px 12px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
  }

  .brand{
    display:block!important;
    width:auto!important;
    max-width:calc(100% - 60px)!important;
    min-width:0!important;
    flex:1 1 auto!important;
    margin:0!important;
  }
  .brand-row{display:flex!important;align-items:center!important;gap:6px!important}
  .logo-circle{
    width:38px!important;height:38px!important;min-width:38px!important;
    font-size:18px!important;
  }
  .brand-name{
    font-size:18px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .tagline{
    display:block!important;
    margin:3px 0 0 44px!important;
    font-size:5.5px!important;
    line-height:1!important;
    letter-spacing:.3px!important;
    white-space:nowrap!important;
  }

  /* Always show hamburger on mobile */
  .mobile-menu-button{
    display:flex!important;
    width:48px!important;
    min-width:48px!important;
    height:44px!important;
    flex:0 0 48px!important;
    background:#08a348!important;
    border:0!important;
    border-radius:6px!important;
    position:relative!important;
    z-index:100001!important;
    cursor:pointer!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    padding:5px!important;
  }
  .mobile-menu-button span{
    display:block!important;
    width:23px!important;
    height:2px!important;
    background:#fff!important;
    border-radius:2px!important;
    margin:3px 0!important;
  }
  .mobile-menu-button em{
    display:none!important;
  }

  /* Closed state */
  .header-navigation{
    display:none!important;
    position:absolute!important;
    z-index:100000!important;
    left:0!important;
    right:0!important;
    top:68px!important;
    width:100%!important;
    margin:0!important;
    padding:8px 12px 14px!important;
    background:#fff!important;
    border-top:1px solid #dfe8ee!important;
    border-bottom:1px solid #dfe8ee!important;
    box-shadow:0 12px 28px rgba(0,0,0,.16)!important;
    flex-direction:column!important;
    align-items:stretch!important;
    max-height:calc(100vh - 68px)!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  /* Open state without JavaScript */
  .mobile-menu-check:checked ~ .header-navigation{
    display:flex!important;
  }
  .mobile-menu-check:checked + .mobile-menu-button span:nth-child(1){
    transform:translateY(8px) rotate(45deg)!important;
  }
  .mobile-menu-check:checked + .mobile-menu-button span:nth-child(2){
    opacity:0!important;
  }
  .mobile-menu-check:checked + .mobile-menu-button span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg)!important;
  }

  .main-nav{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    white-space:normal!important;
  }
  .main-nav a{
    width:100%!important;
    min-height:45px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:11px 10px!important;
    margin:0!important;
    border-bottom:1px solid #edf1f4!important;
    color:#123550!important;
    background:#fff!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.2!important;
  }
  .main-nav a:hover,.main-nav a:focus{
    color:#07864a!important;
    background:#f3f9fb!important;
  }
  .main-nav a i{
    font-style:normal!important;
    color:#0877c9!important;
    margin-left:auto!important;
  }

  .search-wrap{
    width:100%!important;
    display:flex!important;
    margin:10px 0 0!important;
    padding:0!important;
  }
  .search{
    display:block!important;
    width:100%!important;
    height:42px!important;
    font-size:13px!important;
    border:1px solid #ccdbe5!important;
    border-radius:6px 0 0 6px!important;
  }
  .search-btn{
    display:block!important;
    width:46px!important;
    min-width:46px!important;
    height:42px!important;
  }

  /* Prevent the old desktop header rules from shrinking the mobile menu */
  .header-inner>.header-navigation{margin-left:0!important}
}

/* Desktop: hide mobile-only controls completely */
@media(min-width:768px){
  .mobile-menu-check,.mobile-menu-button{display:none!important}
  .header-navigation{display:flex!important;align-items:center!important;margin-left:auto!important}
}
