/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.1.0
*/

.v2-skip-link{position:fixed;left:16px;top:8px;z-index:100000;transform:translateY(-160%);background:#111;color:#fff!important;padding:12px 16px;border-radius:2px;text-decoration:none;font-weight:700}
.v2-skip-link:focus{transform:translateY(0)}
.v2-breadcrumb{max-width:1180px;margin:0 auto 28px;padding:0 20px;font-size:14px;color:#62666b}
.v2-breadcrumb ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.v2-breadcrumb li+li:before{content:'/';margin-right:8px;color:#a33}
.v2-breadcrumb a{color:#222;text-decoration:underline;text-underline-offset:3px}
.single-post .section-post-about,.single-post .author-box,.single-post .post-author,.single-post .avatar,.single-post #comments,.single-post .section-post-comments{display:none!important}
.post-footer .post-comments,.post-footer .post-love,.post-meta .post-comments,.post-meta .post-love{display:none!important}
.v2-protected-endpoint header,.v2-protected-endpoint footer,.v2-protected-endpoint #Header_wrapper,.v2-protected-endpoint #Footer,.v2-protected-endpoint .mfn-header-template,.v2-protected-endpoint .mfn-footer-template{display:none!important}
.v2-protected-endpoint #Content{padding-top:24px}
@media (min-width:768px) and (max-width:1024px){
  .column_header_menu{display:none!important}
  .column_header_burger{display:block!important}
}
@media (max-width:767px){
  .v2-breadcrumb{padding:0 16px;margin-bottom:20px}
}


/* V2 QA: suppress empty engagement residue and legacy single metadata. */
.mfn-love, .button-love, .post-comments, .post-meta .author-date, .single-post .author-box, .single-post .section-post-related .post-meta { display:none !important; }


@media (min-width:768px) and (max-width:1024px){
  body.blog .posts_group.col-3.grid{height:auto !important;}
  body.blog .posts_group.col-3.grid .post-item{width:100% !important;position:relative !important;left:auto !important;top:auto !important;}
}


/* ST-LOCK-005: keep the opened mobile drawer inside the viewport. */
@media (max-width:1024px){
  html.mfn-header-tmpl-burger-sidebar-opened .mfn-header-tmpl-menu-sidebar-right{right:0 !important;left:auto !important;transform:none !important;visibility:visible !important;opacity:1 !important;width:min(350px,calc(100vw - 20px)) !important;transition:none !important;animation:none !important;z-index:100001 !important;pointer-events:auto !important;}
}
.v2-protected-endpoint .wpml-ls{display:none !important;}
.v2-protected-title,.v2-404-title{display:block !important;visibility:visible !important;position:relative !important;width:auto !important;height:auto !important;clip:auto !important;clip-path:none !important;overflow:visible !important;margin:0 0 1em;padding-top:.5em;font-size:clamp(2rem,5vw,3.25rem);line-height:1.08;}

.v2-protected-endpoint #Header_wrapper{display:block !important;background:none !important;}
.v2-protected-endpoint #Subheader{display:block !important;background:#fff !important;padding:28px 20px 0 !important;}
.v2-protected-endpoint #Subheader .container{max-width:1180px;margin:0 auto;}
.v2-protected-endpoint #Subheader h1{display:block !important;visibility:visible !important;color:#111 !important;font-size:clamp(2rem,5vw,3.25rem);line-height:1.08;}



/* ST-LOCK-006: AI hardware article media and Home discovery section. */
.v2-hw-product-media{max-width:var(--v2-hw-max,1200px);margin:34px auto 38px}
.v2-hw-product-media img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;border-radius:18px;box-shadow:0 14px 36px rgba(20,26,35,.12)}
.v2-hw-product-media figcaption{margin:10px auto 0;max-width:820px;color:#626b78;font-size:14px;line-height:1.5;text-align:center}
.v2-hw-home{margin:72px 0 0;padding:84px 28px;background:linear-gradient(145deg,#eef3f2 0%,#f8f4eb 52%,#e8eef4 100%);border-top:1px solid rgba(20,39,57,.08);border-bottom:1px solid rgba(20,39,57,.08)}
.v2-hw-home__inner{width:min(1180px,100%);margin:0 auto}
.v2-hw-home__eyebrow,.v2-hw-card__label{margin:0 0 10px;color:#b44c2e;font-size:12px;font-weight:800;letter-spacing:.15em}
.v2-hw-home h2{max-width:760px;margin:0;color:#142739;font-size:clamp(36px,5vw,64px);line-height:1.02;letter-spacing:-.035em}
.v2-hw-home__intro{max-width:720px;margin:22px 0 38px;color:#4d5b67;font-size:19px;line-height:1.65}
.v2-hw-card{overflow:hidden;background:#fff;border:1px solid rgba(20,39,57,.1);border-radius:24px;box-shadow:0 14px 42px rgba(20,39,57,.08);transition:transform .2s ease,box-shadow .2s ease}
.v2-hw-card:hover{transform:translateY(-4px);box-shadow:0 20px 52px rgba(20,39,57,.13)}
.v2-hw-card__media{display:block;overflow:hidden;background:#dfe6e9;aspect-ratio:3/2}
.v2-hw-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.v2-hw-card:hover .v2-hw-card__media img{transform:scale(1.025)}
.v2-hw-card__body{padding:25px}
.v2-hw-card h3{margin:0 0 12px;color:#142739;font-size:23px;line-height:1.18}
.v2-hw-card h3 a{color:inherit;text-decoration:none}
.v2-hw-card__body>p:not(.v2-hw-card__label){margin:0 0 18px;color:#596572;line-height:1.6}
.v2-hw-card__cta{display:inline-flex;gap:8px;align-items:center;color:#9b3f27;font-weight:750;text-decoration:none}
.v2-hw-card--lead{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);margin-bottom:26px}
.v2-hw-card--lead .v2-hw-card__media{height:100%;min-height:380px;aspect-ratio:auto}
.v2-hw-card--lead .v2-hw-card__body{display:flex;flex-direction:column;justify-content:center;padding:40px}
.v2-hw-card--lead h3{font-size:clamp(28px,3vw,42px)}
.v2-hw-home__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}
.v2-hw-home__grid .v2-hw-card{grid-column:span 2}
.v2-hw-home__grid .v2-hw-card:nth-child(4),.v2-hw-home__grid .v2-hw-card:nth-child(5){grid-column:span 3}
@media (max-width:1024px){
  .v2-hw-home{padding:68px 24px}
  .v2-hw-card--lead{grid-template-columns:1fr}
  .v2-hw-card--lead .v2-hw-card__media{min-height:0;aspect-ratio:3/2}
  .v2-hw-home__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v2-hw-home__grid .v2-hw-card,.v2-hw-home__grid .v2-hw-card:nth-child(4),.v2-hw-home__grid .v2-hw-card:nth-child(5){grid-column:auto}
}
@media (max-width:600px){
  .v2-hw-home{margin-top:52px;padding:54px 16px}
  .v2-hw-home__intro{font-size:17px}
  .v2-hw-home__grid{grid-template-columns:1fr;gap:18px}
  .v2-hw-card--lead{margin-bottom:18px}
  .v2-hw-card--lead .v2-hw-card__body,.v2-hw-card__body{padding:24px}
  .v2-hw-card h3{font-size:22px}
}
