/* ========================================
   FETISH GUIDE - Single Template Styles
   ======================================== */

/* === HERO HEADER === */
.guide-hero {
    position: relative;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0a14 40%, #0f0a12 100%);
    border-bottom: 1px solid rgba(236, 27, 97, 0.15);
    padding: 50px 0;
    overflow: hidden;
}

/* Subtle radial glow */
.guide-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(236, 27, 97, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.guide-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Two-column layout when image exists */
.guide-hero-inner.has-image {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Text column */
.guide-hero-text {
    flex: 1;
    min-width: 0;
}

/* Centered when no image */
.guide-hero-inner:not(.has-image) .guide-hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* "CFV Guide" label */
.guide-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ec1b61;
    background: rgba(236, 27, 97, 0.08);
    border: 1px solid rgba(236, 27, 97, 0.2);
    padding: 6px 18px;
    border-radius: 3px;
    margin-bottom: 16px;
}

/* Guide title */
.guide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 0 0;
}

/* Accent line */
.guide-hero-accent {
    width: 50px;
    height: 2px;
    background: #ec1b61;
    margin: 18px 0 16px;
}

.guide-hero-inner:not(.has-image) .guide-hero-accent {
    margin: 18px auto 16px;
}

/* Subtitle / meta description */
.guide-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.01em;
}

.guide-hero-inner:not(.has-image) .guide-subtitle {
    max-width: 650px;
    margin: 0 auto;
}

/* Image column */
.guide-hero-image-wrap {
    flex: 0 0 auto;
}

.guide-hero-image-wrap img {
    display: block;
    max-width: 280px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(236, 27, 97, 0.1);
}


/* === ARTICLE BODY === */
.guide-article {
    padding: 0 !important;
    margin-top: 0;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* Content area */
.guide-content {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85) !important;
}

.guide-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff !important;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.01em;
}

.guide-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #d5d5d5 !important;
    margin: 2rem 0 0.75rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(236, 27, 97, 0.1);
}

.guide-content p {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.85) !important;
}

.guide-content a {
    color: #ec1b61 !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(236, 27, 97, 0.3);
    transition: border-color 0.2s ease;
}

.guide-content a:hover {
    border-bottom-color: #ec1b61;
}

.guide-content strong {
    color: #ffffff !important;
    font-weight: 600;
}

.guide-content ul,
.guide-content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5em;
}

.guide-content li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Gutenberg block overrides */
.guide-content .wp-block-heading {
    color: #d5d5d5 !important;
}

.guide-content .wp-block-image {
    margin: 2rem 0;
}

.guide-content .wp-block-image img {
    border-radius: 8px;
}

.guide-content .wp-block-image figcaption {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 8px;
}


/* === CTA BLOCK === */
.guide-cta {
    margin-top: 3rem;
    padding: 30px;
    text-align: center;
    background: rgba(236, 27, 97, 0.04);
    border: 1px solid rgba(236, 27, 97, 0.12);
    border-radius: 8px;
}

.guide-cta p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 16px;
}

.guide-cta-button {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff !important;
    background: #ec1b61;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none !important;
    border: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

.guide-cta-button:hover {
    background: #c4155b;
    transform: translateY(-1px);
    color: #ffffff !important;
}


/* === GUIDE SIDEBAR === */
.guide-sidebar {
    font-family: 'Outfit', sans-serif;
}

.guide-sidebar .sidebar-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.guide-sidebar .sidebar-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ec1b61 !important;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(236, 27, 97, 0.12);
}

/* Related Guides */
.guide-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-related-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.guide-related-list li:last-child {
    border-bottom: none;
}

.guide-related-list a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.15s ease;
}

.guide-related-list a:hover {
    color: #ec1b61 !important;
}

/* Video Grid */
.guide-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.guide-video-card {
    display: block;
    text-decoration: none !important;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease;
}

.guide-video-card:hover {
    transform: translateY(-2px);
}

.guide-video-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.guide-video-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.guide-video-title {
    display: block;
    padding: 6px 8px;
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guide-see-all {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    font-weight: 500;
    color: #ec1b61 !important;
    text-decoration: none !important;
    transition: opacity 0.15s ease;
}

.guide-see-all:hover {
    opacity: 0.8;
}

/* Guide Directory */
.guide-directory-intro {
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45) !important;
    line-height: 1.5;
    margin: 0 0 14px 0;
}

/* Search */
.guide-directory-search-wrap {
    margin-bottom: 14px;
    display: flex;
    gap: 6px;
}

.guide-directory-search {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.guide-directory-search::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.guide-directory-search:focus {
    border-color: rgba(236, 27, 97, 0.4);
}

.guide-search-btn {
    flex: 0 0 auto;
    padding: 8px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    background: #ec1b61;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.guide-search-btn:hover {
    background: #c4155b;
}

/* Popular Fetishes */
.guide-popular {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-popular-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35) !important;
    margin-bottom: 10px;
    display: block;
}

.guide-popular-item {
    display: block;
    padding: 8px 10px;
    margin-bottom: 2px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.guide-popular-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.guide-popular-item.current {
    background: rgba(236, 27, 97, 0.06);
    border-left: 2px solid #ec1b61;
    padding-left: 8px;
}

.guide-popular-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.3;
}

.guide-popular-item:hover .guide-popular-name {
    color: #ec1b61 !important;
}

.guide-popular-item.current .guide-popular-name {
    color: #ec1b61 !important;
}

.guide-popular-desc {
    display: block;
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35) !important;
    line-height: 1.4;
    margin-top: 1px;
}

/* A-Z list */
.guide-directory-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 12px;
    max-height: 320px;
    overflow-y: auto;
}

.guide-directory-list::-webkit-scrollbar {
    width: 4px;
}

.guide-directory-list::-webkit-scrollbar-track {
    background: transparent;
}

.guide-directory-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.guide-directory-list li {
    padding: 3px 0;
    break-inside: avoid;
}

.guide-directory-list a {
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 400;
    transition: color 0.15s ease;
}

.guide-directory-list a:hover {
    color: #ec1b61 !important;
}

.guide-directory-list .current span {
    color: #ec1b61 !important;
    font-weight: 600;
    font-size: 0.78rem;
}

/* Sidebar CTA */
.guide-sidebar-cta {
    text-align: center;
    background: rgba(236, 27, 97, 0.04) !important;
    border-color: rgba(236, 27, 97, 0.12) !important;
}

.guide-sidebar-cta p {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55) !important;
    margin: 0 0 14px 0;
    line-height: 1.5;
}

.guide-sidebar-cta .guide-cta-button {
    font-size: 0.75rem;
    padding: 10px 24px;
}


/* === RESPONSIVE === */
@media (max-width: 768px) {
    .guide-hero {
        padding: 35px 0;
    }

    .guide-hero-inner {
        padding: 0 20px;
    }

    .guide-hero-inner.has-image {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .guide-hero-inner.has-image .guide-hero-accent {
        margin-left: auto;
        margin-right: auto;
    }

    .guide-title {
        font-size: 2rem;
    }

    .guide-subtitle {
        font-size: 0.9rem;
    }

    .guide-hero-image-wrap img {
        max-width: 200px;
    }

    .guide-content h2 {
        font-size: 1.5rem;
    }

    .guide-content h3 {
        font-size: 1.2rem;
    }
}
