/*************** 🦋 PAGE OVERVIEW 🦋 ***************
 * Company   : Softek Square PVT Ltd
 * Developer : Barbin Reegan L
 * Date      : 18-12-2025
 * Overview  : Global Styles for Signogen Blog
 * 🦋 Where clean code meets creativity
 **************************************************/ 

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

:root {
    --primary: #E05C00;
    --secondary: #C84A00;
    --accent: #FF7B2F;
    --dark: #111111;
    --light: #FFFFFF;
    --text: #111111;
    --text-light: #666666;
    --border: #E8E8E8;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@supports (scrollbar-gutter: stable) {
    html {
        scrollbar-gutter: stable;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    contain: layout style paint;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 340px;
}

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

a, button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

input, textarea, select {
    font-size: 16px;
    font-family: inherit;
}

.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;
}

@supports (display: grid) {
    @media (hover: none) and (pointer: coarse) {
        a:active, button:active {
            background-color: rgba(0, 0, 0, 0.1);
        }
    }
}

@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 480px) {
    * {
        -webkit-touch-callout: none;
    }
    
    input[type="search"]::-webkit-search-cancel-button {
        display: none;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        padding: 2rem 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
}



.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--primary);
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #E05C00, #C84A00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
    justify-content: flex-end;
    flex: 1;
}

.nav-button {
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #E05C00, #C84A00);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-button .nav-text {
    white-space: nowrap;
}

.nav-button.back-icon-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
}

.nav-button.back-icon-btn .back-icon {
    width: 24px;
    height: 24px;
}

.nav-button.back-icon-btn .nav-text {
    display: none;
}

.back-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: var(--transition);
}

.back-icon svg {
    width: 18px;
    height: 18px;
}

.nav-button.back-icon-btn:hover .back-icon {
    background: var(--light);
    color: var(--primary);
}

.nav-icon-mobile {
    display: none;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(224, 92, 0, 0.35);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem 0.5rem;
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
    }

    .nav-links {
        width: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .nav-links li {
        flex: 0 0 auto;
    }

    .nav-button {
        width: 56px !important;
        min-width: 56px;
        justify-content: center;
    }

    .nav-button.home-icon-btn .nav-text,
    .nav-button.back-icon-btn .nav-text {
        display: none;
    }

    .nav-icon-mobile,
    .back-icon {
        display: inline-flex;
    }

    .logo-subtitle {
        font-size: 0.85rem;
    }
}

