/*
 * Hub preset (modern, mobile-first).
 * Most layout is controlled by CSS variables injected by functions.php:
 * --dp-grid-cols-desktop, --dp-grid-cols-tablet, --dp-grid-cols-mobile
 */

/* Base */
body.dp-skin-hub {
  background:
    radial-gradient(1100px 420px at 25% 0%, rgba(var(--dp-accent-rgb, 255,154,31),0.10), transparent 62%),
    radial-gradient(900px 360px at 85% 10%, rgba(255,255,255,0.06), transparent 60%),
    #0b0b0b;
  color: #e9e9e9;
  text-shadow: none;
  min-width: 0; /* override legacy min-width:960px */
}

body.dp-skin-hub a { color: inherit; }
body.dp-skin-hub a:hover { color: var(--dp-accent, #ff9a1f); text-decoration: none; }

/* Headings: keep readable on dark UI (Pornhub-like) */
body.dp-skin-hub h1,
body.dp-skin-hub h2,
body.dp-skin-hub h3,
body.dp-skin-hub h4,
body.dp-skin-hub h5,
body.dp-skin-hub h6 {
  color: #fff;
}

/* Display font for hub UI headings/buttons (client request) */
body.dp-skin-hub {
  --dp-display-font: "Century Gothic", "CenturyGothic", AppleGothic, "URW Gothic L", sans-serif;
  /* Card corner system (defaults = rounded). Admin option toggles body class. */
  --dp-corner-lg: 12px;
  --dp-corner-md: 10px;
  --dp-corner-sm: 6px;
}

body.dp-skin-hub.dp-corners-square {
  --dp-corner-lg: 6px;
  --dp-corner-md: 6px;
  --dp-corner-sm: 4px;
}

/* Apply corner system to the main "card" surfaces (hub preset only). */
body.dp-skin-hub .dp-single-box,
body.dp-skin-hub .dp-content-box,
body.dp-skin-hub .section-box.related-posts,
body.dp-skin-hub #comments,
body.dp-skin-hub #respond,
body.dp-skin-hub .comment-div,
body.dp-skin-hub #sidebar .widget,
body.dp-skin-hub #sidebar .widget .widget-header,
body.dp-skin-hub .dp-cat-card-media,
body.dp-skin-hub .item,
body.dp-skin-hub .item .thumb,
body.dp-skin-hub .item .thumb img {
  border-radius: var(--dp-corner-lg) !important;
}

/* Smaller corner radius for small UI chips/buttons where applicable */
body.dp-skin-hub .dp-chip,
body.dp-skin-hub .comment-reply-link,
body.dp-skin-hub #respond .form-submit input#submit,
body.dp-skin-hub #respond .form-submit input[type="submit"] {
  border-radius: var(--dp-corner-sm) !important;
}

/* Reduce heavy chrome */
body.dp-skin-hub #page { background: transparent; }
body.dp-skin-hub.boxed-wrap #page {
  width: auto; /* override legacy fixed 990px */
  max-width: 1320px;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
}
body.dp-skin-hub .wrap {
  max-width: none; /* allow full-width layouts */
  width: 100%;
  padding: 0 22px; /* use side space, but keep a small gutter */
  box-sizing: border-box;
}

/* Full width: let hub layout expand and "use" the side space on wide screens. */
body.dp-skin-hub:not(.boxed-wrap) #page {
  max-width: none;
}
body.dp-skin-hub:not(.boxed-wrap) .wrap {
  max-width: none;
  width: 100%;
}

/* Layout: prevent fixed-width legacy floats from overlapping in "full width" contexts */
body.dp-skin-hub #main {
  background: transparent;
  border-top: 0;
  padding: 22px 0;
}

body.dp-skin-hub #main .wrap {
  display: flex;
  gap: 8px;       /* spacing between content and sidebar */
  align-items: flex-start;
  padding: 0;     /* remove global .wrap side padding for main layout */
}

/* Full-width layout: keep header/footer edge-to-edge, but add small content gutters. */
body.dp-skin-hub:not(.boxed-wrap) #main .wrap {
  padding-left: 16px;
  padding-right: 16px;
}

/* Header banner ad slot (below nav) */
body.dp-skin-hub .dp-ad-header-banner {
  margin: 14px 0 0;
}

body.dp-skin-hub .dp-ad-header-banner .wrap {
  padding: 0 22px;
}
@media (max-width: 600px) {
  body.dp-skin-hub .dp-ad-header-banner .wrap { padding: 0 14px; }
}

body.dp-skin-hub .dp-ad-header-banner .dp-ad-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  padding: 6px;
}

body.dp-skin-hub .dp-ad-header-banner .dp-ad-card img,
body.dp-skin-hub .dp-ad-header-banner .dp-ad-card iframe,
body.dp-skin-hub .dp-ad-header-banner .dp-ad-card video {
  max-width: 100%;
}
body.dp-skin-hub .dp-ad-header-banner .dp-ad-card img {
  display: block;
  height: auto;
}

/* Ad slots: show as cards in hub preset (header/video/comments etc.) */
body.dp-skin-hub .dp-ad {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  padding: 6px;
  margin: 12px 0;
}

/* Full-width ad slots (outside #main) need side gutters */
body.dp-skin-hub > .dp-ad.dp-ad-header,
body.dp-skin-hub > .dp-ad.dp-ad-after-nav,
body.dp-skin-hub > .dp-ad.dp-ad-footer {
  margin-left: 22px;
  margin-right: 22px;
}
@media (max-width: 600px) {
  body.dp-skin-hub > .dp-ad.dp-ad-header,
  body.dp-skin-hub > .dp-ad.dp-ad-after-nav,
  body.dp-skin-hub > .dp-ad.dp-ad-footer {
    margin-left: 14px;
    margin-right: 14px;
  }
}

body.dp-skin-hub .dp-ad iframe,
body.dp-skin-hub .dp-ad img,
body.dp-skin-hub .dp-ad video {
  max-width: 100%;
}
body.dp-skin-hub .dp-ad img {
  display: block;
  height: auto;
}

/* Main content box (like sidebar widgets) */
body.dp-skin-hub .dp-content-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}

body.dp-skin-hub .dp-content-box-header {
  background: var(--dp-accent, #ff9a1f);
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding: 0;
}

body.dp-skin-hub .dp-content-box-title {
  margin: 0;
  font-family: var(--dp-display-font);
  height: 38px;
  line-height: 38px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}

body.dp-skin-hub .dp-content-box-body {
  padding: 6px; /* small gutter inside the box */
}

@media (max-width: 600px) {
  body.dp-skin-hub .dp-content-box-title {
    height: 36px;
    line-height: 36px;
    font-size: 12.5px;
  }
}

/* Tighten loop-actions/nav spacing inside the content box */
body.dp-skin-hub .dp-content-box .loop-actions {
  margin: 0 0 10px;
}
body.dp-skin-hub .dp-content-box .loop-nav.pag-nav {
  padding-top: 14px;
}

body.dp-skin-hub #content {
  float: none;
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

body.dp-skin-hub #sidebar {
  float: none;
  width: 300px;
  flex: 0 0 300px;
}

@media (max-width: 900px) {
  body.dp-skin-hub #main .wrap {
    flex-direction: column;
    gap: 12px;
    padding: 0 14px; /* keep a small gutter on small screens */
  }
  body.dp-skin-hub #sidebar {
    width: auto;
    flex: 0 0 auto;
  }
}

/* Header */
body.dp-skin-hub #header {
  background: #161515;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Footer: match hub "card" language instead of legacy white footer */
body.dp-skin-hub #footer {
  background: transparent; /* override legacy #FFF */
  border-top: 0;
  padding: 16px 0 18px;
}

body.dp-skin-hub #footer #footbar .wrap,
body.dp-skin-hub #footer #colophon .wrap {
  position: relative;
  --dp-footer-pad-x: 18px;
  --dp-footer-pad-y: 16px;
  background: rgba(255,255,255,0.03); /* no decorative gradients; match header/nav vibe */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: var(--dp-footer-pad-y) var(--dp-footer-pad-x);
  box-shadow:
    0 18px 42px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: none;
}

body.dp-skin-hub #footer #footbar .wrap::before,
body.dp-skin-hub #footer #colophon .wrap::before { display: none; }

@media (max-width: 600px) {
  body.dp-skin-hub #footer #footbar .wrap,
  body.dp-skin-hub #footer #colophon .wrap {
    --dp-footer-pad-x: 12px;
    --dp-footer-pad-y: 12px;
    padding: var(--dp-footer-pad-y) var(--dp-footer-pad-x);
  }
}

