:root {
    --bg: #0b0f14;
    --surface: #131a24;
    --text: #e9eef5;
    --muted: #9aa4b5;
    --accent: #ff5c8d;
    --radius: 14px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 48px;
    --space-9: 64px;

    --control: 36px;
    --control-sm: 34px;
    --focus: rgba(168, 139, 255, 0.55);
}

body {
    background:
        radial-gradient(1200px 700px at 20% -10%, rgba(255, 92, 141, 0.12), transparent 55%),
        radial-gradient(900px 600px at 90% 10%, rgba(168, 139, 255, 0.10), transparent 60%),
        linear-gradient(180deg, #0a0e13 0%, var(--bg) 55%, #090c10 100%);
    color: var(--text);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    letter-spacing: 0.01em;
}

/* Reduce oversized H1s (~20%): theme outputs inline typography for `h1`, so override with `!important`. */
.entry-title,
.page-title,
.home-header,
.jx-girl-archive-title {
    font-size: clamp(1.1rem, 3.4vw, 2rem) !important;
    line-height: 1.18 !important;
}

::selection {
    background: rgba(255, 92, 141, 0.35);
    color: var(--text);
}

::-moz-selection {
    background: rgba(255, 92, 141, 0.35);
    color: var(--text);
}

a,
a:visited {
    color: var(--accent);
}

a:hover,
a:focus {
    color: #ff7ca3;
}

.site a:focus-visible,
.site button:focus-visible,
.site [role="button"]:focus-visible,
.site input:focus-visible,
.site textarea:focus-visible,
.site select:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.site a:focus-visible {
    border-radius: 8px;
}

.site {
    background: transparent;
}

.site-content {
    padding: var(--space-6) var(--space-4) var(--space-9);
}

.home .site-content {
    padding-top: var(--space-4);
}

.post-boxes {
    display: grid !important;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: stretch;
    grid-auto-rows: auto;
}

.post-boxes .post-box {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    height: auto;
}

.post-box {
    margin: 0 !important;
    padding: 0;
    height: 100%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-box a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.post-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.post-box__thumbnail {
    position: relative;
    padding-bottom: 125%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.22);
    --jx-thumb: none;
    z-index: 0;
}

@supports (aspect-ratio: 1) {
    .post-box__thumbnail {
        aspect-ratio: 4 / 5;
        padding-bottom: 0;
    }
}

.post-box__thumbnail::before {
    content: "";
    position: absolute;
    inset: -14px;
    background-image: var(--jx-thumb);
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(1.12);
    opacity: 0.78;
    transform: scale(1.08);
    z-index: 0;
}

.post-box__thumbnail::after {
    content: none;
    display: none;
}

@media (max-width: 680px) {
    .post-box__thumbnail::before {
        filter: blur(14px);
    }

    .post-box__thumbnail::after {
        display: none;
    }
}

.post-box__thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
    z-index: 2;
}

.post-box__thumbnail img,
.post-box--high:not(.post-box--no-thumb) .post-box__thumbnail img,
.post-box--wide:not(.post-box--no-thumb) .post-box__thumbnail img,
.post-box--big:not(.post-box--no-thumb) .post-box__thumbnail img {
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    max-width: none !important;
}

.post-box:hover .post-box__thumbnail img {
    transform: none !important;
}

.post-box__body {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    align-content: end;
    row-gap: 6px;
    column-gap: 12px;
    padding: 14px 14px 20px;
    background: none;
    min-width: 0;
}

.post-box__body::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 52%;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0) 0%, rgba(10, 12, 16, 0.84) 100%);
    z-index: 0;
    pointer-events: none;
}

.post-box__body > * {
    position: relative;
    z-index: 1;
}

.post-box--no-thumb .post-box__body {
    position: static;
    background: transparent;
}

.post-box__category {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
}

.post-box__title {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    color: var(--text);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.3em * 2);
}

.post-box__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--muted);
    min-width: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.post-box__meta-row {
    grid-column: 1 / -1;
    grid-row: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-height: 18px;
    font-variant-numeric: tabular-nums;
    min-width: 0;
    width: 100%;
}

.post-box__stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    line-height: 1;
    white-space: nowrap;
    color: var(--muted);
    font-weight: 600;
}

.post-box__stat::before {
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    font-size: 0.95em;
    line-height: 1;
    color: var(--muted);
}

.post-box__stat--rating::before {
    content: "\2605";
}

.post-box__stat--views::before {
    content: "\1F441";
}

.post-box__description {
    grid-column: 1 / -1;
    grid-row: 3;
    color: var(--muted);
    font-size: 0.9rem;
}

.related-posts__header {
    background: none;
    background-image: none;
}

.site-header,
#masthead {
    backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(20, 25, 34, 0.92) 0%, rgba(15, 19, 26, 0.78) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .site-header-inner {
    padding: 16px 18px !important;
}

