.gvh-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0 0 1.5em;
}

.gvh-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-width: 0;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #2b2b2b, #111);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.gvh-card--pornstars,
.gvh-card--actor {
    background: linear-gradient(135deg, #6b163d, #171117);
}

.gvh-card--creators {
    background: linear-gradient(135deg, #6b3516, #17120f);
}

.gvh-card--camgirls {
    background: linear-gradient(135deg, #5a1769, #151016);
}

.gvh-card--amateur {
    background: linear-gradient(135deg, #28532b, #101710);
}

.gvh-card--duo {
    background: linear-gradient(135deg, #7a1228, #220a10);
}

.gvh-card__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.gvh-card__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.9) 100%);
    transition: background-color 0.25s ease;
}

.gvh-card__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 14px;
    line-height: 1.15;
}

.gvh-card__title {
    overflow: hidden;
    color: #fff;
    font-size: clamp(0.95rem, 1.4vw, 1.25rem);
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px #000;
    white-space: nowrap;
}

.gvh-card__subtitle {
    margin-top: 4px;
    color: #ddd;
    font-size: 0.78rem;
}

.gvh-card:hover,
.gvh-card:focus-visible {
    color: #fff;
}

.gvh-card:hover .gvh-card__image,
.gvh-card:focus-visible .gvh-card__image {
    transform: scale(1.045);
    filter: brightness(1.08);
}

.gvh-card:hover .gvh-card__shade,
.gvh-card:focus-visible .gvh-card__shade {
    background-color: rgba(255, 255, 255, 0.08);
}

.gvh-card:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .gvh-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .gvh-card__content {
        padding: 10px;
    }

    .gvh-card__title {
        font-size: 0.9rem;
    }

    .gvh-card__subtitle {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gvh-card__image,
    .gvh-card__shade {
        transition: none;
    }
}

/* ========================================================================== 
   GoonVidz global design system
   ========================================================================== */

:root {
    --gv-pink: #e94370;
    --gv-pink-light: #ff6b92;
    --gv-pink-dark: #b9214b;
    --gv-bg: #121214;
    --gv-surface: #1a1a1e;
    --gv-surface-raised: #202025;
    --gv-border: rgba(255, 255, 255, 0.09);
    --gv-border-strong: rgba(255, 255, 255, 0.15);
    --gv-text: #f5f5f7;
    --gv-muted: #b6b6c0;
    --gv-radius-sm: 8px;
    --gv-radius: 12px;
    --gv-radius-lg: 16px;
    --gv-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    --gv-shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.34);
}

html {
    scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
    font-family: "Manrope", "Segoe UI", sans-serif;
}

body {
    color: var(--gv-text);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.widget-title,
.page-title,
.page .entry-title,
.comments-title,
.comment-reply-title,
.gvh-card__title {
    font-family: "Sora", "Manrope", sans-serif;
    letter-spacing: -0.025em;
}

a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* Header and search */

.site-header {
    border-bottom: 1px solid var(--gv-border);
    background: rgba(18, 18, 20, 0.98);
}

.site-branding {
    min-height: 6.5em;
    padding-top: 1.15em;
    padding-bottom: 1.15em;
}

.site-branding .logo img {
    filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.28));
}

.site-branding .header-search {
    display: flex;
    justify-content: flex-end;
}

.site-branding .header-search form {
    display: flex;
    width: min(100%, 700px);
}

.site-branding .header-search input[type="search"],
.site-branding .header-search input[type="text"] {
    height: 50px;
    border: 1px solid var(--gv-border) !important;
    border-right: 0 !important;
    border-radius: var(--gv-radius) 0 0 var(--gv-radius);
    background: #222226;
    box-shadow: none !important;
    color: var(--gv-text);
    font-size: 15px;
    padding-inline: 18px;
}

.site-branding .header-search input#searchsubmit {
    width: 56px;
    height: 50px;
    border: 0 !important;
    border-radius: 0 var(--gv-radius) var(--gv-radius) 0;
    background: linear-gradient(135deg, var(--gv-pink-light), var(--gv-pink-dark)) !important;
    box-shadow: none;
}

/* Navigation */

#site-navigation {
    height: 60px;
    border-top: 1px solid var(--gv-border) !important;
    border-bottom: 1px solid var(--gv-border) !important;
    background: #1b1b1f !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
}

#site-navigation > ul {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 59px;
    padding: 0 1.5em;
}

#site-navigation > ul > li,
#site-navigation > ul > li:first-child {
    margin: 0;
    border: 0;
}

#site-navigation > ul > li > a {
    height: 42px;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 0 18px;
    color: #dedee4;
    font-size: 14px;
    font-weight: 700;
    line-height: 42px;
}

#site-navigation > ul > li:hover > a,
#site-navigation > ul > li.current-menu-item > a,
#site-navigation > ul > li.current-menu-ancestor > a {
    border-color: rgba(233, 67, 112, 0.38) !important;
    background: rgba(233, 67, 112, 0.13) !important;
    box-shadow: none !important;
    color: #fff;
}

