/**
 * TT Realizace - frontend stylesheet.
 *
 * Scope: the dynamic realization list/grid and card component only.
 * Elementor now owns the outer section (background, padding, container
 * width, heading, section-level CTA, anchor labels) - this stylesheet
 * fills whatever width its Elementor parent provides and styles nothing
 * outside .tt-realizace-list / .tt-realizace-card.
 *
 * No external frameworks/fonts, no !important - component classes
 * already sit above Elementor's typical bare-element (h2, a, button)
 * rules through normal specificity, so no broad resets are needed.
 *
 * Every var(--tt-r-*) below carries an explicit fallback value. The
 * tokens are defined once, on .tt-realizace-list (the highest wrapper
 * this plugin guarantees exists in both shortcode outputs), and normally
 * inherit down into every card. The fallbacks make the card render
 * correctly even in an environment where that inheritance chain is
 * broken for any reason (stale cached CSS, an unexpected load-order
 * interaction, etc.) - without fallbacks, a failed var() reference makes
 * the whole property invalid, which is why background/border/box-shadow
 * (all var-driven) can disappear while plain typography (no vars) still
 * renders fine.
 *
 * @package TT_Realizace
 */

/* -----------------------------------------------------------------------
 * Design tokens + local box-sizing (scoped to the list, since that is the
 * actual top-level element the plugin now renders)
 * ---------------------------------------------------------------------*/

.tt-realizace-list {
	--tt-r-navy: #151d41;
	--tt-r-teal: #149cb7;
	--tt-r-muted: #8a8ea0;
	--tt-r-border: #dcdde3;
	--tt-r-bg-gray: #f1f3f5;
	--tt-r-white: #ffffff;
	--tt-r-shadow: 10px 10px 0 0 rgba(20, 156, 183, 0.2);
	--tt-r-gap: 40px;
}

.tt-realizace-list,
.tt-realizace-list *,
.tt-realizace-list *::before,
.tt-realizace-list *::after {
	box-sizing: border-box;
}

/* -----------------------------------------------------------------------
 * List layouts - fill the Elementor parent, no own container/max-width
 * ---------------------------------------------------------------------*/

.tt-realizace-list--horizontal {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: var(--tt-r-gap, 40px);
}

.tt-realizace-list--grid {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
	gap: var(--tt-r-gap, 40px);
}

@media (min-width: 1024px) {
    .tt-realizace-list--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* -----------------------------------------------------------------------
 * Shared card
 * ---------------------------------------------------------------------*/

.tt-realizace-card {
	width: 100%;
	border: 1px solid #dcdde3;
	background: transparent;
	transition: border-color 0.2s ease;
}

.tt-realizace-card--grid {
	background: #ffffff;
}

.tt-realizace-card:hover,
.tt-realizace-card:focus-within {
	border-color: #151d41;
}

.tt-realizace-card__image-wrap {
	position: relative;
	overflow: hidden;
	background: #f1f3f5;
}

.tt-realizace-card__image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center;
}

/* -----------------------------------------------------------------------
 * Horizontal card variant ("Právě realizujeme")
 * ---------------------------------------------------------------------*/

.tt-realizace-card--horizontal {
	display: flex;
	flex-direction: column;
}

.tt-realizace-card--horizontal .tt-realizace-card__image-wrap {
	aspect-ratio: 450 / 353;
}

.tt-realizace-card--horizontal .tt-realizace-card__content {
	padding: 32px 32px 40px 32px;
}
@media(max-width:480px){
    .tt-realizace-card__meta {
        flex-direction:column!important;
        align-items: flex-start!important;
    }
    .tt-realizace-card__meta-divider{
        display:none!important;
    }
}

@media (min-width: 768px) {
	.tt-realizace-card--horizontal {
		flex-direction: row;
		align-items: flex-start;
		gap: 40px;
		padding: 0 32px 0 0;
	}


	.tt-realizace-card--horizontal .tt-realizace-card__image-wrap {
		flex: 0 0 320px;
		max-width: 320px;
		height: 251px;
		margin-block: 35px;
	}

	.tt-realizace-card--horizontal .tt-realizace-card__content {
		flex: 1 1 auto;
		min-width: 0;
		padding: 0;
		display: flex;
      		padding-top: 55px;
        	padding-bottom: 63px;
		flex-direction: column;
	}
}

