/*
Theme Name: Kadence Child - dr. Marta Żurek
Theme URI: https://dr.martazurek.pl
Description: Motyw potomny (child theme) dla Kadence przygotowany dla witryny dr.martazurek.pl. Wszystkie style wizualne są w całości dziedziczone z motywu rodzica (Kadence) - w Dostosuj nie były dodawane żadne reguły niestandardowe, dlatego ten plik pozostaje pusty poza wymaganym nagłówkiem. Style logowania (wp-login.php) są ładowane osobno przez functions.php, bo ten plik nie jest wczytywany na ekranie logowania.
Author: 
Author URI: 
Template: kadence
Version: 1.0.0
Requires PHP: 7.4
Text Domain: kadence-child
*/

/* ---------------------------------------------------------------
   Interim homepage
   --------------------------------------------------------------- */

.tb-placeholder {
	--tb-ink: #111111;
	--tb-muted: #6b6b6b;
	--tb-line: #e4e4e4;
	--tb-bg: #ffffff;

	margin: 0;
	padding: clamp(1.5rem, 5vw, 4rem) 1.25rem clamp(2rem, 6vw, 5rem);
	background: var(--tb-bg);
	color: var(--tb-ink);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.tb-wrap {
	max-width: 48rem;
	margin-inline: auto;
}

.tb-logo {
	display: block;
	width: min(100%, 32rem);
	height: auto;
	margin: 0 auto clamp(2rem, 6vw, 3rem);
}

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

/* --- Intro ------------------------------------------------------- */

.tb-intro {
	text-align: center;
	margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.tb-intro h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.4rem, 4.5vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.tb-lede {
	margin: 0 auto;
	max-width: 40rem;
	color: var(--tb-muted);
	font-size: clamp(0.95rem, 2.4vw, 1.05rem);
}

.tb-notice {
	margin: 0 0 clamp(2rem, 5vw, 2.75rem);
	padding: 0.85rem 1rem;
	border-left: 3px solid var(--tb-ink);
	background: color-mix(in srgb, var(--tb-ink) 5%, transparent);
	font-size: 0.95rem;
}

/* --- Contact card ------------------------------------------------ */

.tb-card {
	display: grid;
	gap: clamp(1.75rem, 4vw, 2.5rem);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 2px solid var(--tb-ink);
}

.tb-block h3,
.tb-section h2,
.tb-faq h2 {
	margin: 0 0 0.4rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tb-muted);
}

.tb-block p {
	margin: 0;
	font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.tb-block a,
.tb-notice a,
.tb-footnote a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.tb-block a:hover,
.tb-block a:focus-visible {
	text-decoration-thickness: 2px;
}

.tb-hours {
	margin: 0;
	font-variant-numeric: tabular-nums;
}

.tb-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.4rem 0;
	border-bottom: 1px solid var(--tb-line);
}

.tb-hours__row:last-child {
	border-bottom: 0;
}

.tb-hours__row.is-today {
	font-weight: 700;
}

.tb-hours dt,
.tb-hours dd {
	margin: 0;
}

.tb-hours dd.is-closed {
	color: var(--tb-muted);
}

/* --- Social links ------------------------------------------------ */

.tb-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0.35rem 0 0;
	padding: 0;
	list-style: none;
}