body.dp-skin-hub #colophon {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  line-height: 1.55;
}

body.dp-skin-hub #colophon a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}
body.dp-skin-hub #colophon a:hover {
  color: rgb(var(--dp-accent-rgb));
}

body.dp-skin-hub #footer-nav {
  /* Make the whole header-area "belong" to the metallic menu bar */
  margin:
    calc(-1 * var(--dp-footer-pad-y))
    calc(-1 * var(--dp-footer-pad-x))
    0;
  padding: 0;
  /* Match header (#main-nav) metallic strip */
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 55%, #1d1d1d 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Footer nav: same metallic bar language as header nav */
body.dp-skin-hub #footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%; /* fill the whole footer bar like #main-nav (avoid side gaps) */
  gap: 0;
  row-gap: 1px; /* if it wraps, keep rows tight without a big gap */
  align-items: stretch;
  overflow: hidden;
  border-radius: 0; /* same as header nav */
  background: transparent; /* background lives on #footer-nav */
  border: 0;
  box-shadow: none;
}

body.dp-skin-hub #footer-nav li {
  margin: 0;
  padding: 0;
  display: flex;
}

body.dp-skin-hub #footer-nav li a {
  float: none;
  display: block;
  line-height: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 0;
  position: relative;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease;
  align-self: stretch;
  text-decoration: none;
}

body.dp-skin-hub #footer-nav li:first-child a {
  border-left: 1px solid rgba(255,255,255,0.10);
}

body.dp-skin-hub #footer-nav li a:hover {
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.38));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

body.dp-skin-hub #footer-nav li a:active {
  background: linear-gradient(180deg, rgba(0,0,0,0.40), rgba(0,0,0,0.62));
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.55);
}

body.dp-skin-hub #footer-nav li a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--dp-accent-rgb, 255,154,31), 0.35);
}

body.dp-skin-hub #footer-nav li.current-menu-item > a,
body.dp-skin-hub #footer-nav li.current_page_item > a {
  background: linear-gradient(180deg, rgba(0,0,0,0.40), rgba(0,0,0,0.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  color: #fff;
}

body.dp-skin-hub #footer-nav li.current-menu-item > a::before,
body.dp-skin-hub #footer-nav li.current_page_item > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: rgba(var(--dp-accent-rgb, 255,154,31), 1);
}

@media (max-width: 600px) {
  body.dp-skin-hub #footer-nav li a {
    height: 44px;
    line-height: 44px;
    padding: 0 14px;
  }
}

body.dp-skin-hub #copyright,
body.dp-skin-hub #credits {
  display: block; /* long texts read better stacked on hub */
  margin: 8px 0 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
}

/* Huge footer text: improve readability */
body.dp-skin-hub #copyright {
  line-height: 1.75;
  max-width: 1100px;
}
@media (min-width: 1100px) {
  body.dp-skin-hub #copyright {
    column-count: 2;
    column-gap: 26px;
  }
}

/* Subtle separators between blocks */
body.dp-skin-hub #footer-nav {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

/* Header padding: keep logo/search inset, but remove the legacy top gap */
body.dp-skin-hub #header .wrap {
  padding: 0 22px;
}
@media (max-width: 600px) {
  body.dp-skin-hub #header .wrap {
    padding: 0 14px;
  }
}

/* Main area: remove legacy top padding so content starts immediately under nav */
body.dp-skin-hub #main {
  padding-top: 20px; /* space between nav and content */
  background: transparent;
  border-top: 0;
}

/* Single content: put the "main" area into a card container */
body.dp-skin-hub .dp-single-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 12px;
}

body.dp-skin-hub .dp-single-box > .entry-header {
  margin: 0;
  padding: 0;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

body.dp-skin-hub .dp-single-box > .entry-header .inner,
body.dp-skin-hub .dp-single-box .wall .entry-header {
  margin: 0;
  border-bottom: 0 !important;
  padding: 12px 14px 10px;
}

body.dp-skin-hub .dp-single-box > div[id^="post-"],
body.dp-skin-hub .dp-single-box.post {
  padding: 0 14px 14px;
}

/* Video player in card */
body.dp-skin-hub .dp-single-box #video {
  margin: 0;
  padding: 14px 0 0;
}
body.dp-skin-hub .dp-single-box #video .screen {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

/* Details block should not look like a second nested box */
body.dp-skin-hub .dp-single-box #details.section-box {
  margin: 0;
  background: transparent;
  border: 0;
  padding-top: 5px; /* non-video single template: pushes date/meta down from header divider */
}

body.dp-skin-hub .dp-single-box #details > .entry-meta,
body.dp-skin-hub .dp-single-box #details .entry-meta {
  padding-top: 5px;
}
body.dp-skin-hub .dp-single-box #details .section-content {
  padding: 10px 0 0;
}

/* Single meta row (date/edit): give breathing room under header bar */
body.dp-skin-hub .dp-single-box #info .entry-meta {
  margin-top: 5px !important;
}

/* Ensure the whole info block starts lower under title bar */
body.dp-skin-hub .dp-single-box #info {
  padding-top: 5px;
  margin-top: 5px !important;
}

/* Related posts: style as a modern box */
body.dp-skin-hub .section-box.related-posts {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 12px;
}

body.dp-skin-hub .section-box.related-posts .section-header {
  background: var(--dp-accent, #ff9a1f);
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding: 0;
}

body.dp-skin-hub .section-box.related-posts .section-title {
  margin: 0;
  font-family: var(--dp-display-font);
  padding: inherit; /* inherit 0 from .section-header; prevents legacy padding from making the bar look thick */
  height: 38px;
  line-height: 38px;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}

body.dp-skin-hub .section-box.related-posts .section-content {
  padding: 6px;
}

@media (max-width: 600px) {
  body.dp-skin-hub .section-box.related-posts .section-title {
    height: 36px;
    line-height: 36px;
    font-size: 12.5px;
  }
}

/* Single entry header (title + actions) */
body.dp-skin-hub .entry-header {
  margin: 0 0 12px;
  border-bottom: 0 !important;
}
body.dp-skin-hub .entry-header .inner {
  /* Put title and actions on the same row (Pornhub-like). */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  flex-wrap: nowrap;
}
body.dp-skin-hub .entry-header .entry-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
  min-width: 0;
  float: none !important; /* override legacy float:left */
  text-align: left;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.dp-skin-hub .entry-actions {
  margin: 0;
  float: none !important; /* override legacy float:right */
  height: auto; /* override legacy fixed height */
  align-self: center;
  justify-self: auto;
  flex: 0 0 auto;
  white-space: nowrap;
  margin-left: auto; /* ensure it pins to the right edge */
}
body.dp-skin-hub .entry-actions a {
  border-radius: 10px;
}

/* Full-width video template (`single-video-full-width.php`) has no `.inner`. */
body.dp-skin-hub .wall .entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  text-align: left;
}
body.dp-skin-hub .wall .entry-header .entry-title {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.dp-skin-hub .wall .entry-header .entry-actions {
  flex: 0 0 auto;
  white-space: nowrap;
  margin-left: auto;
}

/* Responsive: allow wrapping if the screen is too narrow */
@media (max-width: 700px) {
  body.dp-skin-hub .entry-header .inner,
  body.dp-skin-hub .wall .entry-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  body.dp-skin-hub .entry-actions,
  body.dp-skin-hub .wall .entry-actions {
    width: 100%;
  }
}

/* Single: modern Like button */
body.dp-skin-hub .entry-actions .dp-like-post {
  float: none;
  margin: 0;
  background: transparent;
  border: 0;
}

body.dp-skin-hub .entry-actions .dp-like-post a {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;               /* Bootstrap-like */
  padding: 0 14px;
  border-radius: 6px;
  background: transparent;     /* outline button by default */
  border: 1px solid rgba(var(--dp-accent-rgb, 255,154,31), 0.85);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  box-shadow: none;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, box-shadow 120ms ease, color 120ms ease;
  background-image: none !important; /* disable legacy sprite */
}

body.dp-skin-hub .entry-actions .dp-like-post a::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor; /* match button text for strong contrast */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  /* Clean "thumb up" icon (reads better at small sizes than detailed BI shapes). */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 21h4V9H2v12Zm20-11c0-1.1-.9-2-2-2h-6.3l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L13 1 6.59 7.41C6.22 7.78 6 8.3 6 8.83V19c0 1.1.9 2 2 2h9c.82 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 21h4V9H2v12Zm20-11c0-1.1-.9-2-2-2h-6.3l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L13 1 6.59 7.41C6.22 7.78 6 8.3 6 8.83V19c0 1.1.9 2 2 2h9c.82 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2Z'/%3E%3C/svg%3E");
}

