/**
 * Single App Page Styles - LiteAPKs Inspired
 *
 * @package RelaxModAPK
 */

/* ============================================
   APP HERO BANNER — LiteAPKs Exact Match
   ============================================ */
.single-hero {
    position: relative;
    overflow: hidden;
    background: #202124;
}

/* Banner image (uses <img> tag, not bg-image) */
.single-hero .hero-bg {
    position: relative;
    width: 100%;
}

.single-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* DESKTOP: banner absolute, fixed height, app-info on top */
@media (min-width: 769px) {
    .single-hero {
        min-height: 600px;
    }

    .single-hero .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 420px;
        z-index: 0;
    }

    .single-hero .hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(to bottom,
                rgba(32, 33, 36, 0.2) 0%,
                rgba(32, 33, 36, 0.5) 50%,
                rgba(32, 33, 36, 0.9) 60%,
                #202124 100%);
    }

    .app-info-section {
        position: relative;
        z-index: 2;
        padding-top: 180px !important;
        background: transparent !important;
    }
}

/* MOBILE: stacked, banner then info, overlap */
@media (max-width: 768px) {
    .single-hero .hero-bg {
        aspect-ratio: 16/9;
    }

    .single-hero .hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                transparent 20%,
                rgba(32, 33, 36, 0.7) 70%,
                #202124 100%);
    }

    .app-info-section {
        margin-top: -72px;
    }
}

/* ============================================
   APP INFO SECTION (over hero)
   ============================================ */
.app-info-section {
    color: #fff;
    padding: 24px 0 32px;
    position: relative;
    z-index: 2;
}

/* Breadcrumbs on banner */
.app-info-breadcrumbs {
    margin-bottom: 20px;
}

.app-info-breadcrumbs .breadcrumbs-list li,
.app-info-breadcrumbs .breadcrumbs-list li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.app-info-breadcrumbs .breadcrumbs-list li a:hover {
    color: #7bbf3a;
}

.app-info-breadcrumbs .breadcrumbs-list li:last-child {
    color: #e8710a;
}

/* App Info Row */
.app-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.app-info-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.app-info-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info-text {
    flex: 1;
    min-width: 0;
}

.app-info-text h1 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
    color: #fff;
}

.app-info-text .developer {
    font-size: 14px;
    font-weight: 600;
}

.app-info-text .developer a {
    color: #7bbf3a;
    text-decoration: none;
}

.app-info-text .developer a:hover {
    text-decoration: underline;
}

/* Badges */
.app-badges {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.app-badge--installer {
    background: #e8710a;
}

.app-badge--editors {
    background: #2e7d32; /* Darker green */
}

.app-badge--mod {
    background: #b71c1c; /* Darker red for accessibility */
}

.app-badge--offline {
    background: #1565c0; /* Darker blue */
}

.app-badge--online {
    background: #1565c0; /* Darker blue */
}

.app-badge--paid {
    background: #00897b;
}

/* MOD Features line */
.sub-info {
    margin-top: 20px;
    font-style: italic;
    color: #e8710a;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Short description */
.short-desc {
    margin-top: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
    line-height: 1.5;
    max-width: 700px;
}

/* Stats Row */
.app-stats {
    display: flex;
    justify-content: flex-start;
    margin-top: 28px;
}

.app-stat {
    flex: 0 0 auto;
    min-width: 80px;
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.app-stat:first-child {
    padding-left: 0;
}

.app-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.app-stat .value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.app-stat .label {
    font-size: 12px;
    color: #9aa0a6;
    margin-top: 2px;
}

.app-stat .info-bar-stars {
    color: #e8710a;
    letter-spacing: 1px;
}

/* CTA Download Button - Full width green */
.app-cta {
    margin-top: 24px;
}

.btn-install {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background: #2e7d32; /* Darker green */
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    transition: background 0.2s, transform 0.2s;
    text-align: center;
    text-decoration: none;
    gap: 8px;
}

.btn-install:hover {
    background: #6aaa2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 191, 58, 0.35);
    color: #fff !important;
}

.app-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.app-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    text-decoration: none;
}

.app-action-btn.text-primary {
    color: #86d13f; /* Brighter for dark background */
}

.app-action-btn.text-orange {
    color: #e8710a;
}

.app-action-btn:hover {
    text-decoration: underline;
}

/* Desktop: bigger icon, title, constrained button */
@media (min-width: 769px) {
    .app-info-icon {
        width: 100px;
        height: 100px;
    }

    .app-info-text h1 {
        font-size: 28px;
    }

    .btn-install {
        max-width: 320px;
    }

    .app-actions {
        justify-content: flex-start;
    }
}

/* ============================================
   APK INFO BAR (6-column stats)
   ============================================ */
.apk-info-bar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 20px 0;
}

.apk-info-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    text-align: center;
}