/*
   Icon buttons are 3rem square: comfortably past the 44 px minimum tap target,
   and the same footprint whether the icon file is there or not.
*/
.tb-social__link {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid var(--tb-line);
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tb-social__link:hover,
.tb-social__link:focus-visible {
	border-color: var(--tb-ink);
	background: var(--tb-ink);
	color: var(--tb-bg);
}

.tb-social__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.tb-social__icon {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	object-fit: contain;
}

/* Inverts a black glyph on hover so it stays visible on the dark pill. */
.tb-social__link:hover .tb-social__icon,
.tb-social__link:focus-visible .tb-social__icon {
	filter: invert(1);
}

/* Fallback while an icon file is missing: a readable text pill. */
.tb-social__link.is-textual {
	width: auto;
	height: auto;
	padding: 0.4rem 0.85rem;
	border-color: currentColor;
	font-size: 0.9rem;
}

.tb-social__note {
	margin: 0.75rem 0 0 !important;
	color: var(--tb-muted);
	font-size: 0.85rem !important;
}

/* --- Services and parts ------------------------------------------ */

.tb-section {
	margin-top: clamp(2rem, 5vw, 3rem);
}

.tb-services {
	display: grid;
	gap: 1px;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	background: var(--tb-line);
	border: 1px solid var(--tb-line);
}

@media (min-width: 34rem) {
	.tb-services {
		grid-template-columns: 1fr 1fr;
	}
}

.tb-service {
	padding: 1rem;
	background: var(--tb-bg);
}

.tb-service h3 {
	margin: 0 0 0.25rem;
	font-size: 1rem;
}

.tb-service p {
	margin: 0;
	color: var(--tb-muted);
	font-size: 0.9rem;
}

.tb-service__price {
	margin-top: 0.4rem !important;
	color: var(--tb-ink) !important;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.tb-list {
	margin: 1rem 0 0;
	padding-left: 1.1rem;
}

.tb-list li {
	margin-bottom: 0.3rem;
}

.tb-note {
	margin: 1rem 0 0;
	color: var(--tb-muted);
	font-size: 0.9rem;
}

/* --- Google reviews ---------------------------------------------- */

.tb-stars {
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.tb-stars__empty {
	opacity: 0.25;
}

.tb-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0 0 1rem !important;
}

.tb-reviews__summary span {
	color: var(--tb-muted);
	font-size: 0.9rem;
}

.tb-reviews {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tb-review {
	padding: 0.9rem 1rem;
	border: 1px solid var(--tb-line);
}

.tb-review__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0 0 0.4rem !important;
	font-size: 0.9rem !important;
}

.tb-review__author {
	font-weight: 600;
}

.tb-review__when {
	color: var(--tb-muted);
}

.tb-review__text {
	margin: 0;
	font-size: 0.95rem;
}

.tb-reviews__source {
	margin: 1rem 0 0 !important;
	font-size: 0.9rem !important;
}

.tb-reviews__source a {
	color: var(--tb-muted);
}

/* --- FAQ ---------------------------------------------------------- */

.tb-faq {
	margin-top: clamp(2rem, 5vw, 3rem);
}

.tb-faq__group {
	margin: 1.75rem 0 0.25rem;
	font-size: 1rem;
	font-weight: 700;
}

.tb-faq__group:first-of-type {
	margin-top: 1rem;
}

.tb-faq__item {
	border-bottom: 1px solid var(--tb-line);
}

.tb-faq__item summary {
	padding: 0.85rem 1.75rem 0.85rem 0;
	position: relative;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.tb-faq__item summary::-webkit-details-marker {
	display: none;
}

.tb-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 0.25rem;
	font-weight: 400;
}

.tb-faq__item[open] summary::after {
	content: "–";
}

.tb-faq__item summary:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.tb-faq__item p {
	margin: 0 0 1rem;
	color: var(--tb-muted);
}

/* --- Footer ------------------------------------------------------- */

.tb-footnote {
	margin-top: clamp(2rem, 5vw, 3rem);
	padding-top: 1.25rem;
	border-top: 1px solid var(--tb-line);
	color: var(--tb-muted);
	font-size: 0.9rem;
	text-align: center;
}

.tb-footnote p {
	margin: 0 0 0.4rem;
}

/* --- Responsive and theme ----------------------------------------- */

@media (max-width: 26rem) {
	.tb-hours__row {
		flex-direction: column;
		gap: 0.1rem;
	}
}

@media (prefers-color-scheme: dark) {
	.tb-placeholder {
		--tb-ink: #f2f2f2;
		--tb-muted: #a0a0a0;
		--tb-line: #333333;
		--tb-bg: #0f0f0f;
	}

	.tb-logo {
		filter: invert(1);
	}

	/*
	   The uploaded icons are dark glyphs on transparent. On a dark background
	   they need inverting — and un-inverting again on hover, where the pill
	   fills with the light ink colour.
	*/
	.tb-social__icon {
		filter: invert(1);
	}

	.tb-social__link:hover .tb-social__icon,
	.tb-social__link:focus-visible .tb-social__icon {
		filter: none;
	}
}