body.dp-skin-hub .entry-actions .dp-like-post a:hover {
  background: rgba(var(--dp-accent-rgb, 255,154,31), 1);
  border-color: rgba(var(--dp-accent-rgb, 255,154,31), 1);
  color: #111;
  box-shadow: 0 0 0 3px rgba(var(--dp-accent-rgb, 255,154,31), 0.20);
}

body.dp-skin-hub .entry-actions .dp-like-post a.liked {
  background: rgba(var(--dp-accent-rgb, 255,154,31), 1);
  border-color: rgba(var(--dp-accent-rgb, 255,154,31), 1);
  color: #111;
  box-shadow: none;
}
body.dp-skin-hub .entry-actions .dp-like-post a.liked::before {
  background: rgba(17,17,17,0.95);
}

body.dp-skin-hub .entry-actions .dp-like-post a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(var(--dp-accent-rgb, 255,154,31), 0.28);
}

/* Section headings (make readable on dark UI) */
body.dp-skin-hub .section-header {
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
body.dp-skin-hub .section-title,
body.dp-skin-hub .widget-title,
body.dp-skin-hub .loop-title {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.10);
}
body.dp-skin-hub .section-title a,
body.dp-skin-hub .widget-title a,
body.dp-skin-hub .loop-title a {
  color: inherit;
}

/* Archive/category header bar: remove legacy white separators and enlarge title */
body.dp-skin-hub .below-no-actions {
  border-bottom: 0 !important;
  margin: 0 0 12px;
}
body.dp-skin-hub .below-no-actions .loop-title {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  font-size: 20px !important;
  line-height: 1.2;
  letter-spacing: 1px !important;
}
body.dp-skin-hub .below-no-actions .loop-title .prefix {
  letter-spacing: 1px;
}

@media (max-width: 700px) {
  body.dp-skin-hub .below-no-actions .loop-title {
    font-size: 20px !important;
    letter-spacing: 1px !important;
  }
}

/* Remove legacy light "section shadow" chrome on dark UI */
body.dp-skin-hub .section-content {
  background: none;
  padding-bottom: 0;
}

body.dp-skin-hub #branding #site-title a {
  letter-spacing: 0.2px;
}

/* Sidebar/widget titles: full-width squared accent bar (Pornhub-like) */
body.dp-skin-hub #sidebar .widget-header {
  background: var(--dp-accent, #ff9a1f);
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 0; /* fully square */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 10px 24px rgba(0,0,0,0.25);
  padding: 0;
  margin: 0 0 10px;
  text-align: center; /* ensure title text is centered even if markup differs */
}

body.dp-skin-hub #sidebar .widget-title {
  width: 100%;
  height: 44px;
  padding: 0; /* avoid asymmetric padding from legacy styles */
  margin: 0;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
  border: 0;
  border-bottom: 0;
  line-height: 44px; /* deterministic vertical centering */
  box-sizing: border-box;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}

body.dp-skin-hub #sidebar .widget-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}

/* Widget containers: make sidebar components feel designed */
body.dp-skin-hub #sidebar .widget {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px; /* slightly tighter than legacy */
}

/* Add consistent padding for common widget bodies */
body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) > ul,
body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) > ol,
body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) .tagcloud,
body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) .textwidget,
body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) form {
  padding: 10px;
}

/* Generic widget lists (except the special category/archive grid widget) */
body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) ul,
body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) ol {
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) li {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 10px;
  margin: 0;
  /* override legacy widget separators + bullet sprites */
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background-image: none !important;
}

body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) li:hover {
  border-color: rgba(var(--dp-accent-rgb, 255,154,31), 0.34);
  box-shadow: 0 0 18px rgba(var(--dp-accent-rgb, 255,154,31), 0.14);
}

body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) li a {
  color: #fff;
  text-decoration: none;
}

body.dp-skin-hub #sidebar .widget:not(.widget_categories):not(.widget_archive) li a:hover {
  color: var(--dp-accent, #ff9a1f);
}

/* Widget: DP Posts (popular/recent) */
body.dp-skin-hub #sidebar .widget-posts ul {
  padding: 10px;
}

body.dp-skin-hub #sidebar .widget-posts ul li.item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
}

body.dp-skin-hub #sidebar .widget-posts .thumb {
  width: 88px;
  height: 50px;
  flex: 0 0 88px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
}

body.dp-skin-hub #sidebar .widget-posts .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.dp-skin-hub #sidebar .widget-posts .data {
  margin: 0; /* override legacy margin-left */
  min-width: 0;
}

body.dp-skin-hub #sidebar .widget-posts .entry-title {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.dp-skin-hub #sidebar .widget-posts .meta,
body.dp-skin-hub #sidebar .widget-posts .stats {
  margin: 0;
  font-size: 11px;
  color: rgba(255,255,255,0.70);
}

body.dp-skin-hub #sidebar .widget-posts .stats {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
}

/* Widget: Recent comments */
body.dp-skin-hub #sidebar .widget-comments ul {
  padding: 10px;
}

body.dp-skin-hub #sidebar .widget-comments ul.dp-rc-list {
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.dp-skin-hub #sidebar .widget-comments li.dp-rc-item {
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

body.dp-skin-hub #sidebar .widget-comments .dp-rc-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 10px;
  row-gap: 6px;
  align-items: start;
}

body.dp-skin-hub #sidebar .widget-comments .dp-rc-avatar img.avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  padding: 0;
  margin: 0;
  float: none;
  display: block;
}

body.dp-skin-hub #sidebar .widget-comments .dp-rc-data {
  min-width: 0;
}

body.dp-skin-hub #sidebar .widget-comments .dp-rc-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 11px;
  color: rgba(255,255,255,0.68);
}

body.dp-skin-hub #sidebar .widget-comments .dp-rc-author a {
  font-weight: 900;
  color: #fff;
}
body.dp-skin-hub #sidebar .widget-comments .dp-rc-author a:hover {
  color: var(--dp-accent, #ff9a1f);
}

body.dp-skin-hub #sidebar .widget-comments .dp-rc-date {
  color: rgba(255,255,255,0.62);
}

body.dp-skin-hub #sidebar .widget-comments .dp-rc-post {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.dp-skin-hub #sidebar .widget-comments .dp-rc-post a {
  color: inherit;
}
body.dp-skin-hub #sidebar .widget-comments .dp-rc-post a:hover {
  color: var(--dp-accent, #ff9a1f);
}

body.dp-skin-hub #sidebar .widget-comments .dp-rc-excerpt {
  margin-top: 6px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hub-like main nav (single row) */
body.dp-skin-hub #main-nav {
  /* Classic-like bar (example): flat metallic strip */
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 55%, #1d1d1d 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 0; /* ensure no extra vertical space */
}

body.dp-skin-hub #main-nav .wrap {
  display: flex;
  align-items: stretch; /* make items fill full bar height */
  gap: 10px;
  min-height: 44px;
}

/* Keep the main menu one line (no multi-row category spill) */
body.dp-skin-hub #main-nav .menu {
  float: none;
  background: none;
  padding-right: 0;
  display: flex;
  flex-wrap: wrap; /* avoid horizontal scrolling */
  gap: 0;
  row-gap: 1px; /* separator between wrapped rows without leaving "blank space" under active item */
  align-items: stretch;
  overflow: hidden; /* no scrollbar */
}

body.dp-skin-hub #main-nav .menu > li {
  float: none;
  height: auto;
  background: none;
  display: flex; /* allow anchor to stretch fully */
}

body.dp-skin-hub #main-nav .menu > li > a {
  float: none;
  display: block;
  line-height: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 0;
  position: relative;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  white-space: nowrap;
  transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease;
  align-self: stretch;
}

body.dp-skin-hub #main-nav .menu > li:first-child > a {
  border-left: 1px solid rgba(255,255,255,0.10);
}

body.dp-skin-hub #main-nav .menu > li > a:hover {
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.38));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Pressed state on click (darker like the classic example) */
body.dp-skin-hub #main-nav .menu > li > a:active {
  background: linear-gradient(180deg, rgba(0,0,0,0.40), rgba(0,0,0,0.62));
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.55);
}

body.dp-skin-hub #main-nav .menu > li > a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--dp-accent-rgb, 255,154,31), 0.35);
}

