/*--------------------------------------------------------------
# UltimaTube – Modern layout
# Header (logo / search / icons), pill menu, section title + sort pills,
# 4-column video grid, numbered pagination, centered footer.
# All rules are scoped to body.ut-modern so they win over style.css.
--------------------------------------------------------------*/

.ut-modern {
	--ut-container: 1150px;
	--ut-gutter: 15px;
	--ut-text: #111827;
	--ut-muted: #6b7280;
	--ut-border: #e5e7eb;
	--ut-border-strong: #d1d5db;
	--ut-soft: #f3f4f6;
	--ut-dark: #111111;
	--ut-pink: #db2777;
	--ut-pink-soft: #fdf2f8;
	--ut-pink-border: #f9a8d4;
	--ut-green: #16a34a;
	--ut-radius: 6px;
	--ut-gradient: linear-gradient(90deg, #60a5fa 0%, #a78bfa 45%, #f472b6 100%);
	--ut-cols: 4;
	--ut-gap-x: 10px;
	--ut-gap-y: 16px;
	background-color: #fff;
}

.ut-modern,
.ut-modern button,
.ut-modern input,
.ut-modern select,
.ut-modern textarea {
	font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	color: var(--ut-text);
}

.ut-modern.scroll-disabled {
	position: static;
}

/* Container ------------------------------------------------------------ */
.ut-modern .row {
	max-width: calc(var(--ut-container) + var(--ut-gutter) * 2);
	padding-left: var(--ut-gutter);
	padding-right: var(--ut-gutter);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.ut-modern .row .row {
	padding-left: 0;
	padding-right: 0;
}

.ut-modern .site-content,
.ut-modern .site-branding {
	background: transparent;
}

.ut-modern .archive-content {
	padding: 0 0 40px;
	background: transparent;
	float: none;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.ut-modern .ut-header {
	background: #fff;
	border-bottom: 1px solid var(--ut-border);
	position: relative;
	z-index: 1000;
}

.ut-modern .ut-header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 56px;
}

.ut-modern .ut-header .site-branding {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-height: 0;
	padding: 0;
	margin: 0;
	float: none;
	width: auto;
}

.ut-modern .ut-header .site-branding .logo {
	margin: 0;
	padding: 0;
	float: none;
	width: auto;
	text-align: left;
	line-height: 1;
}

.ut-modern .ut-header .site-title {
	margin: 0;
	line-height: 1;
	font-weight: 800;
}

.ut-modern .ut-header .site-title a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	white-space: nowrap;
}

.ut-modern .ut-header .site-title .ut-logo-text {
	background: var(--ut-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.ut-modern .ut-header .site-title a i {
	color: #a78bfa;
}

.ut-modern .ut-header .site-branding .logo img {
	display: block;
	width: auto;
	height: auto;
}

.ut-modern .ut-header p.site-description {
	margin: 4px 0 0;
	font-size: 12px;
	color: var(--ut-muted);
}

/* Search */
.ut-modern .ut-search {
	flex: 0 1 570px;
	width: 570px;
	max-width: 50%;
}

.ut-modern .ut-search-form {
	position: relative;
	margin: 0;
}

.ut-modern .ut-search-form input[name="s"] {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 14px 0 44px;
	font-size: 15px;
	color: var(--ut-text);
	background: var(--ut-soft);
	border: 1px solid var(--ut-border-strong);
	border-radius: var(--ut-radius);
	box-shadow: none;
	outline: none;
	box-sizing: border-box;
	float: none;
}

.ut-modern .ut-search-form input[name="s"]::placeholder {
	color: var(--ut-muted);
}

.ut-modern .ut-search-form input[name="s"]:focus {
	background: #fff;
	border-color: #9ca3af !important;
}

.ut-modern .ut-search-form .ut-search-submit,
.ut-modern .ut-search-form .ut-search-submit:hover {
	position: absolute;
	left: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 32px;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent !important;
	color: var(--ut-text);
	font-size: 16px;
	line-height: 32px;
	cursor: pointer;
	box-shadow: none;
}

/* Right icons */
.ut-modern .ut-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	flex: 1 1 auto;
}

.ut-modern .ut-icon-btn,
.ut-modern .ut-icon-btn:hover,
.ut-modern .ut-icon-btn:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent !important;
	color: var(--ut-text);
	font-size: 24px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
}

.ut-modern .ut-icon-btn:hover {
	background: var(--ut-soft) !important;
}

.ut-modern .ut-search-toggle {
	display: none;
	font-size: 20px;
}

.ut-modern .ut-user {
	position: relative;
}

.ut-modern .ut-user-btn img.avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: block;
}

