/*
Theme Name: Horseman Publishing
Theme URI: https://nataliehorseman.com/
Author: Connect Web Design Studio
Author URI: https://connectwebdesignstudio.com
Description: Custom theme for nataliehorseman.com. Recreates the original Thrive design (navy + mist lens bands, pink accents) without a page builder. Page sections are Custom HTML blocks using the classes in this file.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: horseman
*/

/* ---------- Tokens ---------- */
@font-face {
	font-family: "Pala";
	src: url("fonts/pala.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #24384f;
	--navy-deep: #1c2d40;
	--mist: #d6dfe2;
	--mist-soft: #e6ecee;
	--pink: #ed5c80;
	--pink-dark: #d8466b;
	--white: #ffffff;
	--ink: #24384f;
	--ink-soft: #3d4f63;
	--on-navy: #eef3f5;
	--serif: "Pala", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--sans: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--wrap: 1140px;
	--radius: 12px;
	--gutter: 24px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--navy);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.75;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--pink);
}

a:hover {
	color: var(--pink-dark);
}

h1,
h2,
h3,
h4 {
	font-family: var(--serif);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.5em;
	color: inherit;
}

h1 {
	font-size: clamp(30px, 3.4vw, 40px);
}

h2 {
	font-size: clamp(26px, 2.8vw, 34px);
}

h3 {
	font-size: clamp(22px, 2.2vw, 26px);
}

p {
	margin: 0 0 1.1em;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
	position: relative;
	z-index: 1;
}

.narrow {
	max-width: 820px;
}

.center {
	text-align: center;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	background: var(--white);
	color: var(--navy);
}

/* ---------- Buttons ---------- */
.btn,
.button,
button.button,
input.button,
.wp-block-button__link {
	display: inline-block;
	padding: 12px 26px;
	border: 0;
	border-radius: var(--radius);
	background: var(--navy);
	color: var(--white);
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.button:hover,
.wp-block-button__link:hover {
	background: var(--navy-deep);
	color: var(--white);
	transform: translateY(-1px);
}

.btn--light {
	background: var(--mist);
	color: var(--navy);
}

.btn--light:hover {
	background: var(--white);
	color: var(--navy);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin: 6px 0 22px;
}

/* ---------- Header ---------- */
.site-header {
	background: var(--navy);
	color: var(--white);
	padding: 18px 0 10px;
	position: relative;
	z-index: 20;
}

.site-header .wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.site-logo img {
	display: block;
	width: 230px;
	height: auto;
}

.nav-bar {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-top: 8px;
}

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 26px;
}

.main-nav li {
	position: relative;
}

.main-nav a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 0;
	color: var(--white);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a {
	color: var(--pink);
}

.main-nav .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	min-width: 230px;
	padding: 10px 0;
	background: var(--white);
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.main-nav .sub-menu a {
	display: block;
	padding: 8px 20px;
	color: var(--navy);
	text-transform: none;
	font-size: 14px;
}

.main-nav .sub-menu a:hover {
	color: var(--pink);
}

.header-cart {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	color: var(--white);
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.header-cart svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.header-cart:hover {
	color: var(--pink);
}

.cart-count {
	min-width: 18px;
	height: 18px;
	margin-left: 2px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--pink);
	color: var(--white);
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}

.cart-count:empty {
	display: none;
}

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 6px;
	color: var(--white);
	cursor: pointer;
}

.nav-toggle svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

/* ---------- Lens band (the mist ellipse on navy) ---------- */
.lens {
	position: relative;
	padding: 90px 0;
	color: var(--ink);
	isolation: isolate;
}

.lens::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -22%;
	right: -22%;
	background: var(--mist);
	border-radius: 50%;
	z-index: -1;
}

.lens--flat::before {
	left: -45%;
	right: -45%;
}

.lens h1,
.lens h2 {
	color: var(--ink);
}

/* ---------- Navy section ---------- */
.sec {
	padding: 80px 0;
	color: var(--on-navy);
}

.sec h1,
.sec h2,
.sec h3 {
	color: var(--mist);
}

.sec .lead {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.sec + .lens,
.lens + .sec {
	margin-top: 10px;
}

/* ---------- Text helpers ---------- */
.eyebrow {
	display: block;
	margin-bottom: 6px;
	color: var(--pink);
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.eyebrow--caps {
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.04em;
}

.title-pink {
	color: var(--pink) !important;
}

.subhead {
	color: var(--pink) !important;
	font-family: var(--sans);
	font-size: 20px;
	font-weight: 400;
	margin-bottom: 14px;
}

.mt-sm {
	margin-top: 12px;
}

.mt-md {
	margin-top: 1.4em;
}

.mt-lg {
	margin-top: 56px;
}

.quote-line {
	font-style: italic;
	font-size: 13px;
}

.small {
	font-size: 13px;
}

/* Arrow list (pink arrows) */
.arrow-list {
	list-style: none;
	margin: 0 0 1.2em;
	padding: 0;
	text-align: left;
}

.arrow-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 8px;
}

.arrow-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.78em;
	width: 16px;
	height: 2px;
	background: var(--pink);
}

