/**
 * BroBillionaire SEO Backlink Styles
 * Internal Linking Components for First Page Rankings
 */

/* Global Emoji Support for Backlink Styles */
*, *::before, *::after {
    font-family: inherit, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

/* ===================================
   1. BREADCRUMB NAVIGATION (REMOVED)
   =================================== */
/* Breadcrumb navigation has been removed - hide any cached instances */
.seo-breadcrumbs,
.breadcrumb-list,
.breadcrumb-item {
    display: none !important;
}

/* ===================================
   2. TOPIC CLUSTER NAVIGATION
   =================================== */
.topic-cluster-nav {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(201, 162, 39, 0.1) 100%);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cluster-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cluster-header h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cluster-header h3 i {
    color: #C9A227;
}

.cluster-badge {
    background: rgba(201, 162, 39, 0.2);
    color: #C9A227;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pillar-link {
    margin-bottom: 20px;
}

.pillar-link a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    color: #C9A227;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pillar-link a:hover {
    background: rgba(201, 162, 39, 0.25);
    transform: translateX(5px);
}

.pillar-link a .fa-arrow-right {
    margin-left: auto;
}

.cluster-articles {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

@media (max-width: 768px) {
    .cluster-articles {
        grid-template-columns: 1fr;
    }
}

.cluster-articles li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cluster-articles li a:hover {
    background: rgba(201, 162, 39, 0.1);
    color: #C9A227;
    transform: translateX(5px);
}

.cluster-articles li a i {
    color: #C9A227;
    font-size: 12px;
    opacity: 0.7;
}

.cluster-cta {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 6px;
    color: #C9A227;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: #C9A227;
}

/* ===================================
   3. ENHANCED RELATED ARTICLES
   =================================== */
.enhanced-related-articles {
    padding: 60px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    margin-top: 40px;
}

.enhanced-related-articles .related-container {
    max-width: 1200px;
    margin: 0 auto;
}

.enhanced-related-articles .related-section-title {
    text-align: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.enhanced-related-articles .related-section-title i {
    color: #C9A227;
    margin-right: 10px;
}

.enhanced-related-articles .related-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.enhanced-related-articles .related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
}

@media (max-width: 992px) {
    .enhanced-related-articles .related-articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .enhanced-related-articles .related-articles-grid {
        grid-template-columns: 1fr !important;
    }
}

.enhanced-related-articles .related-article-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: auto !important;
    max-height: none !important;
}

.enhanced-related-articles .related-article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.enhanced-related-articles .related-card-link {
    display: flex;
    flex-direction: column;
    padding: 24px;
    text-decoration: none;
    height: 100%;
}

.enhanced-related-articles .related-card-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.enhanced-related-articles .related-card-category i {
    font-size: 10px;
}

.enhanced-related-articles .related-article-card h3 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0 0 12px 0;
    font-family: 'Playfair Display', serif;
    line-height: 1.4;
}

.enhanced-related-articles .related-card-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.enhanced-related-articles .related-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #C9A227;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.enhanced-related-articles .related-article-card:hover .related-read-more {
    gap: 12px;
}

/* ===================================
   4. YOU MAY ALSO LIKE SIDEBAR
   =================================== */
.you-may-also-like {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

.you-may-also-like h4 {
    color: #C9A227;
    font-size: 1rem;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Playfair Display', serif;
}

.you-may-also-like ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.you-may-also-like li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.you-may-also-like li:last-child {
    border-bottom: none;
}

.you-may-also-like li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.you-may-also-like li a:hover {
    color: #C9A227;
    padding-left: 10px;
}

.you-may-also-like li a i {
    color: #C9A227;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.you-may-also-like li a:hover i {
    transform: translateX(5px);
}

/* ===================================
   5. CONTEXTUAL LINKS
   =================================== */
.contextual-link {
    color: #C9A227;
    text-decoration: none;
    border-bottom: 1px dotted rgba(201, 162, 39, 0.5);
    transition: all 0.3s ease;
}

.contextual-link:hover {
    border-bottom-style: solid;
    background: rgba(201, 162, 39, 0.1);
    padding: 0 4px;
    margin: 0 -4px;
    border-radius: 3px;
}

/* ===================================
   6. ARTICLE SERIES NAVIGATION
   =================================== */
.article-series-nav {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 40px 0;
}

.series-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.series-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.series-label i {
    color: #C9A227;
}

.series-progress {
    background: rgba(201, 162, 39, 0.2);
    color: #C9A227;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.series-nav-buttons {
    display: flex;
    gap: 15px;
}

.series-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.series-nav-btn:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.3);
}

.series-nav-btn.prev {
    justify-content: flex-start;
}

.series-nav-btn.next {
    justify-content: flex-end;
    text-align: right;
}

.series-nav-btn i {
    color: #C9A227;
    font-size: 18px;
}

.nav-btn-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-direction {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-title {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.series-nav-placeholder {
    flex: 1;
}

@media (max-width: 576px) {
    .series-nav-buttons {
        flex-direction: column;
    }
    
    .series-nav-btn.next {
        text-align: left;
        justify-content: flex-start;
    }
}

/* ===================================
   7. POPULAR ARTICLES WIDGET
   =================================== */
.popular-articles-widget {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(201, 162, 39, 0.05) 100%);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

.popular-articles-widget h4 {
    color: #C9A227;
    font-size: 1rem;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Playfair Display', serif;
}

.popular-articles-widget ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: popular;
}

.popular-articles-widget li {
    counter-increment: popular;
}

.popular-articles-widget li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.popular-articles-widget li:last-child a {
    border-bottom: none;
}

.popular-articles-widget li a:hover {
    color: #C9A227;
}

.popular-rank {
    width: 28px;
    height: 28px;
    background: rgba(201, 162, 39, 0.2);
    color: #C9A227;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.popular-title {
    font-size: 14px;
}

/* ===================================
   8. SEO FOOTER LINKS
   =================================== */
.seo-footer-links {
    background: rgba(0, 0, 0, 0.4);
    padding: 50px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-container {
    max-width: 1200px;
    margin: 0 auto;
}

.seo-footer-links h3 {
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.footer-link-column h4 {
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-column li {
    margin-bottom: 8px;
}

.footer-link-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-link-column a:hover {
    color: #C9A227;
}

/* ===================================
   9. ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.topic-cluster-nav,
.enhanced-related-articles,
.article-series-nav,
.seo-footer-links {
    animation: fadeInUp 0.5s ease-out;
}

/* ===================================
   10. PRINT STYLES
   =================================== */
@media print {
    .seo-breadcrumbs,
    .topic-cluster-nav,
    .you-may-also-like,
    .article-series-nav,
    .popular-articles-widget,
    .seo-footer-links {
        display: none !important;
    }
}
