/* Global Font Family - Sora Default */
.bitcoin-news-section,
.bitcoin-news-section *,
.bitcoin-category-slider-wrapper,
.bitcoin-category-slider-wrapper *,
.bitcoin-more-headlines-wrapper,
.bitcoin-more-headlines-wrapper *,
.bitcoin-headlines-grid,
.bitcoin-headlines-grid *,
.abn-featured-post,
.abn-featured-post *,
.bitcoin-news-post,
.bitcoin-news-post *,
.bitcoin-headline-card,
.bitcoin-headline-card * {
    font-family: 'Sora', sans-serif;
}

/* Exceptions - Keep these fonts */
.abn-top-bar,
.abn-top-bar * {
    font-family: 'Rajdhani', sans-serif;
}



/* Bitcoin News Section */
.bitcoin-news-section {
    background: #111111;
    border: 1px solid #232323;
    border-radius: 12px;
    padding: 24px;
    margin: 0 0 30px 0;
}

.bitcoin-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2A2A2A;
}

.bitcoin-news-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.lightning-icon {
    color: #F7931A;
    width: 20px;
    height: 20px;
}

.view-all-link {
    color: #F7931A !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #FFFFFF !important;
    text-decoration: underline !important;
}

.bitcoin-news-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bitcoin-news-post {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #252525;
    border-radius: 8px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.bitcoin-news-post:hover {
    background: #2C2C2C;
    transform: translateX(4px);
}

.post-thumbnail-link {
    flex-shrink: 0;
}

.post-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}

.bitcoin-news-post .post-thumbnail img,
.post-thumbnail-link .post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 6px !important;
    max-width: none !important;
}

.post-thumbnail.placeholder {
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
}

.post-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.post-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    
    /* 2 Line Limit Addition */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    max-height: 4.2em;
}

.post-title a:hover {
    color: #F7931A;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #888888;
    margin-top: 0;
}

.post-author {
    font-weight: 600;
}

.post-separator {
    color: #555555;
}

.post-time {
    font-weight: 500;
}

/* Category Slider */
.bitcoin-category-slider-wrapper {
    margin: 0 0 30px 0;
}

.bitcoin-category-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.bitcoin-category-slider-title {
    font-family: sora;
    font-size: 26px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.bitcoin-category-slider-controls {
    display: flex;
    gap: 12px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #1A1A1A;
    border: 1px solid #232323;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: #252525;
    border-color: #F7931A;
    color: #F7931A;
}

.bitcoin-category-slider {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bitcoin-category-slider::-webkit-scrollbar {
    display: none;
}

.bitcoin-category-slider-track {
    display: flex;
    gap: 16px;
    padding: 4px 0;
}

.bitcoin-category-card {
    flex: 0 0 262px;
    background: #1A1A1A;
    border: 1px solid #232323;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bitcoin-category-card:hover {
    background: #252525;
    border-color: #F7931A;
    transform: translateY(-4px);
}

.category-icon-box {
    width: 48px;
    height: 48px;
    background: #252525;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.bitcoin-category-card:hover .category-icon-box {
    background: #2C2C2C;
}

.category-icon-box i {
    font-size: 22px;
    color: #F7931A;
}

.category-name {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-description {
    font-size: 13px;
    color: #888888;
    line-height: 1.5;
    margin: 0;
}

/* More Headlines */
.bitcoin-more-headlines-wrapper {
    background: transparent;
    padding: 0;
    margin: 40px 0;
}

.bitcoin-more-headlines-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.headlines-header-content {
    flex: 1;
}

.bitcoin-headlines-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px 0;
}

.bitcoin-headlines-subtitle {
    font-size: 15px;
    color: #888888;
    margin: 0;
}

.view-archive-link {
    color: #888888 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.view-archive-link:hover {
    color: #F7931A !important;
}

.view-archive-link svg {
    width: 16px;
    height: 16px;
}

.bitcoin-headlines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.bitcoin-headline-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bitcoin-headline-card:hover {
    transform: translateY(-4px);
}

.headline-image-link {
    display: block;
    position: relative;
}

.headline-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: block;
}

.headline-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px !important;
    max-width: none !important;
}

.headline-image.placeholder-image {
    background: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 48px;
    opacity: 0.3;
}

.headline-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.headline-content {
    padding: 16px 0;
}

.headline-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.headline-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    
    /* 2 Line Limit Addition */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    max-height: 2.8em;
}

.headline-title a:hover {
    color: #F7931A;
}

.headline-content p.headline-excerpt {
    font-size: 14px !important;
    color: #9CA3AF !important;
    line-height: 1.6 !important;
    margin: 0 0 12px 0 !important;
    
    /* 3 Line Limit Addition */
     display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 4.5em; /* 3 lines minimum (1.5em × 3) */
    max-height: 4.5em; /* 3 lines Max */
}

.headline-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    padding-top: 2px;
    border-top: 1px solid #222222;
    color: #666666;
}

.headline-author {
    font-weight: 600;
}

.headline-separator {
    color: #444444;
}

.headline-time {
    font-weight: 500;
}

.bitcoin-headlines-load-more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.load-more-button {
    padding: 14px 32px;
    background: transparent;
    border: 1px solid #232323;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-button:hover:not(:disabled) {
    background: #1A1A1A;
    border-color: #F7931A;
    color: #F7931A;
}

