/**
 * GARD.org.tr EXACT CLONE
 * Birebir aynı tasarım - Extracted from source
 */

/* ================================================
   FONTS - Roboto
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

/* ================================================
   CSS RESET
   ================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ================================================
   EXACT COLORS FROM GARD.ORG.TR
   ================================================ */
:root {
    /* Primary Colors */
    --turquoise: #0b989d;
    --dark-navy: #2c2f34;
    --meta-text: #333333;
    --footer-bg: #1f2024;

    /* Text Colors */
    --text-primary: #2c2f34;
    --text-secondary: #555555;
    --text-meta: #888888;

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;

    /* Shadows */
    --header-shadow: rgba(0, 0, 0, 0.1) 0px 25px 20px -20px;

    /* Font */
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Container */
    --container-width: 1200px;
}

/* ================================================
   BASE STYLES
   ================================================ */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #1f2024;
    /* Same as footer - no white gap */
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body>main,
#main-content {
    flex: 1;
    background-color: var(--bg-white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ================================================
   CONTAINER - Exact 1200px
   ================================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ================================================
   HEADER - GARD Exact Style
   Height: 56px, White bg, Shadow
   ================================================ */
.header {
    background: var(--bg-white);
    height: 56px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--header-shadow);
}

/* Offset for fixed header */
body {
    padding-top: 56px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

/* Logo - GARD Style: Two colors, 28px font */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-primary {
    color: var(--dark-navy);
}

.logo-accent {
    color: var(--turquoise);
}

/* Navigation - 13px, 400 weight */
.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    color: var(--dark-navy);
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--turquoise);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--dark-navy);
    cursor: pointer;
}

.search-btn:hover {
    color: var(--turquoise);
}

.mobile-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--dark-navy);
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* ================================================
   MAIN CONTENT LAYOUT - 70/30 Grid
   ================================================ */
.content-section {
    padding: 30px 0 50px;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
}

.main-column {
    min-width: 0;
}

/* ================================================
   NEWS LIST - GARD Exact Layout
   Horizontal cards with thumbnail on left
   ================================================ */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Individual News Card - Horizontal Layout */
.post-item {
    display: flex;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

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

/* Thumbnail - 234px x 131px */
.post-thumb {
    position: relative;
    flex-shrink: 0;
    width: 234px;
}

.post-thumb img {
    width: 234px;
    height: 131px;
    object-fit: cover;
    border-radius: 4px;
}

/* Category Tag - Floating on image */
.post-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--turquoise);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 11px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Post Details */
.post-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Meta - Author & Date (12px) */
.post-meta {
    font-size: 12px;
    color: var(--text-meta);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-meta .author {
    font-weight: 500;
    color: var(--dark-navy);
}

/* Title - 20px, 600 weight */
.post-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.post-title a {
    color: inherit;
}

.post-title a:hover {
    color: var(--turquoise);
}

/* Excerpt */
.post-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .post-item {
        flex-direction: column;
    }

    .post-thumb {
        width: 100%;
    }

    .post-thumb img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

/* ================================================
   HERO SECTION - Featured Post (Full Width)
   No hero on GARD homepage, just first post bigger
   ================================================ */
.hero-section {
    padding: 25px 0;
}

.hero-post {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hero-post img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.hero-cat {
    background: var(--turquoise);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    width: fit-content;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 10px;
}

.hero-title a:hover {
    color: var(--turquoise);
}

.hero-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    gap: 15px;
}

/* ================================================
   SIDEBAR - GARD Style
   ================================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.widget {
    background: var(--bg-white);
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 20px;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--turquoise);
}

/* Popular/Trending List with Numbers - MODERN DESIGN */
.posts-list-counter {
    counter-reset: post-counter;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.posts-list-counter li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 12px;
    counter-increment: post-counter;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.25s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.posts-list-counter li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(11, 152, 157, 0.12);
    border-color: var(--turquoise);
}

.posts-list-counter li:last-child {
    margin-bottom: 0;
}

/* Numbered Badge - Gradient Style */
.post-counter {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, var(--turquoise) 0%, #087c80 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(11, 152, 157, 0.3);
    flex-shrink: 0;
}

/* Top 3 special colors with gradients */
.posts-list-counter li:nth-child(1) .post-counter {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.35);
}

.posts-list-counter li:nth-child(2) .post-counter {
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    box-shadow: 0 3px 10px rgba(255, 167, 38, 0.35);
}

