/* Replace the theme's blue accents with a consistent botanical palette sitewide. */
body {
	--cm-color-1: #2f604b;
	--cm-color-2: #234b3a;
	--cm-color-5: #243b32;
	--mellow-green: #2f604b;
	--mellow-berry: #923e65;
	/* Use the same subtle fruit-toned canvas on home, articles, and archives. */
	background: radial-gradient(ellipse at 0 20%, #eee7f0 0, transparent 48%),
		radial-gradient(ellipse at 100% 65%, #f4ecd8 0, transparent 48%), #f5f4ee;
}

/* Widen the header, content, and footer together while keeping mobile gutters. */
body #page .cm-container {
	width: calc(100% - 64px);
	max-width: 1540px;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

/* Center the existing brand name and use the logo as a small mark above it. */
body #cm-masthead { background: #fffdf8; }
body #cm-masthead .cm-main-row { justify-content: center; }
body #cm-masthead .cm-main-row > div:empty { display: none; }
body #cm-masthead .cm-main-row > div:not(:empty) {
	flex: 0 1 auto;
	flex-direction: column;
	gap: 0;
	text-align: center;
}
body #cm-masthead .mellow-brand-mark span { display: none; }
body #cm-masthead .mellow-brand-mark svg { width: 36px; height: 36px; }
body #cm-masthead .cm-site-title {
	margin: 0;
	font-family: "IBM Plex Serif", Georgia, serif;
	font-size: clamp(32px, 3.4vw, 52px);
	font-weight: 600;
	letter-spacing: -.045em;
	line-height: 1.15;
}
body #cm-masthead .cm-site-title a { color: #243b32; }
body #cm-masthead .cm-header-main-row { padding: 20px 0 26px; }

/* Use a light sage navigation bar with high-contrast green links and active states. */
body #cm-masthead .cm-header-bottom-row {
	background: #eaf0e7;
	border-top: 1px solid #d6e0d2;
	border-bottom: 1px solid #d6e0d2;
	box-shadow: none;
}
body #cm-masthead .cm-bottom-row { justify-content: center; }
body #cm-primary-nav .cm-primary-menu > li { background: transparent; }
body #cm-primary-nav .cm-primary-menu > li > a {
	color: #2f604b;
	border: 1px solid transparent;
	border-radius: 999px;
	margin: 10px 5px;
	padding: 11px 18px;
	line-height: 1.4;
}
body #cm-primary-nav .cm-primary-menu > li.current-menu-item > a,
body #cm-primary-nav .cm-primary-menu > li > a:hover,
body #cm-primary-nav .cm-primary-menu > li > a:focus-visible {
	background: #2f604b;
	color: #fff;
}
body #cm-mobile-nav,
body #cm-mobile-nav .cm-mobile-header-row { background: #eaf0e7; }
body #cm-mobile-nav a { color: #234b3a; }
body #cm-masthead .cm-menu-toggle .cm-icon { fill: #234b3a; }

