/*
Theme Name: Cedarline
Author: Cedarline Web Kits
Description: A classic theme for service businesses with an optional business homepage, editable patterns, and responsive navigation.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 7.1
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: cedarline
Tags: custom-logo, custom-colors, custom-menu, featured-images, wide-blocks, threaded-comments, blog
*/

:root {
	--cedarline-ink: #18382d;
	--cedarline-muted: #41594d;
	--cedarline-paper: #fcfbf5;
	--cedarline-line: #d9e3d8;
	--cedarline-hero-surface: #eef3eb;
	--cedarline-accent: #e6b55a;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
	margin: 0;
	background: var(--cedarline-paper);
	color: var(--cedarline-ink);
	font-family: system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	overflow-wrap: anywhere;
}
h1, h2, h3, h4 {
	font-family: Georgia, serif;
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -.025em;
	margin-block: 0 .65em;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
a { color: #194c3b; text-underline-offset: .16em; }
a:hover { text-decoration-thickness: .13em; }
p { margin: 0 0 1em; }
img, video { max-width: 100%; height: auto; }
figure { margin-inline: 0; }
iframe, pre, table { max-width: 100%; }
pre { overflow: auto; padding: 1rem; background: #edf2e9; }
table { border-collapse: collapse; }
th, td { border: 1px solid var(--cedarline-line); padding: .55rem; text-align: start; }
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline: 2px solid #13584c;
	outline-offset: 4px;
}
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.screen-reader-text:focus {
	z-index: 10000;
	inset: .65rem auto auto .65rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: .65rem 1rem;
	clip-path: none;
	background: #fff;
	color: var(--cedarline-ink);
}
.container { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 6vw, 5.75rem); }
.reading-width { max-width: 49rem; }
.site-header { background: #fff; border-bottom: 1px solid var(--cedarline-line); }
.header-inner, .footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	flex-wrap: wrap;
	padding-block: 1.1rem;
}
.site-name, .footer-brand {
	font-family: Georgia, serif;
	font-size: clamp(1.2rem, 2.5vw, 1.65rem);
	font-weight: 700;
	text-decoration: none;
}
.brand-dot { color: #946328; }
.custom-logo { max-width: min(15rem, 55vw); max-height: 4.25rem; width: auto; display: block; }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu, .menu > ul { display: flex; gap: .25rem .8rem; flex-wrap: wrap; }
.menu a { display: block; padding: .45rem .6rem; font-weight: 650; }
.menu li { position: relative; }
.menu :is(.sub-menu, .children) { padding-inline-start: 1rem; }
.current-menu-item > a, .current_page_item > a { text-decoration-thickness: .13em; }
.site-footer { background: #eaf0e9; border-top: 1px solid var(--cedarline-line); }
.site-footer p { margin: .25rem 0 0; color: var(--cedarline-muted); }
.hero { background: #f1f4eb; padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.75rem, 5vw, 4rem);
	align-items: center;
}
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 750; }
.lead { color: var(--cedarline-muted); font-size: 1.125rem; }
.hero-image, .home-art { width: 100%; aspect-ratio: 5 / 4; border-radius: 1.2rem; object-fit: cover; }
.home-art { position: relative; overflow: hidden; background: var(--cedarline-hero-surface); border: 1px solid var(--cedarline-line); }
.art-window, .art-sofa, .art-plant, .art-rug { position: absolute; }
.art-window { inset: 14% auto auto 13%; width: 40%; height: 40%; background: #d3e2dc; border: .55rem solid #fff9e9; }
.art-sofa { inset: auto auto 17% 16%; width: 65%; height: 31%; border-radius: 18% 18% 6% 6%; background: #385e50; z-index: 1; }
.art-plant { inset: auto 10% 21% auto; width: 12%; height: 38%; border-radius: 65% 28%; background: #627f59; }
.art-rug { inset: auto 8% 8%; height: 18%; border-radius: 50%; background: var(--cedarline-accent); opacity: .6; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.4rem; }
.post-card, .cedarline-pattern {
	padding: clamp(1rem, 3vw, 2rem);
	border: 1px solid var(--cedarline-line);
	border-radius: 1rem;
	background: #fff;
}
.post-card img, .featured-image { display: block; border-radius: .65rem; margin-block-end: 1rem; }
.post-meta, .wp-caption-text, figcaption { color: var(--cedarline-muted); font-size: .9rem; }
.entry-content h2 { margin-block-start: 1.35em; }
.entry-content .cedarline-pattern h2 { margin-block-start: 0; }
.entry-content::after { content: ""; display: table; clear: both; }
.alignleft { float: left; margin-inline-end: 1rem; }
.alignright { float: right; margin-inline-start: 1rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull, .wp-caption { max-width: 100%; }
.comments-area, .post-navigation, .pagination { margin-block-start: 2rem; }
.comment-list, .comment-list .children { padding-inline-start: 1.25rem; }
input, textarea, select, button { font: inherit; }
input:not([type="checkbox"], [type="radio"]), textarea, select {
	max-width: 100%;
	padding: .5rem .7rem;
	border: 1px solid #708678;
	border-radius: .35rem;
}
button, .button, input[type="submit"], .wp-block-button__link {
	display: inline-block;
	padding: .5rem 1rem;
	border: 1px solid #194c3b;
	border-radius: .45rem;
	background: #194c3b;
	color: #fff;
	cursor: pointer;
}
.search-row { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 47.99rem) {
	.primary-nav { width: 100%; }
	.primary-nav .menu, .primary-nav .menu > ul { display: block; }
	.hero-grid { grid-template-columns: 1fr; }
}