.posts-list-counter li:nth-child(3) .post-counter {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    box-shadow: 0 3px 10px rgba(102, 187, 106, 0.35);
}

.posts-list-counter li:nth-child(n+4) .post-counter {
    background: linear-gradient(135deg, #90a4ae 0%, #78909c 100%);
    box-shadow: 0 3px 10px rgba(144, 164, 174, 0.25);
}

/* Thumbnail - Larger and Rounded */
.post-counter-thumb {
    flex-shrink: 0;
}

.post-counter-thumb img {
    width: 70px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.posts-list-counter li:hover .post-counter-thumb img {
    transform: scale(1.05);
}

/* Content Area */
.post-counter-content {
    flex: 1;
    min-width: 0;
}

.post-counter-content h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--dark-navy);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-counter-content h4 a {
    color: inherit;
    transition: color 0.2s;
}

.post-counter-content h4 a:hover {
    color: var(--turquoise);
}

.post-counter-content span {
    font-size: 11px;
    color: var(--text-meta);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Widget Title Enhancement */
.widget .widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--turquoise);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget .widget-title::before {
    content: '🔥';
    font-size: 18px;
}

/* Categories List */
.categories-list li {
    border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.categories-list a:hover {
    color: var(--turquoise);
}

.categories-list .count {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    color: var(--text-meta);
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 5px 12px;
    background: var(--bg-light);
    border-radius: 3px;
    font-size: 12px;
    color: var(--text-secondary);
}

.tag:hover {
    background: var(--turquoise);
    color: #fff;
}

/* ================================================
   ARTICLE PAGE - News Detail
   GARD Exact Style
   ================================================ */
.breadcrumb-nav {
    padding: 15px 0;
    background: var(--bg-white);
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-meta);
}

.breadcrumb-item a:hover {
    color: var(--turquoise);
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
}

.breadcrumb-item.active {
    color: var(--dark-navy);
}

/* Article Layout */
.article-page {
    padding: 30px 0 50px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

.article-main {
    min-width: 0;
}

/* Article Header */
.article-header {
    margin-bottom: 25px;
}

.article-cat {
    display: inline-block;
    background: var(--turquoise);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Title - 41px, 700 weight */
.article-title {
    font-size: 41px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

/* Summary/Spot */
.article-summary {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Meta - Author & Date */
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: var(--text-meta);
    margin-bottom: 25px;
}

.article-meta .author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta .author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.article-meta .author-name {
    font-weight: 600;
    color: var(--dark-navy);
}

/* Featured Image - Full width, no radius */
.article-image {
    margin: 0 0 25px 0;
}

.article-image img {
    width: 100%;
    height: auto;
}

/* Content - 15px body, 25.5px line-height */
.article-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-navy);
    margin: 30px 0 15px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-navy);
    margin: 25px 0 12px;
}

.article-content a {
    color: var(--turquoise);
}

.article-content blockquote {
    border-left: 3px solid var(--turquoise);
    padding: 15px 20px;
    margin: 20px 0;
    background: var(--bg-light);
    font-style: italic;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 8px;
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-tags .label {
    font-size: 13px;
    color: var(--text-meta);
    margin-right: 5px;
}

/* Share Buttons */
.share-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.share-section .label {
    font-size: 13px;
    color: var(--text-meta);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: none;
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    background: var(--turquoise);
    color: #fff;
}

/* Related Posts */
.related-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-navy);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--turquoise);
    display: inline-block;
}

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

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

.related-card {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.related-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-card:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-body {
    padding: 15px;
}

.related-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.related-card-title a:hover {
    color: var(--turquoise);
}

.related-card-date {
    font-size: 11px;
    color: var(--text-meta);
}

/* Related Section Title */
.related-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--turquoise);
}

/* Related Grid - 3 columns */
.related-section .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

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

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

/* Sidebar Posts with Thumbnails */
.sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-post-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-thumb {
    flex-shrink: 0;
}