#site-navigation ul ul {
    overflow: hidden;
    border: 1px solid var(--gv-border);
    border-radius: 0 0 var(--gv-radius) var(--gv-radius);
    background: #202025;
    box-shadow: var(--gv-shadow);
}

#site-navigation ul ul li,
#site-navigation ul ul li a {
    background: transparent !important;
}

#site-navigation ul ul li a:hover {
    background: rgba(233, 67, 112, 0.12) !important;
}

/* Breadcrumbs */

.breadcrumbs-area {
    height: 40px;
    margin-bottom: 1.5em;
    border: 0 !important;
    border-bottom: 1px solid var(--gv-border) !important;
    background: #1b1b1f !important;
    line-height: 38px;
}

#breadcrumbs {
    color: var(--gv-muted);
    font-size: 13px !important;
}

#breadcrumbs a,
#breadcrumbs .current {
    margin: 0 7px;
}

/* Page and widget titles */

.widget-title,
.page-title,
.page .entry-title,
.comments-title,
.comment-reply-title {
    position: relative;
    margin-bottom: 16px;
    border: 1px solid var(--gv-border) !important;
    border-left: 1px solid var(--gv-border) !important;
    border-radius: var(--gv-radius);
    background: linear-gradient(135deg, #242429, #1d1d21) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.17);
    color: var(--gv-text);
    font-size: clamp(18px, 1.45vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    padding: 15px 18px 16px;
}

.widget-title::after,
.page-title::after,
.page .entry-title::after,
.comments-title::after,
.comment-reply-title::after {
    position: absolute;
    bottom: -1px;
    left: 18px;
    width: 48px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--gv-pink-light), var(--gv-pink-dark));
    content: "";
}

.page-header {
    margin-bottom: 20px;
}

.archive-description {
    max-width: 1120px;
    margin: -3px 0 24px;
    color: #c8c8d0;
    font-size: 16px;
    line-height: 1.75;
}

.archive-description p {
    margin: 0 0 0.65em;
}

/* Forms and buttons */

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.label,
.pagination ul li a {
    border-radius: var(--gv-radius-sm) !important;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
    border: 1px solid var(--gv-border) !important;
    border-radius: var(--gv-radius-sm);
    background: #222226;
    box-shadow: none !important;
    color: var(--gv-text);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(233, 67, 112, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(233, 67, 112, 0.12) !important;
    outline: 0;
}

.more-videos {
    top: 10px;
    right: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 7px 11px;
    font-size: 12px;
}

/* Video cards */

.videos-list {
    margin-right: -7px;
    margin-left: -7px;
}

.thumb-block {
    padding: 7px;
}

.thumb-block.video-preview-item {
    overflow: visible;
}

.thumb-block > a {
    display: block;
    overflow: hidden;
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius);
    background: var(--gv-surface);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.17);
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.thumb-block:hover > a,
.thumb-block:focus-within > a {
    border-color: rgba(233, 67, 112, 0.46);
    box-shadow: var(--gv-shadow-hover);
    transform: translateY(-4px);
}

.thumb-block .post-thumbnail {
    overflow: hidden;
    border-radius: 11px 11px 0 0;
    background-color: #0a0a0c;
}

.thumb-block .post-thumbnail img,
.thumb-block .post-thumbnail video {
    transition: filter 0.3s ease, transform 0.4s ease;
}

.thumb-block:hover .post-thumbnail img.video-main-thumb,
.thumb-block:focus-within .post-thumbnail img.video-main-thumb {
    filter: brightness(1.06) saturate(1.04);
    transform: scale(1.025);
}

.thumb-block .rating-bar {
    height: 21px;
    border: 0;
    background: #27272c !important;
    color: #eee;
    font-size: 11px;
    line-height: 20px;
}

.thumb-block .rating-bar-meter {
    height: 21px;
    opacity: 0.72;
}

.thumb-block .entry-header {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 3.9em;
    padding: 10px 11px 12px;
    color: #f0f0f3;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.38;
    text-align: center;
}

.thumb-block span.views,
.thumb-block span.duration,
.thumb-block span.hd-video {
    border-radius: 5px;
    background: rgba(10, 10, 12, 0.88);
    backdrop-filter: blur(5px);
}

/* Homepage discovery cards */

.gvh-card-grid {
    gap: 12px;
    margin-bottom: 1.8em;
}

.gvh-card {
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius-lg);
    box-shadow: var(--gv-shadow);
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.gvh-card__content {
    padding: 17px;
}

.gvh-card__title {
    font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.gvh-card:hover,
.gvh-card:focus-visible {
    border-color: rgba(233, 67, 112, 0.48);
    box-shadow: var(--gv-shadow-hover);
    transform: translateY(-3px);
}

/* Upload card */

.gvu-upload-card__thumbnail {
    background: radial-gradient(circle at 50% 35%, #74223d, #240b13 68%, #10080b);
}

.gvu-upload-card__icon {
    width: 64px;
    height: 64px;
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(18, 18, 20, 0.72);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Sidebar */

#sidebar .widget {
    padding: 16px;
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius);
    background: var(--gv-surface);
}

#sidebar .widget-title {
    margin-top: 0;
    font-size: 17px;
}

