/*
Theme Name: Masthead
Author: Masthead Studio
Description: Masthead is a premium news and magazine theme with a bold typographic lead homepage, centered logo header, self-hosted Inter Tight and Inter typography, table of contents, quick-answer box, related posts and a fast, script-light build.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: masthead
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark
*/
:root{color-scheme:dark;--mst-bg:#0F1512;--mst-soft:#18201B;--mst-surface:#18201B;--mst-ink:#EEF3EE;--mst-body:#CFD8D1;--mst-muted:#97A59B;--mst-line:#263029;--mst-ph:#263029;--mst-accent:#4CC38A;--mst-on-accent:#0F1512;--mst-dark:#0A0F0C;--mst-on-dark:#EEF3EE;--mst-on-dark-muted:#97A59B;--mst-hi:#4CC38A;--mst-radius:4px;--mst-btn-r:4px;--mst-head:'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;--mst-text:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;--mst-read:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;--mst-hw:800;--mst-track:-0.025em;--mst-hs:1.0;--mst-wrap:1240px;}
@font-face{font-family:'Inter Tight';src:url('assets/fonts/inter-tight-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Inter Tight';src:url('assets/fonts/inter-tight-800.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('assets/fonts/inter-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('assets/fonts/inter-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('assets/fonts/inter-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('assets/fonts/inter-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--mst-bg);color:var(--mst-ink);font-family:var(--mst-text);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none;transition:color .15s}
a:hover{color:var(--mst-accent)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{font-family:var(--mst-head);font-weight:var(--mst-hw);letter-spacing:var(--mst-track);line-height:1.16;margin:0;color:var(--mst-ink)}
p{margin:0}
button,input,textarea{font:inherit}
:focus-visible{outline:2px solid var(--mst-accent);outline-offset:2px}
.mst-wrap{max-width:var(--mst-wrap);margin:0 auto;padding:0 24px}
.mst-narrow{max-width:780px;margin:0 auto;padding:0 24px}
.mst-center{text-align:center}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;width:auto;height:auto;clip:auto;background:var(--mst-bg);color:var(--mst-ink);padding:10px 16px;z-index:999;border-radius:8px}

/* meta, kicker, thumbs */
.mst-kicker{display:inline-block;font-family:var(--mst-text);font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--mst-accent);line-height:1.3}
.mst-meta{font-size:13px;color:var(--mst-muted);line-height:1.4}
.mst-lede{color:var(--mst-muted);font-size:18px;line-height:1.6}
.mst-thumb{position:relative;overflow:hidden;border-radius:var(--mst-radius);background:var(--mst-ph);aspect-ratio:16/10}
.mst-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
a:hover .mst-thumb img{transform:scale(1.035)}
.mst-mini-title{font-family:var(--mst-text);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--mst-muted);margin-bottom:6px}
.mst-on-image,.mst-on-image h1,.mst-on-image h3{color:#fff}
.mst-on-image .mst-meta,.mst-on-image .mst-lede,.mst-on-image .mst-s-sub,.mst-on-image .mst-crumbs,.mst-on-image .mst-crumbs a{color:rgba(255,255,255,.86)}
.mst-on-image .mst-kicker{color:#fff}

/* buttons */
.mst-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:var(--mst-btn-r);font-weight:600;font-size:14px;border:0;cursor:pointer;white-space:nowrap}
.mst-btn-accent{background:var(--mst-accent);color:var(--mst-on-accent)}
.mst-btn-accent:hover{color:var(--mst-on-accent);filter:brightness(1.08)}
.mst-icon-btn{width:44px;height:44px;flex-shrink:0;border-radius:var(--mst-btn-r);border:1px solid var(--mst-line);background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .15s,color .15s}
.mst-icon-btn:hover{border-color:currentColor;color:inherit}
.mst-icon-btn.is-done{border-color:var(--mst-accent);color:var(--mst-accent)}

/* topbar */
.mst-topbar{background:var(--mst-dark);color:var(--mst-on-dark);font-size:13px}
.mst-topbar a{color:var(--mst-on-dark)}
.mst-topbar a:hover{color:var(--mst-hi)}
.mst-topbar strong{color:var(--mst-hi);margin-right:6px;text-transform:uppercase;letter-spacing:.08em;font-size:11px}
.mst-topbar-accent{background:var(--mst-accent);color:var(--mst-on-accent)}
.mst-topbar-accent a,.mst-topbar-accent strong{color:var(--mst-on-accent)}
.mst-topbar-accent a:hover{color:var(--mst-on-accent);text-decoration:underline}
.mst-topbar-row{display:flex;justify-content:space-between;gap:16px;padding-top:9px;padding-bottom:9px}
.mst-topbar-row>span:last-child{white-space:nowrap}
.mst-topbar-news{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}

/* header */
.mst-header{background:var(--mst-bg);border-bottom:1px solid var(--mst-line);position:relative;z-index:50}
.mst-h-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:18px;padding-bottom:18px}
.mst-logo{font-family:var(--mst-head);font-weight:var(--mst-hw);font-size:calc(28px * var(--mst-hs));letter-spacing:var(--mst-track);color:var(--mst-ink);line-height:1;white-space:nowrap}
.mst-logo:hover{color:var(--mst-ink)}
.custom-logo{max-height:52px;width:auto}
.mst-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 26px;font-size:15px;font-weight:600}
.mst-nav li{position:relative}
.mst-nav a{display:block;padding:6px 0}
.mst-nav .current-menu-item>a,.mst-nav .current-category-ancestor>a,.mst-nav .current-post-ancestor>a{color:var(--mst-accent)}
.mst-nav .sub-menu{display:none;position:absolute;top:100%;left:-16px;background:var(--mst-surface);color:var(--mst-ink);border:1px solid var(--mst-line);border-radius:10px;padding:8px 0;min-width:210px;flex-direction:column;gap:0;box-shadow:0 12px 32px rgba(0,0,0,.12);z-index:60}
.mst-nav .sub-menu a{padding:8px 16px;font-weight:500}
.mst-nav li:hover>.sub-menu,.mst-nav li:focus-within>.sub-menu{display:flex}
.mst-actions{display:flex;gap:10px;align-items:center}
.mst-menu-toggle{display:none}
.mst-search-panel{display:none;border-top:1px solid var(--mst-line);padding:16px 0;background:var(--mst-bg)}
.mst-search-panel.is-open{display:block}
.mst-navbar .mst-nav ul{gap:4px 30px}
.mst-navbar .mst-nav a{padding:13px 0}
.mst-search-form{display:flex;gap:10px;flex-wrap:wrap}
.mst-search-form input[type=search]{flex:1 1 220px;min-height:48px;padding:0 18px;border-radius:var(--mst-btn-r);border:1px solid var(--mst-line);background:var(--mst-surface);color:var(--mst-ink)}
.mst-search-form .mst-btn{min-height:48px}

/* section heads */
.mst-shead{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:24px}
.mst-shead h2{font-size:calc(25px * var(--mst-hs))}
.mst-shead a{font-size:14px;font-weight:600;color:var(--mst-accent);white-space:nowrap}
.mst-shead h2 a{color:inherit;font-size:inherit;font-weight:inherit}

/* layout */
.mst-layout{display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start;padding-top:48px;padding-bottom:72px}
.mst-layout-full{padding-top:48px;padding-bottom:72px}
.mst-main{flex:999 1 600px;min-width:0}
.mst-sidebar{flex:1 1 300px;display:flex;flex-direction:column;gap:32px;min-width:0}
.mst-empty{padding:40px 0;color:var(--mst-muted)}

/* rows */
.mst-list{display:flex;flex-direction:column;gap:28px}
.mst-row{display:flex;flex-wrap:wrap;gap:24px;padding-bottom:28px;border-bottom:1px solid var(--mst-line)}
.mst-row-media{flex:1 1 240px;max-width:310px}
.mst-row-body{flex:2 1 280px;display:flex;flex-direction:column;gap:9px;align-items:flex-start}
.mst-row h3{font-size:calc(23px * var(--mst-hs));line-height:1.24}
.mst-row p{color:var(--mst-muted)}

/* lead (magazine) */
.mst-lead{display:flex;flex-direction:column;gap:12px;align-items:flex-start;padding-bottom:28px;border-bottom:1px solid var(--mst-line)}
.mst-lead-media{width:100%}
.mst-lead .mst-thumb{aspect-ratio:2/1}
.mst-lead h2{font-size:calc(clamp(26px,3vw,34px) * var(--mst-hs));line-height:1.15}
.mst-lead p{color:var(--mst-muted);font-size:17px}

/* compact */
.mst-compact{display:flex;flex-direction:column}
.mst-compact-item{display:flex;gap:24px;padding:22px 0;border-bottom:1px solid var(--mst-line);align-items:flex-start}
.mst-compact-item:first-child{padding-top:0}
.mst-compact-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.mst-compact-body h3{font-size:calc(21px * var(--mst-hs));line-height:1.25}
.mst-compact-body p{color:var(--mst-muted);font-size:15px}
.mst-compact-media{width:160px;flex-shrink:0}
.mst-compact-media .mst-thumb{aspect-ratio:4/3}

/* grids & cards */
.mst-grid{display:grid;gap:36px 32px}
.mst-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.mst-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.mst-card{display:flex;flex-direction:column;min-width:0}
.mst-card-body{display:flex;flex-direction:column;gap:9px;align-items:flex-start;padding-top:16px}
.mst-card h3{font-size:calc(20px * var(--mst-hs));line-height:1.27}
.mst-card p{color:var(--mst-muted);font-size:15px}
.mst-tile{position:relative;display:block;overflow:hidden;border-radius:var(--mst-radius);background:var(--mst-ph);color:#fff;isolation:isolate}
.mst-tile:hover{color:#fff}
.mst-tile .mst-tile-img{position:absolute;inset:0;border-radius:0;aspect-ratio:auto;height:100%}
.mst-tile-body{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;align-items:flex-start;height:100%;padding:22px;background:linear-gradient(to top,rgba(0,0,0,.84) 0%,rgba(0,0,0,.45) 45%,rgba(0,0,0,.05) 80%)}
.mst-card-ov .mst-tile{aspect-ratio:4/5}
.mst-card-ov h3{color:#fff;font-size:calc(21px * var(--mst-hs))}
.mst-card-ov .mst-meta{color:rgba(255,255,255,.85)}

/* pick (small thumb list) */
.mst-pick{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid var(--mst-line);align-items:flex-start}
.mst-pick:last-child{border-bottom:0}
.mst-pick .mst-thumb{width:112px;flex-shrink:0;aspect-ratio:4/3}
.mst-pick-body{display:flex;flex-direction:column;gap:6px;align-items:flex-start;min-width:0}
.mst-pick h3{font-size:calc(17px * var(--mst-hs));line-height:1.3}

/* pagination */
.mst-pagination{margin-top:40px}
.mst-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px}
.mst-pag-center .nav-links{justify-content:center}
.page-numbers{min-width:44px;height:44px;padding:0 14px;border-radius:var(--mst-btn-r);border:1px solid var(--mst-line);display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:14px}
.page-numbers.current{background:var(--mst-ink);color:var(--mst-bg);border-color:var(--mst-ink)}
.page-numbers.dots{border:0}

/* sidebar widgets */
.mst-widget-title{font-size:calc(19px * var(--mst-hs));margin-bottom:12px}
.mst-widget ul{list-style:none;margin:0;padding:0}
.mst-widget li{padding:11px 0;border-bottom:1px solid var(--mst-line)}
.mst-widget li:last-child{border-bottom:0}
.mst-about p{color:var(--mst-muted);font-size:15px}
.mst-more{display:inline-block;margin-top:10px;font-size:14px;font-weight:600;color:var(--mst-accent)}
.mst-popular ol{list-style:none;margin:0;padding:0}
.mst-popular li{display:flex;gap:14px;align-items:flex-start;padding:13px 0;border-bottom:1px solid var(--mst-line)}
.mst-popular li:last-child{border-bottom:0}
.mst-pop-n{font-family:var(--mst-head);font-weight:var(--mst-hw);font-size:28px;line-height:1;color:var(--mst-accent);min-width:26px}
.mst-popular a{font-weight:600;line-height:1.4}
.mst-ad{min-height:250px}

/* archive */
.mst-arch-head{display:flex;flex-direction:column;gap:14px}
.mst-ah-band{display:block;background:var(--mst-soft);border-bottom:1px solid var(--mst-line)}
.mst-ah-band .mst-wrap{padding-top:56px;padding-bottom:48px;display:flex;flex-direction:column;gap:14px}
.mst-arch-head h1{font-size:calc(clamp(36px,4.4vw,56px) * var(--mst-hs))}
.mst-arch-desc{max-width:660px;color:var(--mst-muted);font-size:18px}
.mst-arch-search{max-width:580px;margin-top:8px}
.mst-crumbs{font-size:13px;color:var(--mst-muted);display:flex;flex-wrap:wrap;gap:8px}
.mst-crumbs a{color:var(--mst-muted)}
.mst-crumbs a:hover{color:var(--mst-accent)}
.mst-chips{display:flex;flex-wrap:wrap;gap:10px;padding-top:6px}
.mst-chip{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:var(--mst-btn-r);border:1px solid var(--mst-line);background:var(--mst-surface);font-size:14px;font-weight:600}
.mst-chip.is-active{background:var(--mst-ink);color:var(--mst-bg);border-color:var(--mst-ink)}
.mst-arch-body{padding-top:48px;padding-bottom:72px}
.mst-arch-body.mst-layout{padding-top:48px}

/* single shared */
.mst-single{padding-bottom:24px}
.mst-s-head,.mst-s-head-left{display:flex;flex-direction:column;gap:16px;align-items:flex-start;padding-top:48px;padding-bottom:32px}
.mst-s-title{font-size:calc(clamp(34px,4.4vw,54px) * var(--mst-hs));line-height:1.1}
.mst-s-sub{color:var(--mst-muted);font-size:20px;line-height:1.55}
.mst-byline{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding-top:6px;width:100%}
.mst-byline img{border-radius:50%}
.mst-byline-text{display:flex;flex-direction:column;gap:2px;font-size:15px}
.mst-share{margin-left:auto;display:flex;gap:8px}
.mst-s-feat{margin:0}
.mst-s-feat img{width:100%;border-radius:var(--mst-radius)}
.mst-s-featwrap{max-width:1140px;margin:0 auto;padding:0 24px}
.mst-entry{font-size:18px;line-height:1.8;color:var(--mst-body);font-family:var(--mst-read);min-width:0}
.mst-entry>*{margin-top:0;margin-bottom:24px}
.mst-entry h2{margin-top:44px;font-size:calc(30px * var(--mst-hs));line-height:1.25;scroll-margin-top:24px}
.mst-entry h3{margin-top:34px;font-size:calc(23px * var(--mst-hs));line-height:1.3;scroll-margin-top:24px}
.mst-entry a{color:var(--mst-accent);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.mst-entry ul,.mst-entry ol{padding-left:24px}
.mst-entry li{margin-bottom:8px}
.mst-entry img{border-radius:var(--mst-radius)}
.mst-entry figure{margin-left:0;margin-right:0}
.mst-entry figcaption,.mst-entry .wp-element-caption{margin-top:10px;font-size:14px;color:var(--mst-muted);font-family:var(--mst-text)}
.mst-entry blockquote{margin:8px 0 28px;padding:4px 0 4px 24px;border-left:4px solid var(--mst-accent);font-family:var(--mst-head);font-size:calc(24px * var(--mst-hs));line-height:1.45;font-weight:var(--mst-hw);color:var(--mst-ink)}
.mst-entry blockquote p{margin:0}
.mst-entry .wp-block-table{overflow-x:auto;border:1px solid var(--mst-line);border-radius:var(--mst-radius)}
.mst-entry table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5;font-family:var(--mst-text)}
.mst-entry th{text-align:left;background:var(--mst-soft);color:var(--mst-ink)}
.mst-entry th,.mst-entry td{padding:14px 16px;border-top:1px solid var(--mst-line)}
.mst-entry thead th{border-top:0}
.mst-entry details{border:1px solid var(--mst-line);border-radius:var(--mst-radius);padding:18px 20px;font-size:16px;margin-bottom:10px;font-family:var(--mst-text)}
.mst-entry summary{cursor:pointer;font-weight:600;color:var(--mst-ink)}
.mst-entry pre{background:var(--mst-dark);color:#E5E7EB;padding:18px;border-radius:var(--mst-radius);overflow-x:auto;font-size:14px}
.mst-quick{background:var(--mst-soft);border-radius:var(--mst-radius);padding:22px 24px;font-size:16px;line-height:1.65;font-family:var(--mst-text);border-left:4px solid var(--mst-accent)}
.mst-quick strong{display:block;margin-bottom:6px;font-family:var(--mst-head);font-size:18px;color:var(--mst-ink)}
.mst-quick p{margin:0}
.mst-entry .is-style-note{border:1px solid var(--mst-line);background:var(--mst-soft);border-radius:var(--mst-radius);padding:18px 20px;font-size:16px;line-height:1.6;border-left:4px solid #D97706}
.mst-entry .is-style-tip{background:var(--mst-soft);border-radius:var(--mst-radius);padding:18px 20px;font-size:16px;line-height:1.6;border-left:4px solid var(--mst-accent)}
.mst-toc-box{border:1px solid var(--mst-line);border-radius:var(--mst-radius);padding:18px 22px;font-family:var(--mst-text);font-size:15px;background:var(--mst-surface)}
.mst-toc-box summary{cursor:pointer;font-weight:700;color:var(--mst-ink);font-size:14px;letter-spacing:.06em;text-transform:uppercase}
.mst-toc-box ol{margin:12px 0 0;padding-left:20px}
.mst-toc-box li{margin-bottom:6px}
.mst-toc-box a{color:var(--mst-body);text-decoration:none}
.mst-toc-box a:hover{color:var(--mst-accent)}
.mst-tags{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;font-family:var(--mst-text)}
.mst-entry .mst-tags a{padding:7px 14px;border-radius:var(--mst-btn-r);background:var(--mst-soft);font-weight:600;color:var(--mst-ink);text-decoration:none}
.mst-author-box{display:flex;flex-wrap:wrap;gap:20px;align-items:center;border-top:1px solid var(--mst-line);border-bottom:1px solid var(--mst-line);padding:28px 0;font-size:16px;font-family:var(--mst-text)}
.mst-author-box img{border-radius:50%}
.mst-author-box>div{flex:1 1 260px;line-height:1.6}
.mst-author-box strong{font-family:var(--mst-head);font-size:19px;color:var(--mst-ink)}
.mst-author-box p{margin:4px 0 0;color:var(--mst-muted)}
.mst-related{background:var(--mst-soft);margin-top:40px}
.mst-related>.mst-wrap{padding-top:56px;padding-bottom:64px}
.mst-comments{font-family:var(--mst-text);font-size:16px}
.mst-comments .comment-list{list-style:none;padding:0}
.mst-comments .comment{border-bottom:1px solid var(--mst-line);padding:18px 0}
.mst-comments input[type=text],.mst-comments input[type=email],.mst-comments input[type=url],.mst-comments textarea{width:100%;padding:12px 14px;border:1px solid var(--mst-line);border-radius:10px;background:var(--mst-surface);color:var(--mst-ink)}
.mst-comments .submit{background:var(--mst-ink);color:var(--mst-bg);border:0;border-radius:var(--mst-btn-r);min-height:44px;padding:0 22px;font-weight:600;cursor:pointer}
.mst-page{padding-top:48px;padding-bottom:72px;display:flex;flex-direction:column;gap:20px}
.mst-page.mst-center{align-items:center}

/* newsletter */
.mst-news-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:28px;padding-top:56px;padding-bottom:56px}
.mst-news-copy{max-width:540px}
.mst-news h2{font-size:calc(32px * var(--mst-hs));margin-bottom:8px}
.mst-news p{font-size:17px}
.mst-news-form{display:flex;flex-wrap:wrap;gap:10px;flex:1 1 360px;max-width:480px}
.mst-news-form input{flex:1 1 220px;min-height:52px;padding:0 18px;border-radius:var(--mst-btn-r);border:1px solid transparent;font-size:15px;background:#fff;color:#111}
.mst-news-form button{min-height:52px;padding:0 26px;border-radius:var(--mst-btn-r);border:0;font-weight:700;cursor:pointer}
.mst-news-dark{background:var(--mst-dark);color:var(--mst-on-dark)}
.mst-news-dark h2{color:var(--mst-on-dark)}
.mst-news-dark p{color:var(--mst-on-dark-muted)}
.mst-news-dark button{background:var(--mst-hi);color:var(--mst-dark)}
.mst-news-accent{background:var(--mst-accent);color:var(--mst-on-accent)}
.mst-news-accent h2{color:var(--mst-on-accent)}
.mst-news-accent p{color:var(--mst-on-accent);opacity:.88}
.mst-news-accent button{background:var(--mst-dark);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.mst-news-card{padding:0 0 64px}
.mst-news-card .mst-news-row{background:var(--mst-soft);border:1px solid var(--mst-line);border-radius:calc(var(--mst-radius) * 1.5);padding:44px clamp(24px,5vw,56px)}
.mst-news-card p{color:var(--mst-muted)}
.mst-news-card button{background:var(--mst-accent);color:var(--mst-on-accent)}
.mst-news-card input{border-color:var(--mst-line)}

/* footer */
.mst-footer{font-size:15px}
.mst-f-cols{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:40px;padding-top:56px;padding-bottom:48px}
.mst-f-about p{margin-top:14px;color:var(--mst-muted);max-width:320px}
.mst-f-col h3{font-family:var(--mst-text);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:14px;color:var(--mst-muted)}
.mst-f-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.mst-f-bottom{border-top:1px solid var(--mst-line);padding-top:20px;padding-bottom:32px;color:var(--mst-muted);font-size:13px}
.mst-f-light{border-top:1px solid var(--mst-line);background:var(--mst-bg)}
.mst-f-dark{background:var(--mst-dark);color:var(--mst-on-dark)}
.mst-f-dark .mst-logo{color:var(--mst-on-dark)}
.mst-f-dark .mst-f-about p,.mst-f-dark .mst-f-col h3,.mst-f-dark .mst-f-bottom{color:var(--mst-on-dark-muted)}
.mst-f-dark a:hover{color:var(--mst-hi)}
.mst-f-dark .mst-f-bottom{border-color:rgba(255,255,255,.12)}
.mst-f-centered{border-top:1px solid var(--mst-line)}
.mst-f-center{display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px;padding-top:56px;padding-bottom:40px}
.mst-f-center>p{color:var(--mst-muted);max-width:480px}
.mst-f-inline ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 26px;font-weight:600}
.mst-f-legal ul{font-weight:400;font-size:14px;color:var(--mst-muted)}
.mst-f-copy{font-size:13px;color:var(--mst-muted)!important;padding-top:10px}

/* responsive */
@media (max-width:1000px){
  .mst-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mst-f-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .mst-menu-toggle{display:inline-flex}
  .mst-nav{display:none;width:100%}
  .mst-menu-open .mst-nav{display:block}
  .mst-nav ul{flex-direction:column;gap:0}
  .mst-nav li a{padding:12px 0;border-bottom:1px solid var(--mst-line)}
  .mst-nav .sub-menu{position:static;display:flex;border:0;box-shadow:none;padding:0 0 0 16px;background:transparent}
  .mst-h-row{flex-wrap:wrap}
  .mst-navbar{display:none}
  .mst-menu-open .mst-navbar{display:block}
  .mst-hide-sm{display:none}
  .mst-share{margin-left:0}
  .mst-layout{gap:40px}
}
@media (max-width:640px){
  .mst-grid-2,.mst-grid-3{grid-template-columns:minmax(0,1fr)}
  .mst-f-cols{grid-template-columns:minmax(0,1fr)}
  .mst-compact-media{width:104px}
  .mst-row-media{max-width:none}
  .mst-s-sub{font-size:18px}
  .mst-topbar-row>span:last-child{display:none}
  .mst-entry{font-size:17px}
  .mst-wrap,.mst-narrow,.mst-s-featwrap{padding-left:16px;padding-right:16px}
}
.mst-cent-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding-top:24px;padding-bottom:18px}
.mst-h-centered .mst-logo{font-size:calc(clamp(30px,3.6vw,44px) * var(--mst-hs));text-align:center}
.mst-h-centered .mst-actions{justify-self:end}
.mst-h-centered .mst-navbar{border-top:1px solid var(--mst-line)}
.mst-h-centered .mst-nav ul{justify-content:center;font-size:14px}
@media (max-width:900px){.mst-cent-top{grid-template-columns:auto 1fr}.mst-cent-spacer{display:none}.mst-h-centered .mst-logo{text-align:left}}
.mst-hero{padding-top:48px;padding-bottom:8px}
.mst-hero-typo{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:56px}
.mst-typo-lead{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.mst-typo-lead h1{font-size:calc(clamp(38px,5.4vw,78px) * var(--mst-hs));line-height:1.02;letter-spacing:calc(var(--mst-track) - .01em)}
.mst-typo-lead .mst-lede{font-size:20px;max-width:640px}
.mst-typo-img{width:100%;margin-top:10px}
.mst-typo-img .mst-thumb{aspect-ratio:2/1}
.mst-typo-list{border-left:1px solid var(--mst-line);padding-left:36px}
.mst-typo-list ol{list-style:none;margin:0;padding:0}
.mst-typo-list li{border-bottom:1px solid var(--mst-line)}
.mst-typo-list li:last-child{border-bottom:0}
.mst-typo-list a{display:flex;gap:16px;padding:18px 0;align-items:flex-start}
.mst-typo-n{font-family:var(--mst-head);font-weight:var(--mst-hw);font-size:34px;line-height:.9;color:var(--mst-accent);min-width:30px}
.mst-typo-t{display:flex;flex-direction:column;gap:6px}
.mst-typo-t strong{font-family:var(--mst-head);font-weight:var(--mst-hw);font-size:calc(18px * var(--mst-hs));line-height:1.3;color:var(--mst-ink)}
@media (max-width:900px){.mst-hero-typo{grid-template-columns:minmax(0,1fr)}.mst-typo-list{border-left:0;padding-left:0}}
.mst-ccols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding-top:56px}
.mst-ccol .mst-shead{margin-bottom:16px}
.mst-ccol .mst-shead h2{font-size:calc(19px * var(--mst-hs))}
.mst-ccol-lead{display:flex;flex-direction:column;gap:10px}
.mst-ccol-lead h3{font-size:calc(18px * var(--mst-hs));line-height:1.28}
.mst-ccol ul{list-style:none;margin:14px 0 0;padding:0}
.mst-ccol li{border-top:1px solid var(--mst-line);padding:11px 0;font-weight:600;font-size:15px;line-height:1.4}
@media (max-width:1000px){.mst-ccols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.mst-ccols{grid-template-columns:minmax(0,1fr)}}
.mst-s-sb{padding-top:0}
.mst-s-sb .mst-s-head-left{padding-top:44px;padding-bottom:28px}
.mst-s-sb .mst-s-title{font-size:calc(clamp(32px,3.8vw,48px) * var(--mst-hs))}
.mst-s-sb .mst-s-feat{margin-bottom:36px}
.mst-s-sb .mst-s-feat img{aspect-ratio:16/9;object-fit:cover}
.mst-s-sb .mst-sidebar{padding-top:44px}
.mst-ah-rule{padding-top:48px;padding-bottom:28px;border-bottom:3px solid var(--mst-ink)}
.mst-shead{border-bottom:2px solid var(--mst-ink);padding-bottom:12px}
.mst-sidebar .mst-widget{background:var(--mst-soft);border-radius:var(--mst-radius);padding:24px}
.mst-news-form input{background:var(--mst-surface);color:var(--mst-ink);border-color:var(--mst-line)}
