/* Homepage Styles */
.hero-section {
    padding: 40px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.main-feature {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.featured-post {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.featured-post-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.featured-post-overlay {
    position: absolute;
    bottom: -30px;
    left: 20px;
    right: 20px;
    right: 20px;
    background-color: #1b4332;
    padding: 20px;
    border-radius: 8px;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.featured-post-overlay h2 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
}

.featured-post-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Featured Content Layout */
.featured-content-wrapper {
    display: flex;
    gap: 0px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0px;
    margin-bottom: 20px; /* Reduced from 30px */
    position: relative; /* Ensure proper stacking context */
    z-index: 1; /* Ensure these sections are above any unintended background layers */
}

.featured-content-main {
    flex: 1; /* Takes remaining space */
}

.featured-content-sidebar {
    width: 320px;
    flex-shrink: 0; /* Prevents shrinking */
}

/* Tile Section with Overlay */
.tile-section {
    margin-bottom: 20px; /* Reduced from 30px */
}

.tile-section .container {
    max-width: 1400px;
    margin-left: auto; /* Changed from margin-left: 0 to auto for centering */
    margin-right: auto; /* Added to ensure proper centering */
    padding-right: 20px; /* Added to match standard container padding */
}

.tile-container {
    position: relative;
    height: 200px;
}

.black-tile-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    border-radius: 0;
    overflow: hidden;
    z-index: 1;
}

.neon-green-tile-inner {
    position: absolute;
    top: -15px; /* Reduced from -30px to -15px for less upward offset */
    left: -15px; /* Reduced from -30px to -15px for less leftward offset */
    width: 100%;
    height: 100%;
    background-color: #39ff14;
    border-radius: 0;
    overflow: hidden;
    opacity: 1; /* Changed from 0.7 to 1 to make it fully opaque */
    box-shadow: none;
    z-index: 2;
    display: flex;
    align-items: flex-end; /* Align content to bottom like the banner had */
}

/* Add new content styling for neon green tile */
.neon-green-content {
    width: 100%;
    padding: 15px 20px;
    z-index: 2;
}

.neon-green-title {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
    max-width: 90%;
}

.neon-green-title a {
    color: #000000; /* Black text for contrast against neon green */
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
    display: block;
}

.neon-green-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(0, 0, 0, 0.8); /* Dark text for readability */
    font-size: 12px;
}

.neon-green-meta span {
    display: flex;
    align-items: center;
}

.neon-green-meta i {
    margin-right: 4px;
    color: rgba(0, 0, 0, 0.6);
}


.black-tile-content,
.black-tile-title,
.black-tile-description,
.black-tile-button {
    display: none;
}


.short-news-section {
    background-color: #001A6E;
    padding: 14px 20px 3px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    color: #FFFFFF;
}

.short-news-item.neon-background {
    position: relative;
    padding-left: 12px;
    margin-left: -12px;
    width: 104%;
}

.short-news-item.neon-background::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -8px;
    width: 110%;
    height: 122%;
    background-color: #ffffff;
    opacity: 1;
    z-index: 0;
}

.short-news-item.neon-background .short-news-item-title a,
.short-news-item.neon-background .short-news-item-meta {
    color: #000000; /* Black text on neon background for better readability */
    font-weight: 450;
}

.short-news-title {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eaeaea;
}

.short-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.short-news-item {
    padding-bottom: 15px;
}

.short-news-item:last-child {
    border-bottom: none;
}

.short-news-item-title {
    font-size: 10px;
    margin-bottom: 5px;
    line-height: 1.4;
    position: relative;
    color: #333;
    z-index: 1;
}

.short-news-item-title a {
    font-size: 11px;
    color: #FFFFFF; /* White text for links */
    text-decoration: none;
    transition: color 0.2s ease;
}

.short-news-item-title a:hover {
    color: #E5E7EB; /* Lighter color on hover */
}

.short-news-item-meta {
    font-size: 8px;
    color: #ffff; 
}

.neon-background .short-news-item-date {
    color: #000; 
    display: inline; 
}

.short-news-view-all {
    display: inline-block;
    margin-top: 15px;
    color: #074799; 
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    float: right;
}

.short-news-view-all:hover {
    text-decoration: underline;
}

