/* ==========================================================================
   Strictly Medicinal Seeds Blog — main stylesheet.
   Same tokens as the shop's sms-theme (forest, cream, Lexend). Text on orange is always ink.
   1 Fonts · 2 Tokens · 3 Base · 4 Buttons & forms · 5 Header · 6 Title band & topics ·
   7 Layout · 8 Post list · 9 Single post & content · 10 Comments · 11 Sidebar · 12 Footer · 13 Responsive
   ========================================================================== */

/* 1 Fonts */
@font-face { font-family: "Lexend"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../fonts/lexend-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"); size-adjust: 109.5%; ascent-override: 91.4%; descent-override: 22.8%; line-gap-override: 0%; }
@font-face { font-family: "Lexend Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); size-adjust: 108.5%; ascent-override: 92.2%; descent-override: 23%; line-gap-override: 0%; }

/* 2 Tokens */
:root {
	--forest: #0E3B2C;
	--forest-deep: #0A2A1F;
	--accent: #F26A1B;
	--sage: #C9D6B3;
	--cream: #FFF6E6;
	--cream-2: #F6EBD6;
	--ink: #15201B;
	--muted: #4A5650;
	--rust: #B8480C;
	--footer-text: #E8E0CF;
	--line: rgba(21,32,27,.14);
	--line-strong: rgba(21,32,27,.32);
	--radius: 24px;
	--radius-sm: 14px;
	--pill: 999px;
	--max: 1240px;
	--gutter: 32px;
	--font: "Lexend", "Lexend Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
	--shadow: 0 10px 30px rgba(14,59,44,.10);
}

/* 3 Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--font); }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.2; color: var(--forest); margin: 0 0 .5em; letter-spacing: -.01em; }
.sms-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sms-skip:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; padding: 10px 16px; border-radius: var(--pill); }
.sms-icon { flex: none; }

/* 4 Buttons & forms */
.sms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border: 0; border-radius: var(--pill); background: var(--forest); color: var(--cream); font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.sms-btn:hover { color: var(--cream); background: #16513d; transform: translateY(-1px); }
.sms-btn--accent, .sms-btn--accent:hover { background: var(--accent); color: var(--ink); }
.sms-btn--accent:hover { background: #ff7a2b; }
.sms-readmore { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--forest); text-decoration: none; }
.sms-readmore .sms-icon { width: 18px; height: 18px; transition: transform .15s; }
.sms-readmore:hover .sms-icon { transform: translateX(3px); }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
	width: 100%; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: inherit; }
textarea { min-height: 140px; }
input:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(14,59,44,.15); }
.sms-search { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--pill); padding: 3px 3px 3px 16px; }
.sms-search input[type="search"] { border: 0; min-height: 40px; padding: 0; background: transparent; box-shadow: none; }
.sms-search button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--forest); color: var(--cream); cursor: pointer; }
.sms-search button .sms-icon { width: 18px; height: 18px; }

/* 5 Header */
.sms-announce { background: var(--sage); text-align: center; font-size: 14px; }
.sms-announce a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; color: var(--ink); text-decoration: none; }
.sms-announce .sms-icon { width: 16px; height: 16px; }
.sms-header { position: sticky; top: 0; z-index: 50; background: var(--forest); color: var(--cream); }
.sms-header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.sms-header__logo { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--cream); flex: none; }
.sms-header__logo .sms-logo { width: 128px; height: auto; }
.sms-header__blogname { padding-left: 16px; border-left: 1px solid rgba(255,246,230,.35); font-weight: 600; font-size: 18px; white-space: nowrap; }
.sms-header__logo:hover { color: var(--sage); }
.sms-nav { flex: 1; display: flex; justify-content: center; }
.sms-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.sms-nav__list a { display: block; padding: 10px 14px; border-radius: var(--pill); color: var(--cream); text-decoration: none; font-weight: 500; font-size: 15px; }
.sms-nav__list a:hover, .sms-nav__list .current-menu-item > a { background: rgba(255,246,230,.12); color: #fff; }
.sms-nav__search { display: none; }
.sms-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.sms-header__search-btn, .sms-header__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer; }
.sms-header__search-btn:hover, .sms-header__toggle:hover { background: rgba(255,246,230,.12); }
.sms-header__toggle { display: none; } /* phone only */
.sms-search-panel { background: var(--forest-deep); padding: 14px 0; }
.sms-search-panel .sms-search { max-width: 640px; margin: 0 auto; }