@media (min-width: 992px) {
    .site-header .site-header-inner {
        padding: 18px 24px !important;
    }
}

.main-navigation a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 0 !important;
    position: relative;
    padding: 9px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-navigation a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.main-navigation a:active {
    transform: translateY(1px);
}

.main-navigation ul {
    display: flex;
    gap: 28px;
    align-items: center;
}

.main-navigation li {
    list-style: none;
}

.main-navigation a::after {
    display: none !important;
}

.main-navigation .current-menu-item > a {
    background: rgba(255, 92, 141, 0.14);
    border: 1px solid rgba(255, 92, 141, 0.28);
}

@media (max-width: 980px) {
    .main-navigation ul {
        gap: 18px;
    }
}


.site-header-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    position: relative;
}

.humburger {
    position: relative !important;
    left: auto !important;
    z-index: 12060;
    width: var(--control) !important;
    height: var(--control) !important;
    min-width: var(--control) !important;
    max-width: var(--control) !important;
    flex: 0 0 var(--control) !important;
    overflow: hidden;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 10px;
    background: rgba(255, 92, 141, 0.12);
    border: 1px solid rgba(255, 92, 141, 0.35);
    cursor: pointer;
    line-height: 0;
    font-size: 0;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Vendor CSS adds .humburger:before with big hitbox (top/left/bottom/right: -20px).
   It overlaps neighboring header items on mobile, so disable it. */
.humburger::before {
    content: none !important;
    display: none !important;
}

.humburger span {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    margin: 0;
    display: block;
    width: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.humburger.open span:first-child,
.humburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.humburger.open span:nth-child(2) {
    opacity: 0;
}

.humburger.open span:last-child,
.humburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 992px) {
    .humburger {
        display: none !important;
    }
}

.site-branding,
.tg-button,
.header-search {
    position: relative;
    z-index: 2;
}

/* Resets for vendor CSS conflicts */
.humburger,
.humburger * {
    box-sizing: border-box;
}

.humburger span {
    pointer-events: none;
}

.main-navigation a,
.main-navigation a:visited {
    border-bottom: 0 !important;
    text-decoration: none !important;
}

.tg-button a,
.tg-button a:visited,
.header-search .search-icon {
    -webkit-tap-highlight-color: transparent;
}

.site-branding .site-logotype img {
    max-height: 48px;
    width: auto;
    height: auto;
    margin: 0;
}

.header-search {
    display: flex;
    align-items: center;
    order: 5;
    margin-left: 10px;
    flex: 0 0 auto;
    position: static;
}

.header-search .search-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 92, 141, 0.12);
    border: 1px solid rgba(255, 92, 141, 0.35);
    color: var(--accent);
    cursor: pointer;
}

.header-search .search-icon:hover {
    background: rgba(255, 92, 141, 0.18);
}

.header-search .search-icon:active {
    transform: translateY(1px);
}

.header-search .search-icon::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
    left: 10px;
    top: 9px;
}

.header-search .search-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform: rotate(45deg);
    left: 18px;
    top: 20px;
}

.tg-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 92, 141, 0.14);
    border: 1px solid rgba(255, 92, 141, 0.35);
    order: 4;
    flex: 0 0 auto;
}

.tg-button a {
    display: inline-flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.tg-button:hover {
    background: rgba(255, 92, 141, 0.22);
}

.tg-button:active {
    transform: translateY(1px);
}

.tg-button a:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    border-radius: 999px;
}

.tg-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.main-navigation {
    flex: 1 1 auto;
    order: 3;
}

.site-header-inner > * {
    flex-shrink: 0;
}

.btn,
.button,
.wp-block-button__link {
    background: var(--accent);
    border-radius: 999px;
    border: none;
    color: #fff;
}

/* Comments off in cards/single meta */
.post-box__comments,
.meta-comments {
    display: none !important;
}

/* Rating compact: show only number */
.post-box__rating {
    grid-column: 1;
    grid-row: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    line-height: 1;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text);
}
.post-box__rating::before {
    content: "★";
    font-size: 0.9em;
    color: var(--muted);
    margin-right: 2px;
    transform: none;
}
.post-box__rating .star-rating-text em {
    font-style: normal;
    color: var(--muted);
}
.post-box__rating .wp-star-rating {
    display: none !important;
}

.post-box__views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
}

.post-box__views::before {
    position: relative;
    top: 0;
    font-size: 0.9em;
    margin-right: 2px;
}