.apk-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border-right: 1px solid #eee;
    position: relative;
}

.apk-info-item:last-child {
    border-right: none;
}

.apk-info-item .info-label {
    font-size: 0.7rem;
    color: #444; /* Darker for better contrast on white */
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    font-weight: 700;
}

.apk-info-item .info-icon {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 4px;
    display: none;
}

.apk-info-item .info-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #222;
    line-height: 1.2;
}

.apk-info-item .info-sub {
    font-size: 0.7rem;
    color: #555;
    margin-top: 2px;
    font-weight: 500;
}

.apk-info-item .info-value.genre-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.apk-info-item .info-value.genre-value .genre-icon {
    font-size: 1.5rem;
    color: #555;
}

.apk-info-item .info-value.genre-value .genre-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #185abc; /* Accessible blue on white */
}

.apk-info-item .info-value.dev-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.apk-info-item .info-value.dev-value .dev-icon {
    font-size: 1.5rem;
    color: #555;
}

.apk-info-item .info-value.dev-value .dev-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

/* ============================================
   CONTENT TABS — LiteAPKs Style
   ============================================ */
.app-tabs-nav {
    background: #fff;
    border-bottom: 2px solid #dadce0;
    position: sticky;
    top: 60px;
    z-index: 100;
}

.content-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.content-tabs::-webkit-scrollbar {
    display: none;
}

.content-tab {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    color: #5f6368;
    cursor: pointer;
    border: none;
    background: none;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s;
    text-transform: none;
}

.content-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.2s;
}

.content-tab:hover {
    color: #202124;
}

.content-tab.active {
    color: #2e7d32; /* Darker for accessibility on white */
}

.content-tab.active::after {
    background: #2e7d32;
}

/* ============================================
   SINGLE APP CONTENT (Light theme for content)
   ============================================ */
.single-app-content-area {
    background: #ffffff;
    padding: 0 0 40px;
    min-height: 60vh;
}

.single-app-main {
    background: #fff;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.single-app-main .post-content {
    background: transparent;
    border: none;
    padding: 0;
    color: #333;
}

.single-app-main .post-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: #202124;
    border-left: 4px solid #e8710a;
    padding-left: 0.75rem;
    line-height: 1.3;
}

.single-app-main .post-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: #202124;
    border-left: 3px solid #e8710a;
    padding-left: 0.75rem;
    line-height: 1.3;
}

.single-app-main .post-content p {
    margin: 0 0 12px;
    color: #3c4043;
    line-height: 1.7;
    font-size: 1rem;
}

.single-app-main .post-content ul,
.single-app-main .post-content ol {
    margin: 1rem 0 1.25rem 1.5rem;
    padding-left: 0;
}

.single-app-main .post-content li {
    color: #5a5b5c;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

.single-app-main .post-content blockquote {
    border-left: 4px solid #e8710a;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #5f6368;
}

.single-app-main .post-content blockquote p {
    color: #444;
}


/* VIP / MOD Badge in content */
.content-mod-badge {
    display: inline-flex;
    padding: 4px 12px;
    background: #00875a; /* Darker for accessibility with white text */
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin: 8px 0 20px;
}

/* What's New Section */
.whats-new-section {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    color: black;
}

.whats-new-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.whats-new-section p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.7;
}

/* ============================================
   LARGE DOWNLOAD BUTTON (Center)
   ============================================ */
.download-section-large {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin: 24px 0;
}

.btn-download-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #8b1a1a, #c62828);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 24px rgba(198, 40, 40, 0.3);
}

.btn-download-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(198, 40, 40, 0.45);
    color: #fff;
    background: linear-gradient(135deg, #c62828, #8b1a1a);
}

.btn-download-large i {
    font-size: 1.3em;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
    border-radius: 50%;
}

.download-free-text {
    font-size: 0.8rem;
    color: #888;
    margin-top: 12px;
    font-weight: 500;
}

/* ============================================
   DOWNLOAD LINK INPUT AREA
   ============================================ */
.download-link-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.download-link-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-link-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.download-link-input-group input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #333;
    background: #f9f9f9;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--rm-font-mono);
}