.sidebar-post-thumb img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.sidebar-post-content h4 {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.sidebar-post-content h4 a:hover {
    color: var(--turquoise);
}

.sidebar-post-content span {
    font-size: 11px;
    color: var(--text-meta);
}

/* Comment CTA Button */
.comment-cta {
    margin-top: 30px;
}

.btn-full {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: var(--turquoise);
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-full:hover {
    background: #098589;
    color: #fff;
}

/* ================================================
   FOOTER - Simple Minimal Style
   ================================================ */
.footer {
    background: #1f2024;
    color: #fff;
    padding: 18px 0;
    margin-top: 0;
}

.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    white-space: nowrap;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.footer-nav a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
    padding: 0 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav a:last-child {
    border-right: none;
    padding-right: 0;
}

.footer-nav a:first-child {
    padding-left: 0;
}

.footer-nav a:hover {
    color: var(--turquoise);
}

/* Back to Top Button */
.back-to-top {
    width: 40px;
    height: 40px;
    background: var(--turquoise);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.back-to-top:hover {
    background: #087c80;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(11, 152, 157, 0.4);
}

.back-to-top svg {
    display: block;
}

@media (max-width: 768px) {
    .footer-simple {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .footer-copyright {
        width: 100%;
        order: 2;
        margin-top: 10px;
    }

    .footer-nav {
        justify-content: center;
        order: 1;
    }

    .footer-nav a {
        padding: 0 8px;
        font-size: 12px;
    }

    .back-to-top {
        order: 3;
        margin-top: 10px;
    }
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--turquoise);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn:hover {
    background: #098589;
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--turquoise);
    color: var(--turquoise);
}

.btn-outline:hover {
    background: var(--turquoise);
    color: #fff;
}

/* ================================================
   PAGINATION
   ================================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: var(--bg-white);
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pagination a:hover {
    border-color: var(--turquoise);
    color: var(--turquoise);
}

.pagination .active span {
    background: var(--turquoise);
    border-color: var(--turquoise);
    color: #fff;
}

/* ================================================
   ERROR PAGES
   ================================================ */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
}

.error-content h1 {
    font-size: 100px;
    font-weight: 700;
    color: var(--turquoise);
    line-height: 1;
}

.error-content h2 {
    font-size: 24px;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.error-content p {
    color: var(--text-meta);
    margin-bottom: 25px;
}

/* ================================================
   UTILITIES
   ================================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================================
   STATIC PAGES STYLING
   ================================================ */
.page-intro {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.page-intro .lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-section {
    margin-bottom: 30px;
}

.page-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-section p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.page-section ul {
    list-style: none;
    padding: 0;
}

.page-section ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
}

.page-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--turquoise);
    font-weight: 600;
}

.values-list li::before {
    content: '•';
}

.page-note {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: var(--text-meta);
    font-style: italic;
}

/* Künye Grid */
.kunye-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

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

.kunye-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.kunye-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.kunye-item p {
    margin: 0;
    font-size: 14px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

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

.contact-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.contact-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 18px;
    justify-content: center;
    margin-bottom: 12px;
}

.contact-card p {
    margin: 5px 0;
    font-size: 14px;
}

/* ================================================
   SHARE BUTTONS & ARTICLE ENHANCEMENTS
   ================================================ */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-meta);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-avatar {
    font-size: 18px;
}

.author-name {
    font-weight: 500;
    color: var(--text-primary);
}

.meta-separator {
    color: #ddd;
}

.reading-time {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
}

/* Share Bar */
.share-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.share-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #000;
}

.share-whatsapp {
    background: #25d366;
}

.share-linkedin {
    background: #0a66c2;
}

.share-copy {
    background: #6b7280;
}

/* Share Section Bottom */
.share-section-bottom {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
}

.share-section-bottom p {
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.share-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin: 5px;
    transition: opacity 0.2s;
}

.share-btn-large:hover {
    opacity: 0.9;
    color: #fff;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.tags-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-light);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s;
}

.tag:hover {
    background: var(--turquoise);
    color: #fff;
}

@media (max-width: 640px) {
    .share-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .meta-separator {
        display: none;
    }
}

/* ================================================
   INFINITE SCROLL SECTION
   ================================================ */
.infinite-scroll-section {
    padding: 50px 0;
    background: var(--bg-light);
    margin-top: 40px;
}

.infinite-scroll-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 30px;
    text-align: center;
}

.infinite-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .infinite-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .infinite-news-grid {
        grid-template-columns: 1fr;
    }
}

.infinite-news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.infinite-news-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.infinite-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.infinite-news-card:hover .infinite-news-image img {
    transform: scale(1.05);
}

.infinite-news-body {
    padding: 20px;
}

.infinite-news-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.infinite-news-title a {
    color: var(--dark-navy);
    transition: color 0.2s;
}

.infinite-news-title a:hover {
    color: var(--turquoise);
}

.infinite-news-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.infinite-news-meta {
    font-size: 13px;
    color: var(--text-meta);
}

