/*
Theme Name: Magazine Life
Template: colormag
Description: Magazine Life's editorial child theme for the Hebrew cannabis magazine.
Version: 1.1.0
*/

:root {
	--ml-ink: #18251f;
	--ml-muted: #66736c;
	--ml-green: #1f5b45;
	--ml-green-dark: #123b2d;
	--ml-gold: #b08a3e;
	--ml-cream: #f6f4ee;
	--ml-border: #e4e8e2;
}

/* ---------------------------------------------------------------------
   "tc-guide" in-depth article design system, matching the format used
   by the magazine's flagship guides (strain selection, beginner's guide,
   terpene profiles). Shared globally so every article can use the same
   rich components: hero, quick-fact summary cards, alternating sections,
   comparison cards/tables, checklists, common-mistakes grids and FAQ.
   ------------------------------------------------------------------- */
.tc-guide,
.tc-guide * {
	box-sizing: border-box;
}

.tc-guide {
	--green-dark: #0d3b2b;
	--green: #175a42;
	--green-soft: #eaf3ed;
	--gold: #c49335;
	--gold-light: #f5dfae;
	--cream: #f7f5ef;
	--white: #ffffff;
	--text: #24332d;
	--muted: #66736d;
	--border: #dce5df;
	max-width: 1040px;
	margin: 30px auto;
	direction: rtl;
	text-align: right;
	color: var(--text);
	font-family: Arial, "Heebo", sans-serif;
	line-height: 1.85;
}

.tc-guide a {
	color: var(--green);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.tc-guide a:hover {
	color: var(--gold);
}

.tc-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
	padding: 55px 50px;
	border-radius: 28px;
	color: var(--white);
	background:
		radial-gradient(circle at 10% 10%, rgba(196, 147, 53, .24) 0 18%, transparent 19%),
		linear-gradient(135deg, #0b3326 0%, #175a42 100%);
	box-shadow: 0 20px 45px rgba(13, 59, 43, .18);
}

.tc-hero::after {
	content: "";
	position: absolute;
	left: -75px;
	bottom: -85px;
	width: 230px;
	height: 230px;
	border: 35px solid rgba(255, 255, 255, .05);
	border-radius: 50%;
}

.tc-label {
	position: relative;
	z-index: 1;
	order: 1;
	display: inline-block;
	width: auto;
	margin: 0 0 20px;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--gold-light);
	color: var(--green-dark);
	font-size: 15px;
	font-weight: 800;
}

.tc-hero .tc-hero-title {
	position: relative;
	z-index: 1;
	order: 2;
	max-width: 780px;
	margin: 0 0 20px;
	padding: 0;
	color: var(--white);
	font-size: clamp(34px, 6vw, 58px);
	font-weight: 900;
	line-height: 1.15;
}

.tc-hero .tc-hero-title::before {
	display: none;
}

.tc-intro {
	position: relative;
	z-index: 1;
	order: 3;
	max-width: 800px;
	margin: 0;
	color: #f3f7f4;
	font-size: 20px;
	line-height: 1.8;
}

.tc-summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 28px 0;
}

.tc-summary-card {
	padding: 25px;
	border: 1px solid var(--border);
	border-radius: 20px;
	background: var(--white);
	box-shadow: 0 10px 28px rgba(20, 55, 42, .07);
}

.tc-summary-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 43px;
	height: 43px;
	margin: 0 0 15px;
	border-radius: 50%;
	background: var(--green-dark);
	color: var(--white);
	font-size: 18px;
	font-weight: 900;
}

.tc-card-heading {
	display: block;
	margin: 0 0 7px;
	color: var(--green-dark);
	font-size: 19px;
	font-weight: 800;
}

.tc-summary-card p:last-child {
	margin: 0;
	color: var(--muted);
	font-size: 16px;
}

.tc-section {
	margin: 28px 0;
	padding: 38px;
	border: 1px solid var(--border);
	border-radius: 24px;
	background: var(--white);
	box-shadow: 0 10px 30px rgba(20, 55, 42, .06);
}

.tc-section-alt {
	background: var(--cream);
}

.tc-guide h2 {
	position: relative;
	margin: 0 0 22px;
	padding-right: 20px;
	color: var(--green-dark);
	font-size: clamp(26px, 4vw, 35px);
	line-height: 1.35;
}

.tc-guide h2::before {
	content: "";
	position: absolute;
	top: 7px;
	right: 0;
	width: 6px;
	height: calc(100% - 14px);
	border-radius: 10px;
	background: var(--gold);
}

.tc-guide p {
	margin-top: 0;
	margin-bottom: 18px;
	font-size: 18px;
}

.tc-note {
	margin: 25px 0 0;
	padding: 24px 26px;
	border-right: 6px solid var(--gold);
	border-radius: 14px;
	background: #fff8e9;
}

.tc-note p:last-child {
	margin-bottom: 0;
	font-size: 16px;
}

.tc-comparison {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 25px;
}

.tc-compare-card {
	padding: 28px;
	border-radius: 20px;
	background: var(--green-soft);
	border-top: 5px solid var(--green);
}

.tc-compare-card.gold {
	background: #fbf4e6;
	border-top-color: var(--gold);
}

.tc-compare-card p:last-child {
	margin-bottom: 0;
	font-size: 16px;
}

.tc-table-wrap {
	overflow-x: auto;
	margin-top: 24px;
	border: 1px solid var(--border);
	border-radius: 18px;
}

.tc-table {
	width: 100%;
	min-width: 650px;
	border-collapse: collapse;
	background: var(--white);
}

.tc-table th,
.tc-table td {
	padding: 18px;
	border-bottom: 1px solid var(--border);
	text-align: right;
	vertical-align: top;
}

.tc-table th {
	background: var(--green-dark);
	color: var(--white);
}

.tc-table tr:nth-child(even) td {
	background: #f8faf8;
}

.tc-table tr:last-child td {
	border-bottom: 0;
}

.tc-check-section {
	background: linear-gradient(135deg, #f2f7f3, #fbf8ee);
}

.tc-check-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 22px;
}

.tc-check-item {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 15px;
	align-items: start;
	padding: 20px;
	border: 1px solid var(--border);
	border-radius: 17px;
	background: var(--white);
}

.tc-check-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	margin: 0;
	border-radius: 12px;
	background: var(--green-dark);
	color: var(--gold-light);
	font-weight: 900;
}

.tc-check-item p:last-child {
	margin: 0;
	font-size: 16px;
}

.tc-mistakes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin-top: 24px;
}

