/*
Theme Name: Moveabout Current
Theme URI: https://www.moveabout.se/
Description: Ett skräddarsytt magasin för elbilar, laddning och mobilitet. Barntema till gratisversionen av GeneratePress, med stöd för Moveabouts befintliga artiklar och verktyg.
Author: Moveabout
Template: generatepress
Version: 1.0.2
Requires at least: 6.5
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: moveabout-current
*/

/* Local system fonts: no external font requests. */
:root {--ma-ink:#103b3e;--ma-text:#243f40;--ma-muted:#617271;--ma-lime:#d8f36a;--ma-paper:#f6f6f0;--ma-line:#d5ded7;--ma-white:#fff;--ma-accent:#176669;--ma-sans:Inter,"Aptos","Segoe UI",Arial,sans-serif;}
html {scroll-behavior:smooth;scroll-padding-top:30px;}
body.ma-current {margin:0;background:var(--ma-paper);color:var(--ma-text);font-family:var(--ma-sans);font-size:16px;line-height:1.6;}
.ma-current *, .ma-current *::before,.ma-current *::after {box-sizing:border-box;}
.ma-current h1,.ma-current h2,.ma-current h3,.ma-current h4 {font-family:var(--ma-sans);color:var(--ma-ink);font-weight:700;line-height:1.12;letter-spacing:-.045em;text-transform:none;}
.ma-current a {color:var(--ma-accent);text-decoration:none;}
.ma-current a:hover {color:var(--ma-ink);}
.ma-current button,.ma-current input,.ma-current select,.ma-current textarea {font-family:inherit;}
.ma-current img {max-width:100%;height:auto;}
.ma-current :focus-visible {outline:3px solid #16747c!important;outline-offset:4px;}
.ma-wrap {width:min(1320px,calc(100% - 88px));margin-inline:auto;margin-left:auto;margin-right:auto;}
.ma-current main.ma-wrap {margin-left:auto!important;margin-right:auto!important;}
.ma-skip {position:fixed;top:-200px;left:20px;z-index:99999;background:var(--ma-lime);padding:12px 20px;color:var(--ma-ink)!important;}
.ma-skip:focus {top:15px;}
.ma-header {background:var(--ma-white);border-bottom:1px solid var(--ma-line);position:relative;z-index:20;}
.ma-header-inner {display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:95px;}
.ma-brand {display:inline-flex;align-items:center;gap:9px;color:var(--ma-ink)!important;font-size:31px;font-weight:800;letter-spacing:-1.7px;line-height:1;white-space:nowrap;}
.ma-brand img {flex-shrink:0;}
.ma-brand-dot {color:#6a8d18;}
.ma-current .custom-logo-link {display:inline-flex;max-width:235px;align-items:center;}
.ma-current .custom-logo {max-height:60px;width:auto;}
.ma-navigation {margin-left:auto;}
.ma-menu,.ma-menu .sub-menu {list-style:none;margin:0;padding:0;}
.ma-menu {display:flex;align-items:center;gap:25px;}
.ma-menu li {position:relative;margin:0;}
.ma-menu a {display:block;color:var(--ma-ink);font-size:14px;font-weight:650;padding:16px 0;white-space:nowrap;}
.ma-menu > li.current-menu-item > a,.ma-menu > li.current-menu-ancestor > a {text-decoration:underline;text-decoration-color:#93b82c;text-decoration-thickness:3px;text-underline-offset:9px;}
.ma-sub-toggle {background:transparent;color:var(--ma-ink);border:0;padding:4px 8px;font-size:16px;position:absolute;right:0;top:12px;line-height:1.4;}
.ma-sub-toggle:hover,.ma-sub-toggle:focus {background:#edf2e7;color:var(--ma-ink);}
.ma-menu .menu-item-has-children > a {padding-right:25px;}
.ma-menu .sub-menu {display:none;position:absolute;top:100%;left:0;width:290px;padding:14px;background:white;border:1px solid var(--ma-line);box-shadow:0 15px 40px #103b3e14;}
.ma-menu .sub-menu a {padding:10px 15px;white-space:normal;font-size:14px;line-height:1.45;border-radius:4px;}
.ma-menu .sub-menu a:hover {background:var(--ma-paper);}
.ma-menu li:hover > .sub-menu,.ma-menu li:focus-within > .sub-menu,.ma-menu li.is-open > .sub-menu {display:block;}
.ma-menu .sub-menu .sub-menu {left:auto;right:100%;top:0;}
.ma-header-action {display:flex;align-items:center;gap:25px;padding:11px 18px;background:var(--ma-ink);color:white!important;font-size:13px;font-weight:650;border-radius:5px;white-space:nowrap;}
.ma-header-action:hover {background:#1d5658;}
.ma-header-action span {color:var(--ma-lime);font-size:21px;}
.ma-menu-toggle {display:none;}
.ma-subbar {border-top:1px solid #ecf0e8;color:var(--ma-muted);font-size:11px;}
.ma-subbar > div {display:flex;justify-content:space-between;align-items:center;min-height:42px;}
.ma-subbar i {display:inline-block;width:6px;height:6px;background:#83a924;border-radius:50%;margin-right:8px;}
.ma-search {display:flex;align-items:center;gap:5px;}
.ma-current .ma-search input {background:transparent;border:0;color:var(--ma-ink);padding:7px 4px;font-size:12px;width:175px;box-shadow:none;line-height:1.4;}
.ma-current .ma-search button {background:transparent;color:var(--ma-ink);padding:6px;display:grid;place-items:center;line-height:1;border:0;}
.ma-hero {display:grid;grid-template-columns:1fr 1fr;gap:70px;padding-block:60px 64px;align-items:center;}
.ma-eyebrow {font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:none;color:var(--ma-muted);margin:0 0 22px;}
.ma-hero h1 {font-size:clamp(52px,5.5vw,80px);line-height:1.015;letter-spacing:-.06em;max-width:550px;margin:0 0 26px;font-weight:750;}
.ma-hero-intro {font-size:18px;max-width:410px;line-height:1.65;margin:0 0 27px;color:#576b67;}
.ma-button {display:inline-flex;align-items:center;justify-content:space-between;gap:40px;background:var(--ma-lime);color:var(--ma-ink)!important;padding:14px 22px;font-size:14px;font-weight:700;border:1px solid transparent;border-radius:5px;line-height:1.5;}
.ma-button:hover {background:#c9e753;}
.ma-button span {font-size:22px;line-height:1;}
.ma-route {display:flex;align-items:center;gap:14px;font-size:10px;color:#657b75;margin-top:36px;}
.ma-route svg {width:145px;height:28px;overflow:visible;}
.ma-route path {fill:none;stroke:#94aa7d;stroke-width:1.5;}
.ma-route circle {fill:#749440;}
.ma-card {min-width:0;margin:0;}
.ma-card-image {display:block;aspect-ratio:1.65;background:#e5ebe2;overflow:hidden;border-radius:7px;}
.ma-card-image > img {width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s;}
.ma-card:hover .ma-card-image > img {transform:scale(1.025);}
.ma-card-copy {padding:21px 0 0;}
.ma-meta {display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:10px;color:var(--ma-muted);line-height:1.5;margin-bottom:12px;}
.ma-current .ma-tag {color:var(--ma-ink);font-size:10px;font-weight:700;background:#e4e9da;padding:4px 8px;border-radius:3px;}
.ma-card h2 {font-size:24px;margin:0 0 18px;line-height:1.2;letter-spacing:-.035em;}
.ma-card h2 a {color:var(--ma-ink);}
.ma-card h2 a:hover {color:var(--ma-accent);text-decoration:underline;text-underline-offset:4px;}
.ma-current .ma-read {font-size:11px;font-weight:700;color:var(--ma-ink);display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--ma-line);padding-top:13px;}
.ma-read span {font-size:22px;font-weight:400;}
.ma-card-lead {background:var(--ma-ink);border-radius:9px;overflow:hidden;position:relative;}
.ma-card-lead .ma-card-image {aspect-ratio:1.55;border-radius:0;}
.ma-card-lead .ma-card-copy {padding:24px 28px 25px;}
.ma-card-lead h2 {font-size:28px;line-height:1.15;margin-bottom:8px;}
.ma-card-lead h2 a,.ma-card-lead h2 a:hover {color:white;}
.ma-card-lead .ma-meta {color:#b3c9c6;}
.ma-card-lead .ma-tag {background:var(--ma-lime);}
.ma-card-lead .ma-read {color:white;border:0;padding:0;justify-content:flex-end;font-size:0;}
.ma-card-lead .ma-read span {color:var(--ma-lime);font-size:26px;}
.ma-image-fallback {width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;color:#416d67;background:#dfe8dc;font-size:28px;font-weight:750;letter-spacing:-1px;}
.ma-image-fallback svg {position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#aabf9c;stroke-width:1;}
.ma-image-fallback > span {z-index:1;background:#dfe8dc;padding:8px;}
.ma-tools {background:var(--ma-ink);color:#e0eddf;padding:37px 0 40px;}
.ma-tools-heading {display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;}
.ma-tools-heading h2 {font-size:29px;letter-spacing:-.04em;color:white;margin:0;}
.ma-tools-heading h2 span {color:var(--ma-lime);}
.ma-tools-heading p {font-size:12px;color:#aec6bf;margin:0;}
.ma-tools-grid {display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #49706a;}
.ma-tool {display:block;padding:20px 22px 0;border-right:1px solid #49706a;color:#b5ccc4!important;}
.ma-tool:first-child {padding-left:0;}
.ma-tool:last-child {border-right:0;padding-right:0;}
.ma-tool-num {font-size:11px;color:#a2c6a3;display:flex;justify-content:space-between;margin-bottom:27px;line-height:1;}
.ma-tool-num > span {font-size:23px;color:var(--ma-lime);}
.ma-tool h3 {color:white;font-size:18px;margin:0 0 9px;letter-spacing:-.03em;}
.ma-tool p {font-size:12px;line-height:1.65;margin:0;max-width:185px;}
.ma-tool:hover h3 {color:var(--ma-lime);}
.ma-tool:focus-visible,.ma-footer :focus-visible {outline-color:var(--ma-lime)!important;}
.ma-latest {padding-block:65px;}
.ma-section-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 30px;}
.ma-section-heading .ma-eyebrow {margin-bottom:10px;}
.ma-section-heading h2 {font-size:36px;margin:0;}
.ma-section-heading > a,.ma-section-heading > span {font-size:12px;color:var(--ma-muted);}
.ma-section-heading > a {font-weight:650;white-space:nowrap;color:var(--ma-ink);}
.ma-section-heading > a span {margin-left:25px;font-size:20px;}
.ma-card-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 28px;}
.ma-topics {padding:10px 0 64px;}
.ma-topic-grid {display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--ma-ink);}
.ma-topic-grid > a {position:relative;padding:30px 25px 55px;border-right:1px solid var(--ma-line);color:var(--ma-muted);transition:background .2s;}
.ma-topic-grid > a:first-child {padding-left:0;}
.ma-topic-grid > a:last-child {border-right:0;}
.ma-topic-grid > a:hover {background:#e9eedf;}
.ma-topic-index {font-size:12px;color:#688b53;}
.ma-topic-grid h3 {font-size:28px;margin:24px 0 10px;}
.ma-topic-grid p {font-size:13px;line-height:1.65;max-width:210px;margin:0;}
.ma-topic-arrow {position:absolute;right:24px;bottom:18px;color:var(--ma-ink);font-size:25px;}
.ma-home-existing {display:grid;grid-template-columns:300px minmax(0,800px);gap:80px;padding-block:54px 80px;border-top:1px solid var(--ma-line);align-items:start;}
.ma-existing-label h2 {font-size:33px;}
.ma-existing-label > p:not(.ma-eyebrow) {color:var(--ma-muted);font-size:14px;}
.ma-existing-label {position:sticky;top:35px;}
.ma-reading-shell {padding-top:42px;padding-bottom:70px;}
.ma-article-header {max-width:950px;margin:0 0 38px;}
.ma-breadcrumb {display:flex;gap:12px;font-size:11px;color:var(--ma-muted);margin-bottom:30px;}
.ma-breadcrumb a {color:var(--ma-muted);}
.ma-article-header h1 {font-size:clamp(36px,4.3vw,62px);line-height:1.07;margin:15px 0 24px;max-width:1000px;}
.ma-article-header .ma-meta {font-size:12px;}
.ma-article-header .ma-tag {font-size:11px;}
.ma-byline {font-size:12px;color:var(--ma-muted);}
.ma-byline a {color:var(--ma-ink);font-weight:600;}
.ma-article-cover {margin:0 0 45px;}
.ma-article-cover img {max-height:640px;object-fit:cover;width:100%;border-radius:8px;display:block;}
.ma-article-cover figcaption {color:var(--ma-muted);font-size:12px;margin-top:10px;}
.ma-article-grid {display:grid;grid-template-columns:230px minmax(0,800px);gap:80px;justify-content:space-between;}
.ma-reading-main {min-width:0;}
.ma-rail-inner {position:sticky;top:35px;border-top:3px solid var(--ma-ink);padding-top:22px;}
.ma-rail-inner h2 {font-size:26px;margin:0 0 28px;}
.ma-rail-inner a {display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;padding:14px 0;border-top:1px solid var(--ma-line);color:var(--ma-ink);}
.ma-rail-inner a span {font-size:20px;}

/* Article styles deliberately avoid universal input/button overrides inside tools. */
.ma-content {font-size:18px;line-height:1.85;color:#2d4343;overflow-wrap:anywhere;}
.ma-content::after {content:"";display:block;clear:both;}
.ma-content p {margin:0 0 1.35em;}
.ma-content h2 {font-size:34px;line-height:1.2;margin:1.7em 0 .7em;}
.ma-content h3 {font-size:27px;line-height:1.25;margin:1.5em 0 .7em;}
.ma-content h4 {font-size:22px;line-height:1.3;margin:1.4em 0 .7em;}
.ma-content > :first-child {margin-top:0;}
.ma-content :where(p,li,figcaption) a {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
.ma-content :where(ul,ol) {margin:0 0 1.5em;padding-left:1.3em;}
.ma-content li {margin-bottom:.55em;}
.ma-content li::marker {color:#6d901c;}
.ma-content figure {max-width:100%;margin:2em 0;}
.ma-content .wp-caption {max-width:100%;}
.ma-content .wp-caption-text,.ma-content figcaption {color:var(--ma-muted);font-size:12px;line-height:1.65;margin-top:9px;}
.ma-content :where(img,video) {max-width:100%;height:auto;border-radius:5px;}
.ma-content svg {max-width:100%;}
.ma-content iframe {max-width:100%;}
.ma-content .alignleft {float:left;margin:7px 25px 15px 0;max-width:48%;}
.ma-content .alignright {float:right;margin:7px 0 15px 25px;max-width:48%;}
.ma-content .aligncenter {display:block;margin-inline:auto;}
.ma-content :where(.alignwide,.alignfull) {width:100%;max-width:100%;margin-inline:0;}
.ma-table-scroll,.ma-content .wp-block-table {max-width:100%;overflow:auto;overscroll-behavior-inline:contain;margin:1.6em 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
/* Existing articles set margins and shadows directly on their tables.
   The scroll container is structural only, never a second visible panel. */
.ma-content :is(.ma-table-scroll,.wp-block-table) > table {margin:0!important;box-shadow:none!important;border-radius:0!important;}
.ma-content table {width:100%;border-collapse:collapse;font-size:14px;line-height:1.6;margin:0;border:0;}
.ma-content :where(th,td) {text-align:left;padding:14px 16px;border:0;border-bottom:1px solid var(--ma-line);vertical-align:top;min-width:100px;}
.ma-content th {background:var(--ma-ink);color:white;font-size:13px;font-weight:600;}
.ma-content tbody tr:nth-child(even) {background:#f0f3eb;}
.ma-content tbody tr:last-child td {border-bottom:0;}
.ma-content blockquote {margin:1.8em 0;border-left:4px solid #a3ca42;padding:25px 28px;background:#edf2e5;font-style:normal;font-size:21px;color:var(--ma-ink);}
.ma-content blockquote p:last-child {margin:0;}
.ma-content details {border:1px solid var(--ma-line);border-radius:5px;background:white;margin:12px 0;padding:0 20px;}
.ma-content details > summary {padding:18px 0;font-weight:650;font-size:17px;cursor:pointer;color:var(--ma-ink);}
.ma-content details[open] {padding-bottom:16px;}
.ma-content details[open] > summary {border-bottom:1px solid var(--ma-line);margin-bottom:16px;}
.ma-content pre {max-width:100%;overflow:auto;background:#e9eee5;padding:22px;}
.ma-content :where(.wp-block-button__link,.wp-element-button) {background:var(--ma-ink);color:white;border-radius:5px;padding:13px 22px;font-weight:650;}
.ma-content .wp-block-columns {gap:24px;}
.ma-content .wp-block-column {min-width:0;}
.ma-content :where(.lwptoc,.ez-toc-container,.pk-toc) {border:1px solid var(--ma-line);background:#edf2e5;color:var(--ma-ink);border-radius:6px;padding:22px;max-width:100%;font-size:14px;}
.ma-content :where(.lwptoc,.ez-toc-container,.pk-toc) a {color:var(--ma-ink);}
.ma-content :where(.pk-alert,.wp-block-pullquote) {border-radius:5px;}

/* Known Moveabout tools, verified in the existing HTML. Preserve inline colors,
   result visibility, calculations and dynamic DOM; only contain their layout. */
.ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) {width:100%;max-width:100%!important;min-width:0;font-family:var(--ma-sans)!important;line-height:1.5;overflow-wrap:normal;color:#c3d3df;}
.ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) :where(h1,h2,h3,h4) {letter-spacing:normal;}
.ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) :where(input,select,button,textarea) {max-width:100%;box-sizing:border-box;}
.ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) input[type="range"] {padding:0;min-height:24px;border:0;}
.ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) input[type="checkbox"] {width:auto;min-height:0;accent-color:#a8d535;}
.ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) button {text-transform:none;white-space:normal;}
.ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) :focus-visible {outline-color:#b9e454!important;}
.ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) table {color:inherit;background:transparent;}
.ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) :where(th,td) {min-width:0;}
.ma-content .ma-tool-note {font-size:13px;}
.ma-post-tags {display:flex;flex-wrap:wrap;gap:10px;margin-top:35px;}
.ma-post-tags a {font-size:12px;background:#e7edde;padding:5px 10px;border-radius:3px;}
.ma-related {border-top:1px solid var(--ma-line);margin-top:60px;padding-top:40px;}
.ma-current .comments-area {background:transparent;padding:35px 0 0;margin-top:40px;border-top:1px solid var(--ma-line);}
.ma-current .comment-form :where(input:not([type="checkbox"]),textarea) {max-width:100%;background:white;color:var(--ma-ink);border:1px solid #aebdb7;border-radius:4px;padding:12px;font-size:16px;}
.ma-current .comment-form input[type="submit"] {background:var(--ma-ink);color:white;padding:13px 24px;border:0;}
.ma-current .comment-form label {font-size:13px;font-weight:600;display:block;margin:0 0 6px;}
.ma-current .comment-form-cookies-consent label {display:inline;font-weight:400;margin-left:8px;}
.ma-current .comment-body {font-size:15px;}
.ma-archive {padding-block:50px 80px;min-height:55vh;}
.ma-archive-header {margin-bottom:45px;max-width:900px;}
.ma-archive-header h1 {font-size:clamp(35px,5vw,65px);}
.ma-archive-description {font-size:18px;color:var(--ma-muted);max-width:750px;}
.ma-current .pagination {margin-top:45px;}
.ma-current .page-numbers {display:inline-block;padding:10px 16px;background:white;border:1px solid var(--ma-line);border-radius:4px;margin:3px;}
.ma-current .page-numbers.current {background:var(--ma-ink);color:white;}
.ma-empty {padding:35px 0 65px;max-width:760px;}
.ma-empty h1 {font-size:clamp(40px,6vw,75px);}
.ma-empty h2 {font-size:32px;}
.ma-search-form {display:flex;gap:10px;margin:25px 0;}
.ma-current .ma-search-form input {width:100%;min-width:0;background:white;color:var(--ma-ink);border:1px solid #aebdb7;border-radius:5px;padding:13px;font-size:16px;}
.ma-search-form button {background:var(--ma-ink);color:white;border-radius:5px;padding:13px 25px;}
.ma-hero-empty {background:var(--ma-ink);color:white;padding:70px 35px;border-radius:8px;}
.ma-hero-empty h2 {color:white;font-size:48px;}
.ma-hero-empty a {color:var(--ma-lime);}
.ma-footer {background:#092c2f;color:#a7c0bb;padding:55px 0 0;}
.ma-footer-top {display:grid;grid-template-columns:1.3fr .8fr .9fr 1.15fr;gap:50px;padding-bottom:45px;}
.ma-footer .ma-brand {color:white!important;font-size:28px;}
.ma-footer .ma-brand-dot {color:var(--ma-lime);}
.ma-footer-top > div > p {font-size:15px;line-height:1.6;margin:25px 0 0;}
.ma-footer h2 {font-size:13px;color:#fff;letter-spacing:0;margin:10px 0 22px;}
.ma-footer ul {list-style:none;padding:0;margin:0;}
.ma-footer li {font-size:12px;margin-bottom:11px;}
.ma-footer a {color:#c2d5ce;}
.ma-footer a:hover {color:var(--ma-lime);}
.ma-footer-feature {display:flex;flex-direction:column;justify-content:space-between;gap:18px;border:1px solid #527165;padding:20px;border-radius:5px;}
.ma-footer-feature > span {font-size:10px;}
.ma-footer-feature strong {font-size:26px;line-height:1.15;color:var(--ma-lime);font-weight:600;letter-spacing:-.035em;}
.ma-footer-feature > span:last-child {display:flex;justify-content:space-between;gap:12px;align-items:center;}
.ma-footer-feature b {font-size:24px;}
.ma-footer-bottom {display:flex;justify-content:space-between;gap:20px;border-top:1px solid #365554;padding:20px 0;font-size:10px;}

@media(min-width:1600px){.ma-hero {gap:90px;}.ma-hero h1 {font-size:86px;}}
@media(max-width:1200px){.ma-wrap{width:calc(100% - 60px)}.ma-header-inner{gap:20px}.ma-menu{gap:16px}.ma-header-action{gap:15px}.ma-hero{gap:40px}.ma-hero h1{font-size:64px}.ma-home-existing{grid-template-columns:250px minmax(0,1fr);gap:45px}.ma-article-grid{grid-template-columns:190px minmax(0,1fr);gap:45px}.ma-footer-top{gap:30px}}
@media(max-width:1040px){
 .ma-header-inner{min-height:82px;flex-wrap:wrap;gap:0;padding-block:15px}.ma-menu-toggle{display:flex;gap:12px;align-items:center;background:transparent;color:var(--ma-ink);font-size:13px;border:1px solid var(--ma-line);padding:9px 14px;border-radius:4px;margin-left:auto}.ma-menu-toggle:hover,.ma-menu-toggle:focus{background:#edf2e7;color:var(--ma-ink)}.ma-header-action{margin-left:15px;padding:8px 13px}
 .ma-navigation{order:4;width:100%;margin:15px 0 0}.ma-js .ma-navigation{display:none}.ma-js .ma-navigation.is-open{display:block}.ma-menu{display:block;border-top:1px solid var(--ma-line);padding-top:10px}.ma-menu a{padding:11px 0}.ma-menu .sub-menu{position:static;width:100%;box-shadow:none;border:0;border-left:2px solid var(--ma-line);margin:0 0 10px 5px;padding:0 0 0 10px}.ma-menu .sub-menu .sub-menu{margin-left:8px;width:calc(100% - 8px)}.ma-js .ma-menu li:hover > .sub-menu,.ma-js .ma-menu li:focus-within > .sub-menu{display:none}.ma-js .ma-menu li.is-open > .sub-menu{display:block}.ma-sub-toggle{top:6px;padding:4px 15px}.ma-hero{gap:30px}.ma-hero h1{font-size:58px}.ma-hero-intro{font-size:16px}.ma-card-lead h2{font-size:24px}.ma-tools-grid{grid-template-columns:repeat(3,1fr);row-gap:22px}.ma-tool:nth-child(3){border-right:0}.ma-tool:nth-child(4){padding-left:0}.ma-tools-grid .ma-tool{padding-right:20px}.ma-tools-grid .ma-tool:last-child{border-right:1px solid #49706a}.ma-tools-grid .ma-tool-num{margin-bottom:18px}.ma-card h2{font-size:21px}.ma-reading-rail{display:none}.ma-article-grid{display:block;max-width:820px;margin:auto}.ma-article-header{max-width:900px}.ma-home-existing{grid-template-columns:220px minmax(0,1fr);gap:35px}.ma-footer-top{grid-template-columns:1.2fr 1fr 1fr}.ma-footer-feature{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center}.ma-footer-feature strong br{display:none}
}
@media(max-width:760px){
 .ma-wrap{width:calc(100% - 36px)}.ma-header-inner{min-height:75px}.ma-brand{font-size:27px}.ma-brand img{width:33px;height:33px}.ma-header-action{display:none}.ma-subbar > div{min-height:40px;gap:12px}.ma-subbar > div > span{font-size:9px}.ma-current .ma-search input{font-size:11px;width:127px}.ma-hero{grid-template-columns:1fr;padding-block:35px;gap:30px}.ma-hero h1{font-size:clamp(48px,10vw,66px);max-width:530px;margin-bottom:20px}.ma-hero .ma-eyebrow{font-size:10px;margin-bottom:20px}.ma-hero-intro{font-size:16px;max-width:480px;margin-bottom:22px}.ma-route{margin-top:24px}.ma-card-lead .ma-card-image{aspect-ratio:1.7}.ma-card-lead .ma-card-copy{padding:22px}.ma-card-lead h2{font-size:26px}.ma-tools{padding-block:30px}.ma-tools-heading{align-items:flex-start}.ma-tools-heading h2{font-size:26px}.ma-tools-heading p{font-size:10px;max-width:100px;text-align:right}.ma-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.ma-tools-grid .ma-tool{padding:20px 15px;border-bottom:1px solid #49706a;border-right:0}.ma-tools-grid .ma-tool:nth-child(odd){padding-left:0;border-right:1px solid #49706a}.ma-tools-grid .ma-tool:nth-child(even){padding-right:0}.ma-tools-grid .ma-tool:last-child{grid-column:1/-1;border:0;display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding-bottom:0}.ma-tool:last-child .ma-tool-num{grid-column:1/-1}.ma-tool h3{font-size:17px}.ma-tool p{font-size:11px}.ma-tool-num{margin-bottom:18px}.ma-section-heading{align-items:flex-start;margin-bottom:24px}.ma-section-heading h2{font-size:30px}.ma-section-heading > a{font-size:11px;margin-top:5px}.ma-section-heading > a span{margin-left:8px}.ma-section-heading > span{display:none}.ma-latest{padding-block:40px}.ma-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 18px}.ma-card h2{font-size:20px}.ma-card-copy{padding-top:15px}.ma-meta{font-size:9px;gap:8px}.ma-card .ma-meta time{font-size:9px}.ma-card .ma-tag{font-size:9px}.ma-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-topic-grid > a{padding:22px 18px 45px}.ma-topic-grid > a:nth-child(odd){padding-left:0}.ma-topic-grid > a:nth-child(even){border-right:0}.ma-topic-grid > a:nth-child(-n+2){border-bottom:1px solid var(--ma-line)}.ma-topic-grid h3{font-size:25px;margin-top:18px}.ma-topic-grid p{font-size:12px}.ma-topics{padding-bottom:40px}.ma-home-existing{display:block;padding-block:35px 45px}.ma-existing-label{position:static;margin-bottom:35px;max-width:520px}.ma-existing-label h2{font-size:30px}.ma-reading-shell{padding-top:28px;padding-bottom:45px}.ma-article-header h1{font-size:clamp(34px,6.7vw,48px)}.ma-article-header{margin-bottom:28px}.ma-article-cover{margin-bottom:30px}.ma-content{font-size:17px;line-height:1.8}.ma-content h2{font-size:29px}.ma-content h3{font-size:25px}.ma-content h4{font-size:21px}.ma-content :where(th,td){padding:11px 12px;font-size:13px}.ma-content table{min-width:440px}.ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) table{min-width:0}.ma-content blockquote{font-size:19px;padding:20px}.ma-content .alignleft,.ma-content .alignright{float:none;max-width:100%;margin:20px auto;display:block}.ma-archive{padding-block:30px 50px}.ma-footer{padding-top:35px}.ma-footer-top{grid-template-columns:1fr 1fr;gap:32px 25px;padding-bottom:30px}.ma-footer-top > div:first-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:15px}.ma-footer-top > div > p{font-size:12px;margin:0}.ma-footer-feature{display:flex;gap:15px}.ma-footer-feature strong br{display:block}.ma-footer-bottom{flex-wrap:wrap;gap:12px;font-size:9px}.ma-footer-bottom > span:nth-child(2){display:none}.ma-breadcrumb{margin-bottom:22px}
}
@media(max-width:480px){
 .ma-card-grid{grid-template-columns:1fr;gap:30px}.ma-card:not(.ma-card-lead){display:grid;grid-template-columns:118px minmax(0,1fr);column-gap:16px;align-items:start}.ma-card:not(.ma-card-lead) .ma-card-image{aspect-ratio:1;height:auto}.ma-card:not(.ma-card-lead) .ma-card-copy{padding:0}.ma-card:not(.ma-card-lead) h2{font-size:19px;line-height:1.18;margin-bottom:12px}.ma-card:not(.ma-card-lead) .ma-meta time{display:none}.ma-card:not(.ma-card-lead) .ma-meta{margin-bottom:9px}.ma-card:not(.ma-card-lead) .ma-read{font-size:10px;padding-top:7px}.ma-card:not(.ma-card-lead) .ma-read span{font-size:18px}.ma-image-fallback{font-size:17px}.ma-section-heading h2{font-size:28px}.ma-tools-heading h2{font-size:25px}.ma-tool h3{font-size:16px}.ma-subbar > div > span{font-size:8px}.ma-current .ma-search input{width:112px}.ma-footer-top > div:first-child{display:block}.ma-footer-top > div:first-child > p{margin-top:18px}
 /* Existing inline two-column calculator grids collapse on small screens. */
 .ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important;}
 .ma-content :is(#ma-ek,#ma-lk,#ma-rv,#ma-eq,#ma-lx) select{font-size:16px!important;}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ma-current *{transition:none!important;animation:none!important}}
@media print{.ma-header,.ma-footer,.ma-reading-rail,.ma-related,.ma-post-tags,.comments-area{display:none}.ma-wrap,.ma-reading-main{width:100%;max-width:none}.ma-current{background:white;color:black}.ma-article-grid{display:block}.ma-content{font-size:12pt}.ma-content a{text-decoration:underline}.ma-article-header h1{font-size:30pt}.ma-article-cover img{max-height:250px;width:auto}.ma-content table{min-width:0}.ma-table-scroll{overflow:visible}}

/* Editorial information, reusing the site's actual author/date/reading time. */
.ma-content .ma-byline {font-family:var(--ma-sans);font-size:14px;line-height:1.7;color:var(--ma-text);background:#edf2e8;border:1px solid #d9e2d2;border-left:3px solid #95b848;border-radius:5px;padding:20px 22px;margin:0 0 30px;}
.ma-content .ma-byline-inner > div + div {margin-top:10px;}
.ma-content .ma-byline a {font-weight:650;color:var(--ma-ink);text-decoration:underline;text-underline-offset:3px;}
.ma-content .ma-byline .ma-byline-sep {display:inline-block;margin-inline:8px;}
.ma-content .ma-editorial-status {display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5;font-weight:600;color:#4e6838;letter-spacing:0;}
.ma-editorial-status::before {content:"";width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#7d9d38;}
.ma-content .ma-editorial-fields {display:grid;grid-template-columns:1fr 1.25fr .85fr;gap:16px;margin-top:16px;padding-top:15px;border-top:1px solid #d5e0ca;}
.ma-content .ma-editorial-field {font-size:14px;font-weight:500;min-width:0;line-height:1.65;}
.ma-content .ma-editorial-field > strong,.ma-content .ma-editorial-field > span {font-size:11px;font-weight:400;color:#536754;display:block;}
.ma-content .ma-editorial-field > strong {margin-bottom:2px;}
.ma-content .ma-editorial-field a {display:block;font-size:14px;margin-top:2px;}

/* One clean table surface, with readable cells and consistent inline-style resets. */
.ma-content table.ma-data-table {background:#fff!important;border:1px solid #d5ded7!important;border-collapse:collapse!important;font-family:var(--ma-sans)!important;font-size:15px!important;line-height:1.65!important;box-shadow:none!important;border-radius:0!important;}
.ma-content .ma-data-table :is(th,td) {padding:15px 17px!important;border:1px solid #dbe3dc!important;vertical-align:top;text-align:left;overflow-wrap:normal;word-break:normal;}
.ma-content .ma-data-table th {background:#e7eee3!important;color:#193d37!important;font-size:13px!important;font-weight:700!important;line-height:1.55!important;border-bottom:2px solid #afc0a3!important;}
.ma-content .ma-data-table tbody tr {background:#fff!important;}
.ma-content .ma-data-table tbody tr:nth-child(even) {background:#f4f7f1!important;}
.ma-content .ma-data-table td {background:transparent!important;font-size:15px!important;}
.ma-content .ma-data-table tbody td:first-child {font-weight:600;color:var(--ma-ink);}
.ma-content .ma-data-table td a {text-decoration:underline;text-underline-offset:3px;}

/* Article navigation stays in the existing rail. On mobile it folds above the text. */
.ma-rail-inner {max-height:calc(100dvh - 65px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#a8b9a0 transparent;}
.ma-toc[hidden] {display:none!important;}
.ma-toc {margin:0 0 28px;}
.ma-toc details {margin:0;padding:0;border:0;background:transparent;}
.ma-toc summary {cursor:pointer;color:var(--ma-ink);font-size:16px;font-weight:700;line-height:1.5;padding:0 25px 15px 0;list-style:none;position:relative;}
.ma-toc summary::-webkit-details-marker {display:none;}
.ma-toc summary::after {content:"+";position:absolute;right:5px;top:0;font-size:20px;font-weight:400;}
.ma-toc details[open] > summary::after {content:"−";}
.ma-toc ol {list-style:none;padding:0;margin:0;}
.ma-current .ma-toc a {display:block;font-size:12px;font-weight:500;line-height:1.55;letter-spacing:0;color:#566b62;border:0;border-left:2px solid #d9e2d3;padding:8px 10px;text-decoration:none;overflow-wrap:anywhere;}
.ma-current .ma-toc a:hover {color:var(--ma-ink);background:#eaf0e3;}
.ma-current .ma-toc a[aria-current="location"] {color:var(--ma-ink);font-weight:650;border-left-color:#83a52e;background:#e8efdd;}
.ma-toc ol ol {margin:0 0 5px 12px;}
.ma-current .ma-toc ol ol a {font-size:11px;font-weight:400;padding-block:6px;}
.ma-has-toc .ma-rail-tools {border-top:1px solid var(--ma-line);padding-top:23px;}
.ma-has-toc .ma-rail-tools h2 {font-size:22px;margin-bottom:20px;}
@media(max-width:1040px){
 .ma-reading-rail.ma-has-toc {display:block;margin:0 0 26px;}
 .ma-has-toc .ma-rail-inner {position:static;max-height:none;overflow:visible;border-top:0;padding:0;}
 .ma-has-toc .ma-rail-tools {display:none;}
 .ma-toc {margin:0;border:1px solid var(--ma-line);border-radius:5px;background:#fff;}
 .ma-toc summary {padding:15px 45px 15px 18px;font-size:15px;}
 .ma-toc summary::after {top:12px;right:18px;}
 .ma-toc .ma-toc-list {padding:0 18px 18px;max-height:55vh;overflow-y:auto;}
 .ma-current .ma-toc a {font-size:13px;min-height:40px;}
 .ma-current .ma-toc ol ol a {font-size:12px;}
}
@media(max-width:600px){
 .ma-content .ma-byline {padding:17px 16px;margin-bottom:25px;}
 .ma-content .ma-editorial-fields {grid-template-columns:1.2fr 1fr;gap:13px 16px;}
 .ma-content .ma-editorial-field:first-child {grid-column:1/-1;}
 .ma-content .ma-data-table :is(th,td) {padding:12px 14px!important;}
 .ma-content .ma-data-table {min-width:440px;}
 .ma-content .ma-wide-table {min-width:640px;}
}
@media print{.ma-reading-rail.ma-has-toc{display:none}.ma-content .ma-data-table{min-width:0}}