.download-link-input-group input:focus {
    border-color: var(--rm-accent-secondary);
}

.download-link-input-group .btn-copy-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    background: var(--rm-accent-secondary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.download-link-input-group .btn-copy-link:hover {
    background: var(--rm-accent-secondary-hover);
}

/* ============================================
   SIDEBAR IN SINGLE APP (Light theme)
   ============================================ */
.single-app-content-area .sidebar .widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    color: #333;
}

.single-app-content-area .sidebar .widget-title {
    color: #222;
    border-bottom-color: #eee;
}

.single-app-content-area .sidebar .categories-widget-list li a {
    color: #555;
}

.single-app-content-area .sidebar .categories-widget-list li a:hover {
    color: var(--rm-accent-secondary);
    background: rgba(59, 130, 246, 0.06);
}

.single-app-content-area .sidebar .categories-widget-list li a .count {
    background: #f0f0f0;
    color: #888;
}

.single-app-content-area .sidebar .popular-app-item .app-info h4 {
    color: #333;
}

.single-app-content-area .sidebar .popular-app-item .app-info span {
    color: #888;
}

.single-app-content-area .sidebar .popular-app-item:hover {
    background: #f8f8f8;
    border-radius: 6px;
}

.single-app-content-area .sidebar .post-tags a {
    background: #f0f0f0;
    color: #555;
    border-color: #e0e0e0;
}

.single-app-content-area .sidebar .post-tags a:hover {
    background: var(--rm-accent-secondary);
    color: #fff;
    border-color: var(--rm-accent-secondary);
}

/* ============================================
   RELATED POSTS ON SINGLE (Light)
   ============================================ */
.single-app-content-area .related-posts-section .section-title {
    color: #222;
}

.single-app-content-area .related-posts-section .app-card {
    background: #fff;
    border-color: #e8e8e8;
}

.single-app-content-area .related-posts-section .app-card:hover {
    border-color: var(--rm-accent-secondary);
    background: #fafafa;
}

.single-app-content-area .related-posts-section .app-card-title {
    color: #333;
}