@media (min-width: 1024px) {
	.tt-realizace-card--horizontal {
		gap: 60px;
		padding: 0 60px 0 0;
		min-height: 423px;
		align-items: center;
	}

	.tt-realizace-card--horizontal .tt-realizace-card__image-wrap {
		flex-basis: 450px;
		max-width: 450px;
		height: 353px;
		margin-top: 0;
		margin-bottom: 0;
	}

	.tt-realizace-card--horizontal .tt-realizace-card__content {
		max-width: 710px;
		padding-top: 55px;
		padding-bottom: 63px;
	}

	.tt-realizace-card--horizontal .tt-realizace-card__eyebrow {
		margin-bottom: 15px;
	}

	.tt-realizace-card--horizontal .tt-realizace-card__title {
		margin-bottom: 30px;
	}

	.tt-realizace-card--horizontal .tt-realizace-card__divider:first-of-type {
		margin-top: 0;
		margin-bottom: 21px;
	}

	.tt-realizace-card--horizontal .tt-realizace-card__divider:last-of-type {
		margin-top: 21px;
		margin-bottom: 30px;
	}

	.tt-realizace-card--horizontal .tt-realizace-card__description {
		margin-bottom: 30px;
	}
}

/* -----------------------------------------------------------------------
 * Grid card variant ("Vybrané realizace")
 * ---------------------------------------------------------------------*/

.tt-realizace-card--grid {
	display: flex;
	flex-direction: column;
}

.tt-realizace-card--grid .tt-realizace-card__image-wrap {
	aspect-ratio: 585 / 260;
	margin: 32px 32px 0 0;
}

.tt-realizace-card--grid .tt-realizace-card__content {
	padding: 32px 32px 40px 32px;
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.tt-realizace-card--grid .tt-realizace-card__image-wrap {
		margin: 32px 32px 0 0;
	}

	.tt-realizace-card--grid .tt-realizace-card__content {
		padding: 35px 35px 45px;
	}

	.tt-realizace-card--grid .tt-realizace-card__eyebrow {
		margin-bottom: 15px;
	}

	.tt-realizace-card--grid .tt-realizace-card__title {
		margin-bottom: 30px;
	}

	.tt-realizace-card--grid .tt-realizace-card__divider:first-of-type {
		margin-top: 0;
	}

	.tt-realizace-card--grid .tt-realizace-card__divider:last-of-type {
		margin-bottom: 30px;
	}

	.tt-realizace-card--grid .tt-realizace-card__meta-item {
		gap: 15px;
	}

	.tt-realizace-card--grid .tt-realizace-card__description {
		margin-bottom: 30px;
	}
}

/* -----------------------------------------------------------------------
 * Realization phase badge (overlays the featured image)
 * ---------------------------------------------------------------------*/

