/* TV Vertical Menu */
.tv-vertical-menu {
    list-style: none;
    padding: 0;
}
.tv-vertical-menu li {
    padding: 0;
    position: relative;
    list-style: none;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.tv-vertical-menu li a {
    color: #262626;
    position: relative;
}
.tv-vertical-menu li:after {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 15px;
    margin-top: 15px;
    width: 100%;
    background: #EBEBEB;
    background: -webkit-linear-gradient(left, #EBEBEB 0%, transparent 100%);
    background: linear-gradient(to right, #EBEBEB 0%, transparent 100%);
}
.tv-vertical-menu li ul {
    display: none;
    padding: 15px 20px 0 20px;
}
.tv-vertical-menu li ul li {
    padding: 8px 0;
}
.tv-vertical-menu li ul li a {
    color: #79889e;
}
.tv-vertical-menu li ul li:after, .tv-vertical-menu li:last-child:after {
    content: "";
    display: none;
}
button.switch {
    display: inline-flex;
    width: 36px;
    height: 36px;
    padding: 0;
    background-color: #fff;
    line-height: 1;
    border: none;
    position: absolute;
    top: -8px;
    right: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-backface-visibility: hidden;
    justify-content: center;
    align-items: center;
}
button.switch svg {
    width: 16px;
    height: auto;
}
.tv-vertical-menu li.openmenu .switch {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* TV Video Section */
.tv-video-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.tv-video-section .tv-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tv-video-section .tv-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tv-video-section .tv-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}
.tv-video-section .tv-content-inner {
    position: absolute;
    right: calc((100% - 1384px) / 2);
	max-width: 629px;
	z-index: 3;
}
.tv-video-section .tv-title {
    font-size: 90px;
    line-height: 1.2;
    font-weight: 500;
    background: linear-gradient(0deg, #FFFFFF, #FFFFFF), linear-gradient(91.29deg, rgba(0, 0, 0, 0) 2.66%, rgba(103, 47, 37, 0.29) 63.29%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tv-video-section .tv-description {
    font-size: 40px;
    line-height: 1.25;
    font-weight: 200;
    color: #fff;
}
.tv-video-section .tv-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
	margin-top: 37px;
}
.tv-video-section .tv-toggle-video {
    width: 53px;
    height: 53px;
    background: rgb(103 47 37 / 60%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    padding: 0;
	outline: 0;
}
.tv-video-section .tv-toggle-video:hover, .tv-video-section .tv-toggle-video:focus {
    background-color: rgb(103 47 37);
}
.tv-video-section .tv-toggle-video span {
    display: none;
    line-height: 0;
}
.tv-video-section .tv-toggle-video svg {
    width: 40px;
    height: auto;
}
.tv-video-section .tv-toggle-video.is-playing .icon-pause {
    display: block;
}
.tv-video-section .tv-toggle-video:not(.is-playing) .icon-play {
    display: block;
}
.tv-video-section .tv-open-modal {
    font-size: 20px;
    line-height: 25px;
    color: #fff;
    font-weight: 300;
    padding: 14px 71px 14px 12px;
    border-radius: 0;
    border: none;
    background: rgb(103 47 37 / 60%);
	outline: 0;
}
.tv-video-section .tv-open-modal:hover, .tv-video-section .tv-open-modal:focus {
    background-color: rgb(103 47 37);
}
.tv-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.tv-video-modal.active {
    display: flex;
}
.tv-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}
.tv-video-modal .tv-full-video {
    width: 100%;
}
.tv-video-modal .tv-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

/* TV Posts */
.tv-posts {
    display: grid;
    grid-template-columns: repeat(var(--tv-columns, 3), 1fr);
    gap: 32px;
}
.tv-posts .post-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.tv-posts .post-image {
	position: relative;
	overflow: hidden;
}
.post-image-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58.8%, rgba(0, 0, 0, 0.7) 91.28%);
}
.tv-posts .post-image img {
    aspect-ratio: 16 / 9;
    width: 100%;
    display: block;
    object-fit: cover;
}
.tv-posts .post-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tv-posts .post-date {
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	color: rgb(38 38 38 / 30%);
}
.tv-posts .post-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}
.tv-posts .post-title a {
    color: #672F25;
}