/* Update the View All button to have black text instead of white */
.view-all-btn {
    padding: 6px 12px;
    background-color: #f8f9fa;
    color: #000; /* Changed from white to black */
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.view-all-btn:hover {
    background-color: #e9ecef;
    color: #000; /* Keep text black on hover */
}

/* Short News Section - Update View All button to black text */
.view-all-link {
    padding: 6px 12px;
    color: #000; /* Changed from white to black */
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* Update date colors in white background sections */
.news-card.light-card .news-card-date,
.news-card.white-bg .news-card-date,
.short-news-item .news-meta,
.homepage-section.light-bg .news-card-date {
    color: #333; /* Changed from light gray to dark gray/black */
}

.news-card.light-card .news-meta,
.news-card.white-bg .news-meta,
.short-news-item .news-meta,
.homepage-section.light-bg .news-meta {
    color: #333; /* Changed from light gray to dark gray/black */
}

/* Short News Section Label Overlay */
.short-news-image-wrapper {
    position: relative;
    overflow: hidden;
}

.short-news-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.short-news-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #7794cd; /* Blue background similar to the main tile */
    color: #fff;
    padding: 5px 10px; /* Reduced padding to lessen the height */
    text-align: left;
    transition: background 0.3s ease;
    z-index: 2;
}

.short-news-label h3 {
    margin: 0;
    font-size: 14px; /* Slightly smaller font size */
    font-weight: bold;
}

.short-news-label .short-news-item-meta {
    font-size: 11px; /* Slightly smaller font size */
    margin-top: 3px; /* Reduced margin for compact layout */
}

.short-news-image-wrapper:hover .short-news-label {
    background: #5a73a3; /* Slightly darker blue on hover */
}

/* Short News Section for Web */
.short-news-web {
    display: block;
}

.short-news-mobile-tab {
    display: none;
}

/* Short News Section for Mobile and Tablet */
.short-news-section-mobile {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.short-news-title-mobile {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #074799;
    text-align: center;
}

.short-news-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.short-news-item-mobile {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.short-news-item-title-mobile {
    font-size: 14px;
    margin-bottom: 8px;
    color: #111;
}

.short-news-item-title-mobile a {
    color: #074799;
    text-decoration: none;
}

.short-news-item-title-mobile a:hover {
    color: #0e9e74;
}

.short-news-item-meta-mobile {
    font-size: 12px;
    color: #666;
}

.short-news-view-all-mobile {
    display: block;
    margin: 20px auto 0;
    margin-right: 20px;
    color: #074799;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    float: right;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .short-news-web {
        display: none;
    }

    .short-news-mobile-tab {
        display: block;
    }
}

/* Trending Posts Section */
.trending-posts-section {
    width: 320px; /* Match the width of featured-content-sidebar */
    margin-top: 10px; /* Reduced from 20px */
    margin-bottom: 15px; /* Reduced from 20px */
    padding: 20px;
    background-color: transparent; /* Changed from #ffffff to transparent */
    border-radius: 8px;
    box-shadow: none; /* Removed box-shadow */
    flex-shrink: 0; /* Prevents shrinking */
    position: relative; /* Ensure proper stacking context */
    z-index: 1; /* Ensure these sections are above any unintended background layers */
}

.trending-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
    color: #455e8e;
}

.trending-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    
}

.trending-post-item {
   padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    padding-left: 29px;
}

.itemno {
    position: absolute;
    left: 4px;
    font-size: 12px;
    background: #001A6E;
    width: 19px;
    height: 19px;
    text-align: center;
    border-radius: 10px;
    color: #fff;
    top: 4px; 
    margin: 0; 
    margin-bottom: 10px;
}

.trending-post-item:last-child {
    border-bottom: none;
}

.trending-post-title {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.trending-post-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.trending-post-title a:hover {
    color: #3861fb;
}

.trending-post-meta {
    font-size: 12px;
    color: #666666;
}

.trending-view-all {
        display: inline-block;
    margin-top: 15px;
    color: #074799;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    float: right;
}

.trending-view-all:hover {
    text-decoration: underline;
}

/* Responsive adjustments for tiles */
@media (max-width: 768px) {
    .tile-container {
        height: 160px;
    }

    .neon-green-title a {
        font-size: 18px;
    }
    
    .neon-green-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .trending-posts-section {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .short-news-item.neon-background {
        width: 90%;
    }

    .hide-on-mobile {
        display: none !important; /* Ensure it overrides any conflicting styles */
    }

    .section-title {
        display: flex;
        flex-direction: column; /* Stack title and link vertically */
        align-items: flex-start;
        gap: 15px; /* Add spacing between the title and the "More Posts" link */
    }
}

@media (max-width: 480px) {
    .tile-container {
        height: 200px;
    }

    .neon-green-title {
        max-width: 90%;
    }
    
    .neon-green-title a {
        font-size: 16px;
    }
    
    .neon-green-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .short-news-item.neon-background {
        width: 85%;
    }
}

/* Crypto Banner Styles */
.crypto-banner {
    margin-top: 20px; /* Add gap between header and banner */
    margin-bottom: 0; /* Keep no gap between banner and black tile */
}

.crypto-banner .container {
    max-width: 700px;
    margin-left: auto; /* Changed from margin-left: 0 to auto for centering */
    margin-right: auto; /* Added to ensure proper centering */
    padding-left: 20px; /* Restored padding for consistent spacing */
    padding-right: 20px; /* Added to match standard container padding */
}

.crypto-banner-inner {
    position: relative;
    height: 300px; /* Increased from 220px to 300px */
    border-radius: 0; /* Remove rounded corners */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.crypto-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111827;
    overflow: hidden;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
}

.bitcoin-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bitcoin-symbol {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234ade80"><path d="M11.5 17.1v1.5h-1.25v-1.5H9v-1.25h1.25V14.5H9v-1.25h1.25V9.5H9V8.25h1.25v-1.5h1.25v1.5h1.25v-1.5h1.25v1.5h1v1.25h-1v3.75h1V14.5h-1v1.35h1v1.25h-1v1.5h-1.25v-1.5h-1.25v1.5h-1.25zm1.25-1.25h1.25V14.5h-1.25v1.35zm0-2.6h1.25v-3.75h-1.25v3.75z"/></svg>');
    transform: scale(1);
    opacity: 0.5;
    filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.8));
    animation: float 8s infinite ease-in-out;
}

