/*!
Theme Name: FANZA Review (Vanilla x Heavens Net)
Theme URI: http://1919.local
Description: 超ポップ＆ド派手な高CVR王道アフィリエイトテーマ
Version: 3.0
Author: Shiro
Text Domain: fanza-review
*/

/* ── CSS Variables ── */
:root {
    /* Vanilla Bright Colors */
    --v-pink:    #ff4d85;
    --v-pink-dark: #c70039;
    --v-cyan:    #00d2ff;
    --v-cyan-dark: #0077b6;
    --v-yellow:  #ffd700;
    --v-bg:      #fff5f8;
    
    /* Structure */
    --card-bg:   #ffffff;
    --text-main: #333333;
    --text-sub:  #666666;
    --border:    #ffb3c6;
    
    --f-pop:     'M PLUS Rounded 1c', 'Hiragino Kaku Gothic ProN', sans-serif;
    --f-base:    'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--f-base);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
    background: var(--v-bg);
    /* Heavens net background pattern */
    background-image: url('images/bg-pop.png');
    background-image: image-set(url('images/bg-pop.webp') type('image/webp'), url('images/bg-pop.png') type('image/jpeg'));
    background-size: 300px;
    background-attachment: fixed;
    /* min-width: 1024px; removed for responsive */
}

a { color: var(--v-pink); text-decoration: none; font-weight: bold; }
a:hover { text-decoration: underline; color: var(--v-cyan); }
img { display: block; max-width: 100%; height: auto; }

.site { display: flex; flex-direction: column; min-height: 100vh; position: relative; }

/* ── AD FLOATING (Heavens Net feature) ── */
.ad-floating-left, .ad-floating-right {
    position: fixed;
    top: 120px;
    width: 160px;
    z-index: 100;
}
.ad-floating-left { left: 10px; }
.ad-floating-right { right: 10px; }

.ad-footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    text-align: center;
    background: rgba(255,255,255,0.9);
    border-top: 3px solid var(--v-pink);
    padding: 5px 0;
    display: none;
}
@media (max-width: 768px) {
    .ad-footer-fixed { display: block; }
    .ad-floating-left, .ad-floating-right { display: none; }
}

/* ── HEADER ── */
.site-header {
    background: #fff;
    border-bottom: 5px solid var(--v-pink);

    padding: 15px 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-header-link { transition: opacity 0.2s ease; }
.site-header-link:hover { opacity: 0.7; }

.site-logo {
    font-family: var(--f-pop);
    font-size: 38px;
    font-weight: 900;
    color: var(--v-pink);

    letter-spacing: 2px;
}

.site-logo span { color: var(--v-cyan); }

.site-subtitle {
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    background: var(--v-cyan);
    padding: 3px 15px;
    border-radius: 20px;
    margin-top: -5px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 0px var(--v-cyan-dark);
    letter-spacing: 1px;
}

.header-ad-banner { margin-top: 10px; text-align: center; width: 100%; }

.site-header-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    margin: 18px auto 0;
    max-width: 1080px;
    padding: 10px 14px;
    width: calc(100% - 32px);
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    border: 3px solid var(--v-cyan);
    box-shadow: 8px 8px 0 rgba(255, 0, 128, 0.28);
    overflow: hidden;
}