/* TV Image Marquee */
.tv-image-marquee {
    overflow: hidden;
    width: 100%;
}
.tv-image-marquee.tv-multi-row {
    display: flex;
    flex-direction: column;
}
.tv-image-wrapper {
    display: flex;
    width: max-content;
    align-items: center;
    will-change: transform;
}
.tv-image-marquee-holder {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
}
.tv-image-marquee-holder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}
.tv-image-marquee-holder img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: cover;
}
@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* TV Projects */
.tv-projects .project-item {
	position: relative;
	overflow: hidden;
	border-radius: 21px;
}
.tv-projects .project-image {
	position: relative;
	overflow: hidden;
}
.tv-projects .project-image img {
	display: block;
	width: 100%;
	height: 513px;
	object-fit: cover;
}
.tv-projects .project-image-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58.8%, rgba(0, 0, 0, 0.7) 91.28%);
}
.tv-projects .project-details {
	position: absolute;
	bottom: 32px;
	left: 32px;
	right: 32px;
}
.tv-projects .project-title {
	font-size: 40px;
	line-height: 1.2;
	margin: 0 0 10px;
}
.tv-projects .project-title a {
	color: #fff;
}
.tv-projects .project-desc {
	font-size: 18px;
	font-weight: 500;
	line-height: 31px;
	color: #fff;
}
.tv-projects .swiper-pagination {
    position: static;
    margin-top: 32px;
    text-align: left;
    display: flex;
    gap: 24px;
}
.tv-projects .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #D9D9D9;
    opacity: 1;
    margin: 0 !important;
    transition: .3s all;
}
.tv-projects .swiper-pagination-bullet-active {
    width: 52px;
    border-radius: 9px;
}

/* TV Timeline */
.tv-timeline {
    display: flex;
    flex-direction: column-reverse;
    gap: 93px;
}
.tv-timeline .tv-steps {
	display: flex;
	justify-content: space-between;
	position: relative;
	padding-bottom: 24px;
}
.tv-timeline .tv-step {
    cursor: pointer;
    color: rgb(38 38 38 / 40%);
    display: flex;
    flex-direction: column;
	align-items: center;
    gap: 8px;
	position: relative;
    z-index: 2;
}
.tv-timeline .step-number {
    font-size: 20px;
    line-height: 1;
    font-weight: 300;
}
.tv-timeline .step-title {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
	text-align: center;
}
.tv-timeline .tv-step.active {
	color: #EB1C24;
}
.tv-timeline .tv-step::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    border: 1px solid #A8A8A8;
	position: absolute;
    left: 50%;
    bottom: -29px;
	background-color: #fff;
    transform: translateX(-50%);
	transition: .3s all;
}
.tv-timeline .tv-step.active::after {
    background: #EB1C24;
    border-color: #EB1C24;
}
.tv-timeline .tv-line {
	position: absolute;
	bottom: 0;
	left: 80px;
	right: 60px;
	height: 1px;
	background: #C3C3C3;
}
.tv-timeline .tv-line-progress {
	display: block;
	height: 100%;
	width: 0;
	background: #EB1C24;
	transition: width .3s;
}
.tv-timeline .tv-step-content {
	display: none;
}
.tv-timeline .tv-step-content.active {
	display: block;
}
.tv-timeline .tv-content-grid {
	display: flex;
	align-items: center;
	gap: 13px;
}
.tv-timeline .tv-content-left {
	width: 40%;
}
.tv-timeline .tv-content-left h3 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 24px;
}
.tv-timeline .tv-content-left p {
    font-size: 18px;
    line-height: 23px;
	font-weight: 300;
    margin-bottom: 0;
}
.tv-timeline .tv-content-right {
	width: 60%;
}
.tv-timeline .tv-swiper img {
	display: block;
	width: 100%;
	aspect-ratio: 3/2;
	object-fit: cover;
	border-radius: 10px;
}
.tv-timeline .swiper-pagination {
    position: static;
    margin-top: 21px;
    text-align: left;
    display: flex;
    gap: 12px;
}
.tv-timeline .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #D9D9D9;
    opacity: 1;
    margin: 0 !important;
    transition: .3s all;
}
.tv-timeline .swiper-pagination-bullet-active {
    width: 43px;
    border-radius: 9px;
}

/* TV Ecosystem Graphic */
.tv-circle-wrap {
  position: relative;
  width: 553px;
  height: 553px;
  margin: auto;
}

/* common circle */
.tv-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

