/* TDF Editor - Frontend */

/* Base button */
.tdf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
}

.tdf-button-wrap {
	width: 100%;
}

.tdf-button__icon {
	display: inline-flex;
	line-height: 1;
}

/* Heading */
.tdf-heading {
	margin: 0;
}

.tdf-heading__link {
	color: inherit;
	text-decoration: none;
}

.tdf-heading__link:hover {
	text-decoration: underline;
}

/* Text */
.tdf-text {
	line-height: 1.6;
}

.tdf-text p:last-child {
	margin-bottom: 0;
}

/* Image */
.tdf-image {
	margin: 0;
}

.tdf-image__img {
	max-width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: middle;
}

.tdf-image__caption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
}

.tdf-image__link {
	display: inline-block;
}

/* Layout flex system — position / reorder inner elements */
.tdf-layout-flex {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
}

.tdf-layout-flex > .tdf-el-image,
.tdf-layout-flex > .tdf-el-icon,
.tdf-layout-flex > .tdf-el-media {
	flex-shrink: 0;
}

.tdf-layout-flex > .tdf-el-title,
.tdf-layout-flex > .tdf-el-subtitle,
.tdf-layout-flex > .tdf-el-description,
.tdf-layout-flex > .tdf-el-text {
	width: 100%;
}

.tdf-layout-flex > .tdf-el-button {
	align-self: flex-start;
}

.tdf-layout-flex.tdf-layout-flex--center-items > .tdf-el-button {
	align-self: center;
}

/* Stack builder */
.tdf-stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.tdf-stack__item {
	width: 100%;
}

.tdf-stack__spacer {
	display: block;
	width: 100%;
}

.tdf-stack__divider {
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	margin: 0;
}

/* Image box */
.tdf-image-box {
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.tdf-image-box__media img {
	width: 100%;
	height: auto;
	display: block;
}

.tdf-image-box__title {
	margin: 0 0 0.5rem;
}

.tdf-image-box__desc {
	margin: 0 0 1rem;
	line-height: 1.5;
}

.tdf-image-box__btn {
	margin-top: auto;
}

/* Text box */
.tdf-text-box__title {
	margin: 0 0 0.75rem;
}

.tdf-text-box__content {
	line-height: 1.6;
}

/* Icon box */
.tdf-icon-box {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.25s ease;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.tdf-icon-box__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-bottom: 0;
}

.tdf-icon-box__btn,
.tdf-text-box__btn {
	display: inline-flex;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	color: #ffffff;
}

.tdf-icon-box__title {
	margin: 0 0 0.5rem;
}

.tdf-icon-box__desc {
	margin: 0;
	line-height: 1.5;
}

/* Hero banner */
.tdf-hero-banner {
	position: relative;
	background-size: cover;
	background-position: center center;
	background-color: #1c1c1c;
	overflow: hidden;
}

.tdf-hero-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.tdf-hero-banner__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: inherit;
	padding: 40px 24px;
}

.tdf-hero-banner__content {
	max-width: 720px;
	color: #ffffff;
}

.tdf-hero-banner__title {
	margin: 0 0 1rem;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.15;
}

.tdf-hero-banner__subtitle {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1.4;
	display: block;
}

.tdf-hero-banner__description {
	margin: 0 0 1.5rem;
	font-size: 1.125rem;
	line-height: 1.5;
}

.tdf-hero-banner__layout > .tdf-hero-banner__btn {
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	align-self: flex-start;
}

.tdf-hero-banner__layout > .tdf-hero-banner__btn--secondary {
	border: 2px solid rgba(255, 255, 255, 0.85);
}

/* Cards grid */
.tdf-cards-grid,
.tdf-posts-grid,
.tdf-service-cards-grid {
	display: grid;
	width: 100%;
}

.tdf-card {
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.25s ease;
}

.tdf-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.tdf-card__media img {
	width: 100%;
	height: auto;
	display: block;
}

