/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ==========================================================================
   Tech Entrepreneurship and Innovation Development Center — homepage styles.
   Layout and content live in Elementor; these rules hold the brand details
   that would otherwise be repeated on every widget.
   ========================================================================== */

:root {
	--tc-navy: #0B2A52;
	--tc-footer: #213F5F;
	--tc-crimson: #A51C30;
	--tc-text: #1A1A1A;
	--tc-link: #2E7DD7;
	--tc-shadow: 0 6px 24px rgba(11, 42, 82, 0.10);
	--tc-radius: 6px;
}

body {
	color: var(--tc-text);
	-webkit-font-smoothing: antialiased;
}

/*
 * Display caps. Georgian is converted to Mtavruli in PHP (see functions.php,
 * "tc-caps"), because Chrome's text-transform folds Mtavruli back to lowercase
 * on lang="ka" pages. CSS uppercase is therefore applied to English only.
 */
.tc-caps .elementor-heading-title,
.tc-caps .elementor-button-text,
.tc-hero-slides .elementor-slide-heading {
	letter-spacing: 0.02em;
}

:lang(en) .tc-h2 .elementor-heading-title,
:lang(en) .tc-booking__title .elementor-heading-title,
:lang(en) .tc-card--course .tc-card__title .elementor-heading-title,
:lang(en) .tc-btn-navy .elementor-button-text,
:lang(en) .tc-all-link .elementor-button-text {
	text-transform: uppercase;
}

/* ---------- Header ---------- */

.tc-header {
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
	position: relative;
	z-index: 20;
}

.tc-logo img {
	display: block;
}

.tc-nav .elementor-nav-menu--main .elementor-item {
	font-size: 15px;
	font-weight: 500;
	color: var(--tc-text);
	padding: 10px 14px;
}

.tc-nav .elementor-nav-menu--main .elementor-item.elementor-item-active,
.tc-nav .elementor-nav-menu--main .elementor-item:hover {
	color: var(--tc-link);
}

.tc-nav .elementor-nav-menu--main .elementor-nav-menu {
	justify-content: center;
}

.tc-lang .cpel-switcher__flag img {
	width: 22px;
	height: auto;
	display: block;
}

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

