/*
Theme Name: CrochetEco
Theme URI: https://crocheteco.com/
Description: A fast, mobile-first crochet child theme for GeneratePress with an editorial homepage, accessible navigation, SEO fallbacks, schema compatibility, and AdSense-ready widget areas.
Author: CrochetEco
Author URI: https://crocheteco.com/
Template: generatepress
Version: 1.5.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crocheteco
Tags: blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
	--ce-berry: #94285f;
	--ce-berry-dark: #741b48;
	--ce-berry-soft: #bd5f89;
	--ce-blush: #fff4f6;
	--ce-blush-strong: #f8e3e9;
	--ce-ink: #271e24;
	--ce-muted: #665a62;
	--ce-line: #ead7de;
	--ce-white: #ffffff;
	--ce-green: #39734f;
	--ce-radius: 18px;
	--ce-radius-lg: 28px;
	--ce-shadow: 0 14px 38px rgba(92, 31, 65, 0.09);
	--ce-serif: Georgia, "Times New Roman", Times, serif;
	--ce-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
	background: #fbfafb;
	color: var(--ce-ink);
	font-family: var(--ce-sans);
	font-size: 17px;
	line-height: 1.72;
	text-rendering: optimizeLegibility;
}

body, button, input, select, textarea { font-family: var(--ce-sans); }

h1, h2, h3, h4, h5, h6,
.entry-title, .widget-title {
	color: var(--ce-ink);
	font-family: var(--ce-serif);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.18;
}

a { color: var(--ce-berry); }
a:hover, a:focus { color: var(--ce-berry-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid rgba(148, 40, 95, .35);
	outline-offset: 3px;
}

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

.grid-container { max-width: 1180px; }

.site-header {
	background: rgba(255,255,255,.97);
	border-bottom: 1px solid var(--ce-line);
	position: relative;
	z-index: 20;
}

.inside-header { padding: 20px 28px; }
.site-logo img { width: auto; max-height: 66px; }
.main-title { font-family: var(--ce-serif); font-size: 27px; }
.site-description { color: var(--ce-muted); font-size: 14px; }

.main-navigation, .main-navigation ul ul { background: var(--ce-white); }
.main-navigation .main-nav ul li a,
.menu-toggle, .main-navigation .menu-bar-item > a {
	color: var(--ce-ink);
	font-size: 15px;
	font-weight: 650;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus-within > a {
	background: transparent;
	color: var(--ce-berry);
}
.main-navigation .main-nav > ul > li > a { position: relative; }
.main-navigation .main-nav > ul > li > a::after {
	background: var(--ce-berry);
	bottom: 8px;
	content: "";
	height: 2px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%) scaleX(0);
	transition: transform .18s ease;
	width: calc(100% - 36px);
}
.main-navigation .main-nav > ul > li:hover > a::after,
.main-navigation .main-nav > ul > li:focus-within > a::after,
.main-navigation .main-nav > ul > li[class*="current-menu-"] > a::after { transform: translateX(-50%) scaleX(1); }

.ce-wrap { margin-inline: auto; max-width: 1180px; padding-inline: 24px; width: 100%; }
.ce-kicker {
	align-items: center;
	color: var(--ce-berry);
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	gap: 9px;
	letter-spacing: .13em;
	margin: 0 0 13px;
	text-transform: uppercase;
}
.ce-kicker::before { background: currentColor; content: ""; height: 2px; width: 25px; }
.ce-button {
	align-items: center;
	background: var(--ce-berry);
	border: 2px solid var(--ce-berry);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 750;
	justify-content: center;
	min-height: 48px;
	padding: 10px 25px;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.ce-button:hover, .ce-button:focus { background: var(--ce-berry-dark); border-color: var(--ce-berry-dark); color: #fff; transform: translateY(-1px); }
.ce-button--ghost { background: transparent; color: var(--ce-berry); }
.ce-button--ghost:hover, .ce-button--ghost:focus { background: var(--ce-berry); color: #fff; }

.ce-home { background: var(--ce-white); overflow: hidden; width: 100%; }
.ce-hero { background: var(--ce-blush); padding: clamp(52px, 7vw, 88px) 0; }
.ce-hero__grid { align-items: center; display: grid; gap: clamp(34px, 6vw, 68px); grid-template-columns: 1.02fr .98fr; }
.ce-hero h1 { font-size: clamp(39px, 5.4vw, 62px); margin: 0 0 20px; }
.ce-hero__lead { color: var(--ce-muted); font-size: clamp(17px, 2vw, 20px); margin: 0 0 22px; max-width: 600px; }
.ce-hero__trust { display: flex; flex-wrap: wrap; gap: 9px 20px; list-style: none; margin: 0 0 29px; padding: 0; }
.ce-hero__trust li { align-items: center; color: var(--ce-green); display: flex; font-size: 13px; font-weight: 750; gap: 7px; }
.ce-hero__trust li::before { content: "\2713"; font-size: 15px; }
.ce-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.ce-hero__media { min-width: 0; position: relative; }
.ce-hero__media::before { border: 1px solid rgba(148,40,95,.18); border-radius: 50%; content: ""; height: 110px; position: absolute; right: -34px; top: -32px; width: 110px; }
.ce-hero__media img { aspect-ratio: 3 / 2; border-radius: var(--ce-radius-lg); box-shadow: 0 26px 58px rgba(91,27,61,.17); object-fit: cover; width: 100%; }

.ce-section { padding: clamp(64px, 8vw, 94px) 0; }
.ce-section--tint { background: var(--ce-blush); }
.ce-section__head { margin: 0 auto 42px; max-width: 740px; text-align: center; }
.ce-section__head .ce-kicker { justify-content: center; }
.ce-section__head h2 { font-size: clamp(29px, 4vw, 43px); margin: 0 0 13px; }
.ce-section__head p { color: var(--ce-muted); font-size: 18px; margin: 0; }

.ce-category-grid { display: grid; gap: 23px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ce-category-card, .ce-post-card {
	background: var(--ce-white);
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius-lg);
	box-shadow: 0 3px 12px rgba(92,31,65,.035);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.ce-category-card:hover, .ce-post-card:hover { box-shadow: var(--ce-shadow); transform: translateY(-4px); }
.ce-category-card__image, .ce-post-card__image { background: var(--ce-blush-strong); display: block; overflow: hidden; }
.ce-category-card__image { aspect-ratio: 4 / 3; }
.ce-post-card__image { aspect-ratio: 16 / 10; }
.ce-category-card__image img, .ce-post-card__image img { height: 100%; object-fit: cover; transition: transform .3s ease; width: 100%; }
.ce-category-card:hover img, .ce-post-card:hover img { transform: scale(1.025); }
.ce-category-card__body { padding: 20px 20px 23px; }
.ce-category-card h3 { font-size: 22px; margin: 0 0 8px; }
.ce-category-card h3 a, .ce-post-card h3 a { color: var(--ce-ink); text-decoration: none; }
.ce-category-card p { color: var(--ce-muted); font-size: 14px; margin: 0 0 10px; }
.ce-more { color: var(--ce-berry); font-size: 14px; font-weight: 750; }

.ce-guides { background: var(--ce-white); border-radius: var(--ce-radius-lg); box-shadow: var(--ce-shadow); margin: 0 auto; max-width: 960px; padding: clamp(28px, 5vw, 48px); }
.ce-guides__list { display: grid; gap: 0 38px; grid-template-columns: 1fr 1fr; list-style: none; margin: 0; padding: 0; }
.ce-guides__list li { border-bottom: 1px solid var(--ce-line); padding: 14px 0; }
.ce-guides__list a { color: var(--ce-ink); display: flex; font-size: 15px; font-weight: 650; gap: 10px; text-decoration: none; }
.ce-guides__list a::before { color: var(--ce-berry); content: "\203A"; font-size: 21px; line-height: 1.2; }
.ce-guides__list a:hover { color: var(--ce-berry); }

.ce-post-grid { display: grid; gap: 25px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ce-post-card__body { padding: 20px 21px 23px; }
.ce-post-card__meta { color: var(--ce-berry); font-size: 12px; font-weight: 800; letter-spacing: .06em; margin: 0 0 8px; text-transform: uppercase; }
.ce-post-card h3 { font-size: 22px; margin: 0 0 10px; }
.ce-post-card__excerpt { color: var(--ce-muted); font-size: 14px; margin: 0 0 13px; }

.ce-cta { background: var(--ce-berry); color: #fff; padding: clamp(54px, 7vw, 78px) 0; text-align: center; }
.ce-cta h2 { color: #fff; font-size: clamp(29px, 4vw, 42px); margin: 0 0 13px; }
.ce-cta p { color: #f7dce8; font-size: 18px; margin: 0 auto 26px; max-width: 620px; }
.ce-cta .ce-button { background: #fff; border-color: #fff; color: var(--ce-berry-dark); }
.ce-cta .ce-button:hover { background: var(--ce-blush); border-color: var(--ce-blush); color: var(--ce-berry-dark); }

.ce-ad-slot { background: #fff; padding: 18px 24px; text-align: center; }
.ce-ad-slot::before { color: #80747b; content: attr(data-label); display: block; font-size: 10px; letter-spacing: .1em; margin-bottom: 8px; text-transform: uppercase; }

.ce-breadcrumbs { color: var(--ce-muted); font-size: 13px; margin: 0 0 22px; }
.ce-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.ce-breadcrumbs li:not(:last-child)::after { color: #aa9ba4; content: "/"; margin-left: 7px; }
.ce-breadcrumbs a { text-decoration: none; }
.single .inside-article > .ce-breadcrumbs { border-bottom: 1px solid var(--ce-line); margin: 0 0 24px; padding: 0 0 14px; }
.single .inside-article > .ce-breadcrumbs ol { flex-wrap: nowrap; min-width: 0; }
.single .inside-article > .ce-breadcrumbs li { flex: 0 0 auto; min-width: 0; }
.single .inside-article > .ce-breadcrumbs li:last-child { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.site-content { padding-top: 42px; }
body.ce-is-home .site.grid-container, body.ce-is-home .site-content { max-width: none; padding: 0; }
body.ce-is-home .content-area { width: 100%; }
body.ce-is-home #right-sidebar, body.ce-is-home #left-sidebar { display: none; }

.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header,
.one-container .site-content { border-radius: var(--ce-radius); }
.separate-containers .inside-article { border: 1px solid rgba(234,215,222,.8); box-shadow: 0 7px 26px rgba(92,31,65,.045); }
.entry-title { font-size: clamp(31px, 4.2vw, 48px); }
.entry-title a { color: var(--ce-ink); text-decoration: none; }
.entry-meta { color: var(--ce-muted); font-size: 13px; }
.post-image img, .featured-image img { border-radius: var(--ce-radius); }
.entry-content h2 { font-size: clamp(27px, 3.4vw, 36px); margin-top: 1.55em; }
.entry-content h3 { font-size: clamp(22px, 2.7vw, 28px); margin-top: 1.4em; }
.entry-content a { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content blockquote { background: var(--ce-blush); border-left: 4px solid var(--ce-berry); margin-left: 0; padding: 20px 24px; }
.entry-content table { border-collapse: collapse; display: block; max-width: 100%; overflow-x: auto; }
.entry-content th { background: var(--ce-blush); }
.entry-content th, .entry-content td { border: 1px solid var(--ce-line); padding: 11px 13px; }
.widget { border-radius: var(--ce-radius); }
.widget-title { font-size: 24px; }
.site-info { background: var(--ce-ink); color: #f4eaf0; }
.site-info a { color: #fff; }
.ce-footer-links { display: inline-flex; flex-wrap: wrap; gap: 8px 15px; justify-content: center; margin-left: 15px; }

/* Single post: related reading and navigation. */
.ce-related {
	border-top: 1px solid var(--ce-line);
	margin-top: 44px;
	padding-top: 38px;
}
.ce-related__head { align-items: end; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 22px; }
.ce-related__head .ce-kicker { margin-bottom: 7px; }
.ce-related__head h2 { font-size: clamp(27px, 3.2vw, 36px); margin: 0; }
.ce-related__all { font-size: 14px; font-weight: 750; white-space: nowrap; }
.ce-related__grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ce-related-card { border: 1px solid var(--ce-line); border-radius: var(--ce-radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.ce-related-card:hover { box-shadow: var(--ce-shadow); transform: translateY(-3px); }
.ce-related-card__image { aspect-ratio: 16 / 10; background: var(--ce-blush); display: block; overflow: hidden; }
.ce-related-card__image img { height: 100%; object-fit: cover; transition: transform .3s ease; width: 100%; }
.ce-related-card:hover img { transform: scale(1.035); }
.ce-related-card__body { padding: 16px 17px 19px; }
.ce-related-card__meta { color: var(--ce-berry); font-size: 11px; font-weight: 800; letter-spacing: .06em; margin: 0 0 7px; text-transform: uppercase; }
.ce-related-card h3 { font-size: 19px; line-height: 1.28; margin: 0; }
.ce-related-card h3 a { color: var(--ce-ink); text-decoration: none; }
.ce-related-card h3 a:hover { color: var(--ce-berry); }
.post-navigation { border-top: 1px solid var(--ce-line); gap: 20px; margin-top: 34px; padding-top: 25px; }
.post-navigation a { color: var(--ce-ink); font-family: var(--ce-serif); font-size: 16px; font-weight: 700; text-decoration: none; }
.post-navigation a:hover { color: var(--ce-berry); }

/* Comments. */
.comments-area {
	background: var(--ce-white);
	border: 1px solid rgba(234,215,222,.8);
	border-radius: var(--ce-radius-lg);
	box-shadow: 0 7px 26px rgba(92,31,65,.045);
	margin-top: 28px;
	padding: clamp(25px, 4vw, 42px);
}
#comments { max-width: 100%; }
.comments-title, .comment-reply-title { font-size: clamp(27px, 3.2vw, 35px); margin-bottom: 10px; }
.ce-comment-intro, .comment-notes, .logged-in-as { color: var(--ce-muted); font-size: 14px; margin-bottom: 22px; }
.comment-list { margin: 28px 0 40px; }
.comment-list > li { border-bottom: 1px solid var(--ce-line); padding: 0 0 25px; }
.comment-list .children { border-left: 2px solid var(--ce-blush-strong); margin-left: 22px; padding-left: 22px; }
.comment-body { padding: 22px 0; }
.comment-meta { font-size: 13px; }
.comment-author .avatar { border: 3px solid var(--ce-blush); border-radius: 50%; }
.comment-content { color: var(--ce-ink); }
.reply a { background: var(--ce-blush); border-radius: 999px; display: inline-block; font-size: 12px; font-weight: 750; padding: 6px 13px; text-decoration: none; }
.comment-form { display: grid; gap: 17px; grid-template-columns: 1fr 1fr; }
.comment-form > p { margin: 0; }
.comment-form-comment, .comment-notes, .logged-in-as, .comment-form-cookies-consent, .form-submit { grid-column: 1 / -1; }
.comment-form label { color: var(--ce-ink); display: block; font-size: 13px; font-weight: 750; margin-bottom: 7px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	background: #fdfcfd;
	border: 1px solid #ddcbd3;
	border-radius: 12px;
	color: var(--ce-ink);
	font-size: 15px;
	padding: 13px 15px;
	transition: border-color .15s ease, box-shadow .15s ease;
	width: 100%;
}
.comment-form textarea { min-height: 165px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--ce-berry); box-shadow: 0 0 0 3px rgba(148,40,95,.1); outline: none; }
.comment-form-cookies-consent { align-items: flex-start; display: flex; gap: 9px; }
.comment-form-cookies-consent label { font-weight: 500; margin: 0; }
.form-submit .submit {
	background: var(--ce-berry);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-weight: 750;
	min-height: 48px;
	padding: 11px 25px;
}
.form-submit .submit:hover { background: var(--ce-berry-dark); }

/* Lightweight editorial sidebar. */
.inside-right-sidebar { display: grid; gap: 20px; }
.ce-sidebar-panel {
	background: var(--ce-white);
	border: 1px solid rgba(234,215,222,.8);
	border-radius: var(--ce-radius);
	box-shadow: 0 5px 20px rgba(92,31,65,.045);
	padding: 24px;
}
.ce-sidebar-panel__title { font-size: 25px; margin: 0 0 17px; }
.ce-sidebar-posts { display: grid; gap: 15px; }
.ce-sidebar-post { align-items: center; display: grid; gap: 13px; grid-template-columns: 82px 1fr; }
.ce-sidebar-post__image { aspect-ratio: 1 / 1; background: var(--ce-blush); border-radius: 12px; display: block; overflow: hidden; }
.ce-sidebar-post__image img { height: 100%; object-fit: cover; width: 100%; }
.ce-sidebar-post__date { color: var(--ce-muted); display: block; font-size: 10px; font-weight: 700; letter-spacing: .05em; margin-bottom: 3px; text-transform: uppercase; }
.ce-sidebar-post__title { color: var(--ce-ink); display: block; font-family: var(--ce-serif); font-size: 15px; font-weight: 700; line-height: 1.28; text-decoration: none; }
.ce-sidebar-post__title:hover { color: var(--ce-berry); }
.ce-sidebar-categories { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ce-sidebar-categories a { align-items: center; border-bottom: 1px solid var(--ce-line); color: var(--ce-ink); display: flex; font-size: 14px; font-weight: 650; justify-content: space-between; padding: 10px 0; text-decoration: none; }
.ce-sidebar-categories li:last-child a { border-bottom: 0; }
.ce-sidebar-categories a:hover { color: var(--ce-berry); }
.ce-sidebar-count { background: var(--ce-blush); border-radius: 999px; color: var(--ce-berry); font-size: 11px; min-width: 27px; padding: 2px 7px; text-align: center; }
.ce-sidebar-about { background: linear-gradient(145deg, var(--ce-blush), #fff); }
.ce-sidebar-about p { color: var(--ce-muted); font-size: 14px; margin: 0 0 16px; }
.ce-search-form { display: flex; }
.ce-search-form label { flex: 1; }
.ce-search-form input { border: 1px solid var(--ce-line); border-radius: 999px 0 0 999px; min-height: 45px; padding: 9px 15px; width: 100%; }
.ce-search-form button { background: var(--ce-berry); border: 0; border-radius: 0 999px 999px 0; color: #fff; font-size: 13px; font-weight: 750; padding: 8px 16px; }

/* Full editorial footer. */
.ce-site-footer { background: #fff; color: var(--ce-ink); }
.ce-footer-newsletter { background: var(--ce-berry); color: #fff; padding: 30px 0; }
.ce-footer-newsletter__inner { align-items: center; display: flex; gap: 28px; justify-content: space-between; }
.ce-footer-newsletter h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 0 0 4px; }
.ce-footer-newsletter p { color: #f7dce8; font-size: 14px; margin: 0; }
.ce-footer-newsletter .ce-button { background: #fff; border-color: #fff; color: var(--ce-berry-dark); flex: none; }
.ce-footer-main { padding: 58px 0 44px; }
.ce-footer-grid { display: grid; gap: 42px; grid-template-columns: 1.35fr 1fr 1fr 1fr; }
.ce-footer-brand .custom-logo-link { display: inline-block; margin-bottom: 17px; }
.ce-footer-brand .custom-logo { height: auto; max-width: 180px; }
.ce-footer-brand__name { color: var(--ce-ink); display: block; font-family: var(--ce-serif); font-size: 27px; font-weight: 700; margin-bottom: 13px; text-decoration: none; }
.ce-footer-brand p { color: var(--ce-muted); font-size: 14px; margin: 0; max-width: 320px; }
.ce-footer-column h2 { font-family: var(--ce-sans); font-size: 13px; letter-spacing: .1em; margin: 0 0 17px; text-transform: uppercase; }
.ce-footer-column ul { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.ce-footer-column a { color: var(--ce-muted); font-size: 14px; text-decoration: none; }
.ce-footer-column a:hover { color: var(--ce-berry); text-decoration: underline; text-underline-offset: 3px; }
.ce-footer-disclosure { border-top: 1px solid var(--ce-line); color: #80747b; font-size: 11px; line-height: 1.65; margin-top: 38px; padding-top: 22px; }
.ce-footer-bottom { background: var(--ce-ink); color: #f6edf2; padding: 19px 0; }
.ce-footer-bottom__inner { align-items: center; display: flex; font-size: 12px; gap: 24px; justify-content: space-between; }
.ce-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 0; padding: 0; }
.ce-footer-bottom a { color: #fff; text-decoration: none; }
.ce-footer-bottom a:hover { text-decoration: underline; }
.ce-back-to-top { white-space: nowrap; }

/* Native, script-free social sharing. */
.ce-share { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; }
.ce-share--top { border-bottom: 1px solid var(--ce-line); margin: 18px 0 25px; padding-bottom: 18px; }
.ce-share--bottom { border-top: 1px solid var(--ce-line); margin-top: 34px; padding-top: 24px; }
.ce-share__label { color: var(--ce-muted); font-size: 12px; font-weight: 750; margin-right: 2px; }
.ce-share__button { align-items: center; border: 1px solid var(--ce-line); border-radius: 999px; display: inline-flex; font-size: 12px; font-weight: 750; gap: 7px; min-height: 40px; padding: 8px 15px; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.ce-share__button svg { height: 17px; width: 17px; }
.ce-share__button:hover { box-shadow: 0 6px 16px rgba(92,31,65,.1); transform: translateY(-1px); }
.ce-share__button--pinterest { background: #bd081c; border-color: #bd081c; color: #fff; }
.ce-share__button--pinterest:hover { background: #9e0718; border-color: #9e0718; color: #fff; }
.ce-share__button--facebook { background: #1877f2; border-color: #1877f2; color: #fff; }
.ce-share__button--facebook:hover { background: #1264cf; border-color: #1264cf; color: #fff; }

/* Category archives: dense, fast editorial grid with no sidebar. */
body.category .site-content { display: block; }
body.category .content-area { width: 100%; }
body.category #main { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.category #main > .ce-breadcrumbs,
body.category #main > .page-header,
body.category #main > .paging-navigation,
body.category #main > .generate-columns-container { grid-column: 1 / -1; }
body.category #main > article { margin: 0; min-width: 0; }
body.category #main > article .inside-article { display: flex; flex-direction: column; height: 100%; padding: 20px; }
body.category .page-header { margin: 0 0 4px; padding: 28px 30px; }
body.category .page-header .page-title { font-size: clamp(34px, 4vw, 46px); margin: 0; }
body.category .entry-title { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.22; }
body.category .entry-meta { font-size: 11px; }
body.category .post-image { margin: 17px 0 15px; order: 2; }
body.category .post-image img { aspect-ratio: 4 / 3; border-radius: 14px; height: auto; object-fit: cover; width: 100%; }
body.category .entry-header { order: 1; }
body.category .entry-summary { color: var(--ce-muted); flex: 1; font-size: 13px; line-height: 1.58; margin: 0; order: 3; }
body.category .entry-summary p { margin-bottom: 14px; }
body.category .entry-footer { border-top: 1px solid var(--ce-line); font-size: 11px; margin-top: auto; order: 4; padding-top: 11px; }
body.category .read-more { font-size: 12px; font-weight: 800; white-space: nowrap; }

/* Centered archive pagination with large, touch-friendly targets. */
body.category .paging-navigation,
body.category .pagination {
	background: transparent;
	display: flex;
	grid-column: 1 / -1;
	justify-content: center;
	margin: 14px 0 0;
	padding: 12px 0 2px;
}
body.category .paging-navigation .nav-links,
body.category .pagination .nav-links { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
body.category .page-numbers {
	align-items: center;
	background: var(--ce-white);
	border: 1px solid var(--ce-line);
	border-radius: 10px;
	color: var(--ce-ink);
	display: inline-flex;
	font-size: 13px;
	font-weight: 750;
	height: 42px;
	justify-content: center;
	min-width: 42px;
	padding: 0 12px;
	text-decoration: none;
}
body.category .page-numbers.current { background: var(--ce-berry); border-color: var(--ce-berry); color: #fff; }
body.category a.page-numbers:hover, body.category a.page-numbers:focus { background: var(--ce-blush); border-color: var(--ce-berry); color: var(--ce-berry-dark); }
body.category .page-numbers.next, body.category .page-numbers.prev { padding-inline: 17px; width: auto; }

/* Optional author trust card; shown only when the WordPress profile has a bio. */
.ce-author-box {
	align-items: center;
	background: var(--ce-blush);
	border: 1px solid var(--ce-line);
	border-radius: var(--ce-radius);
	display: grid;
	gap: 18px;
	grid-template-columns: 72px 1fr;
	margin-top: 34px;
	padding: 22px;
}
.ce-author-box .avatar { border: 4px solid #fff; border-radius: 50%; }
.ce-author-box__label { color: var(--ce-berry); font-size: 10px; font-weight: 800; letter-spacing: .1em; margin: 0 0 2px; text-transform: uppercase; }
.ce-author-box h2 { font-size: 22px; margin: 0 0 5px; }
.ce-author-box p:last-child { color: var(--ce-muted); font-size: 13px; margin: 0; }

@media (max-width: 1024px) {
	.ce-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ce-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ce-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.category #main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
	body { font-size: 16px; }
	.site-header .inside-header { align-items: center; flex-wrap: nowrap; justify-content: flex-start; min-height: 72px; padding: 10px max(16px, env(safe-area-inset-left)); position: relative; width: 100%; }
	.site-logo { display: block !important; flex: 0 0 auto; min-width: 0; }
	.site-logo img, .site-header .header-image { height: auto; max-height: 48px; max-width: min(190px, 58vw); width: auto; }
	.navigation-branding { flex: 0 0 auto; margin-right: auto; }
	.navigation-branding img { display: block; height: auto; max-height: 46px; max-width: min(185px, 56vw); width: auto; }
	.has-inline-mobile-toggle .mobile-menu-control-wrapper { margin: 0 !important; position: absolute; right: max(16px, env(safe-area-inset-right)); top: 50%; transform: translateY(-50%); }
	.mobile-menu-control-wrapper .menu-toggle { align-items: center; background: var(--ce-white); border-radius: 10px; display: flex; justify-content: center; line-height: 1; min-height: 48px; min-width: 48px; padding: 0 13px; }
	.mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus { background: var(--ce-blush); color: var(--ce-berry); }
	.main-navigation.toggled .main-nav { border-top: 1px solid var(--ce-line); }
	.main-navigation .main-nav ul li a { min-height: 48px; }
	.main-navigation .main-nav > ul > li > a::after { display: none; }
	.page-header { border-radius: var(--ce-radius) !important; padding: 26px 24px !important; }
	.page-header .page-title { font-size: clamp(29px, 8vw, 38px) !important; line-height: 1.1 !important; }
	.archive .inside-article, .blog .inside-article, .search .inside-article { padding: 28px 24px; }
	.archive .entry-title, .blog .entry-title, .search .entry-title { font-size: clamp(30px, 8.5vw, 38px) !important; line-height: 1.12; }
	body.category #main { gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.category .entry-title { font-size: clamp(20px, 3.8vw, 25px) !important; }
	body.category .inside-article { padding: 20px !important; }
	.ce-wrap { padding-inline: 18px; }
	.ce-hero__grid { grid-template-columns: 1fr; }
	.ce-hero__copy { text-align: center; }
	.ce-hero__lead { margin-inline: auto; }
	.ce-hero__trust, .ce-hero__actions { justify-content: center; }
	.ce-hero__media { margin: 0 auto; max-width: 620px; width: 100%; }
	.ce-guides__list { grid-template-columns: 1fr; }
	.ce-related__grid { grid-template-columns: 1fr 1fr; }
	.ce-related-card:last-child { display: none; }
	.comment-form { grid-template-columns: 1fr; }
	.comment-form > p { grid-column: 1; }
	.ce-footer-newsletter__inner, .ce-footer-bottom__inner { align-items: flex-start; flex-direction: column; }
	.ce-footer-main { padding: 44px 0 34px; }
	.ce-footer-grid { gap: 30px; }
	.ce-footer-disclosure { margin-top: 28px; padding-top: 18px; }
	.ce-footer-bottom { padding: 21px 0; }
	.ce-footer-bottom__inner { gap: 17px; line-height: 1.55; }
	.site-content { padding-top: 26px; }
	.ce-footer-links { display: flex; margin: 10px 0 0; }
}

@media (max-width: 560px) {
	.ce-category-grid, .ce-post-grid { grid-template-columns: 1fr; }
	.ce-related { margin-top: 32px; padding-top: 28px; }
	.ce-related__grid { gap: 13px; grid-template-columns: 1fr; }
	.ce-related-card:last-child { display: grid; }
	.ce-related__head { display: block; margin-bottom: 17px; }
	.ce-related__head .ce-kicker { font-size: 10px; margin-bottom: 6px; }
	.ce-related__head h2 { font-size: 28px; line-height: 1.12; }
	.ce-related__all { display: inline-block; font-size: 12px; margin-top: 8px; }
	.ce-related-card { align-items: stretch; display: grid; grid-template-columns: 112px minmax(0, 1fr); }
	.ce-related-card__image { aspect-ratio: 1 / 1; height: 100%; }
	.ce-related-card__body { align-self: center; padding: 12px 13px; }
	.ce-related-card__meta { font-size: 9px; margin-bottom: 5px; }
	.ce-related-card h3 { font-size: 16px; line-height: 1.25; }
	.post-navigation { display: grid; gap: 10px; margin-top: 24px; padding-top: 18px; }
	.post-navigation .nav-previous, .post-navigation .nav-next { align-items: center; background: var(--ce-blush); border: 1px solid var(--ce-line); border-radius: 12px; display: flex; float: none; margin: 0; padding: 11px 13px; text-align: left; width: 100%; }
	.post-navigation a { font-size: 15px; line-height: 1.35; }
	.post-navigation svg { flex: 0 0 auto; height: 14px; width: 14px; }
	.ce-footer-grid { grid-template-columns: 1fr; }
	.ce-footer-main { padding-block: 36px 28px; }
	.ce-footer-grid { gap: 26px; }
	.ce-footer-brand, .ce-footer-column { text-align: center; }
	.ce-footer-brand .custom-logo-link { display: table; margin: 0 auto 15px; }
	.ce-footer-brand__name { text-align: center; }
	.ce-footer-brand p { margin-inline: auto; }
	.ce-footer-column h2 { margin-bottom: 12px; }
	.ce-footer-column ul { align-items: center; gap: 7px; justify-items: center; }
	.ce-footer-disclosure { font-size: 10px; line-height: 1.55; margin-top: 22px; text-align: center; }
	.ce-footer-bottom__inner { align-items: center; text-align: center; }
	.ce-footer-legal { gap: 8px 14px; justify-content: center; }
	.ce-back-to-top { margin-inline: auto; }
	.ce-author-box { align-items: start; grid-template-columns: 56px 1fr; padding: 18px; }
	.ce-author-box .avatar { height: 56px; width: 56px; }
	.ce-share { align-items: stretch; display: grid; grid-template-columns: 1fr 1fr; }
	.ce-share__label { grid-column: 1 / -1; }
	.ce-share__button { font-size: 12px; justify-content: center; min-height: 38px; min-width: 0; padding: 7px 10px; }
	body.category #main { grid-template-columns: 1fr; }
	body.category .page-header { padding: 22px 20px !important; }
	body.category .page-header .page-title { font-size: clamp(28px, 8vw, 34px) !important; }
	body.category .entry-title { font-size: clamp(23px, 7vw, 29px) !important; line-height: 1.16; }
	body.category .entry-meta { font-size: 11px; }
	body.category .post-image { margin-block: 14px 13px; }
	body.category .entry-summary { font-size: 13px; line-height: 1.55; }
	body.category .paging-navigation, body.category .pagination { margin-top: 8px; }
	body.category .page-numbers { border-radius: 9px; height: 40px; min-width: 40px; padding-inline: 10px; }
	.ce-hero h1 { font-size: clamp(36px, 11vw, 48px); }
	.ce-button { width: 100%; }
	.ce-hero__actions { flex-direction: column; }
	.ce-section { padding-block: 58px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
	.site-header, .main-navigation, .widget-area, .site-footer, .ce-site-footer, .ce-breadcrumbs, .ce-ad-slot, .ce-related, .comments-area { display: none !important; }
	body, .site, .site-content, .content-area, .inside-article { background: #fff !important; color: #000 !important; margin: 0 !important; padding: 0 !important; width: 100% !important; }
}