body.dp-skin-hub #main-nav .menu > li.current-menu-item > a,
body.dp-skin-hub #main-nav .menu > li.current_page_item > a {
  /* Selected item: darker + accent top line (like example). */
  background: linear-gradient(180deg, rgba(0,0,0,0.40), rgba(0,0,0,0.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  color: #fff;
}

/* Extra "selected" indicator bar (more visible like the classic theme). */
body.dp-skin-hub #main-nav .menu > li.current-menu-item > a::before,
body.dp-skin-hub #main-nav .menu > li.current_page_item > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: rgba(var(--dp-accent-rgb, 255,154,31), 1);
}

/* Hide legacy dropdowns in hub mode (keep top bar clean) */
body.dp-skin-hub #main-nav ul ul {
  display: none !important;
}

/* Offcanvas removed intentionally (requested). */

/* Categories directory page (hub-like cards) */
body.dp-skin-hub .dp-cats-title {
  margin: 0;
  font-size: 20px;
  color: #fff !important;
  background: transparent !important;
  text-shadow: 0 1px 14px rgba(0,0,0,0.55);
}
body.dp-skin-hub .dp-cats-search .searchform {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 760px;
  margin: 0;
}

body.dp-skin-hub .dp-cats-search .search-text {
  flex: 1 1 auto;
  height: 44px;
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding: 0 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-right: 0;
  color: #fff;
  outline: none;
}

body.dp-skin-hub .dp-cats-search .search-text:focus {
  border-color: rgba(var(--dp-accent-rgb, 255,154,31), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--dp-accent-rgb, 255,154,31), 0.18);
}

body.dp-skin-hub .dp-cats-search .search-submit {
  flex: 0 0 auto;
  height: 44px;
  width: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease, color 120ms ease;
}

body.dp-skin-hub .dp-cats-search .search-submit:hover {
  background: rgba(var(--dp-accent-rgb, 255,154,31), 0.14);
  border-color: rgba(var(--dp-accent-rgb, 255,154,31), 0.45);
  box-shadow: 0 0 0 3px rgba(var(--dp-accent-rgb, 255,154,31), 0.14);
}

body.dp-skin-hub .dp-cats-search .search-submit:active {
  transform: translateY(0);
}
body.dp-skin-hub .dp-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
@media (max-width: 1024px) {
  body.dp-skin-hub .dp-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body.dp-skin-hub .dp-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
body.dp-skin-hub .dp-cat-card {
  text-decoration: none;
}
body.dp-skin-hub .dp-cat-card:hover .dp-cat-card-media {
  border-color: rgba(var(--dp-accent-rgb, 255,154,31), 0.65);
  box-shadow: 0 14px 32px rgba(0,0,0,0.38), 0 0 0 3px rgba(var(--dp-accent-rgb, 255,154,31), 0.14);
  transform: translateY(-2px);
}
body.dp-skin-hub .dp-cat-card-media {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, filter 160ms ease;
}
body.dp-skin-hub .dp-cat-card-media {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  /* Default: subtle white outer glow (requested) */
  box-shadow:
    0 10px 26px rgba(0,0,0,0.32),
    0 0 0 1px rgba(255,255,255,0.05),
    0 0 16px rgba(255,255,255,0.12);
  background:
    radial-gradient(1200px 200px at 20% 0%, rgba(var(--dp-accent-rgb, 255,154,31),0.28), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 9;
}
body.dp-skin-hub .dp-cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.78) 100%);
}
body.dp-skin-hub .dp-cat-card-name {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 30px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  text-align: left;
}
body.dp-skin-hub .dp-cat-card-count {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  text-align: left;
}

/* Tags cloud: dark pills (initial hub version) */
body.dp-skin-hub .widget_tag_cloud a {
  /* Force a consistent, modern "cloud" look (WP tag cloud uses inline font-size). */
  font-size: 13px !important;
  line-height: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  color: rgba(255,255,255,0.90);
  text-shadow: none;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 !important; /* WP may add margins; keep packing tight */
}
body.dp-skin-hub .widget_tag_cloud a:hover {
  background: rgba(255,255,255,0.10);
  color: var(--dp-accent, #ff9a1f);
}

body.dp-skin-hub .widget_tag_cloud .tagcloud {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
  row-gap: 6px;
  align-items: center;
  justify-content: flex-start;
  padding: 8px;
}

/* Search */
body.dp-skin-hub .searchform {
  background: rgba(255,255,255,0.06);
  box-shadow: none;
}
body.dp-skin-hub .searchform input[type="search"] {
  background: transparent;
  color: #fff;
}
body.dp-skin-hub button.search-submit {
  background: var(--dp-accent, #ff9a1f);
  color: #111;
}
body.dp-skin-hub button.search-submit:hover {
  background: #ffb14f;
}

/* Prevent legacy widgets from bleeding into content */
body.dp-skin-hub #sidebar {
  overflow: hidden;
}

/* Sidebar: modernize legacy archive/category widget (old CSS uses width:120% and floats) */
body.dp-skin-hub .widget_archive ul,
body.dp-skin-hub .widget_categories ul {
  width: 100%;
  margin: 0;
  padding: 2px 2px 8px; /* add a little bottom space so the last row isn't flush */
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

body.dp-skin-hub .widget_archive li,
body.dp-skin-hub .widget_categories li {
  float: none;
  width: auto;
  height: auto;
  line-height: 1.3;
  padding: 0; /* padding handled on the <a> for perfect vertical centering */
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  text-align: left;
  position: relative;
  top: auto;
  overflow: hidden;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

body.dp-skin-hub .widget_archive li:hover,
body.dp-skin-hub .widget_categories li:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(var(--dp-accent-rgb), 0.34);
  box-shadow:
    0 0 0 1px rgba(var(--dp-accent-rgb), 0.14),
    0 0 22px rgba(var(--dp-accent-rgb), 0.18);
  transform: translateY(-1px);
}

body.dp-skin-hub .widget_archive li a,
body.dp-skin-hub .widget_categories li a {
  float: none;
  margin: 0; /* override legacy margin-right:5px */
  color: #e9e9e9;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 34px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 8px; /* reduce inner padding so long labels fit */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* single-line as requested */
  font-size: 12.3px;
  line-height: 1;
}

@media (max-width: 1024px) {
  body.dp-skin-hub .widget_archive li a,
  body.dp-skin-hub .widget_categories li a {
    font-size: 15px;
  }
}

body.dp-skin-hub .widget_archive li a:focus-visible,
body.dp-skin-hub .widget_categories li a:focus-visible {
  outline: 2px solid rgba(var(--dp-accent-rgb), 0.55);
  outline-offset: 2px;
  border-radius: 10px;
}

@media (max-width: 600px) {
  body.dp-skin-hub .widget_archive ul,
  body.dp-skin-hub .widget_categories ul {
    grid-template-columns: 1fr;
  }
}

/* Loop grid */
body.dp-skin-hub .loop-content .nag {
  display: grid;
  grid-template-columns: repeat(var(--dp-grid-cols-desktop, 5), minmax(0, 1fr));
  column-gap: 4px;
  row-gap: 5px;
  margin: 0 !important; /* override legacy negative margins from .grid-* views */
  padding: 0;
}

/* Desktop "1 column" mode: use a list-like layout so portrait videos don't create giant cards,
   and so title/meta/stats/excerpt scale proportionally (blog-like). */
@media (min-width: 1025px) {
  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .item,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .item {
    display: flex;
    gap: 12px;
    align-items: stretch;
    padding: 10px;
  }

  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .thumb,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .thumb {
    flex: 0 0 46%;
    max-width: 520px;
    margin: 0 !important;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    height: auto !important;
    background: #000;
  }

  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .thumb a,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .thumb a,
  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .thumb img,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .thumb img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .data,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .data {
    margin: 0;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .entry-title,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .entry-title {
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 8px;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    text-align: left;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal !important;
    text-overflow: clip !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden;
  }
  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .entry-title a,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .entry-title a {
    display: block;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    text-align: left;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow: visible !important;
    height: auto !important;
  }

  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .entry-meta,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .entry-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: baseline;
    margin: 0 0 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.70);
  }

  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .entry-meta a,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .entry-meta a {
    color: rgba(255,255,255,0.86);
    text-decoration: none;
  }
  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .entry-meta a:hover,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .entry-meta a:hover {
    color: rgb(var(--dp-accent-rgb, 255,154,31));
  }

  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .entry-summary,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .entry-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255,255,255,0.86);
  }

  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .stats,
  body.dp-skin-hub.dp-grid-desktop-1 .related-posts .section-content .stats {
    font-size: 12px;
  }
}

/* Legacy clearfix pseudo-elements become grid items; disable them for grid containers. */
body.dp-skin-hub .loop-content .nag.cf::before,
body.dp-skin-hub .loop-content .nag.cf::after,
body.dp-skin-hub .related-posts .section-content .nag.cf::before,
body.dp-skin-hub .related-posts .section-content .nag.cf::after {
  content: none !important;
  display: none !important;
}

