/*
Theme Name: Kitchen Art Münster
Theme URI: https://kitchen-art-muenster.de/
Author: Dendrite Corp
Description: Custom WordPress theme for Kitchen Art by Nosthoff-Horstmann oHG.
Version: 2.1.0
Text Domain: kitchenart
*/

/* ========================================
   RESET & BASE
   ======================================== */
*, *::after, *::before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	overflow-x: hidden;
	max-width: 100%;
}

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

:root {
	--bg: #fff;
	--text: #333;
	--dark-bg: #1e2123;
	--dark-box: #2a2f33;
	--light-grey: #55595c;
	--grey: #999;
	--bg-grey: #fafafa;
	--green: #5ab963;
	--sea-green: #48944f;
	--max-width: 1450px;
	--header-height: 70px;
	--font-body: 'Lato', 'Montserrat', system-ui, sans-serif;
	--font-heading: 'Montserrat', 'Lato', system-ui, sans-serif;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 20px;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	opacity: 0.85;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	font-family: var(--font-heading);
}

/* ========================================
   LAYOUT
   ======================================== */
.wp-block-group {
	max-width: var(--max-width);
	margin: 3rem auto;
	padding: 0 2rem;
	width: 100%;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 30px;
}

.container p {
	font-size: 16px;
	padding-bottom: 20px;
	max-width: 90ch;
	margin: 0 auto;
	letter-spacing: 0.1px;
	line-height: 1.7;
}

.container h2 {
	font-size: 32px;
	font-weight: 700;
	padding-bottom: 30px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background-color: var(--dark-bg);
	padding: 10px 30px 5px;
}

.header-container {
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--header-height);
}

.header-logo a {
	display: inline-block;
	line-height: 0;
}

.header-logo .custom-logo {
	height: 24px;
	width: auto;
	display: block;
	object-fit: contain;
}

.header-logo .site-title-link {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 0;
	margin: 0;
	padding: 0;
	align-items: center;
}

.nav-menu li a {
	color: #dedede;
	letter-spacing: 0.1px;
	padding: 8px 15px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
	text-decoration: none;
	transition: color 0.3s ease;
}

.nav-menu li a:hover {
	color: #fafafa;
	font-weight: 300;
}

.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
	color: #fdfdfd;
	font-weight: 400;
}

/* ========================================
   HAMBURGER & MOBILE NAV
   ======================================== */
.hamburger {
	display: none;
}

.desktop-nav {
	display: block;
}

.mobile-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: 320px;
	height: 100vh;
	background: #fff;
	z-index: 1001;
	padding: 80px 40px 40px;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
	transition: right 0.3s ease;
	overflow-y: auto;
}

.mobile-nav.active {
	right: 0;
}

.mobile-nav-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--dark-bg);
	transition: opacity 0.3s ease;
}

.mobile-nav-close:hover {
	opacity: 0.7;
}

.mobile-menu-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.mobile-menu-items li {
	border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-items li a {
	display: block;
	padding: 16px 0;
	color: var(--dark-bg);
	text-decoration: none;
	font-size: 18px;
	font-weight: 400;
	transition: color 0.3s ease;
}

.mobile-menu-items li a:hover,
.mobile-menu-items li.current-menu-item a {
	color: var(--sea-green);
}

.mobile-nav-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
	opacity: 1;
	visibility: visible;
}

body.menu-open {
	overflow: hidden;
}

@media (max-width: 991px) {
	.desktop-nav {
		display: none;
	}

	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 28px;
		height: 20px;
		background: none;
		border: none;
		cursor: pointer;
		padding: 0;
		z-index: 10;
	}

	.hamburger span {
		display: block;
		width: 100%;
		height: 2px;
		background: #dedede;
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	.hamburger:hover span {
		background: #fff;
	}

	.site-header {
		padding: 8px 15px;
	}

	.header-container {
		height: 60px;
	}
}

/* ========================================
   HERO SECTION (HOME)
   ======================================== */
.wp-block-cover.hero-home {
	min-height: 100vh;
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-top: calc(-1 * var(--header-height) - 15px);
	padding-top: calc(var(--header-height) + 15px);
	color: var(--dark-bg);
}