.bitcoin-symbol:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.bitcoin-symbol:nth-child(2) {
    top: 50%;
    left: 70%;
    animation-delay: 2s;
}

.bitcoin-symbol:nth-child(3) {
    top: 70%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.marble-statue {
    position: absolute;
    right: 30px;
    bottom: -10px;
    width: 180px;
    height: 250px;
    background-image: url('https://via.placeholder.com/200x280/111827/ffffff?text=Statue');
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
    filter: grayscale(100%) contrast(120%) brightness(80%);
    z-index: 1;
    animation: statue-move 10s infinite ease-in-out;
}

@keyframes statue-move {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(-10px) rotate(1deg);
    }
}

.crypto-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.crypto-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crypto-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 2;
}

.crypto-banner-title {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
    max-width: 90%;
}

.crypto-banner-title a {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
    display: block;
}

.crypto-banner-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.crypto-banner-meta span {
    display: flex;
    align-items: center;
}

.crypto-banner-meta i {
    margin-right: 4px;
    color: rgba(255, 255, 255, 0.6);
}

/* Latest Posts Grid - Updated to 1+2 layout */
.crypto-banner-grid {
    margin-top: 20px;
    margin-bottom: 20px;
}

.crypto-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    grid-template-rows: auto auto; /* Two rows */
    gap: 20px;
    
    margin: 0 auto;
    border-right: 1px solid #ddd;
    padding-right: 1em;
}


/* First item takes full width (spans 2 columns) */
.crypto-grid-wrapper .crypto-grid-tile:first-child {
    grid-column: 1 / span 2; /* Make the first tile span both columns */
}

/* First item has larger image */
.crypto-grid-wrapper .crypto-grid-tile:first-child .crypto-tile-image img {
    height: 360px; /* Taller image for the featured post */
}

/* First item has larger title */
.crypto-grid-wrapper .crypto-grid-tile:first-child .crypto-tile-title {
    font-size: 1.5em; /* Larger title for featured post */
}

/* First item has larger excerpt */
.crypto-grid-wrapper .crypto-grid-tile:first-child .crypto-tile-excerpt {
    font-size: 0.9em; /* Larger excerpt for featured post */
}

.crypto-grid-tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s;
    height: 100%;
}

.crypto-tile-image img {
    width: 100%;
    height: 240px; /* Standard height for regular posts */
    object-fit: cover;
    display: block;
}

.crypto-tile-content {
    background: #7794cd;
    margin-top: -39px;
    width: 94%;
    padding: 14px 17px;
    color: #fff;
    margin-left: 0%;
}

.crypto-tile-meta {
    font-size: 0.9em;
}

h3.crypto-tile-title{
    color:#fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .crypto-grid-wrapper {
        grid-template-columns: 1fr; /* One column on mobile */
    }
    
    .crypto-grid-wrapper .crypto-grid-tile:first-child {
        grid-column: 1; /* Reset to single column */
    }
    
    /* Adjust image heights on mobile */
    .crypto-grid-wrapper .crypto-grid-tile:first-child .crypto-tile-image img {
        height: 300px; /* Slightly smaller on mobile */
    }
}

/* News Sections */
.news-section {
    margin-top: 20px; /* Reduced from 30px */
    margin-bottom: 20px; /* Added consistent bottom margin */
}