@media (max-width: 991px) {
    .site-header .site-header-inner {
        text-align: left;
    }

    .site-header-inner {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .header-search {
        position: static;
        top: auto;
        right: auto;
    }

    .tg-button {
        margin-left: auto;
    }

    .site-branding {
        width: auto;
        margin: 0;
        padding-right: 0;
        flex: 0 1 auto;
        min-width: 0;
    }

    #site-navigation-mobile {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: 70px;
        bottom: auto !important;
        z-index: 11000;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        background: rgba(20, 25, 34, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 14px 16px;
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    }

    #site-navigation-mobile[data-jx-enhanced="1"] {
        display: none;
        opacity: 0;
        transform: translateY(-6px) scale(0.99);
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    body.jx-menu-open #site-navigation-mobile[data-jx-enhanced="1"] {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .jx-menu-overlay {
        position: fixed;
        top: var(--jx-header-h, 64px);
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(2px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease;
        z-index: 10990;
    }

    body.jx-menu-open .jx-menu-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    #site-navigation-mobile ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #site-navigation-mobile li {
        list-style: none;
        margin: 0;
    }

    #site-navigation-mobile a {
        display: block;
        color: var(--text);
        text-decoration: none;
        padding: 10px 8px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
    }

    #site-navigation-mobile a::after {
        display: none;
    }

    #site-navigation-mobile a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--text);
    }

    #site-navigation-mobile .sub-menu {
        margin-top: 6px;
        padding-left: 12px;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 768px) {
    .jx-menu-overlay {
        backdrop-filter: none;
    }
}