.hero-home-inner {
	display: flex;
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	min-height: 100vh;
	align-items: flex-end;
	padding-bottom: 60px;
}

.hero-home-left {
	flex: 1;
	display: flex;
	align-items: flex-end;
	padding: 2rem;
}

.hero-home-left h1 {
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 38px;
	line-height: 44px;
	text-align: left;
}

.hero-home-right {
	flex: 1;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 10px;
}

.hero-home-right a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: 1px solid var(--bg-grey);
	background-color: rgba(42, 47, 51, 0.64);
	border-radius: 1px;
	padding: 15px;
	text-decoration: none;
}

.hero-home-right h1 {
	color: #fff;
	text-align: center;
	letter-spacing: 1px;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 500;
	margin: 0;
}

/* Inner page hero */
.wp-block-cover.hero-page {
	min-height: 60vh;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: calc(-1 * var(--header-height) - 15px);
	padding-top: calc(var(--header-height) + 15px);
}

.wp-block-cover.hero-page .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	max-width: var(--max-width);
	padding: 2rem;
}

.wp-block-cover.hero-page h1,
.wp-block-cover.hero-page .wp-block-heading {
	color: #fff !important;
	font-size: 38px;
	font-weight: 700;
	line-height: 44px;
}

.wp-block-cover.hero-page p {
	color: #fff !important;
	font-size: 16px;
	max-width: 80ch;
	line-height: 1.7;
}