.site-header-nav a {
    background: linear-gradient(135deg, #fff 0%, #fff7fb 100%);
    border: 2px solid var(--v-pink);
    color: var(--v-pink-dark);
    flex: 0 1 auto;
    font-family: var(--f-pop);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    padding: 9px 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.site-header-nav a:hover {
    background: var(--v-cyan);
    color: #fff;
    transform: translateY(-3px);
}

/* ── LAYOUT ── */
.site-content {
    max-width: 1130px; /* main 720 + sidebar 326 + gap + frame */
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 4px solid var(--v-pink);
    border-radius: 0;

    display: flex;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.main-content { flex: 1; min-width: 0; max-width: 720px; }

.sidebar-right { width: 326px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }

.sidebar-sticky-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    z-index: 3;
}

body.admin-bar .sidebar-sticky-column {
    top: 52px;
}

/* ── SIDEBAR WIDGETS ── */
.sidebar-widget {
    background: #fff;
    border: 3px solid var(--v-cyan);
    border-radius: 0;
    overflow: hidden;

}
.sidebar-widget-title {
    background: var(--v-cyan);
    color: #fff;
    font-family: var(--f-pop);
    font-size: 18px;
    font-weight: 900;
    text-align: left;
    padding: 12px;
    letter-spacing: 1px;

}
.sidebar-widget-body { padding: 15px; text-align: center; }

.sticky-pickup-widget {
    border-color: var(--v-pink);
    box-shadow: 5px 5px 0px -1px #000;
}

.sticky-pickup-widget .sidebar-widget-title {
    background: var(--v-pink);
    font-size: 16px;
    padding: 10px;
}

.sticky-pickup-widget-body {
    padding: 10px;
}

.sticky-pickup-widget-lead {
    background: #fff5f8;
    border: 2px dashed var(--v-pink);
    color: var(--v-pink-dark);
    font-family: var(--f-pop);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.45;
    margin: 0 0 10px;
    padding: 7px;
    text-align: left;
}

.sticky-pickup-mini {
    align-items: center;
    border-bottom: 1px dashed #ddd;
    color: inherit;
    display: grid;
    gap: 9px;
    grid-template-columns: 72px 1fr;
    padding: 9px 0;
    text-decoration: none;
}

.sticky-pickup-mini:last-child {
    border-bottom: none;
}

.sticky-pickup-mini:hover {
    color: inherit;
    text-decoration: none;
}

.sticky-pickup-mini-thumb {
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    border: 2px solid var(--border);
    overflow: hidden;
}

.sticky-pickup-mini-thumb img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.sticky-pickup-mini-empty {
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
}

.sticky-pickup-mini-body {
    min-width: 0;
}

.sticky-pickup-mini-title {
    color: var(--v-pink-dark);
    display: -webkit-box;
    font-family: var(--f-pop);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sticky-pickup-mini-cta {
    color: var(--v-cyan-dark);
    font-family: var(--f-pop);
    font-size: 11px;
    font-weight: 900;
    margin-top: 4px;
}

.sidebar-sticky-ad-widget {
    box-shadow: 5px 5px 0px -1px #000;
}

.sidebar-sticky-ad-body {
    padding: 10px;
    text-align: center;
    line-height: 0;
}

.sidebar-banner img,
.sidebar-banner iframe {
    margin-left: auto;
    margin-right: auto;
}

.sidebar-sticky-ad-body > iframe,
.sidebar-sticky-ad-body > img,
.sidebar-sticky-ad-body > div,
.sidebar-sticky-ad-body > ins,
.sidebar-sticky-ad-body > a,
.sidebar-sticky-ad-body > script {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}

.sidebar-sticky-ad-placeholder {
    background: #f9f9f9;
    border: 2px dashed #ccc;
    color: #999;
    font-size: 13px;
    padding: 20px;
    text-align: center;
}

/* ── ARCHIVE CARDS (Vertical Blog List) ── */
.archive-header {
    font-family: var(--f-pop);
    font-size: 24px;
    font-weight: 900;
    color: var(--v-pink);
    text-align: center;
    border-bottom: 4px dashed var(--v-pink);
    padding-bottom: 10px;
    margin-bottom: 20px;

}

.sticky-pickup {
    background: #fff;
    border: 4px solid var(--v-pink);
    box-shadow: 8px 8px 0px -1px #000;
    margin: 0 0 24px;
    overflow: hidden;
}

.sticky-pickup-link {
    color: inherit;
    display: grid;
    gap: 0;
    grid-template-columns: minmax(180px, 280px) 1fr;
    text-decoration: none;
}

.sticky-pickup-link:hover {
    color: inherit;
    text-decoration: none;
}

.sticky-pickup-media {
    background: #fff0f7;
    border-right: 4px solid var(--v-pink);
    min-height: 260px;
    position: relative;
}

.sticky-pickup-media img {
    height: 100%;
    object-fit: contain;
    object-position: center top;
    width: 100%;
}

.sticky-pickup-badge {
    background: var(--v-yellow);
    border: 3px solid #000;
    color: #000;
    font-family: var(--f-pop);
    font-size: 13px;
    font-weight: 900;
    left: 12px;
    line-height: 1;
    padding: 8px 10px;
    position: absolute;
    top: 12px;
    z-index: 2;
}

.sticky-pickup-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
}

.sticky-pickup-kicker {
    color: var(--v-cyan-dark);
    font-family: var(--f-pop);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
}

.sticky-pickup-title {
    color: var(--v-pink-dark);
    font-family: var(--f-pop);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 12px;
}

.sticky-pickup-excerpt {
    color: #444;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.sticky-pickup-cta {
    align-self: flex-start;
    background: var(--v-pink);
    border: 3px solid #000;
    color: #fff;
    font-family: var(--f-pop);
    font-size: 15px;
    font-weight: 900;
    padding: 8px 16px;
}

.article-list { display: flex; flex-direction: column; gap: 20px; }

.loop-ad-cassette {
    background: #fff;
    border: 3px solid var(--v-cyan);
    box-shadow: 6px 6px 0px -1px #000;
    margin: 0 0 20px;
    padding: 14px;
    position: relative;
    text-align: center;
}

.article-list .loop-ad-cassette {
    margin: 0;
}

.loop-ad-cassette-label {
    background: var(--v-cyan);
    color: #fff;
    display: inline-block;
    font-family: var(--f-pop);
    font-size: 12px;
    font-weight: 900;
    left: 10px;
    line-height: 1;
    padding: 5px 8px;
    position: absolute;
    top: 10px;
}

.loop-ad-cassette-body {
    display: flex;
    justify-content: center;
    min-height: 90px;
}

.loop-ad-cassette iframe,
.loop-ad-cassette img,
.loop-ad-cassette ins {
    max-width: 100%;
}

.loop-ad-cassette img {
    height: auto;
}

.article-preview.list-style .article-preview-link { display: flex; gap: 15px; text-decoration: none; color: inherit; align-items: flex-start; }

.article-preview {
    background: #fff;
    border: 3px solid var(--v-pink);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
    box-shadow: 6px 6px 0px -1px #000;
    padding: 15px;
}
.article-preview:hover { transform: translateY(-5px) scale(1.02); border-color: var(--v-cyan);  }

.article-preview.list-style .article-preview-thumb {
    width: 200px;
    flex-shrink: 0;
    aspect-ratio: 3/4;
    overflow: visible;
    position: relative;
    border: 2px solid var(--border);
    border-radius: 0;
    height: auto;
}
.article-preview-thumb img { width: 100%; height: auto; object-fit: contain; object-position: right top; background: #f0f0f0; }

.article-new-ribbon { position: absolute; top: 0; left: 0; background: var(--v-pink); color: #fff; font-family: var(--f-pop); font-weight: 900; padding: 5px 10px; font-size: 14px; border-bottom-right-radius: 0; border-right: 2px solid #fff; border-bottom: 2px solid #fff; z-index: 2;  }

.article-preview.list-style .article-preview-text { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.article-meta { font-size: 12px; color: #888; font-weight: bold; display: flex; gap: 15px; }

.article-preview-title { font-size: 18px; font-weight: 900; color: var(--v-pink-dark); line-height: 1.4; margin-bottom: 5px; }
.article-preview:hover .article-preview-title { color: var(--v-cyan-dark); text-decoration: underline; }

.article-preview-excerpt { font-size: 14px; color: #444; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.article-read-more { align-self: flex-start; background: var(--v-cyan); color: #fff; font-family: var(--f-pop); font-weight: bold; padding: 6px 15px; border-radius: 0; font-size: 13px; border: 2px solid #fff;  margin-top: 5px; }

/* ── CATEGORY LIST PAGE ── */
body.page-template-page-category-list .site-content {
    display: block;
}

body.page-id-199 .site-content,
.site-content:has(.category-list-page) {
    display: block;
}

body.page-template-page-category-list .main-content {
    max-width: 100%;
    width: 100%;
}

body.page-id-199 .main-content,
.site-content:has(.category-list-page) .main-content {
    max-width: 100%;
    width: 100%;
}

.category-list-page {
    background: #fff;
    border: 4px solid var(--v-pink);
    padding: 24px;
    box-shadow: 8px 8px 0 -1px #000;
}

.category-list-lead {
    color: var(--v-pink-dark);
    font-weight: 900;
    text-align: center;
    margin: -8px 0 28px;
}

.category-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.category-card {
    border: 3px solid var(--v-cyan);
    background: #fff;
    transition: transform 0.2s;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.category-card-link {
    color: inherit;
    display: block;
    height: 100%;
    text-decoration: none;
}

.category-card-thumb {
    aspect-ratio: 3 / 4;
    background: #f0f0f0;
    border-bottom: 3px solid var(--v-cyan);
    overflow: hidden;
}

.category-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
}

.category-card-thumb-placeholder {
    align-items: center;
    color: #aaa;
    display: flex;
    font-family: var(--f-pop);
    font-weight: 900;
    height: 100%;
    justify-content: center;
}

.category-card-body {
    padding: 14px;
}

.category-card-count {
    color: var(--v-cyan-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.category-card-title {
    color: var(--v-pink-dark);
    font-family: var(--f-pop);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
    margin: 0 0 8px;
}

.category-card-representative {
    color: #555;
    display: -webkit-box;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.5;
    margin: 0 0 14px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-card-button {
    background: var(--v-pink);
    border: 2px solid #fff;
    color: #fff;
    display: inline-block;
    font-family: var(--f-pop);
    font-size: 13px;
    font-weight: 900;
    padding: 7px 12px;
}

/* ── SINGLE ARTICLE ── */
.single-article { background: #fff; border-radius: 0; }

.single-article-title {
    font-family: var(--f-pop);
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    background: var(--v-pink);
    padding: 15px 20px;
    border-radius: 0;
    margin-bottom: 20px;


    text-align: center;
    line-height: 1.4;
    border: 2px solid #fff;
}

.single-article-meta { text-align: center; font-weight: bold; color: var(--text-sub); margin-bottom: 20px; }

.single-article-thumb img { width: 100%; border-radius: 10px; border: 4px solid var(--v-yellow);  margin-bottom: 0; }

.single-share-buttons {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 12px 0 24px;
}

.single-share-button {
    align-items: center;
    border: 2px solid #fff;
    color: #fff;
    display: inline-flex;
    font-family: var(--f-pop);
    font-size: 13px;
    font-weight: 900;
    gap: 7px;
    justify-content: center;
    min-height: 42px;
    padding: 8px 9px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.16s ease, filter 0.16s ease;
}

.single-share-button:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.single-share-icon {
    align-items: center;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.55);
    display: inline-flex;
    font-size: 17px;
    height: 24px;
    justify-content: center;
    line-height: 1;
    min-width: 24px;
    padding: 0 5px;
}

.single-share-button-x { background: #111; }
.single-share-button-facebook { background: #1877f2; }
.single-share-button-line { background: #06c755; }
.single-share-button-threads { background: #2b2b2b; }

.single-share-button-copy {
    background: var(--v-pink);
    border-radius: 0;
    cursor: pointer;
}

.single-share-button-copy.is-copied {
    background: var(--v-cyan-dark);
}

.single-share-label {
    line-height: 1.15;
    white-space: nowrap;
}

.single-article-content { font-size: 16px; }
.single-article-content h2 { font-family: var(--f-pop); font-size: 22px; font-weight: 900; color: var(--v-cyan-dark); background: #e0f7fa; border-left: 8px solid var(--v-cyan); padding: 12px 15px; margin: 2em 0 1em; border-radius: 0 10px 10px 0; }
.single-article-content h3 { font-family: var(--f-pop); font-size: 20px; font-weight: 900; color: var(--v-pink-dark); border-bottom: 3px dashed var(--v-pink); padding-bottom: 8px; margin: 1.5em 0 1em; }

/* ── SINGLE ARTICLE BLOCKS (From python generator) ── */
.single-image-gallery { display: flex; flex-direction: column; gap: 16px; align-items: stretch; margin-bottom: 30px; }
.single-image-gallery a.gallery-item { display: block; width: 100%; transition: opacity 0.2s; }
.single-image-gallery img { width: 100%; height: auto; border-radius: 0; border: 4px solid var(--v-yellow); }

.single-video-player { width: 100%; background-color: #000; border: 4px solid var(--v-cyan); margin-bottom: 30px; }
.single-video-player iframe,
.single-video-player video {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
}
.single-video-player video { display: block; }

.single-article-content iframe,
.single-article-content .wp-block-embed__wrapper iframe {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    display: block;
}

.single-article-content .wp-block-embed__wrapper {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: visible;
    aspect-ratio: 16 / 9;
}

.single-article-content .wp-block-embed__wrapper iframe {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

.cta-container {
    background: linear-gradient(135deg, #fff7fb 0%, #e8fbff 100%);
    border: 4px solid var(--v-cyan);
    box-shadow: 8px 8px 0 var(--v-pink);
    margin: 50px 0;
    padding: 28px 22px;
    text-align: center;
}
.cta-heading {
    color: var(--v-pink-dark);
    font-family: var(--f-pop);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 10px;
}
.cta-lead {
    color: #555;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 auto 20px;
    max-width: 560px;
}
.cta-note { margin-top: 16px; font-size: 14px; color: #666; font-weight: bold; }
.pc-only { display: inline; }

.related-works-section { margin: 32px 0; }
.related-works-section h3 { border-left: 5px solid var(--v-pink); padding-left: 10px; color: var(--v-pink-dark); font-size: 18px; margin-bottom: 20px; font-family: var(--f-pop); font-weight: 900; }
.related-works-container { display: flex; flex-direction: column; gap: 16px; }
.related-works-item { display: flex; flex-direction: row; border: 3px solid var(--v-cyan); background: #fff; }
.related-works-img-wrap { width: 240px; flex-shrink: 0; background: #f0f0f0; display: flex; align-items: center; justify-content: center; border-right: 3px solid var(--v-cyan); }
.related-works-img-wrap img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: right top; background: #f0f0f0; }
.related-works-content { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.related-works-title { font-size: 15px; font-weight: bold; color: #333; line-height: 1.5; margin-bottom: 12px; }
.related-works-genres { display: flex; flex-wrap: wrap; gap: 6px; }
.related-works-genre-chip { display: inline-block; background: #fff7fb; border: 1px solid var(--v-pink); color: var(--v-pink-dark); font-size: 12px; font-weight: 900; line-height: 1.25; padding: 3px 7px; }
.related-works-btn { display: block; text-align: center; background: var(--v-pink); color: #fff; text-decoration: none; padding: 6px 12px; font-size: 14px; font-weight: bold; transition: transform 0.1s; }
.related-works-btn:hover { transform: scale(1.05); color: #fff; }
@media (max-width: 600px) {
    .related-works-item { flex-direction: column; }
    .related-works-img-wrap {
        width: 100%;
        border-right: none;
        border-bottom: 3px solid var(--v-cyan);
        height: auto;
        aspect-ratio: auto;
        overflow: visible;
    }
}

.eyecatch-image { display: none; } /* 本文内のアイキャッチは重複するため非表示 */
.eyecatch-image img { display: none; }

/* ── BUTTONS (Vanilla CTA) ── */
.btn-pop { display: block; width: 100%; margin: 22px auto; background: linear-gradient(to bottom, #ff7eb3, #ff4d85); color: #fff !important; text-align: center; font-family: var(--f-pop); font-size: 26px; font-weight: 900; padding: 20px; border-radius: 0; border: 4px solid #fff; position: relative; transition: all 0.2s; }
.btn-pop:hover { transform: scale(1.05); }
.btn-pop:active { transform: translateY(8px) scale(1); }
.btn-pop i { margin-right: 10px; font-size: 32px; vertical-align: middle; }

.btn-sub { display: block; width: 80%; margin: 15px auto; background: linear-gradient(to bottom, #00e1ff, #00b4d8); color: #fff !important; text-align: center; font-family: var(--f-pop); font-size: 18px; font-weight: 900; padding: 15px; border-radius: 0; border: 3px solid #fff; transition: all 0.2s; }
.btn-sub:hover { transform: scale(1.03); }
.btn-sub:active { transform: translateY(6px) scale(1); }

@media (max-width: 768px) {
    .cta-container {
        margin: 36px 0;
        padding: 22px 14px;
        box-shadow: 5px 5px 0 var(--v-pink);
    }
    .cta-heading {
        font-size: 19px;
    }
    .cta-lead {
        font-size: 14px;
    }
    .pc-only {
        display: none;
    }
    .single-share-buttons {
        gap: 6px;
        margin: 10px 0 22px;
    }
    .single-share-button {
        min-height: 40px;
        padding: 8px 4px;
    }
    .single-share-icon {
        font-size: 18px;
    }
    .single-share-label {
        display: none;
    }
    .btn-pop {
        width: 100%;
        font-size: 20px;
        padding: 16px 10px;
    }
    .btn-sub {
        width: 100%;
        font-size: 16px;
        padding: 14px 10px;
    }
}

/* ── CHAT BLOCKS ── */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}
.chat-senpai, .chat-kouhai { display: flex; gap: 15px; margin: 0; align-items: flex-start; }
.chat-kouhai { flex-direction: row-reverse; }

.chat-avatar { width: 65px; height: 65px; border-radius: 50%; background-color: var(--v-yellow); border: 4px solid var(--v-pink); display: flex; align-items: center; justify-content: center; font-size: 0; color: transparent; flex-shrink: 0; background-size: cover; background-position: center; }
.chat-senpai .chat-avatar { background-image: url('images/avatar-senpai.png'); }
.chat-kouhai .chat-avatar { background-color: var(--v-cyan); border-color: #fff; background-image: url('images/avatar-kouhai.png'); }
.chat-narration { text-align: center; color: #888; font-size: 13px; margin: 10px 0; font-weight: bold; }

.chat-bubble { background: #fff; border: 4px solid var(--v-pink); padding: 15px 20px; border-radius: 0; font-weight: 900; position: relative; max-width: 80%;  }
.chat-senpai .chat-bubble { border-top-left-radius: 0; }
.chat-kouhai .chat-bubble { border-top-right-radius: 0; border-color: var(--v-cyan);  background: #f0faff; }

/* ── PAGINATION ── */
.pagination { text-align: center; margin-top: 40px; }
.page-numbers { display: inline-block; padding: 10px 18px; background: #fff; border: 3px solid var(--v-pink); color: var(--v-pink); font-family: var(--f-pop); font-weight: 900; border-radius: 0; margin: 0 5px;  }
.page-numbers.current { background: var(--v-pink); color: #fff; }

/* ── SINGLE FOOTER TAGS / POST NAV ── */
.single-article-tags {
    border-top: 4px dashed #ffe6f0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
    padding-top: 22px;
}

.single-article-tags .post-tag {
    background: #fff;
    border: 2px solid var(--v-cyan);
    color: var(--v-cyan-dark);
    display: inline-block;
    font-family: var(--f-pop);
    font-size: 13px;
    font-weight: 900;
    padding: 8px 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.single-article-tags .post-tag:hover {
    background: var(--v-cyan);
    color: #fff;
    transform: translateY(-3px);
}

.post-nav {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 28px 0 0;
}

.post-nav a {
    background: #fff;
    border: 3px solid var(--v-pink);
    box-shadow: 5px 5px 0 -1px #000;
    color: var(--v-pink-dark);
    display: block;
    font-family: var(--f-pop);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
    padding: 12px 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-nav a:hover {
    border-color: var(--v-cyan);
    color: var(--v-cyan-dark);
    transform: translateY(-3px);
}

.post-nav-next {
    text-align: right;
}

/* ── FOOTER ── */
.footer-tag-cloud-section {
    max-width: 1080px;
    margin: 30px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.footer-tag-cloud-widget {
    width: 100%;
}

.footer-tag-cloud-section .tag-cloud-container {
    justify-content: center;
}

.site-footer { background: var(--v-pink); color: #fff; text-align: center; padding: 30px; margin-top: 50px; font-family: var(--f-pop); border-top: 5px solid #fff;  }

/* ==========================================================
   Sidebar Widgets (Categories, Archives, Tags)
   ========================================================== */
/* Lists (Categories & Archives) */
.sidebar-widget.widget-categories .sidebar-widget-body,
.sidebar-widget.widget-archives .sidebar-widget-body {
    padding: 0;
    text-align: left;
}

.sidebar-widget.widget-categories ul,
.sidebar-widget.widget-archives ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-widget.widget-categories li,
.sidebar-widget.widget-archives li {
    padding: 12px 15px;
    border-bottom: 2px dashed #ffe6f0;
    font-size: 14px;
    color: #888;
    transition: all 0.2s ease;
    font-weight: bold;
}

.sidebar-widget.widget-categories li:last-child,
.sidebar-widget.widget-archives li:last-child {
    border-bottom: none;
}

.sidebar-widget.widget-categories a,
.sidebar-widget.widget-archives a {
    color: var(--v-pink-dark);
    text-decoration: none;
    font-weight: 900;
}

.sidebar-widget.widget-categories li:hover,
.sidebar-widget.widget-archives li:hover {
    background-color: #fff0f5;
    padding-left: 20px;
}

.sidebar-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.sidebar-nav-list li {
    border-bottom: 2px dashed #ffe6f0;
}

.sidebar-nav-list li:last-child {
    border-bottom: none;
}

.sidebar-nav-list a {
    color: var(--v-pink-dark);
    display: block;
    font-family: var(--f-pop);
    font-size: 15px;
    font-weight: 900;
    padding: 12px 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-nav-list a:hover {
    background: #fff0f5;
    color: var(--v-cyan-dark);
    padding-left: 20px;
}

/* Actress archive/detail */
.actress-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.actress-card {
    background: #fff;
    border: 3px solid var(--v-pink);
    box-shadow: 5px 5px 0 -1px #000;
    transition: transform 0.2s;
}

.actress-card:hover {
    transform: translateY(-4px) scale(1.02);
}

.actress-card-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.actress-card-thumb {
    aspect-ratio: 3 / 4;
    background: #f0f0f0;
    border-bottom: 3px solid var(--v-pink);
    overflow: hidden;
}

.actress-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
}

.actress-card-thumb-placeholder {
    align-items: center;
    background:
        radial-gradient(circle at 50% 34%, #d7dbe1 0 17%, transparent 18%),
        radial-gradient(ellipse at 50% 88%, #d7dbe1 0 34%, transparent 35%),
        linear-gradient(135deg, #f7f8fa, #eef1f5);
    color: transparent;
    display: flex;
    height: 100%;
    justify-content: center;
    position: relative;
}

.actress-card-thumb-placeholder::after {
    border: 2px dashed #cdd3dc;
    content: "";
    inset: 12px;
    position: absolute;
}

.actress-card-title {
    color: var(--v-pink-dark);
    font-family: var(--f-pop);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
    margin: 0;
    padding: 12px 8px;
    text-align: center;
}

.article-actress-cassette-wrap {
    display: grid;
    gap: 12px;
    margin: 24px 0 30px;
}

.article-actress-cassette {
    align-items: center;
    background: #fff;
    border: 3px solid var(--v-cyan);
    box-shadow: 5px 5px 0 var(--v-pink);
    color: inherit;
    display: grid;
    gap: 14px;
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 12px;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.article-actress-cassette:hover {
    color: inherit;
    transform: translateY(-2px);
}

.article-actress-cassette-thumb {
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    border: 3px solid var(--v-pink);
    border-radius: 50%;
    overflow: hidden;
}

.article-actress-cassette-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: right top;
    width: 100%;
}

.article-actress-cassette-body {
    min-width: 0;
}

.article-actress-cassette-label {
    color: var(--v-cyan-dark);
    font-family: var(--f-pop);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 4px;
}

.article-actress-cassette-name {
    color: var(--v-pink-dark);
    font-family: var(--f-pop);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 6px;
}

.article-actress-cassette-meta {
    color: #555;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.actress-profile-card {
    align-items: stretch;
    background: #fff;
    border: 4px solid var(--v-pink);
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    padding: 18px;
}

.actress-profile-thumb {
    aspect-ratio: 3 / 4;
    background: #f0f0f0;
    flex-shrink: 0;
    overflow: hidden;
    width: 220px;
}

.actress-profile-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
}

.actress-profile-body {
    flex: 1;
    min-width: 0;
}

.actress-profile-excerpt {
    color: #555;
    font-weight: bold;
    line-height: 1.7;
}

.actress-profile-facts {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.actress-profile-fact {
    background: #fff7fb;
    border: 2px solid var(--v-cyan);
    display: grid;
    gap: 4px;
    padding: 10px 12px;
}

.actress-profile-fact-label {
    color: var(--v-cyan-dark);
    font-family: var(--f-pop);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.actress-profile-fact-value {
    color: #333;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* Tag Cloud */
.sidebar-widget.widget-tags .sidebar-widget-body {
    text-align: left;
    padding: 15px;
}

.tag-cloud-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud-container a {
    display: inline-block;
    background: #fff;
    color: var(--v-cyan);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px !important;
    font-weight: 900;
    text-decoration: none;
    border: 2px solid var(--v-cyan);
    transition: all 0.2s ease;
}

.tag-cloud-container a:hover {
    background: var(--v-cyan);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 225, 255, 0.3);
}

/* ==========================================================
   Responsive (Mobile)
   ========================================================== */
@media (max-width: 768px) {
    .site-header {
        padding-bottom: 12px;
    }

    .site-header-nav {
        gap: 5px;
        margin-top: 12px;
        padding: 7px 6px;
        width: calc(100% - 18px);
        box-shadow: 5px 5px 0 rgba(255, 0, 128, 0.24);
        overflow: hidden;
        justify-content: flex-start;
        padding-bottom: 8px;
    }

    .site-header-nav a {
        border-width: 2px;
        flex: 1 1 0;
        font-size: 11px;
        letter-spacing: -0.04em;
        padding: 7px 2px;
        text-align: center;
        text-overflow: ellipsis;
        overflow: hidden;
        min-width: 0;
    }

    /* サイト全体のレイアウト */
    .site-content {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }
    .main-content {
        max-width: 100%;
    }
    .sidebar-right {
        width: 100%;
    }

    .sidebar-sticky-column {
        position: static;
    }

    .category-list-page {
        padding: 14px;
    }

    .category-card-grid {
        grid-template-columns: 1fr;
    }

    .category-card-thumb {
        aspect-ratio: auto;
        overflow: visible;
    }

    .category-card-thumb img {
        height: auto;
        object-fit: contain;
    }

    .actress-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .actress-card-thumb {
        aspect-ratio: auto;
        overflow: visible;
    }

    .actress-card-thumb img {
        height: auto;
        object-fit: contain;
    }

    .actress-profile-card {
        flex-direction: column;
        padding: 14px;
    }

    .actress-profile-facts {
        grid-template-columns: 1fr;
    }

    .article-actress-cassette {
        grid-template-columns: 76px minmax(0, 1fr);
        padding: 10px;
    }

    .article-actress-cassette-name {
        font-size: 18px;
    }

    .article-actress-cassette-meta {
        font-size: 13px;
    }

    .actress-profile-thumb {
        aspect-ratio: auto;
        width: 100%;
        overflow: visible;
    }

    .actress-profile-thumb img {
        height: auto;
        object-fit: contain;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav-next {
        text-align: left;
    }

    .sticky-pickup-link {
        grid-template-columns: 1fr;
    }

    .sticky-pickup-media {
        border-right: none;
        border-bottom: 4px solid var(--v-pink);
        min-height: 0;
    }

    .sticky-pickup-media img {
        height: auto;
    }

    .sticky-pickup-body {
        padding: 16px;
    }

    .sticky-pickup-title {
        font-size: 20px;
    }

    /* 記事一覧カセット（サムネイルとテキストを縦並びに） */
    .article-preview.list-style .article-preview-link {
        flex-direction: column;
    }
    .article-preview.list-style .article-preview-thumb {
        width: 100%;
        height: auto !important;
        aspect-ratio: auto !important;
        border: none;
    }
    .article-preview.list-style .article-preview-thumb img {
        width: 100% !important;
        height: auto !important;
        display: block;
        object-fit: contain !important;
        background: #f0f0f0;
        object-position: right top !important;
    }

    /* サイドバーおすすめ記事（ランダム） */
    .widget-recommend a {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .widget-recommend a > div:first-child {
        width: 100% !important;
        flex-shrink: 0 !important;
    }
.widget-recommend a img {
        width: 100% !important;
        height: auto !important;
        display: block;
        object-fit: contain !important;
        object-position: right top !important;
        background: #f0f0f0;
    }
    
    /* 関連作品の縦並び */
    .related-works-item {
        flex-direction: column;
    }
    .related-works-img-wrap {
        width: 100%;
        border-right: none;
        border-bottom: 3px solid var(--v-cyan);
        height: auto !important;
        aspect-ratio: auto !important;
        overflow: visible !important;
    }
    .related-works-img-wrap img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: right top !important;
        background: #f0f0f0;
    }

    .single-article-content iframe,
    .single-article-content .wp-block-embed,
    .single-article-content .wp-block-embed__wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    .single-article-content .wp-block-embed__wrapper {
        height: auto;
        overflow: visible;
        aspect-ratio: 16 / 9;
    }

    .single-article-content .wp-block-embed__wrapper iframe {
        width: 100% !important;
        height: auto !important;
    }
}

/* ==========================================================
   Curated Article: shigle-kikaku
   ========================================================== */

.shigle-kikaku p {
    line-height: 1.9;
    margin: 0 1.2em 1.1em;
    letter-spacing: 0.01em;
}

.shigle-kikaku h2 {
    margin: 1.5em 0 0.8em;
    line-height: 1.45;
}

.shigle-kikaku .curated-final-cta-wrap {
    margin-top: 28px;
}

.shigle-kikaku .curated-final-cta-wrap .cta-container {
    margin: 0;
}

.shigle-kikaku .kikaku-pics a{
   display: block;
   margin-bottom: 24px;
   text-align: left;
}

.shigle-kikaku .kikaku-pics img{
   width: 100%;  
}

.shigle-kikaku .related-works-item{
   margin-bottom: 16px;
}

@media (max-width: 768px) {
    .shigle-kikaku .kikaku-swipe-gallery {
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        scroll-snap-type: y mandatory;
        height: min(72vh, 560px);
        border-width: 4px;
        border-radius: 10px;
    }

    .shigle-kikaku .kikaku-swipe-item {
        flex: 0 0 100%;
        min-height: 100%;
        scroll-snap-align: start;
    }

    .shigle-kikaku .kikaku-swipe-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .shigle-kikaku p {
        line-height: 1.85;
    }
}

/* --------------------------------------------------------------------------
   Embed hard reset: avoid clipping regardless of WP core/gutenberg inline styles
   -------------------------------------------------------------------------- */
.single-article-content iframe,
.entry-content iframe,
.single-post .entry-content iframe,
.single-post iframe,
.single-video-player iframe,
.single-video-player video,
.wp-block-embed iframe,
figure.wp-block-embed iframe,
.wp-block-embed__wrapper {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    max-height: none !important;
}

.wp-block-embed,
.wp-block-embed__wrapper,
figure.wp-block-embed {
    overflow: visible !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
}

.single-article .single-article-content,
.single-post .entry-content {
    overflow: visible !important;
}

/* --------------------------------------------------------------------------
   Thumbnail anti-crop hardening
   -------------------------------------------------------------------------- */
.article-preview-thumb,
.related-works-img-wrap {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
}

.article-preview-thumb img,
.related-works-img-wrap img,
.widget-recommend a img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: right top !important;
    display: block !important;
    background: #f0f0f0;
}

.widget-recommend a {
    overflow: visible !important;
}

.widget-recommend a > div:first-child {
    height: auto !important;
    overflow: visible !important;
}

/* --------------------------------------------------------------------------
   Video hard reset for sample iframe/video blocks
   -------------------------------------------------------------------------- */
.single-video-player,
.single-video-player iframe,
.single-video-player video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    display: block !important;
    overflow: visible !important;
    min-height: 0 !important;
    max-height: none !important;
    position: static !important;
}

.single-article-content .wp-block-embed,
.single-article-content .wp-block-embed__wrapper,
.single-article-content figure.wp-block-embed {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    overflow: visible !important;
    position: static !important;
}

@media (max-width: 768px) {
    .single-video-player {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        height: auto !important;
    }

    .single-video-player,
    .single-video-player iframe,
    .single-video-player video {
        aspect-ratio: 16 / 9 !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }
}

/* --------------------------------------------------------------------------
   Last resort: ensure embedded videos are not vertically clipped
   -------------------------------------------------------------------------- */
.single-video-player,
.single-article-content .wp-block-embed__wrapper,
.single-article-content figure.wp-block-embed {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 56.25% !important;
    height: 0 !important;
    overflow: visible !important;
    margin: 0 auto 30px !important;
}

.single-video-player iframe,
.single-video-player video,
.single-article-content .wp-block-embed__wrapper iframe,
.single-article-content figure.wp-block-embed iframe,
.single-article-content figure.wp-block-embed video,
.single-article-content .wp-block-embed iframe,
.single-article-content .wp-block-embed video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    display: block !important;
    border: 0 !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .single-video-player,
    .single-article-content .wp-block-embed__wrapper,
    .single-article-content figure.wp-block-embed {
        padding-top: 56.25% !important;
        margin-bottom: 24px !important;
    }
}

/* --------------------------------------------------------------------------
   DMM litevideo dedicated wrapper
   -------------------------------------------------------------------------- */
.single-video-player.single-video-player-dmm,
.single-video-player-dmm {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 56.25% !important;
    height: 0 !important;
    overflow: visible !important;
    margin: 0 auto 30px !important;
}

.single-video-player.single-video-player-dmm .dmm-video-iframe,
.single-video-player .dmm-video-iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
}

/* --------------------------------------------------------------------------
   Final media display rules
   -------------------------------------------------------------------------- */
.single-video-player,
.single-video-player.single-video-player-dmm,
.single-video-player-dmm,
.single-article-content div:has(> iframe[src*="dmm.co.jp/service/digitalapi/-/html5_player"]) {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    aspect-ratio: 3 / 2 !important;
    overflow: visible !important;
    margin: 0 auto 30px !important;
}

.single-video-player iframe,
.single-video-player video,
.single-video-player .dmm-video-iframe,
.single-article-content iframe[src*="dmm.co.jp/service/digitalapi/-/html5_player"] {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 2 !important;
    border: 0 !important;
}

.article-preview.list-style .article-preview-thumb,
.related-works-img-wrap,
.widget-recommend a > div:first-child {
    width: 200px !important;
    flex-shrink: 0 !important;
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #f0f0f0 !important;
}

.article-preview.list-style .article-preview-thumb > a,
.related-works-img-wrap > a,
.widget-recommend a > div:first-child > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.article-preview.list-style .article-preview-thumb img,
.related-works-img-wrap img,
.widget-recommend a img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: right top !important;
    background: #f0f0f0 !important;
}

@media (max-width: 768px) {
    .article-preview.list-style .article-preview-thumb,
    .related-works-img-wrap,
    .widget-recommend a > div:first-child {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        overflow: visible !important;
    }

    .article-preview.list-style .article-preview-thumb > a,
    .related-works-img-wrap > a,
    .widget-recommend a > div:first-child > a {
        height: auto !important;
    }

    .article-preview.list-style .article-preview-thumb img,
    .related-works-img-wrap img,
    .widget-recommend a img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: right top !important;
    }
}

/* --------------------------------------------------------------------------
   Related works thumbnail final override
   PC: 3:4 frame, crop from right top. SP: natural full-width image.
   -------------------------------------------------------------------------- */
@media (min-width: 769px) {
    .single-article-content .related-works-section .related-works-img-wrap,
    .single-post .related-works-section .related-works-img-wrap {
        align-items: flex-start !important;
        aspect-ratio: 3 / 4 !important;
        background: #f0f0f0 !important;
        display: flex !important;
        flex-shrink: 0 !important;
        height: auto !important;
        justify-content: flex-end !important;
        overflow: hidden !important;
        width: 240px !important;
    }

    .single-article-content .related-works-section .related-works-img-wrap img,
    .single-post .related-works-section .related-works-img-wrap img {
        display: block !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: right top !important;
        width: 100% !important;
    }
}