.arrow-list li::after {
	content: "";
	position: absolute;
	left: 9px;
	top: calc(0.78em - 3px);
	width: 6px;
	height: 6px;
	border-top: 2px solid var(--pink);
	border-right: 2px solid var(--pink);
	transform: rotate(45deg);
}

.arrow-list strong {
	font-weight: 600;
}

.arrow-list .sub {
	display: block;
}

.list-center {
	width: fit-content;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

/* ---------- Split (text + photo) ---------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.split__text {
	text-align: center;
}

.split__text--left {
	text-align: left;
}

.split__media {
	display: flex;
	justify-content: center;
}

.split__media img {
	width: 100%;
	max-width: 440px;
	margin: -150px 0;
	display: block;
}

.split--media-left .split__media {
	order: -1;
}

.lens .split__text {
	padding: 10px 0;
}

/* Hero text column sits a little narrower, as on the original */
.split__text .text-col {
	max-width: 470px;
	margin: 0 auto;
}

/* ---------- Cards ---------- */
.cards {
	display: grid;
	gap: 22px;
	margin-top: 28px;
}

.cards--3 {
	grid-template-columns: repeat(3, 1fr);
}

.cards--2 {
	grid-template-columns: repeat(2, 1fr);
}

.card {
	background: var(--mist);
	border-radius: 10px;
	padding: 22px 22px 28px;
	color: var(--ink);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.card__title {
	color: var(--pink) !important;
	font-size: 26px;
	margin-bottom: 14px;
}

.card__img {
	width: 200px;
	max-width: 100%;
	border-radius: 50%;
	margin-bottom: 16px;
}

.card__text {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	margin-bottom: 16px;
}

.card__text--plain {
	font-weight: 400;
}

.card .btn {
	margin-top: auto;
}

/* ---------- Circle feature rows (Events) ---------- */
.feature {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 48px;
	align-items: center;
	margin: 0 auto 70px;
	max-width: 960px;
}

.feature:last-child {
	margin-bottom: 0;
}

.feature__img img {
	width: 260px;
	border-radius: 50%;
	display: block;
}

.feature__body {
	text-align: center;
}

.feature__body h2 {
	font-size: 28px;
}

.feature__body .arrow-list {
	margin-top: 4px;
}

/* ---------- Books (children page) ---------- */
.intro-text {
	margin: 0 auto;
}

.hero-graphic {
	display: block;
	width: 760px;
	margin: 18px auto 0;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(36, 56, 79, 0.16);
}

.showcase {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 44px 32px;
	max-width: 1040px;
	margin: 34px auto 0;
}

.showcase__title {
	margin-bottom: 14px;
}

.showcase__item img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(36, 56, 79, 0.16);
}

.showcase__link {
	display: block;
	border-radius: 10px;
}

.showcase__link img {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase__link:hover img {
	transform: translateY(-3px);
	box-shadow: 0 18px 38px rgba(36, 56, 79, 0.24);
}

/* ---------- Image tiles (women page, wholesale) ---------- */
.tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 26px 0;
}

.tiles img {
	width: 100%;
	display: block;
}

.tile-single {
	max-width: 320px;
	margin: 16px auto 18px;
}

.tile-single img {
	display: block;
	width: 100%;
}

/* ---------- Resource rows (family page) ---------- */
.resource {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 56px;
	align-items: start;
	max-width: 960px;
	margin: 0 auto 70px;
}

.resource__media {
	text-align: center;
}

.resource__media img {
	width: 100%;
	max-width: 300px;
	display: block;
	margin: 0 auto 14px;
}

.resource__body {
	text-align: center;
}

.resource__body h2 {
	font-size: 30px;
}

.resource__body .arrow-list {
	width: fit-content;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.bundle-covers {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin: 18px 0;
}

.bundle-covers img {
	width: 210px;
	max-width: 45%;
}

/* ---------- Bookstore page ---------- */
.book-feature {
	max-width: 720px;
	margin: 0 auto 70px;
	text-align: center;
}

.book-feature img.cover {
	width: 420px;
	max-width: 100%;
	display: block;
	margin: 10px auto 16px;
}

.stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.jump-links {
	font-size: 14px;
}

.reviews {
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

.review {
	margin-bottom: 28px;
}

.review__stars {
	color: var(--pink);
	letter-spacing: 3px;
	font-size: 16px;
	line-height: 1;
}

.review__title {
	font-weight: 500;
	margin: 4px 0 2px;
}

.review__text {
	font-style: italic;
	margin: 0 0 2px;
}

.review__name {
	margin: 0;
}

/* ---------- Contact ---------- */
.contact-email {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 20px 0;
}

.contact-email svg {
	width: 32px;
	height: 32px;
	fill: var(--navy);
}

.social-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 14px;
}

.social-icons {
	display: flex;
	gap: 14px;
	justify-content: center;
}

.social-icons a {
	display: inline-flex;
	color: inherit;
}

.social-icons svg {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

/* ---------- Simple page / WooCommerce frame ---------- */
.page-head {
	padding: 70px 0 64px;
	text-align: center;
}

.page-head h1 {
	margin: 0;
}

.page-body {
	background: var(--white);
	color: var(--ink-soft);
	padding: 56px 0 80px;
}

.page-body .wrap > *:first-child {
	margin-top: 0;
}

.page-body h2 {
	font-size: 26px;
	color: var(--ink);
	margin-top: 1.4em;
}

/* ---------- Blog ---------- */
.blog-head {
	padding: 26px 0 70px;
	color: var(--on-navy);
	text-align: center;
	position: relative;
	isolation: isolate;
}

.blog-head h1 {
	color: var(--white);
	font-size: clamp(28px, 3vw, 34px);
}

.blog-head p {
	max-width: 760px;
	margin: 0 auto;
	font-size: 14px;
}

.blog-head--slim {
	padding: 0 0 40px;
}

.blog-main {
	background: var(--mist);
	position: relative;
	padding: 20px 0 90px;
}

.blog-main::before {
	content: "";
	position: absolute;
	left: -20%;
	right: -20%;
	top: -46px;
	height: 120px;
	background: var(--mist);
	border-radius: 50%;
}

.blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 48px;
	align-items: start;
}

.post-list {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.post-card__media {
	position: relative;
	display: block;
	max-width: 470px;
}

.post-card__media img {
	display: block;
	width: 100%;
	height: auto;
}

.post-card__cats {
	position: absolute;
	left: 8px;
	bottom: 8px;
	right: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 0 4px;
	font-size: 10px;
	line-height: 1.6;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.post-card__cats a {
	background: var(--navy);
	color: var(--white);
	padding: 0 4px;
	text-decoration: underline;
}

.post-meta {
	display: block;
	margin: 18px 0 4px;
	color: var(--ink-soft);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.post-card__title {
	font-size: clamp(22px, 2.2vw, 28px);
	margin-bottom: 10px;
}

.post-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--pink);
}

.post-card__excerpt {
	font-size: 14px;
	color: var(--ink-soft);
}

.btn--small {
	padding: 8px 18px;
	font-family: var(--serif);
	font-size: 15px;
	letter-spacing: 0.03em;
	text-transform: none;
	border-radius: 2px;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 56px;
}

.pagination .page-numbers {
	min-width: 40px;
	padding: 8px 12px;
	background: var(--white);
	color: var(--navy);
	text-align: center;
	text-decoration: none;
	border-radius: 4px;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--navy);
	color: var(--white);
}

/* Sidebar */
.sidebar {
	background: var(--navy);
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.widget {
	background: var(--white);
	padding: 18px 16px 20px;
	text-align: center;
	font-size: 12px;
	line-height: 1.5;
	color: var(--ink);
}

.widget__title {
	font-size: 18px;
	margin-bottom: 12px;
	color: var(--ink);
}

.widget__title::after {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	margin: 6px auto 0;
	background: var(--navy);
}

.widget img {
	display: block;
	width: 100%;
	margin-bottom: 10px;
}

.widget .btn--small {
	font-size: 14px;
	padding: 4px 14px;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0 6px;
	text-align: left;
}

.widget li {
	margin-bottom: 6px;
}

.widget li a {
	color: var(--ink);
}

.widget li a:hover {
	color: var(--pink);
}

.search-form {
	display: flex;
}

.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 8px 10px;
	border: 1px solid var(--mist);
	font: inherit;
	font-size: 12px;
}

.search-form button {
	border: 0;
	background: var(--mist);
	padding: 0 12px;
	cursor: pointer;
	color: var(--navy);
}

/* Single post */
.entry-title {
	color: var(--ink);
	font-size: clamp(26px, 2.6vw, 32px);
}

.entry-thumb img {
	display: block;
	width: 100%;
}

.entry-content {
	color: var(--ink-soft);
	font-size: 15px;
}

.entry-content h2 {
	color: var(--pink);
	font-family: var(--sans);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.35;
	margin: 1.6em 0 0.5em;
}

.entry-content > h2:first-child {
	margin-top: 0.4em;
}

.entry-content h3 {
	color: var(--ink);
	font-size: 22px;
	margin-top: 1.4em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
	margin: 0 0 1.2em;
}

.entry-content li {
	margin-bottom: 6px;
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--pink);
	font-style: italic;
}

.entry-content .post-image {
	margin: 1.4em 0;
}

.entry-content .post-button {
	text-align: center;
	margin: 1.6em 0;
}

.share {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 34px 0;
}

.share a {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 20px;
	color: var(--white);
	font-size: 12px;
	text-decoration: none;
}

.share .fb {
	background: #3b5998;
}

.share .pin {
	background: #cb2027;
}

.share .mail {
	background: var(--navy);
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 30px 0;
}

.related {
	margin-top: 40px;
	text-align: center;
}

.related h2 {
	color: var(--pink);
	font-size: 22px;
}

.related__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	text-align: center;
}