/* With a right sidebar, still respect the user-selected desktop columns (2-6). */
body.dp-skin-hub:not(.full-width) .loop-content .nag {
  grid-template-columns: repeat(var(--dp-grid-cols-desktop, 4), minmax(0, 1fr));
}

/* Disable legacy float-based grid sizing inside modern CSS grid */
body.dp-skin-hub .loop-content .item {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.dp-skin-hub .loop-content .thumb {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  body.dp-skin-hub .loop-content .nag {
    grid-template-columns: repeat(var(--dp-grid-cols-tablet, 3), minmax(0, 1fr));
    column-gap: 4px;
    row-gap: 5px;
  }
}

@media (max-width: 600px) {
  body.dp-skin-hub .loop-content .nag {
    grid-template-columns: repeat(var(--dp-grid-cols-mobile, 2), minmax(0, 1fr));
    column-gap: 4px;
    row-gap: 5px;
  }
}

/* Related posts ("Onerilen") should look like the homepage grid in hub mode */
body.dp-skin-hub .related-posts .section-content .nag {
  display: grid;
  grid-template-columns: repeat(var(--dp-grid-cols-desktop, 4), minmax(0, 1fr));
  column-gap: 4px;
  row-gap: 5px;
  margin: 0;
  padding: 0;
}

@media (max-width: 1024px) {
  body.dp-skin-hub .related-posts .section-content .nag {
    grid-template-columns: repeat(var(--dp-grid-cols-tablet, 3), minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  body.dp-skin-hub .related-posts .section-content .nag {
    grid-template-columns: repeat(var(--dp-grid-cols-mobile, 2), minmax(0, 1fr));
  }
}

body.dp-skin-hub .related-posts .section-content .item {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.dp-skin-hub .related-posts .section-content .thumb {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

/* Ensure comment form sits below related posts even if other legacy floats exist */
body.dp-skin-hub #respond {
  clear: both;
  margin-top: 14px;
}

/* Comments: remove white lines / "whiteness" and match hub colors */
body.dp-skin-hub #comments {
  margin: 16px 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  overflow: hidden;
}
body.dp-skin-hub .comment-list {
  border-bottom: 0;
  margin: 0;
  padding: 10px;
  list-style: none;
}
body.dp-skin-hub .comment-div {
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin: 0 0 10px;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
body.dp-skin-hub img.avatar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: none;
}

/* Comments header: match other hub boxes */
body.dp-skin-hub #comments .section-header {
  background: var(--dp-accent, #ff9a1f);
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding: 0;
  margin: 0;
}
body.dp-skin-hub #comments .section-title {
  margin: 0;
  font-family: var(--dp-display-font);
  height: 44px;
  line-height: 44px;
  text-align: left;
  padding: 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}

/* Comment layout */
body.dp-skin-hub .comment-inner {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
}

body.dp-skin-hub .comment-avatar {
  grid-column: 1;
  grid-row: 1 / span 3;
}

body.dp-skin-hub .comment-meta {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  color: rgba(255,255,255,0.74);
  font-size: 12px;
}
body.dp-skin-hub .comment-meta a { color: rgba(255,255,255,0.80); }
body.dp-skin-hub .comment-meta a:hover { color: var(--dp-accent, #ff9a1f); }

body.dp-skin-hub .comment-author cite {
  font-style: normal;
  font-weight: 900;
  color: #fff;
}

body.dp-skin-hub .comment-content {
  grid-column: 2;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  line-height: 1.5;
}

body.dp-skin-hub .comment-actions {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
}

/* Reply button: small, modern, icon button (Bootstrap-like) */
body.dp-skin-hub .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease, color 120ms ease, transform 120ms ease;
}

body.dp-skin-hub .comment-reply-link::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  /* "reply" icon */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-6-4-12-11-11Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-6-4-12-11-11Z'/%3E%3C/svg%3E");
}

body.dp-skin-hub .comment-reply-link:hover {
  border-color: rgba(var(--dp-accent-rgb, 255,154,31), 0.60);
  background: rgba(var(--dp-accent-rgb, 255,154,31), 0.10);
  box-shadow: 0 0 0 3px rgba(var(--dp-accent-rgb, 255,154,31), 0.14);
  color: #fff;
  transform: translateY(-1px);
}

body.dp-skin-hub .comment-reply-link:active {
  transform: translateY(0);
}

/* Nested replies */
body.dp-skin-hub .comment-list .children {
  list-style: none;
  margin: 10px 0 0 18px;
  padding: 0 0 0 10px;
  border-left: 2px solid rgba(var(--dp-accent-rgb, 255,154,31), 0.35);
}

body.dp-skin-hub #respond,
body.dp-skin-hub #respond .section-header {
  background: transparent;
  border-color: rgba(255,255,255,0.14);
}

/* Comment form: card styling like widgets */
body.dp-skin-hub #respond {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
}

body.dp-skin-hub #respond .section-header {
  background: rgba(255,255,255,0.02);
  border-bottom: 0;
  padding: 10px 12px;
  margin: 0;
}

body.dp-skin-hub #respond .section-title {
  margin: 0;
  font-family: var(--dp-display-font);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.dp-skin-hub #respond form {
  padding: 12px;
}

body.dp-skin-hub #respond .logged-in-as,
body.dp-skin-hub #respond .comment-notes,
body.dp-skin-hub #respond .form-allowed-tags {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
}

/* When comments require login, WP outputs a "must-log-in" notice (often yellow in legacy CSS).
   Make it a modern, theme-aligned notice in hub preset. */
body.dp-skin-hub #respond .must-log-in {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  border-radius: var(--dp-corner-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
body.dp-skin-hub #respond .must-log-in a {
  color: rgb(var(--dp-accent-rgb, 255,154,31));
  font-weight: 900;
  text-decoration: none;
}
body.dp-skin-hub #respond .must-log-in a:hover {
  text-decoration: underline;
}

body.dp-skin-hub #respond label {
  display: inline-block;
  margin: 0 0 6px;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 800;
}

body.dp-skin-hub #respond .comment-form-author,
body.dp-skin-hub #respond .comment-form-email,
body.dp-skin-hub #respond .comment-form-url {
  margin: 0 0 10px;
}

@media (min-width: 860px) {
  body.dp-skin-hub #respond form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  body.dp-skin-hub #respond .logged-in-as,
  body.dp-skin-hub #respond .comment-notes,
  body.dp-skin-hub #respond .form-allowed-tags,
  body.dp-skin-hub #respond .comment-form-comment,
  body.dp-skin-hub #respond .form-submit {
    grid-column: 1 / -1;
  }
}

body.dp-skin-hub #author,
body.dp-skin-hub #email,
body.dp-skin-hub #url,
body.dp-skin-hub #comment {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25) inset;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

body.dp-skin-hub #author,
body.dp-skin-hub #email,
body.dp-skin-hub #url {
  height: 42px;
}

body.dp-skin-hub #comment {
  min-height: 140px;
  resize: vertical;
}

body.dp-skin-hub #author:focus,
body.dp-skin-hub #email:focus,
body.dp-skin-hub #url:focus,
body.dp-skin-hub #comment:focus {
  border-color: rgba(var(--dp-accent-rgb, 255,154,31), 0.55);
  box-shadow:
    0 0 0 1px rgba(var(--dp-accent-rgb, 255,154,31), 0.16) inset,
    0 0 0 3px rgba(var(--dp-accent-rgb, 255,154,31), 0.18);
  background: rgba(255,255,255,0.08);
}

body.dp-skin-hub #respond .required {
  color: rgba(var(--dp-accent-rgb, 255,154,31), 1);
}

/* Comment submit button: modern + slightly larger */
body.dp-skin-hub #respond .form-submit {
  margin: 12px 0 0;
}
body.dp-skin-hub #respond .form-submit input#submit,
body.dp-skin-hub #respond .form-submit input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--dp-display-font); /* match component titles */
  border: 1px solid rgba(0,0,0,0.25);
  background: var(--dp-accent, #ff9a1f);
  color: #fff;
  height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 44px; /* match title bar vertical rhythm */
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 10px 24px rgba(0,0,0,0.25);
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}
body.dp-skin-hub #respond .form-submit input#submit:hover,
body.dp-skin-hub #respond .form-submit input[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 16px 30px rgba(0,0,0,0.28),
    0 0 18px rgba(var(--dp-accent-rgb, 255,154,31), 0.18);
}
body.dp-skin-hub #respond .form-submit input#submit:active,
body.dp-skin-hub #respond .form-submit input[type="submit"]:active {
  transform: translateY(0);
}
body.dp-skin-hub #respond .form-submit input#submit:focus-visible,
body.dp-skin-hub #respond .form-submit input[type="submit"]:focus-visible {
  outline: 2px solid rgba(var(--dp-accent-rgb, 255,154,31), 0.55);
  outline-offset: 2px;
}

