/*
Theme Name: Hasan Buyukdogan Clinic
Author: Hasan Buyukdogan Clinic
Description: WordPress theme for the Hasan Buyukdogan clinic project.
Version: 0.7.15
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: hasan-buyukdogan
*/

/* Self-hosted Latin and Latin Extended subsets, including Turkish. */
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--hb-color-dark-green: #0f2a24;
	--hb-color-primary-green: #173d34;
	--hb-color-gold: #b58b4c;
	--hb-color-accent-text: #8a6530;
	--hb-color-light-gold: #d8b981;
	--hb-color-background: #fbf8f2;
	--hb-color-warm-background: #f0e9dc;
	--hb-color-heading: #0f2a24;
	--hb-color-text: #43524b;
	--hb-color-muted: #5c6b64;
	--hb-color-button-background: #173d34;
	--hb-color-button-text: #ffffff;
	--hb-color-header-text: #ffffff;
	--hb-color-footer-text: #ffffff;
	--hb-color-surface: #ffffff;
	--hb-color-surface-soft: #f6f1e8;
	--hb-color-line: #ded5c6;
	--hb-color-success: #245b3e;
	--hb-color-success-surface: #eef5ee;
	--hb-color-error: #762519;
	--hb-color-error-surface: #fff0ed;
	--hb-color-warning: #694c1d;
	--hb-color-warning-surface: #fff7e7;
	--hb-font-display: "Cormorant Garamond", Georgia, serif;
	--hb-font-body: "Instrument Sans", Arial, sans-serif;
	--hb-container: 77.5rem;
	--hb-container-wide: 90rem;
	--hb-container-content: 72rem;
	--hb-content-measure: 46rem;
	--hb-gutter: 1.5rem;
	--hb-space-xs: .5rem;
	--hb-space-sm: .75rem;
	--hb-space-md: 1rem;
	--hb-space-lg: 1.5rem;
	--hb-space-xl: 2rem;
	--hb-space-2xl: clamp(2.75rem, 5vw, 4.5rem);
	--hb-space-section: clamp(4rem, 7vw, 6.5rem);
	--hb-radius-xs: .25rem;
	--hb-radius-sm: .375rem;
	--hb-radius-md: .5rem;
	--hb-border: 1px solid var(--hb-color-line);
	--hb-shadow-sm: 0 .45rem 1.3rem rgba(15, 42, 36, .07);
	--hb-shadow-md: 0 1.25rem 3rem rgba(15, 42, 36, .1);
	--hb-control-height: 2.875rem;
	--hb-button-height: 2.875rem;
	--hb-card-padding: clamp(1.2rem, 2.5vw, 1.65rem);
	--hb-focus-ring: .2rem solid var(--hb-color-gold);
	--hb-overlay: rgba(15, 42, 36, .52);
	--hb-ratio-hero: 4 / 3;
	--hb-ratio-card-treatment: 4 / 3;
	--hb-ratio-card-blog: 8 / 5;
	--hb-ratio-portrait: 4 / 5;
	--hb-type-display: 3.875rem;
	--hb-type-h1: 3.5rem;
	--hb-type-h2: 2.625rem;
	--hb-type-h3: 1.5rem;
	--hb-type-h4: 1.2rem;
	--hb-type-body-large: 1.03125rem;
	--hb-type-body: 1rem;
	--hb-type-small: .875rem;
	--hb-type-caption: .75rem;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(7.75rem + var(--wp-admin--admin-bar--height, 0px));
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--hb-color-background);
	color: var(--hb-color-text);
	font-family: var(--hb-font-body);
	font-size: var(--hb-type-body);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

img,
svg,
video {
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: var(--hb-color-primary-green);
	text-decoration-thickness: .08em;
	text-underline-offset: .2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: var(--hb-focus-ring);
	outline-offset: .2rem;
}

.hb-main {
	min-width: 0;
	scroll-margin-top: calc(7.75rem + var(--wp-admin--admin-bar--height, 0px));
}

.hb-shell {
	width: min(calc(100% - (var(--hb-gutter) * 2)), var(--hb-container));
	margin-inline: auto;
}

.hb-shell--wide {
	width: min(calc(100% - (var(--hb-gutter) * 2)), var(--hb-container-wide));
	margin-inline: auto;
}

.hb-main__inner {
	width: min(calc(100% - (var(--hb-gutter) * 2)), var(--hb-container-content));
	margin-inline: auto;
	padding-block: var(--hb-space-section);
}

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

.screen-reader-text:focus {
	width: auto;
	height: auto;
	position: fixed;
	overflow: visible;
	clip: auto;
	clip-path: none;
}

.hb-skip-link {
	position: absolute;
	top: 1rem;
	left: -9999px;
	z-index: 100;
	padding: .75rem 1rem;
	border-radius: var(--hb-radius-xs);
	background: var(--hb-color-dark-green);
	color: var(--hb-color-button-text);
}

.hb-skip-link:focus {
	left: 1rem;
}

.hb-safe-state {
	max-width: 46rem;
	margin-inline: auto;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: var(--hb-border);
	border-left: .25rem solid var(--hb-color-gold);
	border-radius: var(--hb-radius-md);
	background: var(--hb-color-surface-soft);
}

.hb-safe-state h1,
.hb-safe-state h2 {
	margin: 0;
	color: var(--hb-color-heading);
	font-family: var(--hb-font-display);
	font-size: var(--hb-type-h2);
	font-weight: 600;
	line-height: 1.05;
	overflow-wrap: anywhere;
}

.hb-safe-state p {
	max-width: 38rem;
	margin: 1rem 0 0;
}

.hb-safe-state a {
	display: inline-flex;
	min-height: var(--hb-button-height);
	align-items: center;
	margin-top: 1.25rem;
	font-weight: 700;
}

.hb-empty-state,
.hb-menu-empty {
	color: var(--hb-color-muted);
	font-size: var(--hb-type-small);
}

.hb-menu-management-link {
	color: inherit;
	text-decoration: underline;
}

@media (max-width: 40rem) {
	:root {
		--hb-space-section: 3.75rem;
		--hb-type-display: 2.375rem;
		--hb-type-h1: 2.375rem;
		--hb-type-h2: 2rem;
	}

	html {
		scroll-padding-top: calc(4.75rem + var(--wp-admin--admin-bar--height, 0px));
	}

	.hb-main {
		scroll-margin-top: calc(4.75rem + var(--wp-admin--admin-bar--height, 0px));
	}

}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