.infinite-news-meta time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.infinite-news-meta time::before {
    content: '📅';
}

/* Loader */
.infinite-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: var(--text-meta);
    font-size: 14px;
}

.loader-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e5e5e5;
    border-top-color: var(--turquoise);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.infinite-end {
    text-align: center;
    padding: 30px;
    color: var(--text-meta);
    font-size: 14px;
}

.infinite-end span {
    padding: 10px 20px;
    background: #fff;
    border-radius: 20px;
    display: inline-block;
}

/* Infinite Article Loading */
#infinite-articles-container {
    /* No max-width - articles should match first article's full container width */
    width: 100%;
}

.infinite-article {
    margin-bottom: 40px;
}

.infinite-article-divider {
    text-align: center;
    padding: 50px 0 30px;
    position: relative;
}

.infinite-article-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd 20%, #ddd 80%, transparent);
}

.infinite-article-divider span {
    position: relative;
    background: #fff;
    padding: 8px 25px;
    font-size: 13px;
    font-weight: 600;
    color: var(--turquoise);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--turquoise);
    border-radius: 20px;
}

.infinite-article .article-header {
    margin-bottom: 20px;
}

.infinite-article .article-title {
    font-size: 28px;
}

.infinite-article .article-title a {
    color: var(--dark-navy);
    transition: color 0.2s;
}

.infinite-article .article-title a:hover {
    color: var(--turquoise);
}

.infinite-article .article-image {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.infinite-article .article-image img {
    width: 100%;
    height: auto;
}

.infinite-article .article-content {
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .infinite-article .article-title {
        font-size: 22px;
    }

    .infinite-article-divider {
        padding: 40px 0 25px;
    }
}

/* Next Article Link (noscript fallback) */
.next-article-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.next-article-link {
    display: flex;
    flex-direction: column;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--turquoise), #1a8a7a);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.next-article-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.next-article-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.next-article-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.fallback-link {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #f5f5f5;
    color: var(--turquoise);
    border: 2px dashed var(--turquoise);
}

.fallback-link:hover {
    background: var(--turquoise);
    color: #fff;
}

/* Share Section Bottom */
.share-section-bottom {
    margin-top: 40px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.share-section-bottom p {
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-secondary);
}

.share-section-bottom .share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.share-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-facebook {
    background: #1877f2;
    color: #fff;
}

.share-facebook:hover {
    background: #0d65d9;
    color: #fff;
}

.share-twitter {
    background: #1da1f2;
    color: #fff;
}

.share-twitter:hover {
    background: #0c8de4;
    color: #fff;
}

/* Article Tags */
.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags-label {
    font-weight: 600;
    margin-right: 10px;
    color: var(--dark-navy);
}

@media (max-width: 640px) {
    .next-article-link {
        padding: 20px;
    }

    .next-article-title {
        font-size: 16px;
    }

    .share-section-bottom .share-buttons {
        flex-direction: column;
    }

    .share-btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================
   NEW ARTICLE PAGE STYLES - Premium Design
   ================================================ */

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 53px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--turquoise), #00d4aa);
    z-index: 1001;
    box-shadow: 0 0 10px rgba(11, 152, 157, 0.5);
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.1s linear;
}

/* Category Badge */
.article-category-wrapper {
    margin-bottom: 20px;
}

.article-category-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--turquoise), #0ab5bb);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-category-badge:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(11, 152, 157, 0.4);
}

/* Article Header Improvements */
.article-page .article-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark-navy);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.article-page .article-summary {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 400;
}

/* Article Meta Bar */
.article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.article-meta-left {
    display: flex;
    align-items: center;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.author-info-text {
    display: flex;
    flex-direction: column;
}

.author-info-text .author-name {
    font-weight: 600;
    color: var(--dark-navy);
    font-size: 15px;
}

.author-info-text .publish-date {
    font-size: 13px;
    color: var(--text-meta);
}

.article-meta-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reading-info,
.view-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-meta);
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 20px;
}

.reading-info svg,
.view-count svg {
    color: var(--turquoise);
}

