/* ==== Kit core: shared structure. Each site's look lives in its own section below. ==== */
body.shm-site{font-family:var(--shm-body);color:var(--shm-ink);background:var(--shm-bg);-webkit-font-smoothing:antialiased}
.shm-site h1,.shm-site h2,.shm-site h3,.shm-site h4,.shm-site .main-title,.shm-site .entry-title{font-family:var(--shm-head)}
.shm-site a{color:var(--shm-link,var(--shm-accent))}
.shm-site .entry-content a{text-underline-offset:.18em}
.shm-site img{height:auto}
.shm-icon{width:1.25em;height:1.25em;flex:none;vertical-align:-.2em}
.shm-dot{display:inline-block;width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.55;margin:0 .6em;vertical-align:middle}
.shm-empty{padding:1rem 1.25rem;border:1px dashed var(--shm-line);border-radius:6px;color:var(--shm-muted);font-size:.9rem;background:var(--shm-surface)}
.shm-wrap{max-width:var(--shm-max,1200px);margin-inline:auto;padding-inline:20px}

/* cards */
.shm-card{position:relative;display:flex;flex-direction:column;min-width:0}
.shm-card__img{display:block;overflow:hidden;background:var(--shm-soft)}
.shm-card__img img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .4s ease}
.shm-card:hover .shm-card__img img{transform:scale(1.03)}
.shm-card__noimg{display:block;aspect-ratio:3/2;background:var(--shm-soft)}
.shm-card__cat{font-size:.78rem;font-weight:600;text-decoration:none;color:var(--shm-accent)}
.shm-card__title{margin:.35em 0 .3em;font-size:1.15rem;line-height:1.3}
.shm-card__title a{color:var(--shm-ink);text-decoration:none}
.shm-card__title a:hover{color:var(--shm-accent)}
.shm-card__excerpt{margin:0 0 .5em;color:var(--shm-muted);font-size:.95rem;line-height:1.55}
.shm-card__meta{font-size:.8rem;color:var(--shm-muted)}

/* single */
.shm-kicker{display:inline-block;text-decoration:none;font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:.6rem}
.shm-standfirst{font-size:1.2rem;line-height:1.55;color:var(--shm-muted);margin:.6rem 0 1.2rem}
.shm-feature{margin:1.4rem 0}
.shm-feature img{display:block;width:100%}
.shm-feature figcaption{font-size:.82rem;color:var(--shm-muted);margin-top:.5rem}
.single .entry-header .entry-meta{display:none}
.shm-crumbs{font-size:.82rem;color:var(--shm-muted);margin-bottom:.8rem}
.shm-crumbs a{color:inherit}
.shm-crumbs p{margin:0}

/* byline */
.shm-byline{display:flex;align-items:center;gap:.8rem;margin:1rem 0;font-size:.9rem;line-height:1.4}
.shm-byline__photo{display:block;width:48px;height:48px;border-radius:50%;object-fit:cover}
.shm-byline__text{display:flex;flex-direction:column}
.shm-byline__by a{font-weight:700;color:var(--shm-ink);text-decoration:none}
.shm-byline__role{color:var(--shm-muted);font-size:.85rem}
.shm-byline__meta{color:var(--shm-muted);font-size:.85rem}

/* author box */
.shm-author{display:flex;gap:1.4rem;align-items:flex-start;margin:2.5rem 0;padding:1.6rem}
.shm-author__photo{display:block;width:96px;height:96px;border-radius:50%;object-fit:cover}
.shm-author__body{min-width:0;flex:1}
.shm-author__label{margin:0 0 .2rem;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--shm-muted)}
.shm-author__name{margin:0;font-size:1.35rem}
.shm-author__name a{color:var(--shm-ink);text-decoration:none}
.shm-author__role{margin:.15rem 0 .6rem;color:var(--shm-muted);font-size:.9rem}
.shm-author__bio p{margin:0 0 .6rem;font-size:.96rem;line-height:1.6}
.shm-author__more{font-weight:600;font-size:.9rem}
.shm-socials{display:flex;flex-wrap:wrap;gap:.4rem .9rem;font-size:.85rem;margin:.2rem 0 .6rem}
.shm-team{display:grid;gap:1.4rem}
.shm-team .shm-author{margin:0}
.shm-author--archive{margin-top:0}
.shm-author--archive .shm-author__name{font-size:2rem}

/* related */
.shm-related{margin:2.5rem 0}
.shm-related__title{font-size:1.4rem;margin:0 0 1.2rem}
.shm-related__list{display:grid;gap:1.4rem}