@media (max-width: 768px) {
    .site-header .site-header-inner {
        text-align: left;
    }

    .site-header-inner {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .humburger {
        position: relative;
        left: auto;
        margin: 0;
        flex: 0 0 auto;
        z-index: 12060;
    }

    .site-branding {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-branding .site-logotype {
        margin-right: 0;
        min-width: 0;
        display: flex;
        align-items: center;
    }

    .site-branding .site-logotype img {
        max-width: 160px;
    }

    .tg-button {
        margin-left: auto;
    }

    .site-content {
        padding: 20px 12px 48px;
    }

    .social-links {
        order: 4;
        gap: 6px;
    }

    .main-navigation {
        order: 3;
    }

    .social-links .social-buttons .social-profile a {
        width: 28px;
        height: 28px;
    }

    .header-search {
        margin-left: 6px;
    }

    .header-search .search-icon {
        width: 34px;
        height: 34px;
    }

    .tg-button {
        width: 34px;
        height: 34px;
        margin-left: auto;
    }

    .site-branding .site-logotype img {
        max-height: 36px;
        margin: 0;
    }

    .social-links {
        order: 4;
    }

    .main-navigation {
        order: 3;
    }

    .post-box__body {
        padding: 12px 12px 16px;
    }
}

@media (max-width: 680px) {
    .tg-button {
        order: 4;
    }

    .site-content {
        padding: 16px 10px 40px;
    }

    .post-boxes {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .post-box__thumbnail {
        padding-bottom: 125%;
    }

    .post-box__body {
        gap: 4px;
    }

    .post-box__title {
        font-size: 0.98rem;
    }

    .post-box__meta,
    .post-box__rating,
    .post-box__description {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .site-branding .site-logotype img {
        max-height: 30px;
        max-width: 150px;
        margin: 0;
    }

    .site-header-inner {
        gap: 6px;
    }

    .social-links {
        order: 4;
    }

    .header-search {
        order: 5;
    }

    .post-boxes {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .post-box__thumbnail {
        padding-bottom: 110%;
    }

    .post-box__description {
        display: none;
    }

    .post-box__title,
    .post-box__meta,
    .post-box__rating {
        padding-right: 6px;
        word-break: break-word;
    }
}

@media (max-width: 680px) {
    .site-header .site-header-inner {
        padding: 12px 12px !important;
    }
}

@media (max-width: 360px) {
    .post-boxes {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .post-box__thumbnail {
        padding-bottom: 120%;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .post-boxes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .post-boxes {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

/* Feed top nav */
.feed-topnav {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 10px 12px 8px 28px;
    position: relative;
    z-index: 10;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 12px;
    margin-bottom: 14px;
}

.feed-topnav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 2px;
    background: transparent;
    color: rgba(233, 238, 245, 0.7);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.feed-topnav__item:hover {
    color: #d6d9e3;
}

.feed-topnav__item.is-active {
    color: #a88bff;
}

.feed-topnav__item.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background: linear-gradient(90deg, #b68fff, #7c6bff);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .feed-topnav {
        position: sticky;
        top: 0;
        padding: 8px 12px 6px;
        background: linear-gradient(180deg, rgba(11, 15, 20, 0.96) 0%, rgba(11, 15, 20, 0.92) 60%, rgba(11, 15, 20, 0) 100%);
        margin: 0 -10px 8px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Fix broken star glyph fallback (older vendor markup) */
.post-box__rating::before {
    content: "\2605" !important;
}

/* Single post: layout + typography */
.single .site-content {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: var(--space-7);
}

.single #primary.content-area {
    flex: 1 1 auto;
    min-width: 0;
}

.single #secondary.widget-area {
    flex: 0 0 360px;
    width: 360px;
    min-width: 280px;
}

@media (max-width: 1100px) {
    .single #secondary.widget-area {
        flex-basis: 320px;
        width: 320px;
    }

    .single .site-content {
        gap: var(--space-6);
    }
}

@media (max-width: 991px) {
    .single .site-content {
        flex-direction: column;
        padding-left: 8px;
        padding-right: 8px;
    }

    .single #secondary.widget-area {
        width: 100%;
        flex-basis: auto;
        min-width: 0;
    }
}

.single .article-wrap {
    background: rgba(19, 26, 36, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    padding: var(--space-7);
}

@media (max-width: 991px) {
    .single .article-wrap {
        padding: var(--space-6);
    }
}

@media (max-width: 680px) {
    .single .article-wrap {
        padding: var(--space-5);
    }
}

@media (max-width: 680px) {
    .single .site-content {
        padding-left: 4px;
        padding-right: 4px;
    }

    .single .article-wrap {
        padding: 10px;
    }

    .single .entry-excerpt,
    .single .entry-content,
    .single .table-of-contents,
    .single .entry-tags,
    .single .entry-rating,
    .single .entry-footer,
    .single .entry-content .wp-block-gallery,
    .single .entry-content .gallery,
    .single .entry-content .wp-block-embed,
    .single .entry-content .jx-codeblock {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 680px) {
    .single .entry-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Classic editor legacy content: keep media responsive (prevents "desktop" feel and oversize images) */
.single .entry-content img,
.single .entry-content video,
.single .entry-content iframe,
.single .entry-content embed,
.single .entry-content object {
    max-width: 100% !important;
    height: auto !important;
}

.single .entry-content iframe,
.single .entry-content embed,
.single .entry-content object {
    width: 100% !important;
}

/* WP classic editor videos often inject fixed widths (e.g. 920px) via inline styles */
.single .entry-content .wp-video,
.single .entry-content .wp-video-shortcode,
.single .entry-content .mejs-container,
.single .entry-content .mejs-container * {
    max-width: 100% !important;
}

.single .entry-content .wp-video,
.single .entry-content .mejs-container {
    width: 100% !important;
    height: auto !important;
}

.single .entry-content .wp-video-shortcode {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.single .entry-content .mejs-container .mejs-controls {
    max-width: 100% !important;
}

.single .entry-content {
    overflow-x: hidden;
}

.single .entry-content [width] {
    max-width: 100% !important;
}

.single .entry-content [height] {
    height: auto !important;
}

.single .entry-content [style*="width"] {
    max-width: 100% !important;
}

.single .entry-content .wp-caption {
    max-width: 100% !important;
    width: auto !important;
}

.single .entry-content .wp-caption img {
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 680px) {
    .single .entry-content,
    .single .entry-content p,
    .single .entry-content li {
        text-align: left !important;
        word-spacing: normal !important;
    }

    .single .entry-content .alignleft,
    .single .entry-content .alignright {
        float: none !important;
        display: block !important;
        margin: 0 auto var(--space-5) !important;
    }
}

.single .entry-header {
    margin: 0 0 var(--space-5);
    padding: 0 0 var(--space-5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.single .entry-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 139, 255, 0.55), transparent);
    opacity: 0.7;
}

.single .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: var(--muted);
}

.single .entry-meta a {
    color: rgba(233, 238, 245, 0.86);
    text-decoration: none;
}

.single .entry-meta a:hover {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(168, 139, 255, 0.55);
}

.single .entry-title {
    margin: 0;
    font-size: clamp(1.8rem, 2.3vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text);
}

.single .post-thumbnail {
    margin: 0 0 var(--space-5);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.35);
}

.single .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single .entry-excerpt {
    margin: 0 auto var(--space-6);
    max-width: 980px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(233, 238, 245, 0.9);
    line-height: 1.6;
}

.single .entry-content {
    max-width: 980px;
    margin: 0 auto;
    font-size: 1.06rem;
    line-height: 1.8;
    color: rgba(233, 238, 245, 0.92);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.single .entry-content > *:first-child {
    margin-top: 0;
}

.single .entry-content p,
.single .entry-content ul,
.single .entry-content ol,
.single .entry-content blockquote,
.single .entry-content pre,
.single .entry-content table,
.single .entry-content figure {
    margin: 0 0 var(--space-5);
}

.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
    color: var(--text);
    letter-spacing: -0.01em;
    margin: var(--space-7) 0 var(--space-3);
}

.single .entry-content h2 {
    font-size: 1.55rem;
    line-height: 1.22;
}

.single .entry-content h3 {
    font-size: 1.28rem;
    line-height: 1.25;
}

.single .entry-content h4 {
    font-size: 1.12rem;
    line-height: 1.3;
}

.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
    scroll-margin-top: calc(var(--jx-header-h, var(--jx-header-offset)) + var(--space-5));
}

.single .entry-content ul,
.single .entry-content ol {
    padding-left: 1.25em;
}

.single .entry-content li + li {
    margin-top: 8px;
}

.single .entry-content a {
    color: #a88bff;
    text-decoration: underline;
    text-decoration-color: rgba(168, 139, 255, 0.35);
    text-underline-offset: 3px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease, background-color 0.15s ease;
}

.single .entry-content a:hover {
    color: #c5b3ff;
    text-decoration-color: rgba(168, 139, 255, 0.75);
}

.single .entry-content a:active {
    color: #bfa9ff;
}

.single .entry-content a:focus-visible {
    border-radius: 8px;
    background: rgba(168, 139, 255, 0.12);
}

.single .entry-content blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 14px 16px;
    border-radius: 14px;
    border-left: 3px solid rgba(255, 92, 141, 0.65);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(233, 238, 245, 0.9);
}

.single .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.single .entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.single .entry-content th,
.single .entry-content td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(233, 238, 245, 0.92);
    white-space: nowrap;
}

.single .entry-content th {
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
}

.single .entry-content tr:last-child td {
    border-bottom: 0;
}

.single .entry-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.95em;
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(233, 238, 245, 0.92);
}

.single .entry-content pre {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(10, 14, 19, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: auto;
}

.single .entry-content pre code {
    background: transparent;
    border: 0;
    padding: 0;
}

.single .entry-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    margin: var(--space-7) 0;
}

/* Bottom sections: tags / rating / share */
.single .article-wrap .container {
    max-width: none !important;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.single .entry-tags,
.single .entry-rating,
.single .entry-footer {
    max-width: 980px;
    margin: var(--space-6) auto 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.single .entry-tags .entry-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.single .entry-tags .entry-tag a,
.single .entry-tags .meta-source a,
.single .entry-tags .meta-source .ps-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(168, 139, 255, 0.12);
    border: 1px solid rgba(168, 139, 255, 0.28);
    color: rgba(233, 238, 245, 0.92);
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
}

.single .entry-tags .entry-tag a:hover,
.single .entry-tags .meta-source a:hover,
.single .entry-tags .meta-source .ps-link:hover {
    background: rgba(168, 139, 255, 0.18);
    border-color: rgba(168, 139, 255, 0.38);
    color: var(--text);
}

.single .entry-tags .meta-source {
    margin-left: auto;
}

.single .entry-rating .entry-bottom__header {
    margin: 0 0 10px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text);
}

.single .entry-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.single .entry-footer__share-title {
    color: var(--muted);
    font-weight: 700;
}

.single .entry-footer .social-buttons a {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.single .entry-footer .social-buttons a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.single .entry-footer .social-buttons a:active {
    transform: translateY(1px);
}

/* Related posts: closer to home grid */
.single .related-posts {
    margin-top: var(--space-7);
}

.single .related-posts__header {
    margin: 0 0 var(--space-4);
    padding: 0;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text);
}

.single .related-posts__list {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: stretch;
}

.single .related-posts__list .post-box {
    width: 100% !important;
    margin: 0 !important;
}

/* Sidebar widgets */
.single .widget-area {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.single .widget-area .widget {
    background: rgba(19, 26, 36, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: var(--space-5);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.single .widget-area .widget-header {
    margin: 0 0 var(--space-3);
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--text);
}

/* Design tokens (component system) */
:root {
    --jx-radius-sm: 10px;
    --jx-radius-md: 14px;
    --jx-radius-lg: 18px;

    --jx-border: rgba(255, 255, 255, 0.08);
    --jx-border-strong: rgba(255, 255, 255, 0.12);

    --jx-surface-1: rgba(19, 26, 36, 0.78);
    --jx-surface-2: rgba(19, 26, 36, 0.92);
    --jx-surface-glass: rgba(20, 25, 34, 0.88);

    --jx-shadow-1: 0 10px 32px rgba(0, 0, 0, 0.28);
    --jx-shadow-2: 0 18px 50px rgba(0, 0, 0, 0.35);
    --jx-shadow-card: 0 14px 40px rgba(0, 0, 0, 0.35);
    --jx-shadow-card-hover: 0 20px 60px rgba(0, 0, 0, 0.45);

    --jx-blur-header: 12px;
    --jx-header-offset: 72px;

    --jx-control: 36px;
    --jx-control-sm: 34px;
}

@media (max-width: 768px) {
    :root {
        --jx-shadow-card: 0 10px 26px rgba(0, 0, 0, 0.28);
        --jx-shadow-card-hover: 0 14px 34px rgba(0, 0, 0, 0.33);
        --jx-shadow-2: 0 14px 34px rgba(0, 0, 0, 0.3);
        --jx-blur-header: 0px;
    }
}

@media (max-width: 768px) {
    .site-header,
    #masthead {
        backdrop-filter: none;
    }
}

/* Header + cards: align to tokens */
.site-header,
#masthead {
    backdrop-filter: blur(var(--jx-blur-header));
    background: linear-gradient(180deg, var(--jx-surface-glass) 0%, rgba(15, 19, 26, 0.74) 100%);
    border-bottom: 1px solid var(--jx-border);
}

.post-box {
    background: var(--surface);
    box-shadow: var(--jx-shadow-card);
}

.post-box:hover {
    box-shadow: var(--jx-shadow-card-hover);
}

/* Buttons */
.btn,
.button,
.wp-block-button__link,
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 92, 141, 0.14);
    color: var(--text);
    font-weight: 700;
    transition: background-color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background: rgba(255, 92, 141, 0.22);
    border-color: rgba(255, 92, 141, 0.35);
}

.btn:active,
.button:active,
.wp-block-button__link:active,
button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
    transform: translateY(1px);
}