.tc-mistake {
	padding: 24px;
	border: 1px solid #ead9ce;
	border-radius: 18px;
	background: #fff9f5;
}

.tc-mistake-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0 0 12px;
	border-radius: 50%;
	background: #b65735;
	color: #fff;
	font-weight: 900;
}

.tc-mistake p:last-child {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 16px;
}

.tc-faq details {
	margin-bottom: 13px;
	border: 1px solid var(--border);
	border-radius: 15px;
	background: var(--white);
}

.tc-faq summary {
	padding: 19px 22px;
	color: var(--green-dark);
	font-size: 18px;
	font-weight: 800;
	cursor: pointer;
}

.tc-faq details p {
	margin: 0;
	padding: 0 22px 22px;
	color: var(--muted);
	font-size: 16px;
}

.tc-conclusion {
	margin-top: 30px;
	padding: 40px;
	border-radius: 24px;
	background: linear-gradient(135deg, var(--green-dark), #1d654b);
	color: var(--white);
}

.tc-conclusion h2,
.tc-conclusion p {
	color: var(--white);
}

.tc-disclaimer {
	margin-top: 25px;
	padding: 18px 22px;
	border: 1px dashed #a7b8ae;
	border-radius: 14px;
	background: #f3f7f4;
	color: #53635b;
	font-size: 14px;
}

.tc-article-image {
	overflow: hidden;
	margin: 28px 0;
	border-radius: 24px;
	box-shadow: 0 15px 35px rgba(13, 59, 43, .14);
}

.tc-article-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* Related-reading grid: replaces plain bullet-point "read also" lists
   with proper visual cards, matching the rest of the magazine. */
.tc-related {
	margin-top: 30px;
}

.tc-related-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 18px;
}

.tc-related-card {
	display: block;
	padding: 18px 20px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--white);
	color: var(--green-dark) !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-related-card:hover {
	box-shadow: 0 10px 24px rgba(20, 55, 42, .1);
	transform: translateY(-2px);
}

.tc-related-card span {
	display: block;
	color: var(--gold);
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 6px;
	text-transform: uppercase;
}

@media (max-width: 760px) {
	.tc-guide {
		margin: 15px auto;
	}

	.tc-hero {
		padding: 38px 25px;
		border-radius: 20px;
	}

	.tc-intro {
		font-size: 17px;
	}

	.tc-summary,
	.tc-comparison,
	.tc-check-grid,
	.tc-mistakes,
	.tc-related-grid {
		grid-template-columns: 1fr;
	}

	.tc-section,
	.tc-conclusion {
		padding: 26px 21px;
		border-radius: 19px;
	}

	.tc-guide p {
		font-size: 17px;
	}
}

.ml-empty-state {
	background: #fff;
	border: 1px dashed var(--ml-border);
	border-radius: 16px;
	margin: 20px 0 40px;
	padding: 48px 30px;
	text-align: center;
}

.ml-empty-state h2 {
	color: var(--ml-green-dark);
	margin-top: 0;
}

.ml-empty-state p {
	color: var(--ml-muted);
	margin-bottom: 20px;
}

.ml-empty-state__link {
	background: var(--ml-green);
	border-radius: 999px;
	color: #fff !important;
	display: inline-block;
	font-weight: 700;
	padding: 10px 26px;
	text-decoration: none !important;
}

.ml-empty-state__link:hover {
	background: var(--ml-green-dark);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--ml-cream);
	color: var(--ml-ink);
	font-family: "Heebo", "Arial", sans-serif;
	line-height: 1.7;
}

a {
	color: var(--ml-green);
}

a:hover,
a:focus {
	color: var(--ml-green-dark);
}

.site-header {
	background: #fff;
	box-shadow: 0 2px 18px rgba(24, 37, 31, 0.08);
}

.header-socket-wrapper,
.main-navigation,
.footer-socket-wrapper {
	background: var(--ml-green-dark);
}

.main-navigation {
	border-top: 0;
	border-bottom: 3px solid var(--ml-gold);
}

#site-navigation .menu-primary-container {
	display: flex;
	justify-content: center;
}

#site-navigation ul li a {
	font-size: 15px;
	font-weight: 700;
	padding: 15px 18px;
}

#site-navigation ul li:hover > a,
#site-navigation ul li.current-menu-item > a {
	background: var(--ml-green);
}

.ml-magazine-bar {
	background: #fff;
	border-bottom: 1px solid var(--ml-border);
	direction: rtl;
}

.ml-magazine-bar__inner {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	min-height: 64px;
}

.ml-topic-nav {
	align-items: center;
	display: flex;
	gap: 18px;
	min-width: 0;
}