.ut-modern .ut-user-menu {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 200px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ut-border);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	z-index: 1001;
}

.ut-modern .ut-user.is-open .ut-user-menu {
	display: block;
}

.ut-modern .ut-user-menu li {
	margin: 0;
	padding: 0;
}

.ut-modern .ut-user-menu .ut-user-name {
	padding: 6px 16px 10px;
	font-weight: 700;
	border-bottom: 1px solid var(--ut-border);
	margin-bottom: 6px;
}

.ut-modern .ut-user-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	color: var(--ut-text);
	font-size: 14px;
	text-decoration: none;
}

.ut-modern .ut-user-menu a:hover {
	background: var(--ut-soft);
}

.ut-modern .ut-user-menu a i {
	width: 16px;
	color: var(--ut-muted);
}

/*--------------------------------------------------------------
## Pill menu
--------------------------------------------------------------*/
.ut-modern .ut-pill-nav {
	padding-top: 10px;
	padding-bottom: 4px;
}

.ut-modern .ut-pill-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ut-modern .ut-pill-menu > li {
	margin: 0;
	padding: 0;
	float: none;
	flex: 0 0 auto;
	position: relative;
}

.ut-modern .ut-pill-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	color: var(--ut-text);
	background: #fff;
	border: 1.5px solid var(--ut-border-strong);
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ut-modern .ut-pill-menu > li > a:hover {
	background: var(--ut-soft);
	color: var(--ut-text);
}

.ut-modern .ut-pill-menu > li > a i.fa {
	font-size: 16px;
	margin: 0;
}

/* Active pill (current page) */
.ut-modern .ut-pill-menu > li.current-menu-item > a,
.ut-modern .ut-pill-menu > li.current_page_item > a,
.ut-modern .ut-pill-menu > li.current-menu-ancestor > a {
	background: var(--ut-dark);
	border-color: var(--ut-dark);
	color: #fff;
	border-bottom-color: var(--ut-dark) !important;
}

/* Highlighted pill: add the CSS class "menu-highlight" to a menu item
   (Appearance > Menus > Screen Options > CSS Classes).
   Without it, the last item of the menu is highlighted. */
.ut-modern .ut-pill-menu > li.menu-highlight > a,
.ut-modern .ut-pill-menu:not(:has(> li.menu-highlight)) > li:last-child:not(:first-child):not(.current-menu-item) > a {
	background: var(--ut-pink-soft);
	border-color: var(--ut-pink-border);
	color: var(--ut-pink);
}

.ut-modern .ut-pill-menu > li.menu-highlight > a:hover,
.ut-modern .ut-pill-menu:not(:has(> li.menu-highlight)) > li:last-child:not(:first-child):not(.current-menu-item) > a:hover {
	background: #fce7f3;
}

/*--------------------------------------------------------------
## Drawer (hamburger menu)
--------------------------------------------------------------*/
.ut-modern .ut-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 300px;
	max-width: 85vw;
	background: #fff;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
	transform: translateX(105%);
	transition: transform 0.25s ease;
	z-index: 100000;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.ut-modern.admin-bar .ut-drawer {
	top: 32px;
}

.ut-modern .ut-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	z-index: 99999;
}

.ut-modern.ut-drawer-open {
	overflow: hidden;
}

.ut-modern.ut-drawer-open .ut-drawer {
	transform: translateX(0);
}

.ut-modern.ut-drawer-open .ut-drawer-overlay {
	opacity: 1;
	visibility: visible;
}

.ut-modern .ut-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px 10px 20px;
	border-bottom: 1px solid var(--ut-border);
}

.ut-modern .ut-drawer-title {
	font-size: 16px;
	font-weight: 800;
}

.ut-modern .ut-drawer-close {
	font-size: 20px;
}

.ut-modern .ut-drawer-membership {
	display: flex;
	gap: 10px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--ut-border);
}

.ut-modern .ut-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}

.ut-modern .ut-btn-light {
	background: var(--ut-soft);
	color: var(--ut-text);
}

.ut-modern .ut-btn-dark {
	background: var(--ut-dark);
	color: #fff;
}

.ut-modern .ut-drawer-menu,
.ut-modern .ut-drawer-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ut-modern .ut-drawer-menu {
	padding: 8px 0;
}

