/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Space+Grotesk:wght@300..700&display=swap");

/* General */
:root {
	--pink: #ff8aa7;
	--green: #68fadd;
	--orange: #f4a237;
	--blue: #1bb5cd;
	--background: #110a20;
	--surface: #1d1530;
	--surface-low: #170f27;
	--on-background: #ede0ff;
	--on-surface-variant: #b1a6c4;
	--outline: #4c445d;
	--black: #000000;
	--group-color: var(--blue);
	/* Default */
}

/* Dynamic Theming System */
body.pink-group {
	--group-color: var(--pink);
}

body.orange-group {
	--group-color: var(--orange);
}

body.green-group {
	--group-color: var(--green);
}

body.blue-group {
	--group-color: var(--blue);
}

.text-group {
	color: var(--group-color) !important;
}

.bg-group {
	background-color: var(--group-color) !important;
}

.border-group {
	border-color: var(--group-color) !important;
}

.link-group:hover {
	color: var(--group-color) !important;
}

body {
	font-family: "Manrope", sans-serif;
	background-color: var(--background);
	color: var(--on-background);
	overflow-x: hidden;
}

.container-fluid {
	max-width: 2000px;
	margin-left: auto;
	margin-right: auto;
}

h1,
h2,
h3,
h4,
.font-headline {
	font-family: "Space Grotesk", sans-serif;
}

a {
	transition: all 0.3s;
}

a:hover {
	color: var(--pink);
	text-decoration: none;
}

.btn {
	border-radius: 0;
}

.color-pink {
	color: var(--pink);
}

.color-green {
	color: var(--green);
}

.color-blue {
	color: var(--blue);
}

.color-orange {
	color: var(--orange);
}

.text-on-surface-variant {
	color: var(--on-surface-variant) !important;
}

.bg-surface {
	background-color: var(--surface);
}

.bg-surface-low {
	background-color: var(--surface-low);
}

.bg-black {
	background-color: var(--black);
}

/* Navbar */
.navbar-custom {
	background: rgba(17, 10, 32, 0.85);
	backdrop-filter: blur(20px);
	padding: 8px 30px;
	border-bottom: 1px solid rgba(237, 224, 255, 0.05);
}

.nav-link-custom {
	font-family: "Space Grotesk", sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: rgba(237, 224, 255, 0.7) !important;
	padding: 5px 0px !important;
	margin-left: 24px;
	transition: color 0.3s;
}

.nav-link-custom:hover,
.nav-link-custom:focus {
	color: var(--on-background) !important;
}

.nav-link-custom.active {
	color: var(--on-background) !important;
	border-bottom: 2px solid var(--pink);
}

.navbar-brand img {
	height: 60px;
}

/* Hero */
.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 80px;
	background-image: url("../img/tsl-bg.jpg");
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: top center;
}

.hero-title {
	font-size: calc(2.5rem + 3vw);
	line-height: 0.95;
	letter-spacing: -0.04em;
	font-weight: 700;
}

.hero-badge {
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--pink);
	display: block;
	margin-bottom: 1.5rem;
}

.btn-outline-custom {
	border: 1px solid var(--outline);
	color: var(--on-background);
	padding: 1rem 2.5rem;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	letter-spacing: 1px;
}

.btn-outline-custom:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--on-background);
	border-color: var(--pink);
}