/* Featured Image */
.article-featured-image {
    margin: 0 0 24px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Quick Share Bar */
.quick-share-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.quick-share-bar .share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons-inline {
    display: flex;
    gap: 8px;
}

.share-btn-inline {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.share-btn-inline:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.share-btn-inline.share-facebook {
    background: #1877f2;
}

.share-btn-inline.share-twitter {
    background: #000;
}

.share-btn-inline.share-whatsapp {
    background: #25d366;
}

.share-btn-inline.share-telegram {
    background: #0088cc;
}

.share-btn-inline.share-copy {
    background: #6b7280;
    position: relative;
}

.share-btn-inline.share-copy.copied::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    border-radius: 50%;
}

/* Article Content Improvements */
.article-page .article-content {
    font-size: 18px;
    line-height: 1.85;
    color: var(--text-primary);
}

.article-page .article-content p {
    margin-bottom: 24px;
}

.article-page .article-content h2 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.article-page .article-content h3 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--dark-navy);
}

.article-page .article-content img {
    border-radius: 8px;
    margin: 24px 0;
}

.article-page .article-content blockquote {
    border-left: 4px solid var(--turquoise);
    padding: 20px 24px;
    margin: 24px 0;
    background: linear-gradient(135deg, #f8fffe, #f0fffe);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Tags Section */
.article-tags-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.tags-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--bg-light);
    color: var(--text-primary);
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.2s;
}

.tag-item:hover {
    background: var(--turquoise);
    color: #fff;
    transform: translateY(-2px);
}

.tag-hash {
    color: var(--turquoise);
    margin-right: 2px;
    font-weight: 600;
}

.tag-item:hover .tag-hash {
    color: #fff;
}

/* Engagement Section */
.engagement-section {
    margin: 50px 0;
}

.engagement-card {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.engagement-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.engagement-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.engagement-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.engagement-share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.engagement-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.engagement-share-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.engagement-share-btn.facebook {
    background: #1877f2;
}

.engagement-share-btn.twitter {
    background: #000;
}

.engagement-share-btn.whatsapp {
    background: #25d366;
}

/* Related Section */
.related-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

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

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-navy);
}

.title-icon {
    font-size: 24px;
}

.view-all-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--turquoise);
}

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

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.related-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.related-card:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-body {
    padding: 16px;
}

.related-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.related-card-title a {
    color: var(--dark-navy);
}

.related-card-title a:hover {
    color: var(--turquoise);
}

.related-card-date {
    font-size: 13px;
    color: var(--text-meta);
}

/* Sidebar Improvements */
.sidebar-sticky {
    position: sticky;
    top: 80px;
}

.widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--turquoise);
}

.widget-icon {
    font-size: 20px;
}

/* Trending Widget */
.trending-list {
    list-style: none;
}

.trending-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.trending-item:first-child {
    padding-top: 0;
}

.trending-number {
    font-size: 28px;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
    min-width: 36px;
}

.trending-content h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
}

.trending-content h4 a {
    color: var(--dark-navy);
}

.trending-content h4 a:hover {
    color: var(--turquoise);
}

.trending-content time {
    font-size: 12px;
    color: var(--text-meta);
}

/* Newsletter Widget */
.newsletter-widget {
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.newsletter-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.newsletter-widget h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.newsletter-widget p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.social-follow-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-follow-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s;
}

.social-follow-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.social-follow-btn.facebook {
    background: #1877f2;
}

.social-follow-btn.twitter {
    background: #000;
}

.social-follow-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-follow-btn.youtube {
    background: #ff0000;
}

/* Next Article Preview */
.next-article-preview {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.next-preview-content {
    background: linear-gradient(135deg, var(--turquoise), #1a8a7a);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
}

.next-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.next-preview-content .next-article-link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    transition: opacity 0.2s;
}

.next-preview-content .next-article-link:hover {
    opacity: 0.9;
    color: #fff;
}

.next-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.next-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 16px;
}

.next-text .next-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.next-arrow {
    font-size: 24px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-page .article-title {
        font-size: 28px;
    }

    .article-page .article-summary {
        font-size: 17px;
    }

    .article-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-meta-right {
        width: 100%;
        justify-content: flex-start;
    }

    .quick-share-bar {
        flex-wrap: wrap;
    }

    .engagement-card {
        padding: 30px 20px;
    }

    .engagement-share-buttons {
        flex-direction: column;
    }

    .engagement-share-btn {
        width: 100%;
        justify-content: center;
    }

    .next-preview-content .next-article-link {
        flex-direction: column;
        text-align: center;
    }

    .next-thumbnail {
        width: 100%;
        height: 120px;
    }

    .next-text {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .article-page .article-title {
        font-size: 24px;
    }

    .article-page .article-content {
        font-size: 16px;
    }

    .share-btn-inline {
        width: 36px;
        height: 36px;
    }

    .share-btn-inline svg {
        width: 16px;
        height: 16px;
    }
}

/* ================================================
   INFINITE SCROLL - Matches Main Article Design
   ================================================ */

/* Section */
.infinite-scroll-section {
    background: #fff;
}

/* Ensure article-page works correctly inside infinite container */
#infinite-articles-container .article-page {
    padding: 30px 0 50px;
}

