/*
Theme Name: Tunesloaded
Theme URI: https://www.tunesloaded.com/
Author: Karma
Description: Custom music-download theme for Tunesloaded — hot & trending music, albums, videos and artist pages.
Version: 1.0.0
Text Domain: tunesloaded
Requires PHP: 7.4
*/

/* =========================================================
   1. Reset + base
   ========================================================= */
*,
::after,
::before {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	font-size: var(--tl-font-size-base);
	scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: var(--tl-font-base);
	font-size: var(--tl-text-base);
	line-height: 1.65;
	color: var(--tl-color-text);
	background-color: var(--tl-color-bg);
}
img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	text-decoration: none;
	color: inherit;
}
button,
input {
	font: inherit;
	color: inherit;
}
h1,
h2,
h3 {
	font-family: var(--tl-font-heading);
	line-height: 1.2;
	font-weight: 800;
	margin: 0 0 var(--tl-space-3);
	color: var(--tl-color-text);
}
h1 {
	font-size: var(--tl-text-3xl);
}
h2 {
	font-size: var(--tl-text-2xl);
}
h3 {
	font-size: var(--tl-text-xl);
}
p {
	margin: 0 0 var(--tl-space-4);
	color: var(--tl-color-text);
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	::after,
	::before {
		scroll-behavior: auto !important;
	}
}

/* =========================================================
   2. Design tokens
   ========================================================= */
:root {
	--tl-color-primary: #b85c00;
	--tl-color-accent: #c26b00;
	--tl-color-dark: #121212;
	--tl-color-light: #ffffff;
	--tl-color-bg: var(--tl-color-light);
	--tl-color-surface: #f7f7f8;
	--tl-color-border: #e6e6e9;
	--tl-color-text: #17171a;
	--tl-color-text-muted: #6b6b74;

	--tl-font-base: "Inter", system-ui, -apple-system, sans-serif;
	--tl-font-heading: "Archivo", system-ui, -apple-system, sans-serif;
	--tl-font-size-base: 16px;
	--tl-logo-height: 40px;

	--tl-text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
	--tl-text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
	--tl-text-base: 1rem;
	--tl-text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
	--tl-text-xl: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
	--tl-text-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.625rem);
	--tl-text-3xl: clamp(1.875rem, 1.6rem + 1.2vw, 2.25rem);

	--tl-space-1: 0.25rem;
	--tl-space-2: 0.5rem;
	--tl-space-3: 0.75rem;
	--tl-space-4: 1rem;
	--tl-space-5: 1.5rem;
	--tl-space-6: 2rem;
	--tl-space-8: 3rem;
	--tl-space-10: 4rem;

	--tl-radius-sm: 8px;
	--tl-radius-md: 14px;
	--tl-radius-lg: 22px;
	--tl-radius-pill: 999px;

	--tl-shadow-md: 0 8px 24px rgba(18, 18, 18, 0.08);
	--tl-shadow-lg: 0 20px 48px rgba(18, 18, 18, 0.14);

	--tl-container-max: 1280px;

	--tl-widget-item-align: flex-start;
	--tl-compact-title-size-desktop: var(--tl-text-xl);
	--tl-compact-title-size-mobile: var(--tl-text-lg);
	--tl-minimal-title-size-desktop: var(--tl-text-sm);
	--tl-minimal-title-size-mobile: var(--tl-text-base);
	--tl-hero-title-size-desktop: var(--tl-text-xl);
	--tl-hero-title-size-mobile: var(--tl-text-base);
	--tl-btn-radius: var(--tl-radius-sm);
	--tl-btn-hover-transform: translateY(-2px);
	--tl-section-title-size-desktop: var(--tl-text-3xl);
	--tl-section-title-size-mobile: var(--tl-text-xl);
}

html {
	--wp-admin--admin-bar--height: 32px;
	scroll-padding-top: var(--wp-admin--admin-bar--height);
}
@media screen and (max-width: 782px) {
	html {
		--wp-admin--admin-bar--height: 46px;
	}
}
img:is([sizes="auto" i], [sizes^="auto," i]) {
	contain-intrinsic-size: 3000px 1500px;
}

/* =========================================================
   3. Layout helpers
   ========================================================= */
.tl-container {
	width: 100%;
	max-width: var(--tl-container-max);
	margin-inline: auto;
	padding-inline: var(--tl-space-5);
}
@media (max-width: 782px) {
	.tl-container {
		padding-inline: var(--tl-space-4);
	}
}
.tl-card {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	background: var(--tl-color-light);
	border: none;
	border-radius: var(--tl-radius-md);
	box-shadow: 0 2px 8px rgba(18, 18, 18, 0.06), 0 12px 28px rgba(18, 18, 18, 0.07);
	overflow: hidden;
}
.tl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--tl-space-2);
	padding: 0.8em 1.85em;
	font-weight: 600;
	font-size: var(--tl-text-sm);
	border-radius: var(--tl-btn-radius, var(--tl-radius-sm));
	border: none;
	background: var(--tl-color-primary);
	color: var(--tl-color-light);
	cursor: pointer;
	transition: transform 0.15s ease;
}
.tl-btn:hover {
	transform: var(--tl-btn-hover-transform);
}
.tl-btn--outline {
	background: 0 0;
	color: var(--tl-color-primary);
	border: 1px solid var(--tl-color-primary);
}
.tl-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.tl-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	background: var(--tl-color-primary);
	color: var(--tl-color-light);
	padding: var(--tl-space-3) var(--tl-space-5);
	border-radius: 0 0 var(--tl-radius-sm) 0;
}
.tl-skip-link:focus {
	left: 0;
}
.tl-responsive-desktop {
	display: block;
}
.tl-responsive-mobile {
	display: none;
}
@media (max-width: 782px) {
	.tl-responsive-desktop {
		display: none;
	}
	.tl-responsive-mobile {
		display: block;
	}
}
body.tl-hide-sidebar-mobile .tl-sidebar {
	display: none;
}
@media (max-width: 782px) {
	body.tl-hide-sidebar-mobile .tl-sidebar {
		display: none;
	}
}