/* Featured Box */
.featured-box {
	color: #2a1600;
	padding: 3rem;
	position: relative;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.featured-box.blue {
	background-color: var(--blue);
}

.featured-box.pink {
	background-color: var(--pink);
}

.featured-box.orange {
	background-color: var(--orange);
}

.featured-box.green {
	background-color: var(--green);
}

.featured-box h3 {
	font-size: 2.75rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.btn-play {
	background: var(--background);
	border: none;
	padding: 1rem 2rem;
	font-weight: 700;
	letter-spacing: 1px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: all 0.3s;
}

.btn-play i {
	font-size: 20px;
}

.btn-play:hover {
	color: var(--green);
}

.featured-box.blue .btn-play {
	color: var(--orange);
}

.featured-box.blue .btn-play:hover {
	color: var(--blue);
}

.featured-box.pink .btn-play {
	color: var(--orange);
}

.featured-box.pink .btn-play:hover {
	color: var(--pink);
}

.featured-box.orange .btn-play {
	color: var(--pink);
}

.featured-box.orange .btn-play:hover {
	color: var(--orange);
}

.featured-box.green .btn-play {
	color: var(--pink);
}

.featured-box.green .btn-play:hover {
	color: var(--green);
}

.overlapping-image {
	position: absolute;
	top: calc(100% - 70px);
	right: -30px;
	width: 65%;
	z-index: 2;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.overlapping-image::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--pink);
	opacity: 0.15;
	pointer-events: none;
}

.featured-box.blue .overlapping-image::after {
	background-color: var(--orange);
}

.featured-box.pink .overlapping-image::after {
	background-color: var(--orange);
}

.featured-box.orange .overlapping-image::after {
	background-color: var(--pink);
}

.featured-box.green .overlapping-image::after {
	background-color: var(--pink);
}

.overlapping-image img {
	filter: grayscale(1) brightness(0.8);
	width: 100%;
	display: block;
}

/* Cards */
.card-podcast,
.card-note {
	background: var(--surface-low);
	border: none;
	height: 100%;
	transition: all 0.3s;
	border-radius: 0;
}

.card-podcast:hover,
.card-note:hover {
	background: var(--surface);
	transform: translateY(-5px);
}

.card-note {
	border-left: 2px solid #fff;
}

.card-img-bw {
	filter: grayscale(1) brightness(0.8);
	aspect-ratio: 16/9;
	object-fit: cover;
	display: block;
}

.card-img,
.card-img-top {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.image-overlay-wrap {
	position: relative;
	display: block;
	overflow: hidden;
}

.image-overlay-wrap::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--group-color);
	opacity: 0.25;
	pointer-events: none;
	mix-blend-mode: multiply;
}

.position-relative-overlay::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	opacity: 0.05;
	pointer-events: none;
	transition: all 0.3s;
}

.card-podcast:hover .position-relative-overlay::after,
.card-note:hover .position-relative-overlay::after {
	background-color: currentColor;
}

.icon-overlay {
	position: absolute;
	top: 1rem;
	left: 1rem;
	font-size: 24px;
	z-index: 5;
}

.card-data {
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
	display: flex;
	justify-content: space-between;
}

.podcast-category-badge {
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding-right: 15px;
}

.card-link {
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none !important;
	font-family: "Space Grotesk", sans-serif;
	margin-top: auto;
}

.card-link i {
	transition: all 0.3s;
}

.card-link:hover {
	color: var(--on-background) !important;
}

.card-link:hover i {
	transform: translateX(5px);
}

/* Card Colors */
.pink {
	--theme-color: var(--pink);
}

.green {
	--theme-color: var(--green);
}

.orange {
	--theme-color: var(--orange);
}

.blue {
	--theme-color: var(--blue);
}

.card-podcast .icon-overlay,
.card-podcast .card-link,
.card-podcast .podcast-category-badge,
.card-note .icon-overlay,
.card-note .card-link,
.card-note .podcast-category-badge {
	color: var(--theme-color);
}

.card-podcast:hover .position-relative-overlay::after,
.card-note:hover .position-relative-overlay::after {
	background-color: var(--theme-color);
}

