/* DailyCrochetProjects brand layer — editorial masthead, split hero, zig-zag feature rows */

:root {
	--dcp-primary: #5b6e56;
	--dcp-primary-dark: #44543f;
	--dcp-accent: #b8935a;
	--dcp-bg: #f7f5f1;
	--dcp-surface: #ffffff;
	--dcp-text: #242b33;
	--dcp-text-secondary: #5c6570;
	--dcp-border: #e3e0d8;
	--dcp-font-heading: "Lora", Georgia, "Times New Roman", serif;
	--dcp-font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
	background: var(--dcp-bg);
	color: var(--dcp-text);
	font-family: var(--dcp-font-body);
	font-size: 18px;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.7;
}

/* Editorial masthead: utility bar + header + bordered tab nav */
.dcp-topbar {
	background: var(--dcp-text);
	color: #f2efe9;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	padding: 9px 24px;
}

.site-header {
	background: var(--dcp-surface);
	border-bottom: 1px solid var(--dcp-border);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow 0.25s ease;
}

.site-header.dcp-scrolled {
	box-shadow: 0 2px 16px rgba(36, 43, 51, 0.08);
}

.site-header .wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 28px 24px 20px;
	text-align: center;
}

.nav-primary {
	border-top: 1px solid var(--dcp-border);
}

.nav-primary .wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

.nav-primary ul.genesis-nav-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-primary .menu-item {
	list-style: none;
	border-right: 1px solid var(--dcp-border);
}

.nav-primary .menu-item:last-child {
	border-right: none;
}

.nav-primary .genesis-nav-menu a {
	display: inline-block;
	padding: 15px 20px;
	color: var(--dcp-text-secondary);
	font-family: var(--dcp-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-primary .genesis-nav-menu a:hover,
.nav-primary .genesis-nav-menu a[aria-current="page"] {
	color: var(--dcp-text);
	background: var(--dcp-bg);
	opacity: 1;
}

.site-title,
.site-title a {
	font-family: var(--dcp-font-heading);
	font-weight: 600;
	font-size: 34px;
	letter-spacing: 0.01em;
	color: var(--dcp-text);
}

.site-description {
	font-family: var(--dcp-font-body);
	color: var(--dcp-text-secondary);
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-top: 4px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--dcp-font-heading);
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	color: var(--dcp-text);
}

a {
	color: var(--dcp-primary);
}

a:hover,
a:focus {
	opacity: 1;
	color: var(--dcp-primary-dark);
}

.entry-title a {
	color: var(--dcp-text);
	transition: color 0.2s ease;
}

.entry-title a:hover {
	color: var(--dcp-primary);
}

/* Minimal single-row footer */
.site-footer {
	background: var(--dcp-text);
	color: #f2efe9;
}

.site-footer a {
	color: #f2efe9;
	opacity: 0.85;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.site-footer a:hover {
	opacity: 1;
	text-decoration: underline;
}

.site-footer .wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 32px 24px;
}

.dcp-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.dcp-footer-brand {
	font-family: var(--dcp-font-heading);
	font-size: 19px;
	font-weight: 600;
	margin: 0;
	white-space: nowrap;
}

.dcp-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
}

.dcp-footer-bottom {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid rgba(242, 239, 233, 0.15);
	font-size: 12px;
	opacity: 0.65;
}

.dcp-footer-bottom p {
	margin: 0;
}

/* Cards, buttons, images: subtle premium motion */
.entry-image img,
.entry img,
.wp-block-image img {
	transition: transform 0.35s ease;
}

a:hover .entry-image img,
a:hover.entry-image img {
	transform: scale(1.03);
}

button,
input[type="submit"] {
	border-radius: 0;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

/* Sharp-edged underline link buttons (replaces pill buttons site-wide) */
.wp-block-button__link {
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--dcp-text) !important;
	border-bottom: 2px solid var(--dcp-accent);
	padding: 4px 0 !important;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.wp-block-button__link:hover {
	color: var(--dcp-primary) !important;
	border-color: var(--dcp-primary);
	padding-left: 6px !important;
	transform: none;
	box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid var(--dcp-text) !important;
	padding: 10px 20px !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--dcp-text) !important;
	color: #f7f5f1 !important;
	padding-left: 20px !important;
}

/* Split-screen hero: text left, photo grid right */
.dcp-hero-split {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	min-height: 620px;
}

.dcp-hero-text {
	background: var(--dcp-text);
	color: #f7f5f1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 64px 56px;
}

.dcp-hero-num {
	font-family: var(--dcp-font-heading);
	font-style: italic;
	color: var(--dcp-accent);
	font-size: 15px;
	margin-bottom: 18px;
}

.dcp-hero-eyebrow {
	font-family: var(--dcp-font-body);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 12px;
	color: #cfc6b3;
	margin: 0 0 14px;
}

.dcp-hero-title {
	font-family: var(--dcp-font-heading);
	font-weight: 600;
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1.15;
	color: #f7f5f1;
	margin: 0 0 20px;
}

.dcp-hero-sub {
	color: rgba(247, 245, 241, 0.82);
	font-size: 16px;
	max-width: 440px;
	margin: 0 0 32px;
}

.dcp-hero-search {
	display: flex;
	max-width: 420px;
	border: 1px solid rgba(247, 245, 241, 0.3);
}