body.dp-skin-hub #author,
body.dp-skin-hub #email,
body.dp-skin-hub #url,
body.dp-skin-hub #comment {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
}

body.dp-skin-hub .comment-notes,
body.dp-skin-hub .form-allowed-tags,
body.dp-skin-hub .logged-in-as {
  color: rgba(255,255,255,0.70);
}

/* Card */
body.dp-skin-hub .item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  /* Outer white glow */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 0 16px rgba(255,255,255,0.08);
  transition: border-color 140ms ease;
}

body.dp-skin-hub .item:hover {
  border-color: rgba(var(--dp-accent-rgb, 255,154,31),0.28);
  box-shadow:
    0 0 0 1px rgba(var(--dp-accent-rgb, 255,154,31),0.16),
    0 0 18px rgba(255,255,255,0.10);
}

body.dp-skin-hub .item .thumb {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

/* Override legacy absolute-centering thumbnail markup to behave like a modern card */
body.dp-skin-hub .item .thumb {
  aspect-ratio: 16 / 9;
}
body.dp-skin-hub .item .thumb .clip-link {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
}
body.dp-skin-hub .item .thumb .clip {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
}
body.dp-skin-hub .item .thumb .vertical-align {
  display: none;
}
body.dp-skin-hub .item .thumb .clip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(1.04) contrast(1.04);
  transition: transform 160ms ease, filter 160ms ease;
}
body.dp-skin-hub .item:hover .thumb .clip img {
  transform: scale(1.045);
  filter: saturate(1.10) contrast(1.06);
}

/* Thumb overlay: subtle gradient + play affordance */
body.dp-skin-hub .item .thumb .overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.72));
  opacity: 0;
  transition: opacity 160ms ease;
}
body.dp-skin-hub .item:hover .thumb .overlay {
  opacity: 1;
}
body.dp-skin-hub .item .thumb .overlay::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%) scale(0.92);
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}
body.dp-skin-hub .item .thumb .overlay::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid rgba(255,255,255,0.92);
  transform: translate(calc(-50% + 2px), -50%) scale(0.92);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

body.dp-skin-hub .item:hover .thumb .overlay::after,
body.dp-skin-hub .item:hover .thumb .overlay::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body.dp-skin-hub .item:hover .thumb .overlay::before {
  transform: translate(calc(-50% + 2px), -50%) scale(1);
}

/* Duration badge (optional) */
body.dp-skin-hub .dp-badge.dp-badge-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  letter-spacing: 0.2px;
}

body.dp-skin-hub .item .data {
  padding: 8px 8px 8px;
}

body.dp-skin-hub .item .entry-title {
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 6px;
  color: #fff;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.dp-skin-hub .item .entry-title a {
  color: inherit; /* override legacy .item .entry-title a { color:#111 } */
}
body.dp-skin-hub .item .entry-title a:hover {
  color: var(--dp-accent);
}

/* Keep archive card titles non-bold (user preference). */
body.dp-skin-hub .loop-content .item .entry-title,
body.dp-skin-hub .loop-content .item .entry-title a,
body.dp-skin-hub .related-posts .section-content .item .entry-title,
body.dp-skin-hub .related-posts .section-content .item .entry-title a {
  font-weight: 600 !important;
}

/* Adaptive card scale by selected grid columns.
   Keeps card internals proportional when user changes desktop/tablet/mobile column counts. */
body.dp-skin-hub .loop-content .item {
  --dp-card-pad: 8px;
  --dp-card-title-size: 14px;
  --dp-card-title-lh: 1.35;
  --dp-card-title-clamp: 2;
  --dp-card-meta-size: 12px;
  --dp-card-summary-size: 13px;
  --dp-card-summary-lh: 1.45;
  --dp-card-summary-clamp: 2;
  --dp-card-stats-size: 12px;
  --dp-card-stats-gap: 10px;
  --dp-card-icon-size: 14px;
}

body.dp-skin-hub .loop-content .item .data {
  padding: var(--dp-card-pad);
}

body.dp-skin-hub .loop-content .item .entry-title {
  font-size: var(--dp-card-title-size);
  line-height: var(--dp-card-title-lh);
  -webkit-line-clamp: var(--dp-card-title-clamp);
}

body.dp-skin-hub .loop-content .item .entry-meta {
  font-size: var(--dp-card-meta-size);
}

body.dp-skin-hub .loop-content .item .entry-summary {
  font-size: var(--dp-card-summary-size);
  line-height: var(--dp-card-summary-lh);
  display: -webkit-box;
  -webkit-line-clamp: var(--dp-card-summary-clamp);
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

body.dp-skin-hub .loop-content .item .stats {
  font-size: var(--dp-card-stats-size);
  gap: var(--dp-card-stats-gap);
}

body.dp-skin-hub .loop-content .item .stats .views::before,
body.dp-skin-hub .loop-content .item .stats .comments::before,
body.dp-skin-hub .loop-content .item .stats .likes::before {
  width: var(--dp-card-icon-size);
  height: var(--dp-card-icon-size);
  flex-basis: var(--dp-card-icon-size);
}

/* Desktop scaling (1-6) */
@media (min-width: 1025px) {
  body.dp-skin-hub.dp-grid-desktop-1 .loop-content .item {
    --dp-card-title-size: 24px;
    --dp-card-title-lh: 1.2;
    --dp-card-title-clamp: 2;
    --dp-card-meta-size: 13px;
    --dp-card-summary-size: 14px;
    --dp-card-summary-lh: 1.55;
    --dp-card-summary-clamp: 6;
    --dp-card-stats-size: 13px;
    --dp-card-stats-gap: 12px;
    --dp-card-icon-size: 15px;
  }

  body.dp-skin-hub.dp-grid-desktop-2 .loop-content .item {
    --dp-card-pad: 10px;
    --dp-card-title-size: 19px;
    --dp-card-title-lh: 1.25;
    --dp-card-title-clamp: 2;
    --dp-card-meta-size: 12.5px;
    --dp-card-summary-size: 13px;
    --dp-card-summary-lh: 1.5;
    --dp-card-summary-clamp: 4;
    --dp-card-stats-size: 12.5px;
    --dp-card-stats-gap: 10px;
  }
  body.dp-skin-hub.dp-grid-desktop-2 .loop-content .item .entry-meta,
  body.dp-skin-hub.dp-grid-desktop-2 .loop-content .item .entry-summary {
    display: block !important;
  }

  body.dp-skin-hub.dp-grid-desktop-3 .loop-content .item {
    --dp-card-pad: 8px;
    --dp-card-title-size: 15px;
    --dp-card-title-lh: 1.3;
    --dp-card-title-clamp: 2;
    --dp-card-meta-size: 12px;
    --dp-card-summary-size: 12px;
    --dp-card-summary-lh: 1.35;
    --dp-card-summary-clamp: 2;
    --dp-card-stats-size: 11.5px;
  }
body.dp-skin-hub.dp-grid-desktop-3 .loop-content .item .entry-meta,
body.dp-skin-hub.dp-grid-desktop-3 .loop-content .item .entry-summary {
  display: block !important;
}
body.dp-skin-hub.dp-grid-desktop-3 .loop-content .item .entry-summary {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4 !important;
  overflow: hidden;
  margin-bottom: 8px;
}

  body.dp-skin-hub.dp-grid-desktop-4 .loop-content .item {
    --dp-card-pad: 8px;
    --dp-card-title-size: 14px;
    --dp-card-title-clamp: 2;
    --dp-card-stats-size: 12px;
  }

  body.dp-skin-hub.dp-grid-desktop-5 .loop-content .item {
    --dp-card-pad: 7px;
    --dp-card-title-size: 13px;
    --dp-card-title-clamp: 2;
    --dp-card-stats-size: 11.5px;
    --dp-card-stats-gap: 8px;
    --dp-card-icon-size: 13px;
  }

  body.dp-skin-hub.dp-grid-desktop-6 .loop-content .item {
    --dp-card-pad: 6px;
    --dp-card-title-size: 12px;
    --dp-card-title-clamp: 2;
    --dp-card-stats-size: 11px;
    --dp-card-stats-gap: 7px;
    --dp-card-icon-size: 12px;
  }
}

/* Tablet scaling (1-3) */
@media (max-width: 1024px) and (min-width: 601px) {
  body.dp-skin-hub.dp-grid-tablet-1 .loop-content .item {
    --dp-card-pad: 10px;
    --dp-card-title-size: 20px;
    --dp-card-title-lh: 1.25;
    --dp-card-meta-size: 12.5px;
    --dp-card-summary-size: 13px;
    --dp-card-summary-clamp: 4;
    --dp-card-stats-size: 12.5px;
  }
  body.dp-skin-hub.dp-grid-tablet-1 .loop-content .item .entry-meta,
  body.dp-skin-hub.dp-grid-tablet-1 .loop-content .item .entry-summary {
    display: block !important;
  }

  body.dp-skin-hub.dp-grid-tablet-2 .loop-content .item {
    --dp-card-pad: 9px;
    --dp-card-title-size: 16px;
    --dp-card-meta-size: 12px;
    --dp-card-summary-size: 12.5px;
    --dp-card-summary-clamp: 3;
    --dp-card-stats-size: 12px;
  }
  body.dp-skin-hub.dp-grid-tablet-2 .loop-content .item .entry-meta,
  body.dp-skin-hub.dp-grid-tablet-2 .loop-content .item .entry-summary {
    display: block !important;
  }

  body.dp-skin-hub.dp-grid-tablet-3 .loop-content .item {
    --dp-card-pad: 8px;
    --dp-card-title-size: 14px;
    --dp-card-stats-size: 11.5px;
  }
}

/* Mobile scaling (1-3) */
@media (max-width: 600px) {
  body.dp-skin-hub.dp-grid-mobile-1 .loop-content .item {
    --dp-card-pad: 9px;
    --dp-card-title-size: 18px;
    --dp-card-title-lh: 1.25;
    --dp-card-meta-size: 12px;
    --dp-card-summary-size: 13px;
    --dp-card-summary-clamp: 4;
    --dp-card-stats-size: 12px;
  }
  body.dp-skin-hub.dp-grid-mobile-1 .loop-content .item .entry-meta,
  body.dp-skin-hub.dp-grid-mobile-1 .loop-content .item .entry-summary {
    display: block !important;
  }

  body.dp-skin-hub.dp-grid-mobile-2 .loop-content .item {
    --dp-card-pad: 8px;
    --dp-card-title-size: 14px;
    --dp-card-stats-size: 11.5px;
  }

  body.dp-skin-hub.dp-grid-mobile-3 .loop-content .item {
    --dp-card-pad: 7px;
    --dp-card-title-size: 12.5px;
    --dp-card-stats-size: 11px;
    --dp-card-stats-gap: 7px;
    --dp-card-icon-size: 12px;
  }
}

/* Single: categories/tags chips (Pornhub-like) */
body.dp-skin-hub #extras.dp-taxonomy {
  margin-top: 14px;
}