.hero {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.search-bar {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
}

.search-bar button {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #E05C00, #C84A00);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.search-icon {
    display: inline-flex;
    align-items: center;
}

.search-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.search-bar button:hover {
    transform: scale(1.05);
}

.hero-decoration {
    height: 50px;
}

.hero-stats {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-stat {
    animation: slideInOne 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-stat:nth-child(1) {
    animation-delay: 0s;
}

.hero-stat:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-stat:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slideInOne {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.5rem 1.8rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFB37B, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 179, 123, 0.3);
}

.hero-stat:hover::before {
    opacity: 1;
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFB37B, #FF7B2F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    line-height: 1.3;
}

.insight-ribbon {
    max-width: 1200px;
    margin: -3rem auto 3.5rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.ribbon-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(224, 92, 0, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    flex-direction: row;
    width: 100%;
    animation: fadeInScale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ribbon-item:nth-child(1) {
    animation-delay: 0.9s;
}

.ribbon-item:nth-child(2) {
    animation-delay: 1.2s;
}

.ribbon-item:nth-child(3) {
    animation-delay: 1.5s;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ribbon-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(224, 92, 0, 0.3), rgba(255, 123, 47, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.ribbon-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.ribbon-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.ribbon-icon svg {
    width: 100%;
    height: 100%;
}

.ribbon-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.ribbon-text p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}

.filter-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--border);
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tag.active {
    background: linear-gradient(135deg, #E05C00, #C84A00);
    color: white;
    border-color: transparent;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.featured-image {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, rgba(224, 92, 0, 0.1), rgba(200, 74, 0, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
}

.featured-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.featured-category {
    background: rgba(224, 92, 0, 0.1);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.featured-date {
    color: var(--text-light);
    font-size: 0.95rem;
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.featured-btn {
    display: inline-block;
    background: linear-gradient(135deg, #E05C00, #C84A00);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.featured-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(224, 92, 0, 0.35);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border);
    contain: content;
}

.blog-card:hover,
.blog-card:focus-visible {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(224, 92, 0, 0.3);
}

.featured-post:focus-visible {
    outline: 3px solid rgba(224, 92, 0, 0.5);
    outline-offset: 6px;
}

.card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, rgba(224, 92, 0, 0.15), rgba(200, 74, 0, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.image-placeholder {
    font-size: 4rem;
    z-index: 1;
}

.card-svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.featured-svg {
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.card-category {
    background: rgba(224, 92, 0, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-weight: 600;
}

.card-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.blog-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: var(--text);
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    align-self: flex-start;
}

.card-link:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-name {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}



.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #E05C00, #FF7B2F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: #FFA64D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #FFB366;
}



/* Blog Detail Styles */
.blog-detail-container {
    max-width: 1320px;
    margin: 2rem auto 0;
    padding: 2.5rem 2rem 5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 1.5rem;
    background: linear-gradient(130deg, #fafbff 0%, #ffffff 55%, #f7f7f8 100%);
    color: var(--dark);
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(17, 17, 17, 0.08);
    align-items: start;
}

.blog-detail-article {
    background: var(--light);
    color: var(--dark);
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.blog-detail-hero-thumbnail {
    width: 100%;
    height: auto;
    min-height: 320px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
    opacity: 1;
    animation: fadeIn 0.6s ease-in-out;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    margin-bottom: 2.5rem;
}

.blog-detail-hero-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.blog-detail-hero-thumbnail img[src] {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.blog-detail-hero-thumbnail .thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.blog-detail-header {
    margin-bottom: 2.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-detail-meta-top {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-detail-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.25;
    letter-spacing: -0.5px;
    word-wrap: break-word;
    padding-top: 0;
    text-align: left;
}

.blog-detail-excerpt {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.65;
    font-weight: 500;
    text-align: left;
}

.blog-detail-subtitle {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-weight: 600;
    font-style: italic;
    text-align: left;
}

.blog-detail-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.8rem;
    line-height: 1.8;
    padding: 1.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(224, 92, 0, 0.04), rgba(255, 123, 47, 0.03));
    border-left: 5px solid var(--primary);
    border-radius: 8px;
    text-align: left;
}

.blog-detail-info {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.8rem 0;
    margin-bottom: 0;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.author-name {
    font-weight: 600;
    color: var(--dark);
}
.author-date {
    font-size: 0.95rem;
    color: var(--text-light);
}
.blog-detail-thumbnail {
    margin: 1.5rem 0 2rem 0;
    text-align: center;
}
#thumbnailImg {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    background: #222;
}
.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--dark);
    margin-bottom: 3rem;
    padding: 0;
    text-align: left;
}
.blog-tags {
    margin-bottom: 1.5rem;
}
.tag-badge {
    background: var(--primary);
    color: var(--light);
    font-weight: 600;
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.blog-share h3 {
    color: var(--primary);
}
.share-btn {
    background: var(--primary);
    color: var(--light);
    border: none;
}
.share-btn:hover {
    background: var(--accent);
    color: var(--light);
}
.blog-navigation {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.nav-post {
    background: white;
    color: var(--dark);
    border: 2px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.nav-post:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(224, 92, 0, 0.05), rgba(255, 123, 47, 0.05));
    box-shadow: var(--shadow);
}

.nav-post .nav-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.nav-post .nav-title {
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

.blog-detail-article {
    background: white;
}

.blog-detail-header {
    margin-bottom: 3rem;
}

.blog-detail-meta-top {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.blog-detail-category {
    display: inline-block;
    background: linear-gradient(135deg, #E05C00, #C84A00);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-detail-date {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.blog-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-detail-excerpt {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.blog-detail-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E05C00, #C84A00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-details {
    display: flex;
    flex-direction: column;
}

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

.author-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.blog-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.stat-icon {
    font-size: 1.2rem;
}

.blog-detail-thumbnail {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--border);
    max-height: 400px;
}

.blog-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4,
.blog-detail-content h5,
.blog-detail-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.blog-detail-content h1 { font-size: 2.2rem; }
.blog-detail-content h2 { font-size: 1.8rem; }
.blog-detail-content h3 { font-size: 1.5rem; }
.blog-detail-content h4 { font-size: 1.3rem; }
.blog-detail-content h5 { font-size: 1.15rem; }
.blog-detail-content h6 { font-size: 1rem; }

.blog-detail-content > p {
    margin: 0.9rem 0;
    line-height: 1.8;
}

.blog-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-detail-content strong,
.blog-detail-content b {
    font-weight: 700;
    color: var(--text);
}

.blog-detail-content em,
.blog-detail-content i {
    font-style: italic;
}

.blog-detail-content u {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content-section {
    margin-bottom: 3.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    margin-top: 0;
    line-height: 1.3;
    text-align: left;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.section-content p {
    margin: 0;
    line-height: 1.85;
    text-align: left;
}

.section-content ul,
.section-content ol {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.section-content li {
    margin-bottom: 0.5rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 0.9rem 0 0.9rem 2rem;
    line-height: 1.8;
}

.blog-detail-content li {
    margin-bottom: 0.4rem;
    padding-left: 0.5rem;
}

.blog-detail-content ul ul,
.blog-detail-content ol ol,
.blog-detail-content ul ol,
.blog-detail-content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-content code,
.blog-detail-content code {
    background: #f5f5f5;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #d73a49;
    word-break: break-word;
}

.section-content pre,
.blog-detail-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    border-left: 4px solid var(--primary);
    margin: 1.2rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.section-content pre code,
.blog-detail-content pre code {
    background: none;
    padding: 0;
    color: #f8f8f2;
    font-family: 'Courier New', Courier, monospace;
}

.section-content blockquote,
.blog-detail-content blockquote {
    border-left: 5px solid var(--primary);
    padding-left: 1.5rem;
    margin: 1.2rem 0;
    color: var(--text-light);
    font-style: italic;
    background: rgba(224, 92, 0, 0.05);
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 6px;
}

.blog-detail-content iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.2rem 0;
}

.blog-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.blog-detail-content table th,
.blog-detail-content table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.blog-detail-content table th {
    background: rgba(224, 92, 0, 0.1);
    font-weight: 700;
    color: var(--text);
}

.blog-detail-content table tr:hover {
    background: rgba(224, 92, 0, 0.05);
}

.blog-detail-content table tbody tr:last-child td {
    border-bottom: none;
}

.blog-detail-content hr {
    border: none;
    border-top: 2px solid var(--border);
    margin: 1.5rem 0;
}

.blog-detail-footer {
    padding: 2.5rem 0 3rem;
    border-top: 1px solid var(--border);
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    background: transparent;
    position: relative;
    z-index: 1;
}

.blog-tags {
    margin-bottom: 1.5rem;
}

.tags-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: block;
}

.tag-badge {
    display: inline-block;
    background: rgba(224, 92, 0, 0.1);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.blog-share {
    margin-bottom: 3rem;
    padding: 2.75rem 0 3rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.blog-share h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.share-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.share-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(224, 92, 0, 0.2);
    transform: translateY(-2px);
}

.blog-share {
    display: block;
    overflow: visible;
}

.blog-share .share-buttons {
    flex-wrap: wrap;
    justify-content: flex-start;
}

.blog-share .share-btn {
    flex: 0 1 180px;
    min-width: 140px;
}

.blog-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
    padding: 3.5rem 0;
    border-top: 1px solid var(--border);
}

.nav-post {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-post:hover {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 12px 28px rgba(224, 92, 0, 0.12);
    transform: translateY(-4px);
}

.nav-label {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-post .nav-title {
    display: block;
    font-weight: 700;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.4;
}

.blog-sidebar {
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.sidebar-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.related-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.related-post-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 28px rgba(224, 92, 0, 0.14);
    transform: translateY(-3px);
    background: white;
}

.related-post-image {
    width: 100%;
    height: 180px;
    border-radius: 0;
    overflow: hidden;
    background: var(--border);
    flex-shrink: 0;
}

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(224, 92, 0, 0.1), rgba(255, 123, 47, 0.1));
    font-size: 1rem;
    color: var(--text-light);
    text-align: center;
    padding: 1rem;
}

.related-post-content {
    flex: 1;
    min-width: 0;
    padding: 1.2rem;
}

.related-post-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.related-post-content h4 a {
    color: inherit;
    text-decoration: none;
}

.related-post-content h4 a:hover {
    color: var(--primary);
}

.related-post-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-date {
    display: block;
    font-size: 0.8rem;
    color: #999;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.error-message {
    background: #fef2f2;
    color: #c41e3a;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}



/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    z-index: 2000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(224, 92, 0, 0.6);
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(224, 92, 0, 0.4);
    transition: var(--transition);
    opacity: 0;
}

.scroll-to-top-btn.show {
    display: flex;
    opacity: 1;
}

.scroll-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(224, 92, 0, 0.6);
}

/* Content Wrapper with Sidebar */
.blog-content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.blog-detail-content {
    grid-column: 1;
}

/* Inline Sidebar */
.blog-sidebar-inline {
    grid-column: 2;
    align-self: start;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

/* Sidebar Sections */
.sidebar-section {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.sidebar-section:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 28px rgba(224, 92, 0, 0.12);
    transform: translateY(-2px);
}

.section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.section-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.3px;
}

.section-header i {
    color: var(--primary);
    font-size: 1.3rem;
}

/* Table of Contents */
.toc-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav a {
    display: block;
    padding: 0.5rem 0.8rem;
    color: var(--text-light);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: var(--transition);
    font-size: 0.95rem;
    line-height: 1.4;
}

.toc-nav a:hover {
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 1.1rem;
}

.toc-nav a.active {
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--primary);
    background: rgba(224, 92, 0, 0.05);
}

.toc-nav ul ul a {
    padding-left: 1.6rem;
    font-size: 0.9rem;
}

/* Author Bio Card */
.author-bio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0;
}

.bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(224, 92, 0, 0.2);
}

.bio-content h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.bio-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}





/* Comments Section */
.blog-comments {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin: 2.5rem 0 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blog-comments h3 {
    font-size: 1.45rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
}

.comments-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.comments-placeholder {
    text-align: center;
    padding: 2rem 1.5rem;
    color: var(--text-light);
    background: rgba(224, 92, 0, 0.05);
    border-radius: 8px;
    border: 1px dashed var(--border);
}

.comments-placeholder p {
    margin: 0;
    font-size: 1.05rem;
}

.comment-item {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(224, 92, 0, 0.12);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    font-weight: 700;
    color: var(--text);
    font-size: 1.05rem;
}

.comment-rating {
    display: flex;
    gap: 0.25rem;
}

.comment-rating i {
    font-size: 0.9rem;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: auto;
}

.comment-content {
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1rem;
}



.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}



.rating-input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-input .stars {
    display: flex;
    gap: 0.5rem;
}

.rating-input .star {
    font-size: 1.5rem;
    cursor: pointer;
    color: #ddd;
    transition: all 0.2s ease;
}

.rating-input .star:hover,
.rating-input .star.active {
    color: #ffc107;
    transform: scale(1.2);
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-light);
    min-width: 80px;
}

.comment-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-top: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.comment-form h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 700;
}

.comment-form-group {
    margin-bottom: 1rem;
}

.comment-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.comment-form-group input,
.comment-form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: white;
}

.comment-form-group input:focus,
.comment-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(224, 92, 0, 0.12);
}

.comment-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-submit-btn {
    background: linear-gradient(135deg, #E05C00, #C84A00);
    color: white;
    border: none;
    padding: 1rem 2.2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(224, 92, 0, 0.2);
}

.comment-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(224, 92, 0, 0.35);
}

.comment-submit-btn:active {
    transform: translateY(-1px);
}

/* Share Buttons with Icons */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.share-btn i {
    font-size: 1.1rem;
}

/* Platform-specific share button hover colors */
.share-btn.share-twitter:hover {
    background: #000000;
    border-color: #000000;
}

.share-btn.share-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.share-btn.share-linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
}

.share-btn.share-pinterest:hover {
    background: #E60023;
    border-color: #E60023;
}

.share-btn.share-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.share-btn.share-reddit:hover {
    background: #FF4500;
    border-color: #FF4500;
}

.share-btn.share-email:hover {
    background: #555555;
    border-color: #555555;
}

.share-btn.share-copy:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.share-btn.share-print:hover {
    background: #607D8B;
    border-color: #607D8B;
}

/* Bookmark Button */
.bookmark-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
}

.bookmark-btn:hover {
    background: rgba(224, 92, 0, 0.1);
    color: var(--primary);
}

.bookmark-btn.bookmarked {
    color: var(--primary);
}

.bookmark-btn.bookmarked i {
    fill: var(--primary);
}

/* Bottom Sidebar */
.blog-sidebar-bottom {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.footer-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/* Better tag styling */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.tags-label {
    width: 100%;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.tag-badge {
    display: inline-block;
    background: rgba(224, 92, 0, 0.1);
    color: var(--primary);
    padding: 0.6rem 1.3rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(224, 92, 0, 0.2);
    margin-right: 0.6rem;
    margin-bottom: 0.6rem;
}

.tag-badge:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224, 92, 0, 0.2);
}

/* Meta additions */
.blog-detail-reading-time {
    background: rgba(224, 92, 0, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Responsive Design */

/* Extra Small Screens - 320px (very small phones) */
@media (max-width: 320px) {
    html {
        font-size: 14px;
    }
    
    body {
        padding-bottom: 280px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .mobile-menu-toggle {
        display: inline-flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .search-bar {
        flex-direction: column;
        max-width: 100%;
        padding: 0.3rem;
    }
    
    .search-bar input {
        padding: 0.7rem 1rem;
        font-size: 14px;
    }
    
    .search-bar button {
        padding: 0.7rem 1rem;
        width: 100%;
        font-size: 14px;
    }
    
    .search-text {
        display: none;
    }
    
    .hero-stats {
        display: none;
    }
    
    .stat-value {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .insight-ribbon {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        margin-top: -2rem;
        display: grid;
    }
    
    .ribbon-item {
        padding: 1.2rem;
        gap: 1rem;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
    }
    
    .ribbon-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        flex-shrink: 0;
    }
    
    .ribbon-text h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .ribbon-text p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .container {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .filter-tags {
        gap: 0.5rem;
    }
    
    .tag {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .featured-image {
        height: 200px;
    }
    
    .featured-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .featured-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .blog-card h3 {
        font-size: 1.1rem;
    }
    
    .blog-card p {
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .newsletter {
        padding: 2.5rem 1.2rem;
        margin: 3rem 1rem 4rem;
        border-radius: 14px;
        box-shadow: 0 12px 35px rgba(224, 92, 0, 0.2);
    }
    
    .newsletter h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .newsletter p {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
        line-height: 1.5;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
        gap: 0.8rem;
    }
    
    .newsletter-form input {
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 16px;
        border-radius: 8px;
        min-height: 44px;
    }
    
    .newsletter-form button {
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 16px;
        min-height: 44px;
        border-radius: 8px;
    }
    
    .footer {
        padding-bottom: 2rem;
    }
}

/* Small Screens - 375px to 576px (phones and small tablets) */
@media (max-width: 576px) {
    html {
        font-size: 15px;
    }
    
    body {
        padding-bottom: 260px;
    }
    
    .nav-container {
        padding: 0 1.2rem;
    }
    
    .mobile-menu-toggle {
        display: inline-flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        gap: 0.5rem;
        min-width: 100%;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    
    .hero {
        padding: 4rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
    
    .search-bar {
        max-width: 100%;
        flex-wrap: wrap;
        padding: 0.4rem;
    }
    
    .search-bar input {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .search-bar button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .search-text {
        display: none;
    }
    
    .hero-stats {
        display: none;
    }
    
    .stat-value {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .insight-ribbon {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
        padding: 0 1.5rem;
        margin-bottom: 2.5rem;
        margin-top: -2.5rem;
        display: grid;
    }
    
    .ribbon-item {
        padding: 1.3rem;
        gap: 1.2rem;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
    }
    
    .ribbon-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        flex-shrink: 0;
    }
    
    .ribbon-text h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .ribbon-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .container {
        padding: 0 1.5rem;
        margin: 2.5rem auto;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .filter-tags {
        width: 100%;
        gap: 0.6rem;
    }
    
    .tag {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        flex: 0 1 auto;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-badge {
        top: 15px;
        right: 15px;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .featured-content h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .featured-meta {
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    
    .featured-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .featured-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        margin-bottom: 3.5rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-badge {
        top: 10px;
        right: 10px;
        padding: 0.3rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .card-body {
        padding: 1.3rem;
    }
    
    .card-meta {
        gap: 0.6rem;
        font-size: 0.85rem;
    }
    
    .blog-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.6rem;
    }
    
    .blog-card p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .card-link {
        font-size: 0.9rem;
    }
    
    .newsletter {
        padding: 3rem 1.5rem;
        margin: 4rem 1rem 4.5rem;
        border-radius: 14px;
        box-shadow: 0 15px 40px rgba(224, 92, 0, 0.2);
    }
    
    .newsletter h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        font-weight: 800;
    }
    
    .newsletter p {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .newsletter-form input {
        padding: 0.85rem 1.2rem;
        font-size: 16px;
        border-radius: 8px;
        min-height: 44px;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .newsletter-form button {
        padding: 0.85rem 1.2rem;
        font-size: 16px;
        border-radius: 8px;
        min-height: 44px;
        font-weight: 700;
    }
    
    .footer {
        padding: 2rem 1.5rem 1rem;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    .footer-content h3 {
        font-size: 1.2rem;
    }
    
    .footer-links {
        gap: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

/* Medium Screens - 768px (tablets) */
/* Mobile Devices - Small Screens (max 480px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    body {
        padding-bottom: 200px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Blog Detail Mobile */
    .blog-detail-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .blog-detail-hero-thumbnail {
        height: auto;
        min-height: 0;
        margin-bottom: 2rem;
        border-radius: 10px;
    }
    
    .blog-detail-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .blog-detail-meta-top {
        font-size: 0.85rem;
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .blog-detail-excerpt {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .blog-detail-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .blog-detail-intro {
        padding: 1.2rem 1rem;
        margin-bottom: 2rem;
        border-radius: 6px;
    }
    
    .blog-detail-info {
        padding: 1.5rem 0;
        gap: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .blog-detail-content {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .content-section {
        margin-bottom: 2.5rem;
        padding-bottom: 1.8rem;
    }
    
    .blog-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .blog-sidebar-inline {
        grid-column: 1;
        order: 2;
    }
    
    .sidebar-sticky {
        position: static;
        top: auto;
    }
    
    .sidebar-section {
        padding: 1.2rem;
        margin-bottom: 1.8rem;
        border-radius: 10px;
    }
    
    .section-header h3 {
        font-size: 1rem;
    }
    
    .section-header i {
        font-size: 1.1rem;
    }
    
    .toc-nav a {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .toc-nav ul ul a {
        padding-left: 1.3rem;
        font-size: 0.85rem;
    }
    
    .author-bio-card {
        padding: 1rem;
    }
    
    .bio-avatar {
        width: 50px;
        height: 50px;
    }
    
    .bio-content h4 {
        font-size: 1rem;
    }
    
    .bio-content p {
        font-size: 0.9rem;
    }
    

    
    .blog-share {
        margin-bottom: 3rem;
        padding: 1.5rem 0 2.5rem;
        border-bottom: 1px solid var(--border);
        position: relative;
        z-index: 2;
    }
    
    .blog-share h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }
    
    .share-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .share-btn {
        width: 100%;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .blog-share {
        padding-bottom: 1.5rem;
    }

    .blog-share .share-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.9rem;
    }

    .blog-share .share-btn {
        min-width: 0;
        padding: 0.9rem 1rem;
        border-radius: 14px;
        border: 1px solid rgba(17, 17, 17, 0.08);
        box-shadow: 0 12px 30px rgba(13, 20, 53, 0.14);
        background: rgba(255, 255, 255, 0.96);
        flex-direction: column;
        gap: 0.4rem;
    }

    .blog-share .share-btn i {
        font-size: 1.1rem;
    }
    
    .blog-navigation {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
        padding: 2rem 0;
    }
    
    .nav-post {
        padding: 1.2rem;
    }
    
    .nav-post .nav-label {
        font-size: 0.8rem;
    }
    
    .nav-post .nav-title {
        font-size: 0.95rem;
    }
    
    .blog-newsletter {
        padding: 2rem 1rem;
        margin: 2.5rem 0 2.5rem 0;
        border-radius: 10px;
    }
    
    .blog-newsletter h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .blog-newsletter p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .newsletter-form input {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .newsletter-btn {
        padding: 0.8rem 1.6rem;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .blog-comments {
        padding: 1.5rem;
        margin: 2.5rem 0 1.5rem 0;
        border-radius: 10px;
    }
    
    .blog-comments h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .comment-item {
        padding: 1.2rem;
        border-radius: 8px;
    }
    
    .comment-form {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .comment-form h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .comment-form-group {
        margin-bottom: 1rem;
    }
    
    .comment-form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .comment-form-group input,
    .comment-form-group textarea {
        padding: 0.75rem 0.8rem;
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .comment-form-group textarea {
        min-height: 100px;
    }
    
    .comment-submit-btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .comment-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blog-sidebar-bottom {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
    
    .related-posts {
        gap: 1.2rem;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .related-post-card {
        padding: 0;
        gap: 0;
        flex-direction: column;
        border-radius: 8px;
    }
    
    .related-post-image {
        width: 100%;
        height: 140px;
        border-radius: 0;
    }
    
    .related-post-content {
        padding: 1rem;
    }
    
    .related-post-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .related-post-content p {
        font-size: 0.85rem;
    }
    
    .blog-tags {
        gap: 0.6rem;
    }
    
    .tag-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Tablets - Medium Screens (481px - 768px) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    body {
        padding-bottom:384px;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }

    /* Force nav-links to show on mobile (overriding previous display:none for small screens) */
    .nav-links {
        display: flex;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .nav-button {
        padding: 0.6rem 1.3rem;
        font-size: 0.9rem;
    }

    .home-icon-btn .nav-text {
        display: none;
    }
    
    .home-icon-btn .nav-icon-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .home-icon-btn {
        padding: 0;
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero {
        padding: 5rem 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .search-bar {
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .search-bar button {
        min-width: auto;
    }
    
    .hero-stats {
        display: none;
    }
    
    .stat-value {
        font-size: 1.9rem;
    }
    
    .stat-label {
        font-size: 0.88rem;
    }
    
    .insight-ribbon {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 2rem;
        margin-bottom: 3rem;
        display: grid;
    }
    
    .ribbon-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .container {
        padding: 0 2rem;
        margin: 3rem auto;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3.5rem;
    }
    
    .featured-image {
        height: 320px;
    }
    
    .featured-content h2 {
        font-size: 2rem;
    }
    
    .featured-btn {
        display: inline-block;
        width: auto;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.8rem;
        margin-bottom: 3.5rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-body {
        padding: 1.3rem;
    }
    
    .blog-card h3 {
        font-size: 1.15rem;
    }
    
  
    
    .newsletter h2 {
        font-size: 2rem;
    }
    
    .newsletter p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
    
    .newsletter-form {
        max-width: 500px;
    }
    
    .footer {
        padding: 2.5rem 2rem 1rem;
    }
    
    /* Blog Detail Responsive */
    .blog-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .blog-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-sidebar-inline {
        grid-column: 1;
        order: 2;
    }
    
    .blog-detail-content {
        order: 1;
    }
    
    .blog-detail-hero-thumbnail {
        height: auto;
        min-height: 0;
        margin-bottom: 2rem;
        border-radius: 10px;
    }
    
    .blog-detail-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .blog-detail-excerpt {
        font-size: 1.05rem;
    }
    
    .blog-detail-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .blog-stats {
        width: 100%;
    }
    
    .blog-navigation {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
        margin-top: 2rem;
    }
    
    .sidebar-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .blog-share h3 {
        font-size: 1.1rem;
    }
    
    .share-buttons {
        gap: 0.8rem;
    }
    
    .blog-newsletter {
        padding: 2.5rem 1.5rem;
        margin: 3rem 0 3rem 0;
    }
    
    .blog-comments {
        padding: 2rem;
        margin: 3rem 0 2rem 0;
    }
    
    .comment-form {
        padding: 1.5rem;
    }
    
    .comment-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .share-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.95rem;
    }
    
    .blog-sidebar-bottom {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .related-posts {
        grid-template-columns: 1fr;
    }
    
    .related-post-card {
        padding: 0;
    }
    
    .related-post-content {
        padding: 0.8rem;
    }
}

/* Tablet - Medium Screens (600px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .blog-detail-title {
        font-size: 2.4rem;
    }
    
    .blog-detail-hero-thumbnail {
        height: auto;
        min-height: 0;
        margin-bottom: 2.5rem;
    }
    
    .blog-detail-container {
        gap: 2.5rem;
        padding: 1.8rem;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 1.2rem;
    }
    
    .blog-newsletter {
        padding: 3rem 2rem;
        margin: 3.5rem 0;
    }
    
    .newsletter-form {
        flex-direction: row;
        gap: 0.8rem;
    }
    
    .blog-comments {
        padding: 2.5rem;
        margin: 3.5rem 0 2rem 0;
    }
    
    .comment-form {
        padding: 2rem;
    }
    
    .comment-form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .sidebar-section {
        padding: 1.8rem;
    }
    
    .blog-detail-content {
        font-size: 1.05rem;
    }
}

/* Large Screens - 1024px (desktops) */
@media (max-width: 1024px) {
   
    
    .sidebar-sticky {
        top: 80px;
    }
    
    .blog-detail-title {
        font-size: 2.8rem;
    }
}

/* Extra Large Screens - 1440px+ (large desktops) */
@media (min-width: 1441px) {
    .container {
        max-width: 1320px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    }
}

/* Landscape Orientation - Mobile Phones (max 768px height) */
@media (orientation: landscape) and (max-height: 600px) {
    .navbar {
        padding: 0.6rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    body {
        padding-bottom: 150px;
    }
    
    .blog-detail-container {
        gap: 2rem;
        padding: 1.2rem;
    }
    
    .blog-detail-hero-thumbnail {
        height: auto;
        min-height: 0;
        margin-bottom: 1.5rem;
    }
    
    .blog-detail-title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .blog-detail-excerpt {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .blog-detail-meta-top {
        font-size: 0.8rem;
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .blog-detail-info {
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .author-avatar {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .author-details {
        gap: 0.1rem;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .author-date {
        font-size: 0.85rem;
    }
    
    .blog-detail-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .content-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .sidebar-section {
        padding: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .toc-nav a {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .blog-share {
        margin-bottom: 2rem;
        padding: 1rem 0 1.25rem;
        border-bottom: 1px solid var(--border);
        position: relative;
        z-index: 2;
    }
    
    .blog-share h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .share-buttons {
        gap: 0.6rem;
    }
    
    .share-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .blog-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 1rem 0;
    }
    
    .nav-post {
        padding: 0.9rem;
    }
    
    .nav-post .nav-title {
        font-size: 0.9rem;
    }
    
    .blog-newsletter {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
        border-radius: 8px;
    }
    
    .blog-newsletter h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .blog-newsletter p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form input,
    .newsletter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .blog-comments {
        padding: 1.2rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .blog-comments h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .comment-item {
        padding: 0.9rem;
    }
    
    .comment-form {
        padding: 1.2rem;
    }
    
    .comment-form-group {
        margin-bottom: 0.8rem;
    }
    
    .comment-form-group input,
    .comment-form-group textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .comment-form-group textarea {
        min-height: 80px;
    }
    
    .comment-submit-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .blog-sidebar-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .related-posts {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .related-post-card {
        padding: 0;
    }
    
    .related-post-image {
        width: 100%;
        height: 120px;
    }
    
    .related-post-content {
        padding: 0.8rem;
    }
}

/* Landscape Tablet (768px - 1024px height) */
@media (orientation: landscape) and (min-height: 600px) and (max-height: 900px) {
    .blog-detail-hero-thumbnail {
        height: auto;
        min-height: 0;
    }
    
    .blog-detail-title {
        font-size: 2rem;
    }
    
    .blog-detail-info {
        padding: 1.5rem 0;
    }
    
    .blog-newsletter {
        padding: 2.5rem 1.5rem;
        margin: 2.5rem 0;
    }
    
    .blog-comments {
        padding: 2rem;
        margin: 2.5rem 0 1.5rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Pagination Styles */
.pagination-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.pagination .page-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.pagination .page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(224, 92, 0, 0.05);
}

.pagination .page-btn.active {
    background: linear-gradient(135deg, #E05C00, #C84A00);
    color: white;
    border-color: transparent;
    cursor: default;
    box-shadow: 0 4px 12px rgba(224, 92, 0, 0.25);
}

.pagination .page-btn:disabled {
    background: #f5f5f5;
    border-color: #eee;
    color: #aaa;
    cursor: not-allowed;
    box-shadow: none;
}

.pagination .dots {
    color: var(--text-light);
    font-weight: 600;
    padding: 0 0.5rem;
}