/* =========================================================
   4. Header
   ========================================================= */
.tl-site-header {
	position: relative;
	z-index: 100;
	width: var(--tl-viewport-width, 100%);
	max-width: var(--tl-container-max);
	margin-inline: auto;
	background: var(--tl-color-primary);
}
.tl-site-header--sticky {
	position: sticky;
	top: 0;
	will-change: transform;
}
.tl-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--tl-space-5);
	padding-block: var(--tl-space-3);
}
.tl-site-branding {
	flex: 0 1 auto;
	min-width: 0;
}
.custom-logo,
.tl-site-logo {
	max-height: var(--tl-logo-height, 40px);
	max-width: min(200px, 100%);
	width: auto;
	height: auto;
	display: block;
}
.tl-primary-nav {
	flex: 1 1 auto;
	display: none;
}
.tl-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: var(--tl-space-5);
	margin: 0;
	padding: 0;
}
.tl-menu > .tl-menu-item {
	flex-shrink: 0;
}
.tl-menu-link {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	white-space: nowrap;
	gap: 6px;
	padding: 0.5em 0.1em;
	border-radius: var(--tl-radius-sm);
	font-weight: 700;
	font-size: var(--tl-text-base);
	color: var(--tl-color-light);
}
.tl-offcanvas__menu .tl-menu-link,
.tl-submenu .tl-menu-link {
	color: var(--tl-color-text);
	font-weight: 600;
	font-size: var(--tl-text-sm);
	opacity: 1;
}
.tl-submenu-toggle {
	display: block;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.tl-submenu-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	padding: 0;
	background: 0 0;
	border: none;
	border-radius: var(--tl-radius-sm);
	color: inherit;
	cursor: pointer;
}
.tl-has-submenu {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.tl-has-submenu.is-open > .tl-submenu-toggle-btn .tl-submenu-toggle {
	transform: rotate(225deg);
}
.tl-submenu {
	list-style: none;
	margin: 0;
	padding: var(--tl-space-2);
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--tl-color-bg);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-md);
	box-shadow: var(--tl-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	z-index: 50;
}
.tl-has-submenu.is-open > .tl-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.tl-submenu .tl-menu-link {
	flex: 1;
}
.tl-header-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: var(--tl-space-2);
}
.tl-header-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: 0 0;
	border: none;
	color: var(--tl-color-light);
	cursor: pointer;
}
.tl-header-toggle--menu {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	padding: 10px;
	width: 40px;
	height: 40px;
	border-radius: var(--tl-radius-sm);
	background: rgba(255, 255, 255, 0.12);
}
.tl-header-toggle--menu span {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}
@media (min-width: 1024px) {
	.tl-primary-nav {
		display: block;
	}
	.tl-header-toggle--menu {
		display: none;
	}
}
.tl-header-toggle--menu-standalone {
	display: none;
}
@media (max-width: 1023px) {
	.tl-header--logo-center .tl-header-toggle--menu-standalone {
		display: inline-flex;
	}
	.tl-header--logo-center .tl-header-toggle--menu-inline {
		display: none;
	}
	.tl-header--logo-center .tl-site-branding {
		flex: 1;
		display: flex;
		justify-content: center;
	}
}

/* =========================================================
   5. Offcanvas mobile menu
   ========================================================= */
.tl-offcanvas {
	position: fixed;
	top: 0;
	left: 0;
	width: var(--tl-viewport-width, 100%);
	height: 100%;
	z-index: 200;
	visibility: hidden;
}
.tl-offcanvas.is-open {
	visibility: visible;
}
.tl-offcanvas__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 18, 18, 0.55);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.tl-offcanvas.is-open .tl-offcanvas__backdrop {
	opacity: 1;
}
.tl-offcanvas__panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	max-height: 88vh;
	width: 100%;
	background: var(--tl-color-bg);
	display: flex;
	flex-direction: column;
	box-shadow: var(--tl-shadow-lg);
	border-radius: 0 0 var(--tl-radius-lg) var(--tl-radius-lg);
	overflow-y: auto;
	transform: translateY(-100%);
	transition: transform 0.25s ease;
}
.tl-offcanvas.is-open .tl-offcanvas__panel {
	transform: translateY(0);
}
.tl-offcanvas__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--tl-space-5);
	border-bottom: 1px solid var(--tl-color-border);
}
.tl-offcanvas__close {
	background: 0 0;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: var(--tl-color-text);
	cursor: pointer;
}
.tl-offcanvas__nav {
	padding: var(--tl-space-4);
}
.tl-offcanvas__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tl-offcanvas__menu .tl-menu-item {
	border-bottom: 1px solid var(--tl-color-border);
}
.tl-offcanvas__menu .tl-menu-link {
	flex: 1;
	padding: 0.9em 0.6em;
	border-radius: 0;
}
.tl-offcanvas__menu .tl-submenu {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	box-shadow: none;
	border: none;
	background: var(--tl-color-surface);
	border-radius: var(--tl-radius-sm);
	display: none;
}
.tl-offcanvas__menu .tl-has-submenu.is-open .tl-submenu {
	display: block;
}
.tl-offcanvas__footer {
	margin-top: auto;
	padding: var(--tl-space-5);
	border-top: 1px solid var(--tl-color-border);
}
@media (min-width: 1024px) {
	.tl-offcanvas {
		display: none;
	}
}