/* Forms */
.site input[type="text"],
.site input[type="search"],
.site input[type="email"],
.site input[type="url"],
.site input[type="password"],
.site input[type="number"],
.site textarea,
.site select {
    border-radius: var(--jx-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--jx-border);
    color: var(--text);
}

.site input::placeholder,
.site textarea::placeholder {
    color: rgba(154, 164, 181, 0.75);
}

.site input[type="text"]:focus,
.site input[type="search"]:focus,
.site input[type="email"]:focus,
.site input[type="url"]:focus,
.site input[type="password"]:focus,
.site input[type="number"]:focus,
.site textarea:focus,
.site select:focus {
    border-color: rgba(168, 139, 255, 0.45);
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--jx-radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--jx-border);
}

.search-form label {
    flex: 1 1 auto;
    min-width: 0;
}

.search-form .search-field {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 10px;
    outline: none;
}

.search-form .search-submit {
    width: var(--jx-control);
    height: var(--jx-control);
    border-radius: 12px;
    background: rgba(255, 92, 141, 0.12);
    border: 1px solid rgba(255, 92, 141, 0.35);
    position: relative;
    flex: 0 0 auto;
    cursor: pointer;
}

.search-form .search-submit::before,
.search-form .search-submit::after {
    content: "";
    position: absolute;
    display: block;
}