/* Fix Section Headers Layout for All Sections */
.section-header,
.section-title {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #10B981;
    margin: 0;
    padding-left: 0;
    padding-right: 80px; /* Add space for the View All link */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.view-all-link {
    color: #074799;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    position: absolute;
    right: 0;
    top: 5px; /* Align vertically with the title */
    margin-right: 10px;
}

.view-all-c {
    color: #074799;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    position: absolute;
    right: 0;
    top: 5px;
    margin-right: 50px;
}

.view-all-n {
color: #074799;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    position: absolute;
    right: 0;
    top: 5px;
    margin-right: 30px;
}

.view-all-p {
    color: #7b97ff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    position: absolute;
    right: 0;
    top: 5px;
    margin-right: 30px;
}

/* Ensure consistent styling for Technology and Headlines sections */
.business-section .section-header,
.headlines-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.news-card {
    background-color: #ffffff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.news-card-image {
    height: 160px; /* Increased height for better visibility */
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container */
    display: block;
}

.news-card-content-c {
    background: #E1FFBB;
    padding: 15px;
    height: 125px;
}

.news-card-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-content h3 a.pa-combined {
    color: #fff; /* Keep the default link color */
    text-decoration: none;
    transition: none; /* Remove hover transition effects */
}

.news-card-content h3 a.pa-combined:hover {
    color: #fff; /* Ensure no color change on hover */
}

.news-card-meta {
    font-size: 12px;
    color: #666666;
    display: flex;
    justify-content: space-between;
}

.news-card-category {
    color: #3861fb;
    font-weight: 600;
}

/* Newsletter Section */
.newsletter-section {
    background: #fff;
    padding: 40px 0;
}

.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    flex-wrap: wrap;
}

.newsletter-stats {
    flex: 1 1 50%;
    padding: 10px;
    background: #E1FFBB;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.newsletter-stats h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: -5px;
    width: 100%;
    text-align: center;
    line-height: 2;
    text-transform: uppercase;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    padding: 10px 11px;
}

.stat-item h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
    color: #fff;
}

.stat-item p {
    color: #ffffff;
    font-size: 14px;
}

.stat-item {
    padding-left: 11px;
    padding-top: 10px;
    background: #074799;
    color: #fff;
}

.newsletter-content {
    flex: 1 1 50%;
    background: #074799;
    color: #fff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.newsletter-content .meta-text {
    color: #bbb;
    font-size: 13px;
    margin-bottom: 10px;
}

.newsletter-content h2 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
}

.newsletter-form {
    display: flex;
    margin-bottom: 10px;
}