/* =========================================================
   6. Dark mode toggle + search overlay
   ========================================================= */
.tl-dark-toggle__icon--sun {
	display: none;
}
body.tl-dark-mode .tl-dark-toggle__icon--sun {
	display: block;
}
body.tl-dark-mode .tl-dark-toggle__icon--moon {
	display: none;
}
.tl-offcanvas__dark-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--tl-space-3);
	width: 100%;
	padding: 0.8em 1em;
	border-radius: var(--tl-radius-sm);
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	font-weight: 600;
	font-size: var(--tl-text-sm);
	color: var(--tl-color-text);
	cursor: pointer;
}
.tl-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: color-mix(in srgb, var(--tl-color-bg) 96%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	overflow-y: auto;
}
.tl-search-overlay[hidden] {
	display: none;
}
.tl-search-overlay__inner {
	max-width: 720px;
	margin: 0 auto;
	padding: var(--tl-space-10) var(--tl-space-5);
	position: relative;
}
.tl-search-overlay__close {
	position: absolute;
	top: var(--tl-space-5);
	right: var(--tl-space-5);
	background: 0 0;
	border: none;
	font-size: 32px;
	line-height: 1;
	color: var(--tl-color-text);
	cursor: pointer;
}
.tl-search-overlay__form {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
	border-bottom: 2px solid var(--tl-color-primary);
	padding-bottom: var(--tl-space-3);
}
.tl-search-overlay__input {
	flex: 1;
	border: none;
	background: 0 0;
	font-size: var(--tl-text-xl);
	font-family: var(--tl-font-heading);
	color: var(--tl-color-text);
	outline: 0;
}
.tl-search-overlay__submit {
	background: 0 0;
	border: none;
	color: var(--tl-color-primary);
	display: inline-flex;
	cursor: pointer;
}
.tl-search-overlay__results {
	margin-top: var(--tl-space-6);
}

/* =========================================================
   7. Quickbar
   ========================================================= */
.tl-quickbar {
	max-width: var(--tl-container-max);
	margin-inline: auto;
	background: var(--tl-color-primary);
	border-bottom: none;
}
.tl-quickbar__row {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	touch-action: pan-x pan-y;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-block: var(--tl-space-3);
}
.tl-quickbar__row::-webkit-scrollbar {
	display: none;
}
.tl-quickbar__pill {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	padding: 0.55em 1.3em;
	border-radius: var(--tl-radius-pill);
	background: var(--tl-color-light);
	color: var(--tl-color-primary);
	font-weight: 700;
	font-size: var(--tl-text-sm);
	white-space: nowrap;
}
@media (min-width: 1024px) {
	body.tl-hide-quickbar-desktop .tl-quickbar {
		display: none;
	}
}
.tl-quickbar__pill.is-active {
	background: var(--tl-color-dark);
	color: var(--tl-color-light);
}

/* =========================================================
   7b. Archive / category header
   ========================================================= */
.tl-archive-header {
	padding-block: var(--tl-space-6) var(--tl-space-5);
}
.tl-archive-header__title {
	margin-bottom: var(--tl-space-2);
}
.tl-archive-header__date {
	display: block;
	font-size: var(--tl-text-xs);
	color: var(--tl-color-text-muted);
	margin-bottom: var(--tl-space-3);
}
.tl-archive-header__description {
	color: var(--tl-color-text-muted);
	max-width: 70ch;
}
.tl-archive-header__description p:last-child {
	margin-bottom: 0;
}

/* =========================================================
   7c. Single / archive layout (category, tag, single, page)
   ========================================================= */
.tl-single-layout {
	padding-block: var(--tl-space-6) var(--tl-space-10);
}
.tl-single-layout--with-sidebar {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--tl-space-8);
	align-items: start;
}
@media (min-width: 1024px) {
	.tl-single-layout--with-sidebar {
		grid-template-columns: 70fr 30fr;
	}
}
.tl-single-main {
	min-width: 0;
}
@media (max-width: 782px) {
	.tl-widget-item--mobile-size-large .tl-widget-item__media {
		width: 128px;
		height: 80px;
	}
}

/* =========================================================
   7d. Single article (posts + pages)
   ========================================================= */