#sidebar .search-form {
    display: flex;
    gap: 8px;
}

#sidebar .search-field {
    width: 100%;
    min-width: 0;
}

/* Duo */

.gvd-search-box,
.gvd-empty-state {
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius-lg);
    background: linear-gradient(145deg, #202025, #18181b);
    box-shadow: var(--gv-shadow);
}

.gvd-preview {
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius-lg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.gvd-duo-plus {
    color: var(--gv-pink-light);
    opacity: 0.8;
    text-shadow: 0 0 24px rgba(233, 67, 112, 0.28);
}

.gvd-search .ts-control,
.gvd-search .ts-dropdown {
    border: 1px solid var(--gv-border) !important;
    border-radius: var(--gv-radius) !important;
    background: #25252a !important;
    box-shadow: none !important;
    color: var(--gv-text) !important;
    font-family: "Manrope", sans-serif;
}

.gvd-search .ts-control {
    min-height: 52px;
    padding: 14px 15px;
}

.gvd-search .ts-dropdown .active {
    background: rgba(233, 67, 112, 0.16) !important;
    color: #fff !important;
}

.gvd-popular-duos h2,
.gvd-latest-duos h2,
.gvd-stats h2 {
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 21px;
}

.gvd-popular-grid,
.gvd-latest-grid {
    gap: 18px;
}

.gvd-duo-card {
    overflow: hidden;
    padding: 0 0 16px;
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius);
    background: var(--gv-surface);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.gvd-duo-card:hover {
    border-color: rgba(233, 67, 112, 0.46);
    box-shadow: var(--gv-shadow-hover);
    transform: translateY(-4px);
}

.gvd-duo-card .gvd-duo-thumb {
    margin-bottom: 15px;
    border-radius: 0;
}

.gvd-duo-card h3,
.gvd-duo-card small {
    display: block;
    padding: 0 16px;
}

.gvd-duo-card h3 {
    font-family: "Sora", "Manrope", sans-serif;
    font-size: 16px;
}

/* Modal */

#wpst-user-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius-lg);
    background: #1d1d21;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

/* Responsive */

@media (max-width: 991.98px) {
    #site-navigation {
        height: 56px;
        background: #1b1b1f !important;
    }

    #site-navigation > ul {
        display: none;
        overflow: hidden;
        min-height: 0;
        border: 1px solid var(--gv-border);
        border-radius: var(--gv-radius);
        background: #1f1f23;
        box-shadow: var(--gv-shadow);
    }

    #site-navigation > ul > li > a {
        height: 50px;
        border-radius: 0;
        line-height: 50px;
    }

    #site-navigation .button-nav {
        top: 2px;
        right: 12px;
        border-radius: var(--gv-radius-sm);
    }

    .site-branding {
        min-height: 5.5em;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .site-branding {
        padding: 14px 15px;
    }

    .site-branding .header-search input[type="search"],
    .site-branding .header-search input[type="text"],
    .site-branding .header-search input#searchsubmit {
        height: 46px;
    }

    .widget-title,
    .page-title,
    .page .entry-title,
    .comments-title,
    .comment-reply-title {
        border-radius: 10px;
        font-size: 17px;
        padding: 13px 14px 14px;
    }

    .archive-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .videos-list {
        margin-right: -5px;
        margin-left: -5px;
    }

    .thumb-block {
        padding: 5px;
    }

    .thumb-block .entry-header {
        height: 4em;
        padding: 8px 8px 10px;
        font-size: 13px;
    }

    .gvh-card-grid {
        gap: 9px;
    }

    .gvh-card {
        border-radius: 12px;
    }

    .gvh-card__content {
        padding: 11px;
    }

    .gvd-duo-card h3,
    .gvd-duo-card small {
        padding-right: 12px;
        padding-left: 12px;
    }
}

.gvu-upload-card__thumbnail {
    background: linear-gradient(135deg, #7a1228, #1b090e);
}

.gvu-upload-card__thumbnail .post-thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gvu-upload-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 11;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
    transition: background-color 0.25s ease;
}

.gvu-upload-card__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 12;
    display: grid;
    width: 58px;
    height: 58px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    place-items: center;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.gvu-upload-card__header {
    color: #fff;
}

.gvu-upload-card:hover .gvu-upload-card__overlay,
.gvu-upload-card:focus-within .gvu-upload-card__overlay {
    background-color: rgba(255, 255, 255, 0.1);
}

.gvu-upload-card:hover .gvu-upload-card__icon,
.gvu-upload-card:focus-within .gvu-upload-card__icon {
    background: rgba(122, 18, 40, 0.92);
    transform: translate(-50%, -50%) scale(1.08);
}

.gvu-empty-upload-list {
    margin-bottom: 1em;
}

.gvu-empty-upload-list::after {
    display: table;
    clear: both;
    content: '';
}