.tt-realizace-card__phase {
	font-family: 'Geist', sans-serif;
	font-style: normal;
	position: absolute;
	top: 32px;
	left: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding-inline: 22px;
	background: var(--tt-r-teal, #149cb7);
	color: var(--tt-r-white, #ffffff);
	font-size: 16px;
	line-height: 16px;
	font-weight: 500;
	white-space: nowrap;
	box-shadow: var(--tt-r-shadow, 10px 10px 0 0 rgba(20, 156, 183, 0.2));
}

/* -----------------------------------------------------------------------
 * Taxonomy eyebrow (plain text, not a badge)
 * ---------------------------------------------------------------------*/

.tt-realizace-card__eyebrow {
	font-family: Geist, sans-serif;
	margin-bottom: 8px;
	font-size: 18px;
	line-height: 18px;
	font-weight: 400;
	color: var(--tt-r-navy, #151d41);
	
}

/* -----------------------------------------------------------------------
 * Project title
 * ---------------------------------------------------------------------*/

.tt-realizace-card__title {
	margin-bottom: 16px;
	font-size: clamp(22px, 3.5vw, 30px);
	line-height: 1.2;
	font-weight: 500;
	color: var(--tt-r-navy, #151d41);
	overflow-wrap: break-word;
}

@media (min-width: 1024px) {
	.tt-realizace-card__title {
		font-size: 30px;
		line-height: 36px;
	}
}

/* -----------------------------------------------------------------------
 * Dividers
 * ---------------------------------------------------------------------*/

.tt-realizace-card__divider {
	height: 1px;
	width: 100%;
	background: var(--tt-r-border, #dcdde3);
	margin-block: 21px;
}

/* -----------------------------------------------------------------------
 * Metadata row (location + date range)
 * ---------------------------------------------------------------------*/

.tt-realizace-card__meta {
	font-family: 'Geist', sans-serif;
	font-style: normal;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	font-size: 18px;
	line-height: 18px;
	font-weight: 400;
	color: var(--tt-r-navy, #151d41);
}

.tt-realizace-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tt-realizace-card__icon {
	flex-shrink: 0;
}

.tt-realizace-card__meta-divider {
	width: 1px;
	height: 30px;
	background: var(--tt-r-border, #dcdde3);
	display: inline-block;
}

/* -----------------------------------------------------------------------
 * Description
 * ---------------------------------------------------------------------*/

.tt-realizace-card__description {
	margin-bottom: 16px;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0.32px;
	color: var(--tt-r-muted, #8a8ea0);
}

/* -----------------------------------------------------------------------
 * Detail CTA
 * ---------------------------------------------------------------------*/

.tt-realizace-list .tt-realizace-card__cta {
	display: inline-flex;
	width: fit-content;
	height: 52px;
	padding: 20px 30px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	align-self: flex-start;
	box-sizing: border-box;
	background: #149cb7;
	color: var(--tt-r-white, #ffffff);
	font-size: 16px;
	line-height: 16px;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: 10px 10px 0 0 rgba(20, 156, 183, 0.2);
	transition: box-shadow 0.2s ease;
}

.tt-realizace-list .tt-realizace-card__cta span {
	color: var(--tt-r-white, #ffffff);
	text-decoration: underline;
	text-decoration-skip-ink: none;
	text-underline-offset: 2px;
}

.tt-realizace-list .tt-realizace-card__cta:hover {
	box-shadow: 0 0 0 0 rgba(20, 156, 183, 0.2);
}

.tt-realizace-list .tt-realizace-card__cta:focus-visible {
	box-shadow: 0 0 0 0 rgba(20, 156, 183, 0.2);
	outline: 2px solid var(--tt-r-navy, #151d41);
	outline-offset: 2px;
}

.tt-realizace-list .tt-realizace-card__cta-icon {
	flex-shrink: 0;
}

/* -----------------------------------------------------------------------
 * Current-projects listing wrapper + "load more" (progressive reveal)
 *
 * Functional scope only - .tt-realizace-current-listing is a JS anchor,
 * not a layout container (no max-width/background/padding of its own).
 * .tt-realizace-list__item uses display:contents so it has zero visual
 * effect on the existing horizontal card's box model/gap - the card
 * itself remains the effective flex item, exactly as before this wrapper
 * existed.
 * ---------------------------------------------------------------------*/

 .tt-realizace-current-listing {
	width: 100%;
}

.tt-realizace-current-listing .tt-realizace-list__item {
	width: 100%;
	display: contents;
}

.tt-realizace-current-listing .tt-realizace-list__item[hidden] {
	display: none;
}

/* -------------------------------------------------------
 * Load more button – Aktuální projekty
 * ----------------------------------------------------- */

 .tt-realizace-current-listing .tt-realizace-load-more {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	height: 52px;

	margin: 40px auto 0;
	padding: 20px 30px;
	gap: 10px;

	border: 0;
	border-radius: 0;

	background: #149cb7;
	color: #ffffff;

	font-family: 'Geist', sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 16px;

	text-decoration: underline;
	text-underline-offset: 2px;

	box-shadow: 10px 10px 0 0 rgba(20, 156, 183, 0.20);

	cursor: pointer;

	appearance: none;
	-webkit-appearance: none;

	transition: box-shadow 0.2s ease;
}


/* Šipka */

.tt-realizace-current-listing .tt-realizace-load-more::after {
	content: "→";
	display: block;

	font-size: 18px;
	font-weight: 400;
	line-height: 1;

	text-decoration: none;
}


/* Hover – pouze zmizí stín */

.tt-realizace-current-listing .tt-realizace-load-more:hover {
	border: 0;
	background: #149cb7;
	color: #ffffff;
	box-shadow: none;
}


/* Focus */

.tt-realizace-current-listing .tt-realizace-load-more:focus {
	border: 0;
	background: #149cb7;
	color: #ffffff;
	outline: none;
}

.tt-realizace-current-listing .tt-realizace-load-more:focus-visible {
	outline: 2px solid #151d41;
	outline-offset: 4px;
}


/* Po zobrazení posledních projektů tlačítko zmizí */

.tt-realizace-current-listing .tt-realizace-load-more[hidden] {
	display: none;
}

/* -----------------------------------------------------------------------
 * Realizations browser ("/realizace/"): taxonomy filter bar + grid +
 * "load more" (progressive reveal, combined with filtering)
 *
 * Fully parallel to .tt-realizace-current-listing - scoped under its own
 * .tt-realizace-realizations-browser ancestor so none of this affects
 * /aktualni-projekty/. Same display:contents principle for the
 * functional item wrapper: zero visual effect on the approved 2-column
 * grid, the card itself remains the real grid item.
 * ---------------------------------------------------------------------*/

 .tt-realizace-realizations-browser {
	width: 100%;
}

.tt-realizace-realizations-browser .tt-realizace-list__item {
	width: 100%;
	display: contents;
}

.tt-realizace-realizations-browser .tt-realizace-list__item[hidden] {
	display: none;
}

/* -----------------------------------------------------------------------
 * Filter bar (fully scoped under .tt-realizace-realizations-browser so
 * it never depends on, or is overridden by, Elementor/global button
 * styling)
 * ---------------------------------------------------------------------*/

.tt-realizace-realizations-browser .tt-realizace-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin-bottom: 40px;
}

.tt-realizace-realizations-browser .tt-realizace-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 12px 18px;
	border-radius: 0;
	background: transparent;
	border: 1px solid #dcdde3;
	color: #151d41;
	font-family: 'Geist', sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px;
	box-shadow: none;
	text-decoration: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tt-realizace-realizations-browser .tt-realizace-filter:hover {
	border-color: #151d41;
	color: #151d41;
	background: transparent;
}

.tt-realizace-realizations-browser .tt-realizace-filter[aria-pressed='true'] {
	background: #151d41;
	border-color: #151d41;
	color: #ffffff;
	box-shadow: none;
}

.tt-realizace-realizations-browser .tt-realizace-filter[aria-pressed='true']:hover {
	background: #151d41;
	border-color: #151d41;
	color: #ffffff;
	box-shadow: none;
}

.tt-realizace-realizations-browser .tt-realizace-filter:focus-visible {
	outline: 2px solid #149cb7;
	outline-offset: 2px;
}

/* -----------------------------------------------------------------------
 * Load more (approved CTA visual style, scoped only to this browser -
 * does not touch the /aktualni-projekty/ .tt-realizace-load-more rule)
 * ---------------------------------------------------------------------*/

.tt-realizace-realizations-browser .tt-realizace-load-more {
	display: flex;
	width: fit-content;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 20px 30px;
	margin-top: 32px;
	margin-inline: auto;
	background-color: #149cb7!important;
	background: #149cb7!important;
border-radius:0!important;
	color: #ffffff;
	font-family: 'Geist', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 16px;
	text-decoration: underline;
	text-decoration-skip-ink: none;
	text-underline-offset: 2px;
	white-space: nowrap;
	border: none;
	box-shadow: 10px 10px 0 0 rgba(20, 156, 183, 0.2);
	transition: box-shadow 0.2s ease;
	cursor: pointer;
}

.tt-realizace-realizations-browser .tt-realizace-load-more::after {
	content: '→';
	line-height: 1;
}

.tt-realizace-realizations-browser .tt-realizace-load-more:hover {
	box-shadow: 0 0 0 0 rgba(20, 156, 183, 0.2);
}

.tt-realizace-realizations-browser .tt-realizace-load-more:focus-visible {
	box-shadow: 0 0 0 0 rgba(20, 156, 183, 0.2);
	outline: 2px solid #151d41;
	outline-offset: 2px;
}

.tt-realizace-realizations-browser .tt-realizace-load-more[hidden] {
	display: none;
}
/* -----------------------------------------------------------------------
 * Single realization detail (/realizace/{slug}/)
 *
 * Fully independent component, scoped under .tt-realizace-single. This
 * page never contains .tt-realizace-list, so its own design tokens are
 * redefined locally here (same values already used elsewhere: navy
 * #151d41, teal #149cb7, muted #8a8ea0, border #dcdde3, CTA shadow
 * token) rather than depending on .tt-realizace-list's custom properties,
 * which are not present on this template.
 * ---------------------------------------------------------------------*/

.tt-realizace-single {
	--tts-navy: #151d41;
	--tts-teal: #149cb7;
	--tts-muted: #8a8ea0;
	--tts-border: #dcdde3;
	--tts-shadow: 10px 10px 0 0 rgba(20, 156, 183, 0.2);
	width: 100%;
	background: #ffffff;
	color: var(--tts-navy);
	font-family: 'Geist', sans-serif;
}

.tt-realizace-single,
.tt-realizace-single *,
.tt-realizace-single *::before,
.tt-realizace-single *::after {
	box-sizing: border-box;
}

/* -----------------------------------------------------------------------
 * Shared content container (intro / main content / gallery / back link)
 * ---------------------------------------------------------------------*/

.tt-realizace-single__intro,
.tt-realizace-single__content,
.tt-realizace-single__gallery,
.tt-realizace-single__back {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 20px;
}

@media (min-width: 768px) {
	.tt-realizace-single__intro,
	.tt-realizace-single__content,
	.tt-realizace-single__gallery,
	.tt-realizace-single__back {
		padding-inline: 40px;
	}
}

/* -----------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------------*/

.tt-realizace-single__hero {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	min-height: 400px;
	background: var(--tts-navy);
	padding-bottom: 48px;
}

.tt-realizace-single__hero-background {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.tt-realizace-single__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(21, 29, 65, 0.55) 0%, rgba(21, 29, 65, 0.9) 100%);
}

.tt-realizace-single__hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 20px;
}

.tt-realizace-single__eyebrow {
	margin-bottom: 12px;
	color: var(--tts-teal);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
}

.tt-realizace-single__title {
	margin: 0 0 20px;
	max-width: 900px;
	color: #ffffff;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.1;
}

.tt-realizace-single__hero-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin-bottom: 16px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 16px;
}

.tt-realizace-single__phase {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	height: 40px;
	padding-inline: 22px;
	background: var(--tts-teal);
	color: #ffffff;
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
	box-shadow: var(--tts-shadow);
}

@media (min-width: 768px) {
	.tt-realizace-single__hero {
		min-height: 480px;
		padding-bottom: 64px;
	}

	.tt-realizace-single__hero-inner {
		padding-inline: 40px;
	}

	.tt-realizace-single__title {
		font-size: 46px;
	}

	.tt-realizace-single__hero-meta {
		font-size: 18px;
	}
}

@media (min-width: 1024px) {
	.tt-realizace-single__hero {
		min-height: 520px;
		padding-bottom: 80px;
	}

	.tt-realizace-single__title {
		font-size: 56px;
		line-height: 1.08;
	}
}

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

.tt-realizace-single__intro {
	padding-block: 32px;
}

.tt-realizace-single__intro p {
	margin: 0;
	max-width: 900px;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--tts-navy);
}

@media (min-width: 768px) {
	.tt-realizace-single__intro {
		padding-block: 48px;
	}

	.tt-realizace-single__intro p {
		font-size: 24px;
	}
}

@media (min-width: 1024px) {
	.tt-realizace-single__intro p {
		font-size: 26px;
	}
}

/* -----------------------------------------------------------------------
 * Main content (primary description + facts sidebar)
 * ---------------------------------------------------------------------*/

.tt-realizace-single__content {
	display: flex;
	flex-direction: column;
	gap: 48px;
	padding-bottom: 48px;
}

.tt-realizace-single__section-title {
	margin: 0 0 24px;
	color: var(--tts-navy);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
}

.tt-realizace-single__primary {
	font-size: 17px;
	line-height: 1.7;
	color: var(--tts-navy);
}

.tt-realizace-single__primary p {
	margin: 0 0 20px;
}

.tt-realizace-single__primary a {
	color: var(--tts-teal);
}

.tt-realizace-single__primary ul,
.tt-realizace-single__primary ol {
	margin: 0 0 20px;
	padding-left: 20px;
}

.tt-realizace-single__primary li {
	margin-bottom: 8px;
}

.tt-realizace-single__primary img {
	max-width: 100%;
	height: auto;
	display: block;
}

.tt-realizace-single__facts {
	margin: 0;
}

.tt-realizace-single__fact {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-block: 18px;
	border-bottom: 1px solid var(--tts-border);
}

.tt-realizace-single__fact:first-child {
	padding-top: 0;
}

.tt-realizace-single__fact-label {
	margin: 0;
	color: var(--tts-muted);
	font-size: 14px;
	font-weight: 500;
}

.tt-realizace-single__fact-value {
	margin: 0;
	color: var(--tts-navy);
	font-size: 18px;
	font-weight: 500;
}

@media (min-width: 768px) {
	.tt-realizace-single__content {
		padding-bottom: 64px;
	}

	.tt-realizace-single__section-title {
		font-size: 32px;
	}

	.tt-realizace-single__primary {
		font-size: 18px;
	}
}

@media (min-width: 1024px) {
	.tt-realizace-single__content {
		display: grid;
		grid-template-columns: 2fr 1fr;
		align-items: start;
		gap: 90px;
		padding-bottom: 90px;
	}

	.tt-realizace-single__section-title {
		font-size: 34px;
	}
}

/* -----------------------------------------------------------------------
 * Gallery
 * ---------------------------------------------------------------------*/

.tt-realizace-single__gallery {
	padding-bottom: 48px;
}

.tt-realizace-single__gallery-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.tt-realizace-single__gallery-item {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	transition: opacity 0.2s ease;
}

.tt-realizace-single__gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tt-realizace-single__gallery-item:hover img {
	transform: scale(1.03);
}

@media (min-width: 768px) {
	.tt-realizace-single__gallery {
		padding-bottom: 64px;
	}

	.tt-realizace-single__gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (min-width: 1024px) {
	.tt-realizace-single__gallery {
		padding-bottom: 90px;
	}

	.tt-realizace-single__gallery-grid {
		gap: 30px;
	}
}

/* -----------------------------------------------------------------------
 * Back link (own scoped CTA - does not touch .tt-realizace-card__cta)
 * ---------------------------------------------------------------------*/

.tt-realizace-single__back {
	padding-bottom: 64px;
}

.tt-realizace-single__back-link {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 20px 30px;
	background: var(--tts-teal);
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	line-height: 16px;
	text-decoration: underline;
	text-decoration-skip-ink: none;
	text-underline-offset: 2px;
	white-space: nowrap;
	box-shadow: var(--tts-shadow);
	transition: box-shadow 0.2s ease;
}

.tt-realizace-single__back-link:hover {
	box-shadow: 0 0 0 0 rgba(20, 156, 183, 0.2);
}

.tt-realizace-single__back-link:focus-visible {
	box-shadow: 0 0 0 0 rgba(20, 156, 183, 0.2);
	outline: 2px solid var(--tts-navy);
	outline-offset: 2px;
}

/* -----------------------------------------------------------------------
 * Responsive refinements
 * ---------------------------------------------------------------------*/

@media (max-width: 767px) {
	.tt-realizace-single__hero {
		min-height: 400px;
	}

	.tt-realizace-single__hero-inner {
		padding-inline: 20px;
	}

	.tt-realizace-single__title {
		font-size: 36px;
	}

	.tt-realizace-single__section-title {
		font-size: 28px;
	}

	.tt-realizace-single__intro p {
		font-size: 21px;
	}
}

@media (max-width: 480px) {
	.tt-realizace-single__title {
		font-size: 32px;
	}

	.tt-realizace-single__hero-meta {
		font-size: 16px;
	}

	.tt-realizace-single__hero {
		padding-bottom: 32px;
	}

	.tt-realizace-single__intro {
		padding-block: 24px;
	}

	.tt-realizace-single__content {
		gap: 32px;
		padding-bottom: 32px;
	}

	.tt-realizace-single__gallery {
		padding-bottom: 32px;
	}

	.tt-realizace-single__back {
		padding-bottom: 40px;
	}
}


.tt-realizace-card:hover .tt-realizace-card__cta {
        box-shadow: 0px 0px 0 0 rgba(20, 156, 183, 0.2);
}


p.tt-detail__eyebrow {
    color:var(--e-global-color-06bd6f3);
    margin:0;
}


h1.tt-detail__title,.tt-detail__phase {
    margin:0;
    color:#fff!important;
}

.tt-detail__meta {
    color:white;
    display: flex;
    flex-direction:row;
    gap:16px;
}
.tt-detail__meta-item,.tt-detail__phase{
        display: flex;
    flex-direction:row;
    gap:8px;
    align-items: center;
}

svg.tt-detail__icon.tt-detail__icon--flag{
        color:var(--e-global-color-06bd6f3);
}
.tt-detail__phase{
    font-family: 'Geist', sans-serif;
    font-style: normal;
    display: inline-flex;
    height: 40px;
    padding-inline: 22px;
    background: var(--tt-r-teal, #149cb7);
    color: var(--tt-r-white, #ffffff);
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--tt-r-shadow, 10px 10px 0 0 rgba(20, 156, 183, 0.2));
}
