/*
 Theme Name: Azoom Child
 Theme URI: https://example.com
 Description: Child theme for Azoom. Custom homepage layout without page builders.
 Author: Yana
 Template: azoom
 Text Domain: azoom-child
*/

/* Place for custom styles. Main layout is handled in template-home-new.php */

body.page-template-template-home-new {
	background-color: #020715;
	color: #ffffff;
}

body.page-template-template-home-new #page,
body.page-template-template-home-new .site,
body.page-template-template-home-new .site-content,
body.page-template-template-home-new #primary {
	background: transparent;
}

.tbn-home {
	background-color: #020715;
	color: #ffffff;
}

.tbn-hero {
	padding: 32px 0 32px;
}

.tbn-hero__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.tbn-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(10, 39, 96, 0.85);
	color: #e6f1ff;
	font-size: 12px;
	margin-bottom: 16px;
}

.tbn-hero__badge-date {
	font-weight: 600;
	color: #ffde7a;
}

.tbn-hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr);
	row-gap: 14px;
}

.tbn-hero-layout__strip {
	overflow-x: auto;
	padding-bottom: 4px;
}

.tbn-hero-strip__item {
	min-width: 200px;
	max-width: 260px;
	background: #050b1e;
	border-radius: 16px;
	overflow: hidden;
}

.tbn-hero-strip__link {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
	padding: 8px;
}

.tbn-hero-strip__thumb img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 12px;
}

.tbn-hero-strip__title {
	display: block;
	font-size: 13px;
	line-height: 1.4;
	margin-bottom: 4px;
}

.tbn-hero-strip__meta {
	display: block;
	font-size: 11px;
	color: #7b8aa6;
}

.tbn-hero-strip .swiper-slide-thumb-active .tbn-hero-strip__item,
.tbn-hero-strip .swiper-slide-thumb-active {
	background: #0e234a;
}

.tbn-hero-slider {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background: radial-gradient(circle at top left, #384bff 0, #020715 60%);
}

.tbn-hero-card {
	border-radius: 24px;
	overflow: hidden;
}

.tbn-hero-card__image-link {
	display: block;
	overflow: hidden;
}

.tbn-hero-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 0.5s ease;
}

.tbn-hero-card__content,
.tbn-hero-card__title,
.tbn-hero-card__meta,
.tbn-hero-card__excerpt {
	display: none;
}

.tbn-hero-slider__nav {
	position: absolute;
	left: 32px;
	right: 32px;
	bottom: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}

.tbn-hero-slider__pagination {
	position: static;
	width: auto;
	pointer-events: auto;
}

.tbn-hero-slider__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: rgba(255, 255, 255, 0.4);
	opacity: 1;
	margin: 0 4px !important;
}

.tbn-hero-slider__pagination .swiper-pagination-bullet-active {
	background: #ffffff;
}

.tbn-hero-slider__arrows {
	display: flex;
	gap: 8px;
	pointer-events: auto;
}

.tbn-hero-slider__arrow {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(3, 14, 40, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
}

.tbn-hero-slider__arrow::before {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border-top: 2px solid #ffffff;
	border-right: 2px solid #ffffff;
	transform: rotate(135deg);
}

.tbn-hero-slider__arrow--next::before {
	transform: rotate(-45deg);
}

.tbn-section {
	max-width: 1280px;
	margin: 0 auto;
	padding: 32px 20px 16px;
}

.tbn-section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.tbn-section__title {
	font-size: 22px;
	margin: 0;
}

.tbn-section__more {
	font-size: 14px;
	color: #46b4ff;
	text-decoration: none;
}

.tbn-grid {
	display: grid;
	gap: 16px;
}

.tbn-grid--news,
.tbn-grid--popular {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.tbn-card {
	background: #050b1e;
	border-radius: 16px;
	overflow: hidden;
}

.tbn-card__image-link {
	display: block;
	overflow: hidden;
}

.tbn-card__image {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.tbn-card__body {
	padding: 12px 14px 14px;
}

.tbn-card__title {
	font-size: 15px;
	line-height: 1.4;
	margin: 0 0 6px;
}

.tbn-card__title a {
	color: #ffffff;
	text-decoration: none;
}

.tbn-card__date {
	font-size: 12px;
	color: #7b8aa6;
}

.tbn-live {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 24px;
	align-items: stretch;
}

.tbn-live__subtitle {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #7b8aa6;
	margin: 0 0 12px;
}

.tbn-live-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tbn-live-list__item {
	display: flex;
	gap: 10px;
	align-items: baseline;
	font-size: 14px;
}

.tbn-live-list__time {
	min-width: 52px;
	color: #7b8aa6;
	font-weight: 500;
}

.tbn-live-list__title {
	color: #ffffff;
}

.tbn-live__player {
	background: radial-gradient(circle at top left, #70c0ff 0, #2c8bff 40%, #020715 90%);
	border-radius: 24px;
	padding: 20px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tbn-live-toggle {
	display: inline-flex;
	background: rgba(2, 7, 21, 0.25);
	padding: 4px;
	border-radius: 999px;
}

.tbn-live-toggle__button {
	border: none;
	background: transparent;
	color: #e2f2ff;
	font-size: 13px;
	padding: 6px 16px;
	border-radius: 999px;
	cursor: pointer;
}

.tbn-live-toggle__button--active {
	background: #ffffff;
	color: #1456d4;
}

.tbn-live-screen {
	flex: 1;
	background: rgba(2, 7, 21, 0.25);
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
}

.tbn-live-screen__placeholder {
	margin: 0;
	text-align: center;
	color: #e2f2ff;
	max-width: 320px;
}

.tbn-section--featured-marathon .tbn-banner {
	border-radius: 24px;
	overflow: hidden;
	background: #050b1e;
}

.tbn-banner__link {
	display: block;
	position: relative;
}

.tbn-banner__image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.tbn-banner__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px 20px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.tbn-banner__title {
	margin: 0;
	font-size: 20px;
}

.tbn-join {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: #050b1e;
	border-radius: 20px;
	padding: 20px 24px;
}

.tbn-join__title {
	margin: 0 0 4px;
	font-size: 22px;
}

.tbn-join__subtitle {
	margin: 0;
	color: #d3d8eb;
}

.tbn-join__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tbn-join__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 999px;
	background: linear-gradient(135deg, #3f7bff, #46d1ff);
	color: #020715;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.tbn-join__button--ghost {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.tbn-section--support {
	padding-bottom: 48px;
}

.tbn-section--support .tbn-section__inner {
	max-width: 960px;
	margin: 0 auto;
	background: #050b1e;
	border-radius: 24px;
	padding: 32px 24px;
}

.tbn-section__subtitle {
	margin: 8px 0 0;
	color: #d3d8eb;
}

.tbn-support-form__placeholder {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.tbn-support-form__text {
	margin: 0;
	color: #d3d8eb;
}

.tbn-support-form__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 999px;
	background: linear-gradient(135deg, #3f7bff, #46d1ff);
	color: #020715;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.tbn-hero-card {
		grid-template-columns: 1fr;
		padding: 24px 18px 32px;
	}

	.tbn-hero-slider__nav {
		left: 18px;
		right: 18px;
		bottom: 18px;
	}

	.tbn-section {
		padding-inline: 16px;
	}

	.tbn-section--support .tbn-section__inner {
		padding-inline: 18px;
	}

	.tbn-live {
		grid-template-columns: 1fr;
	}

	.tbn-hero-layout {
		grid-template-columns: 1fr;
	}
}