.search-form .search-submit::before {
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    left: 10px;
    top: 9px;
}

.search-form .search-submit::after {
    width: 8px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: rotate(45deg);
    left: 18px;
    top: 20px;
}

/* Search overlay */
.search-screen {
    background: rgba(10, 12, 16, 0.96) !important;
    z-index: 12050 !important;
    backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
    .search-screen {
        backdrop-filter: none;
    }
}

.search-screen .search-form {
    width: min(92vw, 860px);
    margin: 0 auto;
    background: rgba(19, 26, 36, 0.78);
    box-shadow: var(--jx-shadow-2);
    font-size: clamp(1.1rem, 3.2vw, 2.2rem);
}

.search-screen .search-form .search-field {
    color: var(--text) !important;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.01em;
    caret-color: var(--accent);
}

.search-screen .search-form .search-field::placeholder {
    color: rgba(154, 164, 181, 0.8);
    font-weight: 700;
}

.search-screen .search-form .search-submit {
    width: calc(var(--jx-control) + 4px);
    height: calc(var(--jx-control) + 4px);
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--jx-radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--jx-border);
    color: rgba(233, 238, 245, 0.8);
    margin-bottom: var(--space-5);
}

.breadcrumb a {
    color: rgba(233, 238, 245, 0.92);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(168, 139, 255, 0.55);
}

.breadcrumb-separator {
    color: rgba(154, 164, 181, 0.75);
}

/* Pagination */
.pagination-box .navigation .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-6);
}

.pagination-box .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--jx-border);
    color: rgba(233, 238, 245, 0.9);
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.pagination-box .page-numbers:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--jx-border-strong);
}

.pagination-box .page-numbers:active {
    transform: translateY(1px);
}

.pagination-box .page-numbers.current {
    background: rgba(168, 139, 255, 0.18);
    border-color: rgba(168, 139, 255, 0.35);
    color: var(--text);
}

/* Girls hub */
.jx-girl-hub {
    background: rgba(19, 26, 36, 0.78);
    border: 1px solid var(--jx-border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--jx-shadow-2);
    padding: var(--space-7);
}

@media (max-width: 991px) {
    .jx-girl-hub {
        padding: var(--space-6);
    }
}