.tl-article__header {
	margin-bottom: var(--tl-space-5);
}
.tl-article__title {
	margin-bottom: 0;
}
.tl-telegram-banner {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
	padding: var(--tl-space-3) var(--tl-space-5);
	margin-bottom: var(--tl-space-6);
	background: #229ed9;
	color: #fff;
	border-radius: var(--tl-radius-md);
	font-weight: 700;
	font-size: var(--tl-text-sm);
}
.tl-telegram-banner svg {
	flex-shrink: 0;
}
.tl-article-content {
	max-width: 75ch;
	line-height: 1.75;
}
.tl-article-content h2,
.tl-article-content h3,
.tl-article-content h4 {
	margin-top: var(--tl-space-6);
}
.tl-article-content p {
	margin-bottom: var(--tl-space-4);
}
.tl-article-content a {
	color: var(--tl-color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.tl-article-content ul,
.tl-article-content ol {
	margin: 0 0 var(--tl-space-4);
	padding-left: 1.4em;
}
.tl-article-content li {
	margin-bottom: var(--tl-space-2);
}
.tl-article-content img {
	border-radius: var(--tl-radius-md);
	margin-block: var(--tl-space-4);
}
.tl-article-content blockquote {
	margin: var(--tl-space-5) 0;
	padding-left: var(--tl-space-5);
	border-left: 3px solid var(--tl-color-primary);
	color: var(--tl-color-text-muted);
	font-style: italic;
}
.tl-article-content audio,
.tl-article-content video {
	width: 100%;
	margin-block: var(--tl-space-4);
	border-radius: var(--tl-radius-md);
}

/* =========================================================
   7e. Artist (tag archive) page
   ========================================================= */
.tl-artist-header {
	padding-block: var(--tl-space-6) var(--tl-space-5);
}
.tl-artist-header__label {
	display: inline-block;
	margin-bottom: var(--tl-space-2);
	padding: 0.3em 0.9em;
	border-radius: var(--tl-radius-pill);
	background: var(--tl-color-primary);
	color: var(--tl-color-light);
	font-size: var(--tl-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.tl-artist-header__name {
	margin-bottom: var(--tl-space-2);
}
.tl-artist-header__date {
	display: block;
	font-size: var(--tl-text-xs);
	color: var(--tl-color-text-muted);
	margin-bottom: var(--tl-space-3);
}
.tl-artist-header__bio {
	color: var(--tl-color-text-muted);
	max-width: 70ch;
}
.tl-artist-header__bio p:last-child {
	margin-bottom: 0;
}
.tl-artist-sections .tl-section--slider,
.tl-artist-sections .tl-section--grid {
	margin-bottom: var(--tl-space-8);
	padding-bottom: var(--tl-space-8);
	border-bottom: 1px solid var(--tl-color-border);
}
.tl-artist-sections > section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}
.tl-artist-related-grid {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.tl-artist-card {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
	padding: var(--tl-space-4);
}
.tl-artist-card__media {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tl-color-surface);
	color: var(--tl-color-text-muted);
}
.tl-artist-card__initial {
	width: 24px;
	height: 24px;
}
.tl-artist-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.tl-artist-card__name {
	font-weight: 700;
	font-size: var(--tl-text-sm);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tl-artist-card__count {
	font-size: var(--tl-text-xs);
	color: var(--tl-color-text-muted);
}

/* =========================================================
   8. Hero
   ========================================================= */
.tl-hero {
	padding-block: var(--tl-space-6);
}
.tl-hero__media {
	position: relative;
	display: block;
	border-radius: var(--tl-radius-lg);
	overflow: hidden;
	aspect-ratio: 16/9;
	background: var(--tl-color-surface);
}
.tl-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tl-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 18, 18, 0.85) 0, rgba(18, 18, 18, 0.15) 55%, transparent 100%);
}
.tl-hero__meta {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
	font-size: var(--tl-text-xs);
	font-weight: 600;
	color: var(--tl-color-text-muted);
	margin-bottom: var(--tl-space-2);
}
.tl-hero__badge {
	background: var(--tl-color-primary);
	color: var(--tl-color-light);
	padding: 0.3em 0.9em;
	border-radius: var(--tl-radius-pill);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.tl-hero__cta {
	display: inline-flex;
}
.tl-hero__bookmark {
	position: absolute;
	top: var(--tl-space-3);
	right: var(--tl-space-3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(18, 18, 18, 0.45);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: none;
	color: #fff;
	z-index: 2;
	cursor: pointer;
}
.tl-hero__split {
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: var(--tl-space-5);
}
.tl-hero__split-main {
	position: relative;
	border-radius: var(--tl-radius-lg);
	overflow: hidden;
}
.tl-hero__split-main .tl-hero__media {
	border-radius: 0;
	aspect-ratio: 8/5;
}
.tl-hero__split-main .tl-hero__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: var(--tl-space-8) var(--tl-space-6) var(--tl-space-6);
	color: #fff;
	max-width: 640px;
}
.tl-hero__split-main .tl-hero__title {
	font-size: var(--tl-hero-title-size-desktop);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #fff;
}
.tl-hero__split-main .tl-hero__title a {
	color: #fff;
}
.tl-hero__split-side {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-5);
}
.tl-hero__split-side-item {
	position: relative;
	flex: 1;
	border-radius: var(--tl-radius-lg);
	overflow: hidden;
}
.tl-hero__split-side-item .tl-hero__media {
	border-radius: 0;
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}
.tl-hero__split-side-item .tl-hero__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: var(--tl-space-5);
	color: #fff;
	z-index: 1;
}
.tl-hero__split-side-item .tl-hero__title {
	font-size: var(--tl-hero-title-size-desktop);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #fff;
	margin-bottom: var(--tl-space-1);
}
.tl-hero__split-side-item .tl-hero__title a {
	color: #fff;
}
.tl-hero__split-side-item .tl-hero__date {
	font-size: var(--tl-text-xs);
	color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 782px) {
	.tl-hero__split-main .tl-hero__title,
	.tl-hero__split-side-item .tl-hero__title {
		font-size: var(--tl-hero-title-size-mobile);
	}
	.tl-hero__split {
		grid-template-columns: 1fr;
	}
	.tl-hero__split-main .tl-hero__media {
		aspect-ratio: 4/3;
	}
	.tl-hero__split-side {
		flex-direction: column;
	}
	.tl-hero__split-side-item {
		min-height: 220px;
	}
	.tl-hero--hide-mobile {
		display: none;
	}
}

