/*
Theme Name:   The Meta Gadget (Astra Child)
Theme URI:    https://themetagadget.com/
Description:  Astra child theme with the custom Meta Gadget homepage, blog page, header and footer.
Author:       The Meta Gadget
Template:     astra
Version:      1.0.0
Text Domain:  astra-child
*/

:root{--mg-navy:#0b1527;--mg-navy2:#0f1b2d;--mg-amber:#ffae1a;--mg-amber-d:#f29d00;--mg-bg:#f1f3f9;--mg-ink:#0d1b2e;--mg-mute:#56637a;--mg-line:#e4e8f1;--mg-blue:#2b5fd9;
--mg-t-blue:#e6ecff;--mg-t-peach:#fde5e0;--mg-t-green:#dff3ea;--mg-t-sand:#fdefd2;--mg-r:16px;--mg-f:'Space Grotesk','Inter',system-ui,sans-serif}
body.mg-site{font-family:'Inter',system-ui,-apple-system,Segoe UI,sans-serif;color:var(--mg-ink);background:var(--mg-bg);-webkit-font-smoothing:antialiased}
body.mg-site h1,body.mg-site h2,body.mg-site h3,body.mg-site h4{font-family:var(--mg-f);color:var(--mg-ink);letter-spacing:-.01em}
.mg-site a{text-decoration:none}
.mg-wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.mg-ico{width:22px;height:22px;flex:none}
.mg-art{width:100%;height:100%;max-height:100%}
.screen-reader-text:focus{z-index:100000}

/* tones */
.mg-tone-blue{background:var(--mg-t-blue)}.mg-tone-peach{background:var(--mg-t-peach)}.mg-tone-green{background:var(--mg-t-green)}.mg-tone-sand{background:var(--mg-t-sand)}

/* buttons / bits */
.mg-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 14px/1 'Inter',sans-serif;padding:14px 20px;border-radius:10px;border:1px solid transparent;cursor:pointer;transition:.15s}
.mg-btn--amber{background:var(--mg-amber);color:#101a2b}.mg-btn--amber:hover{background:var(--mg-amber-d);color:#101a2b}
.mg-btn--ghost{background:transparent;color:#fff;border-color:#2b3b57}.mg-btn--ghost:hover{border-color:var(--mg-amber);color:#fff}
.mg-btn--dark{background:var(--mg-navy);color:#fff}.mg-btn--dark:hover{background:#000;color:#fff}
.mg-btn--block{display:flex;width:100%}
.mg-eyebrow{display:block;font:700 10.5px/1.2 'Inter',sans-serif;letter-spacing:.09em;text-transform:uppercase;color:var(--mg-blue)}
.mg-tag{display:inline-block;font:600 11px/1 'Inter',sans-serif;padding:6px 10px;border-radius:99px;background:#e9eefc;color:#2b4ea8}
.mg-tag--amber{background:#fff0cf;color:#8a5a00}
.mg-meta{font-size:12px;color:var(--mg-mute)}

/* top bar + header */
.mg-top{background:var(--mg-navy);color:#cdd6e6;font-size:11.5px}
.mg-top .mg-wrap{display:flex;justify-content:space-between;align-items:center;min-height:30px;gap:16px}
.mg-top a{color:#fff;font-weight:700}
.mg-header{background:#fff;border-bottom:1px solid var(--mg-line);position:sticky;top:0;z-index:50}
.admin-bar .mg-header{top:32px}
.mg-header__in{display:flex;align-items:center;gap:28px;min-height:64px}
.mg-logo{display:flex;align-items:center;gap:9px;color:var(--mg-ink);font:700 17px var(--mg-f)}
.mg-logo:hover{color:var(--mg-ink)}
.mg-logo__mark svg{width:26px;height:26px;display:block}
.mg-logo--light,.mg-logo--light:hover{color:#fff}
.mg-nav{display:flex;align-items:center;gap:28px;flex:1}
.mg-menu{display:flex;gap:24px;list-style:none;margin:0;padding:0;flex:1;align-items:center}
.mg-menu li{margin:0}
.mg-menu a{color:var(--mg-ink);font-size:13.5px;font-weight:500;display:inline-flex;align-items:center;gap:6px;padding:6px 0}
.mg-menu a:hover,.mg-menu .current-menu-item a{color:var(--mg-blue)}
.mg-menu__deals a{font-weight:700}.mg-menu__deals .mg-ico{width:15px;height:15px}
.mg-search{position:relative;margin:0}
.mg-search .mg-ico{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:15px;height:15px;color:#7b88a1}
.mg-search input[type=search]{width:250px;border:0;background:#f1f3f9;border-radius:10px;padding:11px 14px 11px 34px;font-size:13px;color:var(--mg-ink);height:auto}
.mg-search input:focus{outline:2px solid var(--mg-amber);background:#fff}
.mg-burger{display:none;margin-left:auto;background:none;border:0;padding:8px;cursor:pointer}
.mg-burger span{display:block;width:22px;height:2px;background:var(--mg-ink);margin:5px 0}

/* hero */
.mg-hero{background:var(--mg-navy);color:#fff;position:relative;overflow:hidden;
background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:44px 44px}
.mg-hero__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;padding-top:72px;padding-bottom:72px}
.mg-pill{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;color:#d3dcec;border:1px solid #26354f;border-radius:99px;padding:7px 13px;background:rgba(255,255,255,.03)}
.mg-pill i{width:6px;height:6px;border-radius:50%;background:var(--mg-amber)}
.mg-hero h1{font-size:clamp(40px,5.2vw,58px);line-height:1.04;color:#fff;margin:22px 0 18px;font-weight:700}
body.mg-site .mg-hero h1{color:#fff}
.mg-hero h1 span{color:var(--mg-amber);display:block}
.mg-hero p{color:#b6c2d8;font-size:15px;line-height:1.7;max-width:430px;margin:0 0 26px}
.mg-hero__cta{display:flex;gap:12px;flex-wrap:wrap}
.mg-hero__notes{display:flex;gap:22px;list-style:none;margin:22px 0 0;padding:0;font-size:11.5px;color:#a9b6cc;flex-wrap:wrap}
.mg-hero__notes li{display:flex;align-items:center;gap:7px;margin:0}.mg-hero__notes .mg-ico{width:14px;height:14px;color:#7e93b8}
.mg-pick{background:#0f1d33;border:1px solid #22324c;border-radius:22px;padding:14px;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.mg-pick__top{display:flex;justify-content:space-between;font:600 10px/1 'Inter',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#8ea0bf;padding:6px 8px 14px}
.mg-pick__card{background:#fff;border-radius:16px;padding:12px 12px 14px}
.mg-pick__art{background:var(--mg-t-blue);border-radius:12px;height:210px;padding:26px 60px}
.mg-pick__card h3{font-size:17px;margin:18px 6px 4px}
.mg-pick__card p{color:var(--mg-mute);font-size:12.5px;margin:0 6px 16px}

/* sections */
.mg-sec{padding:56px 0 8px}
.mg-sec--white{background:#fff;padding:56px 0 60px;margin-top:48px}
.mg-sec__head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px;gap:16px}
.mg-sec__head h2{font-size:26px;margin:6px 0 0;font-weight:700}
.mg-sec__head>a{font-size:12.5px;font-weight:600;color:var(--mg-blue);white-space:nowrap}
.mg-cats{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.mg-cat{grid-column:span 2;display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--mg-line);border-radius:14px;padding:16px;color:var(--mg-ink);transition:.15s}
.mg-cat:nth-child(n+7){grid-column:span 3}
.mg-cat:hover{border-color:var(--mg-amber);transform:translateY(-2px);color:var(--mg-ink)}
.mg-cat__ico{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;color:var(--mg-navy2)}
.mg-cat strong{display:block;font:600 13.5px 'Inter',sans-serif}.mg-cat small{display:block;color:var(--mg-mute);font-size:11.5px;margin-top:2px}
.mg-picks{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.mg-pickcard{background:#fff;border-radius:16px;overflow:hidden;border:1px solid var(--mg-line);display:flex;flex-direction:column}
.mg-pickcard__art{height:152px;padding:22px 44px}
.mg-pickcard__body{padding:16px;display:flex;flex-direction:column;flex:1}
.mg-pickcard h3{font-size:16px;line-height:1.25;margin:12px 0 8px}
.mg-pickcard p{font-size:12.5px;color:var(--mg-mute);line-height:1.6;margin:0 0 16px;flex:1}
.mg-pickcard .mg-btn{padding:12px;font-size:13px}
.mg-guides{display:grid;grid-template-columns:1.05fr 1fr;gap:28px;align-items:start}
.mg-lead{display:block;background:var(--mg-bg);border-radius:18px;overflow:hidden;color:var(--mg-ink)}
.mg-lead__art{height:190px;padding:22px 80px;display:flex;justify-content:center;overflow:hidden}
.mg-lead__art img{max-width:none;width:calc(100% + 160px);height:calc(100% + 44px);margin:-22px -80px;object-fit:cover}
.mg-lead__body{padding:20px}
.mg-lead__body h3{font-size:22px;line-height:1.2;margin:8px 0 10px}
.mg-lead__body p{color:var(--mg-mute);font-size:13px;margin:0}
.mg-list{display:flex;flex-direction:column}
.mg-list__item{display:flex;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--mg-line);color:var(--mg-ink)}
.mg-list__item:first-child{padding-top:0}.mg-list__item:last-child{border:0}
.mg-list__ico{width:60px;height:60px;border-radius:14px;display:grid;place-items:center;flex:none;color:var(--mg-navy2)}
.mg-list__item strong{display:block;font:600 15px/1.3 var(--mg-f);margin-top:5px}
.mg-budget{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.mg-bud{border-radius:16px;padding:22px;color:var(--mg-ink);min-height:132px;display:flex;flex-direction:column}
.mg-bud:last-child{grid-column:span 3}
.mg-bud h3{font-size:22px;margin:0 0 8px}.mg-bud p{font-size:12.5px;color:#4b5870;margin:0 0 auto}.mg-bud span{font-size:12px;font-weight:700;margin-top:18px}
.mg-deal{display:flex;align-items:center;gap:20px;background:var(--mg-amber);border-radius:18px;padding:26px 28px;margin-top:40px}
.mg-deal__ico{width:42px;height:42px;border-radius:50%;background:var(--mg-navy);color:#fff;display:grid;place-items:center;flex:none}
.mg-deal__ico .mg-ico{width:18px;height:18px}
.mg-deal>div{flex:1}.mg-deal h3{font-size:22px;margin:0 0 4px}.mg-deal p{font-size:12.5px;margin:0;max-width:420px;color:#2b2410;line-height:1.5}
.mg-news-wrap{padding-top:52px;padding-bottom:56px}
.mg-news{background:var(--mg-navy);border-radius:22px;padding:34px 36px;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;color:#fff}
.mg-news h2{color:#fff;font-size:24px;margin:0 0 8px;line-height:1.15}body.mg-site .mg-news h2{color:#fff}
.mg-news p{color:#aebbd1;font-size:12.5px;margin:0}
.mg-news__form{display:flex;gap:10px;margin:0}
.mg-news__form input{flex:1;border:0;border-radius:10px;padding:14px 16px;font-size:13px;min-width:0;height:auto}
.mg-news__form .mg-btn{padding:14px 18px}

/* footer */
.mg-footer{background:var(--mg-navy);color:#a9b6cc;padding:56px 0 34px;font-size:13px}
.mg-footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding-bottom:36px;border-bottom:1px solid #1b2a43}
.mg-footer p{margin:14px 0 0;max-width:260px;line-height:1.6;font-size:12.5px}
.mg-footer h4{color:#fff;font:700 11px 'Inter',sans-serif;letter-spacing:.1em;text-transform:uppercase;margin:0 0 16px}
.mg-footer ul{list-style:none;margin:0;padding:0}.mg-footer li{margin:0 0 11px}
.mg-footer a{color:#a9b6cc}.mg-footer a:hover{color:var(--mg-amber)}
.mg-footer .mg-logo--light{color:#fff}
.mg-footer__legal{padding-top:22px}.mg-footer__legal p{max-width:none;font-size:11.5px;margin:0 0 8px;line-height:1.6}

/* blog */
.mg-bhero{background:var(--mg-navy);color:#fff;padding:36px 0 40px;
background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:44px 44px}
.mg-crumbs{font-size:11.5px;color:#9fb0cc;margin-bottom:22px}.mg-crumbs a{color:#fff}.mg-crumbs span{color:#fff}
.mg-bhero h1{font-size:clamp(34px,4.4vw,46px);margin:0 0 12px;color:#fff;font-weight:700}body.mg-site .mg-bhero h1{color:#fff}
.mg-bhero h1 span{color:var(--mg-amber)}
.mg-bhero p{color:#b6c2d8;font-size:14px;max-width:470px;margin:0 0 22px;line-height:1.6}
.mg-bhero__bar{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.mg-bsearch{position:relative;margin:0}
.mg-bsearch .mg-ico{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:15px;height:15px;color:#7b88a1}
.mg-bsearch input{width:290px;border:0;border-radius:10px;padding:12px 14px 12px 36px;font-size:13px;background:#fff;height:auto}
.mg-filters{display:flex;gap:8px;flex-wrap:wrap}
.mg-filters a{color:#fff;font-size:12.5px;font-weight:500;border:1px solid #2a3a57;border-radius:99px;padding:10px 16px;background:transparent}
.mg-filters a:hover{border-color:var(--mg-amber);color:#fff}
.mg-filters a.is-on{background:var(--mg-amber);border-color:var(--mg-amber);color:#101a2b;font-weight:700}
.mg-bwrap{padding-top:26px;padding-bottom:20px}
.mg-feat{display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:20px;overflow:hidden;border:1px solid var(--mg-line)}
.mg-feat__art{display:grid;place-items:center;padding:40px 90px;min-height:300px;overflow:hidden}
.mg-feat__art img{width:calc(100% + 180px);height:calc(100% + 80px);margin:-40px -90px;object-fit:cover;max-width:none}
.mg-feat__body{padding:40px 44px}
.mg-feat__tags{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.mg-feat h2{font-size:30px;line-height:1.15;margin:0 0 14px;font-weight:700}.mg-feat h2 a{color:var(--mg-ink)}
.mg-feat p{color:var(--mg-mute);font-size:14px;line-height:1.65;margin:0 0 18px}
.mg-feat__meta{display:flex;gap:12px;font-size:12px;color:var(--mg-mute);margin-bottom:20px;flex-wrap:wrap}.mg-feat__meta strong{color:var(--mg-ink)}
.mg-blayout{display:grid;grid-template-columns:1fr 290px;gap:32px;margin-top:44px;align-items:start}
.mg-h2{font-size:28px;margin:6px 0 22px;font-weight:700}
.mg-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.mg-card{background:#fff;border:1px solid var(--mg-line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.mg-card__media{display:block;height:150px;padding:20px 60px;overflow:hidden}
.mg-card__media img{display:block;max-width:none;width:calc(100% + 120px);height:calc(100% + 40px);margin:-20px -60px;object-fit:cover}
.mg-card__body{padding:16px 18px 18px}
.mg-card h3{font-size:18px;line-height:1.25;margin:8px 0 8px;font-weight:700}.mg-card h3 a{color:var(--mg-ink)}.mg-card h3 a:hover{color:var(--mg-blue)}
.mg-card p{font-size:13px;color:var(--mg-mute);line-height:1.55;margin:0 0 14px}
.mg-card:last-child:nth-child(odd){grid-column:span 2;flex-direction:row}
.mg-card:last-child:nth-child(odd) .mg-card__media{width:34%;height:auto;flex:none}
.mg-pager{margin-top:28px}.mg-pager .nav-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mg-pager .page-numbers{min-width:38px;height:38px;display:inline-grid;place-items:center;padding:0 14px;border-radius:10px;background:#fff;border:1px solid var(--mg-line);color:var(--mg-ink);font-size:13px;font-weight:600}
.mg-pager .page-numbers.current{background:var(--mg-navy);color:#fff;border-color:var(--mg-navy)}
.mg-side{display:flex;flex-direction:column;gap:18px}
.mg-box{background:#fff;border:1px solid var(--mg-line);border-radius:16px;padding:20px}
.mg-box h3{font-size:16px;margin:0 0 14px}
.mg-start{display:block;padding:12px 0;border-top:1px solid var(--mg-line);color:var(--mg-ink)}.mg-start:first-of-type{border-top:0;padding-top:0}
.mg-start strong{display:block;font:600 13px/1.35 'Inter',sans-serif;margin-top:5px}.mg-start:hover strong{color:var(--mg-blue)}
.mg-chips{display:flex;flex-wrap:wrap;gap:8px}
.mg-chips a{font-size:12px;font-weight:500;padding:8px 13px;border-radius:99px;background:#f1f3f9;color:var(--mg-ink);border:1px solid var(--mg-line)}.mg-chips a:hover{background:var(--mg-amber);border-color:var(--mg-amber)}
.mg-box--note{background:#fff0cf;border-color:#ffe2a3}.mg-box--note p{font-size:12.5px;line-height:1.55;margin:0 0 12px;color:#4a3a10}.mg-box--note a{font-size:12.5px;font-weight:700;color:var(--mg-ink);text-decoration:underline}

/* inner pages (posts/pages) keep Astra layout, just tune typography/colours */
body.mg-site:not(.mg-custom) .site-content{background:#fff}
body.mg-site .entry-title{font-family:var(--mg-f);font-weight:700}
body.mg-site a{color:var(--mg-blue)}
body.mg-site .mg-btn--amber,body.mg-site .mg-btn--dark,body.mg-site .mg-btn--ghost,body.mg-site .mg-logo,body.mg-site .mg-menu a,body.mg-site .mg-card h3 a,body.mg-site .mg-feat h2 a,body.mg-site .mg-start,body.mg-site .mg-cat,body.mg-site .mg-lead,body.mg-site .mg-list__item,body.mg-site .mg-bud{color:inherit}
body.mg-site .mg-btn--amber{color:#101a2b}
body.mg-site .mg-btn--dark,body.mg-site .mg-btn--ghost{color:#fff}
body.mg-site .mg-top a,body.mg-site .mg-filters a,body.mg-site .mg-crumbs a{color:#fff}
body.mg-site .mg-footer a{color:#a9b6cc}body.mg-site .mg-footer a:hover{color:var(--mg-amber)}
body.mg-site .mg-filters a.is-on{color:#101a2b}
body.mg-site .mg-logo--light{color:#fff}
body.mg-site .mg-menu a{color:var(--mg-ink)}
body.mg-site .mg-sec__head>a{color:var(--mg-blue)}

/* responsive */
@media(max-width:980px){
	.mg-hero__grid{grid-template-columns:1fr;gap:36px;padding-top:48px;padding-bottom:48px}
	.mg-picks{grid-template-columns:repeat(2,1fr)}
	.mg-guides,.mg-blayout,.mg-feat,.mg-news{grid-template-columns:1fr}
	.mg-feat__art{min-height:220px;padding:30px 80px}
	.mg-side{display:grid;grid-template-columns:1fr 1fr}.mg-side .mg-box--note{grid-column:span 2}
}
@media(max-width:860px){
	.mg-burger{display:block}
	.mg-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--mg-line);flex-direction:column;align-items:stretch;gap:14px;padding:16px 24px 20px}
	.mg-nav.is-open{display:flex}
	.mg-menu{flex-direction:column;align-items:flex-start;gap:6px}
	.mg-search input[type=search]{width:100%}
	.mg-header__in{position:relative}
}
@media(max-width:640px){
	.mg-top span{display:none}.mg-top .mg-wrap{justify-content:flex-end}
	.mg-cats{grid-template-columns:1fr}.mg-cat,.mg-cat:nth-child(n+7){grid-column:auto}
	.mg-picks,.mg-budget,.mg-grid,.mg-side{grid-template-columns:1fr}.mg-bud:last-child,.mg-side .mg-box--note{grid-column:auto}
	.mg-card:last-child:nth-child(odd){grid-column:auto;flex-direction:column}.mg-card:last-child:nth-child(odd) .mg-card__media{width:auto;height:150px}
	.mg-deal{flex-direction:column;align-items:flex-start}
	.mg-news{padding:26px 22px}.mg-news__form{flex-direction:column}
	.mg-footer__grid{grid-template-columns:1fr 1fr}.mg-footer__grid>div:first-child{grid-column:span 2}
	.mg-pick__art{padding:22px 40px;height:170px}
	.mg-bsearch,.mg-bsearch input{width:100%}
	.mg-feat__body{padding:26px 22px}.mg-feat h2{font-size:24px}
	.mg-sec__head{flex-direction:column;align-items:flex-start}
}

/* footer headings (Shop / Company) white */
body.mg-site .mg-footer h4,body.mg-site .mg-footer .mg-footer__grid h4{color:#fff}
body.mg-site .mg-footer a.mg-logo,body.mg-site .mg-footer a.mg-logo:hover{color:#fff}

/* single post */
.mg-phero{background:var(--mg-navy);color:#fff;padding:34px 0 40px;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:44px 44px}
.mg-phero h1,body.mg-site .mg-phero h1{color:#fff;font-size:clamp(28px,4vw,42px);line-height:1.15;margin:16px 0 18px;max-width:860px;font-weight:700}
.mg-phero .mg-tag{text-decoration:none}
body.mg-site .mg-phero a.mg-tag{color:#8a5a00}
.mg-pmeta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;font-size:12.5px;color:#b6c2d8}
.mg-pmeta strong{color:#fff}.mg-pmeta img{border-radius:50%;width:36px;height:36px}
.mg-playout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start;padding-top:28px;padding-bottom:20px}
.mg-pcol{min-width:0;display:flex;flex-direction:column;gap:24px}
.mg-pmain{background:#fff;border:1px solid var(--mg-line);border-radius:20px;padding:34px 40px}
.mg-pthumb{margin:0 0 22px;border-radius:14px;overflow:hidden}.mg-pthumb img{display:block;width:100%;height:auto}
.mg-disclose{font-size:12px;color:#6b5a2a;background:#fff6dc;border:1px solid #ffe2a3;border-radius:10px;padding:10px 14px;margin:0 0 24px}
.mg-disclose a{font-weight:700;text-decoration:underline;color:inherit}
.mg-prose{font-size:16.5px;line-height:1.8;color:#1f2b3f;overflow-wrap:anywhere}
.mg-prose>*:first-child{margin-top:0}
.mg-prose p{margin:0 0 1.2em}
.mg-prose h2{font-size:28px;line-height:1.25;margin:1.9em 0 .6em;scroll-margin-top:90px}
.mg-prose h3{font-size:22px;line-height:1.3;margin:1.6em 0 .5em}
.mg-prose h4{font-size:18px;margin:1.4em 0 .4em}
.mg-prose a{color:var(--mg-blue);text-decoration:underline;text-underline-offset:2px}
.mg-prose ul,.mg-prose ol{margin:0 0 1.3em;padding-left:1.4em}.mg-prose li{margin-bottom:.5em}
.mg-prose img{max-width:100%;height:auto;border-radius:12px}
.mg-prose figure{margin:1.6em 0}.mg-prose figcaption{font-size:12.5px;color:var(--mg-mute);margin-top:8px;text-align:center}
.mg-prose blockquote{margin:1.6em 0;padding:16px 20px;border-left:4px solid var(--mg-amber);background:#fff8e8;border-radius:0 12px 12px 0;color:#3b3314}
.mg-prose table{display:block;overflow-x:auto;border-collapse:collapse;width:100%;margin:1.5em 0;font-size:14.5px}
.mg-prose th,.mg-prose td{border:1px solid var(--mg-line);padding:10px 14px;text-align:left}.mg-prose th{background:#f1f3f9;font-weight:700}
.mg-ptags{margin-top:26px}
.mg-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid var(--mg-line);font-size:13px}
.mg-share a{padding:8px 14px;border-radius:99px;background:#f1f3f9;border:1px solid var(--mg-line);font-weight:600;color:var(--mg-ink);text-decoration:none}.mg-share a:hover{background:var(--mg-amber);border-color:var(--mg-amber)}
.mg-author{display:flex;gap:18px;align-items:center;background:#fff;border:1px solid var(--mg-line);border-radius:18px;padding:22px 26px}
.mg-author img{border-radius:50%;flex:none}.mg-author h3{margin:4px 0 6px;font-size:18px}.mg-author p{margin:0;font-size:13px;color:var(--mg-mute);line-height:1.6}
.mg-pn{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.mg-pn a{display:block;background:#fff;border:1px solid var(--mg-line);border-radius:16px;padding:16px 18px;color:var(--mg-ink);text-decoration:none}
.mg-pn a:hover{border-color:var(--mg-amber)}.mg-pn span{display:block;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mg-blue);margin-bottom:6px}
.mg-pn strong{font:600 14px/1.35 var(--mg-f)}.mg-pn .is-next{text-align:right}
.mg-related .mg-h2{margin-top:6px}
.mg-comments{background:#fff;border:1px solid var(--mg-line);border-radius:18px;padding:24px 28px}
.mg-side--sticky{position:sticky;top:90px}
.admin-bar .mg-side--sticky{top:122px}
.mg-toc{margin:0;padding-left:1.2em;font-size:13px;line-height:1.5}.mg-toc li{margin:0 0 9px}.mg-toc a{color:var(--mg-ink);text-decoration:none}.mg-toc a:hover{color:var(--mg-blue)}
.mg-sbox{display:flex;flex-direction:column;gap:10px}.mg-sbox h3{margin-bottom:4px}
.mg-sbox input{border:1px solid var(--mg-line);background:#f1f3f9;border-radius:10px;padding:11px 14px;font-size:13px;height:auto}
.mg-sbox .mg-btn{padding:12px}
@media(max-width:980px){.mg-playout{grid-template-columns:1fr}.mg-side--sticky{position:static}}
@media(max-width:640px){.mg-pmain{padding:22px 18px}.mg-pn{grid-template-columns:1fr}.mg-author{flex-direction:column;align-items:flex-start}.mg-prose h2{font-size:24px}}

/* products */
.mg-pickcard__art{position:relative;overflow:hidden;display:grid;place-items:center}
.mg-pickcard__art.has-img{padding:12px}
.mg-pickcard__art img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.mg-ribbon{position:absolute;top:12px;left:12px;background:var(--mg-amber);color:#101a2b;font:700 11px/1 'Inter',sans-serif;padding:6px 10px;border-radius:99px;letter-spacing:.04em;text-transform:uppercase;z-index:1}
.mg-price{margin:0 0 14px;font-size:15px}.mg-price strong{font:700 18px var(--mg-f);color:var(--mg-ink)}.mg-price s{color:var(--mg-mute);font-size:13px;margin-left:6px}
.mg-picks--arch{grid-template-columns:repeat(4,1fr)}
.mg-dealhead{margin-top:44px}
@media(max-width:980px){.mg-picks--arch{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.mg-picks--arch{grid-template-columns:1fr}}

/* final touch */
.mg-search{transition:.2s}
.mg-search input[type=search]{width:260px;border:1px solid transparent;background:#f1f3f9;border-radius:99px;padding:11px 38px 11px 36px;font-size:13px;transition:width .2s,background .2s,border-color .2s,box-shadow .2s}
.mg-search input[type=search]:focus{width:340px;background:#fff;border-color:var(--mg-amber);box-shadow:0 0 0 4px rgba(255,174,26,.18);outline:0}
.mg-search::after{content:"/";position:absolute;right:12px;top:50%;transform:translateY(-50%);font:600 11px/1 'Inter',sans-serif;color:#7b88a1;border:1px solid #cdd4e3;border-radius:5px;padding:3px 6px;background:#fff;pointer-events:none}
.mg-search:focus-within::after{display:none}
.mg-menu a.is-current{color:var(--mg-blue);box-shadow:inset 0 -2px 0 var(--mg-amber)}
.mg-menu a{transition:color .15s}
.mg-bsearch input{border:1px solid transparent;border-radius:99px;padding:13px 16px 13px 38px;box-shadow:0 6px 20px rgba(0,0,0,.18);transition:box-shadow .2s,border-color .2s}
.mg-bsearch input:focus{outline:0;border-color:var(--mg-amber);box-shadow:0 0 0 4px rgba(255,174,26,.25)}
.mg-has-suggest{position:relative}
.mg-suggest{position:absolute;left:0;right:0;top:calc(100% + 8px);min-width:300px;background:#fff;border:1px solid var(--mg-line);border-radius:14px;box-shadow:0 18px 44px rgba(11,21,39,.2);padding:6px;z-index:80;text-align:left}
.mg-suggest[hidden]{display:none}
.mg-suggest a{display:block;padding:10px 12px;border-radius:9px;font-size:13px;font-weight:500;line-height:1.35;color:var(--mg-ink);text-decoration:none}
.mg-suggest a:hover,.mg-suggest a.is-active{background:#f1f3f9;color:var(--mg-blue)}
.mg-suggest .mg-suggest__all{margin-top:4px;border-top:1px solid var(--mg-line);border-radius:0 0 9px 9px;font-weight:700;color:var(--mg-blue)}
.mg-suggest__empty{padding:12px;font-size:13px;color:var(--mg-mute)}
body.mg-site .mg-suggest a{color:var(--mg-ink)}
body.mg-site .mg-suggest a.mg-suggest__all{color:var(--mg-blue)}
.mg-side .mg-box{border-radius:18px;padding:20px 20px 22px;box-shadow:0 1px 2px rgba(11,21,39,.04)}
.mg-side .mg-box h3{font-size:15px;letter-spacing:0;margin:0 0 14px;display:flex;align-items:center;gap:8px}
.mg-side .mg-box h3::before{content:"";width:4px;height:16px;border-radius:2px;background:var(--mg-amber)}
.mg-side .mg-box--note h3::before{background:#c98a00}
.mg-sbox__row{position:relative;display:flex;gap:8px}
.mg-sbox__row .mg-ico{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:15px;height:15px;color:#7b88a1;pointer-events:none}
.mg-sbox__row input{flex:1;min-width:0;border:1px solid var(--mg-line);background:#f6f8fc;border-radius:99px;padding:11px 14px 11px 34px;font-size:13px;height:auto}
.mg-sbox__row input:focus{outline:0;border-color:var(--mg-amber);background:#fff;box-shadow:0 0 0 3px rgba(255,174,26,.18)}
.mg-sbox__row .mg-btn{padding:0 16px;border-radius:99px;font-size:13px}
.mg-sbox .mg-suggest{top:calc(100% - 14px);left:20px;right:20px;min-width:0}
.mg-sl{list-style:none;margin:0;padding:0}
.mg-sl li{margin:0;border-top:1px solid var(--mg-line)}.mg-sl li:first-child{border-top:0}
.mg-sl a{display:flex;gap:12px;align-items:center;padding:12px 0;color:var(--mg-ink);text-decoration:none}
.mg-sl li:first-child a{padding-top:0}.mg-sl li:last-child a{padding-bottom:0}
.mg-sl__img{width:64px;height:64px;border-radius:12px;overflow:hidden;flex:none;display:grid;place-items:center}
.mg-sl__img img{width:100%;height:100%;object-fit:cover;display:block}
.mg-sl__img .mg-art{width:70%;height:70%}
.mg-sl__txt{min-width:0}
.mg-sl__txt strong{font:600 13px/1.35 'Inter',sans-serif;margin:4px 0 3px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mg-sl a:hover strong{color:var(--mg-blue)}
.mg-sl__txt em{font-style:normal;font-size:11.5px;color:var(--mg-mute)}
.mg-chips a em{font-style:normal;font-size:11px;font-weight:700;color:var(--mg-mute);margin-left:4px}
.mg-dealbox{display:flex;align-items:center;gap:14px;background:var(--mg-amber);border-color:var(--mg-amber);color:#101a2b;text-decoration:none;transition:.15s}
.mg-dealbox:hover{background:var(--mg-amber-d);transform:translateY(-2px);color:#101a2b}
.mg-dealbox__ico{width:42px;height:42px;border-radius:50%;background:var(--mg-navy);color:#fff;display:grid;place-items:center;flex:none}
.mg-dealbox__ico .mg-ico{width:18px;height:18px}
.mg-dealbox strong{display:block;font:700 15px var(--mg-f)}.mg-dealbox small{display:block;font-size:12px;margin-top:2px;color:#3a2f10}
body.mg-site .mg-dealbox,body.mg-site .mg-dealbox:hover{color:#101a2b}
.mg-side--sticky,.admin-bar .mg-side--sticky{position:static;top:auto;max-height:none;overflow:visible}
.mg-empty{text-align:center;padding:34px}
.mg-grid--4{grid-template-columns:repeat(4,1fr)}
.mg-404 .mg-tag{margin-bottom:6px}
.mg-card{transition:transform .15s,box-shadow .15s}.mg-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(11,21,39,.1)}
.mg-pickcard{transition:transform .15s,box-shadow .15s}.mg-pickcard:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(11,21,39,.1)}
:focus-visible{outline:2px solid var(--mg-amber);outline-offset:2px}
html{scroll-behavior:smooth}
@media(max-width:980px){.mg-grid--4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.mg-search input[type=search],.mg-search input[type=search]:focus{width:100%}.mg-suggest{min-width:0}}
@media(max-width:640px){.mg-grid--4{grid-template-columns:1fr}}

/* menu fix */
body.mg-site .mg-menu{display:flex;align-items:center;gap:2px;flex-wrap:nowrap;margin:0;padding:0;list-style:none}
body.mg-site .mg-menu li{margin:0;padding:0;list-style:none;flex:none}
body.mg-site .mg-menu a{white-space:nowrap;line-height:1.2;padding:9px 12px;font-size:13.5px;font-weight:600;border-radius:8px;display:inline-flex;align-items:center}
body.mg-site .mg-menu a:hover{background:#f1f3f9}
body.mg-site .mg-search{flex:none}
body.mg-site .mg-search input[type=search]{width:170px;padding:9px 34px 9px 34px;font-size:13px}
body.mg-site .mg-search input[type=search]:focus{width:230px}
@media(max-width:1240px){body.mg-site .mg-menu a{padding:9px 9px;font-size:13px}body.mg-site .mg-search input[type=search]{width:130px}body.mg-site .mg-search input[type=search]:focus{width:180px}}
@media(max-width:1080px){body.mg-site .mg-search::after{display:none}body.mg-site .mg-search input[type=search]{width:110px}}
@media(max-width:860px){body.mg-site .mg-menu{flex-direction:column;align-items:stretch;gap:0}body.mg-site .mg-menu a{white-space:normal;padding:12px 4px;border-radius:0}body.mg-site .mg-search input[type=search],body.mg-site .mg-search input[type=search]:focus{width:100%}}
/* logo nowrap */
body.mg-site .mg-header .mg-logo,body.mg-site header .mg-logo{white-space:nowrap;flex:none}
body.mg-site .mg-header .mg-wrap,body.mg-site .mg-header__in{gap:16px}
/* shop */
.mg-shopbar{display:grid;gap:12px;margin-top:6px}
.mg-shopbar__row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.mg-shopbar__lab{font:700 11px/1 'Inter',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#8da0c2;min-width:72px}
.mg-filters a em{font-style:normal;opacity:.65;font-size:11px;margin-left:6px;font-weight:600}
body.mg-site .mg-filters a.mg-filters__deal{border-color:#6b5316;color:var(--mg-amber)}
body.mg-site .mg-filters a.mg-filters__deal.is-on{color:#101a2b;border-color:var(--mg-amber)}
.mg-shophead{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;font-size:13.5px;color:var(--mg-mute)}
.mg-shophead strong{color:var(--mg-ink)}
.mg-shophead a{font-weight:600;color:var(--mg-blue)}
@media(max-width:640px){.mg-shopbar__lab{min-width:100%}}

/* footer columns */
body.mg-site .mg-footer .mg-footer__grid{grid-template-columns:1.7fr 1.1fr 1fr 1fr}
body.mg-site .mg-footer .mg-footer__grid li{margin:0 0 10px;line-height:1.4}
body.mg-site .mg-footer .mg-footer__grid a{display:inline-block;transition:color .15s,transform .15s}
body.mg-site .mg-footer .mg-footer__grid li a:hover{transform:translateX(3px)}
@media (max-width:900px){body.mg-site .mg-footer .mg-footer__grid{grid-template-columns:1fr 1fr 1fr}body.mg-site .mg-footer .mg-footer__grid>div:first-child{grid-column:1/-1}}
@media (max-width:600px){body.mg-site .mg-footer .mg-footer__grid{grid-template-columns:1fr 1fr}}

/* hero card rotator */
body.mg-site .mg-pick__art{display:grid;place-items:center;overflow:hidden;transition:background .2s}
body.mg-site .mg-pick__art--post,body.mg-site .mg-pick__art--prod{padding:0}
body.mg-site .mg-pick__art--post img{width:100%;height:100%;object-fit:cover;display:block}
body.mg-site .mg-pick__art--prod{padding:14px}
body.mg-site .mg-pick__art--prod img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
body.mg-site .mg-pick__card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.mg-site .mg-pick__card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.mg-pick__price{margin:0 6px 14px;font:700 18px 'Space Grotesk','Inter',sans-serif;color:#101a2b}.mg-pick__price s{font:500 13px 'Inter',sans-serif;color:#8a97ac;margin-left:4px}
.mg-pick__price[hidden]{display:none}
@keyframes mgPickIn{from{opacity:.0;transform:translateY(6px)}to{opacity:1;transform:none}}
.mg-pick.is-rolled .mg-pick__card{animation:mgPickIn .35s ease both}

/* hero card image fit */
body.mg-site .mg-pick__art--post,body.mg-site .mg-pick__art--prod{position:relative;border:1px solid #e6ebf3}
body.mg-site .mg-pick__art--post img,body.mg-site .mg-pick__art--prod img{position:absolute;inset:0;width:100%;height:100%;max-width:none}
body.mg-site .mg-pick__art--prod img{inset:14px;width:calc(100% - 28px);height:calc(100% - 28px)}