.newsletter-form input[type="email"] {
    flex: 0.5;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.newsletter-form button {
    background: #009990;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.newsletter-content small {
    font-size: 11px;
    color: #aaa;
}

.newsletter-content small a {
    color: #ddd;
    text-decoration: underline;
}

/* Responsive adjustments for Newsletter Section */
@media (max-width: 1024px) {
    .newsletter-wrapper {
        flex-direction: column;
    }

    .newsletter-stats,
    .newsletter-content {
        flex: 1 1 100%;
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .newsletter-content {
        padding: 25px 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 15px;
    }

    .newsletter-form button {
        border-radius: 4px;
        width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter-wrapper {
        flex-direction: column;
    }

    .newsletter-stats,
    .newsletter-content {
        flex: 1 1 100%;
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter-wrapper {
        flex-direction: column;
    }

    .newsletter-stats,
    .newsletter-content {
        flex: 1 1 100%;
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments for newsletter */
@media (max-width: 768px) {
    .newsletter-content {
        padding: 25px 20px; /* Further reduced padding on mobile */
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 15px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
        width: 100%;
    }
}

/* Center sections on mobile */
@media (max-width: 768px) {
    .featured-content-wrapper,
    .short-news-section,
    .trending-posts-section,
    .newsletter-section,
    .combined-news-section,
    .business-headlines-wrapper,
    .crypto-banner-grid,
    .news-section {
        margin-left: auto;
        margin-right: auto;
        text-align: center; /* Center-align content */
    }

    .featured-content-sidebar,
    .trending-posts-section {
        width: 100%; /* Ensure full width on mobile */
    }

    .news-grid,
    .combined-grid {
        justify-content: center; /* Center grid items */
    }

    .filter-tags {
        justify-content: center; /* Center filter tags */
    }
}

/* Podcast Section Styles */
.podcast-section {
    padding: 10px 0;
    margin-top: 50px;
    margin-bottom: 0;
    background-color: #E1FFBB;
}

.podcast-section .section-title {
    color: #000;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.podcast-section .section-title .view-all {
    color: #074799; /* Green color for better visibility */
    float: right;
    font-weight: 600;
    font-size: 14px;
    margin-right: 30px;
    padding: 0;
}

.podcast-section .section-title .view-all:hover {
    color: #059669; /* Darker green on hover */
}

.podcast-grid {
    margin-bottom: 0;
}

.podcast-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.podcast-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    background-color: #1F2937;
}

.podcast-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background-color: #1F2937;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.podcast-thumbnail-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
}

.podcast-link {
    display: block;
    height: 100%;
    width: 100%;
}

.podcast-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 48px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    z-index: 5;
    pointer-events: none; /* This ensures clicks go through to parent element */
}

.podcast-video {
    position: relative;
    cursor: pointer;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.podcast-video:hover .podcast-play-button {
    opacity: 1;
    transform: scale(1.1);
}


.podcast-section .news-card-content h3 a {
    color: #ffffff;
}

.podcast-section .news-card-content h3 a:hover {
    color: #10B981;
}

.podcast-section .news-card-meta {
    color: rgba(255, 255, 255, 0.7);
}

.podcast-section .news-card-category {
    color: #ffff;
}

.podcast-section .no-podcasts {
    color: #ffffff;
    text-align: center;
    padding: 40px 0;
}

.podcast-video img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .podcast-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .podcast-section {
        padding: 30px 0;
    }
    
    .podcast-play-button {
        font-size: 36px;
    }
}

/* Video Popup Styles */
.video-popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.video-popup.active {
    display: flex;
}

.video-popup-inner {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
}

.close-popup {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    z-index: 1001;
}

#popupVideo {
    width: 100%;
    height: 100%;
}

.podcast-video img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Enhance play button visibility */
.podcast-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 48px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.podcast-video:hover .podcast-play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
    .podcast-play-button {
        font-size: 36px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .featured-content-wrapper {
        flex-direction: column;
    }
    
    .featured-content-sidebar {
        width: 100%;
    }
    
    .short-news-section {
        margin-top: 0;
    }
    
    .trending-posts-section {
        width: 100%; /* Full width on smaller screens */
    }

    .hide-on-small-medium {
        display: none;
    }

    .hide-on-tablet {
        display: none !important; /* Ensure it overrides any conflicting styles */
    }

    .news-section {
        display: none; /* Hide the Cryptocurrency section on tablets and smaller devices */
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .main-feature.medium-tile {
        height: 250px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
    }
    
    .crypto-banner-inner {
        height: 240px; /* Increased from 180px to 240px */
    }
    
    .crypto-banner-title a {
        font-size: 18px;
    }
    
    .crypto-banner-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .crypto-banner .container,
    .tile-section .container {
        max-width: 100%; /* Full width on mobile */
    }
    
    .marble-statue {
        width: 120px;
        height: 180px;
        right: 10px;
    }
    
    .crypto-banner-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .featured-content-wrapper,
    .short-news-section,
    .trending-posts-section,
    .newsletter-section,
    .combined-news-section,
    .business-headlines-wrapper {
        margin-left: auto;
        margin-right: auto;
        text-align: center; /* Center-align content */
    }

    .featured-content-sidebar,
    .trending-posts-section {
        width: 100%; /* Ensure full width on mobile */
    }

    .news-grid,
    .combined-grid {
        justify-content: center; /* Center grid items */
    }

    .filter-tags {
        justify-content: center; /* Center filter tags */
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .secondary-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .secondary-feature-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .crypto-banner-inner {
        height: 300px; /* Increased from 260px to 300px */
    }
    
    .crypto-banner-title {
        max-width: 90%;
        padding: 6px 12px;
    }
    
    .crypto-banner-title a {
        font-size: 16px;
    }
    
    .marble-statue {
        width: 90px;
        height: 150px;
    }
}

/* Business Section */
.business-section {
    padding: 40px 0;
    background-color: transparent; /* Changed from #f5f5f5 to transparent */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    font-weight: 700;
    color: #111;
    margin: 0;
    padding-left: 0;
    display: inline-block;
}

.view-all-link {
    color: #10B981;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    position: absolute;
    right: 0;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Fine-tune vertical centering */
    margin-top: 20px;
    margin-right: 20px;
}

.view-all-link i {
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.view-all-link:hover i {
    transform: translateX(3px);
}

.business-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Increased from 280px to 350px */
    margin-top: 0; /* Reset the top margin */
}

/* Business Posts Section - Remove background from cards */
.business-post-card {
    background: transparent; /* Changed from #fff to transparent */
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0px; /* Adding rounded corners */
    overflow: hidden; /* Ensure the radius is applied */
}

.business-post-card:hover {
    transform: translateY(-5px);
}

.business-post-card .post-title {
    transition: color 0.3s ease;
}

.business-post-card:hover .post-title {
    color: #3861fb; /* Highlight title on hover */
}

/* Ensure the entire post thumbnail container also has rounded corners */
.business-post-card .post-thumbnail {
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 15px; /* Add some spacing between image and content */
}

.business-post-card .post-info {
    background: transparent; /* Ensure the content area is also transparent */
}

.business-post-card .post-title {
    font-size: 18px; /* Increased from 16px */
    font-weight: 600;
    color: #111;
    margin-bottom: 12px; /* Increased from 10px */
    line-height: 1.4;
}

.business-post-card .post-meta {
    font-size: 13px; /* Increased from 12px */
    color: #666;
    margin-bottom: 30px; /* Increased from 10px */
}

.business-post-card .post-excerpt {
    font-size: 15px; /* Increased from 14px */
    color: #444;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .business-posts {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Smaller on mobile */
    }
    
    .business-post-card .post-thumbnail img {
        height: 240px; /* Slightly smaller on mobile */
    }
}

@media (max-width: 576px) {
    .business-post-card .post-thumbnail img {
        height: 200px; /* Even smaller on very small screens */
    }
}

/* Headlines Section */
.headlines-section {
    padding: 40px 0;
    background-color: transparent; /* Changed from #ffffff to transparent */
}

.headlines-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 0; /* Reset the top margin */
}

.headline-post {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 0;
}

.headline-post-image {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 0px;
}

.headline-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headline-post-content {
    flex: 1;
}

.headline-post-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.4;
}

.headline-post-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.headline-post-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Apply the same transparent background to headlines section */
.headlines-section .business-post-card {
    background: transparent;
    box-shadow: none;
}

.headlines-section .business-post-card:hover {
    box-shadow: none;
}

.headlines-section .post-info {
    background: transparent;
    margin-bottom: 33px;
}

/* Apply business posts styling to headlines section */
.headlines-section .business-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.headlines-section .business-post-card {
    background: transparent;
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
}

.headlines-section .business-post-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.headlines-section .post-thumbnail img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0px; /* Adding rounded corners */
    overflow: hidden; /* Ensure the radius is applied */
}