/* =========================================================
   9. Carousel
   ========================================================= */
.tl-carousel {
	position: relative;
}
.tl-carousel-track {
	display: flex;
	align-items: stretch;
	gap: var(--tl-space-4);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	touch-action: pan-x pan-y;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.tl-carousel-track::-webkit-scrollbar {
	display: none;
}
.tl-carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--tl-color-bg);
	border: 1px solid var(--tl-color-border);
	box-shadow: var(--tl-shadow-md);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	z-index: 5;
	cursor: pointer;
}
.tl-carousel-nav--prev {
	left: 4px;
}
.tl-carousel-nav--next {
	right: 4px;
}
@media (min-width: 1024px) {
	.tl-carousel-nav {
		width: 44px;
		height: 44px;
		font-size: 18px;
	}
	.tl-carousel-nav--prev {
		left: -18px;
	}
	.tl-carousel-nav--next {
		right: -18px;
	}
}

/* =========================================================
   10. Sections
   ========================================================= */
.tl-section {
	margin-bottom: var(--tl-space-8);
	padding-bottom: var(--tl-space-8);
	border-bottom: 1px solid var(--tl-color-border);
}
.tl-section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}
.tl-section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--tl-space-4);
	margin-bottom: var(--tl-space-5);
}
.tl-section__title {
	margin: 0;
	position: relative;
	padding-left: var(--tl-space-4);
	font-size: var(--tl-section-title-size-desktop, var(--tl-text-2xl));
}
@media (max-width: 782px) {
	.tl-section__title {
		font-size: var(--tl-section-title-size-mobile, var(--tl-text-2xl));
	}
}
.tl-section__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	bottom: 0.15em;
	width: 5px;
	border-radius: var(--tl-radius-pill);
	background: linear-gradient(180deg, var(--tl-color-primary), var(--tl-color-accent));
}
.tl-section__view-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: var(--tl-text-sm);
	color: var(--tl-color-primary);
	white-space: nowrap;
}
.tl-section__items--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: var(--tl-space-5);
}
.tl-section__items--list {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-3);
}
@media (max-width: 782px) {
	.tl-section__items--grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: var(--tl-space-4);
	}
}
.tl-section__loadmore {
	display: flex;
	justify-content: center;
	margin-top: var(--tl-space-6);
}

/* =========================================================
   11. Post cards
   ========================================================= */
.tl-post-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4/3;
	overflow: hidden;
}
.tl-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tl-post-card__badge {
	position: absolute;
	top: var(--tl-space-3);
	left: var(--tl-space-3);
	background: var(--tl-color-primary);
	color: var(--tl-color-light);
	font-size: var(--tl-text-xs);
	font-weight: 700;
	padding: 0.3em 0.8em;
	border-radius: var(--tl-radius-pill);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
@media (max-width: 782px) {
	.tl-section__items--grid .tl-post-card__badge {
		display: none;
	}
	.tl-section__items--grid .tl-post-card__media {
		aspect-ratio: 4/3;
	}
	.tl-section__items--grid .tl-post-card__body {
		padding: var(--tl-space-3) var(--tl-space-3) var(--tl-space-4);
	}
	.tl-section__items--grid .tl-post-card__title {
		font-size: var(--tl-text-xs);
		line-height: 1.35;
		margin-bottom: var(--tl-space-1);
	}
	.tl-section__items--grid .tl-post-card__footer {
		margin-top: var(--tl-space-2);
	}
	.tl-section__items--grid .tl-post-card__meta {
		font-size: 11px;
		margin-bottom: var(--tl-space-2);
	}
	.tl-section__items--grid .tl-post-card__actions {
		padding-top: var(--tl-space-2);
		gap: var(--tl-space-1);
	}
	.tl-section__items--grid .tl-post-card__action {
		font-size: 11px;
		padding: 3px 4px;
	}
}
.tl-post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: var(--tl-space-5);
}
.tl-post-card--minimal .tl-post-card__body {
	padding-bottom: var(--tl-space-4);
}
.tl-post-card--minimal .tl-post-card__title {
	margin-bottom: 0;
	font-size: var(--tl-minimal-title-size-desktop);
}
.tl-post-card__title {
	margin: 0 0 var(--tl-space-2);
	font-size: var(--tl-text-lg);
	line-height: 1.3;
}
.tl-post-card__footer {
	margin-top: auto;
}
.tl-post-card__meta {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
	font-size: var(--tl-text-xs);
	color: var(--tl-color-text-muted);
	margin-bottom: var(--tl-space-3);
}
.tl-post-card__actions {
	display: flex;
	align-items: center;
	gap: var(--tl-space-2);
	border-top: 1px solid var(--tl-color-border);
	padding-top: var(--tl-space-3);
}
.tl-post-card__action {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: 0 0;
	border: none;
	color: var(--tl-color-text-muted);
	font-size: var(--tl-text-xs);
	font-weight: 600;
	padding: 4px 6px;
	border-radius: var(--tl-radius-sm);
	cursor: pointer;
}
.tl-post-card__action[aria-pressed="true"] {
	color: var(--tl-color-primary);
}
.tl-post-card__share-wrap {
	position: relative;
	margin-left: auto;
}
.tl-post-card__share-menu {
	position: absolute;
	bottom: 100%;
	right: 0;
	margin-bottom: 6px;
	background: var(--tl-color-bg);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-sm);
	box-shadow: var(--tl-shadow-md);
	padding: var(--tl-space-2);
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 160px;
	z-index: 20;
}
.tl-post-card__share-menu[hidden] {
	display: none;
}
.tl-post-card__share-menu a {
	padding: 6px 8px;
	border-radius: 6px;
	font-size: var(--tl-text-sm);
}
.tl-post-card__share-menu a:hover {
	background: var(--tl-color-surface);
}
.tl-post-card--slide {
	flex: 0 0 240px;
	scroll-snap-align: start;
}
@media (max-width: 782px) {
	.tl-post-card--slide {
		flex-basis: 190px;
	}
	.tl-post-card--slide .tl-post-card__media {
		aspect-ratio: 4/3;
	}
	.tl-post-card--slide .tl-post-card__body {
		padding: var(--tl-space-3) var(--tl-space-3) var(--tl-space-4);
	}
	.tl-post-card--slide .tl-post-card__title {
		font-size: var(--tl-text-sm);
		margin-bottom: var(--tl-space-1);
	}
}

