:root {
    /* Professional Color Palette */
    --primary-color: #1a365d;
    /* Deep Navy - Trust & Professionalism */
    --secondary-color: #2b6cb0;
    /* Brighter Blue - Action */
    --accent-color: #c0392b;
    /* Deep Red - Highlights/Badges */
    --highlight-color: #d4a017;
    /* Gold - Premium accents */

    --bg-color: #f7f9fc;
    /* Very light slate gray background */
    --card-bg: #ffffff;

    --text-color: #2d3748;
    /* Dark Slate Gray */
    --text-muted: #718096;

    --border-color: #e2e8f0;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --max-width: 1200px;
    --header-height: 70px;

    --font-heading: 'Merriweather', serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Global Link Styles - No Underlines */
a {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* Header & Nav */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    /* Fix for canvas alignment */
    align-items: center;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background: #edf2f7;
    border-radius: 50px;
    /* Fully rounded */
    padding: 5px 20px;
    width: 350px;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.search-bar:focus-within {
    background: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.search-bar input {
    border: none;
    background: transparent;
    padding: 8px;
    width: 100%;
    outline: none;
    font-size: 14px;
    color: var(--text-color);
}

.search-bar button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
    padding: 0 5px;
}

.search-bar button:hover {
    color: var(--primary-color);
}

/* Navigation - Desktop */
.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: transform 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
}

/* Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 2/3 Main, 1/3 Sidebar */
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Typography & Section Titles */
.section-title {
    margin-bottom: 25px;
    border-left: 4px solid var(--highlight-color);
    padding-left: 15px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

/* News Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Equal height */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Image wrapper for zoom effect */
.news-card div:first-child {
    overflow: hidden;
}

.news-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 700;
}

.news-card:hover h3 {
    color: var(--secondary-color);
}

.news-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar */
.sidebar-widget {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-color);
    /* Colorful top border */
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.sidebar-widget ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

/* Numbered/Styled List for Sidebar */
.sidebar-widget ul li::before {
    content: "•";
    color: var(--highlight-color);
    font-size: 20px;
    line-height: 1;
}

.sidebar-widget a {
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.5;
}

.sidebar-widget a:hover {
    color: var(--secondary-color);
}

/* Advertisement Placeholder */
.ad-placeholder {
    background: #edf2f7;
    height: 250px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    border: 2px dashed #cbd5e0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

.pagination button {
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f3f5;
    box-shadow: none;
}

.pagination button:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination span {
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 10px;
}

/* Article View */
.article-view {
    padding-top: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-btn {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    padding: 10px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin-bottom: 20px;
}

.back-btn:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-content {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto 60px;
}

.article-content h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--text-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-body {
    font-size: 19px;
    line-height: 1.8;
    color: #4a5568;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2,
.article-body h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
    font-size: 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--highlight-color);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
    /* Subtle movement */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Loading Spinner */
.loading-state {
    text-align: center;
    padding: 80px 0;
}

.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hero Slider Styles */
.hero-section {
    position: relative;
    max-width: var(--max-width);
    margin: 30px auto;
    height: 450px;
    /* Taller hero */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #e2e8f0;
}

.hero-slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smoother bezier */
}

.hero-slide {
    min-width: 100%;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    /* Slight darken for text readability */
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    padding: 40px;
    color: white;
}

.hero-overlay h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Badges */
.badge-hot {
    background: var(--accent-color);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    animation: pulse-red 2s infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(192, 57, 43, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(192, 57, 43, 0);
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    /* Floating banner instead of full width */
    max-width: 400px;
    background: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy enter */
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-btn {
    align-self: flex-end;
    background: var(--highlight-color);
    color: #1a202c;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

/* =========================================
   RESPONSIVE & MOBILE MENU CONFIGURATION
   ========================================= */

@media (max-width: 992px) {
    .content-wrapper {
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    /* Header layout changes */
    .main-header .container {
        position: relative;
        /* Context for absolute nav */
    }

    /* Show hamburger */
    .mobile-menu-btn {
        display: block;
        order: 1;
        /* Left side */
    }

    .logo {
        order: 2;
        /* Center/Right */
        margin-left: 10px;
    }

    /* Search bar hide/adjust */
    .search-bar {
        display: none;
        /* Can add a search icon later to toggle */
    }

    /* Mobile Nav */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        padding: 20px;
        border-top: 1px solid var(--border-color);
        display: block;
        /* Override critical CSS */
        z-index: 9999;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .main-nav a {
        display: block;
        width: 100%;
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-nav a::after {
        display: none;
        /* No underline animation on mobile */
    }

    /* Layout stacking */
    .content-wrapper {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    /* Hero adjustment */
    .hero-section {
        height: 250px;
        margin: 15px auto;
        border-radius: 0;
        /* Full bleed usually looks better on small screens, but keeping radius for consistency if padded */
    }

    .hero-overlay h2 {
        font-size: 20px;
    }

    /* 
     * Mobile Article View - Full Width & Professional
     */
    .article-view .container {
        padding: 0;
        /* Remove container padding to allow full bleed */
    }

    #articleView img {
        width: 100% !important
    }

    .article-content {
        padding: 20px 10px;
        /* Reduce inner padding to 10px */
        border-radius: 0;
        /* Remove radius for full bleed look */
        box-shadow: none;
        margin-bottom: 0;
    }

    .article-content h1.article-title {
        font-size: 24px;
        /* Slightly smaller but bold */
        line-height: 1.3;
        margin-bottom: 15px;
    }

    /* Allow images to go edge-to-edge if inside article body */
    .article-body img {
        width: calc(100% + 20px);
        /* 100% + left/right padding (10+10) */
        max-width: calc(100% + 20px);
        margin-left: -10px;
        margin-right: -10px;
        border-radius: 0;
        height: auto;
        display: block;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .article-body figure {
        margin: 20px -10px;
        width: calc(100% + 20px);
    }

    .article-body figure img {
        width: 100%;
        margin: 0;
    }

    .article-body figcaption {
        padding: 0 10px;
        font-size: 13px;
        color: #718096;
        text-align: center;
        margin-top: 8px;
        font-style: italic;
    }

    /* Sticky header adjustment for mobile address bars */
    .main-header {
        height: 60px;
    }

    /* Reduce global container padding on mobile */
    .container {
        padding: 0 10px;
    }

    /* 
     * Mobile News Card Redesign - Horizontal Layout
     * Professional "List View" style
     */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
        /* Use container padding */
    }

    .news-card {
        flex-direction: row;
        height: 110px;
        /* Slightly more compact */
        border: none;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        background: transparent;
        align-items: center;
    }

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

    .news-card:hover {
        transform: none;
        box-shadow: none;
        background-color: #f9f9f9;
    }

    /* Image Wrapper */
    .news-card div:first-child {
        width: 110px;
        /* Match height for square or slightly different */
        height: 100%;
        flex-shrink: 0;
        border-radius: 6px;
        /* Slightly smaller radius */
        overflow: hidden;
        margin-right: 12px;
        /* Tighter margin */
    }

    .news-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 6px;
    }

    .news-card-body {
        padding: 5px 0;
        justify-content: center;
    }

    .news-card h3 {
        font-size: 15px;
        /* Slightly smaller for mobile */
        line-height: 1.3;
        margin-bottom: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-weight: 600;
    }

    .news-card p {
        /* Hide excerpt on mobile for cleaner look, or limit strictly */
        display: none;
    }

    /* Date/Meta info if available (assuming it might be added later) */
    .news-meta {
        font-size: 11px;
        color: #888;
        margin-top: auto;
    }
}

/* AI Generated Content Styles */
.ai-content {
    background-color: #f0f9ff;
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
    color: #4a5568;
    line-height: 1.8;
    position: relative;
    overflow: hidden;
}

.ai-content::before {
    content: "\f05a";
    /* Info circle icon from FontAwesome logic if used as font, but usually needs class. here just text or content */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    opacity: 0.1;
}

.author-box {
    background-color: #fff9c4;
    border-left-color: var(--highlight-color);
    font-style: normal;
    font-weight: 500;
}

.author-box::before {
    content: "\f007";
    /* User icon */
    color: var(--highlight-color);
}

/* Related News Box */
.related-news-box {
    background: #f8fafc;
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.related-news-box h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

.related-news-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-news-box ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 20px;
}

.related-news-box ul li::before {
    content: "\f0a9";
    /* Arrow circle right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    font-size: 14px;
}

.related-news-box ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-news-box a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
    display: inline-block;
}

.related-news-box a:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.ai-content.loading {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.ai-content.loading::after {
    content: "...";
    font-size: 14px;
}

/* =========================================
   ENHANCED ARTICLE VIEW STYLES
   ========================================= */

/* Main Layout Wrapper */
.article-layout {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.article-container {
    /* Previously flex container, now just content wrapper */
    max-width: 900px;
    /* margin: 0; */
    flex-grow: 1;
}

/* Sidebar Tools */
.article-sidebar-tools {
    width: 60px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 100px;
    /* Adjust based on header height */
    height: fit-content;
    z-index: 10;
}

.tool-btn {
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tool-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tool-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tool-group {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.tool-btn-sm {
    width: 35px;
    height: 35px;
    font-size: 14px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tool-btn-sm:hover {
    background: #edf2f7;
    color: var(--primary-color);
}

/* Main Article Area */
.article-main-wrapper {
    flex-grow: 1;
    min-width: 0;
    /* Prevent overflow */
}

/* Header Actions (Share Bar) */
.article-header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.share-btn-primary {
    background: #1877f2;
    /* Facebook Blue */
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.share-btn-primary:hover {
    background: #166fe5;
}

.share-icon-btn {
    background: #0084ff;
    /* Messenger Blue */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    margin-left: 10px;
    cursor: pointer;
    border: none;
}

.social-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-right {
    display: flex;
    gap: 15px;
    color: #a0aec0;
    font-size: 18px;
}

.action-right i:hover {
    color: var(--primary-color);
    cursor: pointer;
}

/* Article Typography Enhancements */
.article-content h1.article-title {
    font-size: 34px;
    line-height: 1.35;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.article-summary {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 35px;
    font-family: var(--font-heading);
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 30px;
}

.article-body-text {
    font-size: 19px;
    /* Readable base size */
    line-height: 1.85;
    /* Comfortable reading height */
    color: #2d3748;
    font-family: 'Merriweather', serif;
    /* Serif for reading body text is often more pro */
}

/* If the user prefers Sans-Serif for body, keep Roboto but tweak spacing. 
   Switching to Merriweather for body text gives a very "newspaper" professional vibe. 
   Let's stick to the requested "Professional" vibe which often implies Serif for long form. 
*/

.article-body-text p {
    margin-bottom: 25px;
}

.article-body-text h2 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 45px;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.3;
}

.article-body-text h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #2c5282;
}

.article-body-text blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 20px;
    color: #4a5568;
    background: #fff5f5;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.article-body-text ul,
.article-body-text ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.article-body-text li {
    margin-bottom: 10px;
    padding-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-layout {
        flex-direction: column;
        gap: 20px;
    }

    .article-sidebar-tools {
        display: none;
        /* Hide sidebar on mobile for now, or make it a bottom bar */
    }

    .article-header-actions {
        flex-wrap: wrap;
        gap: 15px;
    }
}