.load-more-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Top Bar */
.abn-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #222222;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 20px;
}

.abn-top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.abn-dot {
    width: 8px;
    height: 8px;
    background: #F7931A;
    border-radius: 50%;
    animation: abn-pulse 2s infinite;
}

@keyframes abn-pulse {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 8px #F7931A; 
    }
    50% { 
        opacity: 0.5; 
        box-shadow: 0 0 0px #F7931A; 
    }
}

.abn-tagline {
    color: #888888;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.abn-top-bar-right {
    display: flex;
}

.abn-date {
    color: #888888;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Featured Post */
.abn-featured-post {
    margin: 0 0 30px 0;
}

/* Featured Post Image */
.abn-featured-post-image {
    width: 100%;
    max-width: 800px;
    margin-bottom: 24px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #232323;
    border-radius: 12px 12px 12px 12px;
    overflow: hidden;
}

.abn-featured-post-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.abn-featured-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.abn-spotlight-badge {
    background: #F7931A;
    color: #000000;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.abn-featured-category {
    color: #9CA3AF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.abn-featured-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.abn-featured-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.abn-featured-title a:hover {
    color: #F7931A;
}

.abn-featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #9CA3AF;
    font-weight: 700;
    margin-bottom: 20px;
}

.abn-featured-author,
.abn-featured-date,
.abn-featured-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.abn-featured-meta svg {
    width: 14px;
    height: 14px;
}

.abn-featured-separator {
    color: #444444;
}

/* Override any paragraph styles */
.abn-featured-post p.abn-featured-excerpt {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #9CA3AF !important;
    margin: 0 0 20px 0 !important;
    font-weight: 400 !important;
}

.abn-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F7931A;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.abn-featured-link:hover {
    color: #FF8C42;
    gap: 12px;
}

.abn-featured-link svg {
    width: 16px;
    height: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bitcoin-news-section {
        padding: 16px;
    }
    
    .bitcoin-news-title {
        font-size: 18px;
    }
    
    .bitcoin-category-slider-title {
        font-size: 20px;
    }
    
    .bitcoin-category-slider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .bitcoin-news-post {
        gap: 12px;
        padding: 12px;
    }
    
    .post-thumbnail {
        width: 70px;
        height: 70px;
        display: block;
    }
    
    .bitcoin-news-post .post-thumbnail img,
    .post-thumbnail-link .post-thumbnail img {
        height: 100% !important;
        border-radius: 6px !important;
    }
    
    .post-title {
        font-size: 14px;
    }
    
    .post-meta {
        font-size: 10px;
    }
    
    .bitcoin-category-card {
        flex: 0 0 220px;
        padding: 20px;
    }
    
    .category-name {
        font-size: 16px;
    }
    
    .bitcoin-headlines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .bitcoin-headlines-title {
        font-size: 26px;
    }
    
    .headline-image {
        height: 200px;
    }
    
    .headline-image {
        height: 200px;
        display: block;
    }
    
    .headline-image img {
        height: 100% !important;
        border-radius: 12px !important;
    }
    
    .abn-featured-post {
        padding: 0;
    }
    
    .abn-featured-title {
        font-size: 28px;
    }
    
    /* ✅ ADD THESE MISSING STYLES */
    .abn-featured-post-image {
        max-width: 100%;
    }
    
    .abn-featured-meta {
        font-size: 12px;
        gap: 8px;
    }
    
    .abn-featured-excerpt {
        font-size: 16px !important;
    }
    
    .abn-featured-link {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .bitcoin-news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .post-thumbnail {
        width: 60px;
        height: 60px;
        display: block;
    }
    
    .bitcoin-news-post .post-thumbnail img,
    .post-thumbnail-link .post-thumbnail img {
        height: 100% !important;
        border-radius: 6px !important;
    }
    
    .post-title {
        font-size: 13px;
    }
    
    .bitcoin-category-card {
        flex: 0 0 200px;
        padding: 16px;
    }
    
    .category-icon-box {
        width: 40px;
        height: 40px;
    }
    
    .bitcoin-headlines-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .bitcoin-more-headlines-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .bitcoin-headlines-title {
        font-size: 24px;
    }
    
    .headline-image {
        height: 220px;
        display: block;
    }
    
    .headline-image img {
        height: 100% !important;
        border-radius: 12px !important;
    }
    
    .headline-title {
        font-size: 17px;
    }
    
    .abn-top-bar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .abn-featured-post {
        padding: 0;
    }
    
    .abn-featured-title {
        font-size: 24px;
    }
    
    .abn-featured-meta {
        flex-wrap: wrap;
    }
    
    /* ✅ ADD THESE MISSING STYLES */
    .abn-featured-post-image {
        max-width: 100%;
        margin-bottom: 16px;
    }
    
    .abn-featured-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .abn-spotlight-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .abn-featured-category {
        font-size: 10px;
    }
    
    .abn-featured-excerpt {
        font-size: 15px !important;
    }
    
    .abn-featured-link {
        font-size: 12px;
    }
    
    .view-all-link {
        font-size: 12px;
    }
    
    .view-archive-link {
        font-size: 13px;
    }
}