.single-app-content-area .related-posts-section .app-card-category {
    color: #888;
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */
@media (max-width: 992px) {
    .apk-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .apk-info-item:nth-child(3) {
        border-right: none;
    }

    .apk-info-item:nth-child(n+4) {
        border-top: 1px solid #eee;
    }

    .app-hero-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .app-hero-banner {
        min-height: 280px;
    }

    .app-hero-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }

    .app-hero-title {
        font-size: 1.15rem;
    }

    .app-quick-meta {
        gap: 12px;
    }

    .app-quick-meta .meta-separator {
        display: none;
    }

    .single-app-main {
        padding: 20px 16px;
    }

    .btn-download-large {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .download-link-input-group {
        flex-direction: column;
    }

    .download-link-input-group input {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .apk-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apk-info-item {
        border-right: none;
    }

    .apk-info-item:nth-child(odd) {
        border-right: 1px solid #eee;
    }

    .apk-info-item:nth-child(n+3) {
        border-top: 1px solid #eee;
    }

    .app-identity {
        gap: 14px;
    }

    .app-hero-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }

    .app-hero-title {
        font-size: 1.05rem;
    }

    .app-hero-badges .badge-editors-choice,
    .app-hero-badges .badge-mod-type {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .app-hero-content {
        padding: 30px 0 20px;
    }

    .app-tabs-nav .nav-tabs .nav-link {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* ============================================
   READ MORE FADE + TOGGLE
   ============================================ */
.post-content-wrapper {
    position: relative;
    transition: max-height 0.4s ease;
}

.read-more-fade {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 2;
}

.read-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #185abc; /* Accessible blue */
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin: 12px 0 20px;
    border: none;
    background: none;
    padding: 0;
    transition: color 0.2s, gap 0.2s;
}

.read-more-toggle:hover {
    color: #1d4ed8;
    gap: 8px;
}

/* ============================================
   USER RATING SECTION — Reference Match
   ============================================ */
.user-rating-section {
    text-align: center;
    padding: 40px 20px;
    margin: 30px 0;
    background: transparent;
    /* Changed to match image background */
}

.rating-display-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.rating-big-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #202124;
    line-height: 1.1;
    margin: 0;
}

.rating-stars-large {
    display: flex;
    gap: 2px;
    font-size: 1.5rem;
    color: #e8710a;
    /* LiteAPKs Orange */
}

.rating-count-text {
    font-size: 12px;
    color: #5f6368; /* Darker gray for contrast */
    font-weight: 500;
}

.user-vote-area {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #dadce0;
}

.vote-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: #dadce0;
}

.vote-star:hover,
.vote-star.active {
    color: #e8710a;
}

/* ============================================
   COMMENTS SECTION — LiteAPKs Style
   ============================================ */
.comments-area-custom {
    margin-top: 30px;
}

.comments-title-custom {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}

.comments-title-custom i {
    color: var(--rm-accent);
}

.comments-title-custom .comments-count {
    color: #888;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Comment Form */
.comment-form-custom {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.cf-textarea-wrap textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    outline: none;
    transition: border-color 0.2s;
    color: #333;
    background: #fff;
}

.cf-textarea-wrap textarea:focus {
    border-color: var(--rm-accent);
    box-shadow: 0 0 0 2px rgba(0, 214, 143, 0.1);
}

.cf-textarea-wrap textarea::placeholder {
    color: #aaa;
}

.cf-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.cf-field input {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    color: #333;
    transition: border-color 0.2s;
}

.cf-field input:focus {
    border-color: var(--rm-accent);
}

.cf-field input::placeholder {
    color: #aaa;
}

.cf-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.cf-send-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #00875a; /* Darker for accessibility with white text */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cf-send-btn:hover {
    background: #00b377;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 214, 143, 0.3);
}

/* Comment List */
.comment-list-custom {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-item-custom {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
}

.comment-item-custom:last-child {
    border-bottom: none;
}

.comment-body-custom {
    display: block;
}

.comment-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.comment-author-area {
    display: flex;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.comment-avatar-custom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.comment-author-info {
    flex: 1;
    min-width: 0;
}

.comment-author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--rm-accent-secondary);
    display: block;
    margin-bottom: 2px;
}

.comment-text-custom,
.comment-text-custom p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.comment-meta-right {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.comment-date-custom {
    font-size: 0.75rem;
    color: #999;
    white-space: nowrap;
}

.comment-reply-custom .comment-reply-link {
    font-size: 0.75rem;
    color: #888;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: color 0.2s;
}

.comment-reply-custom .comment-reply-link:hover {
    color: var(--rm-accent-secondary);
}

/* Nested / Reply comments */
.comment-item-custom .children {
    list-style: none;
    padding-left: 40px;
    margin: 0;
}

/* ============================================
   SCREENSHOT GALLERY SCROLL
   ============================================ */
.screenshots-scroll::-webkit-scrollbar {
    height: 6px;
}

.screenshots-scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.screenshots-scroll::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.screenshot-card img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover img {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* ============================================
   RESPONSIVE — COMMENTS & RATINGS
   ============================================ */
@media (max-width: 768px) {
    .cf-fields-row {
        grid-template-columns: 1fr;
    }

    .comment-header-custom {
        flex-direction: column;
    }

    .comment-meta-right {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }

    .rating-big-number {
        font-size: 2.5rem;
    }

    .rating-stars-large {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .comment-form-custom {
        padding: 16px;
    }

    .comment-item-custom .children {
        padding-left: 20px;
    }

    .user-rating-section {
        padding: 24px 16px;
    }
}

/* ============================================
   DATA SAFETY SECTION
   ============================================ */
.data-safety-section {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.data-safety-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #202124;
    margin: 0 0 8px;
}

.data-safety-intro {
    font-size: 0.875rem;
    color: #5f6368;
    margin: 0 0 24px;
    line-height: 1.5;
}

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

.data-safety-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.data-safety-item i {
    font-size: 1.25rem;
    color: #5f6368;
    width: 24px;
    text-align: center;
}

.data-safety-item span {
    font-size: 0.875rem;
    color: #3c4043;
    line-height: 1.4;
}


/* ============================================
   SCREENSHOT GALLERY
   ============================================ */
.screenshots-gallery {
    background: #fff;
    padding: 24px 0;
    border-bottom: 1px solid #e8eaed;
}

.screenshots-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 16px 12px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

/* Hide scrollbar */
.screenshots-scroll::-webkit-scrollbar {
    display: none;
}

.screenshots-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 170px;
    cursor: zoom-in;
    scroll-snap-align: start;
    transition: transform 0.2s;
}

.screenshot-item:hover {
    transform: translateY(-2px);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e8eaed;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

@media (max-width: 768px) {
    .data-safety-section {
        padding: 16px;
        margin: 24px 0;
    }
}