.related__grid a {
	color: var(--ink);
	text-decoration: none;
	font-family: var(--serif);
	font-size: 16px;
	line-height: 1.3;
}

.related__grid img {
	display: block;
	width: 100%;
	margin-bottom: 8px;
}

.comments {
	margin-top: 46px;
}

.comments h2 {
	font-size: 22px;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 26px;
}

.comment-body {
	background: var(--white);
	padding: 16px 18px;
	margin-bottom: 14px;
	border-radius: 6px;
	font-size: 14px;
}

.comment-meta {
	font-size: 12px;
	margin-bottom: 6px;
}

.comment-author .avatar {
	display: none;
}

.comment-awaiting-moderation,
.reply {
	display: none;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--navy);
	color: var(--white);
	padding: 60px 0 28px;
	text-align: center;
	font-size: 13px;
}

.site-footer .site-logo img {
	margin: 0 auto 6px;
}

.footer-nav ul {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 26px;
}

.footer-nav a {
	color: var(--white);
	font-size: 13px;
	text-transform: uppercase;
	text-decoration: none;
}

.footer-nav a:hover {
	color: var(--pink);
}

.footer-social p {
	margin: 0 0 4px;
}

.footer-social .social-icons {
	margin-bottom: 18px;
}

.footer-social .social-icons a {
	color: var(--white);
}