.tdf-card__body {
	padding: 1.25rem;
}

.tdf-card__title {
	margin: 0 0 0.5rem;
}

.tdf-card__text {
	margin: 0 0 1rem;
	line-height: 1.5;
}

.tdf-card__btn {
	display: inline-flex;
	padding: 10px 18px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
}

/* Service cards — appliance design */
.tdf-service-card {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	min-height: 460px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
}

.tdf-service-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}

.tdf-service-card__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-color: #1c1c1c;
}

.tdf-service-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.12) 0%,
		rgba(0, 0, 0, 0.28) 30%,
		rgba(0, 0, 0, 0.58) 62%,
		rgba(0, 0, 0, 0.82) 100%
	);
}

.tdf-service-card__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	flex: 1;
	min-height: 100%;
	padding: 26px 26px 24px;
	color: #ffffff;
	text-align: left;
}

.tdf-service-card__title {
	margin: 0 0 8px;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: #ffffff;
}

.tdf-service-card__desc {
	margin: 0 0 20px;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.45;
	color: #ffffff;
}

.tdf-service-card__issues {
	margin: 0 0 20px;
}

.tdf-service-card__issues-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 8px;
	color: #ffffff;
}

.tdf-service-card__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 6px;
}

.tdf-service-card__tag {
	display: inline-block;
	padding: 5px 11px;
	border-radius: 5px;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.35;
	text-align: left;
	white-space: nowrap;
	background: rgba(0, 0, 0, 0.52);
	color: #ffffff;
	border: none;
}

.tdf-service-card__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin-top: 0;
	padding: 13px 16px;
	border: none;
	border-radius: 8px;
	background: var(--tdf-dark, #0e3b48);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
	text-decoration: none;
	text-align: left;
}

.tdf-service-card__btn:hover,
.tdf-service-card__btn:focus {
	background: #1f3850;
	color: #ffffff;
}

.tdf-service-card__btn-arrow {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1;
	flex-shrink: 0;
	opacity: 0.92;
}

/* Posts */
.tdf-post-card {
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.25s ease;
}

.tdf-post-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.tdf-post-card__media img {
	width: 100%;
	height: auto;
	display: block;
}

.tdf-post-card__body {
	padding: 1rem 1.25rem 1.25rem;
}

.tdf-post-card__meta {
	font-size: 0.8125rem;
	margin-bottom: 0.5rem;
	opacity: 0.85;
}

.tdf-post-card__meta-sep {
	margin: 0 0.35rem;
}

.tdf-post-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
}

.tdf-post-card__title a {
	text-decoration: none;
	color: inherit;
}

.tdf-post-card__title a:hover {
	text-decoration: underline;
}

.tdf-post-card__excerpt {
	font-size: 0.9375rem;
	line-height: 1.5;
}

.tdf-posts-empty {
	text-align: center;
	padding: 2rem;
	color: #666666;
}

/* Slider */
.tdf-slider {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.tdf-slider__slide {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	background-size: cover;
	background-position: center center;
	background-color: #222222;
}

.tdf-slider__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.4);
}

.tdf-slider__content {
	position: relative;
	z-index: 2;
	max-width: 640px;
	padding: 40px 24px;
	text-align: center;
	color: #ffffff;
}

.tdf-slider__title {
	margin: 0 0 0.75rem;
	font-size: 2rem;
	font-weight: 700;
}

.tdf-slider__text {
	margin: 0 0 1.25rem;
	line-height: 1.5;
}

.tdf-slider__btn {
	padding: 12px 24px;
	border-radius: 8px;
	background: var(--tdf-dark, #0e3b48);
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
}

/* Logo slider */
.tdf-logo-slider {
	position: relative;
	padding: 0 40px;
}

.tdf-logo-slider__item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 12px;
}

.tdf-logo-slider__link {
	display: flex;
	align-items: center;
	justify-content: center;
}

.tdf-logo-slider__img {
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: opacity 0.25s ease;
}