/* CTA Button */
.hero-cta-link {
	display: inline-block;
	border: 1px solid var(--bg-grey);
	background-color: rgba(42, 47, 51, 0.64);
	border-radius: 1px;
	padding: 15px 30px;
	color: #fff;
	text-align: center;
	letter-spacing: 1px;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.hero-cta-link:hover {
	background-color: rgba(42, 47, 51, 0.85);
	color: #fff;
}

/* Home page body background override */
.home .wp-block-group.container,
.page-template-front-page .wp-block-group.container {
	background-color: var(--dark-bg);
	max-width: none !important;
	margin-inline: 0 !important;
	width: 100%;
	padding: 60px 30px;
	margin-top: 0;
	margin-bottom: 0;
}

.home .wp-block-group.container h2,
.page-template-front-page .wp-block-group.container h2 {
	color: #fff;
}

.home .wp-block-group.container p,
.page-template-front-page .wp-block-group.container p {
	color: #dedede;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
	max-width: var(--max-width);
	margin: 60px auto;
	padding: 0 30px;
	text-align: center;
}

.content-section h1,
.content-section h2 {
	color: var(--dark-bg);
	text-align: center;
	letter-spacing: 2px;
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 30px;
}

.content-section p {
	color: var(--text);
	font-size: 16px;
	line-height: 1.7;
	max-width: 90ch;
	margin: 0 auto 20px;
}

/* Section with dark background */
.dark-section {
	background-color: var(--dark-bg);
	color: #fff;
	padding: 60px 30px;
	width: 100%;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.dark-section h2 {
	color: #fff;
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 30px;
	text-align: center;
}

.dark-section p {
	color: #dedede;
	max-width: 80ch;
	margin: 0 auto 20px;
	text-align: center;
	font-size: 16px;
	line-height: 1.7;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section .wp-block-heading {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 60px;
	text-align: center;
}

.team-section .wp-block-columns {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

.team-section .wp-block-column {
	text-align: center;
	flex: 0 0 auto;
}

.team-section .wp-block-image img {
	width: 256px;
	height: 384px;
	object-fit: cover;
	margin-bottom: 16px;
	display: block;
}

.team-section .wp-block-heading:not(:first-child) {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 4px;
}

.team-section p {
	font-size: 16px;
	font-weight: 400;
	margin: 0;
}

/* ========================================
   BRANDS / MARKEN SECTION
   ======================================== */
.brands {
	position: relative;
	background: var(--dark-bg);
	color: #fff;
	text-align: center;
	padding: 60px 30px;
}

.brands-grid {
	background: var(--dark-bg);
	color: #fff;
	text-align: center;
	padding-top: 2rem;
}

.wp-block-group.brands,
.wp-block-group.brands-grid {
	max-width: none !important;
	margin-inline: 0 !important;
	width: 100%;
	margin: 0;
}

.wp-block-group.brands > .wp-block-group__inner-container,
.wp-block-group.brands-grid > .wp-block-group__inner-container {
	max-width: 1200px;
	margin: 0 auto;
}

.wp-block-group.brands-grid > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(4, 200px);
	justify-content: center;
	row-gap: 1rem;
	column-gap: 5rem;
}

.brands h2 {
	font-size: 32px;
	padding-bottom: 2rem;
	font-weight: 700;
}

.brands p {
	max-width: 80ch;
	font-size: 16px;
	margin: 0 auto;
	line-height: 1.7;
}

.brands-grid figure,
.wp-block-group.brands-grid .wp-block-image,
.wp-block-group.brands-grid .wp-block-column {
	flex: 0 0 200px;
	width: 200px;
	max-width: 200px;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.brands-grid figure img,
.wp-block-group.brands-grid img {
	max-width: 180px;
	max-height: 130px;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.brands-grid figure img:hover,
.wp-block-group.brands-grid img:hover {
	transform: scale(1.1);
}

@media (max-width: 1060px) {
	.wp-block-group.brands-grid > .wp-block-group__inner-container {
		grid-template-columns: repeat(2, 200px);
		column-gap: 6rem;
	}
}

@media (max-width: 600px) {
	.wp-block-group.brands-grid > .wp-block-group__inner-container {
		grid-template-columns: repeat(2, 150px);
		column-gap: 2rem;
	}

	.brands-grid figure,
	.wp-block-group.brands-grid .wp-block-image {
		flex: 0 0 150px;
		width: 150px;
		max-width: 150px;
		height: 120px;
	}
}

/* ========================================
   IMAGE GALLERY / GRID
   ======================================== */
.wp-block-gallery.columns-2 {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 2rem 0;
}

.wp-block-gallery.columns-2.has-nested-images figure.wp-block-image {
	flex: 0 0 calc(50% - 0.5rem);
	margin: 0;
	position: relative;
	overflow: hidden;
}

.wp-block-gallery.columns-2.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wp-block-gallery.has-nested-images.columns-default {
	max-width: 1350px;
	margin-left: auto;
	margin-right: auto;
	gap: 1rem !important;
}

/* ========================================
   CAROUSEL / SLIDER
   ======================================== */
.wp-block-gallery.slider-auto-dots {
	position: relative;
	overflow: hidden;
	margin: 3rem 0;
	max-height: 600px;
}

.slider-wrapper {
	overflow: hidden;
	width: 100%;
}

.slider-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	height: 100%;
}

.wp-block-gallery.slider-auto-dots .wp-block-image {
	flex: 0 0 100%;
	width: 100%;
	display: block;
	aspect-ratio: 18 / 9;
}

.wp-block-gallery.slider-auto-dots .wp-block-image figure {
	margin: 0;
	position: relative;
	width: 100%;
	aspect-ratio: 18 / 9;
	overflow: hidden;
}

.wp-block-gallery.slider-auto-dots .wp-block-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.slider-dots {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.75rem;
	z-index: 3;
}

.slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	border: 2px solid rgba(255, 255, 255, 0.8);
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.slider-dot:hover {
	background-color: rgba(255, 255, 255, 0.8);
	transform: scale(1.2);
}

.slider-dot.active {
	background-color: white;
	border-color: white;
	transform: scale(1.3);
}

.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: white;
	color: black;
	border: 1px solid rgba(0, 0, 0, 0.1);
	padding: 0.75rem;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 2;
	border-radius: 100px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover:not(:disabled) {
	background-color: #f8f8f8;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.slider-arrow svg {
	width: 20px;
	height: 20px;
	display: block;
}

.slider-arrow-prev {
	left: 1rem;
}

.slider-arrow-next {
	right: 1rem;
}

.slider-play-pause {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background-color: rgba(0, 0, 0, 0.1);
	color: white;
	border: none;
	padding: 0.75rem;
	cursor: pointer;
	transition: background-color 0.3s ease;
	z-index: 3;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slider-play-pause:hover {
	background-color: rgba(0, 0, 0, 0.3);
}

.slider-play-pause svg {
	width: 20px;
	height: 20px;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.95);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox.active {
	opacity: 1;
	visibility: visible;
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.lightbox-img {
	max-width: 100%;
	max-height: 85vh;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
	color: #fff;
	text-align: center;
	padding: 20px;
	font-size: 16px;
	max-width: 800px;
}

.lightbox-close {
	position: fixed;
	top: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
	transition: background 0.3s ease;
	z-index: 10000;
}

.lightbox-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
	transition: background 0.3s ease;
	z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

body.lightbox-open {
	overflow: hidden;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
	background-color: var(--dark-bg);
	color: #fff;
}

.footer-main {
	padding: 60px 30px 0;
}

.footer-container {
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	gap: 40px;
}

.footer-brand {
	flex: 0 0 auto;
}

.footer-logo-link {
	display: inline-block;
	margin-bottom: 20px;
}

.footer-logo-img {
	width: 150px;
	height: auto;
	display: block;
}

.footer-site-name {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

.footer-address {
	color: #868889;
	font-size: 16px;
	line-height: 1.7;
}

.footer-links-wrap {
	flex: 1;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 0;
}

.footer-links-columns {
	display: flex;
	gap: 30px;
	flex: 1;
}

.footer-links-column {
	flex: 1;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.footer-links li a {
	color: #dedede;
	text-decoration: none;
	font-size: 14px;
	line-height: 2;
	letter-spacing: 1px;
	font-weight: 300;
	transition: color 0.3s ease;
}

.footer-links li a:hover {
	color: #fff;
}

.footer-social {
	margin-top: 0;
	flex-shrink: 0;
	display: flex;
	align-items: flex-start;
	padding-top: 2px;
}

.social-icon-link {
	display: inline-block;
	transition: opacity 0.3s ease;
}

.social-icon-link:hover {
	opacity: 0.7;
}

.footer-bottom {
	padding: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 40px;
}

.footer-bottom .footer-container {
	display: block;
}

.footer-copyright {
	color: #999;
	font-size: 12px;
	text-align: left;
}

@media (max-width: 768px) {
	.footer-container {
		flex-direction: column;
		gap: 30px;
	}

	.footer-links-wrap {
		flex-direction: column;
	}

	.footer-links-columns {
		flex-direction: column;
		gap: 10px;
	}

	.footer-social {
		margin-top: 20px;
	}

	.footer-main {
		padding: 40px 20px 0;
	}

	.footer-bottom {
		padding: 20px;
	}
}

/* ========================================
   APPOINTMENT / CONTACT FORM
   ======================================== */
.appointment-form-container {
	max-width: 600px;
	margin: 40px auto;
	padding: 40px;
	background: #fff;
}

.appointment-form-header {
	text-align: center;
	margin-bottom: 30px;
}

.appointment-form-header h2 {
	font-size: 32px;
	font-weight: 700;
	color: var(--dark-bg);
}

.form-row {
	margin-bottom: 20px;
}

.form-row-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-group label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--dark-bg);
	margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 2px;
	font-size: 14px;
	font-family: var(--font-body);
	color: var(--text);
	background: #fff;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--dark-bg);
}

.form-group select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 35px;
	cursor: pointer;
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.form-consent {
	margin: 25px 0;
}

.form-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--light-grey);
	cursor: pointer;
}

.form-consent input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.form-consent a {
	color: var(--dark-bg);
	text-decoration: underline;
}

.form-submit-btn {
	width: 100%;
	padding: 14px;
	background: var(--dark-bg);
	color: #fff;
	border: none;
	border-radius: 2px;
	font-size: 16px;
	font-weight: 500;
	font-family: var(--font-body);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.form-submit-btn:hover {
	background: #333;
}

.w-form-done {
	background: var(--green);
	color: white;
	padding: 15px;
	border-radius: 2px;
	text-align: center;
}

.w-form-fail {
	background: #e74c3c;
	color: white;
	padding: 15px;
	border-radius: 2px;
	text-align: center;
}

@media (max-width: 600px) {
	.form-row-2col {
		grid-template-columns: 1fr;
	}

	.appointment-form-container {
		padding: 20px;
		margin: 20px 10px;
	}
}

/* ========================================
   CPT ARCHIVE LISTINGS
   ======================================== */
.archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 30px;
	max-width: var(--max-width);
	margin: 40px auto;
	padding: 0 30px;
}

.archive-card {
	background: #fff;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.archive-card-image {
	width: 100%;
	height: 250px;
	object-fit: cover;
	display: block;
}

.archive-card-content {
	padding: 25px;
}

.archive-card-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--dark-bg);
}

.archive-card-title a {
	color: inherit;
	text-decoration: none;
}

.archive-card-title a:hover {
	color: var(--sea-green);
}

.archive-card-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: var(--light-grey);
}

.archive-card-link {
	display: inline-block;
	margin-top: 15px;
	color: var(--dark-bg);
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	border-bottom: 1px solid var(--dark-bg);
	transition: color 0.3s ease;
}

.archive-card-link:hover {
	color: var(--sea-green);
	border-color: var(--sea-green);
}

/* ========================================
   SINGLE POST/CPT
   ======================================== */
.single-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 30px;
}