.footer-social .social-icons a:hover {
	color: var(--pink);
}

.copyright {
	margin: 26px 0 14px;
}

.credit {
	font-size: 11px;
	margin: 0;
}

.credit a {
	color: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.blog-layout {
		grid-template-columns: 1fr;
	}

	.sidebar {
		max-width: 520px;
		width: 100%;
		margin: 0 auto;
	}
}

@media (max-width: 900px) {
	:root {
		--gutter: 16px;
	}

	.site-logo img {
		width: 150px;
	}

	.nav-bar {
		justify-content: space-between;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.header-cart {
		position: static;
		transform: none;
	}

	.main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: calc(-1 * var(--gutter));
		right: calc(-1 * var(--gutter));
		background: var(--navy-deep);
		padding: 10px var(--gutter) 18px;
	}

	.nav-open .main-nav {
		display: block;
	}

	.main-nav > ul {
		flex-direction: column;
		gap: 0;
		text-align: left;
	}

	.main-nav a {
		padding: 10px 0;
		font-size: 14px;
	}

	.main-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: none;
		box-shadow: none;
		padding: 0 0 0 16px;
		min-width: 0;
	}

	.main-nav .sub-menu a {
		color: var(--mist);
	}

	.main-nav .menu-item-has-children > a::after {
		display: none;
	}

	.lens {
		padding: 56px 0;
	}

	.lens::before {
		left: -70%;
		right: -70%;
	}

	.sec {
		padding: 56px 0;
	}

	.split,
	.feature,
	.resource {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.split__media {
		order: -1;
	}

	.split__media img {
		max-width: 300px;
		margin: -110px 0 0;
	}

	.lens--hero {
		margin-top: 90px;
	}

	.split__text,
	.split__text--left {
		text-align: center;
	}

	.cards--3,
	.cards--2,
	.tiles {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.showcase {
		grid-template-columns: 1fr;
		gap: 34px;
		max-width: 560px;
	}

	.feature__img {
		display: flex;
		justify-content: center;
	}

	.feature__img img {
		width: 220px;
	}

	.related__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 14px;
	}

	.btn {
		padding: 11px 18px;
		letter-spacing: 0.12em;
	}

	.post-nav {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}

/* ---------- Comment form ---------- */
.comment-respond {
	margin-top: 40px;
}

.comment-reply-title {
	font-size: 24px;
	color: var(--ink);
}

.comment-form p {
	margin-bottom: 14px;
}

.comment-form label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #c3ced3;
	border-radius: 8px;
	font: inherit;
	font-size: 14px;
	background: var(--white);
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.comment-form .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

.comment-notes,
.logged-in-as {
	font-size: 13px;
}