/* vòng tròn lớn */
.tv-circle.large {
  width: 553px;
  height: 553px;
}

/* vòng tròn nhỏ */
.tv-circle.small {
  width: 443px;
  height: 443px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* gradient border dùng pseudo-element */
.tv-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px; /* độ dày border */
  border-radius: 50%;

  background: linear-gradient(
    209.98deg,
    #E00000 12.9%,
    rgba(253, 124, 124, 0.0667) 27.15%,
    rgba(227, 10, 10, 0.922) 56.94%,
    rgba(255, 133, 133, 0) 73.43%,
    #D20000 86.03%
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* logo ở giữa */
.tv-circle-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
	transform: rotate(-45deg);
}
.tv-circle-logo img {
	max-width: 313px;
}
/* chấm tròn */
.tv-dot {
  position: absolute;
  top: 50%;
  right: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ECB42B;
  border: 1px solid #672F25;
transform:
    translateY(calc(-1 * var(--radius)))
	translate(var(--x, 0));
}
/* text bên phải chấm */
.tv-dot-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 407px;
  color: #0A0A0A;
  font-size: 17px;
  line-height: 25px;
}
.tv-dot.right {
	right: 0;
}
.tv-dot.left {
	left: 0;
}
.tv-dot.right .tv-dot-content {
	left: 36px;
}
.tv-dot.left .tv-dot-content {
    right: 36px;
    text-align: right;
	color: #672F25;
}
.tv-dot-content strong {
  display: block;
  font-weight: 700;
}
.tv-dot-content p {
  margin: 0;
}
.tv-dot-gallery {
	display: flex;
	gap: 25px;
	align-items: flex-start;
}
.tv-dot.left .tv-dot-gallery {
    justify-content: end;
}
.tv-dot-content img {
    max-width: 150px;
	height: auto;
}

/* TV Text Slider */
.tv-text-slider .tv-header {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 32px;
}
.tv-text-slider .tv-title {
	font-size: 16px;
	font-weight: 300;
	color: #6F6F6F;
	text-align: center;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}
.tv-title.is-changing {
	opacity: 0.8;
}
.tv-text-slider .tv-arrow {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	color: #0B0B0B;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tv-text-slider .tv-arrow.swiper-button-disabled {
    opacity: .5;
}
.tv-text-slider .tv-arrow svg {
	width: 16px;
	height: 21px;
}
.tv-text-slider .tv-arrow:hover {
	color: #000;
}
.tv-text-slider .tv-desc {
	font-size: 26px;
	font-weight: 300;
	line-height: 33px;
	color: #0B0B0B;
}

/* TV Projects Full */
.tv-projects-full.swiper {
	overflow: visible;
}
.tv-projects-full .project-feature {
	display: block;
	position: relative;
	z-index: 0;
	padding: 24px;
	color: #fff;
	aspect-ratio: 9 / 5;
}
.tv-projects-full .project-image {
	width: 100%;
	height: 100%;
	inset: 0;
	clip-path: inset(0 round 16px);
	position: absolute;
	z-index: -1;
}
.tv-projects-full .project-image:before {
	background-color: #000;
	content: "";
	inset: 0;
	opacity: .5;
	position: absolute;
	z-index: 1;
}
.tv-projects-full .project-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tv-projects-full .project-details {
	display: flex;
	height: 100%;
	justify-content: space-between;
	align-items: end;
	gap: 8px;
}
.tv-projects-full .project-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}
.tv-projects-full .project-location {
	font-weight: 300;
}
.tv-projects-full .project-title {
	font-size: 26px;
	line-height: 33px;
	font-weight: 400;
}
.tv-projects-full .project-button {
	display: inline-flex;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	text-align: center;
	vertical-align: middle;
	background-color: #1B1B1BB2;
	color: #fff;
}
.tv-projects-full .swiper-button-prev::after, .tv-projects-full .swiper-button-next::after {
	display: none;
}
.swiper-control {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 32px;
}
.swiper-control .swiper-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}
.swiper-control .swiper-button-next, .swiper-control .swiper-button-prev {
	position: static;
	width: 40px;
	height: 40px;
	margin: 0;
	background-color: #F2F2F2;
	border-radius: 50%;
	color: #636363;
}
.swiper-control .swiper-pagination {
	position: static;
	display: flex;
	align-items: center;
	gap: 12px;
}
.swiper-control .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	margin: 0 !important;
	background-color: #f2f2f2;
	border: 1px solid #f2f2f2;
}
.swiper-control .swiper-pagination-bullet-active {
	border-color: #1f1f1f;
}