.ut-modern .ut-drawer-menu li {
	position: relative;
	margin: 0;
}

.ut-modern .ut-drawer-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ut-text);
	text-decoration: none;
	border: 0 !important;
}

.ut-modern .ut-drawer-menu a:hover,
.ut-modern .ut-drawer-menu li.current-menu-item > a {
	background: var(--ut-soft);
}

.ut-modern .ut-drawer-menu .sub-menu {
	display: none;
	padding-left: 14px;
}

.ut-modern .ut-drawer-menu li.is-open > .sub-menu {
	display: block;
}

.ut-modern .ut-drawer-menu .sub-menu a {
	font-weight: 500;
	font-size: 14px;
	padding: 9px 20px;
}

.ut-modern .ut-sub-toggle,
.ut-modern .ut-sub-toggle:hover {
	position: absolute;
	right: 8px;
	top: 4px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: var(--ut-muted);
	font-size: 18px;
	cursor: pointer;
}

.ut-modern li.is-open > .ut-sub-toggle i {
	transform: rotate(180deg);
}

/*--------------------------------------------------------------
## Section title + sort pills
--------------------------------------------------------------*/
.ut-modern #primary {
	padding-top: 14px;
}

.ut-modern .page-header,
.ut-modern .ut-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}

.ut-modern .page-header > .archive-description {
	flex: 1 1 100%;
	order: 5;
}

.ut-modern .widget-title,
.ut-modern h1.widget-title,
.ut-modern h2.widget-title {
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ut-text);
	border: 0;
	box-shadow: none;
	background: none;
	text-transform: none;
}

.ut-modern .widget-title:before,
.ut-modern .widget-title:after {
	display: none;
}

.ut-modern .search-video-number {
	font-size: 14px;
	color: var(--ut-muted);
	margin: 0 auto 0 0;
}

.ut-modern .filters {
	margin: 0 0 0 auto;
	display: block;
	position: static;
	width: auto;
	float: none;
}

.ut-modern .filters .filter-title {
	display: none !important;
}

.ut-modern .filters .filters-list {
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px;
	position: static;
	width: auto;
	margin: 0;
	padding: 0;
	background: none;
	box-shadow: none;
	border: 0;
}

.ut-modern .filters .filters-list a,
.ut-modern .filters .filters-list a:first-child {
	display: inline-flex;
	align-items: center;
	height: 30px;
	margin: 0;
	padding: 0 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: var(--ut-text);
	background: #fff;
	border: 1px solid var(--ut-border-strong) !important;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	width: auto;
	float: none;
}

.ut-modern .filters .filters-list a:before,
.ut-modern .filters .filters-list a:after {
	content: none;
	display: none;
}

.ut-modern .filters .filters-list a:hover {
	background: var(--ut-soft);
	color: var(--ut-text);
}

.ut-modern .filters .filters-list a.active {
	background: var(--ut-dark);
	border-color: var(--ut-dark) !important;
	color: #fff;
}

/*--------------------------------------------------------------
## Video grid
--------------------------------------------------------------*/
.ut-modern .video-list-content,
.ut-modern .video-widget-container {
	min-height: 0;
	overflow: visible;
}

.ut-modern .videos-list {
	display: grid;
	grid-template-columns: repeat(var(--ut-cols), minmax(0, 1fr));
	gap: var(--ut-gap-y) var(--ut-gap-x);
	margin: 0;
	overflow: visible;
}

.ut-modern .videos-list:before,
.ut-modern .videos-list:after {
	content: none;
	display: none;
}

.ut-modern .with-aside .videos-list {
	--ut-cols: 3;
}

.ut-modern .videos-list .thumb-block,
.ut-modern .videos-list .thumb-block.full-width {
	width: auto !important;
	float: none;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	clear: none !important;
	overflow: visible;
}

.ut-modern .thumb-block > a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ut-modern .thumb-block .post-thumbnail {
	position: relative;
	border-radius: var(--ut-radius);
	overflow: hidden;
	background-color: #000;
	aspect-ratio: 16 / 9;
}