/* =========================================================
   12. Homepage layout + sidebar
   ========================================================= */
.tl-homepage-layout {
	padding-block: var(--tl-space-6) var(--tl-space-10);
}
.tl-homepage-layout--with-sidebar {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--tl-space-8);
	align-items: start;
}
@media (min-width: 1024px) {
	.tl-homepage-layout--with-sidebar {
		grid-template-columns: 70fr 30fr;
	}
}
.tl-homepage-main {
	min-width: 0;
}
.tl-sidebar {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-6);
	min-width: 0;
}
@media (min-width: 1024px) {
	.tl-sidebar--sticky {
		position: sticky;
		top: calc(var(--tl-space-5) + 72px);
		width: 100%;
	}
}
.tl-widget-list--list {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-3);
}
.tl-widget-item {
	display: flex;
	align-items: var(--tl-widget-item-align, flex-start);
	gap: var(--tl-space-6);
	padding-bottom: var(--tl-space-6);
	border-bottom: 1px solid var(--tl-color-border);
}
.tl-sidebar .tl-widget-item {
	gap: var(--tl-space-3);
	padding-bottom: var(--tl-space-3);
}
.tl-widget-list--list .tl-widget-item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}
.tl-widget-item__media {
	flex: 0 0 auto;
	display: block;
	width: 90px;
	height: 90px;
	border-radius: var(--tl-radius-sm);
	overflow: hidden;
	background: var(--tl-color-bg);
}
.tl-widget-item--size-wide .tl-widget-item__media {
	width: 160px;
	height: 100px;
}
.tl-widget-item__media-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--tl-color-surface);
}
@media (max-width: 782px) {
	.tl-widget-item--mobile-size-medium .tl-widget-item__media {
		width: 90px;
		height: 90px;
		aspect-ratio: 1/1;
	}
	.tl-widget-item {
		gap: var(--tl-space-3);
	}
}
.tl-widget-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tl-widget-item__body {
	min-width: 0;
	flex: 1;
}
.tl-widget-item__title {
	font-weight: 800;
	font-size: var(--tl-compact-title-size-desktop, var(--tl-text-xl));
	line-height: 1.4;
	color: var(--tl-color-text);
	display: block;
}
.tl-sidebar .tl-widget-item__title {
	font-size: var(--tl-text-sm);
}
@media (max-width: 782px) {
	.tl-widget-item__title {
		font-size: var(--tl-compact-title-size-mobile, var(--tl-text-xl));
	}
}
.tl-widget-item__excerpt {
	font-size: var(--tl-text-sm);
	color: var(--tl-color-text-muted);
	margin: 4px 0 0;
	line-height: 1.5;
}
.tl-widget-item__meta {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: var(--tl-space-2);
	font-size: var(--tl-text-xs);
	color: var(--tl-color-text-muted);
}
.tl-widget-item__meta-icon {
	flex-shrink: 0;
	opacity: 0.7;
}
.tl-widget-item__byline {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: var(--tl-space-2);
}
.tl-widget-item__byline-group {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-right: auto;
}
.tl-widget-item__byline-label {
	font-size: var(--tl-text-xs);
	color: var(--tl-color-text-muted);
}
.tl-widget-item__author-name {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: var(--tl-text-xs);
	font-weight: 600;
	color: var(--tl-color-text-muted);
}
.tl-widget-item__bookmark,
.tl-widget-item__like {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: 0 0;
	border: none;
	color: var(--tl-color-text-muted);
	font-size: var(--tl-text-xs);
	font-weight: 600;
	padding: 4px;
	border-radius: var(--tl-radius-sm);
	cursor: pointer;
}

/* =========================================================
   13. Search page form + back to top
   ========================================================= */
