/*
Theme Name: Our Insightful Blog
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Custom theme for business and technology blog
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&display=swap');

:root {
    --primary: #222;
    --secondary: #fff;
    --accent: #00b4d8;
    --border: #e5e5e5;
    --muted: #666;
    --highlight: #f9d342;
    --overlay: rgba(0, 0, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lexend', Arial, sans-serif;
    background: var(--secondary);
    color: var(--primary);
    line-height: 1.6;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.site-header {
    background: var(--secondary);
    padding: 3rem 0 2rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.header-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-toggle {
    display: none;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.logo-link:hover {
    color: #00008B; /* Dark Blue */
}

.header-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Navigation */
.main-nav {
    background: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
    overflow-x: auto; /* Make nav scrollable */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.nav-list {
    display: flex;
    justify-content: flex-start; /* Align items to the start */
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 1rem; /* Add some padding */
    gap: 1rem;
    flex-wrap: nowrap; /* Prevent wrapping */
    white-space: nowrap; /* Keep items in one line */
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    background: #000000;
    color: #ffffff;
    outline: none; /* Removes the blue border on click */
}



/* Latest Articles Section */
.latest-section {
    padding: 4rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    /* Remove shadow and add border */
    border: 1px solid #e5e5e5;
    box-shadow: none;
    transition: border-color 0.2s;
}

.article-card:hover {
    /* Remove shadow on hover */
    box-shadow: none;
    border-color: #cccccc;
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Remove zoom on hover */
    transition: none;
}

.article-card:hover .article-image img {
    /* Remove zoom effect */
    transform: none;
}

.article-content {
    padding: 1.5rem;
}

.article-content .meta-readmore {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.article-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: var(--primary);
}

/* Article title links styling */
.article-title-link {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title-link:hover {
    color: #1e3a8a;
}

.article-description {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* Read More Button */
.read-more {
    color: #000000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    margin-left: auto;
}

.read-more:hover {
    color: #1e3a8a;
    transform: translateX(5px);
}

.view-all-container {
    text-align: center;
    margin-top: 30px;
}

#load-more-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

#load-more-btn:hover {
    background-color: #000000;
}

.view-all-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}

.view-all-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: white;
    color: var(--primary);
    padding: 3rem 0 1rem 0;
    border-top: 1px solid var(--border);
}

.footer-main {
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #1e3a8a;
}

.footer-contact li {
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #000;
    border-radius: 50%;
    color: white;
    transition: background 0.2s;
    cursor: pointer;
}

.footer-social span:hover {
    background: #333;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.footer-links li a {
    text-decoration: none;
    color: #333; /* Or your preferred link color */
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #1e3a8a; /* Dark blue hover color */
}



.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-bottom-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.footer-bottom-right a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.footer-bottom-right a:hover {
    color: var(--accent);
}

/* Article Page Styles */
.article-main {
    padding: 2rem 0;
    background: white;
}

.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.article-content-main {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.article-header {
    margin-bottom: 2rem;
}

.article-category {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-tag {
    background: #000;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.article-meta-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--primary);
}

.author-title {
    font-size: 0.9rem;
    color: var(--muted);
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.share-stat {
    cursor: pointer;
    transition: color 0.2s;
}

.share-stat:hover {
    color: var(--accent);
}

/* Styles for Article Featured Image */
.article-featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1rem;
    background-color: #f0f0f0; /* Light background for letterboxing */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* This will fit the entire image without cropping */
}

.article-body {
    line-height: 1.8;
    color: var(--primary);
}

.article-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.article-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--primary);
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-quote {
    background: #f8f9fa;
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary);
}