.ut-modern .thumb-block .post-thumbnail img,
.ut-modern .thumb-block .post-thumbnail video,
.ut-modern .thumb-block .post-thumbnail .wpst-trailer {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.ut-modern .thumb-block .post-thumbnail-container,
.ut-modern .thumb-block .post-thumbnail .no-thumb {
	height: 100% !important;
}

.ut-modern .thumb-block:hover .post-thumbnail img {
	transform: scale(1.03);
}

/* Badges */
.ut-modern .thumb-block span.hd-video,
.ut-modern .thumb-block:hover span.hd-video {
	position: absolute;
	top: 8px;
	left: 8px;
	right: auto;
	bottom: auto;
	z-index: 3;
	padding: 3px 6px;
	font-size: 11px;
	font-weight: 800;
	font-style: normal;
	line-height: 1;
	letter-spacing: 0.3px;
	color: #fff;
	background: #ec4899 !important;
	border-radius: 4px;
}

.ut-modern .thumb-block span.duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	left: auto;
	top: auto;
	z-index: 3;
	height: auto;
	padding: 4px 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: rgba(0, 0, 0, 0.78);
	border-radius: 4px;
}

/* Title + meta */
.ut-modern .thumb-block .entry-header {
	height: auto;
	padding: 8px 0 0;
	font-weight: 400;
	overflow: visible;
	color: var(--ut-text);
}

.ut-modern .thumb-block .title,
.ut-modern .thumb-block span.title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: none;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ut-text);
}

.ut-modern .thumb-block:hover span.title {
	color: var(--ut-text);
	text-decoration: underline;
}

.ut-modern .thumb-block .under-thumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	margin-top: 4px;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--ut-muted);
}

.ut-modern .thumb-block .views,
.ut-modern .thumb-block .rating,
.ut-modern .thumb-block .date {
	margin: 0;
	font-size: 12.5px;
	font-weight: 400;
	white-space: nowrap;
}

.ut-modern .thumb-block .views {
	color: var(--ut-muted);
}

.ut-modern .thumb-block .views i {
	margin-right: 4px;
}

.ut-modern .thumb-block .rating {
	color: var(--ut-green);
}

.ut-modern .thumb-block .rating i {
	margin-right: 4px;
}

.ut-modern .thumb-block .date {
	color: var(--ut-muted);
}

/* Listing ad: shown above the grid instead of floating over it */
.ut-modern .video-list-content.with-happy,
.ut-modern .video-widget-container.with-happy {
	display: flex;
	flex-direction: column;
}

.ut-modern .video-list-content.with-happy .video-archive-ad,
.ut-modern .video-widget-container.with-happy .video-archive-ad {
	order: -1;
	position: static;
	width: auto;
	height: auto !important;
	margin: 0 0 16px;
	display: flex;
	justify-content: center;
	background: none;
}

/* Homepage widgets spacing */
.ut-modern .archive-content .widget {
	margin: 0 0 28px;
}

.ut-modern .archive-content .widget .more-videos {
	float: right;
}

/*--------------------------------------------------------------
## Pagination
--------------------------------------------------------------*/
.ut-modern .pagination {
	display: block;
	clear: both;
	margin: 26px 0 0;
}

.ut-modern .pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	overflow: visible;
	list-style: none;
}

.ut-modern .pagination ul li {
	float: none;
	margin: 0;
	display: block;
}

.ut-modern .pagination ul li a,
.ut-modern .pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 34px;
	padding: 0 10px;
	box-sizing: border-box;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: var(--ut-text);
	background-color: #e9e9ec !important;
	border: 0;
	border-radius: 4px;
	text-decoration: none;
}

.ut-modern .pagination ul li a:hover {
	background-color: #d9dadf !important;
	color: var(--ut-text);
}

.ut-modern .pagination ul li a.current,
.ut-modern .pagination ul li a.current:hover {
	background-color: var(--ut-dark) !important;
	color: #fff;
}

