/**
 * Custom CSS for BLACKGOLD IPTV Theme
 * Add your custom styles here - they won't be overwritten on theme updates
 */

/* Additional hover effects */
.feature-item {
    cursor: default;
}

/* Blog post styling improvements */
.single-post-article {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin: 1rem 0;
}

.post-meta i {
    color: var(--yellow);
    margin-right: 0.3rem;
}

.post-featured-image {
    margin: 2rem 0;
    border-radius: 24px;
    overflow: hidden;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.post-content p {
    margin: 1.5rem 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.post-content blockquote {
    background: var(--bg-card);
    border-left: 4px solid var(--yellow);
    padding: 1.5rem;
    font-style: italic;
    margin: 2rem 0;
}

.post-tags {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.post-tags i {
    color: var(--yellow);
    margin-right: 0.5rem;
}

.post-tags a {
    color: var(--text-dim);
    text-decoration: none;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--bg-card);
    border-radius: 50px;
    margin: 0.2rem;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--yellow);
    color: var(--bg-dark);
}

/* Post navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.nav-previous a,
.nav-next a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    max-width: 300px;
}

.nav-previous a:hover {
    transform: translateX(-5px);
}

.nav-next a:hover {
    transform: translateX(5px);
}

/* Author bio */
.author-bio {
    display: flex;
    gap: 2rem;
    background: var(--bg-soft-black);
    border-radius: 24px;
    padding: 2rem;
    margin: 3rem 0;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid var(--yellow);
}

.author-info h4 {
    color: var(--yellow);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-dim);
    line-height: 1.6;
}

/* Comments styling */
.comments-section {
    margin-top: 3rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: var(--bg-soft-black);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author img {
    border-radius: 50%;
    border: 2px solid var(--yellow);
}

.comment-author .fn {
    color: var(--yellow);
    font-weight: 700;
}

.comment-metadata {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.comment-content {
    color: var(--text-light);
    line-height: 1.6;
}

.reply a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.reply a:hover {
    gap: 0.5rem;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 3rem 0;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    background: var(--bg-soft-black);
    color: var(--text-dim);
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: var(--yellow);
    color: var(--bg-dark);
    border-color: var(--yellow);
}

.pagination .page-numbers:hover:not(.current) {
    border-color: var(--yellow);
    color: var(--yellow);
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    border: 4px solid var(--bg-card);
    border-top: 4px solid var(--yellow);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

/* Tooltip styling */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

[data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
    bottom: 150%;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .discount-banner,
    .hero-btn,
    .btn-buy,
    .social-links,
    .footer-note {
        display: none !important;
    }
}