.tl-search-page-form {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
	max-width: 560px;
	margin-bottom: var(--tl-space-6);
	padding: var(--tl-space-2) var(--tl-space-2) var(--tl-space-2) var(--tl-space-4);
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-pill);
}
.tl-search-page-form__input {
	flex: 1;
	min-width: 0;
	border: none;
	background: 0 0;
	font-size: var(--tl-text-sm);
	color: var(--tl-color-text);
	outline: 0;
}
.tl-search-page-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tl-color-primary);
	color: var(--tl-color-light);
	border: none;
	flex-shrink: 0;
	cursor: pointer;
}
@media (max-width: 782px) {
	.tl-search-page-form {
		max-width: 100%;
	}
}
.tl-mobile-homepage-search {
	margin-top: var(--tl-space-6);
}
.tl-mobile-homepage-search .tl-search-page-form {
	margin-bottom: 0;
}
.tl-back-to-top {
	position: fixed;
	right: var(--tl-space-5);
	bottom: var(--tl-space-5);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tl-color-primary);
	color: var(--tl-color-light);
	border: none;
	font-size: 18px;
	line-height: 1;
	box-shadow: var(--tl-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 80;
	cursor: pointer;
}
.tl-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
@media (max-width: 782px) {
	.tl-back-to-top {
		right: var(--tl-space-4);
		bottom: var(--tl-space-4);
		width: 40px;
		height: 40px;
	}
}

/* =========================================================
   14. Hot artists
   ========================================================= */
.tl-hot-artists {
	padding-block: var(--tl-space-8);
}
.tl-hot-artists__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--tl-space-4);
	margin-bottom: var(--tl-space-5);
}
.tl-hot-artists__title {
	margin: 0;
}
.tl-hot-artists__all-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: var(--tl-text-sm);
	color: var(--tl-color-primary);
	white-space: nowrap;
}
.tl-artist-avatar-card {
	flex: 0 0 110px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--tl-space-2);
	text-align: center;
	scroll-snap-align: start;
}
.tl-artist-avatar-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	overflow: hidden;
}
.tl-artist-avatar-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tl-artist-avatar-card__initial {
	width: 40px;
	height: 40px;
	color: var(--tl-color-text-muted);
}
.tl-artist-avatar-card__name {
	font-size: var(--tl-text-xs);
	font-weight: 700;
	line-height: 1.3;
}

/* =========================================================
   15. Footer
   ========================================================= */
.tl-site-footer {
	background: var(--tl-color-surface);
	border-top: 1px solid var(--tl-color-border);
	padding-block: var(--tl-space-8) var(--tl-space-6);
	margin-top: var(--tl-space-8);
}
.tl-footer-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--tl-space-6);
}
@media (min-width: 782px) {
	.tl-footer-columns {
		grid-template-columns: 1fr 1fr 1.4fr;
	}
}
.tl-footer-col__title {
	margin: 0 0 var(--tl-space-3);
	font-size: var(--tl-text-base);
}
.tl-footer-col__title--spaced {
	margin-top: var(--tl-space-2);
}
.tl-footer-social {
	display: flex;
	gap: var(--tl-space-2);
}
.tl-footer-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tl-color-light);
	border: 1px solid var(--tl-color-border);
	color: var(--tl-color-text);
}
.tl-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-2);
}
.tl-footer-nav a {
	font-size: var(--tl-text-sm);
	color: var(--tl-color-text-muted);
}
.tl-footer-tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tl-space-2);
}
.tl-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.4em 1em;
	border-radius: var(--tl-radius-pill);
	background: var(--tl-color-light);
	border: 1px solid var(--tl-color-border);
	font-size: var(--tl-text-xs);
	font-weight: 600;
}
.tl-pill--sm {
	font-size: 11px;
	padding: 0.35em 0.9em;
}
.tl-footer-bottom {
	margin-top: var(--tl-space-6);
	padding-top: var(--tl-space-5);
	border-top: 1px solid var(--tl-color-border);
}
.tl-footer-bottom__copyright {
	margin: 0;
	font-size: var(--tl-text-xs);
	color: var(--tl-color-text-muted);
}

/* =========================================================
   16. Single post: article header + byline
   ========================================================= */