.dcp-hero-search-field {
	flex: 1;
	border: none;
	padding: 14px 16px;
	font-size: 14px;
	font-family: var(--dcp-font-body);
	background: transparent;
	color: #f7f5f1;
}

.dcp-hero-search-field::placeholder {
	color: rgba(247, 245, 241, 0.5);
}

.dcp-hero-search-field:focus {
	outline: none;
	background: rgba(247, 245, 241, 0.08);
}

.dcp-hero-search-submit {
	border: none;
	border-left: 1px solid rgba(247, 245, 241, 0.3);
	padding: 14px 22px;
	background: transparent;
	color: var(--dcp-accent);
	font-family: var(--dcp-font-body);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.dcp-hero-search-submit:hover {
	background: rgba(247, 245, 241, 0.08);
}

.dcp-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}

.dcp-hero-grid-img {
	background-size: cover;
	background-position: center;
	filter: saturate(0.85) sepia(0.06);
	opacity: 0;
	transform: scale(1.06);
	animation: dcpGridIn 0.9s ease forwards;
}

.dcp-hero-grid-img:nth-child(1) { animation-delay: 0.05s; }
.dcp-hero-grid-img:nth-child(2) { animation-delay: 0.2s; }
.dcp-hero-grid-img:nth-child(3) { animation-delay: 0.35s; }
.dcp-hero-grid-img:nth-child(4) { animation-delay: 0.5s; }

@keyframes dcpGridIn {
	to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.dcp-hero-grid-img {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}

	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

@media (max-width: 480px) {
	.site-title,
	.site-title a {
		font-size: 26px;
	}
}

@media (max-width: 820px) {
	.dcp-hero-split {
		grid-template-columns: 1fr;
	}

	.dcp-hero-text {
		padding: 48px 24px;
	}

	.dcp-hero-grid {
		min-height: 320px;
	}
}

/* Zig-zag feature rows (replaces the mirrored three-column pattern) */
.dcp-feature-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
	max-width: 1240px;
	margin: 0 auto;
}

.dcp-feature-row.dcp-reverse {
	direction: rtl;
}

.dcp-feature-row.dcp-reverse > * {
	direction: ltr;
}

.dcp-feature-media img {
	width: 100%;
	height: 100%;
	min-height: 380px;
	object-fit: cover;
	filter: saturate(0.92) sepia(0.03);
}

.dcp-feature-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 56px;
}

.dcp-feature-num {
	font-family: var(--dcp-font-heading);
	font-style: italic;
	color: var(--dcp-accent);
	font-size: 15px;
	margin-bottom: 14px;
}

.dcp-feature-text h2 {
	font-size: 30px;
	margin: 0 0 14px;
}

.dcp-feature-text p {
	color: var(--dcp-text-secondary);
	margin: 0 0 22px;
	max-width: 420px;
}

@media (max-width: 820px) {
	.dcp-feature-row,
	.dcp-feature-row.dcp-reverse {
		grid-template-columns: 1fr;
		direction: ltr;
	}

	.dcp-feature-text {
		padding: 36px 24px;
	}

	.dcp-feature-media img {
		min-height: 280px;
	}
}

/* Section wrapper for feed / category explorer */
.dcp-section {
	max-width: 1240px;
	margin: 0 auto;
	padding: 56px 24px;
}

.dcp-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 1px solid var(--dcp-border);
	padding-bottom: 16px;
	margin-bottom: 32px;
}

.dcp-section-head h2 {
	font-size: 26px;
	margin: 0;
}

.dcp-section-head .dcp-feature-num {
	margin: 0;
}

.dcp-explore {
	background: var(--dcp-text);
	color: #f7f5f1;
}

.dcp-explore .dcp-section-head {
	border-bottom-color: rgba(247, 245, 241, 0.2);
}

.dcp-explore .dcp-section-head h2 {
	color: #f7f5f1;
}

.dcp-explore-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.dcp-explore-tags a {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid rgba(247, 245, 241, 0.35);
	color: #f7f5f1;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dcp-explore-tags a:hover {
	background: var(--dcp-accent);
	border-color: var(--dcp-accent);
	color: var(--dcp-text);
	opacity: 1;
}

/* FAQ — numbered list instead of plus/minus accordion */
.dcp-faq {
	counter-reset: dcp-faq-counter;
}

.dcp-faq-item {
	border-bottom: 1px solid var(--dcp-border);
	padding: 20px 0;
}

.dcp-faq-item summary {
	display: flex;
	gap: 16px;
	align-items: baseline;
	cursor: pointer;
	list-style: none;
	font-family: var(--dcp-font-heading);
	font-size: 19px;
	font-weight: 600;
	color: var(--dcp-text);
}

.dcp-faq-item summary::-webkit-details-marker {
	display: none;
}

.dcp-faq-item summary::before {
	content: counter(dcp-faq-counter, decimal-leading-zero);
	counter-increment: dcp-faq-counter;
	flex: 0 0 40px;
	font-family: var(--dcp-font-heading);
	font-style: italic;
	color: var(--dcp-accent);
	font-size: 15px;
}

.dcp-faq-item p {
	margin: 12px 0 0;
	padding-left: 56px;
	color: var(--dcp-text-secondary);
}

/* Category photography (used on category-listing style pages) */
.dcp-category-photo {
	margin: 0 0 20px;
}

.dcp-category-photo img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	filter: saturate(0.92) sepia(0.03);
}