.card-note {
	border-left: 2px solid var(--theme-color, #fff);
}

.en-flag {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 5;
}

.en-flag img {
	height: 20px;
	width: auto;
}

/* Content Section */
.section-label {
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	display: block;
}

.section-label.date {
	color: rgba(237, 224, 255, 0.6) !important;
}

.section-title {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 0;
}

.section-title a {
	color: var(--on-background);
	display: inline-flex;
	align-items: center;
	gap: 15px;
	transition: all 0.3s;
}

.podcast-section .section-title a:hover {
	color: var(--pink);
}

.notes-section .section-title a:hover {
	color: var(--blue);
}

.section-title a i {
	transition: all 0.3s;
}

.section-title a:hover i {
	transform: translateX(10px);
}

.title-section {
	padding: 180px 0 80px;
	background-size: cover;
	background-position: bottom center;
	background-repeat: no-repeat;
}

.title-section.podcast-list {
	background-image: url(../img/page-title-1.jpg);
}

.title-section.notes-list {
	padding: 180px 0 0;
	background-image: url(../img/page-title-2.jpg);
}

.notes-filter {
	height: 80px;
	display: flex;
	align-items: flex-start;
	gap: 40px;
	padding-top: 10px;
}

.filter-tab {
	font-family: "Space Grotesk", sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: rgba(237, 224, 255, 0.5);
	text-decoration: none !important;
	padding-bottom: 5px;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
}

.filter-tab:hover {
	color: var(--on-background);
}

.filter-tab.active.vsi {
	border-bottom-color: var(--on-background);
	color: var(--on-background);
}

.filter-tab.active.intervjuji {
	border-bottom-color: var(--orange);
	color: var(--orange);
}

.filter-tab.active.novice {
	border-bottom-color: var(--pink);
	color: var(--pink);
}

.filter-tab.active.nanebu {
	border-bottom-color: var(--green);
	color: var(--green);
}

.filter-tab.active.uganke {
	border-bottom-color: var(--blue);
	color: var(--blue);
}

.notes-grid {
	display: block !important;
	width: 100%;
	position: relative;
}

.content-section p {
	margin-bottom: 24px;
}

.content-section h2 {
	margin-bottom: 24px;
	font-weight: 700 !important;
}

.content-section h3 {
	margin-bottom: 24px;
	font-size: 1.6rem;
	font-weight: 500 !important;
}

.quote {
	margin: 3rem 0;
	padding: 50px 25px;
	background: var(--surface-low);
	border-left: 3px solid var(--group-color);
}

/* Ensure Isotope items have correct spacing and flow */
.note-item {
	width: 100%;
}

.paging-section {
	padding: 80px 0;
}

/* Breadcrumbs */
.breadcrumbs-home {
	color: rgba(237, 224, 255, 0.5) !important;
	text-decoration: none !important;
}

.breadcrumbs-home:hover {
	color: var(--on-background) !important;
}

.bg-black .section-label {
	margin-bottom: 0;
}

/* Sidebar Styles */
.sidebar-title {
	font-family: "Space Grotesk", sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	gap: 18px;
}

.sidebar-title::before {
	content: "";
	display: block;
	width: 80px;
	height: 2px;
	background-color: var(--group-color);
}

.latest-post-item {
	display: flex;
	gap: 20px;
	margin-bottom: 1.5rem;
	text-decoration: none !important;
	transition: all 0.3s;
}

.latest-post-item:hover {
	transform: translateX(7px);
}

.latest-post-thumb {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
}

.latest-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) brightness(0.8);
}

.latest-post-meta {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 5px;
	display: block;
}

.latest-post-title {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	color: rgba(237, 224, 255, 0.6) !important;
	margin-bottom: 5px;
	transition: all 0.5s;
}

.latest-post-item:hover .latest-post-title {
	color: var(--on-background) !important;
}

/* Content Media */
.content-img-wrap {
	margin: 3rem 0;
	padding: 50px 25px;
	text-align: center;
	background: var(--surface-low);
}

.content-img-caption {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	opacity: 0.6;
	margin-top: 1.5rem;
	text-align: center;
}

.video-placeholder {
	position: relative;
	margin: 3rem 0;
	cursor: pointer;
}

.video-placeholder img {
	width: 100%;
	filter: grayscale(1) brightness(0.6);
}

.video-overlay-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.play-btn-circle {
	width: 80px;
	height: 80px;
	background: var(--group-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--black);
	font-size: 32px;
	margin-bottom: 1rem;
	transition: all 0.3s;
}

.video-placeholder:hover .play-btn-circle {
	transform: scale(1.1);
	box-shadow: 0 0 30px var(--group-color);
}

.video-cta {
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* Custom Pagination */
.pagination-custom .page-item {
	margin: 0 5px;
}

.pagination-custom .page-link {
	background-color: var(--surface-low);
	border: 1px solid var(--outline);
	color: var(--on-surface-variant);
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	padding: 12px 20px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-custom .page-item.active .page-link {
	background-color: var(--pink);
	border-color: var(--pink);
	color: var(--black);
}

.pagination-custom .page-link:hover {
	background-color: rgba(255, 255, 255, 0.05);
	color: var(--pink);
	border-color: var(--pink);
	transform: translateY(-2px);
}

.pagination-custom .page-link:focus,
.pagination-custom .page-link:active {
	box-shadow: none;
	border-color: var(--outline);
	outline: none;
}

.pagination-custom .page-item.active .page-link:focus {
	border-color: var(--pink);
}

.pagination-custom .page-item.disabled .page-link {
	background-color: transparent;
	border-color: var(--outline);
	opacity: 0.3;
	color: var(--on-surface-variant);
}

/* Footer */
footer {
	padding: 50px 0;
}

.footer-logo {
	height: 40px;
}

.footer-heading {
	font-size: 0.9rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}

.footer-link {
	color: rgba(237, 224, 255, 0.5);
	font-size: 0.85rem;
	margin-bottom: 0.75rem;
	display: block;
	transition: all 0.2s;
}

.footer-link:hover {
	color: var(--pink);
	padding-left: 5px;
	text-decoration: none;
}

.social-btn {
	color: var(--green);
	font-size: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 30px;
}

/* Side Slide */
#slide-holder {
	position: fixed;
	right: 0;
	top: 160px;
	z-index: 1030;
}

#slide-panel {
	width: 180px;
	height: 60px;
	margin-right: -180px;
	float: right;
	color: #fff;
	background: #110a20;
	position: relative;
}