.single-content h1 {
	font-size: 38px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--dark-bg);
}

.single-content .featured-image {
	width: 100%;
	height: auto;
	margin-bottom: 30px;
}

.single-content .entry-content p {
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 20px;
	color: var(--text);
}

.single-back-link {
	display: inline-block;
	margin-bottom: 30px;
	color: var(--dark-bg);
	font-size: 14px;
	text-decoration: none;
	border-bottom: 1px solid var(--dark-bg);
}

.single-back-link:hover {
	color: var(--sea-green);
	border-color: var(--sea-green);
}

/* ========================================
   404 PAGE
   ======================================== */
.error-404 {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 30px;
}

.error-404-content {
	text-align: center;
	max-width: 600px;
}

.error-404-title {
	font-size: 120px;
	font-weight: 900;
	line-height: 1;
	margin: 0 0 20px;
	color: var(--dark-bg);
}

.error-404-subtitle {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 20px;
	color: var(--dark-bg);
}

.error-404-text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--light-grey);
	margin: 0 0 40px;
}

.error-404-link {
	display: inline-block;
	padding: 14px 40px;
	background: var(--dark-bg);
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

.error-404-link:hover {
	background: #000;
	color: #fff;
}

/* ========================================
   RESPONSIVE - GENERAL
   ======================================== */
@media (max-width: 991px) {
	.hero-home-inner {
		flex-direction: column;
	}

	.hero-home-left h1 {
		font-size: 33px;
		line-height: 36px;
		text-align: center;
	}

	.hero-home-right {
		justify-content: center;
	}

	.wp-block-cover.hero-page h1,
	.wp-block-cover.hero-page .wp-block-heading {
		font-size: 28px;
		line-height: 36px;
	}

	.team-section .wp-block-columns {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 30px;
		justify-items: center;
	}
}

@media (max-width: 768px) {
	.wp-block-cover.hero-home {
		min-height: 60vh;
	}

	.hero-home-left h1 {
		font-size: 28px;
		line-height: 36px;
	}

	.hero-home-right h1 {
		font-size: 16px;
		line-height: 20px;
	}

	.content-section h1,
	.content-section h2 {
		font-size: 24px;
	}

	.wp-block-gallery.columns-2.has-nested-images figure.wp-block-image {
		flex: 0 0 100%;
	}

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

	.error-404-title {
		font-size: 80px;
	}

	.error-404-subtitle {
		font-size: 24px;
	}

	.lightbox-close {
		top: 10px;
		right: 10px;
		width: 40px;
		height: 40px;
	}

	.lightbox-prev,
	.lightbox-next {
		width: 40px;
		height: 40px;
	}

	.lightbox-prev { left: 10px; }
	.lightbox-next { right: 10px; }
}

@media (max-width: 479px) {
	.hero-home-left h1 {
		font-size: 28px;
		line-height: 36px;
	}

	.hero-home-right {
		padding: 5px;
	}

	.hero-home-right h1 {
		font-size: 16px;
		line-height: 20px;
	}

	.site-header {
		padding: 8px 10px;
	}
}