.headlines-section .post-thumbnail {
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 15px; /* Add some spacing between image and content */
}

.headlines-section .post-info {
    background: transparent;
}

.headlines-section .post-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.4;
}

.headlines-section .post-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.headlines-section .post-excerpt {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .business-post-link {
        flex-direction: column;
    }
    
    .business-post-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .business-post-image img {
        height: 350px; /* Increased even more on mobile */
    }
    
    .headline-post {
        flex-direction: column;
    }
    
    .headline-post-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .headline-post-image img {
        height: 350px; /* Increased even more on mobile */
    }
}

/* Business & Headlines Combined Layout */
.business-headlines-wrapper {
    background-color: transparent; /* Changed from #f5f5f5 to transparent */
}

.business-headlines-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    margin-top: 20px; 
    padding-right: 10px;
    padding-left: 10px;
}

.business-section,
.headlines-section {
    flex: 1;
    min-width: 300px; /* Ensures responsiveness on smaller screens */
    background-color: transparent; /* Changed from #ffffff to transparent */
    border-radius: 8px;
    box-shadow: none; /* Removed box-shadow */
    padding: 10px;
}

/* 1+5 News Layout */
.news-layout-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.news-grid-wrapper {
    display: grid;
    border-right: 1px solid #ddd;
    padding-right: 1em;
    margin: 0 auto;
}

.news-layout-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-main-post {
    width: 100%;
    position: relative;
}

.news-side-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* Original Crypto Grid Tile Styling */
.crypto-grid-tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s;
    height: 100%;
    position: relative;
}

.crypto-tile-image {
    width: 100%;
}

.crypto-tile-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.crypto-tile-content {
    background: #001A6E;
    margin-top: -39px;
    width: 94%;
    padding: 14px 17px;
    color: #fff;
    margin-left: 0%;
    position: relative;
    z-index: 2;
}

.crypto-tile-meta {
    font-size: 0.9em;
    color: #fff;
}

h3.crypto-tile-title {
    color: #fff;
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

/* Side Tiles */
.side-tile {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    gap: 15px;
    transition: transform 0.2s ease;
}

.side-tile:hover {
    transform: translateY(-3px);
}

.side-tile:last-child {
    border-bottom: none;
}

.side-tile-thumb {
    flex: 0 0 100px; /* Container width */
    width: 100px;
    height: 75px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-tile-thumb img {
    max-width: 150%;
    max-height: 150%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.side-tile-content {
    flex: 1;
    min-width: 0; /* Ensure text truncation works */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .news-flex-container {
        flex-direction: column;
    }
    
    .news-main-post,
    .news-side-posts {
        flex: 0 0 100%;
    }
      
    .news-side-posts {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .side-tile-thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }
    
    .side-tile-thumb img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 576px) {
    .side-tile-title {
        font-size: 14px;
    }
    
    .crypto-tile-title {
        font-size: 18px;
    }
        
    .side-tile-thumb img {
        width: 60px;
        height: 60px;
    } 
}
/* News Slider Styles */
.news-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;    
}

.news-slider-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 0 10px;    
}


.news-slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;   width: 100%;
}