/* TV APARTMENT HERO */
.tv-apartment {
	position: relative;
}
.tv-apartment .tv-hero {
	position: relative;
	height: 100vh;
	overflow: hidden;
}
.tv-apartment .tv-hero-item {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity .6s ease, transform .8s ease;
}
.tv-apartment .tv-hero-item::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.2));
}
.tv-apartment .tv-hero-item.is-active {
	opacity: 1;
	z-index: 1;
}
.tv-apartment .tv-content {
	position: absolute;
	top: 130px;
	left: calc((100% - 1384px) / 2);
	color: #fff;
	max-width: 550px;
}
.tv-apartment .tv-content h2 {
    font-size: 68px;
    line-height: 75px;
	font-weight: 400;
    letter-spacing: -4.1px;
    margin-bottom: 12px;
}
.tv-apartment .tv-content p {
    font-size: 24px;
    line-height: 30px;
    font-weight: 300;
    letter-spacing: -0.2px;
    margin-bottom: 0;
}
.tv-apartment .tv-tabs {
    display: flex;
    gap: 24px;
    position: absolute;
    bottom: 63px;
    right: 43px;
    border-radius: 12px;
    padding: 12px 24px;
    background-color: #EEEEEE0D;
    backdrop-filter: blur(6px);
    z-index: 2;
}
.tv-apartment .tv-tabs .tab {
    padding: 12px;
    border-radius: 99px;
    border: none;
    background: #1313131A;
    backdrop-filter: blur(5px);
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}
.tv-apartment .tv-tabs .tab.is-active {
	background: #ff7a18;
}

/* Responsive */
@media (max-width: 1424px) {
	.tv-video-section .tv-content-inner {
		right: 20px;
	}
	.tv-apartment .tv-content {
		left: 20px;
	}
}
@media (max-width: 1024px) {
	.tv-video-section .tv-title {
		font-size: 60px;
	}
	.tv-video-section .tv-description {
		font-size: 32px;
	}
	.elementor-tablet .tv-dot {
		--radius: var(--radius-tablet);
		--x: var(--x-tablet);
	}
}
@media (max-width: 767px) {
	.tv-video-section .tv-content-inner {
		right: 0;
		padding: 0 20px;
	}	
	.tv-video-section .tv-title {
		font-size: 40px;
	}
	.tv-video-section .tv-description {
		font-size: 24px;
	}
	.tv-video-section .tv-buttons {
		margin-top: 24px;
	}
	.tv-timeline {
		flex-direction: column;
		gap: 48px;
	}
	.tv-timeline .tv-content-grid {
		flex-direction: column;
	}
	.tv-timeline .tv-content-left, .tv-timeline .tv-content-right {
		width: 100%;
	}
	.tv-timeline .tv-steps {
		overflow-x: auto;
		gap: 24px;
		padding-bottom: 10px;
	}
	.tv-timeline .tv-step {
		min-width: 120px;
	}
	.tv-timeline .tv-line, .tv-timeline .tv-step::after {
		display: none;
	}
	.tv-circle-logo img {
		max-width: 140px;
	}
	.elementor-mobile .tv-dot {
		--radius: var(--radius-mobile);
		--x: var(--x-mobile);
	}
	.tv-circle-wrap {
		width: 320px;
		height: 320px;
	}
	.tv-circle.large {
		width: 320px;
		height: 320px;
	}
	.tv-circle.small {
		width: 250px;
		height: 250px;
	}
	.tv-dot {
		width: 15px;
		height: 15px;
		display: none;
	}
	.tv-dot-content {
		font-size: 12px;
		display: none;
	}
	.tv-text-slider .tv-desc {
		font-size: 20px;
		line-height: 25px;
	}
	.tv-apartment .tv-tabs {
		width: 100%;
        bottom: 20px;
        right: 0;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.tv-apartment .tv-tabs::-webkit-scrollbar {
		display: none;
	}
	.tv-apartment .tv-content h2 {
		font-size: 40px;
		line-height: 50px;
		letter-spacing: -2.4px;
	}
	.tv-apartment .tv-content p {
		font-size: 20px;
		line-height: 25px;
		letter-spacing: -0.1px;
	}
}