.article-conclusion {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.article-conclusion h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.article-tags {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.article-tags h4 {
    margin-bottom: 0;
    color: var(--primary);
    font-weight: 600;
    flex-shrink: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
}

.tag {
    background: #000;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-sharing {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.social-sharing h4 {
    margin-bottom: 0;
    color: var(--primary);
    font-weight: 600;
    flex-shrink: 0;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.email { background: #ea4335; }

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.author-bio, .related-articles, .newsletter-signup {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.author-bio h3, .related-articles h3, .newsletter-signup h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.author-card {
    text-align: center;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.author-card h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.author-bio-text {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.author-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #000;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s;
}

.author-social-link:hover {
    background: #333;
}

.join-channel-btn {
    display: inline-block;
    background: #000;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
}

.join-channel-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.related-article {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.related-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-article img {
    width: 80px;
    height: 60px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}

.related-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--primary);
}

/* Related Articles Title Link Color */
.related-content h4 a {
    color: #000000; /* Set default color to black */
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: #00008B; /* Set hover color to dark blue */
}

.related-meta {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 0.8rem;
    background: #000;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #333;
}



/* All Articles Page Styles */


/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {

    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    

    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-nav-toggle {
        display: none;
    }
    
    .main-nav {
        padding: 0.5rem 0;
    }
    
    .nav-list {
        gap: 1rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }

    .nav-list::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        margin: 0.5rem 0;
    }
    
    .header-content {
        position: relative;
    }
    
    .latest-section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    

    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    

    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-right a {
        margin: 0 0.5rem;
    }
    

    

    
    /* Article Cards Mobile */
    .article-card {
        margin-bottom: 1.5rem;
    }
    
    /* The following styles were causing the alignment issue on mobile, so I've commented them out. */
    /*
    .article-content .meta-readmore {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .read-more {
        align-self: flex-start;
    }
    */
    
    /* Article Page Mobile */
    .article-header {
        padding: 1rem 0;
    }
    
    .article-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    /*
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    */
    
    .article-body {
        padding: 1rem 0;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Author Card Mobile */
    .author-card {
        padding: 1.5rem;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    /* All Articles Page Mobile */
    .page-header {
        padding: 2rem 0;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .main-nav {
        padding: 0.3rem 0;
    }
    
    .nav-list {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    

    

    
    .read-more {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .article-card {
        padding: 1rem;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }
    
    .article-description {
        font-size: 0.9rem;
    }
    
    .article-meta {
        font-size: 0.8rem;
    }

    .meta-readmore {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .view-all-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    

    
    /* Footer Mobile */
    .footer-heading {
        font-size: 1.2rem;
    }
    
    .footer-col ul li a {
        font-size: 0.9rem;
    }
    
    .footer-contact li {
        font-size: 0.9rem;
    }
    
    .footer-bottom-center p {
        font-size: 0.8rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .read-more,
    .view-all-btn,
    .pagination-btn,
    .nav-link,
    .article-title-link,
    .featured-title-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar-article,
    .article-card {
        cursor: pointer;
    }
    
    .sidebar-article:active,
    .article-card:active {
        transform: scale(0.98);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .category-tag {
        border: 2px solid currentColor;
    }
    
    .read-more,
    .view-all-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 

/* Additional Responsive Improvements */

/* Better touch targets for mobile */
@media (max-width: 768px) {
    .read-more,
    .view-all-btn,
    .pagination-btn {
        min-height: 48px;
        padding: 12px 20px;
    }
    
    .article-title-link,
    .featured-title-link {
        padding: 8px 0;
        display: block;
    }
    
    /* Improve text readability on mobile */
    .article-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .featured-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Better spacing for mobile */
    .article-card {
        margin-bottom: 2rem;
    }
    
    .sidebar-article {
        margin-bottom: 1.5rem;
    }
    
    /* Improve form elements on mobile */
    .search-input,
    .category-filter,
    .sort-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }
    
    /* Better button spacing */
    .meta-readmore {
        margin-top: 1rem;
    }
    
    /* Improve image loading on mobile */
    .article-image img,
    .featured-image img,
    .sidebar-image img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* Tablet specific improvements */
@media (min-width: 769px) and (max-width: 1024px) {
    .featured-grid {
        gap: 2rem;
    }
    
    .articles-grid {
        gap: 2rem;
    }
    

    
    .article-content h3 {
        font-size: 1.2rem;
    }
}

/* Large screen optimizations */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .articles-grid {
        gap: 2.5rem;
    }
}

/* Landscape mobile improvements */
@media (max-width: 768px) and (orientation: landscape) {

    

    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .mobile-nav-toggle,
    .nav-list,
    .read-more,
    .view-all-btn,
    .pagination,
    .footer {
        display: none !important;
    }
    
    .article-card,
    .sidebar-article {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .article-image img {
        max-width: 100%;
        height: auto;
    }
}

/* Focus styles for accessibility */
.read-more:focus,
.view-all-btn:focus,
.pagination-btn:focus,
.featured-title-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.article-title-link:focus {
    outline: none;
}

/* Loading states */
.article-image img {
    transition: opacity 0.3s ease;
}

.article-image img.loading,
.featured-image img.loading,
.sidebar-image img.loading {
    opacity: 0.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better text selection */
::selection {
    background: #007bff;
    color: white;
}

::-moz-selection {
    background: #007bff;
    color: white;
}