@media (max-width: 680px) {
    .jx-girl-hub {
        padding: 10px;
    }
}

.jx-girl-hero {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: var(--space-4);
    align-items: center;
    margin: 0 0 var(--space-6);
    padding: 0 0 var(--space-6);
    border-bottom: 1px solid var(--jx-border);
}

@media (max-width: 680px) {
    .jx-girl-hero {
        grid-template-columns: 66px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 10px 12px;
    }

    .jx-girl-hero__cta {
        grid-column: 1 / -1;
    }
}

.jx-girl-avatar {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.04);
    display: block;
}

@media (max-width: 680px) {
    .jx-girl-avatar {
        width: 66px;
        height: 66px;
    }
}

.jx-girl-avatar--empty {
    background: rgba(255, 255, 255, 0.06);
}

.jx-girl-hero__title {
    margin: 0;
    font-size: clamp(1.2rem, 1.76vw, 1.7rem) !important;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.jx-girl-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
    color: rgba(154, 164, 181, 0.92);
    font-weight: 600;
    font-size: 0.92rem;
}

.jx-girl-meta-item {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--jx-border);
}

.jx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    color: var(--text);
    background: rgba(255, 92, 141, 0.16);
    border: 1px solid rgba(255, 92, 141, 0.35);
    transition: background-color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.jx-btn:hover {
    background: rgba(255, 92, 141, 0.24);
    border-color: rgba(255, 92, 141, 0.45);
}

.jx-btn:active {
    transform: translateY(1px);
}

.jx-girl-section {
    margin-top: var(--space-7);
}

.jx-girl-section__title {
    margin: 0 0 var(--space-4);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text);
}

.jx-girl-empty {
    padding: 14px 16px;
    border-radius: var(--jx-radius-md);
    border: 1px solid var(--jx-border);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(154, 164, 181, 0.9);
}

.jx-girl-leaks-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: stretch;
}

@media (max-width: 680px) {
    .jx-girl-leaks-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.post-box__stat--date::before {
    content: "\1F4C5";
}

.jx-girl-gallery {
    border-radius: var(--jx-radius-lg);
    border: 1px solid var(--jx-border);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.jx-girl-gallery__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 14px;
    cursor: grab;
}

.jx-girl-gallery__track.is-dragging {
    cursor: grabbing;
}

@media (min-width: 992px) {
    .jx-girl-gallery__track {
        grid-auto-columns: 44%;
    }
}

.jx-girl-gallery__slide {
    scroll-snap-align: start;
    border-radius: var(--jx-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.jx-girl-gallery__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    aspect-ratio: 4 / 5;
}

.jx-girl-gallery__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px 12px;
    color: rgba(154, 164, 181, 0.92);
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.jx-girl-gallery__bar {
    flex: 1 1 auto;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.jx-girl-gallery__bar > span {
    display: block;
    height: 100%;
    width: 10%;
    border-radius: 999px;
    background: linear-gradient(90deg, #b68fff, #7c6bff);
}

.jx-girl-similar {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

@media (min-width: 992px) {
    .jx-girl-similar {
        overflow: visible;
        flex-wrap: wrap;
    }
}

.jx-girl-card {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text);
    min-width: 140px;
    padding: 12px 12px;
    border-radius: var(--jx-radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--jx-border);
    transition: background-color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.jx-girl-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--jx-border-strong);
}

.jx-girl-card:active {
    transform: translateY(1px);
}

.jx-girl-card__name {
    font-weight: 800;
    text-align: center;
}

.jx-girl-seo {
    line-height: 1.8;
    color: rgba(233, 238, 245, 0.92);
}

.jx-girl-archive-header {
    margin-bottom: var(--space-6);
}

.jx-girl-archive-title {
    margin: 0 0 var(--space-4);
    font-size: clamp(1.7rem, 2.3vw, 2.2rem);
    letter-spacing: -0.02em;
}

.jx-girl-archive-types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jx-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--jx-border);
    color: rgba(233, 238, 245, 0.92);
    text-decoration: none;
    font-weight: 800;
}

.jx-pill.is-active,
.jx-pill:hover {
    background: rgba(168, 139, 255, 0.16);
    border-color: rgba(168, 139, 255, 0.35);
    color: var(--text);
}

.jx-girl-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* Sidebar UX */
@media (min-width: 992px) {
    .single #secondary.widget-area {
        position: sticky;
        top: calc(var(--jx-header-h, var(--jx-header-offset)) + var(--space-4));
        align-self: flex-start;
    }
}

.widget-area .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-area .widget li {
    list-style: none;
    margin: 0;
}

.widget-area .widget a {
    color: rgba(233, 238, 245, 0.92);
    text-decoration: none;
}

.widget-area .widget ul a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 10px;
    border-radius: var(--jx-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--jx-border);
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.widget-area .widget ul a:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--jx-border-strong);
}