.ut-modern .pagination ul li.pagination-dots span {
	cursor: default;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.ut-modern .footer-widget-zone {
	background: #fafafa;
	border-top: 1px solid var(--ut-border);
	padding: 30px 0 10px;
	margin-top: 50px;
}

.ut-modern .ut-footer {
	clear: both;
	width: 100%;
	margin-top: 56px;
	padding: 28px 0 34px;
	background: #fff;
	border-top: 1px solid var(--ut-border);
	text-align: center;
}

.ut-modern .footer-widget-zone + .ut-footer {
	margin-top: 0;
}

.ut-modern .ut-footer:before,
.ut-modern .ut-footer:after {
	content: none;
}

.ut-modern .ut-footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.ut-modern .ut-footer-heading {
	margin: 0;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	background: linear-gradient(90deg, #7c3aed 0%, #c026d3 55%, #db2777 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.ut-modern .ut-footer .footer-menu-container ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ut-modern .ut-footer .footer-menu-container ul li {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.ut-modern .ut-footer .footer-menu-container ul li + li:before {
	content: '';
	width: 4px;
	height: 4px;
	margin: 0 12px;
	border-radius: 50%;
	background: #8b5cf6;
}

.ut-modern .ut-footer .footer-menu-container a {
	font-size: 14px;
	font-weight: 400;
	color: var(--ut-text);
	text-decoration: none;
}

.ut-modern .ut-footer .footer-menu-container a:hover {
	text-decoration: underline;
}

.ut-modern .ut-footer .site-info {
	margin: 0;
	font-size: 13px;
	color: var(--ut-muted);
}

.ut-modern .ut-footer .site-info a {
	color: var(--ut-muted);
}

.ut-modern .ut-footer .social-share {
	margin: 4px 0 0;
}

/* Back to top */
.ut-modern #back-to-top {
	width: 40px;
	height: 40px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: var(--ut-dark) !important;
	color: #fff;
	right: 24px;
	bottom: 24px;
}

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

/* Large tablets / small laptops: 3 columns */
@media (max-width: 1199.98px) {
	.ut-modern {
		--ut-cols: 3;
	}

	.ut-modern .with-aside .videos-list {
		--ut-cols: 2;
	}
}

/* Tablets */
@media (max-width: 991.98px) {
	.ut-modern .ut-header-inner {
		gap: 14px;
	}

	.ut-modern .ut-search {
		flex: 1 1 auto;
		max-width: none;
		width: auto;
	}

	.ut-modern .ut-header .site-branding,
	.ut-modern .ut-header-actions {
		flex: 0 0 auto;
	}

	.ut-modern .with-aside {
		margin-left: 0;
	}
}

/* Phones: logo + icons, search drops below the header */
@media (max-width: 767.98px) {
	.ut-modern {
		--ut-cols: 2;
		--ut-gap-x: 10px;
		--ut-gap-y: 14px;
		--ut-gutter: 12px;
	}

	.ut-modern .ut-header-inner {
		flex-wrap: wrap;
		min-height: 52px;
		gap: 0 8px;
	}

	.ut-modern .ut-header .site-branding {
		flex: 1 1 auto;
	}

	.ut-modern .ut-header .site-title {
		font-size: 24px;
	}

	.ut-modern .ut-search-toggle {
		display: inline-flex;
	}

	.ut-modern .ut-icon-btn {
		font-size: 22px;
		width: 36px;
		height: 36px;
	}

	.ut-modern .ut-search {
		display: none;
		order: 10;
		flex: 1 1 100%;
		max-width: none;
		width: 100%;
		padding: 0 0 10px;
	}

	.ut-modern.ut-search-open .ut-search {
		display: block;
	}

	/* Pills scroll sideways instead of wrapping */
	.ut-modern .ut-pill-nav {
		padding-left: 0;
		padding-right: 0;
	}

	.ut-modern .ut-pill-menu {
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 8px;
		padding: 0 var(--ut-gutter) 4px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.ut-modern .ut-pill-menu::-webkit-scrollbar {
		display: none;
	}

	.ut-modern .ut-pill-menu > li > a {
		height: 34px;
		padding: 0 13px;
		font-size: 14px;
	}

	.ut-modern .page-header,
	.ut-modern .ut-section-head {
		align-items: flex-start;
	}

	.ut-modern .widget-title,
	.ut-modern h1.widget-title,
	.ut-modern h2.widget-title {
		font-size: 17px;
	}

	.ut-modern .filters {
		margin: 0;
		width: 100%;
		max-width: 100%;
	}

	.ut-modern .filters .filters-list {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.ut-modern .filters .filters-list::-webkit-scrollbar {
		display: none;
	}

	.ut-modern .thumb-block .title,
	.ut-modern .thumb-block span.title {
		font-size: 13px;
	}

	.ut-modern .thumb-block .under-thumb,
	.ut-modern .thumb-block .views,
	.ut-modern .thumb-block .rating,
	.ut-modern .thumb-block .date {
		font-size: 12px;
	}

	.ut-modern .ut-footer-heading {
		font-size: 19px;
	}

	.ut-modern .archive-aside {
		display: none;
	}
}

/* Small phones: honour "Videos per row on mobile = 1" */
@media (max-width: 575.98px) {
	.ut-modern .videos-list:has(> .thumb-block.full-width) {
		--ut-cols: 1;
	}

	.ut-modern .pagination ul li a,
	.ut-modern .pagination ul li span {
		min-width: 32px;
		height: 32px;
		font-size: 14px;
	}
}

@media screen and (max-width: 782px) {
	.ut-modern.admin-bar .ut-drawer {
		top: 46px;
	}
}

/* Menu icons (outline icon + emoji) */
.ut-modern .ut-menu-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	display: block;
}

.ut-modern .ut-menu-emoji {
	font-size: 17px;
	line-height: 1;
	font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

.ut-modern .ut-pill-menu > li > a {
	gap: 10px;
}

.ut-modern .ut-pill-menu > li > a .ut-menu-icon + .ut-menu-emoji {
	margin-left: 4px;
}

.ut-modern .ut-drawer-menu .ut-menu-icon {
	width: 18px;
	height: 18px;
	color: var(--ut-muted);
}

@media (max-width: 767.98px) {
	.ut-modern .ut-menu-icon {
		width: 18px;
		height: 18px;
	}

	.ut-modern .ut-menu-emoji {
		font-size: 15px;
	}
}

/*--------------------------------------------------------------
## Video page: Pornstars / Categories / Tag rows + description
--------------------------------------------------------------*/
.ut-modern .video-tags {
	margin: 18px 0 0;
	padding: 0;
	border: 0;
}

.ut-modern .ut-meta-rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ut-modern .ut-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ut-modern .ut-meta-label {
	margin-right: 4px;
	font-size: 15px;
	color: var(--ut-muted);
}

.ut-modern .video-tags a.ut-chip,
.ut-modern .video-tags a.ut-chip:hover,
.ut-modern .video-tags a.ut-chip:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	margin: 0;
	padding: 0 14px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: var(--ut-text);
	background-color: #eeeef1 !important;
	border: 1.5px solid transparent;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
}

.ut-modern .video-tags a.ut-chip:hover {
	background-color: #e2e2e7 !important;
}

.ut-modern .video-tags a.ut-chip i {
	display: none;
}

.ut-modern .video-tags a.ut-chip-actor,
.ut-modern .video-tags a.ut-chip-actor:hover {
	height: 40px;
	padding: 0 16px 0 4px;
	background-color: #fff !important;
	border-color: #ec4899;
}

.ut-modern .video-tags a.ut-chip-actor:hover {
	background-color: var(--ut-pink-soft) !important;
}

.ut-modern .ut-actor-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	object-fit: cover;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	background: #e5e7eb;
	color: var(--ut-muted);
	font-size: 14px;
}

.ut-modern .video-tags a.ut-chip-actor .ut-actor-avatar i {
	display: inline-block;
}

/* Description */
.ut-modern .video-description {
	margin: 22px 0 0;
}

.ut-modern .video-description .desc,
.ut-modern .video-description .desc p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ut-text);
}

