/*
 * v7.1.14 — focused correction layer.
 * Only logo, homepage hero quick actions and mobile drawer are changed.
 */

/* Header logo: genuinely larger without stretching. */
.site-header .brand-wrap{min-width:290px!important;display:flex!important;align-items:center!important}
.site-header .custom-logo-wrap{display:flex!important;align-items:center!important}
.site-header .custom-logo-wrap a{display:flex!important;align-items:center!important}
.site-header .custom-logo-wrap img,
.site-header .custom-logo{display:block!important;width:auto!important;height:auto!important;max-width:290px!important;max-height:78px!important;object-fit:contain!important}

/* Keep the original two hero CTA buttons. */
.home-hero .hero-cta-row{display:flex!important;gap:12px!important;align-items:center!important;flex-wrap:wrap!important;margin-top:20px!important}
.home-hero .hero-primary-cta,
.home-hero .hero-secondary-cta{min-height:48px!important;padding:0 20px!important;border-radius:14px!important;font-size:14px!important;line-height:1.1!important}

/* Compact four-item quick action row. */
.home-hero .hero-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;width:min(850px,100%)!important;margin-top:18px!important}
.home-hero .quick-tile{min-width:0!important;min-height:76px!important;height:auto!important;padding:13px 15px!important;border-radius:15px!important;display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:10px!important;row-gap:2px!important;align-items:center!important;text-align:left!important;overflow:hidden!important}
.home-hero .quick-tile>svg{grid-row:1/3!important;width:25px!important;height:25px!important;align-self:center!important}
.home-hero .quick-tile strong{display:block!important;min-width:0!important;font-size:14px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.home-hero .quick-tile span{display:block!important;min-width:0!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;opacity:.72!important}

/* Mobile drawer: narrow, compact and usable. */
.mobile-drawer{width:min(342px,88vw)!important;max-width:342px!important}
.mobile-drawer .drawer-panel{padding:18px 16px calc(92px + env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,#071114 0%,#020708 100%)!important}
.mobile-drawer .drawer-head{margin:0 0 12px!important;padding:0 0 12px!important;min-height:52px!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
.mobile-drawer .drawer-profile-link{min-width:0!important;gap:10px!important}
.mobile-drawer .drawer-profile-photo,
.mobile-drawer .drawer-profile-photo img{width:40px!important;height:40px!important;min-width:40px!important}
.mobile-drawer .drawer-profile-copy strong{font-size:14px!important;line-height:1.15!important;color:#fff!important}
.mobile-drawer .drawer-profile-copy small{font-size:11px!important;line-height:1.2!important;color:rgba(255,255,255,.58)!important}
.mobile-drawer .drawer-close{width:34px!important;height:34px!important;font-size:28px!important;line-height:1!important;border-radius:10px!important}
.mobile-drawer .drawer-search{height:42px!important;min-height:42px!important;margin:0 0 12px!important;padding:0 11px!important;border-radius:12px!important;gap:8px!important}
.mobile-drawer .drawer-search svg{width:18px!important;height:18px!important}
.mobile-drawer .drawer-search input{height:40px!important;min-height:40px!important;padding:0!important;font-size:14px!important;background:transparent!important;color:#fff!important;border:0!important;box-shadow:none!important}
.mobile-drawer .drawer-link-list{margin:0!important;gap:2px!important}
.mobile-drawer .drawer-link-list .drawer-dynamic-menu{gap:2px!important}
.mobile-drawer .drawer-link-list .drawer-dynamic-menu li{margin:0!important;border:0!important}
.mobile-drawer .drawer-link-list .drawer-dynamic-menu a{min-height:42px!important;padding:6px 8px!important;border-radius:11px!important;grid-template-columns:28px minmax(0,1fr) 14px!important;gap:8px!important;background:transparent!important;border:0!important;color:rgba(255,255,255,.88)!important}
.mobile-drawer .drawer-link-list .drawer-dynamic-menu a:hover,
.mobile-drawer .drawer-link-list .drawer-dynamic-menu a:focus,
.mobile-drawer .drawer-link-list .drawer-dynamic-menu .current-menu-item>a{background:rgba(36,199,193,.10)!important;color:#fff!important}
.mobile-drawer .drawer-menu-icon{width:28px!important;height:28px!important;min-width:28px!important;border:0!important;border-radius:8px!important;background:rgba(36,199,193,.08)!important;color:var(--teal)!important;display:grid!important;place-items:center!important}
.mobile-drawer .drawer-menu-icon svg{width:17px!important;height:17px!important;stroke-width:1.8!important}
.mobile-drawer .drawer-menu-label{font-size:13px!important;line-height:1.15!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mobile-drawer .drawer-link-list .drawer-dynamic-menu a::after{font-size:15px!important;opacity:.52!important}
.mobile-drawer .drawer-community{height:44px!important;min-height:44px!important;margin:12px 0!important;padding:0 13px!important;border-radius:12px!important;font-size:12px!important;letter-spacing:.025em!important;box-shadow:none!important}
.mobile-drawer .drawer-community svg{width:17px!important;height:17px!important}
.mobile-drawer .drawer-support{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0!important;padding-top:12px!important;border-top:1px solid rgba(255,255,255,.08)!important}
.mobile-drawer .drawer-support a{min-width:0!important;min-height:58px!important;padding:9px 8px!important;border-radius:12px!important;display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:7px!important;row-gap:1px!important;align-items:center!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.08)!important;color:#fff!important}
.mobile-drawer .drawer-support a>span{grid-row:1/3!important;width:24px!important;height:24px!important;display:grid!important;place-items:center!important;color:var(--teal)!important}
.mobile-drawer .drawer-support a>span svg{width:17px!important;height:17px!important}
.mobile-drawer .drawer-support strong{font-size:10px!important;line-height:1.15!important;letter-spacing:.06em!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mobile-drawer .drawer-support small{font-size:10px!important;line-height:1.15!important;color:rgba(255,255,255,.62)!important;white-space:nowrap!important}

@media (max-width:1220px){
  .site-header .brand-wrap{min-width:220px!important}
  .site-header .custom-logo-wrap img,.site-header .custom-logo{max-width:220px!important;max-height:68px!important}
}

@media (max-width:767px){
  .site-header{height:108px!important}
  .site-header .header-inner{height:108px!important;padding:0 28px!important;gap:12px!important}
  .site-header .brand-wrap{min-width:0!important;flex:1 1 auto!important}
  .site-header .custom-logo-wrap img,.site-header .custom-logo{max-width:210px!important;max-height:66px!important}
  .site-header .header-actions{gap:8px!important}
  .site-header .header-login-btn{width:46px!important;height:46px!important}
  .site-header .header-login-btn img{width:42px!important;height:42px!important}
  .site-header .mobile-menu-btn{width:38px!important;height:38px!important}

  .home-hero .hero-inner{padding-top:34px!important;padding-bottom:28px!important}
  .home-hero .hero-copy{max-width:100%!important}
  .home-hero .hero-kicker{font-size:12px!important;letter-spacing:.20em!important;margin-bottom:12px!important}
  .home-hero h1{font-size:clamp(34px,10vw,46px)!important;line-height:.98!important;margin-bottom:14px!important}
  .home-hero .hero-desc{font-size:16px!important;line-height:1.45!important;max-width:34ch!important}
  .home-hero .hero-cta-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-top:18px!important}
  .home-hero .hero-primary-cta,.home-hero .hero-secondary-cta{min-width:0!important;min-height:44px!important;padding:0 11px!important;border-radius:13px!important;font-size:12px!important;justify-content:center!important;text-align:center!important;white-space:nowrap!important}
  .home-hero .hero-primary-cta svg{width:18px!important;height:18px!important}

  .home-hero .hero-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-top:12px!important;width:100%!important}
  .home-hero .quick-tile{min-height:62px!important;padding:10px 11px!important;border-radius:13px!important;grid-template-columns:24px minmax(0,1fr)!important;column-gap:8px!important}
  .home-hero .quick-tile>svg{width:21px!important;height:21px!important}
  .home-hero .quick-tile strong{font-size:12px!important}
  .home-hero .quick-tile span{font-size:9.5px!important}
}

@media (max-width:390px){
  .site-header .header-inner{padding-inline:20px!important}
  .site-header .custom-logo-wrap img,.site-header .custom-logo{max-width:190px!important;max-height:60px!important}
  .home-hero .hero-primary-cta,.home-hero .hero-secondary-cta{font-size:11px!important}
  .mobile-drawer{width:90vw!important;max-width:330px!important}
}