.tl-article__badge {
	display: inline-block;
	margin-bottom: var(--tl-space-3);
	padding: 0.3em 0.9em;
	border-radius: var(--tl-radius-pill);
	background: var(--tl-color-primary);
	color: var(--tl-color-light);
	font-size: var(--tl-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.tl-article__title {
	margin-bottom: var(--tl-space-4);
}
.tl-article__byline {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
	padding-bottom: var(--tl-space-5);
	border-bottom: 1px solid var(--tl-color-border);
	margin-bottom: var(--tl-space-5);
}
.tl-article__author-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: block;
}
.tl-article__byline-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.tl-article__author-name {
	font-weight: 700;
	font-size: var(--tl-text-sm);
}
.tl-article__published {
	font-size: var(--tl-text-xs);
	color: var(--tl-color-text-muted);
}
.tl-article__published strong {
	font-weight: 600;
	margin-right: 4px;
}

/* =========================================================
   17. Single post: float actions + featured image + tabs
   ========================================================= */
.tl-single-body {
	display: flex;
	align-items: flex-start;
	gap: var(--tl-space-5);
}
.tl-single-body__content {
	flex: 1;
	min-width: 0;
}
.tl-float-actions {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--tl-space-2);
	padding: var(--tl-space-3) var(--tl-space-2);
	background: var(--tl-color-surface);
	border-radius: var(--tl-radius-pill);
	position: sticky;
	top: calc(var(--tl-space-5) + 72px);
}
.tl-float-actions__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tl-color-light);
	border: none;
	color: var(--tl-color-text-muted);
	font-size: 10px;
	cursor: pointer;
}
.tl-float-actions__item[aria-pressed="true"] {
	color: var(--tl-color-primary);
}
.tl-float-actions__divider {
	width: 24px;
	height: 1px;
	background: var(--tl-color-border);
	margin-block: 2px;
}
@media (max-width: 1023px) {
	.tl-single-body {
		flex-direction: column;
	}
	.tl-float-actions {
		flex-direction: row;
		position: static;
		width: 100%;
		justify-content: center;
		border-radius: var(--tl-radius-md);
	}
	.tl-float-actions__divider {
		width: 1px;
		height: 24px;
	}
}
.tl-article__thumbnail {
	margin: 0 0 var(--tl-space-5);
}
.tl-article__thumbnail img {
	width: 100%;
	border-radius: var(--tl-radius-lg);
}
.tl-article__thumbnail-caption {
	margin-top: var(--tl-space-2);
	font-size: var(--tl-text-xs);
	color: var(--tl-color-text-muted);
	text-align: center;
}
.tl-content-tabs__nav {
	display: flex;
	gap: var(--tl-space-2);
	border-bottom: 1px solid var(--tl-color-border);
	margin-bottom: var(--tl-space-5);
}
.tl-content-tabs__tab {
	padding: 0.7em 0.2em;
	margin-right: var(--tl-space-5);
	background: 0 0;
	border: none;
	border-bottom: 2px solid transparent;
	font-weight: 700;
	font-size: var(--tl-text-sm);
	color: var(--tl-color-text-muted);
	cursor: pointer;
}
.tl-content-tabs__tab.is-active {
	color: var(--tl-color-primary);
	border-bottom-color: var(--tl-color-primary);
}
.tl-content-tabs__panel {
	display: none;
}
.tl-content-tabs__panel.is-active {
	display: block;
}
.tl-content-tabs__loading {
	color: var(--tl-color-text-muted);
}
.tl-article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tl-space-2);
	margin-top: var(--tl-space-6);
}
.tl-article__bottom-share {
	margin-top: var(--tl-space-6);
	padding-top: var(--tl-space-5);
	border-top: 1px solid var(--tl-color-border);
}
.tl-share-icons-row {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
}
.tl-share-icons-row__label {
	font-weight: 700;
	font-size: var(--tl-text-sm);
	margin-right: var(--tl-space-1);
}
.tl-share-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	color: var(--tl-color-text);
	cursor: pointer;
}

/* =========================================================
   18. Post card: list variant (compact horizontal row)
   ========================================================= */
.tl-post-card--list {
	flex-direction: row;
	align-items: flex-start;
	gap: var(--tl-space-4);
	box-shadow: none;
	background: transparent;
	border-radius: 0;
	border-bottom: 1px solid var(--tl-color-border);
	padding-bottom: var(--tl-space-4);
	margin-bottom: var(--tl-space-4);
}
.tl-post-card--list:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.tl-post-card--list .tl-post-card__media {
	flex: 0 0 auto;
	width: 90px;
	height: 90px;
	aspect-ratio: auto;
	border-radius: var(--tl-radius-sm);
}
.tl-post-card--list .tl-post-card__body {
	padding: 0;
	flex: 1;
	justify-content: center;
}
.tl-post-card--list .tl-post-card__title {
	margin-bottom: 0;
	font-size: var(--tl-text-sm);
}

/* =========================================================
   19. Paged grid carousel (dots), used by the grid-layout
   widget and "More From Same Category" on mobile
   ========================================================= */
.tl-widget-carousel {
	position: relative;
	overflow: hidden;
	border-radius: var(--tl-radius-md);
	padding-bottom: var(--tl-space-8);
}
.tl-widget-carousel .tl-carousel-nav--prev {
	left: 8px;
}
.tl-widget-carousel .tl-carousel-nav--next {
	right: 8px;
}
.tl-widget-grid-slider-track {
	display: flex;
	transition: transform 0.3s ease;
}
.tl-widget-grid-slide {
	flex: 0 0 100%;
	min-width: 0;
	display: grid;
	gap: var(--tl-space-5);
}
.tl-carousel-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: var(--tl-space-2);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
}
.tl-carousel-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border-radius: 50%;
	background: var(--tl-color-border);
	border: none;
	cursor: pointer;
	transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}
.tl-carousel-dot.is-active {
	width: 20px;
	border-radius: var(--tl-radius-pill);
	background: var(--tl-color-primary);
}
.tl-single-after-content {
	margin-bottom: var(--tl-space-8);
	padding-bottom: var(--tl-space-8);
	border-bottom: 1px solid var(--tl-color-border);
}

/* =========================================================
   20. Comments
   ========================================================= */
.tl-comments {
	margin-top: var(--tl-space-8);
}
.tl-comments__title {
	margin-bottom: var(--tl-space-5);
}
.tl-comments__list {
	list-style: none;
	margin: 0 0 var(--tl-space-6);
	padding: 0;
}
.tl-comments__list li {
	padding: var(--tl-space-4) 0;
	border-bottom: 1px solid var(--tl-color-border);
}
.comment-reply-title {
	margin-bottom: var(--tl-space-4);
}
.tl-comment-form p {
	margin-bottom: var(--tl-space-4);
}
.tl-comment-form label {
	display: block;
	margin-bottom: var(--tl-space-2);
	font-weight: 600;
	font-size: var(--tl-text-sm);
}
.tl-comment-form input[type="text"],
.tl-comment-form input[type="email"],
.tl-comment-form input[type="url"],
.tl-comment-form__textarea {
	width: 100%;
	padding: 0.8em 1em;
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-sm);
	font-family: inherit;
	font-size: var(--tl-text-sm);
	background: var(--tl-color-surface);
}
.tl-comment-form__textarea {
	resize: vertical;
}