/* Balance both article rails to center the main content sitewide. */
@media (min-width: 1200px) {
	body #cm-content > .cm-container > .cm-row:has(> #cm-secondary) {
		display: grid;
		grid-template-columns: clamp(190px, 15vw, 240px) minmax(0, 1fr) clamp(190px, 15vw, 240px);
		gap: 24px;
		align-items: start;
	}
	body #cm-content #cm-primary { flex: 1; width: 100%; min-width: 0; padding: 0; }
	body #cm-content > .cm-container > .cm-row > #cm-primary { grid-column: 2; grid-row: 1; }
	body #cm-content #cm-secondary { grid-column: 1; grid-row: 1; width: 100%; min-width: 0; }
	body #cm-content .mellow-recent-sidebar { grid-column: 3; grid-row: 1; }
}
/* Stack related articles below the main content when balanced side columns would be too narrow. */
@media (max-width: 1199px) {
	body #cm-content > .cm-container > .cm-row { flex-direction: column; }
	body #cm-content #cm-primary,
	body #cm-content #cm-secondary { width: 100%; min-width: 0; padding: 0; }
}
/* Use a compact dated list in the right rail, stacking it after related articles on mobile. */
body .mellow-recent-sidebar { order: 3; min-width: 0; padding: 20px; background: #fffaf2; border: 1px solid #e7dac8; border-radius: 22px; }
body .mellow-recent-sidebar h2 { font-size: 18px; color: #243b32; margin: 0 0 18px; }
body .mellow-recent-sidebar ul { list-style: none; padding: 0; margin: 0; }
body .mellow-recent-sidebar li + li { border-top: 1px solid #e7dac8; margin-top: 16px; padding-top: 16px; }
body .mellow-recent-sidebar a { display: block; color: #2f604b; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
body .mellow-recent-sidebar a:hover { text-decoration: underline; }
body .mellow-recent-sidebar a:focus-visible { outline: 2px solid #2f604b; outline-offset: 4px; }
body .mellow-recent-sidebar time { display: block; margin-top: 6px; font-size: 12px; color: #59665c; }
/* Keep short pages tall enough for the footer to meet the bottom of the viewport. */
body #page { display: flex; flex-direction: column; min-height: 100vh; }
body.admin-bar #page { min-height: calc(100vh - 32px); }
body #cm-content { flex: 1 0 auto; }
@media (max-width: 782px) {
	body.admin-bar #page { min-height: calc(100vh - 46px); }
}
body.home #cm-content #cm-secondary { position: static; max-height: none; overflow: visible; }
body #cm-secondary .cm-widget-title { border-bottom-color: #d6e0d2; }
body #cm-secondary .cm-widget-title span { background: #2f604b; color: #fff; border-radius: 8px 8px 0 0; }
body.home #cm-content { padding-top: 36px; }
/* Suppress the duplicate page label above the homepage's existing hero heading. */
body.home #cm-primary article.page > .cm-entry-header { display: none; }
body.home #cm-primary #mellow-top { padding: 0 0 48px; }

/* Keep new articles discoverable in a responsive grid, including posts without images. */
body .mellow-latest { padding: 48px 0 64px; scroll-margin-top: 32px; }
body .mellow-latest-heading { margin-bottom: 28px; }
body .mellow-latest-kicker { color: #2f604b; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
body .mellow-latest-heading h2 { color: #243b32; font-family: "IBM Plex Serif", Georgia, serif; font-size: clamp(30px, 3vw, 44px); margin: 0 0 12px; }
body .mellow-latest-heading > p:last-child { color: #4e5b54; margin: 0; }
body .mellow-latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body .mellow-latest-card { min-width: 0; background: #fffdf8; border: 1px solid #dce3d8; border-radius: 22px; }
body .mellow-latest-link { display: flex; flex-direction: column; height: 100%; color: #243b32; text-decoration: none; border-radius: inherit; }
body .mellow-latest-link:hover h3 { color: #2f604b; text-decoration: underline; text-underline-offset: 4px; }
body .mellow-latest-link:focus-visible { outline: 3px solid #714481; outline-offset: 5px; }
body .mellow-latest-media { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; border-radius: 21px 21px 0 0; background: radial-gradient(circle at 85% 20%, #ecd9b6, transparent 65%), #eaf0e7; }
body .mellow-latest-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .mellow-latest-wordmark { font-family: "IBM Plex Serif", Georgia, serif; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; color: #2f604b; text-align: center; }
body .mellow-latest-copy { display: flex; flex-direction: column; flex: 1; padding: 24px; }
body .mellow-latest-copy time { color: #59665c; font-size: 13px; }
body .mellow-latest-copy h3 { color: #243b32; font-size: 23px; line-height: 1.3; margin: 12px 0; overflow-wrap: anywhere; }
body .mellow-latest-copy p { color: #4e5b54; font-size: 15px; line-height: 1.7; margin: 0 0 22px; }
body .mellow-latest-read { color: #2f604b; font-weight: 600; margin-top: auto; }
body .mellow-latest-read span { margin-left: 8px; }
@media (max-width: 991px) {
	body .mellow-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	body .mellow-latest-grid { grid-template-columns: 1fr; }
	body .mellow-latest { padding: 32px 0 40px; }
}

/* Keep Telegram reachable at the lower right, respecting phone safe-area insets. */
body .mellow-telegram-float {
	position: fixed;
	right: max(24px, env(safe-area-inset-right));
	bottom: max(24px, env(safe-area-inset-bottom));
	z-index: 9999;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #1686b8;
	color: #fff;
	box-shadow: 0 5px 20px rgba(22, 72, 93, .25);
	text-decoration: none;
	opacity: 1;
}
body .mellow-telegram-float svg { display: block; }
body a.mellow-telegram-float:hover { background: #116c96; color: #fff; }
body .mellow-telegram-float:focus-visible { outline: 3px solid #243b32; outline-offset: 4px; }
body button.mellow-telegram-float:disabled { cursor: default; background: #1686b8; color: #fff; opacity: 1; }
/* Keep the theme's back-to-top control above the floating contact button. */
body #scroll-up { bottom: 96px; right: max(24px, env(safe-area-inset-right)); }

/* Build a spacious evergreen footer with soft fruit accents and readable links. */
body .mellow-footer {
	background: #203c32;
	color: #d6e1d8;
	border-top: 4px solid #b5be96;
	padding: 64px 0 48px;
}
body .mellow-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
body .mellow-footer h2 { color: #fffaf0; font-size: 17px; font-weight: 600; margin: 0 0 20px; }
body .mellow-footer p { font-size: 14px; line-height: 1.8; margin: 16px 0 0; max-width: 38ch; }
body .mellow-footer .mellow-footer-eyebrow { color: #d8c99a; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
body .mellow-footer .mellow-footer-title { font-family: "IBM Plex Serif", Georgia, serif; font-size: 34px; line-height: 1.2; color: #fffaf0; }
body .mellow-footer-title span { color: #e5b8c6; }
body .mellow-footer nav a { display: block; width: fit-content; padding: 8px 0; }
body .mellow-footer a { color: #e5ece5; text-decoration: none; }
body .mellow-footer a:hover { color: #f1d79d; text-decoration: underline; }
body .mellow-footer a:focus-visible { outline: 2px solid #f1d79d; outline-offset: 5px; }
body .mellow-footer-note > a { display: inline-block; margin-top: 18px; color: #f1d79d; }
body #cm-footer,
body #cm-footer .cm-footer-bottom-row { background: #203c32; color: #c5d5c9; }
body #cm-footer .cm-footer-bottom-row { border-top: 1px solid #446052; padding: 22px 0; }
body #cm-footer a { color: #e5ece5; }

/* Collapse the footer and retain breathing room on tablet and phone screens. */
@media (max-width: 991px) {
	body .mellow-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
	body #cm-content > .cm-container > .cm-row { flex-direction: column; }
	body #cm-content #cm-primary { width: 100%; padding: 0; }
}
@media (max-width: 600px) {
	body #page .cm-container { width: calc(100% - 32px); }
	body .mellow-footer-grid { grid-template-columns: 1fr; }
	body .mellow-footer { padding: 40px 0 32px; }
}

/* Give editable information pages the magazine's soft backgrounds and clear hierarchy. */
body.mellow-information #cm-primary { max-width: 1120px; margin-inline: auto; }
body.mellow-information #cm-primary article.page { background: transparent; box-shadow: none; border: 0; }
body.mellow-information #cm-primary .cm-entry-title {
	font-family: "IBM Plex Serif", Georgia, serif;
	font-size: clamp(36px, 4vw, 56px);
	color: #243b32;
	letter-spacing: -.035em;
}
body.mellow-information #cm-primary .cm-entry-summary { padding: 0; font-size: 17px; line-height: 1.8; color: #4e5b54; }
body.mellow-information .mellow-information-hero {
	padding: clamp(26px, 4vw, 56px);
	background: linear-gradient(125deg, #eee6f1, #fff9ec);
	border: 1px solid #e2dbe1;
	border-radius: 28px;
}
body.mellow-information .mellow-information-hero h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.2; letter-spacing: -.04em; }
body.mellow-information .mellow-information-kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #526747; }
body.mellow-information .mellow-information-section { margin-top: 36px; }
body.mellow-information .mellow-information-section h2 { font-size: 30px; color: #243b32; }
body.mellow-information .mellow-information-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
body.mellow-information .mellow-information-cards > div { padding: 26px; border-radius: 20px; background: #edf2e8; border: 1px solid #dce5d5; }
body.mellow-information .mellow-information-cards > div:nth-child(2) { background: #f8ece9; border-color: #ecd9d4; }
body.mellow-information .mellow-information-cards > div:nth-child(3) { background: #faf5e9; border-color: #e9dfc8; }
body.mellow-information .mellow-information-cards h3 { font-size: 21px; color: #243b32; }
body.mellow-information .mellow-information-cards p { font-size: 15px; margin-bottom: 0; }
body.mellow-information .mellow-information-callout { background: #edf2e8; border-radius: 24px; padding: 32px; }
body.mellow-information .mellow-information-actions { display: flex; flex-wrap: wrap; gap: 12px; }
body.mellow-information .mellow-information-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: #2f604b; color: #fff; font-size: 14px; text-decoration: none; }

/* Style Yoast's native FAQ block so visible answers stay synchronized with its schema. */
body.mellow-information .schema-faq-section { padding: 28px; margin: 18px 0; background: #fffaf3; border: 1px solid #e5ddcc; border-radius: 20px; }
body.mellow-information .schema-faq-question { display: block; font-size: 21px; line-height: 1.4; color: #243b32; margin-bottom: 12px; }
body.mellow-information .schema-faq-answer { margin-bottom: 0; }
body.mellow-information #cm-primary a:focus-visible { outline: 3px solid #714481; outline-offset: 4px; }
@media (max-width: 760px) {
	body.mellow-information .mellow-information-cards { grid-template-columns: 1fr; }
}

/* Balance the fruit photography with muted backgrounds and richer readable accents. */
body.home {
	--mellow-ink: #243b32;
	--mellow-green: #2f604b;
	--mellow-berry: #923e65;
	--mellow-cassis: #714481;
	--mellow-strawberry: #a63d50;
	--mellow-passion: #825b16;
}

/* Let the page's botanical background surround the existing magazine layout. */
body #page,
body #cm-content {
	background: transparent;
}

body.home #mellow-top {
	color: #4e5b54;
	font-family: Inter, "Segoe UI", sans-serif;
	padding: 0 0 48px;
}

body.home #mellow-top > section {
	padding: clamp(22px, 3vw, 42px);
	margin-bottom: 28px;
	border: 1px solid rgba(74, 84, 66, .12);
	border-radius: 28px;
	box-shadow: 0 12px 34px rgba(49, 45, 36, .045);
	scroll-margin-top: 24px;
}

/* Echo the hero's purple berries, red fruit, and golden passion fruit in soft washes. */
body.home #mellow-top > section:first-of-type {
	padding-top: clamp(24px, 3vw, 44px);
	background: radial-gradient(ellipse at 0 0, #e9dfee 0, transparent 52%),
		radial-gradient(ellipse at 100% 100%, #f5e3b8 0, transparent 50%),
		linear-gradient(130deg, #fffaf5, #f9eceb);
}

body.home #mellow-top > section:first-of-type > p:first-of-type {
	color: #526747;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.home #mellow-top h1 {
	color: var(--mellow-ink);
	font-size: clamp(32px, 3.6vw, 52px);
	font-weight: 700;
	line-height: 1.13;
	letter-spacing: -.045em;
	text-wrap: balance;
}

body.home #mellow-top h2 {
	color: var(--mellow-ink);
	font-size: clamp(26px, 2.8vw, 36px);
	letter-spacing: -.035em;
	line-height: 1.2;
	text-wrap: balance;
}

body.home #mellow-top img[src*="mellow-edibles-hero"] {
	margin: 28px 0 20px;
	border-radius: 20px;
	box-shadow: 0 14px 32px rgba(68, 43, 46, .1);
}

/* Turn the two existing hero anchors into clear, comfortably sized actions. */
body.home #mellow-top > section:first-of-type a[href^="#mellow-"] {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 11px 19px;
	margin: 0 8px 10px 0;
	border: 1px solid #2f604b;
	border-radius: 999px;
	background: var(--mellow-green);
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
}

body.home #mellow-top > section:first-of-type a[href="#mellow-choice"] {
	background: #fffaf5;
	color: var(--mellow-green);
}

body.home #mellow-top > section:first-of-type a + br {
	display: none;
}

/* Keep the supporting sections calm so photography carries the strongest color. */
body.home #mellow-top #mellow-about { background: #edf2e8; border-color: #dce5d5; }
body.home #mellow-top #mellow-products { background: #faf5e9; border-color: #e9dfc8; }
body.home #mellow-top #mellow-choice { background: #f8ece9; border-color: #ecd9d4; }
body.home #mellow-top #mellow-experience { background: #eee8f2; border-color: #e0d6e6; }

/* Give each flavor its own coordinated tint and real packaging artwork. */
body.home #mellow-top .mellow-products-grid {
	max-width: none;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home #mellow-top .mellow-product-card {
	min-height: 365px;
	padding: 24px 14px;
	border-radius: 20px;
	border-color: rgba(66, 44, 56, .1);
	box-shadow: 0 6px 18px rgba(56, 42, 44, .04);
}

body.home #mellow-top .mellow-product-card--cassis { background: linear-gradient(155deg, #fdf9ff, #e9daef); }
body.home #mellow-top .mellow-product-card--strawberry { background: linear-gradient(155deg, #fffaf8, #f5dcd9); }
body.home #mellow-top .mellow-product-card--passion { background: linear-gradient(155deg, #fffdf5, #f4e4b6); }

body.home #mellow-top .mellow-product-dot {
	width: min(100%, 130px);
	height: auto;
	aspect-ratio: 1;
	flex: 0 0 auto;
	margin: 24px 0;
	border-radius: 50%;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: 0 8px 20px rgba(53, 33, 43, .12);
}

body.home #mellow-top .mellow-product-dot--cassis { background-image: url('../../../../uploads/2026/09/mellow-cassis-indica-300x298.png'); }
body.home #mellow-top .mellow-product-dot--strawberry { background-image: url('../../../../uploads/2026/09/mellow-strawberry-hybrid.png'); }
body.home #mellow-top .mellow-product-dot--passion { background-image: url('../../../../uploads/2026/09/mellow-passion-fruit-sativa.png'); }

body.home #mellow-top .mellow-product-card p { color: #53564f; max-width: 24ch; font-size: 14px; }
body.home #mellow-top .mellow-product-card h3 { font-size: 25px; font-weight: 700; }
body.home #mellow-top .mellow-product-card--cassis a { color: var(--mellow-cassis); }
body.home #mellow-top .mellow-product-card--strawberry a { color: var(--mellow-strawberry); }
body.home #mellow-top .mellow-product-card--passion a { color: var(--mellow-passion); }

/* Carry the same palette through flavor summaries and the related reading sidebar. */
body.home #mellow-top .mellow-flavor-card:nth-child(1) { background: #f7f1fa; border-color: #dfd0e7; }
body.home #mellow-top .mellow-flavor-card:nth-child(2) { background: #fff2ef; border-color: #eddbd7; }
body.home #mellow-top .mellow-flavor-card:nth-child(3) { background: #fff7df; border-color: #e9dcba; }
body .mellow-related-articles { background: #fffaf3; border: 1px solid #e5ddcc; border-radius: 20px; padding: 20px; box-shadow: 0 10px 28px rgba(49, 45, 36, .05); }
body.home #mellow-top .mellow-info-card { border-top-color: #7b9366; box-shadow: none; }
body.home #mellow-top .mellow-info-box { background: #fffaf7; box-shadow: none; }

/* Preserve keyboard visibility and avoid animated movement when reduced motion is requested. */
body.home #mellow-top a:focus-visible { outline: 3px solid #714481; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
	body.home #mellow-top .mellow-product-card { transition: none; }
	body.home #mellow-top .mellow-product-card:hover { transform: none; }
}

/* Stack cards before the magazine's narrow content column makes their text cramped. */
@media (max-width: 1100px) {
	body.home #mellow-top .mellow-products-grid { grid-template-columns: 1fr; width: 100%; }
	body.home #mellow-top .mellow-product-card { min-height: 330px; }
	body.home #mellow-top .mellow-product-card p { max-width: 36ch; }
}
@media (max-width: 680px) {
	body.home #mellow-top > section { padding: 24px 18px; border-radius: 20px; }
	body.home #mellow-top .mellow-info-grid,
	body.home #mellow-top .mellow-choice-grid,
	body.home #mellow-top .mellow-flavor-grid { grid-template-columns: 1fr; }
}