.ml-topic-nav__label {
	color: var(--ml-green-dark);
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

.ml-topic-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ml-topic-nav a {
	color: var(--ml-ink);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.ml-topic-nav a:hover,
.ml-topic-nav a:focus {
	color: var(--ml-gold);
}

.ml-search-form {
	border: 1px solid var(--ml-border);
	border-radius: 999px;
	display: flex;
	flex: 0 1 310px;
	min-height: 38px;
	overflow: hidden;
}

.ml-search-form input {
	background: transparent;
	border: 0;
	color: var(--ml-ink);
	font-family: inherit;
	font-size: 14px;
	min-width: 0;
	outline: 0;
	padding: 7px 15px;
	width: 100%;
}

.ml-search-form input::placeholder {
	color: var(--ml-muted);
}

.ml-search-form button {
	background: var(--ml-green);
	border: 0;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	padding: 7px 18px;
}

.ml-search-form button:hover,
.ml-search-form button:focus {
	background: var(--ml-green-dark);
}

.inner-wrap,
.main-content-section {
	max-width: 1180px;
}

.main-content-section {
	padding-top: 34px;
}

.front-page-top-section,
.front-page-middle-section,
.front-page-bottom-section {
	margin-bottom: 36px;
}

.ml-home {
	direction: rtl;
}

.home .cm-entry-header {
	display: none;
}

.home .post {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding-bottom: 0;
}

.home .cm-entry-summary > .alignwide.ml-home {
	box-sizing: border-box;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100%;
	width: 100%;
}

.home article > .entry-title {
	display: none;
}

.ml-home-intro {
	background: linear-gradient(135deg, var(--ml-green-dark), var(--ml-green));
	border-radius: 16px;
	color: #fff;
	margin-bottom: 34px;
	padding: clamp(28px, 5vw, 56px);
}

.ml-home-intro h1,
.ml-home-intro h2,
.ml-home-intro p {
	color: inherit;
	margin-top: 0;
}

.ml-home-intro p:last-child {
	margin-bottom: 0;
	max-width: 720px;
}

.ml-card-grid .wp-block-columns {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
}

.ml-card-grid .wp-block-column {
	background: #fff;
	border: 1px solid var(--ml-border);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(24, 37, 31, 0.06);
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	padding: 0;
}

.ml-card-grid .wp-block-column figure {
	margin: 0;
}

.ml-card-grid .wp-block-column img {
	aspect-ratio: 16 / 10;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ml-card-grid .wp-block-column h3,
.ml-card-grid .wp-block-column p {
	padding-left: 20px;
	padding-right: 20px;
}

.ml-card-grid .wp-block-column .ml-card-category {
	color: var(--ml-gold);
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 0;
	padding-top: 18px;
	text-transform: uppercase;
}

.ml-card-grid .wp-block-column .ml-card-category a {
	color: inherit;
}

.ml-card-grid .wp-block-column h3 {
	font-size: 21px;
	line-height: 1.35;
	margin-bottom: 8px;
}

.ml-card-grid .wp-block-column p:last-child {
	color: var(--ml-muted);
	margin-bottom: 22px;
}

.ml-section-title {
	border-bottom: 3px solid var(--ml-gold);
	display: inline-block;
	font-size: clamp(22px, 3vw, 30px);
	margin: 40px 0 24px;
	padding-bottom: 10px;
}

.ml-hero-section {
	display: grid;
	gap: 24px;
	margin-bottom: 8px;
}

.ml-hero {
	background: #fff;
	border: 1px solid var(--ml-border);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(24, 37, 31, 0.08);
	display: grid;
	gap: 0;
	grid-template-columns: 1.2fr 1fr;
	overflow: hidden;
}

.ml-hero-media {
	display: block;
	overflow: hidden;
}

.ml-hero-media img {
	aspect-ratio: 4 / 3;
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	width: 100%;
}

.ml-hero:hover .ml-hero-media img {
	transform: scale(1.04);
}

.ml-hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(24px, 3vw, 40px);
}

.ml-hero-content h2 {
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.3;
	margin: 6px 0 14px;
}

.ml-hero-content h2 a {
	color: var(--ml-green-dark);
	text-decoration: none;
}

.ml-hero-content .ml-card-excerpt {
	color: var(--ml-muted);
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 18px;
}

.ml-hero-link {
	color: var(--ml-gold);
	font-weight: 800;
	text-decoration: none;
}

.ml-hero-link:hover {
	text-decoration: underline;
}

.ml-secondary-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ml-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ml-card {
	background: #fff;
	border: 1px solid var(--ml-border);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(24, 37, 31, 0.06);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ml-card:hover {
	box-shadow: 0 14px 32px rgba(24, 37, 31, 0.12);
	transform: translateY(-3px);
}

.ml-card-media {
	display: block;
	overflow: hidden;
}

.ml-card-media img {
	aspect-ratio: 16 / 10;
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	width: 100%;
}

.ml-card:hover .ml-card-media img {
	transform: scale(1.05);
}

.ml-card-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 18px 20px 22px;
}

.ml-card-category {
	color: var(--ml-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.ml-card-category a {
	color: inherit;
	text-decoration: none;
}

.ml-card h3 {
	font-size: 19px;
	line-height: 1.35;
	margin: 0 0 10px;
}

.ml-card h3 a {
	color: var(--ml-green-dark);
	text-decoration: none;
}

.ml-card h3 a:hover {
	color: var(--ml-gold);
}

.ml-card-excerpt {
	color: var(--ml-muted);
	font-size: 14.5px;
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 900px) {
	.ml-hero {
		grid-template-columns: 1fr;
	}

	.ml-hero-media img {
		aspect-ratio: 16 / 9;
	}

	.ml-secondary-grid,
	.ml-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.ml-secondary-grid,
	.ml-grid {
		grid-template-columns: 1fr;
	}
}

.ml-note {
	background: #f0f5ef;
	border-right: 4px solid var(--ml-gold);
	margin: 24px 0;
	padding: 18px 22px;
}

.ml-article-kicker {
	color: var(--ml-gold);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .03em;
}

.ml-article-kicker a {
	color: inherit;
}

.ml-article-cover {
	margin: 18px 0 28px;
}

.ml-article-cover img {
	aspect-ratio: 16 / 8;
	object-fit: cover;
	width: 100%;
}

.ml-inline-visual {
	background: var(--ml-cream);
	border: 1px solid var(--ml-border);
	border-radius: 12px;
	margin: 30px 0;
	overflow: hidden;
	padding: 8px;
}

.ml-inline-visual img {
	border-radius: 7px;
	display: block;
	width: 100%;
}

.ml-inline-visual figcaption {
	color: var(--ml-muted);
	font-size: 13px;
	margin-top: 8px;
	text-align: right;
}

.ml-disclaimer {
	background: #f6f4ee;
	border-right: 3px solid var(--ml-green);
	color: var(--ml-muted);
	font-size: 15px;
	margin-top: 34px;
	padding: 14px 18px;
}

.ml-footer {
	background: var(--ml-green-dark);
	color: #dce7e0;
	padding: clamp(32px, 5vw, 56px) 0;
}

.ml-footer__inner {
	display: grid;
	gap: 32px;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}

.ml-footer__col h3,
.ml-footer__col h4 {
	color: #fff;
	font-size: 18px;
	margin: 0 0 14px;
}

.ml-footer__col p {
	color: #b9c9c0;
	font-size: 14.5px;
	line-height: 1.7;
	margin: 0;
}

.ml-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ml-footer__col ul li {
	margin-bottom: 10px;
}

.ml-footer__col ul a {
	color: #b9c9c0;
	text-decoration: none;
}

.ml-footer__col ul a:hover {
	color: var(--ml-gold);
}

.ml-footer__disclaimer {
	color: #9fb3a9;
	font-size: 13.5px;
}

@media (max-width: 900px) {
	.ml-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ml-footer__inner {
		grid-template-columns: 1fr;
	}
}

/* Archive, category, tag, author and search-result listings (ColorMag's
   default post loop) restyled to match the magazine card design used on
   the homepage, instead of the theme's default blue blog styling. */
.cm-page-header {
	background: var(--ml-green-dark);
	border-radius: 12px;
	margin-bottom: 28px;
	padding: 22px clamp(20px, 4vw, 40px);
}

.cm-page-header .cm-page-title,
.cm-page-header .cm-page-title span {
	color: #fff;
	border-bottom-color: var(--ml-gold) !important;
}

.cm-page-header .cm-page-title span {
	background-color: var(--ml-gold) !important;
	border-radius: 6px;
	color: var(--ml-green-dark);
	padding: 4px 12px;
}

.cm-header-bottom-row {
	border-top-color: var(--ml-gold) !important;
}

.cm-page-header .taxonomy-description p {
	color: #dce7e0;
	margin: 6px 0 0;
}

.cm-posts.cm-layout-2 {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cm-posts.cm-layout-2 article {
	background: #fff;
	border: 1px solid var(--ml-border);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(24, 37, 31, 0.06);
	display: flex;
	flex-direction: column;
	float: none;
	margin: 0;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	width: auto;
}

.cm-posts.cm-layout-2 article:hover {
	box-shadow: 0 14px 32px rgba(24, 37, 31, 0.12);
	transform: translateY(-3px);
}

.cm-posts .cm-featured-image {
	margin: 0;
}

.cm-posts .cm-featured-image img {
	aspect-ratio: 16 / 10;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.cm-posts .cm-post-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 18px 20px 22px;
}

.cm-posts .cm-entry-header-meta,
.cm-posts .cm-post-categories {
	margin-bottom: 8px;
	order: -1;
}

.cm-posts .cm-post-categories a {
	background: none;
	color: var(--ml-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	padding: 0;
	text-transform: uppercase;
}

.cm-posts .cm-entry-header {
	margin: 0 0 10px;
}

.cm-posts .cm-entry-title {
	font-size: 19px;
	line-height: 1.35;
	margin: 0;
}

.cm-posts .cm-entry-title a {
	color: var(--ml-green-dark);
	text-decoration: none;
}

.cm-posts .cm-entry-title a:hover {
	color: var(--ml-gold);
}

.cm-posts .cm-below-entry-meta {
	color: var(--ml-muted);
	font-size: 13px;
	margin-bottom: 10px;
	order: 2;
}

.cm-posts .cm-entry-summary p {
	color: var(--ml-muted);
	font-size: 14.5px;
	line-height: 1.6;
	margin: 0 0 14px;
}

.cm-posts .cm-entry-button {
	align-self: flex-start;
	background: var(--ml-green);
	border-radius: 999px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 20px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.cm-posts .cm-entry-button:hover {
	background: var(--ml-green-dark);
}

@media (max-width: 700px) {
	.cm-posts.cm-layout-2 {
		grid-template-columns: 1fr;
	}
}

.elementor-widget-container .tg-module-wrapper .tg-row {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.elementor-widget-container .tg-module-wrapper .tg_module_block {
	float: none;
	margin: 0;
	width: auto;
}

.elementor-widget-container .tg-module-wrapper figure {
	margin: 0;
}

.elementor-widget-container .tg-module-wrapper figure img {
	aspect-ratio: 16 / 10;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.widget-title,
.front-page-top-section .widget-title,
.front-page-middle-section .widget-title,
.front-page-bottom-section .widget-title {
	border-bottom: 1px solid var(--ml-border);
	color: var(--ml-ink);
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 22px;
	padding-bottom: 10px;
	position: relative;
}

.widget-title::after,
.front-page-top-section .widget-title::after,
.front-page-middle-section .widget-title::after,
.front-page-bottom-section .widget-title::after {
	background: var(--ml-gold);
	bottom: -1px;
	content: "";
	height: 3px;
	right: 0;
	position: absolute;
	width: 72px;
}

.post,
.widget {
	background: #fff;
	border: 1px solid var(--ml-border);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(24, 37, 31, 0.05);
	overflow: hidden;
}

.post {
	margin-bottom: 28px;
	padding-bottom: 22px;
}

.post .article-content {
	padding: 0 22px;
}

.post .entry-title {
	color: var(--ml-ink);
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.25;
	margin: 18px 0 10px;
}

.post .entry-title a {
	color: inherit;
}

.post .entry-meta,
.post .entry-meta a {
	color: var(--ml-muted);
}

.post .entry-summary,
.post .entry-content {
	color: #415048;
	font-size: 17px;
}

.featured-image img,
.post-featured-image img {
	display: block;
	height: auto;
	width: 100%;
}

.widget ul li {
	border-bottom: 1px solid var(--ml-border);
	padding: 10px 0;
}

.widget ul li:last-child {
	border-bottom: 0;
}

.single .post,
.page .post {
	padding: 0 28px 34px;
}

.single .entry-content,
.page .entry-content {
	font-size: 19px;
	max-width: 820px;
}

.single .entry-content h2,
.single .entry-content h3,
.page .entry-content h2,
.page .entry-content h3 {
	color: var(--ml-green-dark);
	margin-top: 34px;
}

.entry-content img {
	border-radius: 10px;
}

.site-footer {
	background: var(--ml-green-dark);
	color: #e7eee9;
	margin-top: 48px;
}

@media (max-width: 768px) {
	body {
		overflow-x: hidden;
	}

	.inner-wrap,
	.main-content-section,
	.ml-home {
		box-sizing: border-box;
		max-width: 100%;
		width: 100%;
	}

	#site-navigation .menu-primary-container {
		display: block;
	}

	#site-navigation ul li a {
		padding: 11px 14px;
	}

	.ml-magazine-bar__inner {
		align-items: stretch;
		flex-direction: column;
		gap: 12px;
		padding-bottom: 14px;
		padding-top: 14px;
	}

	.ml-topic-nav {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.ml-topic-nav ul {
		gap: 4px 14px;
	}

	.ml-search-form {
		flex-basis: 42px;
		width: 100%;
	}

	.main-content-section {
		padding-top: 20px;
	}

	.single .post,
	.page .post {
		padding: 0 16px 24px;
	}

	.ml-card-grid .wp-block-columns {
		grid-template-columns: 1fr;
	}

	.elementor-widget-container .tg-module-wrapper .tg-row {
		grid-template-columns: 1fr;
	}
}

/* Cannabis magazine refresh: forest navigation, sage canvas and readable editorial cards. */
:root { --ml-ink:#143329; --ml-muted:#506b5d; --ml-green:#226747; --ml-green-dark:#103e2b; --ml-gold:#507c32; --ml-cream:#e9f1e7; --ml-border:#cbdcc9; }
body, #page, #cm-page, .cm-site, .cm-content, #cm-content { background:#e9f1e7; color:var(--ml-ink); }
#cm-masthead { background:#edf5e9; box-shadow:0 6px 24px #103e2b0d; }
#cm-masthead .cm-header-main-row { background:#edf5e9; padding:10px 0; }
#cm-masthead .cm-main-row { min-height:82px; padding:0; }
#cm-masthead .custom-logo { width:185px; max-height:94px; object-fit:contain; }
#cm-masthead .cm-site-description { color:#486450; font-size:15px; font-weight:500; }
#cm-masthead .cm-header-bottom-row { background:#123f2c; border:0; }
#cm-masthead .cm-bottom-row { min-height:62px; padding:0; }
#cm-masthead .cm-bottom-row .cm-header-left-col { width:100%; justify-content:center; }
#cm-primary-nav { width:100%; }
#cm-primary-menu { display:flex; flex-wrap:wrap; justify-content:center; gap:5px; padding:8px 0; }
#cm-primary-menu > li > a { border-radius:10px; color:#f0f7eb; font-size:15px; font-weight:700; padding:12px 19px; text-transform:none; line-height:1.5; }
#cm-primary-menu > li:hover > a, #cm-primary-menu > li.current-menu-item > a, #cm-primary-menu > li.current-menu-ancestor > a { color:#143329; background:#c4e3a6; }
.cm-container, .inner-wrap { max-width:1240px; }
.ml-magazine-bar { background:#dcebd6; border-bottom:1px solid #c1d5bb; }
.ml-magazine-bar__inner { justify-content:center; padding:13px 22px; }
.ml-search-form { flex:0 1 520px; border:1px solid #b5cbb0; border-radius:12px; overflow:hidden; background:#f8fcf5; box-shadow:none; }
.ml-search-form input { background:transparent; color:#173b29; padding:12px 16px; min-width:0; }
.ml-search-form button { background:#24623f; color:#fff; border-radius:8px; margin:4px; padding:9px 24px; font-weight:700; }
.ml-search-form button:hover { background:#143f2c; }
#cm-content { padding-top:32px; }
.home .cm-content { background:transparent; }
.home #cm-primary, .home #primary { width:100%; float:none; }
.home .cm-entry-summary, .home .entry-content { max-width:none; }
.home .cm-entry-summary > .alignwide.ml-home { margin:0; }
.ml-home-intro { position:relative; overflow:hidden; background:linear-gradient(120deg,#16462e,#245d3e); border:1px solid #306747; border-radius:24px; padding:40px 46px; margin-bottom:26px; }
.ml-home-intro h1, .ml-home-intro h2 { color:#f2f8e9 !important; font-size:clamp(34px,4vw,54px); line-height:1.15; margin:0 0 14px; font-weight:800; }
.ml-home-intro p, .home .ml-home-intro p { color:#d4e8ca !important; font-size:18px; max-width:760px; line-height:1.8; margin:0; }
.ml-hero { background:#f7fbf2; border:1px solid #c5d9be; border-radius:22px; grid-template-columns:1.15fr 1fr; box-shadow:0 12px 28px #23482e0b; }
.ml-hero-media img { min-height:330px; max-height:410px; border-radius:0; }
.ml-hero-content { padding:32px; }
.ml-hero-content h2 { font-size:clamp(25px,2.7vw,35px); line-height:1.35; margin:12px 0 18px; }
.ml-hero-content .ml-card-excerpt { font-size:17px; color:#496451; }
.ml-hero-link { color:#245e38; font-size:16px; margin-top:12px; }
.ml-secondary-grid { margin-top:22px; }
.ml-grid, .ml-secondary-grid { gap:22px; }
.ml-card { background:#f8fbf5; border:1px solid #c7dac1; border-radius:18px; box-shadow:0 5px 16px #24432b06; }
.ml-card:hover { border-color:#82ac72; box-shadow:0 12px 24px #24432b12; }
.ml-card-media { background:#d4e3cc; }
.ml-card-media img { aspect-ratio:16/10; height:auto; border-radius:0; }
.ml-card-body { padding:22px; }
.ml-card-category, .ml-card-category a { color:#2d683e; font-size:13px; font-weight:700; }
.ml-card h3 { font-size:22px; line-height:1.4; margin:10px 0 12px; }
.ml-card-excerpt { color:#50674f; font-size:16px; line-height:1.8; }
.ml-section-title, .ml-home > h2 { color:#17452d; margin-top:36px; font-weight:800; }
.cm-page-header { background:#d8e9ce; border:1px solid #bfd4b5; border-radius:18px; padding:26px; }
.cm-posts.cm-layout-2 article { background:#f8fbf5; border:1px solid #c7dac1; border-radius:18px; }
.single .cm-post, .single article.post { background:#f8fbf4; border:1px solid #c7dac1; border-radius:20px; }
.tc-guide { --cream:#eef5e8; --green-soft:#e2eedb; --gold:#54783c; --gold-light:#d3e6bc; --border:#c9dbc1; }
.tc-hero { background:linear-gradient(120deg,#123f2c,#286344); box-shadow:none; }
.tc-section, .tc-summary-card { background:#fbfdf8; box-shadow:none; }
.tc-section-alt { background:#eaf3e3; }
.ml-footer { margin-top:48px; background:#103b28; border-top:5px solid #a4ca82; color:#e2efd8; }
.ml-footer__col h3, .ml-footer__col h4 { color:#eff8e9; }
.ml-footer__col p, .ml-footer__col ul a { color:#cfe1c5; }
#cm-footer, .cm-footer-bottom-row { background:#0d3021; color:#c8dec1; }
.cm-menu-toggle { color:#e6f4db; }
.cm-menu-toggle svg { fill:currentColor; }
.cm-mobile-nav { background:#153f2c; }
.cm-mobile-menu a { color:#f0f7eb; font-size:17px; }
.cm-mobile-menu .current-menu-item > a { background:#c4e3a6; color:#143329; }
/* Make keyboard focus and compact mobile layouts visible across both reading directions. */
a:focus-visible, button:focus-visible, input:focus-visible { outline:3px solid #5e8e37; outline-offset:4px; }
@media (min-width:1025px) { #cm-masthead { position:sticky; top:0; z-index:100; } body.admin-bar #cm-masthead { top:32px; } }
@media (max-width:900px) { .ml-hero { grid-template-columns:1fr; } .ml-hero-media img { min-height:0; max-height:360px; aspect-ratio:16/9; } .ml-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) {
 #cm-masthead .custom-logo { width:150px; max-height:76px; }
 #cm-masthead .cm-site-description { font-size:13px; }
 #cm-masthead .cm-main-row { min-height:80px; }
 #cm-masthead .cm-bottom-row { min-height:48px; }
 #cm-content { padding-top:20px; }
 .ml-magazine-bar__inner { padding:10px 16px; }
 .ml-search-form { flex-basis:auto; width:100%; }
 .ml-home-intro { padding:27px 24px; border-radius:18px; }
 .ml-home-intro p { font-size:16px; }
 .ml-hero-content { padding:24px; }
 .ml-secondary-grid, .ml-grid { grid-template-columns:1fr; gap:18px; }
 .ml-card h3 { font-size:22px; }
 .ml-footer { margin-top:30px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .ml-card, .ml-card-media img, .ml-hero-media img { transition:none; } }

/* Override the parent theme article defaults only within magazine cards. */
.home .ml-home .ml-hero { display:grid; grid-template-columns:1.15fr 1fr; padding:0; margin:0; }
.home .ml-home .ml-card { display:flex; flex-direction:column; padding:0; margin:0; }
.ml-home h1, .ml-home h2, .ml-home h3, .ml-home p, .ml-home a { font-family:"Heebo",Arial,sans-serif; }
.home .ml-home .ml-hero-media img { height:100%; width:100%; object-fit:cover; }
@media(max-width:900px) { .home .ml-home .ml-hero { grid-template-columns:1fr; } }

/* Keep the full-width homepage inside the mobile gutter after removing its sidebar. */
.cm-container, .inner-wrap { box-sizing:border-box; }
.home #cm-primary { box-sizing:border-box; width:100%; padding:0; margin:0; }
.home #cm-primary > .cm-posts { display:block; width:100%; }
.home #cm-primary > .cm-posts > article { box-sizing:border-box; width:100%; margin:0; padding:0; border:0; background:transparent; box-shadow:none; }
.home .cm-entry-summary .ml-home { width:100%; margin:0; }

/* Keep category introductions legible and replace imported black menu/widget accents. */
#cm-primary-menu > li, #cm-primary-menu > li:hover, #cm-primary-menu > li.current-menu-item, #cm-primary-menu > li.current-menu-ancestor { background:transparent; }
.cm-page-header .cm-page-title, .cm-page-header .cm-page-title span { color:#173e29 !important; background:transparent !important; border:0; padding:0; font-size:clamp(26px,3vw,36px); line-height:1.35; }
.cm-page-header .cm-page-title { border-bottom:1px solid #a5c199; padding-bottom:14px; margin:0 0 16px; }
.cm-page-header .taxonomy-description, .cm-page-header .taxonomy-description p, .cm-page-header p { color:#355a3d !important; font-size:17px; line-height:1.8; }
.widget .widget-title, .widget .cm-widget-title { border-bottom-color:#719862; }
.widget .widget-title span, .widget .cm-widget-title span, .cm-post-categories a, .post .post-categories a { background:#245e3b !important; color:#f6fbed !important; border-radius:6px; }
.widget, .cm-secondary .widget { background:#f6faf1; border-color:#c4d7ba; }
.cm-secondary .widget-title, .cm-secondary .cm-widget-title { color:#153e29; }
.cm-footer a, .cm-footer p { color:#d8e9cf; }

/* Unify archive button colors and keep footer text safely inside narrow screens. */
.cm-entry-button, .cm-entry-button span, .cm-entry-button a { background:#24623f !important; color:#f6fbed !important; border:0 !important; box-shadow:none; }
.cm-entry-button span { padding:0; }
.ml-footer__inner { width:100%; max-width:1240px; margin-inline:auto; padding-inline:24px; box-sizing:border-box; }
.ml-footer__col { min-width:0; overflow-wrap:anywhere; }
@media(max-width:600px) { .ml-footer__inner { padding-inline:24px; } }

/* Layout audit: separate the archive/sidebar columns and order card content for easy scanning. */
.archive #cm-content > .cm-container > .cm-row, .search #cm-content > .cm-container > .cm-row, .single #cm-content > .cm-container > .cm-row { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:28px; align-items:start; }
.archive #cm-primary, .search #cm-primary, .single #cm-primary, .archive #cm-secondary, .search #cm-secondary, .single #cm-secondary { float:none; width:auto; min-width:0; padding:0; margin:0; box-sizing:border-box; }
.archive #cm-primary .cm-posts .cm-post-content, .search #cm-primary .cm-posts .cm-post-content { display:flex; flex-direction:column; padding:22px; gap:0; }
.archive #cm-primary .cm-posts .cm-featured-image, .search #cm-primary .cm-posts .cm-featured-image { order:0; margin:0 0 22px; overflow:hidden; border-radius:12px; }
.archive #cm-primary .cm-posts .cm-featured-image img, .search #cm-primary .cm-posts .cm-featured-image img { width:100%; height:auto; aspect-ratio:16/9; max-height:380px; object-fit:cover; }
.archive #cm-primary .cm-posts .cm-entry-header, .search #cm-primary .cm-posts .cm-entry-header { order:1; margin:0 0 12px; }
.archive #cm-primary .cm-posts .cm-entry-title, .search #cm-primary .cm-posts .cm-entry-title { font-size:clamp(22px,2vw,28px); line-height:1.4; margin:0; }
.archive #cm-primary .cm-posts .cm-below-entry-meta, .search #cm-primary .cm-posts .cm-below-entry-meta { order:2; margin:0 0 16px; display:flex; flex-wrap:wrap; gap:10px; }
.archive #cm-primary .cm-posts .cm-entry-summary, .search #cm-primary .cm-posts .cm-entry-summary { order:3; }
.archive #cm-primary .cm-posts .cm-entry-summary p, .search #cm-primary .cm-posts .cm-entry-summary p { font-size:16px; line-height:1.8; margin:0 0 20px; }
.cm-secondary .widget { overflow:hidden; border-radius:16px; }
.cm-secondary .cm-widget-title { padding:16px 18px 12px; margin:0; border-bottom:1px solid #c6d9be !important; background:#deebd5; }
.cm-secondary .cm-widget-title span { background:transparent !important; color:#204b31 !important; padding:0; font-size:18px; line-height:1.5; }
.cm-secondary .widget_categories ul { padding:8px 18px; margin:0; }
.cm-secondary .widget_categories li { padding:0; border-color:#d0dfc9; }
.cm-secondary .widget_categories li a { display:flex; align-items:center; min-height:44px; padding:8px 10px; border-radius:7px; }
.cm-secondary .widget_categories li.current-cat a { background:#dfedd3; color:#163e29; font-weight:700; }
.cm-secondary .cm-featured-posts .single-article { padding:18px; box-shadow:none; border-radius:0; }
/* The opened mobile menu uses a separate parent-theme surface and selected-row background. */
#cm-mobile-nav, #cm-mobile-header-row, #cm-mobile-menu, .cm-mobile-open-container { background:#153f2c !important; }
#cm-mobile-menu li, #cm-mobile-menu li:hover { background:transparent !important; }
#cm-mobile-menu li a { color:#eff8e6 !important; min-height:48px; padding:13px 20px; }
#cm-mobile-menu li.current-menu-item > a, #cm-mobile-menu li.current-menu-ancestor > a, #cm-mobile-menu li a:hover { background:#c4e3a6 !important; color:#143329 !important; }
@media(max-width:1000px) { .archive #cm-content > .cm-container > .cm-row, .search #cm-content > .cm-container > .cm-row, .single #cm-content > .cm-container > .cm-row { grid-template-columns:minmax(0,1fr); gap:28px; } }
@media(max-width:600px) { .archive #cm-primary .cm-posts .cm-post-content, .search #cm-primary .cm-posts .cm-post-content { padding:18px; } }

/* Keep supporting stories quieter than the main article and complete the forest footer. */
.cm-secondary .cm-entry-title, .cm-secondary .entry-title { font-size:20px; line-height:1.5; margin:0 0 10px; }
.cm-secondary .cm-below-entry-meta { font-size:12px; line-height:1.7; }
#cm-footer .cm-footer-bottom-row, #cm-footer .cm-bottom-row { background:#0d3021; }

/* Preserve readable text on article panels when generic archive styles are inherited. */
.single .tc-guide .tc-hero p, .single .tc-guide .tc-hero h2, .single .tc-guide .tc-conclusion p, .single .tc-guide .tc-conclusion h2 { color:#f3f8ee !important; }
.single .tc-guide .tc-summary-number { color:#ffffff !important; }
.single .cm-posts > article > .cm-post-content > .cm-featured-image { margin:0 0 26px; border-radius:14px; overflow:hidden; }
.single .cm-posts > article > .cm-post-content > .cm-featured-image img { height:auto; aspect-ratio:16/9; max-height:420px; object-fit:cover; }
.single .cm-posts > article > .cm-post-content > .cm-entry-header { margin:0 0 18px; }
.single .cm-posts > article > .cm-post-content > .cm-entry-header .cm-entry-title { font-size:clamp(28px,3vw,40px); line-height:1.35; }
.cm-no-results .cm-page-content { background:#f6faf1; border:1px solid #c5d8bd; border-radius:16px; padding:24px; font-size:17px; line-height:1.8; }

/* Contact is a focused editorial form with the same spacing and green controls as the magazine. */
.page-id-326 #cm-primary { float:none; width:100%; max-width:780px; margin-inline:auto; padding:0; box-sizing:border-box; }
.page-id-326 #cm-primary > .cm-posts { display:block; }
.page-id-326 #cm-primary article.page { background:#f8fbf4; border:1px solid #c6d9be; border-radius:20px; padding:30px; box-sizing:border-box; }
.page-id-326 .cm-entry-title { font-size:32px; line-height:1.3; margin-bottom:20px; color:#173f2b; }
.page-id-326 .everest-forms label { color:#244b32; font-size:16px; margin-bottom:8px; }
.page-id-326 .everest-forms input[type=text], .page-id-326 .everest-forms input[type=email], .page-id-326 .everest-forms textarea { border:1px solid #b6cfae; border-radius:9px; background:#fff; min-height:48px; padding:12px; color:#173f2b; }
.page-id-326 .everest-forms textarea { min-height:150px; resize:vertical; }
.page-id-326 .everest-forms button[type=submit] { background:#24623f; border:0; border-radius:10px; color:#fff; padding:13px 28px; min-height:48px; font-weight:700; }
@media(max-width:600px) { .page-id-326 #cm-primary article.page { padding:22px 18px; } }

/* Match the return-to-top control to the magazine palette. */
a#scroll-up { background:#24623f !important; border:1px solid #a7c994; border-radius:10px; min-width:44px; min-height:44px; }
a#scroll-up i, a#scroll-up svg { color:#f4faee !important; fill:currentColor; }

/* Strain category navigation and sourced profile covers share the magazine's green reading surfaces. */
.ml-strain-tabs { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; padding:20px 16px 0; }
.ml-strain-tabs a { display:inline-flex; align-items:center; min-height:44px; padding:10px 24px; border:1px solid #b4ceaa; border-radius:24px; background:#f5faef; color:#204c32; font-weight:700; text-decoration:none; }
.ml-strain-tabs a[aria-current=page], .ml-strain-tabs a:hover { background:#24623f; color:#fff; border-color:#24623f; }
.ml-strain-directory { padding:26px; margin:0 0 28px; border:1px solid #bdd3b4; border-radius:20px; background:#ddebd4; }
.ml-strain-directory h2 { margin:0 0 12px; color:#173e29; }
.ml-strain-directory p { margin:0 0 18px; color:#355b3d; }
.ml-directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.ml-directory-card { display:flex; flex-direction:column; gap:6px; background:#f7fbf1; border:1px solid #bad1af; border-radius:14px; padding:22px; text-decoration:none; color:#204b31; }
.ml-directory-card strong { font-size:23px; }.ml-directory-card span { font-size:15px; }
.single.ml-strain-profile .cm-post-content > .cm-featured-image { display:none; }
.ml-strain-cover { margin:24px 0; }.ml-strain-cover img { display:block; width:100%; height:auto; border:1px solid #c4d7b9; border-radius:16px; }
.ml-strain-cover figcaption { color:#50684c; font-size:13px; line-height:1.7; margin-top:10px; }
.single.ml-strain-profile .cm-entry-summary p { font-size:18px; line-height:1.9; margin:0 0 20px; }
.single.ml-strain-profile .cm-entry-summary h2 { font-size:25px; margin:32px 0 16px; line-height:1.4; color:#1a4c30; }
.ml-strain-related { background:#e2edd9; border:1px solid #bcd3b0; border-radius:16px; padding:24px; margin-top:32px; }
.ml-strain-related ul { padding-inline-start:20px; margin:0; }.ml-strain-related li { margin:12px 0; }
@media(max-width:600px) { .ml-directory-grid { grid-template-columns:1fr; } .ml-strain-directory { padding:20px; } .ml-strain-tabs { gap:8px; } .ml-strain-tabs a { padding:10px 16px; } }

/* Reserve the desktop admin-toolbar offset so the sticky navigation does not cover the search row. */
@media (min-width:1025px) {
 body.admin-bar .ml-magazine-bar { margin-top:32px; }
}
/* Keep the city directory readable without expanding the sticky primary navigation. */
.ml-city-index{padding-block:1.5rem}.ml-city-index h2{color:#174833;margin:0 0 .6rem}.ml-city-index p{color:#315947;max-width:70ch}
.ml-city-index nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.65rem;margin-top:1rem}
.ml-city-index nav a,.ml-city-link{display:block;border:1px solid #9dbb9f;border-radius:12px;padding:.8rem 1rem;background:#f5f8ef;color:#174833;text-decoration:none;font-weight:700}
.ml-city-index nav a:hover,.ml-city-link:hover{background:#d9e9ce}.ml-city-index nav a:focus-visible,.ml-city-link:focus-visible{outline:3px solid #1c6a45;outline-offset:3px}
.ml-information-intro{padding:1.6rem;background:#dcebd3;border:1px solid #b5cfaa;border-radius:18px;margin:1.6rem 0}.ml-information-intro h2{color:#174833}.ml-information-intro p{color:#315947}.ml-information-intro .ml-city-link{display:inline-block}
@media(max-width:900px){.ml-city-index nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.ml-city-index nav{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-city-index nav a{padding:.7rem;font-size:15px}}

/* Keep archive card styles out of widgets and give sidebar headlines room beside compact thumbnails. */
#cm-secondary .cm-featured-posts .cm-posts { display:block; margin:0; }
#cm-secondary .cm-featured-posts .cm-posts .cm-post { display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px; padding:16px; align-items:start; margin:0; border-radius:0; box-shadow:none; }
#cm-secondary .cm-featured-posts .cm-posts .cm-post > a { display:block; float:none; width:64px; margin:0; }
#cm-secondary .cm-featured-posts .cm-posts .cm-post > a img { display:block; width:64px; height:auto; aspect-ratio:1; object-fit:cover; border-radius:8px; }
#cm-secondary .cm-featured-posts .cm-posts .cm-post-content { float:none; width:auto; min-width:0; padding:0; margin:0; }
#cm-secondary .cm-featured-posts .cm-posts .cm-entry-title { font-size:17px; line-height:1.55; margin:0 0 8px; word-break:normal; overflow-wrap:break-word; }
#cm-secondary .cm-featured-posts .cm-first-post .cm-entry-title { font-size:20px; line-height:1.5; }
#cm-secondary .cm-featured-posts .cm-below-entry-meta { font-size:12px; line-height:1.6; margin:0; }
#cm-secondary .cm-widget-title, #cm-secondary .cm-widget-title span { font-size:18px; line-height:1.5; }

/* Tifrahat botanical background: 50%-opacity leaves on pale green; cards stay solid for reading. */
body { background-color:#edf5e9; }
#page { background-color:#edf5e9; background-image:url("assets/images/tifrahat-leaves.svg"); background-repeat:repeat; background-size:600px 600px; }
#cm-page, .cm-site, .cm-content, #cm-content { background-color:transparent; }
@media (max-width:600px) { #page { background-size:420px 420px; } }
@media print { #page { background-image:none; } }

/* Compact homepage discovery: keep editorial links visible without oversized stacked banners. */
.home .ml-home-intro { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 26px; margin:0 0 16px; border-radius:18px; }
.home .ml-home-intro h1 { font-size:clamp(26px,3vw,36px); line-height:1.2; margin:0 0 6px; }
.home .ml-home-intro p { font-size:15px; line-height:1.6; margin:0; }
.ml-explore-button { display:inline-flex; align-items:center; justify-content:center; gap:18px; flex-shrink:0; min-height:44px; padding:9px 17px; border-radius:12px; background:#d9edbd; color:#143f2c; font-size:15px; font-weight:700; text-decoration:none; }
.ml-home-discovery { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:16px; margin-bottom:22px; }
.home .ml-home-discovery > section { margin:0; padding:18px 20px; border-radius:16px; background:#f6faef; border:1px solid #bed2b4; min-width:0; }
.home .ml-home-discovery h2 { font-size:21px; line-height:1.35; margin:0 0 6px; }
.home .ml-home-discovery p { font-size:13px; line-height:1.65; margin:0 0 12px; color:#48634f; }
.home .ml-directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.home .ml-directory-card { position:relative; padding:11px 12px; gap:2px; border-radius:10px; background:#e7f1dd; border-color:#ccddc0; }
.home .ml-directory-card strong { font-size:17px; line-height:1.4; }
.home .ml-directory-card span { font-size:12px; line-height:1.5; }
.home .ml-information-intro { display:flex; flex-direction:column; align-items:flex-start; }
.home .ml-information-intro .ml-city-link { margin-top:auto; padding:8px 14px; min-height:44px; display:inline-flex; align-items:center; gap:12px; border-radius:10px; font-size:14px; background:#215b3b; color:#fff; border-color:#215b3b; }
.home .ml-information-intro .ml-city-link::after { content:"←"; }
/* Provide clear mouse and keyboard feedback; category cards remain ordinary crawlable links. */
.home :is(.ml-directory-card,.ml-city-link,.ml-explore-button) { transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease; }
.home :is(.ml-directory-card,.ml-city-link,.ml-explore-button):hover { transform:translateY(-2px); box-shadow:0 5px 14px #173f2b20; }
.home .ml-directory-card:hover { background:#d7e9c8; color:#143f2c; }
.home :is(.ml-directory-card,.ml-city-link,.ml-explore-button):focus-visible { outline:3px solid #658e3e; outline-offset:3px; }
#ml-home-strains { scroll-margin-top:110px; }
@media(max-width:700px) {
 .home .ml-home-intro { padding:17px 18px; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
 .home .ml-home-intro h1 { font-size:28px; }
 .home .ml-home-intro p { font-size:14px; }
 .ml-explore-button { padding:8px 14px; font-size:14px; }
 .ml-home-discovery { grid-template-columns:1fr; gap:10px; margin-bottom:18px; }
 .home .ml-home-discovery > section { padding:14px 16px; }
 .home .ml-home-discovery h2 { font-size:20px; }
 .home .ml-directory-card { padding:10px 8px; }
 .home .ml-directory-card strong { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) { .home :is(.ml-directory-card,.ml-city-link,.ml-explore-button) { transition:none; transform:none; } }

/* Keep the pale shortcut button legible against the intro's inherited white link color. */
.home .ml-home-intro a.ml-explore-button { color:#143f2c !important; }