/* Swiper overrides */
.tdf-slider .swiper-button-next,
.tdf-slider .swiper-button-prev,
.tdf-logo-slider .swiper-button-next,
.tdf-logo-slider .swiper-button-prev {
	width: 40px;
	height: 40px;
}

.tdf-slider .swiper-button-next::after,
.tdf-slider .swiper-button-prev::after,
.tdf-logo-slider .swiper-button-next::after,
.tdf-logo-slider .swiper-button-prev::after {
	font-size: 20px;
	font-weight: 700;
}

.tdf-slider .swiper-pagination-bullet {
	background: #ffffff;
	opacity: 0.55;
}

.tdf-slider .swiper-pagination-bullet-active {
	opacity: 1;
}

@media (max-width: 767px) {
	.tdf-hero-banner__title {
		font-size: 1.75rem;
	}

	.tdf-hero-banner__layout > .tdf-hero-banner__btn {
		width: 100%;
		justify-content: center;
	}

	.tdf-slider__title {
		font-size: 1.5rem;
	}

	.tdf-logo-slider {
		padding: 0 32px;
	}
}

/* ===== New Element Pack Widgets ===== */

.tdf-stack__heading { margin: 0; font-weight: 700; }
.tdf-stack__text { line-height: 1.6; }
.tdf-stack__text p:last-child { margin-bottom: 0; }
.tdf-stack__image img { max-width: 100%; height: auto; border-radius: 12px; display: block; }
.tdf-stack__btn { padding: 10px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; color: #ffffff; }
.tdf-stack__icon { font-size: 2rem; display: inline-flex; }

.tdf-advanced-heading__subtitle {
	display: block;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.25rem;
}
.tdf-advanced-heading__title { margin: 0; font-weight: 700; line-height: 1.2; }
.tdf-advanced-heading__divider {
	display: block;
	height: 4px;
	border-radius: 2px;
	margin-top: 0.5rem;
}

.tdf-dual-button {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.tdf-dual-button__btn {
	padding: 12px 24px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tdf-dual-button__btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(42, 74, 104, 0.25); }
.tdf-dual-button__btn--secondary { border-color: currentColor; }

.tdf-cta {
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(42, 74, 104, 0.25);
	text-align: center;
}
.tdf-cta__title { margin: 0 0 0.75rem; font-size: 1.75rem; font-weight: 700; }
.tdf-cta__desc { margin: 0 0 1.25rem; line-height: 1.6; }
.tdf-cta__btn {
	padding: 12px 28px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
}

.tdf-testimonial {
	margin: 0;
	padding: 28px;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: none;
}
.tdf-testimonial__image img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}
.tdf-testimonial__quote {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	font-style: italic;
}
.tdf-testimonial__stars { display: flex; gap: 2px; font-size: 1.125rem; }
.tdf-testimonial__author { display: flex; flex-direction: column; gap: 2px; }
.tdf-testimonial__role { font-size: 0.875rem; opacity: 0.75; font-weight: 400; }

.tdf-team-member {
	padding: 24px;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tdf-team-member:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.tdf-team-member__photo img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #eef3f8;
}
.tdf-team-member__name { margin: 0; font-size: 1.25rem; font-weight: 700; }
.tdf-team-member__role { margin: 0; opacity: 0.75; }
.tdf-team-member__social { display: flex; gap: 10px; justify-content: center; }
.tdf-team-member__social a {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #eef3f8;
	text-decoration: none;
	transition: background 0.2s ease;
}
.tdf-team-member__social a:hover { background: #dce6f0; }

.tdf-pricing {
	padding: 32px 28px;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	text-align: center;
	transition: transform 0.25s ease;
}
.tdf-pricing:hover { transform: translateY(-4px); }
.tdf-pricing--featured {
	border: 2px solid var(--tdf-dark, #0e3b48);
	box-shadow: 0 8px 32px rgba(42, 74, 104, 0.2);
}
.tdf-pricing__name { margin: 0 0 1rem; font-size: 1.125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.tdf-pricing__price { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.tdf-pricing__period { font-size: 0.9375rem; opacity: 0.7; }
.tdf-pricing__features {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	text-align: left;
}
.tdf-pricing__features li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.tdf-pricing__features li::before {
	content: "✓";
	color: var(--tdf-dark, #0e3b48);
	font-weight: 700;
	margin-right: 8px;
}
.tdf-pricing__btn {
	padding: 12px 28px;
	border-radius: 8px;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
}

.tdf-counter { text-align: center; }
.tdf-counter__number-wrap { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.tdf-counter__number { font-size: 3rem; font-weight: 800; line-height: 1; }
.tdf-counter__prefix,
.tdf-counter__suffix { font-size: 1.5rem; font-weight: 700; }
.tdf-counter__label { margin: 0.5rem 0 0; font-size: 1rem; opacity: 0.8; }

.tdf-progress-bar { width: 100%; }
.tdf-progress-bar__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	font-weight: 600;
}
.tdf-progress-bar__track {
	width: 100%;
	border-radius: 999px;
	overflow: hidden;
	background: #eef3f8;
}
.tdf-progress-bar__fill {
	border-radius: 999px;
	transition: width 1s ease;
}

.tdf-accordion { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
.tdf-accordion__item { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.tdf-accordion__item:last-child { border-bottom: none; }
.tdf-accordion__header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
	text-align: left;
	transition: background 0.2s ease;
}
.tdf-accordion__header:hover { background: rgba(42, 74, 104, 0.04); }
.tdf-accordion__icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	position: relative;
}
.tdf-accordion__icon::before,
.tdf-accordion__icon::after {
	content: "";
	position: absolute;
	background: currentColor;
	transition: transform 0.25s ease;
}
.tdf-accordion__icon::before { width: 14px; height: 2px; top: 11px; left: 5px; }
.tdf-accordion__icon::after { width: 2px; height: 14px; top: 5px; left: 11px; }
.tdf-accordion__item.is-active .tdf-accordion__icon::after { transform: rotate(90deg); opacity: 0; }
.tdf-accordion__panel { overflow: hidden; }
.tdf-accordion__content {
	padding: 0 20px 16px;
	line-height: 1.6;
}
.tdf-accordion__content p:last-child { margin-bottom: 0; }

.tdf-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 2px solid #eef3f8;
	margin-bottom: 0;
}
.tdf-tabs__nav-item {
	padding: 12px 20px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.9375rem;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.tdf-tabs__nav-item:hover { color: var(--tdf-dark, #0e3b48); }
.tdf-tabs__panel {
	padding: 20px;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	line-height: 1.6;
}
.tdf-tabs__panel p:last-child { margin-bottom: 0; }

.tdf-video__wrap {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
	aspect-ratio: 16 / 9;
	background: #1a1a2e;
}
.tdf-video__iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}
.tdf-video__title { margin: 0 0 1rem; font-weight: 700; }

.tdf-gallery {
	display: grid;
	width: 100%;
}
.tdf-gallery__item {
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
}
.tdf-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.tdf-gallery__item:hover img { transform: scale(1.05); }

.tdf-flip-box {
	perspective: 1000px;
	border-radius: 16px;
}
.tdf-flip-box__inner {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	transform-style: preserve-3d;
}
.tdf-flip-box:hover .tdf-flip-box__inner { transform: rotateY(180deg); }
.tdf-flip-box__face {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 28px;
	text-align: center;
	border-radius: 16px;
}
.tdf-flip-box__back { transform: rotateY(180deg); }
.tdf-flip-box__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.tdf-flip-box__title { margin: 0 0 0.75rem; font-size: 1.375rem; font-weight: 700; }
.tdf-flip-box__text { margin: 0 0 1rem; line-height: 1.5; opacity: 0.9; }
.tdf-flip-box__btn {
	padding: 10px 20px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.2);
	color: inherit;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.4);
}

.tdf-icon-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}
.tdf-icon-list__item { margin: 0; }
.tdf-icon-list__link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}
.tdf-icon-list__icon {
	flex-shrink: 0;
	display: inline-flex;
	margin-top: 2px;
}

.tdf-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.tdf-social-icons__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tdf-social-icons__link:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(42, 74, 104, 0.3);
}

.tdf-alert {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border-radius: 12px;
	border-left: 4px solid;
}
.tdf-alert--info { background: #eef3f8; border-color: var(--tdf-dark, #0e3b48); color: #1a3050; }
.tdf-alert--success { background: #edf7ed; border-color: #2e7d32; color: #1b5e20; }
.tdf-alert--warning { background: #fff8e1; border-color: #f5a623; color: #7a5800; }
.tdf-alert--error { background: #fdecea; border-color: #c62828; color: #7f1d1d; }
.tdf-alert__title { display: block; margin-bottom: 4px; }
.tdf-alert__message { margin: 0; line-height: 1.5; }
.tdf-alert__close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	opacity: 0.6;
	line-height: 1;
	padding: 0;
}
.tdf-alert__close:hover { opacity: 1; }

.tdf-blockquote {
	margin: 0;
	padding: 24px 24px 24px 28px;
	border-left: 4px solid var(--tdf-dark, #0e3b48);
	background: linear-gradient(135deg, #f7f9fc, #ffffff);
	border-radius: 0 12px 12px 0;
}
.tdf-blockquote__icon {
	font-size: 3rem;
	line-height: 1;
	opacity: 0.3;
	font-family: Georgia, serif;
}
.tdf-blockquote__text {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.6;
	font-style: italic;
}
.tdf-blockquote__author {
	display: block;
	margin-top: 0.75rem;
	font-style: normal;
	font-weight: 600;
	font-size: 0.9375rem;
}

.tdf-contact-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.tdf-contact-info__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease;
}
.tdf-contact-info__item:hover { transform: translateX(4px); }
.tdf-contact-info__icon {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: linear-gradient(135deg, #eef3f8, #dce6f0);
	flex-shrink: 0;
}

.tdf-timeline {
	position: relative;
	padding-left: 32px;
}
.tdf-timeline::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 0;
	bottom: 0;
	width: 2px;
}
.tdf-timeline__item {
	position: relative;
	padding-bottom: 28px;
}
.tdf-timeline__item:last-child { padding-bottom: 0; }
.tdf-timeline__dot {
	position: absolute;
	left: -32px;
	top: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 2px var(--tdf-dark, #0e3b48);
}
.tdf-timeline__content {
	padding: 16px 20px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.tdf-timeline__date {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--tdf-dark, #0e3b48);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
}
.tdf-timeline__title { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 700; }
.tdf-timeline__desc { margin: 0; line-height: 1.5; opacity: 0.85; font-size: 0.9375rem; }

.tdf-newsletter {
	padding: 32px;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.tdf-newsletter__title { margin: 0 0 0.5rem; font-weight: 700; }
.tdf-newsletter__desc { margin: 0 0 1rem; line-height: 1.5; opacity: 0.85; }
.tdf-newsletter__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
}
.tdf-newsletter__input {
	flex: 1;
	min-width: 200px;
	padding: 12px 16px;
	border: 2px solid #dce6f0;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.2s ease;
}
.tdf-newsletter__input:focus {
	outline: none;
	border-color: var(--tdf-dark, #0e3b48);
}
.tdf-newsletter__btn {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.tdf-card__layout {
	padding: 1.25rem;
	height: 100%;
}

.tdf-card__layout .tdf-card__title,
.tdf-card__layout .tdf-card__text {
	margin-left: 0;
	margin-right: 0;
}
.tdf-layout-flex > .tdf-el-button_primary,
.tdf-layout-flex > .tdf-el-button_secondary { align-self: flex-start; }