body.dp-skin-hub .dp-tax-row {
  margin-top: 12px;
}

body.dp-skin-hub .dp-tax-title {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
    font-weight: 400;
  letter-spacing: 0.2px;
  margin: 0 0 10px;
}

body.dp-skin-hub .dp-tax-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.dp-skin-hub .dp-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, color 140ms ease;
}

body.dp-skin-hub .dp-chip:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(var(--dp-accent-rgb), 0.42);
  box-shadow:
    0 0 0 1px rgba(var(--dp-accent-rgb), 0.14) inset,
    0 0 18px rgba(var(--dp-accent-rgb), 0.16);
  transform: translateY(-1px);
  color: #fff;
}

body.dp-skin-hub .dp-chip:focus-visible {
  outline: 2px solid rgba(var(--dp-accent-rgb), 0.55);
  outline-offset: 2px;
}

body.dp-skin-hub .item .entry-meta,
body.dp-skin-hub .item .entry-summary {
  display: none;
}

/* In 1-column desktop mode, always show meta/summary if enabled in template. */
body.dp-skin-hub.dp-grid-desktop-1 .item .entry-meta,
body.dp-skin-hub.dp-grid-desktop-1 .item .entry-summary {
  display: block;
}

body.dp-skin-hub .item .stats {
  margin: 8px 0 0;
  font-size: 12px;
  opacity: 0.92;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
  height: auto;     /* override legacy fixed height */
  overflow: visible;/* override legacy overflow hidden */
}

body.dp-skin-hub .item .stats .suffix { display: none; }
body.dp-skin-hub .item .stats .views,
body.dp-skin-hub .item .stats .comments,
body.dp-skin-hub .item .stats .likes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.78);
  padding-left: 0;   /* override legacy stats.png sprite spacing */
  background: none;  /* override legacy stats.png sprite icon */
  margin-right: 0;   /* spacing is controlled by flex gap */
}
/* Stats icons: use SVG masks for consistent rendering (emoji varies by platform). */
body.dp-skin-hub .item .stats .views::before,
body.dp-skin-hub .item .stats .comments::before,
body.dp-skin-hub .item .stats .likes::before {
  content: "" !important;
  display: inline-block !important;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  opacity: 0.9;
  background: rgba(255,255,255,0.78);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

body.dp-skin-hub .item .stats .views::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c-7 0-11 7-11 7s4 7 11 7 11-7 11-7-4-7-11-7Zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-2.2a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 5c-7 0-11 7-11 7s4 7 11 7 11-7 11-7-4-7-11-7Zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8Zm0-2.2a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z'/%3E%3C/svg%3E");
}

body.dp-skin-hub .item .stats .comments::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm2 5h12v2H6V9Zm0 4h9v2H6v-2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm2 5h12v2H6V9Zm0 4h9v2H6v-2Z'/%3E%3C/svg%3E");
}

body.dp-skin-hub .item .stats .likes::before {
  background: rgba(255,255,255,0.78);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 21h4V9H2v12Zm20-11c0-1.1-.9-2-2-2h-6.3l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L13 1 6.59 7.41C6.22 7.78 6 8.3 6 8.83V19c0 1.1.9 2 2 2h9c.82 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 21h4V9H2v12Zm20-11c0-1.1-.9-2-2-2h-6.3l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L13 1 6.59 7.41C6.22 7.78 6 8.3 6 8.83V19c0 1.1.9 2 2 2h9c.82 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2Z'/%3E%3C/svg%3E");
}

/* Make list views degrade gracefully */
body.dp-skin-hub .switchable-view.list-small .nag,
body.dp-skin-hub .switchable-view.list-medium .nag,
body.dp-skin-hub .switchable-view.list-large .nag {
  display: block;
}

/* Pagination: Pornhub-like buttons (hub preset only) */
body.dp-skin-hub .loop-nav.pag-nav {
  padding: 18px 0 6px;
  border-top: 0; /* remove legacy double lines above pagination */
}

body.dp-skin-hub .loop-nav-inner,
body.dp-skin-hub .wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 0; /* remove legacy inner white line */
  padding: 10px 0; /* slightly tighter than legacy 20px */
  max-width: 100%;
}

/* Hide the "Page 1 of N" label from wp-pagenavi */
body.dp-skin-hub .wp-pagenavi .pages {
  display: none !important;
}

body.dp-skin-hub .pag-nav a,
body.dp-skin-hub .pag-nav span {
  margin: 0; /* override legacy inline-block margins */
  padding: 0 10px;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.35) inset,
    0 6px 16px rgba(0,0,0,0.22);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1px;
  font-size: 13px;
  line-height: 1;
  max-width: 100%;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

/* Current page: orange outline like Pornhub */
body.dp-skin-hub .pag-nav .current,
body.dp-skin-hub .wp-pagenavi span.current {
  background: rgba(0,0,0,0.20);
  border-color: rgba(var(--dp-accent-rgb), 0.80);
  box-shadow:
    0 0 0 1px rgba(var(--dp-accent-rgb), 0.22) inset,
    0 0 0 2px rgba(0,0,0,0.35),
    0 10px 22px rgba(0,0,0,0.28);
  color: #fff;
}

body.dp-skin-hub .pag-nav a:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(var(--dp-accent-rgb), 0.42);
  box-shadow:
    0 0 0 1px rgba(var(--dp-accent-rgb), 0.14) inset,
    0 0 18px rgba(var(--dp-accent-rgb), 0.16),
    0 10px 22px rgba(0,0,0,0.30);
  transform: translateY(-1px);
  color: #fff;
}

