/**
 * Single Post - Modern Minimalist Styles
 * Clean, readable, premium design with RED accents
 * @package Betpro_Theme
 */

/* ==========================================================================
   ARTICLE BASE
   ========================================================================== */
.bp--article {
    background: #ffffff;
}

/* ==========================================================================
   ARTICLE HEADER
   ========================================================================== */
.bp--article-header {
    position: relative;
    padding: 140px 0 60px;
    background: linear-gradient(180deg, #1a1a1f 0%, #222228 100%);
    overflow: hidden;
}

.bp--article-header-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 20% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.bp--article-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* Breadcrumbs */
.bp--breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

.bp--breadcrumbs a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bp--breadcrumbs a:hover {
    color: #ef4444;
}

.bp--breadcrumbs svg {
    color: #52525b;
}

/* Meta Top */
.bp--article-meta-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.bp--article-category {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(185, 28, 28, 0.1));
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp--article-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #71717a;
}

.bp--article-read-time svg {
    color: #71717a;
}

/* Title */
.bp--article-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* Excerpt */
.bp--article-excerpt {
    font-size: 1.2rem;
    color: #a1a1aa;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Author Info */
.bp--article-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bp--author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(220, 38, 38, 0.3);
}

.bp--author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp--author-name {
    display: block;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.bp--article-dates {
    font-size: 0.85rem;
    color: #71717a;
}

.bp--article-updated {
    color: #52525b;
}

/* ==========================================================================
   FEATURED IMAGE
   ========================================================================== */
.bp--article-featured {
    margin-top: -30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.bp--featured-image {
    max-width: 900px;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.bp--featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   ARTICLE BODY
   ========================================================================== */
.bp--article-body {
    padding: 0 0 80px;
}

.bp--article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

/* ==========================================================================
   ARTICLE MAIN CONTENT
   ========================================================================== */
.bp--article-main {
    max-width: 750px;
}

/* Article Content Typography */
.bp--article-content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #3f3f46;
}

.bp--article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1f;
    margin: 50px 0 20px;
    letter-spacing: -0.01em;
}

.bp--article-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1f;
    margin: 40px 0 16px;
}

.bp--article-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1f;
    margin: 30px 0 12px;
}

.bp--article-content p {
    margin-bottom: 24px;
}

.bp--article-content a {
    color: #dc2626;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.bp--article-content a:hover {
    color: #b91c1c;
}

.bp--article-content ul,
.bp--article-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.bp--article-content li {
    margin-bottom: 12px;
}

.bp--article-content blockquote {
    margin: 40px 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(185, 28, 28, 0.02));
    border-left: 4px solid #dc2626;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #52525b;
}

.bp--article-content blockquote p:last-child {
    margin-bottom: 0;
}

.bp--article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.bp--article-content pre {
    background: #1a1a1f;
    color: #e4e4e7;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 30px 0;
    font-size: 0.9rem;
}

.bp--article-content code {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.bp--article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.bp--article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.bp--article-content th,
.bp--article-content td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e4e4e7;
}

.bp--article-content th {
    background: #f4f4f5;
    font-weight: 600;
    color: #1a1a1f;
}

.bp--article-content hr {
    border: none;
    height: 1px;
    background: #e4e4e7;
    margin: 50px 0;
}

/* ==========================================================================
   TAGS
   ========================================================================== */
.bp--article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e4e4e7;
}

.bp--article-tags svg {
    color: #71717a;
}

.bp--tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #52525b;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bp--tag:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

/* ==========================================================================
   SHARE SECTION
   ========================================================================== */
.bp--article-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 25px;
    background: #f4f4f5;
    border-radius: 12px;
}

.bp--share-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #52525b;
}

.bp--share-buttons {
    display: flex;
    gap: 10px;
}

.bp--share-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 10px;
    color: #52525b;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.bp--share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bp--share-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.bp--share-twitter:hover {
    background: #1a1a1f;
    border-color: #1a1a1f;
    color: #fff;
}

.bp--share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.bp--share-copy:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

/* ==========================================================================
   AUTHOR BOX
   ========================================================================== */
.bp--author-box {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(185, 28, 28, 0.02));
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 16px;
}

.bp--author-box-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(220, 38, 38, 0.2);
}

.bp--author-box-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp--author-box-content {
    flex: 1;
}

.bp--author-box-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp--author-box-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1f;
    margin: 6px 0 10px;
}

.bp--author-box-bio {
    font-size: 0.95rem;
    color: #52525b;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   POST NAVIGATION
   ========================================================================== */
.bp--post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
}

.bp--post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bp--post-nav-link:hover {
    background: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.1);
}

.bp--post-nav-next {
    text-align: right;
}

.bp--post-nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp--post-nav-label svg {
    color: #dc2626;
}

.bp--post-nav-next .bp--post-nav-label {
    justify-content: flex-end;
}

.bp--post-nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1f;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   COMMENTS
   ========================================================================== */
.bp--comments {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e4e4e7;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.bp--article-sidebar {
    position: relative;
}

.bp--sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* CTA Card */
.bp--sidebar-cta {
    padding: 30px;
    background: linear-gradient(135deg, #1a1a1f 0%, #222228 100%);
    border-radius: 16px;
    text-align: center;
}

.bp--sidebar-cta-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(185, 28, 28, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp--sidebar-cta-icon svg {
    color: #ef4444;
}

.bp--sidebar-cta h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.bp--sidebar-cta p {
    font-size: 0.9rem;
    color: #a1a1aa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.bp--sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bp--sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    color: #fff;
}

/* Related Posts */
.bp--sidebar-related {
    padding: 25px;
    background: #f4f4f5;
    border-radius: 16px;
}

.bp--sidebar-related h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1f;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e4e4e7;
}

.bp--related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bp--related-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.bp--related-item:hover {
    transform: translateX(4px);
}

.bp--related-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.bp--related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp--related-info {
    flex: 1;
    min-width: 0;
}

.bp--related-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1f;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bp--related-info span {
    font-size: 0.8rem;
    color: #71717a;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .bp--article-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .bp--article-main {
        max-width: 100%;
    }

    .bp--article-sidebar {
        max-width: 500px;
    }

    .bp--sidebar-sticky {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .bp--sidebar-cta,
    .bp--sidebar-related {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .bp--article-header {
        padding: 120px 0 40px;
    }

    .bp--article-title {
        font-size: 2rem;
    }

    .bp--article-excerpt {
        font-size: 1.05rem;
    }

    .bp--article-content {
        font-size: 1rem;
    }

    .bp--article-content h2 {
        font-size: 1.5rem;
    }

    .bp--article-content h3 {
        font-size: 1.25rem;
    }

    .bp--article-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .bp--post-nav {
        grid-template-columns: 1fr;
    }

    .bp--post-nav-next {
        text-align: left;
    }

    .bp--post-nav-next .bp--post-nav-label {
        justify-content: flex-start;
    }

    .bp--author-box {
        flex-direction: column;
        text-align: center;
    }

    .bp--author-box-avatar {
        margin: 0 auto;
    }

    .bp--sidebar-sticky {
        flex-direction: column;
    }

    .bp--sidebar-cta,
    .bp--sidebar-related {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .bp--article-title {
        font-size: 1.7rem;
    }

    .bp--breadcrumbs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .bp--article-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bp--share-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .bp--share-btn {
        flex: 1;
        max-width: 60px;
    }
}