div#main-content {
    padding: 0;
}

.upper-content-share .page-container {
    padding: 0;
    padding-left: 0 !important;
}

.single-article .upper-content .page-container {
    padding: 0;
}

.single-article-view .meta {
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.single-article-view .meta p {
    font-size: 13px;
}

h1.article-title {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
}

@media (max-width: 767px) {
    .single-article-view .meta p:first-child {
        margin-top: -20px;
    }
    h1.article-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
}

/* SHARE HEADER */


.modern-header {
    background-color: #f8f9fa; /* Lighter background for a modern feel */
    padding: 10px 15px; /* Reduced padding */
    border-bottom: 1px solid #dee2e6; /* Subtle border */
    color: #212529; /* Darker text color for better contrast */
    font-family: 'SourceSans', Tahoma, sans-serif;
}

.modern-header-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens if needed */
    align-items: flex-start; /* Align items to the top */
    gap: 15px; /* Space between main info and price details */
    max-width: 1140px;
    margin: 0 auto;
}

.modern-header a {
    text-decoration: none;
    color: inherit;
}

.share-main-info {
    flex-grow: 1; /* Allow this section to take available space */
}

.share-name {
    font-size: 28px; /* Reduced H1 size */
    line-height: 1.2;
    font-weight: 600; /* Slightly bolder for emphasis */
    margin: 0 0 3px 0; /* Tighter margin */
    color: #0052cc; /* Accent color for the name */
}

.share-meta {
    font-size: 12px; /* Smaller font for meta info */
    line-height: 1.4;
    color: #495057; /* Subtler color for meta */
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Allow meta items to wrap */
    gap: 0 10px; /* Horizontal gap between items, no vertical gap */
}

.share-meta .meta-item {
    white-space: nowrap; /* Prevent individual items from breaking */
}

.share-meta .meta-item:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: #adb5bd; /* Lighter separator */
}

.share-price-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align price details to the right */
    min-width: 220px; /* Ensure enough space for price info */
}

.price-info {
    display: flex;
    align-items: baseline; /* Align text by baseline for a cleaner look */
    margin-bottom: 4px; /* Tighter margin */
}

.current-price {
    font-size: 26px; /* Prominent price */
    font-weight: 700;
    color: #202124; /* Primary price color */
    margin-right: 5px;
}

.currency {
    font-size: 16px; /* Slightly smaller currency */
    font-weight: 500;
    color: #5f6368;
    margin-right: 8px;
}

.price-change {
    font-size: 14px; /* Consistent size for change info */
    font-weight: 500;
    padding: 2px 5px; /* Add a little padding for visual separation */
    border-radius: 4px; /* Rounded corners */
}

.price-change .change-value {
    margin-right: 3px;
}

/* Color coding for price changes */
.positive-change {
    color: #1e8e3e; /* Green for positive */
    background-color: rgba(30, 142, 62, 0.1); /* Light green background */
}

.negative-change {
    color: #d93025; /* Red for negative */
    background-color: rgba(217, 48, 37, 0.1); /* Light red background */
}

.neutral-change {
    color: #5f6368; /* Grey for neutral */
    background-color: rgba(95, 99, 104, 0.1);
}

.bid-ask-container {
    display: flex;
    font-size: 12px; /* Smaller font for bid/ask */
    color: #495057;
    gap: 15px; /* Space between bid and ask */
}

.bid-info,
.ask-info {
    display: flex;
    align-items: baseline;
}

.bid-ask-label {
    font-weight: 600;
    margin-right: 4px;
    font-size: 11px;
    text-transform: uppercase;
    padding: 2px 4px;
    border-radius: 3px;
}

.bid-value,
.ask-value {
    font-weight: 500;
    margin-right: 2px;
}

.currency-small {
    font-size: 11px;
    color: #5f6368;
}


/* Styles for tts-push-data (based on your existing CSS for color changes) */
.tts-push-data.push-positive {
    animation: pushPositive 0.7s ease-in-out;
}

.tts-push-data.push-negative {
    animation: pushNegative 0.7s ease-in-out;
}

@keyframes pushPositive {
    0%, 100% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(105, 188, 31, 0.2);
    }
    /* Softer highlight */
}

@keyframes pushNegative {
    0%, 100% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(248, 110, 83, 0.2);
    }
    /* Softer highlight */
}

/* Responsive adjustments (optional, but recommended) */
@media (max-width: 768px) {
    .modern-header-container {
        flex-direction: column; /* Stack elements vertically */
        align-items: stretch; /* Stretch items to full width */
        gap: 8px;
    }

    .share-price-details {
        align-items: flex-start; /* Align to left on smaller screens */
        width: 100%;
    }

    .share-name {
        font-size: 24px;
    }

    .current-price {
        font-size: 22px;
    }

    .share-meta {
        gap: 0 8px; /* Slightly reduce gap for meta items */
    }

    .share-meta .meta-item:not(:last-child)::after {
        margin-left: 8px;
    }

    .bid-ask-container {
        justify-content: flex-start; /* Align bid/ask to the start */
    }
}

@media (max-width: 480px) {
    .modern-header {
        padding: 8px 15px;
    }

    .share-name {
        font-size: 20px;
    }

    .current-price {
        font-size: 20px;
    }

    .currency {
        font-size: 14px;
    }

    .price-change {
        font-size: 12px;
    }

    .share-meta {
        font-size: 11px;
    }

    .bid-ask-container {
        font-size: 11px;
        gap: 10px;
    }
}