#infinite-articles-container .article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

@media (max-width: 992px) {
    #infinite-articles-container .article-layout {
        grid-template-columns: 1fr;
    }
}

/* Inline Article Separator - Inside article-main to maintain sidebar flow */
.article-separator-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-top: 40px;
}

.article-separator-inline .separator-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
}

.article-separator-inline .separator-badge {
    display: inline-block;
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    background: var(--turquoise);
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(11, 152, 157, 0.3);
    white-space: nowrap;
}

/* Legacy separator (keep for backwards compatibility) */
.article-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 40px;
    border-top: 1px solid #eee;
}

.article-separator span {
    display: inline-block;
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    background: var(--turquoise);
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(11, 152, 157, 0.3);
}

/* Title link styling for infinite scroll articles (h2 instead of h1) */
.article-page .article-title a {
    color: var(--dark-navy);
    transition: color 0.2s;
}

.article-page .article-title a:hover {
    color: var(--turquoise);
}

/* Loader */
.infinite-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    color: var(--text-meta);
    font-size: 14px;
}

.loader-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #eee;
    border-top-color: var(--turquoise);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* End Message */
.infinite-end {
    text-align: center;
    padding: 40px 20px;
}

.infinite-end span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: #f5f5f5;
    border-radius: 20px;
}

.infinite-end span::before {
    content: '✓';
    font-size: 11px;
    color: var(--turquoise);
}

/* Responsive for article separator */
@media (max-width: 768px) {
    .article-separator {
        padding: 40px 0 24px;
    }

    .article-separator span {
        padding: 10px 20px;
        font-size: 11px;
    }
}

/* ================================================
   STICKY READING FOOTER - Engagement Feature
   ================================================ */
.sticky-reading-footer {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--dark-navy) 0%, #1a2a3a 100%);
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-reading-footer.visible {
    bottom: 0;
}

.sticky-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sticky-progress-info {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 80px;
}

.reading-percent {
    font-size: 18px;
    font-weight: 700;
    color: var(--turquoise);
}

.reading-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-next-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s;
    flex: 1;
    max-width: 500px;
}

.sticky-next-link:hover {
    background: var(--turquoise);
    transform: translateX(4px);
}

.sticky-next-label {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.sticky-next-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-arrow {
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.2s;
}

.sticky-next-link:hover .sticky-arrow {
    opacity: 1;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .sticky-reading-footer {
        padding: 10px 15px;
    }

    .sticky-progress-info {
        display: none;
    }

    .sticky-next-link {
        max-width: 100%;
    }

    .sticky-next-title {
        font-size: 13px;
    }
}

/* ================================================
   TIGHTER ARTICLE SPACING
   ================================================ */
.article-page {
    padding: 20px 0 30px;
}

.infinite-scroll-section {
    padding-top: 0;
    margin-top: -20px;
}

#infinite-articles-container .article-page {
    padding-top: 0;
}

.article-separator-inline {
    padding-top: 30px;
    margin-bottom: 20px;
}

/* ================================================
   LIVE READER COUNT
   ================================================ */
.live-readers {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    border-radius: 20px;
    font-size: 11px;
    color: #fff;
    animation: pulse-live 2s infinite;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.live-count {
    font-weight: 700;
}

.live-text {
    font-weight: 400;
    opacity: 0.9;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes pulse-live {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 71, 87, 0);
    }
}

/* ================================================
   EMOJI REACTIONS
   ================================================ */
.article-reactions {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
}

.reactions-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.reactions-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.reaction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 60px;
}

.reaction-btn:hover {
    border-color: var(--turquoise);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reaction-btn.active {
    border-color: var(--turquoise);
    background: linear-gradient(135deg, rgba(11, 152, 157, 0.1), rgba(11, 152, 157, 0.05));
}

.reaction-emoji {
    font-size: 24px;
    line-height: 1;
}

.reaction-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.reaction-btn.active .reaction-count {
    color: var(--turquoise);
}

/* ================================================
   INLINE ALSO READ BOX
   ================================================ */
.inline-also-read {
    margin: 25px 0;
    padding: 16px;
    background: linear-gradient(135deg, #f0f9fa 0%, #fff 100%);
    border-left: 4px solid var(--turquoise);
    border-radius: 0 12px 12px 0;
}

.also-read-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.also-read-icon {
    font-size: 18px;
}

.also-read-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--turquoise);
}