.news-slider .slider-item {
    padding: 0 10px;
    box-sizing: border-box;
}

.news-slider-btn {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 0 5px;   margin: 0 5px;
    flex-shrink: 0;    flex-shrink: 0;
}

.news-slider-btn:hover {
    background-color: #3861fb;
    color: #fff;
    border-color: #3861fb;
}

.news-slider-btn.disabled {d {
    opacity: 0.5;   opacity: 0.5;
    cursor: not-allowed;    cursor: not-allowed;
}

.news-slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;   gap: 8px;
    margin-top: 20px;    margin-top: 20px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer; 
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #3861fb;
    transform: scale(1.3);
}

/* Adjust news card for slider */ard for slider */
.news-slider .news-card {s-card {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

/* Responsive adjustments for slider */
@media (max-width: 1024px) {
    .news-slider .slider-item {   .news-slider .slider-item {
        width: calc(33.333% - 14px); 
    }
}

@media (max-width: 768px)  {
    .news-slider .slider-item { 
        width: calc(50% - 10px);        
    }
        
    .news-slider-btn {
        width: 36px;        
        height: 36px;         
    }  }
}}

@media (max-width: 480px) {
    .news-slider .slider-item {
        width: calc(100% - 0px); /* 1 item per view on mobile */            
    }
        
    .news-slider-btn {
        width: 32px;        
        height: 32px;        
        font-size: 12px;        
    }  }
}
.standard-category-section {
    margin-bottom: 40px;
    background-color: #000; /* Set background to black */
    padding: 20px; /* Add padding for spacing */
}

.standard-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Adjusted to fit 6 posts in 2 rows */
    gap: 15px; /* Reduced gap for compact layout */
}

.standard-category-card {
    position: relative; /* Ensure proper positioning for hover effect */
    overflow: hidden; /* Prevent content overflow */
    background-color: #001A6E;
    height: 240px; 
}

.standard-category-card .news-card-content {
    position: static; /* Remove absolute positioning */
    background: none; /* Remove background */
    color: inherit; /* Use default text color */
    opacity: 1; /* Ensure content is always visible */
    visibility: visible; /* Ensure content is interactable */
    transition: none; /* Remove hover transition effects */
}

.standard-category-card:hover .news-card-content {
    opacity: 1; /* Ensure no change on hover */
    visibility: visible; /* Ensure no change on hover */
}

.standard-category-card .news-card-content h3 a {
    color: inherit; /* Use default text color */
    text-decoration: none; /* Keep links without hover effects */
    transition: none; /* Remove hover transition effects */
}

.standard-category-card .news-card-content h3 a:hover {
    color: inherit; /* Ensure no change on hover */
}

.standard-category-card .news-card-image 
.standard-category-card .news-card-content h3 a {
    pointer-events: auto; /* Allow links to be clickable */
    color: #ffffff; /* White text for News section post titles */
    text-decoration: none;
    transition: color 0.2s ease;
}

.standard-category-card .news-card-content h3 a:hover {
    color: #e5e7eb; /* Slightly lighter color on hover */
}

.standard-category-card .news-card-content .news-card-meta {
    font-size: 12px; /* Adjust font size for metadata */
    margin-top: 5px; /* Add spacing between title and metadata */
    display: flex;
    justify-content: space-between;
}

/* Responsive adjustments for standard category grids */
@media (max-width: 1024px) {
    .standard-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .standard-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .standard-category-grid {
        grid-template-columns: 1fr;
    }
}

.standard-category-section .section-title {
    color: #fff; /* Changed heading color to green */
}

/* Update category names to look like labels */
.news-card-category,
.side-tile .post-cat{
    display: inline-block;
    background-color: #001A6E; /* Label background color */
    color: #ffffff; /* White text for contrast */
    padding: 2px 8px; /* Padding for label appearance */
    border-radius: 4px; /* Rounded corners for label */
    font-size: 12px; /* Smaller font size for label */
    font-weight: 600; /* Bold text for emphasis */
    text-transform: uppercase; /* Uppercase text for label style */
}

/* Legal Corner Section */
.legal-corner-section {
    max-width: 1370px; /* Same width as site-main */
    margin: 0 auto; /* Center the section */
    padding: 20px; /* Add padding for spacing */
    background-color: transparent; /* Removed background */
    border: none; /* Removed border */
    position: relative;
    padding-left: 42px;
    padding-right: 10px;
}