a.opener {
	float: left;
	margin: 0 0 0 -61px;
	display: block;
	color: var(--on-background);
	font-size: 28px;
	background-color: #110a20;
	text-transform: uppercase;
	text-align: center;
	line-height: 54px;
	width: 60px;
	height: 60px;
	transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-o-transition-property: all 0.25s ease-in-out;
	-ms-transition-property: all 0.25s ease-in-out;
}

.slide-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 180px;
	height: 60px;
}

.slide-text {
	font-size: 13px;
	font-weight: 400;
	text-align: center;
	line-height: 1.3;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.slide-text a {
	color: #fff;
}

.slide-text a:hover {
	color: var(--pink);
}

.slide-text a:focus {
	color: var(--on-background);
}

/* Custom Utility & Component Classes */
.rounded-lg {
	border-radius: 8px;
}

.nav-search-icon {
	font-size: 24px;
}

.nav-search-text {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
}

.hero-lead {
	font-size: 1.25rem;
}

.live-now-badge {
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	opacity: 0.8;
}

.featured-desc {
	font-size: 1.1rem;
	opacity: 0.9;
}

.play-icon-fill {
	font-variation-settings: "FILL" 1;
}

.all-events-link {
	letter-spacing: 0.1em;
	text-decoration: none;
}

.all-events-icon {
	font-size: 1rem;
}

.footer-desc {
	line-height: 1.8;
}

.footer-bottom-row {
	border-top: 1px solid rgba(237, 224, 255, 0.2) !important;
	opacity: 0.6;
}

.footer-flare-icon {
	font-size: 0.9rem;
}

/* Fullscreen Search Overlay */
.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(17, 10, 32, 0.96);
	z-index: 1050;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.search-overlay.open {
	opacity: 1;
	visibility: visible;
}

.search-close-btn {
	position: absolute;
	top: 2rem;
	right: 4rem;
	font-size: 2.5rem;
	color: var(--on-surface-variant);
	background: transparent;
	border: none;
	cursor: pointer;
	transition:
		color 0.3s,
		transform 0.3s;
}

.search-close-btn:hover,
.search-close-btn:focus {
	color: var(--pink);
	outline: none;
	box-shadow: none;
	transform: scale(1.1);
}

.search-overlay-input {
	width: 100%;
	font-family: "Space Grotesk", sans-serif;
	font-size: 4rem;
	font-weight: 700;
	color: var(--on-background);
	background: transparent;
	border: none;
	border-bottom: 2px solid var(--outline);
	padding: 1rem 0;
	padding-right: 60px;
	text-align: left;
	outline: none;
	transition: border-color 0.3s;
}

.search-overlay-input:focus {
	border-bottom-color: var(--pink);
}

.search-form-overlay {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
}

.search-submit-btn {
	position: absolute;
	right: 0;
	bottom: 1.5rem;
	background: transparent;
	border: none;
	color: var(--on-surface-variant);
	font-size: 2.5rem;
	cursor: pointer;
	transition: all 0.3s;
	padding: 0;
}

.search-submit-btn:hover {
	color: var(--pink);
	transform: scale(1.1);
}

.search-overlay-input::placeholder {
	color: var(--on-surface-variant);
	opacity: 0.4;
}

/* Custom Animated Hamburger */
.custom-hamburger {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 40px;
	height: 20px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

.custom-hamburger:focus {
	outline: none;
}

.hamburger-line {
	display: block;
	width: 100%;
	height: 2px;
	background-color: rgba(237, 224, 255, 0.7) !important;
	border-radius: 2px;
	transition: all 0.3s ease-in-out;
}

/* Transform to X when expanded via Bootstrap */
.custom-hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.custom-hamburger[aria-expanded="true"] .hamburger-line.middle {
	opacity: 0;
}

.custom-hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}