.also-read-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-navy);
    text-decoration: none;
    transition: color 0.2s;
}

.also-read-link:hover {
    color: var(--turquoise);
}

.also-read-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.also-read-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* ================================================
   TEXT SELECTION SHARE POPUP
   ================================================ */
.text-share-popup {
    position: absolute;
    display: flex;
    gap: 4px;
    padding: 8px;
    background: var(--dark-navy);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
}

.text-share-popup.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.text-share-popup::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--dark-navy);
}

.text-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.text-share-btn:hover {
    background: var(--turquoise);
    transform: scale(1.1);
}

.text-share-btn.twitter:hover {
    background: #1da1f2;
}

.text-share-btn.facebook:hover {
    background: #1877f2;
}

.text-share-btn.copy:hover {
    background: #10b981;
}

/* Responsive */
@media (max-width: 768px) {
    .live-readers {
        display: none;
    }

    .reaction-btn {
        padding: 10px 12px;
        min-width: 50px;
    }

    .reaction-emoji {
        font-size: 20px;
    }

    .also-read-thumb {
        width: 50px;
        height: 50px;
    }

    .also-read-text {
        font-size: 14px;
    }
}

/* ================================================
   CATEGORY PAGE STYLES
   ================================================ */
.category-header {
    background: linear-gradient(135deg, var(--turquoise) 0%, #087c80 100%);
    padding: 40px 0;
    margin-bottom: 30px;
    color: white;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.category-description {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 12px;
    max-width: 600px;
}

.category-stats {
    font-size: 14px;
    opacity: 0.8;
}

.category-stats span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Category Widget List in Sidebar */
.category-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-widget-list li {
    margin-bottom: 8px;
}

.category-widget-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s;
}

.category-widget-list li a:hover {
    background: var(--turquoise);
    color: white;
}

.category-widget-list li.active a {
    background: var(--turquoise);
    color: white;
    font-weight: 600;
}

.category-widget-list .count {
    font-size: 12px;
    color: var(--text-meta);
}

.category-widget-list li a:hover .count,
.category-widget-list li.active a .count {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .category-header {
        padding: 30px 0;
    }

    .category-title {
        font-size: 24px;
    }

    .category-description {
        font-size: 14px;
    }
}

/* ================================================
   STATIC PAGE - CORPORATE STYLE
   ================================================ */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #1a1d21 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Page Content Section */
.page-content-section {
    padding: 50px 0 80px;
    background: var(--bg-white);
}

.page-article {
    max-width: 800px;
    margin: 0 auto;
}

.page-cover {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-cover img {
    width: 100%;
    height: auto;
}

/* Page Body - Clean Typography */
.page-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4 {
    color: var(--dark-navy);
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-weight: 600;
    line-height: 1.3;
}

.page-body h2 {
    font-size: 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--turquoise);
}

.page-body h3 {
    font-size: 22px;
}

.page-body h4 {
    font-size: 18px;
}

.page-body p {
    margin-bottom: 1.25em;
}

.page-body ul,
.page-body ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

.page-body ul {
    list-style-type: disc;
}

.page-body ol {
    list-style-type: decimal;
}

.page-body li {
    margin-bottom: 0.5em;
}

.page-body a {
    color: var(--turquoise);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-body a:hover {
    color: #087c80;
}

.page-body blockquote {
    border-left: 4px solid var(--turquoise);
    padding: 15px 25px;
    margin: 25px 0;
    background: var(--bg-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-primary);
}

.page-body img {
    border-radius: 8px;
    margin: 25px auto;
}

.page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.page-body th,
.page-body td {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.page-body th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--dark-navy);
}

.page-body tr:nth-child(even) {
    background: #fafafa;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(11, 152, 157, 0.15);
    border-color: var(--turquoise);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.contact-card a {
    color: var(--turquoise);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 40px 20px;
    }

    .page-hero-title {
        font-size: 28px;
    }

    .page-hero-subtitle {
        font-size: 15px;
    }

    .page-content-section {
        padding: 30px 0 50px;
    }

    .page-article {
        padding: 0 15px;
    }

    .page-body {
        font-size: 16px;
    }

    .page-body h2 {
        font-size: 22px;
    }

    .page-body h3 {
        font-size: 18px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}

/* ================================================
   IMPROVED MOBILE RESPONSIVE - Article Page
   ================================================ */

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .article-page {
        padding: 15px 0 30px;
    }

    .article-cover {
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }

    .article-cover img {
        border-radius: 0;
    }

    .article-header {
        margin-bottom: 15px;
    }

    .article-category-wrapper {
        margin-bottom: 10px;
    }

    .article-category-badge {
        font-size: 11px;
        padding: 4px 10px;
    }

    .article-meta-bar {
        padding: 12px 0;
        gap: 10px;
    }

    .article-content {
        font-size: 17px;
        line-height: 1.7;
    }

    .article-content p {
        margin-bottom: 1.2em;
    }

    .article-content img {
        margin: 15px -15px;
        width: calc(100% + 30px);
        max-width: none;
        border-radius: 0;
    }

    /* Related articles */
    .related-articles {
        padding: 20px 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Sidebar hidden on mobile */
    .article-sidebar {
        display: none;
    }

    /* Breadcrumb */
    .breadcrumb-nav {
        padding: 10px 0;
    }

    .breadcrumb {
        font-size: 12px;
    }

    /* Tags */
    .article-tags {
        padding: 15px 0;
    }

    .tag-link {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .article-page .article-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .article-page .article-summary {
        font-size: 15px;
        line-height: 1.5;
    }

    .article-content {
        font-size: 16px;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .share-buttons-inline {
        justify-content: center;
    }
}

/* ================================================
   MOBILE FIX - Overflow & Width Issues
   ================================================ */

/* Note: overflow-x:hidden on html/body breaks sticky positioning.
   Instead, we fix overflow at the source - specific containers */

@media (max-width: 768px) {

    /* Force full width */
    body {
        width: 100%;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .article-page {
        width: 100%;
    }

    .article-layout {
        display: block;
        width: 100%;
    }

    .article-main {
        width: 100%;
        max-width: 100%;
    }

    .article-title {
        font-size: 24px !important;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .article-summary {
        font-size: 16px !important;
    }

    .article-cover {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .article-cover img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .article-content {
        width: 100%;
        max-width: 100%;
    }

    .article-content img {
        max-width: 100%;
        height: auto;
    }

    .article-content iframe {
        max-width: 100%;
    }

    .article-content pre {
        max-width: 100%;
        overflow-x: auto;
    }

    /* Meta bar */
    .article-meta-bar {
        flex-direction: column;
        gap: 10px;
    }

    /* Share buttons */
    .quick-share-bar {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Sidebar - hide on mobile */
    .article-sidebar {
        display: none !important;
    }

    /* Breadcrumb */
    .breadcrumb-nav .container {
        overflow-x: auto;
    }

    .breadcrumb {
        white-space: nowrap;
        flex-wrap: nowrap;
    }

    /* Header fix */
    .header-main .container {
        flex-wrap: nowrap;
    }

    /* Related articles */
    .related-posts-grid,
    .related-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Tags */
    .article-tags {
        flex-wrap: wrap;
    }

    .tag-link {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 20px !important;
    }

    .article-content {
        font-size: 16px;
        line-height: 1.7;
    }

    .article-meta-left,
    .article-meta-right {
        width: 100%;
    }
}

/* ================================================
   ADVERTISEMENT CONTAINERS
   ================================================ */
.ad-container {
    margin: 20px 0;
    text-align: center;
    clear: both;
    position: relative;
}

.ad-container .ad-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    overflow: hidden;
}

/* Specific position adjustments */
.ad-above_title {
    margin-top: 0;
    margin-bottom: 20px;
}

.ad-below_summary {
    margin: 15px 0 5px;
}

.ad-below_image {
    margin: 15px 0 20px;
}

.ad-content_1,
.ad-content_2,
.ad-content_3 {
    margin: 25px 0;
    padding: 15px 0;
}

.ad-end_of_article {
    margin: 30px 0 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.ad-sidebar {
    margin-bottom: 20px;
}

/* Responsive ads */
@media (max-width: 768px) {
    .ad-container {
        margin: 15px -15px;
        border-radius: 0;
    }
    
    .ad-container .ad-wrapper {
        min-height: 40px;
    }
}

/* Ensure ads don't overflow */
.ad-container iframe,
.ad-container img,
.ad-container ins {
    max-width: 100%;
}