/*
Theme Name: Wellmont Journal Theme
Theme URI: https://example.com/wellmont-journal
Author: Wellmont Journal
Description: Custom editorial WordPress theme for The Wellmont Journal.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: wellmont-journal
*/

:root{
  --wm-bg:#f8f7f3;
  --wm-paper:#ffffff;
  --wm-text:#191919;
  --wm-muted:#686868;
  --wm-line:#d8d5cf;
  --wm-soft:#eeece7;
  --wm-accent:#566957;
  --wm-dark:#111511;
  --wm-max:1240px;
  --wm-reading:820px;
  --wm-single:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--wm-bg);color:var(--wm-text);font-family:Arial,Helvetica,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:hover{color:var(--wm-accent)}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{clip:auto!important;width:auto;height:auto;margin:8px;padding:12px;background:#fff;color:#000;z-index:99999}
.wm-container{width:min(calc(100% - 40px),var(--wm-max));margin:0 auto}

.wm-topbar{border-bottom:1px solid var(--wm-line);background:#f2f0eb;font-size:12px;color:#555;letter-spacing:.03em}
.wm-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.wm-masthead{background:var(--wm-paper);text-align:center;padding:35px 20px 28px;border-bottom:1px solid var(--wm-text)}
.wm-brand{font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,5vw,66px);font-weight:700;letter-spacing:.055em;line-height:1}
.wm-tagline{margin-top:14px;font-family:Georgia,"Times New Roman",serif;font-size:15px;color:#555;letter-spacing:.06em}
.wm-nav-wrap{background:var(--wm-paper);border-bottom:1px solid var(--wm-line);position:sticky;top:0;z-index:100}
.admin-bar .wm-nav-wrap{top:32px}
.wm-nav-inner{min-height:54px;display:flex;align-items:center;justify-content:center;position:relative}
.wm-menu{display:flex;align-items:center;justify-content:center;gap:28px;list-style:none;margin:0;padding:0}
.wm-menu a{font-size:14px;font-weight:700;white-space:nowrap}
.wm-menu-toggle,.wm-search-toggle{border:0;background:transparent;cursor:pointer;font-size:23px;line-height:1}
.wm-menu-toggle{display:none;position:absolute;left:0}
.wm-search-toggle{position:absolute;right:0;width:38px;height:38px}
.wm-search-panel{display:none;padding:14px 0;border-top:1px solid var(--wm-line);background:#fff}
.wm-search-panel.is-open{display:block}
.wm-search-form{max-width:700px;margin:auto;display:flex;border:1px solid #aaa;background:#fff}
.wm-search-form label{flex:1}
.wm-search-form input{width:100%;border:0;outline:0;padding:14px 16px;font-size:16px}
.wm-search-form button{border:0;background:var(--wm-dark);color:#fff;padding:0 22px;cursor:pointer}
.wm-edition{background:var(--wm-paper);border-bottom:1px solid var(--wm-line)}
.wm-edition-inner{min-height:42px;display:flex;align-items:center;justify-content:space-between;font-family:Georgia,"Times New Roman",serif;font-size:13px}
.wm-edition-label{text-transform:uppercase;letter-spacing:.08em;font-size:11px}

.wm-main{background:var(--wm-paper)}
.wm-section{padding:40px 0 48px;border-bottom:1px solid var(--wm-line)}
.wm-section-heading{border-top:3px solid var(--wm-text);border-bottom:1px solid var(--wm-line);padding:10px 0 9px;margin-bottom:25px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.wm-section-heading h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:26px}
.wm-section-heading a{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.wm-category{display:inline-block;color:var(--wm-accent);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;margin:14px 0 8px}
.wm-meta{color:#777;margin-top:12px;font-size:11px}
.wm-excerpt{color:#666;margin-top:8px;font-size:14px}
.wm-title{font-family:Georgia,"Times New Roman",serif;line-height:1.2;margin:0}

.wm-hero{padding:38px 0;border-bottom:1px solid var(--wm-line)}
.wm-hero-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.9fr);gap:32px}
.wm-lead{padding-right:32px;border-right:1px solid var(--wm-line)}
.wm-lead-image{height:440px;background:var(--wm-soft);overflow:hidden}
.wm-lead-image img{width:100%;height:100%;object-fit:cover}
.wm-lead-title{font-size:clamp(32px,4vw,52px);line-height:1.06}
.wm-lead-excerpt{margin-top:14px;color:#555;font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.55;max-width:850px}
.wm-secondary{display:flex;flex-direction:column}
.wm-secondary-story{padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid var(--wm-line);min-width:0}
.wm-secondary-story:last-child{border-bottom:0;margin-bottom:0}
.wm-secondary-story > a{display:block;width:100%;height:145px;overflow:hidden;background:var(--wm-soft);margin-bottom:12px}
.wm-secondary-story > a img,.wm-secondary-story > a .wm-placeholder{width:100%;height:100%;object-fit:cover;margin:0}
.wm-secondary-title{font-size:23px;line-height:1.15}

.wm-cards-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.wm-card{position:relative;min-width:0}
.wm-cards-4 > .wm-card + .wm-card::before{content:"";position:absolute;left:-12px;top:0;bottom:0;width:1px;background:var(--wm-line)}
.wm-card-image{display:block;height:180px;margin-bottom:13px;background:var(--wm-soft);overflow:hidden}
.wm-card-image img,.wm-card-image .wm-placeholder{width:100%;height:100%;object-fit:cover}
.wm-card-title{font-size:21px}
.wm-placeholder{display:flex;align-items:center;justify-content:center;background:var(--wm-soft);color:#8b8b8b;font-family:Georgia,"Times New Roman",serif;text-align:center}
.wm-lead-image .wm-placeholder{height:100%;font-size:24px}

.wm-split{display:grid;grid-template-columns:1.25fr .75fr;gap:35px}
.wm-feature{padding-right:35px;border-right:1px solid var(--wm-line)}
.wm-feature img{width:100%;height:350px;object-fit:cover;background:var(--wm-soft)}
.wm-feature .wm-card-title{font-size:32px;margin-top:5px}
.wm-stack-item{padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--wm-line);display:grid;grid-template-columns:1fr 115px;gap:18px}
.wm-stack-item:last-child{border-bottom:0}
.wm-stack-item img,.wm-stack-item .wm-placeholder{width:115px;height:92px;object-fit:cover}
.wm-stack-item .wm-card-title{font-size:19px}

.wm-most-read-grid{display:grid;grid-template-columns:repeat(2,1fr);column-gap:50px}
.wm-most-read-item{display:grid;grid-template-columns:45px 1fr;gap:15px;padding:18px 0;border-bottom:1px solid var(--wm-line)}
.wm-rank{font-family:Georgia,"Times New Roman",serif;font-size:32px;color:#999;line-height:1}
.wm-most-read-title{font-family:Georgia,"Times New Roman",serif;font-size:21px;line-height:1.2;margin:0}

.wm-review-note{max-width:850px;margin:0 0 26px;color:#666;font-size:14px;line-height:1.7}
.wm-review-label{font-size:11px;font-weight:800;color:var(--wm-accent);text-transform:uppercase;letter-spacing:.1em;margin-bottom:7px}

.wm-newsletter{background:#e9e6de;border-top:1px solid #ccc8bd;border-bottom:1px solid #ccc8bd;padding:45px 20px}
.wm-newsletter-inner{max-width:800px;margin:auto;text-align:center}
.wm-newsletter h2{font-family:Georgia,"Times New Roman",serif;font-size:31px;margin:0 0 8px}
.wm-newsletter p{color:#5d5d5d;font-family:Georgia,"Times New Roman",serif;font-size:17px}
.wm-newsletter-form{margin:22px auto 0;max-width:600px;display:flex}
.wm-newsletter-form input{flex:1;min-width:0;border:1px solid #888;padding:14px 15px;background:#fff}
.wm-newsletter-form button{border:1px solid var(--wm-dark);background:var(--wm-dark);color:#fff;padding:14px 22px;font-weight:700;cursor:pointer}
.wm-newsletter-small{margin-top:10px!important;font-size:11px!important;font-family:Arial,Helvetica,sans-serif!important}

.wm-disclaimer{padding:35px 0;background:#f5f3ee;border-bottom:1px solid var(--wm-line)}
.wm-disclaimer-inner{max-width:1000px;margin:auto;color:#666;font-size:12px;line-height:1.75}
.wm-disclaimer-inner p{margin:0 0 14px}

.wm-footer{background:#171a17;color:#e8e8e5;padding:50px 0 25px}
.wm-footer-grid{display:grid;grid-template-columns:1.3fr .7fr .7fr;gap:50px;padding-bottom:35px}
.wm-footer-brand{font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:700;letter-spacing:.04em}
.wm-footer-tagline{color:#aaa;margin-top:10px;max-width:440px;font-family:Georgia,"Times New Roman",serif}
.wm-footer-description{color:#aaa;font-size:13px;margin-top:18px;max-width:500px;line-height:1.7}
.wm-footer-title{font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:14px}
.wm-footer-menu{list-style:none;margin:0;padding:0}.wm-footer-menu li{margin:9px 0}.wm-footer-menu a{font-size:13px;color:#bebebe}.wm-footer-menu a:hover{color:#fff}
.wm-footer-bottom{border-top:1px solid #353835;padding-top:22px;display:flex;justify-content:space-between;color:#888;font-size:11px;gap:20px}

/* Single article */
.single-post .wm-single-main{background:var(--wm-paper)}
.single-post .wm-single-article{overflow:clip}
.single-post .wm-single-container{width:min(calc(100% - 48px),var(--wm-single));margin:0 auto}
.single-post .wm-reading{width:min(100%,var(--wm-reading));margin-left:auto;margin-right:auto}

.single-post .wm-article-header{padding:54px 0 0;background:var(--wm-paper)}
.single-post .wm-article-header-content{padding-bottom:0}
.single-post .wm-article-eyebrow{margin:0 0 13px;font-size:11px;letter-spacing:.14em}
.single-post .wm-article-title{font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,5vw,68px);line-height:1.04;letter-spacing:-.025em;margin:0;color:#151515;text-wrap:balance}
.single-post .wm-article-deck{font-family:Georgia,"Times New Roman",serif;font-size:clamp(20px,2vw,23px);color:#505050;line-height:1.55;margin:22px 0 24px;max-width:760px}
.single-post .wm-article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:13px;line-height:1.55;color:#666;border-top:1px solid var(--wm-line);border-bottom:1px solid var(--wm-line);padding:13px 0}
.single-post .wm-article-author{font-weight:700;color:#414141}
.single-post .wm-meta-separator{color:#aaa}

.single-post .wm-featured-article-image{width:min(100%,900px);aspect-ratio:16/9;margin:36px auto 0;background:var(--wm-soft);overflow:hidden}
.single-post .wm-featured-article-image img{width:100%;height:100%;aspect-ratio:16/9;max-height:none;object-fit:cover;object-position:center}
.single-post .wm-featured-article-image figcaption{padding:9px 2px 0;background:var(--wm-paper);font-size:12px;line-height:1.55;color:#777}

.single-post .wm-article-body{padding:48px 0 64px;background:var(--wm-paper)}
.single-post .wm-article-body .entry-content{font-family:Georgia,"Times New Roman",serif;font-size:20px;line-height:1.78;color:#202020;overflow-wrap:break-word}
.single-post .wm-article-body .entry-content > :first-child{margin-top:0}
.single-post .wm-article-body .entry-content p{margin:0 0 1.5em}
.single-post .wm-article-body .entry-content h1,
.single-post .wm-article-body .entry-content h2,
.single-post .wm-article-body .entry-content h3,
.single-post .wm-article-body .entry-content h4{font-family:Georgia,"Times New Roman",serif;color:#171717}
.single-post .wm-article-body .entry-content h1,
.single-post .wm-article-body .entry-content h2{font-size:clamp(31px,3vw,37px);line-height:1.17;letter-spacing:-.015em;margin:2.15em 0 .72em;padding-top:.52em;border-top:1px solid var(--wm-line)}
.single-post .wm-article-body .entry-content h3{font-size:clamp(23px,2.3vw,27px);line-height:1.25;margin:1.75em 0 .6em}
.single-post .wm-article-body .entry-content h4{font-size:21px;line-height:1.3;margin:1.55em 0 .55em}

.single-post .wm-article-body .entry-content ul,
.single-post .wm-article-body .entry-content ol{margin:0 0 1.55em;padding-left:1.45em;font-size:1em}
.single-post .wm-article-body .entry-content li{padding-left:.12em;margin:.48em 0}
.single-post .wm-article-body .entry-content li::marker{color:#555}
.single-post .wm-article-body .entry-content ul ul,
.single-post .wm-article-body .entry-content ol ol,
.single-post .wm-article-body .entry-content ul ol,
.single-post .wm-article-body .entry-content ol ul{margin:.5em 0 .3em}

.single-post .wm-article-body .entry-content a{color:#314c39;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:#839287}
.single-post .wm-article-body .entry-content a:hover{color:#17291d;text-decoration-color:currentColor}
.single-post .wm-article-body .entry-content a:focus-visible{outline:2px solid var(--wm-accent);outline-offset:3px;border-radius:2px}

.single-post .wm-article-body .entry-content blockquote{margin:2em 0;padding:18px 24px;border-left:4px solid var(--wm-accent);background:#f7f6f2;color:#454545;font-size:1.02em;line-height:1.7}
.single-post .wm-article-body .entry-content blockquote p:last-child{margin-bottom:0}

.single-post .wm-article-body .entry-content figure{max-width:100%;margin:2em 0}
.single-post .wm-article-body .entry-content figcaption{margin-top:8px;color:#777;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.55}
.single-post .wm-article-body .entry-content img{height:auto}
.single-post .wm-article-body .entry-content .alignwide{width:min(100vw - 48px,var(--wm-single));max-width:none;margin-left:50%;transform:translateX(-50%)}
.single-post .wm-article-body .entry-content .alignfull{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%)}

/* V1.3 Article Formatting Layer — keeps Word-pasted typography under theme control
   without rewriting editorial text or changing semantic elements. */
.single-post .wm-article-body .entry-content p[style],
.single-post .wm-article-body .entry-content li[style]{
  font-family:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
  color:inherit!important;
}
.single-post .wm-article-body .entry-content p span[style],
.single-post .wm-article-body .entry-content li span[style],
.single-post .wm-article-body .entry-content h1 span[style],
.single-post .wm-article-body .entry-content h2 span[style],
.single-post .wm-article-body .entry-content h3 span[style],
.single-post .wm-article-body .entry-content h4 span[style]{
  font-family:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
  color:inherit!important;
  background-color:transparent!important;
}
.single-post .wm-article-body .entry-content h1[style],
.single-post .wm-article-body .entry-content h2[style],
.single-post .wm-article-body .entry-content h3[style],
.single-post .wm-article-body .entry-content h4[style]{
  font-family:Georgia,"Times New Roman",serif!important;
  color:#171717!important;
}
.single-post .wm-article-body .entry-content p + ul,
.single-post .wm-article-body .entry-content p + ol{margin-top:-.55em}
.single-post .wm-article-body .entry-content ul + p,
.single-post .wm-article-body .entry-content ol + p{margin-top:.25em}
.single-post .wm-article-body .entry-content strong{font-weight:700;color:#151515}
.single-post .wm-article-body .entry-content em{font-style:italic}
.single-post .wm-article-body .entry-content > *{max-width:100%}

/* Tables: keep comparison tables readable and scroll on narrow screens. */
.single-post .wm-article-body .entry-content .wp-block-table{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:2em 0}
.single-post .wm-article-body .entry-content > table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.single-post .wm-article-body .entry-content table{width:100%;border-collapse:collapse;border-spacing:0;margin:2em 0;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.55;color:#252525;background:#fff}
.single-post .wm-article-body .entry-content .wp-block-table table{margin:0}
.single-post .wm-article-body .entry-content th,
.single-post .wm-article-body .entry-content td{padding:13px 14px;border:1px solid #d9d7d1;text-align:left;vertical-align:top}
.single-post .wm-article-body .entry-content th{background:#f0efe9;font-weight:700;color:#202020}
.single-post .wm-article-body .entry-content tbody tr:nth-child(even) td{background:#fbfaf7}
.single-post .wm-article-body .entry-content table caption{caption-side:bottom;text-align:left;padding-top:9px;color:#777;font-size:12px}

/* Editorial disclosure and callout modules. These classes are opt-in only. */
.single-post .wellmont-disclosure{margin:22px 0 28px;padding:13px 16px;border:1px solid #d7d4ca;background:#f8f7f3;color:#5b5b56;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.65}
.single-post .wellmont-disclosure > :last-child{margin-bottom:0}
.single-post .wellmont-callout,
.single-post .wellmont-key-takeaway,
.single-post .wellmont-evidence-note{margin:2em 0;padding:20px 22px;border:1px solid #d8d5cf;border-left:4px solid var(--wm-accent);background:#f7f6f2;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;color:#343434}
.single-post .wellmont-key-takeaway{background:#f3f5f1}
.single-post .wellmont-evidence-note{background:#f5f5f3;border-left-color:#777}
.single-post .wellmont-callout > :first-child,
.single-post .wellmont-key-takeaway > :first-child,
.single-post .wellmont-evidence-note > :first-child{margin-top:0}
.single-post .wellmont-callout > :last-child,
.single-post .wellmont-key-takeaway > :last-child,
.single-post .wellmont-evidence-note > :last-child{margin-bottom:0}
.single-post .wellmont-callout h3,
.single-post .wellmont-key-takeaway h3,
.single-post .wellmont-evidence-note h3{font-family:Georgia,"Times New Roman",serif!important;font-size:21px!important;margin:0 0 .5em!important}

/* Equal-weight advantages / limitations module. */
.single-post .wellmont-pros-cons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:2.1em 0}
.single-post .wellmont-pros-cons > *{min-width:0;padding:20px;border:1px solid #d8d5cf;background:#faf9f6}
.single-post .wellmont-pros-cons h3{font-size:21px!important;margin:0 0 .65em!important;padding:0!important;border:0!important}
.single-post .wellmont-pros-cons ul,
.single-post .wellmont-pros-cons ol{margin-bottom:0!important}

/* Editorial review CTA: opt-in; never inserted automatically. */
.single-post .wellmont-cta{margin:2em 0;padding:20px 22px;border-top:2px solid #263429;border-bottom:1px solid #d7d4ca;background:#f7f6f2;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.65}
.single-post .wellmont-cta > :last-child{margin-bottom:0}
.single-post .wellmont-cta a,
.single-post a.wellmont-cta{display:inline-block;margin-top:4px;padding:11px 17px;background:#263429;color:#fff!important;text-decoration:none!important;font-weight:700;border:1px solid #263429;border-radius:2px}
.single-post .wellmont-cta a:hover,
.single-post a.wellmont-cta:hover{background:#fff;color:#263429!important}
.single-post a.wellmont-cta{margin:1em 0}

/* WordPress embeds/media. */
.single-post .wm-article-body .entry-content iframe{max-width:100%}
.single-post .wm-article-body .entry-content pre{max-width:100%;overflow:auto;padding:16px;background:#f5f4f0;border:1px solid var(--wm-line);font-size:14px;line-height:1.55}
.single-post .wm-article-body .entry-content code{overflow-wrap:anywhere}
.single-post .wm-article-body .entry-content hr{border:0;border-top:1px solid var(--wm-line);margin:2.4em 0}

/* Related stories on single posts. */
.single-post .wm-related-wrap{background:#f8f7f3;border-top:1px solid var(--wm-line)}
.single-post .wm-related-wrap .wm-section-heading{margin-bottom:28px}
.single-post .wm-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.single-post .wm-related-grid .wm-card + .wm-card{border-left:0;padding-left:0}
.single-post .wm-related-wrap .wm-card-title{font-size:22px}

/* Archives / pages */
.wm-archive-header{padding:42px 0 20px}.wm-archive-title{font-family:Georgia,"Times New Roman",serif;font-size:42px;margin:0}.wm-archive-description{max-width:780px;color:#666}
.wm-pagination{padding:28px 0}.wm-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}.wm-pagination a,.wm-pagination span{border:1px solid var(--wm-line);padding:8px 12px}
.wm-page-content{padding:48px 0}.wm-page-content .entry-content{font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.8}.wm-page-content h1{font-family:Georgia,"Times New Roman",serif;font-size:48px}
.wm-empty{padding:40px;border:1px solid var(--wm-line);background:#fafafa;color:#666}

/* V1.6 dynamic Latest Articles archive */
.wm-latest-archive{padding:48px 0 60px}
.wm-latest-archive .wm-archive-header{padding-top:0}
.wm-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 28px}
.wm-latest-grid .wm-card-image{height:220px}

@media(max-width:1000px){
  .wm-cards-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wm-cards-4 > .wm-card + .wm-card::before{display:none}
  .wm-cards-4 > .wm-card:nth-child(even)::before{display:block;content:"";position:absolute;left:-12px;top:0;bottom:0;width:1px;background:var(--wm-line)}
  .wm-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wm-menu{gap:17px}.wm-menu a{font-size:12px}
  .wm-hero-grid{grid-template-columns:1fr}.wm-lead{border-right:0;padding-right:0}
  .wm-secondary{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.wm-secondary-story{border-bottom:0}
  .wm-split{grid-template-columns:1fr}.wm-feature{border-right:0;padding-right:0}
}
@media(max-width:782px){.admin-bar .wm-nav-wrap{top:46px}}
@media(max-width:760px){
  .wm-container,.wm-reading{width:min(calc(100% - 28px),var(--wm-max))}
  .wm-reading{max-width:var(--wm-reading)}
  .wm-topbar{display:none}.wm-masthead{padding:25px 15px 20px}.wm-brand{font-size:35px;line-height:1.05}.wm-tagline{font-size:12px}
  .wm-menu-toggle{display:block}.wm-menu{position:absolute;top:54px;left:-14px;right:-14px;padding:10px 20px 20px;background:#fff;border-bottom:1px solid var(--wm-line);display:none;flex-direction:column;align-items:flex-start;gap:0}.wm-menu.is-open{display:flex}.wm-menu li{width:100%}.wm-menu a{display:block;padding:12px 0;width:100%;border-bottom:1px solid #eee;font-size:14px}
  .wm-edition-inner{font-size:11px}.wm-edition-label{display:none}
  .wm-hero{padding-top:25px}.wm-lead-image{height:260px}.wm-lead-title{font-size:34px}.wm-lead-excerpt{font-size:17px}
  .wm-secondary{display:block}.wm-secondary-story{display:grid;grid-template-columns:115px minmax(0,1fr);gap:15px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--wm-line)}.wm-secondary-story > a{width:115px;height:95px;margin:0}.wm-secondary-story .wm-category{margin-top:0}
  .wm-cards-4,.wm-latest-grid{grid-template-columns:1fr}.wm-card{display:grid;grid-template-columns:115px minmax(0,1fr);gap:15px;padding-bottom:20px;border-bottom:1px solid var(--wm-line)}.wm-cards-4 > .wm-card::before{display:none!important}.wm-card-image{width:115px;height:95px;margin:0}.wm-card .wm-category{margin-top:0}.wm-card .wm-excerpt{display:none}.wm-card-title{font-size:19px}
  .wm-feature img{height:240px}.wm-feature .wm-card-title{font-size:28px}.wm-most-read-grid{grid-template-columns:1fr}.wm-most-read-title{font-size:19px}
  .wm-newsletter-form{flex-direction:column;gap:8px}.wm-newsletter-form button{width:100%}
  .wm-footer-grid{grid-template-columns:1fr;gap:30px}.wm-footer-bottom{flex-direction:column}
  .single-post .wm-article-title{font-size:38px}.single-post .wm-article-deck{font-size:18px}.single-post .wm-article-body .entry-content{font-size:18px}.single-post .wm-featured-article-image{width:min(100%,900px);margin-top:20px}
}
@media(max-width:420px){.wm-brand{font-size:29px}.wm-secondary-story,.wm-card{grid-template-columns:95px minmax(0,1fr)}.wm-secondary-story > a{width:95px;height:85px}.wm-card-image{width:95px;height:85px}.single-post .wm-article-title{font-size:34px}}


/* Single post responsive refinements */
@media(max-width:1000px){
  .single-post .wm-single-container{width:min(calc(100% - 40px),var(--wm-single))}
  .single-post .wm-article-header{padding-top:44px}
  .single-post .wm-article-body{padding-top:42px}
}
@media(max-width:760px){
  .single-post .wm-single-container{width:calc(100% - 28px)}
  .single-post .wm-reading{width:100%;max-width:var(--wm-reading)}
  .single-post .wm-article-header{padding-top:32px}
  .single-post .wm-article-title{font-size:clamp(34px,10vw,44px);line-height:1.08}
  .single-post .wm-article-deck{font-size:18px;line-height:1.55;margin:18px 0 20px}
  .single-post .wm-article-meta{align-items:flex-start;gap:4px 7px;font-size:12px}
  .single-post .wm-meta-separator{display:none}
  .single-post .wm-article-meta > span{width:100%}
  .single-post .wm-featured-article-image{margin-top:24px}
  .single-post .wm-featured-article-image img{aspect-ratio:16/9}
  .single-post .wm-article-body{padding:34px 0 48px}
  .single-post .wm-article-body .entry-content{font-size:18.5px;line-height:1.74}
  .single-post .wm-article-body .entry-content h2{font-size:29px;margin-top:1.9em;padding-top:.45em}
  .single-post .wm-article-body .entry-content h3{font-size:23px;margin-top:1.55em}
  .single-post .wm-article-body .entry-content ul,
  .single-post .wm-article-body .entry-content ol{padding-left:1.25em}
  .single-post .wm-article-body .entry-content table{font-size:14px;min-width:620px}
  .single-post .wm-article-body .entry-content th,
  .single-post .wm-article-body .entry-content td{padding:11px 12px}
  .single-post .wm-article-body .entry-content .wp-block-table{width:calc(100vw - 28px);max-width:calc(100vw - 28px)}
  .single-post .wellmont-pros-cons{grid-template-columns:1fr}
  .single-post .wm-related-grid{grid-template-columns:1fr}
  .single-post .wm-related-grid .wm-card + .wm-card{border-left:0;padding-left:0}
  .single-post .wellmont-callout,
  .single-post .wellmont-key-takeaway,
  .single-post .wellmont-evidence-note,
  .single-post .wellmont-cta{padding:17px 18px}
  .single-post .wm-article-body .entry-content .alignwide,
  .single-post .wm-article-body .entry-content .alignfull{width:calc(100vw - 28px)}
}
@media(max-width:420px){
  .single-post .wm-article-title{font-size:34px}
  .single-post .wm-article-body .entry-content{font-size:18px;line-height:1.72}
  .single-post .wm-article-body .entry-content h2{font-size:27px}
  .single-post .wm-article-body .entry-content h3{font-size:22px}
}


/* V1.2 HOME FLOW SAFETY
   Keeps Single Post presentation changes from affecting the front page and
   prevents a long featured-story title from visually colliding with Latest. */
body.home .wm-hero,
body.home .wm-hero-grid,
body.home .wm-lead,
body.home .wm-secondary{
  position:relative;
}
body.home .wm-hero{
  display:block;
  clear:both;
}
body.home .wm-hero-grid{
  align-items:start;
}
body.home .wm-lead{
  display:flex;
  flex-direction:column;
  min-width:0;
}
body.home .wm-lead-image{
  display:block;
  width:100%;
  flex:none;
}
body.home .wm-lead-title,
body.home .wm-lead-excerpt,
body.home .wm-meta{
  position:static;
  float:none;
  width:auto;
  max-width:100%;
}
body.home .wm-lead-title{
  overflow-wrap:anywhere;
}
body.home .wm-hero + .wm-section{
  clear:both;
  position:relative;
  z-index:1;
  background:var(--wm-paper);
}

/* V1.5 — Single Post mobile/tablet reading margins only */
@media (max-width: 760px) {
  body.single-post .wm-article-body .entry-content {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
}


/* V1.6 — Home media consistency.
   Each module owns a fixed visual media box; images crop with object-fit instead of stretching. */
body.home .wm-lead-image img,
body.home .wm-secondary-story img,
body.home .wm-card-image img{object-fit:cover}