/* Next: solid accent, wide */
body.dp-skin-hub .pag-nav a.next,
body.dp-skin-hub .wp-pagenavi a.nextpostslink,
body.dp-skin-hub .wp-pagenavi a.next {
  min-width: 60px; /* don't overflow container */
  padding: 0 14px;
  background: rgba(var(--dp-accent-rgb), 1);
  border-color: rgba(var(--dp-accent-rgb), 1);
  color: #111;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.25) inset,
    0 10px 22px rgba(0,0,0,0.30);
}
body.dp-skin-hub .pag-nav a.next:hover,
body.dp-skin-hub .wp-pagenavi a.nextpostslink:hover,
body.dp-skin-hub .wp-pagenavi a.next:hover {
  background: rgba(255,177,79, 1);
  border-color: rgba(255,177,79, 1);
  color: #111;
}

body.dp-skin-hub .pag-nav a.prev,
body.dp-skin-hub .wp-pagenavi a.previouspostslink,
body.dp-skin-hub .wp-pagenavi a.prev {
  min-width: 60px; /* don't overflow container */
  padding: 0 14px;
}

@media (max-width: 520px) {
  body.dp-skin-hub .loop-nav.pag-nav { padding: 14px 0 4px; }
  body.dp-skin-hub .loop-nav-inner,
  body.dp-skin-hub .wp-pagenavi { gap: 5px; }
  body.dp-skin-hub .pag-nav a,
  body.dp-skin-hub .pag-nav span {
    height: 34px;
    min-width: 34px;
    padding: 0 9px;
  }
  body.dp-skin-hub .pag-nav a.next,
  body.dp-skin-hub .pag-nav a.prev,
  body.dp-skin-hub .wp-pagenavi a.nextpostslink,
  body.dp-skin-hub .wp-pagenavi a.previouspostslink,
  body.dp-skin-hub .wp-pagenavi a.next,
  body.dp-skin-hub .wp-pagenavi a.prev {
    min-width: 54px;
    padding: 0 12px;
  }
}
/* Disabled prev/next */
body.dp-skin-hub .pag-nav span.prev,
body.dp-skin-hub .pag-nav span.next,
body.dp-skin-hub .wp-pagenavi span.extend {
  opacity: 0.55;
}

/* Mobile/Tablet nav usability fixes (header + footer) */
@media (max-width: 1024px) {
  body.dp-skin-hub #main-nav .wrap {
    min-height: 0;
    gap: 0;
    padding: 0;
  }

  body.dp-skin-hub #main-nav .menu {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0;
    overflow: visible;
  }

  body.dp-skin-hub #main-nav .menu > li {
    min-width: 0;
  }

  body.dp-skin-hub #main-nav .menu > li > a {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    text-align: center;
    line-height: 42px;
    height: 42px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 0 !important;
  }

  body.dp-skin-hub #main-nav .menu > li:nth-child(3n + 1) > a {
    border-left: 1px solid rgba(255,255,255,0.10) !important;
  }

  body.dp-skin-hub #footer-nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
  }

  body.dp-skin-hub #footer-nav li {
    min-width: 0;
  }

  body.dp-skin-hub #footer-nav li a {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    text-align: center;
    line-height: 42px;
    height: 42px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 0 !important;
  }

  body.dp-skin-hub #footer-nav li:nth-child(3n + 1) a {
    border-left: 1px solid rgba(255,255,255,0.10) !important;
  }
}

@media (max-width: 767px) {
  body.dp-skin-hub #main-nav .menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.dp-skin-hub #main-nav .menu > li:nth-child(3n + 1) > a {
    border-left: 0 !important;
  }

  body.dp-skin-hub #main-nav .menu > li:nth-child(2n + 1) > a {
    border-left: 1px solid rgba(255,255,255,0.10) !important;
  }

  body.dp-skin-hub #footer-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.dp-skin-hub #footer-nav li:nth-child(3n + 1) a {
    border-left: 0 !important;
  }

  body.dp-skin-hub #footer-nav li:nth-child(2n + 1) a {
    border-left: 1px solid rgba(255,255,255,0.10) !important;
  }
}

@media (max-width: 420px) {
  body.dp-skin-hub #main-nav .menu > li > a,
  body.dp-skin-hub #footer-nav li a {
    font-size: 15px;
    line-height: 40px;
    height: 40px;
    padding: 0 8px;
  }
}

/* Force hub menu on mobile (disable legacy select menu from responsive.css) */
@media only screen and (max-width: 639px) {
  body.dp-skin-hub #main-nav .wrap {
    background: none !important;
  }

  body.dp-skin-hub #main-nav .select-div,
  body.dp-skin-hub #main-nav .select-wrap,
  body.dp-skin-hub #main-nav select {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }

  body.dp-skin-hub #main-nav .menu {
    display: grid !important;
  }

  body.dp-skin-hub #footer-nav {
    margin-left: calc(-1 * var(--dp-footer-pad-x));
    margin-right: calc(-1 * var(--dp-footer-pad-x));
    overflow: visible;
  }

  body.dp-skin-hub #footer-nav ul {
    display: grid !important;
  }
}

/* Sidebar widgets: prevent mobile overflow from legacy fixed widths */
body.dp-skin-hub #sidebar,
body.dp-skin-hub #sidebar .widget,
body.dp-skin-hub #sidebar .widget > ul,
body.dp-skin-hub #sidebar .widget > ol,
body.dp-skin-hub #sidebar .widget .tagcloud,
body.dp-skin-hub #sidebar .widget .textwidget,
body.dp-skin-hub #sidebar .widget form {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

body.dp-skin-hub #sidebar .widget li,
body.dp-skin-hub #sidebar .widget .dp-rc-item,
body.dp-skin-hub #sidebar .widget .dp-rc-data,
body.dp-skin-hub #sidebar .widget .dp-rc-post,
body.dp-skin-hub #sidebar .widget .dp-rc-excerpt {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  body.dp-skin-hub #main .wrap {
    overflow-x: hidden;
  }

  body.dp-skin-hub #sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
  }

  body.dp-skin-hub #sidebar .widget {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Modern comment form sizing (desktop/tablet/mobile) */
body.dp-skin-hub #respond .comment-form,
body.dp-skin-hub #respond form#commentform {
  display: grid;
  gap: 14px;
}

body.dp-skin-hub #respond .comment-notes {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

body.dp-skin-hub #respond .comment-form-author,
body.dp-skin-hub #respond .comment-form-email,
body.dp-skin-hub #respond .comment-form-url {
  width: 100%;
  min-width: 0;
}

body.dp-skin-hub #respond .comment-form-author label,
body.dp-skin-hub #respond .comment-form-email label,
body.dp-skin-hub #respond .comment-form-url label,
body.dp-skin-hub #respond .comment-form-comment label {
  display: inline-block;
  margin: 0 0 8px;
  color: #f4f6fb;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

body.dp-skin-hub #respond input[type="text"],
body.dp-skin-hub #respond input[type="email"],
body.dp-skin-hub #respond input[type="url"],
body.dp-skin-hub #respond #author,
body.dp-skin-hub #respond #email,
body.dp-skin-hub #respond #url {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.dp-skin-hub #respond textarea,
body.dp-skin-hub #respond #comment {
  width: 100% !important;
  min-height: 180px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.2));
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
}

body.dp-skin-hub #respond input[type="text"]:focus,
body.dp-skin-hub #respond input[type="email"]:focus,
body.dp-skin-hub #respond input[type="url"]:focus,
body.dp-skin-hub #respond textarea:focus {
  border-color: var(--dp-accent, #ff9900);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.28);
  outline: none;
}

body.dp-skin-hub #respond .form-submit {
  margin-top: 2px;
}

body.dp-skin-hub #respond .form-submit .submit,
body.dp-skin-hub #respond input#submit {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

@media (min-width: 768px) {
  body.dp-skin-hub #respond .comment-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 16px;
  }

  body.dp-skin-hub #respond .comment-notes,
  body.dp-skin-hub #respond .comment-form-comment,
  body.dp-skin-hub #respond .comment-form-cookies-consent,
  body.dp-skin-hub #respond .form-submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  body.dp-skin-hub #respond .comment-form {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  body.dp-skin-hub #respond input[type="text"],
  body.dp-skin-hub #respond input[type="email"],
  body.dp-skin-hub #respond input[type="url"],
  body.dp-skin-hub #respond #author,
  body.dp-skin-hub #respond #email,
  body.dp-skin-hub #respond #url {
    height: 44px;
  }

  body.dp-skin-hub #respond textarea,
  body.dp-skin-hub #respond #comment {
    min-height: 160px;
  }
}

body.dp-skin-hub #respond .comment-form-disabled,
body.dp-skin-hub #respond .comment-form-disabled-note {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

body.dp-skin-hub #respond .comment-form-cookies-consent {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}