/* 6 Title band & topics */
.sms-band { padding: 56px 0 0; text-align: center; }
.sms-band__title { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; margin: 0; letter-spacing: -.02em; }
.sms-band__intro { max-width: 640px; margin: 14px auto 0; color: var(--muted); font-size: 18px; }
.sms-catbar { margin-top: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sms-catbar ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; list-style: none; margin: 0; padding: 10px 0; }
.sms-catbar a { display: block; padding: 10px 16px; border-radius: var(--pill); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.sms-catbar a:hover { background: var(--cream-2); color: var(--forest); }
.sms-catbar a[aria-current="page"] { background: var(--forest); color: var(--cream); }
.sms-eyebrow { display: inline-block; margin-bottom: 10px; color: var(--rust); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.sms-eyebrow:hover { color: var(--forest); }

/* 7 Layout */
.sms-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding-top: 48px; padding-bottom: 80px; align-items: start; }
.sms-page { max-width: 820px; margin: 0 auto; padding: 40px var(--gutter) 80px; }

/* 8 Post list */
.sms-post { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.sms-post:first-child { border-top: 0; padding-top: 0; }
.sms-post:not(:has(.sms-post__img)) { grid-template-columns: 1fr; }
.sms-post__img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--cream-2); aspect-ratio: 3 / 2; }
.sms-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sms-post__img:hover img { transform: scale(1.03); }
.sms-post__title { font-size: 1.55rem; font-weight: 700; margin-bottom: 6px; }
.sms-post__title a { color: var(--forest); text-decoration: none; }
.sms-post__title a:hover { color: var(--rust); }
.sms-post__excerpt p { margin: 10px 0 14px; color: var(--ink); }
.sms-meta { margin: 0; color: var(--muted); font-size: 14px; }
.sms-meta__author { font-weight: 600; color: var(--ink); }
.sms-meta__dot { margin: 0 8px; }
/* The newest post, large */
.sms-post--lead { grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
.sms-post--lead .sms-post__img { aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.sms-post--lead .sms-post__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.sms-post--lead .sms-post__excerpt { font-size: 18px; }
.sms-post--lead .sms-readmore { min-height: 44px; padding: 10px 22px; border-radius: var(--pill); background: var(--accent); color: var(--ink); }
.sms-pagination { margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.sms-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sms-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 16px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.sms-pagination .page-numbers.current { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.sms-pagination a.page-numbers:hover { border-color: var(--forest); color: var(--forest); }
.sms-empty { padding: 32px; background: #fff; border-radius: var(--radius); }

/* 9 Single post & content */
.sms-entry__head { margin-bottom: 28px; }
.sms-entry__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 12px; }
.sms-entry__img { margin: 0 0 36px; }
.sms-entry__img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.sms-content { font-size: 18px; line-height: 1.75; }
.sms-content > * { max-width: 760px; }
.sms-content > .alignwide, .sms-content > .alignfull, .sms-content > figure, .sms-content > .wp-block-image, .sms-content > .wp-block-embed { max-width: none; }
.sms-content h2 { font-size: 1.7rem; margin-top: 1.8em; }
.sms-content h3 { font-size: 1.35rem; margin-top: 1.6em; }
.sms-content h4 { font-size: 1.1rem; margin-top: 1.4em; }
.sms-content img { border-radius: var(--radius-sm); }
.sms-content figure { margin: 2em 0; }
.sms-content figcaption, .sms-content .wp-caption-text { margin-top: 8px; color: var(--muted); font-size: 14px; text-align: center; }
.sms-content .wp-caption { max-width: 100%; }
.sms-content .alignleft { float: left; margin: .4em 28px 1em 0; max-width: 50%; }
.sms-content .alignright { float: right; margin: .4em 0 1em 28px; max-width: 50%; }
.sms-content .aligncenter { margin-left: auto; margin-right: auto; }
.sms-content blockquote { margin: 2em 0; padding: 20px 28px; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.1em; }
.sms-content blockquote p { margin: 0 0 .6em; }
.sms-content blockquote p:last-child, .sms-content blockquote cite { margin: 0; font-size: 15px; color: var(--muted); font-style: normal; }
.sms-content ul, .sms-content ol { padding-left: 1.3em; }
.sms-content li { margin-bottom: .4em; }
.sms-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.sms-content th, .sms-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.sms-content iframe { border-radius: var(--radius-sm); }
/* Videos: rounded; tall phone videos (Shorts, block class sms-video-portrait) centred at a readable height */
.sms-content .wp-block-video video { width: 100%; border-radius: var(--radius); background: var(--forest-deep); }
.sms-content .wp-block-video.sms-video-portrait video { width: auto; max-width: 100%; max-height: min(80vh, 760px); aspect-ratio: 9 / 16; display: block; margin: 0 auto; object-fit: cover; box-shadow: var(--shadow); }
.sms-content::after { content: ""; display: table; clear: both; }
.sms-entry__foot { margin-top: 40px; }
.sms-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sms-tags a { padding: 6px 14px; border-radius: var(--pill); background: var(--cream-2); color: var(--ink); text-decoration: none; font-size: 14px; }
.sms-shopbox { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 32px 0; padding: 24px 28px; border-radius: var(--radius); background: var(--forest); color: var(--cream); }
.sms-shopbox p { margin: 0; font-size: 18px; font-weight: 500; }
.sms-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sms-postnav a { display: block; height: 100%; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; }
.sms-postnav a:hover { border-color: var(--forest); }
.sms-postnav .nav-next { text-align: right; grid-column: 2; }
.sms-postnav__label { display: block; color: var(--rust); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sms-postnav__title { display: block; margin-top: 4px; color: var(--forest); font-weight: 600; }

/* 10 Comments */
.sms-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.sms-comments__title { font-size: 1.6rem; }
.sms-comments__list, .sms-comments__list .children { list-style: none; margin: 0; padding: 0; }
.sms-comments__list .children { margin-left: 28px; padding-left: 20px; border-left: 2px solid var(--line); }
.sms-comment { margin: 0 0 18px; padding: 20px 22px; background: #fff; border-radius: var(--radius-sm); }
.sms-comment__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.sms-comment__avatar { border-radius: 50%; }
.sms-comment__author { display: block; font-weight: 600; }
.sms-comment__date { color: var(--muted); font-size: 14px; text-decoration: none; }
.sms-comment__text { font-size: 16px; }
.sms-comment__text p { margin: 0 0 .7em; }
.sms-comment__actions { display: flex; gap: 16px; font-size: 14px; font-weight: 600; }
.sms-comment__moderation { color: var(--rust); font-size: 14px; }
.comment-respond { margin-top: 32px; }
.comment-form p { margin: 0 0 16px; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 15px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* 11 Sidebar */
.sms-layout__side { display: grid; gap: 28px; }
.sms-widget { margin: 0; }
.sms-widget__title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rust); margin-bottom: 12px; }
.sms-welcome { padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.sms-welcome__photo { width: 96px; height: 96px; margin-bottom: 16px; border-radius: 50%; object-fit: cover; }
.sms-welcome__title { font-size: 2rem; font-weight: 300; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 10px; }
.sms-welcome p { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.sms-social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sms-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream-2); color: var(--forest); }
.sms-social a:hover { background: var(--forest); color: var(--cream); }
.sms-promo { display: grid; gap: 8px; overflow: hidden; padding: 0 0 24px; border-radius: var(--radius); background: var(--forest); color: var(--cream); text-decoration: none; }
.sms-promo:not(:has(img)) { padding-top: 26px; }
.sms-promo__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; }
.sms-promo__title { padding: 0 24px; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.sms-promo__text { padding: 0 24px; color: var(--footer-text); font-size: 15px; }
.sms-promo .sms-btn { justify-self: start; margin: 8px 24px 0; }
.sms-promo:hover { color: var(--cream); }
.sms-promo:hover .sms-btn { transform: translateY(-1px); }
/* Widgets carried over from Greenhouse Pro (podcast picture, videos, Jetpack ...) */
.sms-layout__side .sms-widget:not(.sms-welcome, .sms-promo, .sms-sidesearch) { font-size: 15px; }
.sms-layout__side .widget_search { display: none; } /* The theme's own search box is above. */
.sms-layout__side .sms-widget ul { list-style: none; margin: 0; padding: 0; }
.sms-layout__side .sms-widget:not(.sms-welcome) li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sms-layout__side .sms-widget li a { text-decoration: none; }
.sms-layout__side .sms-widget img { border-radius: var(--radius-sm); }
.sms-layout__side .sms-widget iframe { width: 100%; border-radius: var(--radius-sm); }
.sms-layout__side .sms-widget iframe[src*="youtube"] { height: auto; aspect-ratio: 16 / 9; }
.sms-layout__side .wp-block-heading { font-size: 1.1rem; }
.sms-layout__side .wp-block-heading a { text-decoration: none; }
.sms-layout__side .wp-block-spacer { display: none; }
.sms-layout__side .wp-block-image:has(img:not([src])) { display: none; }

/* 12 Footer */
.sms-footer { background: var(--forest-deep); color: var(--footer-text); padding: 56px 0 24px; font-size: 15px; }
.sms-footer a { color: var(--footer-text); text-decoration: none; }
.sms-footer a:hover { color: #fff; text-decoration: underline; }
.sms-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.sms-footer .sms-logo { width: 160px; margin-bottom: 16px; }
.sms-footer__about p { max-width: 380px; margin: 0 0 18px; }
.sms-footer h2 { color: var(--sage); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.sms-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sms-footer__menu a { display: inline-block; padding: 6px 0; }
.sms-footer .sms-social a { background: rgba(255,246,230,.1); color: var(--cream); }
.sms-footer .sms-social a:hover { background: var(--cream); color: var(--forest); text-decoration: none; }
.sms-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,246,230,.15); font-size: 14px; }
.sms-footer__bottom p { margin: 0; }

/* 13 Responsive */
@media (max-width: 1100px) {
	.sms-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
	.sms-post { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
	.sms-post--lead { grid-template-columns: 1fr; }
	.sms-header__blogname { display: none; }
}
@media (max-width: 960px) {
	.sms-layout { grid-template-columns: 1fr; }
	.sms-layout__side { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
	.sms-header__inner { gap: 12px; }
	.sms-header__toggle { display: grid; order: 0; margin-left: -10px; }
	.sms-header__logo { order: 1; }
	.sms-header__actions { order: 2; margin-left: auto; }
	.sms-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 8px var(--gutter) 20px; background: var(--forest); border-top: 1px solid rgba(255,246,230,.15); box-shadow: 0 20px 30px rgba(0,0,0,.2); }
	.sms-nav-open .sms-nav { display: flex; }
	.sms-nav__list { flex-direction: column; gap: 0; }
	.sms-nav__list a { padding: 12px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,246,230,.12); font-size: 17px; }
	.sms-nav__search { display: block; margin-top: 16px; }
	.sms-header__search-btn { display: none; }
	.sms-footer__grid { grid-template-columns: 1fr 1fr; }
	.sms-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	:root { --gutter: 18px; }
	body { font-size: 16px; }
	.sms-announce { font-size: 13px; }
	.sms-announce a { padding: 6px 12px; }
	.sms-header__inner { min-height: 64px; }
	.sms-header__logo .sms-logo { width: 104px; }
	.sms-header__shop { min-height: 40px; padding: 8px 16px; font-size: 14px; }
	.sms-band { padding-top: 36px; }
	.sms-band__intro { font-size: 16px; }
	.sms-catbar { margin-top: 24px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
	.sms-catbar ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 8px var(--gutter); scrollbar-width: none; }
	.sms-catbar li { flex: none; }
	.sms-catbar a { padding: 10px 14px; font-size: 13px; }
	.sms-layout { padding-top: 28px; }
	.sms-post { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
	.sms-post__title { font-size: 1.35rem; }
	.sms-content { font-size: 17px; }
	.sms-content .alignleft, .sms-content .alignright { float: none; margin: 1em auto; max-width: 100%; }
	.sms-shopbox { flex-direction: column; align-items: flex-start; }
	.sms-postnav .nav-links { grid-template-columns: 1fr; }
	.sms-postnav .nav-next { grid-column: auto; }
	.sms-comments__list .children { margin-left: 8px; padding-left: 12px; }
	.sms-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