.widget-area .widget ul a:active {
    transform: translateY(1px);
}

.widget-area .widget .post-date,
.widget-area .widget .rss-date {
    font-size: 0.82rem;
    color: rgba(154, 164, 181, 0.85);
    flex: 0 0 auto;
}

.widget-area .widget .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.widget-area .widget .tagcloud a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(168, 139, 255, 0.12);
    border: 1px solid rgba(168, 139, 255, 0.28);
    color: rgba(233, 238, 245, 0.92);
    font-weight: 700;
    line-height: 1;
}

.widget-area .widget .tagcloud a:hover {
    background: rgba(168, 139, 255, 0.18);
    border-color: rgba(168, 139, 255, 0.38);
}

.widget-area .widget .search-form {
    padding: 10px 12px;
}

.widget-area .widget .search-form .search-submit {
    width: var(--jx-control-sm);
    height: var(--jx-control-sm);
}

/* Single: TOC / media blocks / tables / code */
.single .table-of-contents {
    max-width: 980px;
    margin: 0 auto var(--space-6);
    border-radius: var(--jx-radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--jx-border);
    overflow: hidden;
}

.single .table-of-contents__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
}

.single .table-of-contents__hide {
    font-weight: 900;
    color: var(--text);
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.single .table-of-contents__hide::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(233, 238, 245, 0.65);
    border-bottom: 2px solid rgba(233, 238, 245, 0.65);
    transform: rotate(-45deg);
    transition: transform 0.18s ease;
    margin-top: 2px;
}

.single .table-of-contents.open .table-of-contents__hide::after {
    transform: rotate(45deg);
}

.single .table-of-contents__list {
    margin: 0;
    padding: 10px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single .table-of-contents__list li {
    list-style: none;
    margin: 0;
}

.single .table-of-contents__list a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--jx-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--jx-border);
    color: rgba(233, 238, 245, 0.92);
    text-decoration: none;
}

.single .table-of-contents__list a:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--jx-border-strong);
}

.single .table-of-contents__list .level-2 a {
    padding-left: 22px;
}

.single .table-of-contents__list .level-3 a {
    padding-left: 32px;
}

.single .table-of-contents__list .level-4 a {
    padding-left: 42px;
}

.single .entry-content figure {
    margin-left: 0;
    margin-right: 0;
}

.single .entry-content figcaption,
.single .entry-content .wp-caption-text {
    margin-top: 10px;
    font-size: 0.92rem;
    color: rgba(154, 164, 181, 0.9);
    text-align: center;
}

.single .entry-content .wp-block-image img,
.single .entry-content .wp-block-gallery img,
.single .entry-content .gallery img {
    border-radius: var(--jx-radius-md);
}

.single .entry-content .wp-block-gallery,
.single .entry-content .gallery {
    gap: 12px;
}

.single .entry-content .wp-block-gallery,
.single .entry-content .gallery,
.single .entry-content .wp-block-embed {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.single .entry-content .wp-block-embed__wrapper {
    aspect-ratio: 16 / 9;
    border-radius: var(--jx-radius-md);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--jx-border);
}

.single .entry-content .wp-block-embed__wrapper iframe,
.single .entry-content .wp-block-embed__wrapper video,
.single .entry-content iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* Scrollable tables with gradient indicators (JS wraps tables into .jx-table) */
.single .entry-content .jx-table {
    position: relative;
    max-width: 100%;
    overflow: auto;
    border-radius: var(--jx-radius-md);
    border: 1px solid var(--jx-border);
    background: rgba(255, 255, 255, 0.02);
}

.single .entry-content .jx-table table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    display: table;
}

.single .entry-content .jx-table::before,
.single .entry-content .jx-table::after {
    content: "";
    position: sticky;
    top: 0;
    width: 22px;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.single .entry-content .jx-table::before {
    left: 0;
    background: linear-gradient(90deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0) 100%);
}

.single .entry-content .jx-table::after {
    right: 0;
    background: linear-gradient(270deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0) 100%);
}

.single .entry-content .jx-table.jx-table--show-left::before {
    opacity: 1;
}

.single .entry-content .jx-table.jx-table--show-right::after {
    opacity: 1;
}

/* Copy code button (JS wraps pre into .jx-codeblock) */
.single .entry-content .jx-codeblock {
    position: relative;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.single .entry-content .jx-codeblock pre {
    margin: 0;
    padding-top: 50px;
}

.single .entry-content .jx-copy-code {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--jx-border);
    color: rgba(233, 238, 245, 0.92);
    font-weight: 800;
    cursor: pointer;
}

.single .entry-content .jx-copy-code:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--jx-border-strong);
}


/* FIX: show full image in cards */
.jx-girl-card img{height:auto; max-height:none;}