/* newsletter */
.shm-news{margin:2.5rem 0;padding:1.8rem}
.shm-news__title{margin:0 0 .4rem;font-size:1.5rem}
.shm-news__desc{margin:0 0 1rem}
.shm-news__row{display:flex;gap:.5rem;flex-wrap:wrap}
.shm-news__row input[type=email]{flex:1 1 220px;min-width:0;padding:.75rem .9rem;border:1px solid var(--shm-line);border-radius:6px;background:#fff;font-size:1rem}
.shm-news__row button{padding:.75rem 1.3rem;border:0;border-radius:6px;font-weight:700;cursor:pointer;background:var(--shm-accent);color:var(--shm-on-accent)}
.shm-news__consent{display:flex;gap:.5rem;align-items:flex-start;margin-top:.7rem;font-size:.82rem;line-height:1.4}
.shm-news__consent input{margin-top:.2em}
.shm-news__hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.shm-news__msg{margin:.8rem 0 0;font-weight:600}
.shm-news__eyebrow{margin:0 0 .3rem;font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}

/* notices */
.shm-disclosure,.shm-partner{font-size:.85rem;line-height:1.5;padding:.7rem 1rem;margin:0 0 1.4rem;background:var(--shm-surface);border-left:3px solid var(--shm-line);color:var(--shm-muted)}
.shm-partner{border-left-color:var(--shm-accent)}
.shm-ad{margin:2rem 0;text-align:center;min-height:90px}

/* top bar */
.shm-topbar{font-size:.8rem}
.shm-topbar__inner{max-width:var(--shm-max,1200px);margin:0 auto;padding:.5rem 20px;display:flex;gap:1rem;justify-content:space-between;align-items:center;flex-wrap:wrap}
.shm-topbar a{color:inherit}

/* footer */
.shm-footer{font-size:.92rem}
.shm-footer__inner{max-width:var(--shm-max,1200px);margin:0 auto;padding:3rem 20px 1.5rem}
.shm-footer__cols{display:grid;gap:2rem}
.shm-footer__name{font-family:var(--shm-head);font-size:1.3rem;font-weight:700;margin:0 0 .5rem}
.shm-footer__name a{text-decoration:none;color:inherit}
.shm-footer__blurb{margin:0 0 .8rem;line-height:1.6;opacity:.85}
.shm-footer__email{display:flex;gap:.5rem;align-items:center;margin:0}
.shm-footer__title{font-weight:700;margin:0 0 .7rem;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase}
.shm-fmenu{list-style:none;margin:0;padding:0}
.shm-fmenu li{margin:0 0 .45rem}
.shm-fmenu a{text-decoration:none;color:inherit;opacity:.9}
.shm-fmenu a:hover{opacity:1;text-decoration:underline}
.shm-footer__bottom{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;align-items:center;justify-content:space-between;margin-top:2.5rem;padding-top:1.2rem;font-size:.82rem}
.shm-footer__copy{margin:0;opacity:.8}
.shm-legal{display:flex;flex-wrap:wrap;gap:.3rem 1.2rem}
.shm-legal li{margin:0}
.site-footer .site-info{display:none}

@media (max-width:768px){
	.shm-author{flex-direction:column;gap:1rem;padding:1.2rem}
	.shm-footer__bottom{flex-direction:column;align-items:flex-start}
}

/* ==== Sustainable Housing Markets: analysis broadsheet ==== */
.shm-site{font-size:17px;line-height:1.65}
.shm-site h1,.shm-site h2,.shm-site h3{font-weight:600;color:var(--shm-ink);letter-spacing:-.01em}
.shm-wrap{max-width:1280px;margin:0 auto;padding:0 24px}
.shm-label{display:flex;align-items:center;gap:6px;margin:0 0 16px;padding-top:10px;border-top:3px solid var(--shm-ink);font-family:var(--shm-body)!important;font-size:13px!important;font-weight:700!important;letter-spacing:.09em;text-transform:uppercase}
.shm-label a{color:var(--shm-ink);text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.shm-label a:hover{color:var(--shm-accent)}
.shm-label .shm-icon{width:14px;height:14px}

/* top bar + masthead */
.shm-topbar{background:var(--shm-navy);color:#c9d3e2;font-size:12.5px}
.shm-topbar__date{font-weight:600;color:#fff}
.shm-topbar__tag{font-family:var(--shm-head);font-style:italic;font-size:14px}
.shm-topbar__link{color:var(--shm-accent2)!important;text-decoration:none;font-weight:600}
.shm-site .site-header{border-bottom:1px solid var(--shm-ink)}
.shm-site .inside-header{padding-top:26px;padding-bottom:18px}
.shm-site .main-title a{font-family:var(--shm-head);font-weight:700;font-size:2.6rem;color:var(--shm-ink)}
.shm-site .main-navigation{background:#fff;border-bottom:4px double var(--shm-ink)}
.shm-site .main-navigation .main-nav ul li a{font-weight:600;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--shm-ink);padding-left:24px;padding-right:24px}
.shm-site .main-navigation .main-nav ul li a:hover,.shm-site .main-navigation .main-nav ul li[class*=current-menu-] > a{color:var(--shm-accent);background:transparent}

/* homepage */
.shm-site.home .inside-article,.shm-site.home .site-main{padding:0!important;margin:0!important}
.shm-site.home .entry-content{margin:0}
.shm-home{padding:28px 0 56px}
.shm-card__cat{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:var(--shm-accent)}
.shm-card__title{font-weight:600}
.shm-card__img img{aspect-ratio:16/10}
.shm-meta{font-size:13px;color:var(--shm-muted)}
.shm-front{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) 300px;gap:0;padding-bottom:36px;margin-bottom:36px;border-bottom:1px solid var(--shm-line)}
.shm-front__lead{padding-right:28px;border-right:1px solid var(--shm-line)}
.shm-lead .shm-card__img img{aspect-ratio:16/9}
.shm-lead .shm-card__title{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.12;margin:.3em 0}
.shm-lead .shm-card__excerpt{font-size:1.08rem;color:var(--shm-ink);opacity:.85}
.shm-lead .shm-card__body{padding-top:14px}
.shm-front__second{padding:0 28px;border-right:1px solid var(--shm-line);display:flex;flex-direction:column;gap:22px}
.shm-second{padding-bottom:22px;border-bottom:1px solid var(--shm-line)}
.shm-second:last-child{border-bottom:0;padding-bottom:0}
.shm-second .shm-card__title{font-size:1.15rem;line-height:1.25}
.shm-second:not(:first-child) .shm-card__img{display:none}
.shm-front__briefs{padding-left:28px}
.shm-briefs{list-style:none;margin:0 0 18px;padding:0;counter-reset:b}
.shm-briefs li{display:grid;grid-template-columns:52px 1fr;gap:8px;margin:0;padding:12px 0;border-bottom:1px dotted var(--shm-line);line-height:1.35}
.shm-briefs time{font:500 12px/1.6 'IBM Plex Mono',monospace;color:var(--shm-accent)}
.shm-briefs a{color:var(--shm-ink);text-decoration:none;font-weight:600;font-size:15px}
.shm-briefs a:hover{color:var(--shm-accent)}
.shm-all{display:inline-flex;gap:6px;align-items:center;font-weight:700;font-size:14px;text-decoration:none}
.shm-sections{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-bottom:48px}
.shm-section__main .shm-card__title{font-size:1.2rem;line-height:1.25}
.shm-section__main .shm-card__excerpt{font-size:.92rem}
.shm-heads{list-style:none;margin:14px 0 0;padding:0}
.shm-heads li{margin:0;padding:10px 0;border-top:1px solid var(--shm-line);line-height:1.35}
.shm-heads a{font-family:var(--shm-head);font-weight:600;color:var(--shm-ink);text-decoration:none}
.shm-heads a:hover{color:var(--shm-accent)}
.shm-explain{background:var(--shm-navy);color:#d6deea;padding:48px 0;margin-bottom:48px}
.shm-explain__head{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap;margin-bottom:24px}
.shm-explain__head h2{margin:0;color:#fff!important;font-size:2rem}
.shm-explain__head p{margin:0;font-style:italic;font-family:var(--shm-head)}
.shm-explain__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.shm-site .shm-exp{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid rgba(255,255,255,.18);text-decoration:none;color:#fff;transition:background .2s}
.shm-site .shm-exp:hover{background:rgba(255,255,255,.06)}
.shm-exp__n{font-family:var(--shm-head);font-size:2.4rem;line-height:1;color:var(--shm-accent2)}
.shm-exp strong{font-family:var(--shm-head);font-size:1.15rem;line-height:1.3}
.shm-exp small{color:#9fb0c7}
.shm-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}

/* single */
.shm-site .shm-kicker{color:var(--shm-accent);font-size:12.5px;letter-spacing:.1em}
.shm-site.single .entry-title{font-size:clamp(2rem,3.6vw,3rem);line-height:1.1;font-weight:700}
.shm-site .shm-standfirst{font-family:var(--shm-head);font-size:1.3rem;line-height:1.45;color:var(--shm-ink);opacity:.8}
.shm-site .shm-feature{margin:1.4rem 0 0}
.shm-byline--bar{margin:0 0 28px;padding:12px 0;border-bottom:1px solid var(--shm-line);gap:12px}
.shm-byline--bar .shm-byline__photo{width:40px;height:40px;filter:grayscale(1)}
.shm-byline--bar .shm-byline__text{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 10px}
.shm-byline--bar .shm-byline__role::before{content:"·";margin-right:10px}
.shm-byline--bar .shm-byline__meta{flex-basis:100%;font-family:'IBM Plex Mono',monospace;font-size:12px}
.shm-site .entry-content{font-size:18px}
.shm-site:not(.home) .entry-content > p:first-of-type::first-letter{float:left;font-family:var(--shm-head);font-size:3.6em;line-height:.85;padding:6px 8px 0 0;color:var(--shm-accent)}
.shm-site:not(.home) .entry-content h2{font-size:1.6rem;margin-top:2em}
.shm-site:not(.home) .entry-content blockquote{border-left:0;border-top:3px solid var(--shm-accent2);border-bottom:1px solid var(--shm-line);padding:18px 0;font-family:var(--shm-head);font-size:1.35rem;font-style:italic}
.shm-site:not(.home) .entry-content table{font-size:15px;font-variant-numeric:tabular-nums}
.shm-site:not(.home) .entry-content th{background:var(--shm-surface);text-align:left}

/* related: two big */
.shm-related--duo{border-top:3px solid var(--shm-ink);padding-top:12px}
.shm-related--duo .shm-related__title{font-family:var(--shm-body);font-size:13px;letter-spacing:.09em;text-transform:uppercase}
.shm-related--duo .shm-related__list{grid-template-columns:1fr 1fr;gap:28px}
.shm-related--duo .shm-card__title{font-size:1.35rem;line-height:1.2}

/* author box: rule */
.shm-author--rule{padding:22px 0 0;border-top:1px solid var(--shm-ink);background:transparent}
.shm-author--rule .shm-author__photo{width:72px;height:72px;filter:grayscale(1)}
.shm-author--rule .shm-author__name{font-size:1.2rem}
.shm-author--team,.shm-author--archive{padding:24px;border:1px solid var(--shm-line)}

/* sidebar (left) */
.shm-site .sidebar .widget{background:transparent;padding:0 0 24px;border-top:3px solid var(--shm-ink)}
.shm-site .sidebar .widget-title{font-family:var(--shm-body);font-size:13px;letter-spacing:.09em;text-transform:uppercase;padding-top:10px}

/* archives: two-column grid */
.shm-site.blog .site-main,.shm-site.archive .site-main,.shm-site.search .site-main{display:grid;grid-template-columns:1fr 1fr;gap:0 32px;align-content:start}
.shm-site.blog .site-main > *:not(article),.shm-site.archive .site-main > *:not(article),.shm-site.search .site-main > *:not(article){grid-column:1 / -1}
.shm-site.blog .site-main > article,.shm-site.archive .site-main > article,.shm-site.search .site-main > article{border-top:1px solid var(--shm-line);padding-top:18px}
.shm-site.blog .post-image img,.shm-site.archive .post-image img{aspect-ratio:16/10;object-fit:cover;width:100%}
.shm-site.blog .entry-title,.shm-site.archive .entry-title{font-size:1.35rem}
.shm-site .page-header{border-bottom:4px double var(--shm-ink)}

/* footer: dark, brand on the right */
.shm-footer--dark3{background:var(--shm-navy);color:#c3cede}
.shm-footer--dark3 .shm-footer__cols{grid-template-columns:1fr 1fr 1.4fr}
.shm-footer--dark3 .shm-footer__brand{padding-left:32px;border-left:1px solid rgba(255,255,255,.15)}
.shm-footer--dark3 .shm-footer__name{color:#fff;font-size:1.6rem}
.shm-footer--dark3 .shm-footer__blurb{font-family:var(--shm-head);font-style:italic;font-size:1.05rem}
.shm-footer--dark3 .shm-footer__title{color:var(--shm-accent2)}
.shm-footer--dark3 .shm-footer__email a{color:#fff}
.shm-footer--dark3 .shm-footer__bottom{border-top:1px solid rgba(255,255,255,.15)}

@media (max-width:1100px){
	.shm-front{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
	.shm-front__briefs{grid-column:1 / -1;padding:28px 0 0}
	.shm-front__second{border-right:0;padding-right:0}
	.shm-sections,.shm-cols,.shm-explain__grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
	.shm-front{grid-template-columns:1fr}
	.shm-front__lead{padding:0 0 24px;border-right:0;border-bottom:1px solid var(--shm-line)}
	.shm-front__second{padding:24px 0 0}
	.shm-sections,.shm-cols,.shm-explain__grid,.shm-related--duo .shm-related__list{grid-template-columns:1fr}
	.shm-site.blog .site-main,.shm-site.archive .site-main,.shm-site.search .site-main{grid-template-columns:1fr}
	.shm-footer--dark3 .shm-footer__cols{grid-template-columns:1fr}
	.shm-footer--dark3 .shm-footer__brand{padding-left:0;border-left:0}
	.shm-topbar__tag{display:none}
	.shm-site .main-title a{font-size:1.8rem}
}
