/*
Theme Name: Xporn Reference
Author: Freebuff
Description: A premium, fast WordPress classic theme for curated video libraries and WP-Script importer fields.
Version: 1.7.7
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: xporn-reference
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * Consolidated design tokens. The theme previously shipped three stacked
 * design passes (base, dark editorial polish, final light overrides); this
 * file is the single merged result with the final winning values only.
 */
:root {
  color-scheme: light;
  --xporn-red: #e0625d;
  --xporn-red-dark: #b94449;
  --xporn-black: #1c1a1b;
  --xporn-text: #443d3f;
  --xporn-muted: #807477;
  --xporn-soft: #f6f2f1;
  --xporn-line: #e7dedb;
  --xporn-line-dark: #d3c5c1;
  --xporn-white: #fffdfb;
  --xporn-width: 1440px;
  --xporn-sidebar: 236px;
  --xporn-radius: 14px;
  --xporn-shadow: 0 14px 34px rgba(44, 28, 32, .09);
  --xporn-shadow-hover: 0 24px 52px rgba(35, 20, 25, .17);
  --xporn-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --xporn-desktop-gutter: clamp(60px, 5vw, 80px);
}

/* Base reset and typography */
html {
  background: var(--xporn-white);
  color: var(--xporn-text);
  font-size: 100%;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Keep anchor and keyboard-focus targets clear of the sticky header. */
:where(h1, h2, h3, h4, h5, h6, [id]) {
  scroll-margin-top: 96px;
}

/* Remove the mobile double-tap zoom delay and make taps feel intentional. */
button,
a,
input,
select,
textarea,
label {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(224, 98, 93, .22);
}

html,
body {
  background: #f8f4f2;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #f8f4f2;
  color: var(--xporn-text);
  font-family: var(--xporn-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video,
iframe,
object,
embed {
  max-width: 100%;
  vertical-align: middle;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  border-radius: var(--xporn-radius);
}

button {
  color: inherit;
}

p,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

ul,
ol {
  padding-left: 0;
  list-style: none;
}

a {
  color: var(--xporn-red);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

a:hover,
a:focus {
  color: var(--xporn-red-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(217, 47, 67, .28);
  outline-offset: 2px;
}

::selection {
  background: var(--xporn-red);
  color: var(--xporn-white);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reveal the skip link when a keyboard user tabs to it. */
.skip-link.screen-reader-text:focus {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border-radius: 8px;
  background: var(--xporn-red);
  color: var(--xporn-white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

/* Shared page frame */
.container,
.center-hold,
.header-inner,
.navigation,
.content,
.footer-wrap {
  width: calc(100% - (var(--xporn-desktop-gutter) * 2));
  margin-right: auto;
  margin-left: auto;
}

.container {
  position: relative;
}

.content {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: 64px;
}

/* Unified header shell: one warm, rounded container for the logo, search,
   primary menu, and account actions. */
.site-header {
  width: calc(100% - (var(--xporn-desktop-gutter) * 2));
  margin: 20px auto 0;
}

.site-header-shell {
  position: relative;
  overflow: visible;
  border: 1px solid var(--xporn-line);
  border-radius: 22px;
  background: var(--xporn-white);
  box-shadow: 0 12px 30px rgba(38, 24, 29, .07);
}

.site-header-shell > .header,
.site-header-shell > nav {
  border: 0;
  background: transparent;
}

.site-header-shell > .header {
  border-radius: 22px 22px 0 0;
}

.site-header-shell > nav {
  border-top: 1px solid var(--xporn-line);
  border-radius: 0 0 22px 22px;
}

.site-header-shell .header-inner,
.site-header-shell nav .navigation {
  width: calc(100% - 48px);
}

/* Header and search */
.header {
  border-bottom: 1px solid var(--xporn-line);
  background: var(--xporn-white);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 18px;
}

.logo {
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 220px);
}

.site-title,
.custom-logo-link {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  color: var(--xporn-black);
}

.site-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.site-title:hover,
.site-title:focus,
.custom-logo-link:hover,
.custom-logo-link:focus {
  color: var(--xporn-red-dark);
}

.custom-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 62px;
  height: auto;
}

.search {
  flex: 0 1 300px;
  min-width: 0;
  width: min(100%, 300px);
  margin-left: auto;
}

.search,
.search form,
.search-text,
.search-text input {
  min-width: 0;
}

.search form {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  margin: 0;
  border-radius: 999px;
}

.search-text {
  width: 100%;
}

.search-text input {
  display: block;
  width: 100%;
  height: 32px;
  padding: 0 56px 0 14px;
  border: 1px solid var(--xporn-line-dark);
  border-radius: 999px;
  background: var(--xporn-soft);
  color: var(--xporn-black);
  font-size: 12px;
  line-height: 32px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.search-text input::placeholder {
  color: var(--xporn-muted);
}

.search-text input:hover,
.search-text input:focus {
  border-color: var(--xporn-red);
  background: var(--xporn-white);
  box-shadow: 0 0 0 3px rgba(224, 98, 93, .10);
  outline: 0;
}

/* Search pill button. The `.search .search-button` form wins over the generic
   form-submit rule; `#search_form` variants remove native rectangular styling. */
.search .search-button,
#search_form button.search-button,
.search form button.search-button {
  position: absolute;
  top: 50%;
  right: 3px;
  z-index: 1;
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  width: 48px;
  min-width: 48px;
  height: calc(100% - 6px);
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  transform: translateY(-50%);
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--xporn-red);
  background-clip: padding-box;
  box-shadow: 0 6px 12px rgba(224, 98, 93, .28);
  color: var(--xporn-white);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  overflow: hidden;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}

.search .search-button:hover,
.search .search-button:focus {
  background: var(--xporn-red-dark);
  color: var(--xporn-white);
}

.show_search {
  display: none;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
}

/* Primary navigation */
nav {
  border-bottom: 1px solid var(--xporn-line);
  background: var(--xporn-white);
}

nav .navigation {
  display: flex;
  min-height: 52px;
  align-items: center;
}

.navigation .button {
  display: none;
  padding: 10px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.navigation .primary {
  display: flex;
  width: auto;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0;
}

.navigation .primary > li {
  position: relative;
}

.navigation .primary > li > a {
  display: block;
  padding: 18px 17px 16px;
  border-bottom: 3px solid transparent;
  color: var(--xporn-black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.navigation .primary > li:first-child > a {
  padding-left: 0;
}

.navigation .primary > li > a:hover,
.navigation .primary > li > a:focus,
.navigation .primary > li.current-menu-item > a,
.navigation .primary > li.current_page_item > a {
  border-bottom-color: var(--xporn-red);
  color: var(--xporn-red);
}

.navigation .primary li ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: none;
  min-width: 190px;
  margin: 0;
  padding: 6px 0;
  border: 1px solid var(--xporn-line);
  border-radius: 0 0 var(--xporn-radius) var(--xporn-radius);
  background: var(--xporn-white);
  box-shadow: var(--xporn-shadow);
}

.navigation .primary li:hover > ul,
.navigation .primary li:focus-within > ul {
  display: block;
}

.navigation .primary li ul li {
  position: relative;
}

.navigation .primary li ul a {
  display: block;
  padding: 10px 14px;
  color: var(--xporn-black);
  font-size: 13px;
  white-space: nowrap;
}

.navigation .primary li ul a:hover,
.navigation .primary li ul a:focus {
  background: var(--xporn-soft);
  color: var(--xporn-red);
}

.navigation .primary li ul ul {
  top: -7px;
  left: 100%;
}

.ico-bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--xporn-black);
}

/* Mobile-only auxiliary links */
.hide-desktop {
  display: none;
}

.mobilenav {
  background: var(--xporn-white);
}

.mobilenav .navigation {
  width: 100%;
}

.listmobile {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 0;
  padding: 10px 0;
  scrollbar-width: none;
}

.listmobile::-webkit-scrollbar {
  display: none;
}

.listmobile a {
  display: block;
  padding: 7px 11px;
  border: 1px solid var(--xporn-line-dark);
  border-radius: 3px;
  background: var(--xporn-soft);
  color: var(--xporn-text);
  font-size: 12px;
  white-space: nowrap;
}

.listmobile a:hover,
.listmobile a:focus {
  border-color: var(--xporn-red);
  background: var(--xporn-red);
  color: var(--xporn-white);
}

/* Account actions (logged-in menu / login-signup pill) */
.menu-auth {
  flex: 0 0 auto;
  margin-left: auto;
}

.member-links ul {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.menu-auth ul.auth-pill {
  display: flex;
  width: auto;
  max-width: 100%;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.menu-auth ul.auth-pill li,
.menu-auth ul.auth-pill li:last-child {
  border: 0;
}

.menu-auth ul.auth-pill li + li {
  border-left: 1px solid var(--xporn-line);
}

.menu-auth ul.auth-pill a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--xporn-line);
  border-radius: 999px;
  background: var(--xporn-soft);
  color: var(--xporn-red-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  white-space: nowrap;
}

.menu-auth ul.auth-pill a:hover,
.menu-auth ul.auth-pill a:focus {
  border-color: var(--xporn-red);
  background: var(--xporn-red);
  color: var(--xporn-white);
}

/* Main two-column layout */
.main-content {
  display: grid;
  grid-template-columns: var(--xporn-sidebar) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

/* Single videos: taxonomy rail | player | fixed-width ad rail. Explicit
   grid-column placement keeps the right-rail ads-sidebar in column 2 and the
   player in column 1; the <=700px flex-column rule below re-stacks them. */
.main-content.single-video-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(22px, 3vw, 38px);
}

.main-content.single-video-layout > .single-taxonomy-sidebar {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 22px 18px 24px 0;
  border-right: 1px solid var(--xporn-line);
  border-left: 0;
}

.main-content.single-video-layout > .main-container {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.main-content.single-video-layout > .ads-sidebar {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 300px;
  min-width: 0;
  padding: 22px 0 24px 22px;
  border-right: 0;
  border-left: 1px solid var(--xporn-line);
}

.main-container {
  min-width: 0;
}

.sidebar {
  min-width: 0;
  padding: 22px 24px 24px 0;
  border-right: 0;
}

.sidebar .headline,
.main-container .headline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
}

.headline-accent {
  display: block;
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: var(--xporn-red);
  box-shadow: 0 3px 10px rgba(224, 98, 93, .28);
}

.headline h1,
.headline h2,
.main-container > h1 {
  margin: 0;
  color: var(--xporn-black);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.25;
}

.sidebar .headline h2 {
  color: var(--xporn-black);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sidebar .headline h2 a {
  color: var(--xporn-black);
}

.sidebar .headline h2 a:hover,
.sidebar .headline h2 a:focus {
  color: var(--xporn-red);
}

.sidebar .list {
  margin: 0 0 32px;
}

.sidebar .list li {
  border-bottom: 1px solid var(--xporn-line);
}

.sidebar .list li a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  color: var(--xporn-text);
  font-size: 12px;
  line-height: 1.35;
  transition: padding-left .18s ease, color .18s ease;
}

.sidebar .list li a:hover,
.sidebar .list li a:focus {
  padding-left: 6px;
  color: var(--xporn-red);
}

.sidebar .rating,
.rating,
.views {
  color: var(--xporn-muted);
  font-size: 11px;
}

/* Topic rail */
.menu-container {
  position: relative;
  overflow: hidden;
  margin: 0 0 26px;
  border: 0;
}

.tag-scroller,
.tag-scroller .scroll-container,
.tag-scroller .menu,
.tag-scroller .menu a {
  border: 0 !important;
}

.scroll-container {
  overflow-x: auto;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.menu {
  display: flex;
  width: max-content;
  gap: 8px;
  margin: 0;
  padding: 0 0 14px;
  white-space: nowrap;
}

.menu a {
  display: block;
  padding: 8px 13px;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(224, 98, 93, .08);
  color: var(--xporn-red-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.2;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.menu a:hover,
.menu a:focus {
  border: 0 !important;
  background: var(--xporn-red);
  color: var(--xporn-white);
  transform: translateY(-1px);
}

.scroll-button {
  position: absolute;
  top: 0;
  bottom: 14px;
  width: 36px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8f4f2 60%, rgba(248, 244, 242, 0));
  color: var(--xporn-red);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.scroll-button:hover,
.scroll-button:focus {
  background: var(--xporn-soft);
  color: var(--xporn-red-dark);
}

.scroll-left {
  left: 0;
}

.scroll-right {
  right: 0;
  background: linear-gradient(270deg, #f8f4f2 60%, rgba(248, 244, 242, 0));
}

/* Video cards */
.box {
  margin-bottom: 32px;
}

.list-videos .margin-fix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 20px;
}

.list-videos .item {
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: 300px 270px;
}

.item .img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #e9dfdc;
  box-shadow: 0 10px 24px rgba(38, 24, 29, .10);
  isolation: isolate;
  transition: box-shadow .24s ease, transform .24s ease;
}

.item:hover .img {
  box-shadow: var(--xporn-shadow-hover);
  transform: translateY(-5px);
}

.item .img > a {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.item .img > a .thumb,
.item .img > a .thumb-placeholder {
  pointer-events: auto;
}

.item .img > a .duration {
  pointer-events: none;
}

.item .thumb,
.item .thumb-placeholder {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.item .thumb {
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), filter .35s ease, opacity .2s ease;
}

.item:hover .thumb {
  filter: brightness(.82) saturate(1.06);
  transform: scale(1.045);
}

.thumb-placeholder {
  background: linear-gradient(135deg, #eeeeee, #dddddd);
}

.preview-video,
.preview-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.preview-slideshow {
  z-index: 2;
}

.img.preview-active .preview-video,
.img.preview-active .preview-slideshow {
  opacity: 1;
}

.img.preview-active .thumb {
  opacity: 0;
}

.item .duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: rgba(23, 19, 22, .78);
  color: var(--xporn-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  pointer-events: none;
}

.preview-play {
  position: absolute;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  z-index: 4;
  display: grid !important;
  visibility: visible !important;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 50%;
  background: rgba(224, 98, 93, .94);
  box-shadow: 0 10px 22px rgba(25, 12, 17, .30);
  color: var(--xporn-white);
  cursor: pointer;
  opacity: .96 !important;
  transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}

.play-triangle {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
}

.preview-play:hover,
.preview-play:focus-visible,
.preview-play[aria-pressed="true"] {
  background: #f1786d;
  box-shadow: 0 13px 28px rgba(25, 12, 17, .38);
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}

.img.preview-active .preview-play {
  opacity: .32 !important;
}

.video-overlay {
  pointer-events: none;
}

.item .title {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 13px;
  color: var(--xporn-black);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.item .title:hover,
.item .title:focus {
  color: var(--xporn-red-dark);
}

.item .wrap {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  color: var(--xporn-muted);
  font-size: 11px;
  letter-spacing: .02em;
  line-height: 1.25;
}

.item .rating.positive {
  color: var(--xporn-red-dark);
  font-weight: 700;
}

.item .is-hd {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 7px;
  border-radius: 5px;
  background: var(--xporn-red);
  color: var(--xporn-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .10em;
  line-height: 1;
}

.item .ico-fav-0,
.item .ico-fav-1 {
  position: absolute;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 19, 22, .74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--xporn-white);
  cursor: pointer;
  opacity: 0;
  transition: opacity .18s ease, background-color .18s ease, transform .18s ease;
}

.item .ico-fav-0 {
  top: 10px;
}

.item .ico-fav-1 {
  top: 48px;
}

.item:hover .ico-fav-0,
.item:hover .ico-fav-1,
.item .ico-fav-0.is-active,
.item .ico-fav-1.is-active,
.item .ico-fav-0:focus-visible,
.item .ico-fav-1:focus-visible {
  opacity: 1;
}

.item .ico-fav-0:hover,
.item .ico-fav-1:hover,
.item .ico-fav-0.is-active,
.item .ico-fav-1.is-active {
  background: var(--xporn-red);
  transform: scale(1.06);
}

.item .ico-fav-0::before,
.item .ico-fav-1::before {
  display: grid;
  height: 100%;
  place-items: center;
  color: currentColor;
  font-size: 17px;
  line-height: 1;
}

.item .ico-fav-0::before {
  content: "♡";
}

.item .ico-fav-1::before {
  content: "◷";
  font-size: 16px;
}

/* Pagination: strip every visual boundary from the wrapper regardless of which
   class combination WordPress emits (`pagination`, `navigation pagination`,
   `pagination--bare`, or class swaps from the templates' str_replace). */
.pagination {
  display: flex;
  width: auto;
  max-width: 100%;
  min-height: 0;
  justify-content: center;
  margin: 28px auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pagination ul,
.pagination .nav-links {
  display: flex;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pagination li {
  display: block;
  margin: 0;
  padding: 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--xporn-white);
  box-shadow: 0 4px 13px rgba(38, 24, 29, .05);
  color: var(--xporn-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.pagination .prev,
.pagination .next {
  min-width: 82px;
}

.pagination a:hover,
.pagination a:focus,
.pagination .current {
  border-color: var(--xporn-red);
  background: var(--xporn-red);
  color: var(--xporn-white);
  box-shadow: 0 8px 18px rgba(224, 98, 93, .24);
}

/* The bare pagination class emitted by both archive and homepage renderers. */
nav.pagination.pagination--bare,
nav.navigation.pagination.pagination--bare,
.pagination.pagination--bare,
.pagination--bare {
  display: flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 28px auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.pagination--bare ul,
.pagination--bare .nav-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pagination--bare a,
.pagination--bare span {
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.pagination--bare a:hover,
.pagination--bare a:focus,
.pagination--bare .current {
  background: var(--xporn-red) !important;
  color: var(--xporn-white) !important;
}

/* Text and entry content */
.text,
.entry-content {
  color: var(--xporn-text);
  font-size: 14px;
  line-height: 1.75;
}

p.text {
  margin-bottom: 16px;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content img,
.entry-content video,
.entry-content iframe {
  max-width: 100%;
}

/* Single-video player and controls */
.single-video .headline {
  margin-bottom: 20px;
}

.single-video .headline h1 {
  max-width: 850px;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -.055em;
}

.xporn-player {
  width: 100%;
  margin-bottom: 22px;
  border: 0;
  border-radius: 16px;
  background: #eee6e3 !important;
  box-shadow: 0 14px 32px rgba(38, 24, 29, .10);
  overflow: hidden;
}

.xporn-player video,
.xporn-player iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent !important;
}

.xporn-player-embed {
  max-width: 100%;
}

.xporn-player-embed iframe {
  min-height: 0;
}

.xporn-player-embed-fluid {
  aspect-ratio: 16 / 9;
  background: #eee6e3;
}

.xporn-player-embed-fluid iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.xporn-player-native video {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: transparent;
}

.xporn-player-empty {
  display: grid;
  min-height: 150px;
  padding: 25px;
  place-items: center;
  background: var(--xporn-soft);
  color: var(--xporn-muted);
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 0 0 28px;
  padding: 13px;
  border: 1px solid var(--xporn-line);
  border-radius: 12px;
  background: rgba(255, 253, 250, .76);
  box-shadow: 0 7px 18px rgba(38, 24, 29, .04);
  color: var(--xporn-muted);
  font-size: 12px;
}

.video-meta > span {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--xporn-soft);
}

.video-meta button {
  padding: 8px 12px;
  border: 1px solid var(--xporn-line-dark);
  border-radius: 8px;
  background: var(--xporn-white);
  color: var(--xporn-black);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.video-meta button:hover,
.video-meta button:focus,
.video-meta button.is-active,
[data-vote]:hover,
[data-vote]:focus,
[data-vote].is-active,
[data-subscribe-to]:hover,
[data-subscribe-to]:focus,
[data-subscribe-to].is-active,
[data-unsubscribe-to]:hover,
[data-unsubscribe-to]:focus,
[data-unsubscribe-to].is-active {
  border-color: var(--xporn-red);
  background: rgba(224, 98, 93, .09);
  color: var(--xporn-red-dark);
  transform: translateY(-1px);
}

[data-vote],
[data-subscribe-to],
[data-unsubscribe-to] {
  cursor: pointer;
}

.single-favorite span {
  font-size: 11px;
}

/* Single taxonomy box */
.single-taxonomies {
  display: grid;
  gap: 8px;
  margin: 26px 0 32px;
  padding: 18px 20px;
  border: 1px solid var(--xporn-line);
  border-left: 4px solid var(--xporn-red);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 253, 250, .72);
  box-shadow: 0 7px 18px rgba(38, 24, 29, .04);
  color: var(--xporn-muted);
  font-size: 12px;
}

.single-taxonomy strong {
  margin-right: 5px;
  color: var(--xporn-black);
}

.single-taxonomy a {
  color: var(--xporn-red);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(224, 98, 93, .35);
  text-underline-offset: 3px;
}

/* Forms and WordPress comments */
form p {
  margin-bottom: 16px;
}

form label {
  display: block;
  margin-bottom: 6px;
  color: var(--xporn-black);
  font-size: 13px;
  font-weight: 600;
}

form .textfield,
form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea,
form select {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--xporn-line-dark);
  background: var(--xporn-white);
  color: var(--xporn-black);
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form .textfield:hover,
form .textfield:focus,
form input:hover,
form input:focus,
form textarea:hover,
form textarea:focus,
form select:hover,
form select:focus {
  border-color: var(--xporn-red);
  outline: 0;
}

form .submit,
form input[type="submit"],
form button[type="submit"] {
  min-width: 112px;
  padding: 10px 16px;
  border: 0;
  border-radius: 3px;
  background: var(--xporn-red);
  color: var(--xporn-white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

form .submit:hover,
form .submit:focus,
form input[type="submit"]:hover,
form input[type="submit"]:focus,
form button[type="submit"]:hover,
form button[type="submit"]:focus {
  background: var(--xporn-red-dark);
  color: var(--xporn-white);
}

.block-comments {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--xporn-line);
}

.block-comments .headline {
  color: var(--xporn-black);
  font-size: 18px;
  font-weight: 700;
}

.comment-list {
  margin: 20px 0 28px;
}

.comment-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--xporn-line);
}

.comment-list .comment-meta {
  margin-bottom: 8px;
  color: var(--xporn-muted);
  font-size: 12px;
}

/* Empty/error states */
.xporn-empty,
.page-error {
  padding: 42px 24px;
  border: 1px solid var(--xporn-line);
  border-radius: 3px;
  background: var(--xporn-soft);
  text-align: center;
}

.xporn-empty h2,
.page-error + .headline h1 {
  margin-bottom: 8px;
  color: var(--xporn-black);
}

.page-error {
  margin-bottom: 20px;
  background: var(--xporn-white);
  color: var(--xporn-red);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

/* Login/signup dialogs */
.xporn-modal {
  position: fixed;
  inset: 0;
  z-index: 8050;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 12vh 20px 30px;
  background: rgba(23, 19, 22, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.xporn-modal.is-open {
  display: flex;
}

.xporn-modal-inner {
  position: relative;
  width: min(100%, 440px);
  padding: 30px;
  border: 1px solid rgba(224, 98, 93, .22);
  border-radius: 16px;
  background: var(--xporn-white);
  box-shadow: 0 28px 70px rgba(17, 10, 14, .28);
}

.xporn-modal-inner h2 {
  margin-bottom: 22px;
  color: var(--xporn-black);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.xporn-modal-close {
  position: absolute;
  top: 9px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--xporn-muted);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.xporn-modal-close:hover,
.xporn-modal-close:focus {
  color: var(--xporn-red);
}

/* Age verification */
html.xporn-age-locked,
html.xporn-age-locked body {
  overflow: hidden;
}

.xporn-age-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  overflow-y: auto;
  padding: 24px;
  place-items: center;
  background: linear-gradient(135deg, rgba(23, 19, 22, .97), rgba(48, 27, 36, .97));
}

.age-box-wrapper {
  width: min(100%, 540px);
}

.age-box {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(224, 98, 93, .28);
  border-radius: 18px;
  background: var(--xporn-white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
  text-align: center;
}

.age-box::before {
  position: absolute;
  top: -130px;
  right: -100px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 98, 93, .20), transparent 68%);
  content: "";
  pointer-events: none;
}

.age-header {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 0;
}

.age-title {
  margin: 0;
  color: var(--xporn-black);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.045em;
}

.age-text {
  color: var(--xporn-text);
  font-size: 13px;
  line-height: 1.7;
}

.age-footer {
  position: relative;
  margin: 24px 0;
  padding: 16px;
  border-radius: 10px;
  background: var(--xporn-soft);
}

.age-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.age-toggle-label {
  color: var(--xporn-black);
  font-size: 12px;
  font-weight: 600;
}

.age-toggle-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  margin: 0;
}

.age-toggle-switch input {
  width: 1px;
  height: 1px;
  opacity: 0;
}

.age-slider {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #cccccc;
  cursor: pointer;
  transition: background-color .18s ease;
}

.age-slider::before {
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--xporn-white);
  content: "";
  transition: transform .18s ease;
}

.age-toggle-switch input:checked + .age-slider {
  background: var(--xporn-red);
}

.age-toggle-switch input:checked + .age-slider::before {
  transform: translateX(18px);
}

.age-buttons {
  position: relative;
  display: grid;
  gap: 10px;
}

.age-btn {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--xporn-red);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.age-confirm {
  background: var(--xporn-red);
  color: var(--xporn-white);
}

.age-confirm:hover,
.age-confirm:focus {
  background: var(--xporn-red-dark);
}

.age-deny {
  background: var(--xporn-white);
  color: var(--xporn-red);
}

.age-deny:hover,
.age-deny:focus {
  background: var(--xporn-soft);
}

.disclaimer {
  position: relative;
  margin-top: 20px;
  color: var(--xporn-muted);
  font-size: 11px;
}

/* Footer */
.footer-margin {
  display: none;
}

.footer {
  margin-top: 24px;
  padding: 28px 0 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-wrap {
  width: calc(100% - (var(--xporn-desktop-gutter) * 2));
  max-width: var(--xporn-width);
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 48px);
  border: 1px solid var(--xporn-line);
  border-radius: 22px;
  background: rgba(255, 253, 250, .78);
  box-shadow: 0 12px 28px rgba(38, 24, 29, .06);
  text-align: center;
}

.footer .nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 24px;
}

.footer .nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--xporn-line);
  border-radius: 999px;
  background: var(--xporn-white);
  box-shadow: 0 4px 12px rgba(38, 24, 29, .04);
  color: var(--xporn-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.footer .nav a:hover,
.footer .nav a:focus {
  border-color: var(--xporn-red);
  background: var(--xporn-red);
  box-shadow: 0 8px 18px rgba(224, 98, 93, .22);
  color: var(--xporn-white);
  transform: translateY(-1px);
}

.footer .copyright,
.footer .txt {
  color: var(--xporn-muted);
  font-size: 11px;
  line-height: 1.7;
}

.footer .copyright {
  font-size: 12px;
  font-weight: 600;
}

.footer .copyright a {
  color: var(--xporn-red-dark);
  font-weight: 800;
}

.footer .txt {
  max-width: 760px;
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.7;
}

/* Ads sidebar */
.ads-sidebar .widget,
.ads-sidebar .ad-placeholder {
  width: 100%;
  max-width: 300px;
  margin: 0 0 22px;
}

.ad-placeholder {
  display: grid;
  min-height: 250px;
  padding: 20px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed var(--xporn-line-dark);
  border-radius: var(--xporn-radius);
  background: var(--xporn-soft);
  color: var(--xporn-muted);
  text-align: center;
}

.ad-placeholder strong {
  color: var(--xporn-black);
}

.ad-placeholder span {
  font-size: 11px;
  line-height: 1.5;
}

/* Rounded site chrome and controls: no visual square corners in the primary
   frame, search, footer, sidebars, widgets, or pagination controls. */
.container > .header,
.container > nav:not(.pagination),
.footer,
.footer .nav a,
.ads-sidebar .widget,
.ad-placeholder,
.single-taxonomy-sidebar,
.video-meta,
.xporn-player,
.single-taxonomies {
  border-radius: var(--xporn-radius);
}

.container > .header,
.container > nav:not(.pagination) {
  overflow: visible;
}

/* Keep listing content close to the footer instead of leaving a large empty
   band below the final row of cards. */
body.home .content,
body.front-page .content,
body.blog .content,
body.archive .content,
body.search .content,
body.category .content,
body.tag .content,
body[class*="tax-"] .content {
  padding-bottom: 24px;
}

body.home .pagination--bare,
body.front-page .pagination--bare,
body.blog .pagination--bare,
body.archive .pagination--bare,
body.search .pagination--bare,
body.category .pagination--bare,
body.tag .pagination--bare,
body[class*="tax-"] .pagination--bare {
  margin-bottom: 8px !important;
}

body.home .footer,
body.front-page .footer,
body.blog .footer,
body.archive .footer,
body.search .footer,
body.category .footer,
body.tag .footer,
body[class*="tax-"] .footer {
  margin-top: 0;
  padding-top: 12px;
}

/* Responsive layout */
@media (max-width: 1200px) and (min-width: 701px) {
  .list-videos .margin-fix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .main-content.single-video-layout {
    grid-template-columns: minmax(170px, 205px) minmax(0, 1fr) minmax(220px, 270px);
    gap: 22px;
  }

  .main-content.single-video-layout > .single-taxonomy-sidebar {
    padding-right: 14px;
  }

  .main-content.single-video-layout > .ads-sidebar {
    padding-left: 14px;
  }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .main-content.single-video-layout {
    grid-template-columns: minmax(170px, 205px) minmax(0, 1fr) minmax(220px, 270px);
    gap: 22px;
  }

  .main-content.single-video-layout > .single-taxonomy-sidebar {
    padding-right: 14px;
  }

  .main-content.single-video-layout > .ads-sidebar {
    padding-left: 14px;
  }
}

@media (min-width: 1101px) {
  .main-content.single-video-layout {
    grid-template-columns: minmax(180px, 236px) minmax(0, 1fr) minmax(240px, 300px);
    gap: clamp(22px, 3vw, 38px);
    align-items: start;
  }

  .main-content.single-video-layout > .single-taxonomy-sidebar {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 22px 18px 24px 0;
    border-right: 1px solid var(--xporn-line);
    border-left: 0;
  }

  .main-content.single-video-layout > .main-container {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 0;
  }

  .main-content.single-video-layout > .ads-sidebar {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 22px 0 24px 22px;
    border-right: 0;
    border-left: 1px solid var(--xporn-line);
  }

  .ads-sidebar .widget,
  .ads-sidebar .ad-placeholder {
    width: 100%;
    max-width: 300px;
    margin: 0 0 22px;
  }
}

@media (max-width: 980px) {
  .header-inner {
    gap: 22px;
  }

  .logo {
    flex-basis: 180px;
  }

  .site-title {
    font-size: 26px;
  }

  .custom-logo {
    max-height: 54px;
  }

  .main-content {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 28px;
  }

  .list-videos .margin-fix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .container,
  .center-hold,
  .header-inner,
  .navigation,
  .content,
  .footer-wrap {
    width: min(100% - 28px, var(--xporn-width));
  }

  .container {
    --xporn-desktop-gutter: 14px;
  }

  .site-header {
    width: calc(100% - 28px);
    margin-top: 12px;
  }

  .site-header-shell,
  .site-header-shell > .header,
  .site-header-shell > nav {
    border-radius: 16px;
  }

  .site-header-shell > nav {
    border-top: 1px solid var(--xporn-line);
    border-radius: 0;
  }

  .site-header-shell .header-inner,
  .site-header-shell nav .navigation {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 60px;
    gap: 8px;
  }

  .logo {
    flex: 1 1 auto;
  }

  .site-title {
    font-size: 23px;
  }

  .custom-logo {
    max-height: 48px;
  }

  .search {
    flex: 0 0 32px;
    width: 32px;
    max-width: 32px;
  }

  .show_search {
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }

  .show_search::before {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #f18a7f;
    content: "⌕";
    font-size: 23px;
    line-height: 1;
  }

  .search form {
    width: 0;
    overflow: hidden;
    transition: width .2s ease;
  }

  .show_search.open + .search,
  .search:focus-within {
    flex-basis: min(250px, calc(100vw - 92px));
    width: min(250px, calc(100vw - 92px));
    max-width: min(250px, calc(100vw - 92px));
  }

  .show_search.open + .search form,
  .search:focus-within form {
    width: 100%;
  }

  .search-text input {
    height: 34px;
    padding-right: 50px;
    font-size: 12px;
    line-height: 34px;
  }

  .search .search-button,
  #search_form button.search-button,
  .search form button.search-button {
    width: 34px;
    min-width: 34px;
    height: calc(100% - 4px);
    padding: 0;
    font-size: 0;
  }

  .search .search-button::after {
    content: "⌕";
    font-size: 16px;
  }

  nav .navigation {
    width: min(100% - 28px, var(--xporn-width));
  }

  .navigation .button {
    display: block;
    flex: 0 0 30px;
    margin-right: 12px;
  }

  .navigation .primary {
    display: none;
    width: 100%;
    flex: 0 0 100%;
  }

  .navigation.is-open {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .navigation.is-open .primary {
    display: block;
    order: 2;
  }

  .navigation .primary > li,
  .navigation .primary > li > a {
    width: 100%;
  }

  .navigation .primary > li:first-child > a,
  .navigation .primary > li > a {
    padding: 11px 0;
  }

  .navigation .primary li ul {
    position: static;
    min-width: 0;
    padding: 0 0 0 15px;
    border: 0;
    box-shadow: none;
  }

  .navigation .primary li:hover > ul,
  .navigation .primary li:focus-within > ul {
    display: block;
  }

  .site-header-shell .navigation:not(.is-open) .menu-auth {
    display: none;
  }

  .site-header-shell .navigation.is-open .menu-auth {
    display: block;
    width: 100%;
    order: 3;
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--xporn-line);
  }

  .site-header-shell .navigation.is-open .menu-auth ul {
    justify-content: flex-end;
  }

  .menu-auth ul.auth-pill a {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .hide-desktop {
    display: block;
    border-top: 1px solid var(--xporn-line);
    background: transparent;
  }

  .site-header-shell .mobilenav .navigation {
    width: 100%;
  }

  .listmobile {
    padding: 8px 0;
  }

  .main-content {
    display: block;
    padding-bottom: 34px;
  }

  .main-content.single-video-layout {
    display: flex;
    flex-direction: column;
  }

  .main-content.single-video-layout > .single-taxonomy-sidebar,
  .main-content.single-video-layout > .main-container,
  .main-content.single-video-layout > .ads-sidebar {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .main-content.single-video-layout > .single-taxonomy-sidebar {
    order: 1;
    padding: 28px 0;
    margin-bottom: 28px;
    border-top: 1px solid var(--xporn-line);
    border-right: 0;
    border-left: 0;
  }

  .main-content.single-video-layout > .main-container {
    order: 2;
  }

  .main-content.single-video-layout > .ads-sidebar {
    order: 3;
    padding: 28px 0 0;
    margin-top: 34px;
    border-top: 1px solid var(--xporn-line);
    border-right: 0;
    border-left: 0;
  }

  .ads-sidebar .widget,
  .ads-sidebar .ad-placeholder,
  .ads-sidebar iframe,
  .ads-sidebar embed,
  .ads-sidebar img,
  .ads-sidebar video {
    max-width: 100%;
    height: auto;
  }

  .ads-sidebar .ad-placeholder {
    min-height: 180px;
  }

  .sidebar {
    display: none;
  }

  .content {
    padding-top: 22px;
    padding-bottom: 38px;
  }

  .menu-container {
    margin-bottom: 22px;
  }

  .headline h1,
  .headline h2,
  .main-container > h1 {
    font-size: 19px;
  }

  .xporn-player video,
  .xporn-player iframe {
    min-height: 0;
  }

  .preview-play {
    width: 44px;
    height: 44px;
  }

  .item .img {
    border-radius: 12px;
  }

  .video-meta {
    padding: 10px;
  }

  .container > .header,
  .container > nav:not(.pagination),
  .footer {
    border-radius: 16px;
  }

  .footer {
    margin-top: 12px;
    padding: 16px 0 24px;
  }

  .footer-wrap {
    width: calc(100% - 28px);
    padding: 24px 16px;
    border-radius: 16px;
  }

  .footer .nav {
    gap: 8px;
    margin-bottom: 20px;
  }

  .footer .nav a {
    padding: 8px 11px;
    font-size: 11px;
  }
}

@media (max-width: 460px) {
  .member-links li a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .header-inner {
    min-height: 62px;
  }

  .site-title {
    font-size: 20px;
  }

  .custom-logo {
    max-height: 42px;
  }

  .list-videos .margin-fix {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .item .title {
    font-size: 14px;
  }

  .age-box {
    padding: 24px 18px;
  }

  .age-title {
    font-size: 20px;
  }
}

@media (hover: none), (pointer: coarse) {
  .item .ico-fav-0,
  .item .ico-fav-1 {
    opacity: .96;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .item:hover .img,
  .item:hover .thumb,
  .tag-scroller .menu a:hover,
  .video-meta button:hover {
    transform: none;
  }
}

/* Single videos without any category/tag terms: the taxonomy sidebar is
   omitted, so collapse the layout to player + ads with no empty left rail. */
.main-content.single-video-layout.no-taxonomy-sidebar {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
}

.main-content.single-video-layout.no-taxonomy-sidebar > .main-container {
  grid-column: 1;
  grid-row: 1;
}

.main-content.single-video-layout.no-taxonomy-sidebar > .ads-sidebar {
  grid-column: 2;
  grid-row: 1;
}