.ut-modern .video-description .desc p {
	margin: 0 0 0.8em;
}

.ut-modern .video-description .ut-desc-clamp {
	position: relative;
	overflow: hidden;
}

.ut-modern .video-description .ut-desc-clamp.is-collapsed {
	max-height: 4.4em;
}

.ut-modern .video-description .ut-desc-clamp.is-collapsed:after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2.2em;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
}

.ut-modern .ut-desc-toggle,
.ut-modern .ut-desc-toggle:hover,
.ut-modern .ut-desc-toggle:focus {
	display: inline-block;
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	background: none !important;
	color: #db2777;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: none;
}

.ut-modern .ut-desc-toggle:hover {
	text-decoration: underline;
}

@media (max-width: 767.98px) {
	.ut-modern .ut-meta-label,
	.ut-modern .video-tags a.ut-chip {
		font-size: 14px;
	}

	.ut-modern .video-tags a.ut-chip {
		height: 32px;
		padding: 0 12px;
	}

	.ut-modern .video-description .desc,
	.ut-modern .video-description .desc p,
	.ut-modern .ut-desc-toggle {
		font-size: 15px;
	}
}

/* Video page area on white background */
.ut-modern .video-player-area {
	background: transparent;
}

.ut-modern .video-player-area .video-infos {
	padding: 16px 0 6px;
}

.ut-modern .video-player-area .video-infos h1 {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
}

.ut-modern .video-player-area .video-tags {
	padding: 0;
	overflow: visible;
}

.ut-modern .video-player-area .video-description {
	padding: 0;
}

.ut-modern .video-player-area .video-description p {
	text-align: left;
}