.tc-hero-slides .swiper-slide-inner .elementor-slide-heading {
	font-size: clamp(36px, 5vw, 72px);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 24px !important;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.tc-hero-slides .swiper-slide-inner .elementor-slide-button {
	background: var(--tc-crimson);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 14px 30px;
	font-weight: 600;
	transition: background-color 0.2s ease;
}

.tc-hero-slides .swiper-slide-inner .elementor-slide-button:hover {
	background: #861626;
	color: #fff;
}

/* ---------- Book a visit (overlaps the hero) ---------- */

.tc-booking-wrap {
	margin-top: -140px;
	position: relative;
	z-index: 5;
}

.tc-booking {
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(11, 42, 82, 0.35);
}

.tc-booking__title .elementor-heading-title {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
}

.tc-tiles > .elementor-element.tc-tile {
	flex: 1 1 200px;
	max-width: 240px;
}

/* Tiles stretch to the tallest one; the inner box fills the stretched widget. */
.tc-tile > .elementor-widget-container {
	height: 100%;
}

.tc-tile .elementor-icon-box-wrapper {
	height: 100%;
	padding: 30px 16px 24px;
	border-radius: 4px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-tile:hover .elementor-icon-box-wrapper {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.tc-tile--yellow .elementor-icon-box-wrapper { background: #FFB800; }
.tc-tile--coral .elementor-icon-box-wrapper { background: #E8676A; }
.tc-tile--blue .elementor-icon-box-wrapper { background: #4285F4; }

.tc-tile .elementor-icon {
	color: #fff;
	fill: #fff;
	font-size: 54px;
}

.tc-tile .elementor-icon svg {
	fill: #fff;
	width: 54px;
	height: 54px;
}

.tc-tile .elementor-icon-box-icon {
	margin-bottom: 14px !important;
}

.tc-tile .elementor-icon-box-title,
.tc-tile .elementor-icon-box-title a {
	color: #fff;
	font-size: 19px;
	font-weight: 600;
	margin: 0;
}

/* ---------- About ---------- */

.tc-h2 .elementor-heading-title {
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--tc-text);
}

.tc-about__title .elementor-heading-title {
	font-size: clamp(22px, 2vw, 28px);
}

.tc-about__text {
	font-size: 16px;
	line-height: 1.7;
}

.tc-about__text p:last-child {
	margin-bottom: 0;
}

.tc-about__image img {
	width: 100%;
	border-radius: var(--tc-radius);
	box-shadow: var(--tc-shadow);
}

.tc-btn-navy .elementor-button {
	background: var(--tc-navy);
	color: #fff;
	border-radius: 14px;
	padding: 16px 36px;
	font-size: 17px;
	font-weight: 600;
}

.tc-btn-navy .elementor-button:hover {
	background: #143d72;
	color: #fff;
}

/* ---------- Section heads ("View all" link) ---------- */

.tc-courses {
	border-top: 1px solid #E3EAF3;
}

.tc-all-link .elementor-button {
	background: transparent;
	color: var(--tc-text);
	padding: 6px 0;
	font-size: 17px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.tc-all-link .elementor-button-content-wrapper {
	flex-direction: row-reverse;
}

.tc-all-link .elementor-button-icon svg {
	fill: var(--tc-crimson);
	width: 22px;
	height: 22px;
}

.tc-all-link .elementor-button-content-wrapper {
	gap: 16px;
}

.tc-all-link .elementor-button:hover {
	background: transparent;
	color: var(--tc-crimson);
}

/* ---------- Cards (loop items) ---------- */

.tc-card {
	height: 100%;
	border-radius: var(--tc-radius);
	overflow: hidden;
	box-shadow: var(--tc-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(11, 42, 82, 0.16);
}

.tc-card__image img {
	width: 100%;
	display: block;
	object-fit: cover;
}

.tc-card--course .tc-card__image img {
	aspect-ratio: 3 / 2;
}

.tc-card--post .tc-card__image img {
	aspect-ratio: 27 / 8;
}

.tc-card__title {
	padding: 26px 28px 30px;
}

.tc-card__title .elementor-heading-title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
}

.tc-card--course .tc-card__title {
	padding: 22px 20px 26px;
}

.tc-card__title .elementor-heading-title a {
	color: var(--tc-text);
}

.tc-card__title .elementor-heading-title a:hover {
	color: var(--tc-link);
}

/* Event cards: date line between the image and the title. */
.tc-card__date {
	padding: 22px 28px 0;
}

.tc-card--dated .tc-card__title {
	padding-top: 8px;
}

.tc-card__date .tc-post-date {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #7A8699;
}

.tc-event-date {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--tc-crimson);
}

.tc-event-date__icon {
	width: 16px;
	height: 16px;
	fill: currentColor;
	flex: none;
}

.tc-event-date--past {
	color: #7A8699;
}

/* Carousel arrows sit outside the cards, navy chevrons as in the design. */
.tc-carousel {
	--arrow-prev-left-align: 0%;
	--arrow-next-right-align: 0%;
}

.tc-carousel .swiper {
	margin: 0 56px;
	padding: 12px 6px 24px;
}

.tc-carousel .elementor-swiper-button {
	color: var(--tc-navy);
	font-size: 40px;
}

.tc-carousel .elementor-swiper-button svg {
	fill: var(--tc-navy);
	width: 40px;
	height: 40px;
}

.tc-carousel .elementor-swiper-button.swiper-button-disabled {
	opacity: 0.25;
}

/* ---------- Soft gradient background (news / events) ---------- */

.tc-soft-bg {
	background:
		radial-gradient(ellipse 45% 55% at 0% 100%, rgba(152, 226, 200, 0.45), transparent 70%),
		radial-gradient(ellipse 45% 45% at 45% 100%, rgba(253, 226, 160, 0.45), transparent 70%),
		radial-gradient(ellipse 40% 55% at 95% 95%, rgba(200, 190, 255, 0.45), transparent 70%),
		#fff;
}

/* ---------- Stats ---------- */

.tc-stat {
	flex: 1 1 160px;
	max-width: 230px;
}

.tc-stat .elementor-counter {
	flex-direction: column;
	gap: 10px;
}

.tc-stat .elementor-counter-title {
	order: 2;
}

.tc-stat .elementor-counter-number-wrapper {
	color: #fff;
	font-size: clamp(36px, 3.4vw, 48px);
	font-weight: 700;
	line-height: 1;
	justify-content: center;
}

.tc-stat .elementor-counter-title {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

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

.tc-footer .elementor-text-editor p,
.tc-footer .elementor-widget-text-editor p {
	margin: 0;
	font-size: 15px;
}

/* ---------- Course page ---------- */

.tc-course__title .elementor-heading-title {
	font-size: clamp(24px, 2.6vw, 34px);
}

.tc-course__image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--tc-radius);
	display: block;
}

.tc-course__aside {
	box-shadow: 0 18px 40px rgba(11, 42, 82, 0.12);
	border-radius: var(--tc-radius);
	overflow: hidden;
	background: #fff;
}

.tc-video {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.tc-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.tc-facts {
	list-style: none;
	margin: 0;
	padding: 8px 28px;
}

.tc-facts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 0;
	border-bottom: 1px solid #E8EDF4;
}

.tc-facts li:last-child {
	border-bottom: 0;
}

.tc-facts__label {
	font-size: 13px;
	font-weight: 600;
	color: #5B6B80;
}

.tc-facts__value {
	font-size: 17px;
	font-weight: 700;
	color: var(--tc-navy);
}

/* Tabs: active tab is a white card joined to the panel, as in the mockup. */
.tc-course-tabs .e-n-tabs-heading {
	gap: 0;
	border-bottom: 1px solid #DDE3EC;
}

.tc-course-tabs .e-n-tab-title {
	background: transparent !important;
	border: 1px solid transparent !important;
	border-bottom: 0 !important;
	border-radius: 4px 4px 0 0;
	margin-bottom: -1px;
	padding: 16px 28px !important;
	color: var(--tc-text) !important;
	font-size: 16px;
	font-weight: 600;
}

.tc-course-tabs .e-n-tab-title[aria-selected="true"] {
	background: #fff !important;
	border-color: #DDE3EC !important;
	box-shadow: inset 0 3px 0 var(--tc-crimson);
}

.tc-course-tabs .e-n-tab-title:hover {
	color: var(--tc-crimson) !important;
}

.tc-course-tabs .e-n-tab-title-text {
	color: inherit !important;
}

.tc-course-about,
.tc-topic__content,
.tc-materials {
	font-size: 16px;
	line-height: 1.7;
}

.tc-course-about h3,
.tc-materials h3 {
	font-size: 19px;
	font-weight: 700;
	margin: 28px 0 10px;
	color: var(--tc-navy);
}

.tc-course-about p {
	margin: 0 0 14px;
}

.tc-course-about a,
.tc-topic__content a,
.tc-materials a {
	color: var(--tc-link);
	overflow-wrap: anywhere;
}

/* Topics accordion. */
.tc-topics {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tc-topic {
	background: #EEF1F7;
	border-radius: 8px;
}

.tc-topic__title {
	padding: 18px 56px 18px 24px;
	font-size: 16px;
	font-weight: 600;
	color: var(--tc-text);
	position: relative;
}

summary.tc-topic__title {
	cursor: pointer;
	list-style: none;
}

summary.tc-topic__title::-webkit-details-marker {
	display: none;
}

summary.tc-topic__title::after {
	content: "";
	position: absolute;
	right: 24px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.tc-topic[open] summary.tc-topic__title::after {
	transform: translateY(-30%) rotate(-135deg);
}

summary.tc-topic__title:hover {
	color: var(--tc-crimson);
}

.tc-topic__content {
	padding: 0 24px 20px;
}

.tc-topic__content ul {
	margin: 0;
	padding-left: 20px;
}

.tc-topic__content p {
	margin: 0 0 10px;
}

/* Materials. */
.tc-materials h3:first-child {
	margin-top: 0;
}

.tc-files {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}

.tc-file {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 22px;
	border: 1px solid #DDE3EC;
	border-left: 4px solid var(--tc-crimson);
	border-radius: 6px;
	text-decoration: none;
	transition: box-shadow 0.2s ease;
}

.tc-file:hover {
	box-shadow: var(--tc-shadow);
}

.tc-file__name {
	font-weight: 700;
	color: var(--tc-navy);
}

.tc-file__meta {
	font-size: 13px;
	color: #5B6B80;
}

.tc-topic-materials {
	display: flex;
	flex-direction: column;
}

.tc-topic-materials__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	padding: 14px 0;
	border-bottom: 1px solid #E8EDF4;
}

.tc-topic-materials__title {
	font-weight: 600;
}

.tc-topic-materials__links ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

.tc-materials__empty {
	color: #5B6B80;
}

/* ---------- Event page ---------- */

.tc-event__title .elementor-heading-title {
	font-size: clamp(24px, 2.6vw, 34px);
}

.tc-event__image img {
	width: 100%;
	border-radius: var(--tc-radius);
	display: block;
}

.tc-event__content {
	font-size: 16px;
	line-height: 1.7;
}

.tc-event__aside {
	position: sticky;
	top: 24px;
}

.tc-event-details {
	background: #fff;
	border-radius: var(--tc-radius);
	box-shadow: 0 18px 40px rgba(11, 42, 82, 0.12);
	border-top: 4px solid var(--tc-crimson);
	padding-bottom: 24px;
}

.tc-event-details__register,
.tc-event-details__ended {
	display: block;
	margin: 4px 28px 0;
	padding: 14px 20px;
	border-radius: 8px;
	text-align: center;
	font-weight: 700;
}

.tc-event-details__register {
	background: var(--tc-navy);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.tc-event-details__register:hover {
	background: var(--tc-crimson);
	color: #fff;
}

.tc-event-details__ended {
	background: #EEF1F7;
	color: #5B6B80;
}

/* ---------- News article ---------- */

.tc-article__title .elementor-heading-title {
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.3;
}

.tc-post-date {
	font-size: 15px;
	font-weight: 600;
	color: #5B6B80;
}

.tc-article__image img {
	width: 100%;
	border-radius: var(--tc-radius);
	display: block;
	margin-top: 8px;
}

.tc-article__content {
	font-size: 17px;
	line-height: 1.8;
	margin-top: 8px;
}

.tc-article__content a {
	color: var(--tc-link);
}

/* ---------- About page ---------- */

.tc-page-title .elementor-heading-title {
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.25;
}

.tc-h3 .elementor-heading-title {
	font-size: clamp(20px, 1.8vw, 24px);
	color: var(--tc-navy);
}

.tc-prose {
	font-size: 16px;
	line-height: 1.75;
}

.tc-prose p:last-child {
	margin-bottom: 0;
}

.tc-prose a {
	color: var(--tc-link);
}

/* Units: three cards with the equipment-tile colours as accents. */
.tc-units > .tc-unit {
	flex: 1 1 0;
	background: #fff;
	border-radius: var(--tc-radius);
	box-shadow: var(--tc-shadow);
	border-top: 5px solid var(--tc-unit-color);
}

.tc-unit--yellow { --tc-unit-color: #FFB800; }
.tc-unit--coral { --tc-unit-color: #E8676A; }
.tc-unit--blue { --tc-unit-color: #4285F4; }

.tc-unit__name .elementor-heading-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--tc-navy);
}

.tc-unit__tagline .elementor-heading-title {
	font-size: 14px;
	font-weight: 600;
	color: #5B6B80;
}

.tc-unit__text {
	font-size: 15px;
	line-height: 1.7;
	flex-grow: 1;
}

/* Activities on navy. */
.tc-navy .tc-h2 .elementor-heading-title,
.tc-navy .tc-prose {
	color: #fff;
}

.tc-activities > .tc-activity {
	flex: 0 0 calc(50% - 18px);
	max-width: calc(50% - 18px);
}

.tc-activity__num .elementor-heading-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	color: #FFB800;
}

.tc-activity__title .elementor-heading-title {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.tc-activity__text {
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
}

.tc-activity__text p {
	margin: 0;
}

/* Stats: four per row. */
.tc-stats--grid > .e-con-inner {
	row-gap: 56px !important;
}

.tc-stats--grid .tc-stat {
	flex: 0 0 calc(25% - 23px);
	max-width: calc(25% - 23px);
}

/* Team: members in a row share the tallest plate's height. */
.tc-team {
	align-items: stretch !important;
}

.tc-team > .tc-member {
	flex: 0 0 calc(25% - 24px);
	max-width: calc(25% - 24px);
}

.tc-member__photo img {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #fff;
	box-shadow: 0 8px 24px rgba(11, 42, 82, 0.15);
	position: relative;
	z-index: 1;
}

.tc-member__plate {
	align-self: stretch;
	width: 100% !important;
	flex-grow: 1;
	margin-top: -24px;
	padding-top: 40px !important;
	background: var(--tc-footer);
	border-radius: var(--tc-radius);
	text-align: center;
}

.tc-member__name .elementor-heading-title {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}

.tc-member__role .elementor-heading-title {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

/* Contact. */
.tc-contact__list .elementor-icon-list-icon svg {
	fill: var(--tc-crimson);
	width: 18px;
}

.tc-contact__list .elementor-icon-list-text {
	font-size: 16px;
	color: var(--tc-text);
	padding-left: 10px;
}

.tc-contact__list a:hover .elementor-icon-list-text {
	color: var(--tc-link);
}

.tc-contact__list .elementor-icon-list-item:not(:last-child) {
	padding-bottom: 12px;
}

.tc-btn-navy .elementor-button-icon svg {
	fill: #fff;
}

/* ---------- Zoomout page ---------- */

.tc-banner__image img {
	width: 100%;
	height: clamp(180px, 22vw, 380px);
	object-fit: cover;
	display: block;
}

.tc-lead {
	font-size: 18px;
	line-height: 1.75;
}

.tc-lead p,
.tc-highlight p {
	margin: 0;
}

.tc-highlight {
	padding: 28px 32px;
	background: #F3F6FB;
	border-left: 5px solid var(--tc-crimson);
	border-radius: 0 var(--tc-radius) var(--tc-radius) 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.65;
	color: var(--tc-navy);
}

.tc-services > .tc-service {
	flex: 1 1 calc(25% - 18px);
	min-width: 220px;
}

.tc-service .elementor-icon-box-wrapper {
	height: 100%;
	padding: 30px 26px;
	background: #fff;
	border-radius: var(--tc-radius);
	box-shadow: var(--tc-shadow);
	border-top: 5px solid var(--tc-service-color);
	text-align: left;
}

.tc-service--yellow { --tc-service-color: #FFB800; }
.tc-service--coral { --tc-service-color: #E8676A; }
.tc-service--blue { --tc-service-color: #4285F4; }
.tc-service--navy { --tc-service-color: var(--tc-navy); }

.tc-service .elementor-icon-box-wrapper,
.tc-service .elementor-icon-box-content {
	text-align: left !important;
	align-items: flex-start;
}

.tc-service .elementor-icon-box-icon {
	margin-bottom: 18px !important;
	display: flex;
	justify-content: flex-start;
}

.tc-service .elementor-icon {
	font-size: 34px;
	color: var(--tc-service-color);
	fill: var(--tc-service-color);
}

.tc-service .elementor-icon svg {
	width: 34px;
	height: 34px;
	fill: var(--tc-service-color);
}

.tc-service .elementor-icon-box-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--tc-navy);
	margin: 0 0 10px;
}

.tc-service .elementor-icon-box-description {
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
}

.tc-booking-section__intro {
	max-width: 860px;
}

.tc-options > .tc-option {
	flex: 1 1 0;
	background: #fff;
	border-radius: var(--tc-radius);
}

.tc-option__title .elementor-heading-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--tc-navy);
}

.tc-option__text {
	font-size: 15px;
	line-height: 1.7;
	flex-grow: 1;
}

.tc-option__text p {
	margin: 0;
}

.tc-option__soon .elementor-heading-title {
	font-size: 15px;
	font-weight: 600;
	color: #7A8699;
	padding: 12px 18px;
	background: #EEF1F7;
	border-radius: 8px;
}

.tc-btn-crimson .elementor-button {
	background: var(--tc-crimson);
	color: #fff;
	border-radius: 8px;
	padding: 14px 26px;
	font-weight: 700;
}

.tc-btn-crimson .elementor-button:hover {
	background: #861626;
	color: #fff;
}

.tc-btn-crimson .elementor-button-icon svg {
	fill: #fff;
	width: 14px;
}

.tc-btn-crimson .elementor-button-content-wrapper {
	gap: 10px;
}

/* ---------- FABLAB page & equipment ---------- */

.tc-subheading .elementor-heading-title {
	font-size: 19px;
	font-weight: 700;
	color: var(--tc-navy);
}

.tc-offers > .tc-offer {
	flex: 0 0 calc(50% - 10px);
	max-width: calc(50% - 10px);
}

.tc-offer .elementor-icon-box-wrapper {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 100%;
	padding: 20px 22px;
	background: #F3F6FB;
	border-radius: var(--tc-radius);
	text-align: left;
}

.tc-offer .elementor-icon-box-icon {
	margin: 0 !important;
	flex: none;
}

.tc-offer .elementor-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
}

.tc-offer .elementor-icon svg {
	width: 20px;
	height: 20px;
	fill: var(--tc-crimson);
}

.tc-offer .elementor-icon-box-title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--tc-text);
}

/* Equipment tiles (FABLAB page, single machine "other equipment"). */
.tc-equipment-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
}

.tc-equipment-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 180px;
	padding: 28px 16px;
	border-radius: 4px;
	background: var(--tc-tile);
	color: #fff;
	text-align: center;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-equipment-tile:hover {
	color: #fff;
	transform: translateY(-4px);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.tc-equipment-tile svg {
	width: 52px;
	height: 52px;
	fill: currentColor;
}

.tc-equipment-tile__name {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.tc-equipment-tile--yellow { --tc-tile: #FFB800; }
.tc-equipment-tile--coral { --tc-tile: #E8676A; }
.tc-equipment-tile--blue { --tc-tile: #4285F4; }
.tc-equipment-tile--navy { --tc-tile: #1F4E8C; }

.tc-navy .tc-equipment-tile--navy {
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

/* Single machine. */
.tc-back-link .elementor-button {
	background: transparent;
	color: var(--tc-navy);
	padding: 0;
	font-size: 15px;
	font-weight: 600;
}

.tc-back-link .elementor-button:hover {
	background: transparent;
	color: var(--tc-crimson);
}

.tc-back-link .elementor-button-icon svg {
	fill: currentColor;
	width: 14px;
}

.tc-back-link .elementor-button-content-wrapper {
	gap: 10px;
}

.tc-equipment-hero {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 220px;
	border-radius: var(--tc-radius);
	background: var(--tc-tile);
}

.tc-equipment-hero svg {
	width: 96px;
	height: 96px;
	fill: #fff;
}

.tc-requirements {
	padding: 28px 32px;
	background: #F3F6FB;
	border-radius: var(--tc-radius);
	font-size: 15px;
	line-height: 1.7;
}

.tc-requirements__title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: var(--tc-navy);
}

.tc-requirements ul {
	margin: 0;
	padding-left: 20px;
}

.tc-requirements li {
	margin-bottom: 8px;
}

.tc-requirements li ul {
	margin-top: 6px;
}

.tc-requirements li li {
	margin-bottom: 2px;
}

.tc-machine__aside {
	position: sticky;
	top: 24px;
}

.tc-booking-box {
	padding: 28px;
	background: #fff;
	border-radius: var(--tc-radius);
	border-top: 4px solid var(--tc-crimson);
	box-shadow: 0 18px 40px rgba(11, 42, 82, 0.12);
	font-size: 15px;
	line-height: 1.65;
}

.tc-booking-box__title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	color: var(--tc-navy);
}

.tc-booking-box__hours {
	padding: 10px 14px;
	background: #FFF6DD;
	border-radius: 6px;
	font-weight: 600;
	color: #7A5600;
}

.tc-booking-box__option {
	padding-top: 18px;
	margin-top: 18px;
	border-top: 1px solid #E8EDF4;
}

.tc-booking-box__option h3 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--tc-text);
}

.tc-booking-box__option p {
	margin: 0 0 12px;
	color: #5B6B80;
}

.tc-booking-box__button,
.tc-booking-box__soon {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 700;
}

.tc-booking-box__button {
	background: var(--tc-crimson);
	color: #fff;
	text-decoration: none;
}

.tc-booking-box__button:hover {
	background: #861626;
	color: #fff;
}

.tc-booking-box__soon {
	background: #EEF1F7;
	color: #7A8699;
}

/* Booking rules list on the FABLAB page. */
.tc-rules {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.tc-rules li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}

.tc-rules li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.55em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--tc-crimson);
}

/* Course archive. */
.tc-archive-intro {
	max-width: 820px;
	font-size: 17px;
	line-height: 1.7;
	margin-bottom: 16px;
}

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

@media (max-width: 1024px) {
	.tc-team > .tc-member {
		flex-basis: calc(33.333% - 22px);
		max-width: calc(33.333% - 22px);
	}

	.tc-logo img {
		width: 150px;
	}

	.tc-header .tc-nav {
		order: 3;
		flex-grow: 0;
	}

	.tc-header .tc-header__actions {
		margin-left: auto;
	}

	.tc-booking-wrap {
		margin-top: -90px;
	}

	.tc-booking {
		padding: 28px 28px 36px !important;
	}

	.tc-tiles {
		gap: 20px !important;
	}

	.tc-carousel .swiper {
		margin: 0 44px;
	}
}

@media (max-width: 767px) {
	.tc-hero-slides .elementor-swiper-button {
		display: none;
	}

	.tc-booking-wrap {
		margin-top: -60px;
	}

	.tc-booking {
		padding: 24px 18px 28px !important;
	}

	.tc-tiles {
		gap: 10px !important;
		flex-wrap: nowrap !important;
	}

	.tc-tiles > .elementor-element.tc-tile {
		flex: 1 1 0;
		min-width: 0;
	}

	.tc-tile .elementor-icon-box-wrapper {
		padding: 18px 6px 14px;
	}

	.tc-tile .elementor-icon,
	.tc-tile .elementor-icon svg {
		font-size: 30px;
		width: 30px;
		height: 30px;
	}

	.tc-tile .elementor-icon-box-title,
	.tc-tile .elementor-icon-box-title a {
		font-size: 13px;
		line-height: 1.3;
	}

	.tc-section-head .tc-h2 .elementor-heading-title {
		font-size: 22px;
	}

	.tc-stats {
		--gap: 32px 12px !important;
		--row-gap: 32px !important;
		--column-gap: 12px !important;
		padding-top: 56px !important;
		padding-bottom: 56px !important;
	}

	.tc-event__aside {
		position: static;
	}

	.tc-services > .tc-service {
		flex-basis: 100%;
	}

	.tc-offers > .tc-offer {
		flex-basis: 100%;
		max-width: 100%;
	}

	.tc-equipment-tiles {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.tc-equipment-tile {
		min-height: 140px;
	}

	.tc-equipment-tile svg {
		width: 38px;
		height: 38px;
	}

	.tc-equipment-tile__name {
		font-size: 15px;
	}

	.tc-machine__aside {
		position: static;
	}

	.tc-activities > .tc-activity,
	.tc-stats--grid .tc-stat,
	.tc-team > .tc-member {
		flex-basis: 100%;
		max-width: 100%;
	}

	.tc-stats--grid .tc-stat,
	.tc-team > .tc-member {
		flex-basis: calc(50% - 16px);
		max-width: calc(50% - 16px);
	}

	.tc-member__photo img {
		width: 120px;
		height: 120px;
	}

	.tc-topic-materials__item {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.tc-course-tabs .e-n-tab-title {
		padding: 12px 14px !important;
		font-size: 14px;
	}

	.tc-stat {
		flex: 0 0 calc(50% - 6px);
		max-width: calc(50% - 6px);
		min-width: 0;
	}

	.tc-stat .elementor-counter-title {
		font-size: 15px;
		overflow-wrap: anywhere;
	}
}