.legal-corner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.view-all-link {
    color: #074799;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    position: absolute;
    right: 0;
    top: 0; /* Align to the top-right corner */
}

.view-all-link:hover {
    color: #0056a3;
    text-decoration: underline;
}

.legal-corner-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333; /* Text color */
}

.legal-corner-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-corner-item {
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 20px); /* Three items per row */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-corner-item:hover {
    transform: translateY(-5px);
}

.legal-corner-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.legal-corner-content {
    padding: 15px;
    background-color: #001A6E;
    height: 180px;
}

.legal-corner-item-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.legal-corner-item-title a {
    color: #fff; /* Keep the default link color */
    text-decoration: none;
    transition: none; /* Remove hover transition effects */
}

.legal-corner-item-title a:hover {
    color: #fff; /* Ensure no color change on hover */
}

.legal-corner-item-meta {
    font-size: 12px;
    color: #fff;
    margin-bottom: 10px;
}

.legal-corner-excerpt {
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
}

/* Responsive adjustments for Legal Corner */
@media (max-width: 1024px) {
    .legal-corner-list {
        gap: 15px;
    }

    .legal-corner-item {
        width: calc(50% - 15px); /* Two items per row */
    }
}

@media (max-width: 768px) {
    .legal-corner-list {
        gap: 10px;
    }

    .legal-corner-item {
        width: 100%; /* One item per row */
    }

    .legal-corner-content {
        height: auto; /* Allow flexible height */
    }
}

/* Combined News Section */
.combined-news-section {
    color: #fff;
    padding: 40px 0;
}

.filter-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tags .tag {
    padding: 6px 12px;
    background: #009990;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-tags .tag.active {
    background: #fff;
    color: #000;
}

.combined-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.combined-grid.active {
    display: grid;
}

.styled-card {
    background: #222;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.styled-card:hover {
    transform: translateY(-5px);
}

.news-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-card-content {
    padding: 15px;
    background: #001A6E;
    height: 110px;
}

.news-card-content h3 {
    font-size: 16px;
    margin: 0 0 8px;
    color: #fff;
}

.news-card-content h3 a {
    text-decoration: none;
}

.news-card-meta {
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-card-meta .author {
    color: #ccc;
}
.section-title-combined {
    color: #000;
}

.pa-combined {
    color: #fff;
}

/* Responsive adjustments for combined section */
@media (max-width: 1024px) {
    .combined-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .filter-tags {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-tags .tag {
        margin-bottom: 10px;
    }
}

/* Custom Slider Styles */
.custom-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.custom-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 50px;
}

.custom-slide {
    flex: 0 0 80%;
    max-width: 80%;
}

@media (min-width: 768px) {
    .custom-slide {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

@media (min-width: 1024px) {
    .custom-slide {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

.custom-slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    z-index: 10;
    cursor: pointer;
}

.custom-slider-btn.prev {
    left: 0;
}

.custom-slider-btn.next {
    right: 0;
    margin-right: 24px;
}

/* Visibility Classes */
.only-web { display: block; }
.only-tab, .only-mobile { display: none; }

/* Tablet breakpoint */
@media (min-width: 600px) and (max-width: 991px) {
    .only-web { display: none; }
    .only-tab { display: block; }
}

/* Mobile breakpoint */
@media (max-width: 599px) {
    .only-web, .only-tab { display: none; }
    .only-mobile { display: block; }
}

/* Tablet Section Styles */
.news-section-tab .tab-container {
    max-width: 900px;
    margin: auto;
    padding: 0 12px;
}
.crypto-grid-tab {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.crypto-card-tab {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    min-height: 200px;
    box-shadow: 0 4px 10px rgba(30, 44, 60, 0.1);
}
.tab-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.tab-content {
    padding: 10px;
}
.tab-meta, .tab-date {
    font-size: 0.9rem;
    color: #8490a0;
}

/* Mobile Section Styles */
.news-section-mobile .mobile-container {
    max-width: 100vw;
    padding: 0 5px;
}
.crypto-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.crypto-card-mobile {
    display: flex;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(30, 44, 60, 0.08);
}
.mobile-image {
    flex-shrink: 0;
    width: 120px; /* Fixed width */
    height: 120px; /* Fixed height */
    overflow: hidden;
}
.mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container */
}
.mobile-content {
    padding: 7px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mobile-content h3 {
    font-size: 0.99rem;
    margin-bottom: 4px;
}
.mobile-meta, .mobile-date {
    font-size: 0.85rem;
    color: #aaa;
}

