/*
Theme Name: Kohinoor Blog
Theme URI: https://kohinoorcreation.com.np/
Author: Kohinoor Creation
Author URI: https://kohinoorcreation.com.np/
Description: A clean, modern, and responsive blog theme for travel and lifestyle stories.
Version: 1.0.1
License: GPL v2 or later
Text Domain: kohinoor-blog
Tags: blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #fc4a00;
    --primary-dark: #e04300;
    --secondary: #009cd0;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --black: #212529;
    --border: #e9ecef;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

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

/* ===== ACCESSIBILITY - FOCUS STATES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.search-form button:focus-visible,
.newsletter-form button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.site-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.site-logo span {
    color: var(--primary);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li.current-menu-item a::after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d44 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
}

.search-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-form button {
    padding: 15px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: var(--primary-dark);
}

/* ===== BELOW HEADER AD ===== */
.header-ad-wrapper {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    margin-bottom: 30px;
}

.header-ad-box {
    text-align: center;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: Arial, sans-serif;
}

/* ===== CATEGORIES SECTION ===== */
.categories {
    padding: 60px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-description {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* ===== BLOG GRID ===== */
.blog-section {
    padding: 80px 0;
}

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

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img,
.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.blog-card:hover .card-image img,
.blog-card:hover .blog-image {
    transform: scale(1.08);
    filter: brightness(85%);
}

.card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.15);
    opacity: 0;
    transition: 0.4s;
}

.blog-card:hover .card-image::after {
    opacity: 1;
}

.blog-content,
.card-content {
    padding: 25px;
}

.blog-meta,
.card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.blog-title,
.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.blog-title a,
.card-title a {
    color: var(--dark);
}

.blog-title a:hover,
.card-title a:hover {
    color: var(--primary);
}

.blog-excerpt,
.card-excerpt {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* Ad Card in Grid */
.ad-card {
    background: var(--light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px dashed #ddd;
}

/* ===== FEATURED POST ===== */
.featured-post {
    padding: 60px 0;
    background: var(--light);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.featured-image img {
    width: 100%;
    border-radius: 12px;
}

.featured-content .post-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 15px;
}

.featured-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.featured-content h2 a {
    color: var(--dark);
}

/* ===== NEWSLETTER ===== */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d44 100%);
    text-align: center;
    color: var(--white);
}

.newsletter h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

/* ===== ABOUT AUTHOR ===== */
.about-author {
    padding: 80px 0;
    background: var(--white);
}

.author-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.author-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.author-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.author-text h3 span {
    color: var(--primary);
}

.author-text p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    color: var(--dark);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== SINGLE POST ===== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-8 {
    width: 66.666%;
    padding: 0 15px;
}

.col-lg-4 {
    width: 33.333%;
    padding: 0 15px;
}

.single-post .post {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.single-post .post img {
    border-radius: 12px;
    margin-bottom: 20px;
}

/* Related & Popular Posts */
.related-grid,
.popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.related-card,
.popular-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.related-card:hover,
.popular-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.related-card img,
.popular-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-card h4 {
    font-size: 1rem;
    margin: 12px 15px 5px;
    line-height: 1.4;
}

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

.related-card span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0 15px 15px;
}

.popular-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
}

.popular-card img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    flex-shrink: 0;
}

.popular-info {
    flex: 1;
}

.popular-info h4 {
    font-size: 1rem;
    margin: 0 0 5px;
    line-height: 1.4;
}

.popular-info h4 a {
    color: var(--dark);
}

.popular-info span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

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

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

.widget ul li a {
    color: var(--gray);
}

.widget ul li a:hover {
    color: var(--primary);
}

/* Sidebar Popular Posts - Vertical */
.sidebar-popular-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-vertical-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.popular-vertical-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.popular-vertical-box img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.popular-vertical-box h4 {
    font-size: 0.95rem;
    margin: 8px 0 5px;
}

.popular-vertical-box h4 a {
    color: var(--dark);
}

.popular-vertical-box .post-date {
    font-size: 0.7rem;
    color: var(--gray);
    display: block;
}

/* Sidebar Ad */
.ad-widget {
    margin-bottom: 30px;
    text-align: center;
}

.sidebar-ad {
    background: var(--light);
    padding: 15px;
    border-radius: 8px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-sidebar-ad {
    position: sticky;
    top: 20px;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray);
    transition: all 0.3s ease;
}

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

/* ===== AD STYLING ===== */
.ad-box {
    background: var(--light);
    padding: 15px;
    border-radius: 8px;
    clear: both;
}

.custom-ad {
    clear: both;
    overflow: hidden;
}

.in-content-ad {
    margin: 30px 0;
    clear: both;
}

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

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 8px;
    color: var(--dark);
    transition: all 0.3s ease;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .sidebar,
    .newsletter,
    .site-footer,
    .ad-box,
    .ad-card,
    .header-ad-wrapper,
    .ad-widget,
    .menu-toggle {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .col-lg-8 {
        width: 100%;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .author-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .author-image img {
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .col-lg-8,
    .col-lg-4 {
        width: 100%;
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .sticky-sidebar-ad {
        position: static;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        padding: 30px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .blog-grid,
    .related-grid,
    .popular-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li a:hover {
        padding-left: 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        border-radius: 50px;
    }
    
    .header-ad-wrapper {
        padding: 10px 0;
        margin-bottom: 20px;
    }
    
    .header-ad-box {
        min-height: auto;
    }
    
    .sidebar-ad {
        min-height: auto;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post .post {
        padding: 20px;
    }
    
    .popular-card {
        flex-direction: column;
        text-align: center;
    }
    
    .popular-card img {
        width: 100%;
        height: 150px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ===== PAGE TEMPLATE STYLES ===== */

/* Page Header with Background Image */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Page Content Typography */
.post-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.post-content h4 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin: 0 0 1.5rem 1.5rem;
}

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

.post-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: var(--light);
    border-left: 4px solid var(--primary);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content pre {
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}

.post-content code {
    background: var(--light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.post-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.post-content table th,
.post-content table td {
    padding: 12px;
    border: 1px solid var(--border);
    text-align: left;
}

.post-content table th {
    background: var(--light);
    font-weight: 600;
}

/* Page Links (Multipage) */
.page-links {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
}

.page-links-title {
    font-weight: 600;
    margin-right: 10px;
}

.page-links .page-number {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    background: var(--light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-links .page-number:hover {
    background: var(--primary);
    color: var(--white);
}

.page-links > .page-number {
    background: var(--primary);
    color: var(--white);
}

/* Edit Link Button */
.btn-edit {
    display: inline-block;
    padding: 8px 16px;
    background: var(--light);
    color: var(--dark);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background: var(--primary);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .post-content {
        font-size: 1rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .post-content blockquote {
        padding: 15px 20px;
    }
}
/* ===== SINGLE POST STYLES ===== */

/* Post Category */
.post-category {
    margin-bottom: 15px;
}

.post-category a {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Post Meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.9rem;
}

.post-meta i {
    margin-right: 5px;
    color: var(--primary);
}

/* Post Thumbnail Caption */
.post-thumbnail {
    margin-bottom: 30px;
    position: relative;
}

.thumbnail-caption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--gray);
    font-style: italic;
    text-align: center;
}

/* Post Tags */
.post-tags {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.post-tags i {
    margin-right: 10px;
    color: var(--primary);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 20px;
    padding: 25px;
    margin: 30px 0;
    background: var(--light);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.author-info h4 {
    margin-bottom: 10px;
}

.author-info p {
    margin-bottom: 0;
    color: var(--gray);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.nav-previous a,
.nav-next a {
    color: var(--dark);
    font-weight: 500;
}

.nav-previous i {
    margin-right: 8px;
}

.nav-next i {
    margin-left: 8px;
}

/* Related Posts Title */
.related-title {
    font-size: 1.5rem;
    margin: 40px 0 25px;
    position: relative;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Related Date */
.related-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.related-date i {
    margin-right: 5px;
}

/* No Related Posts */
.no-related {
    text-align: center;
    color: var(--gray);
    padding: 30px;
    font-style: italic;
}

/* Ad Spacing */
.custom-ad {
    margin: 30px 0;
    clear: both;
    text-align: center;
}

.in-content-ad {
    margin: 30px 0;
    clear: both;
}

/* Responsive */
@media (max-width: 768px) {
    .post-meta {
        gap: 15px;
        font-size: 0.85rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .related-title {
        font-size: 1.3rem;
    }
}
/* ===== SOCIAL SHARE BUTTONS ===== */

.social-share-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.share-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

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

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white) !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

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

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

/* Button Colors */
.share-facebook {
    background: #1877f2;
}
.share-facebook:hover {
    background: #0e6ae4;
}

.share-twitter {
    background: #1da1f2;
}
.share-twitter:hover {
    background: #0c8bd9;
}

.share-linkedin {
    background: #0077b5;
}
.share-linkedin:hover {
    background: #00669c;
}

.share-pinterest {
    background: #e60023;
}
.share-pinterest:hover {
    background: #cc0020;
}

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

.share-copy {
    background: var(--gray);
}
.share-copy:hover {
    background: var(--dark);
}

.share-copy.copied {
    background: #28a745;
}

/* Floating Share Buttons (Sticky on Left) */
.floating-share {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
}

.floating-share .share-btn {
    width: 45px;
    height: 45px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.floating-share .share-btn span {
    display: none;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-share-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .social-share-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .share-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 8px;
    }
    
    .share-btn span {
        display: none;
    }
    
    .share-btn i {
        font-size: 1.1rem;
    }
    
    /* Hide floating share on mobile */
    .floating-share {
        display: none;
    }
}

@media (min-width: 1400px) {
    .floating-share {
        display: flex;
    }
}
/* Footer Social Links - Fix Visibility */
.site-footer .social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.site-footer .social-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.site-footer .social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Individual Brand Colors on Hover (Optional) */
.site-footer .social-links a[aria-label="Facebook"]:hover { background: #1877f2 !important; }
.site-footer .social-links a[aria-label="Instagram"]:hover { background: #e4405f !important; }
.site-footer .social-links a[aria-label="Twitter"]:hover { background: #1da1f2 !important; }
.site-footer .social-links a[aria-label="YouTube"]:hover { background: #ff0000 !important; }
/* ===== ENHANCED SHARE BUTTON STYLES ===== */

.social-share-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--light);
    padding: 15px 20px;
    border-radius: 12px;
}

.share-label {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white) !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Individual Button Colors */
.share-btn[aria-label*="Facebook"],
.share-facebook {
    background: #1877f2;
}

.share-btn[aria-label*="Twitter"],
.share-twitter {
    background: #000000;  /* X brand color */
}

.share-btn[aria-label*="LinkedIn"],
.share-linkedin {
    background: #0077b5;
}

.share-btn[aria-label*="YouTube"] {
    background: #ff0000;
}

.share-btn[aria-label*="Instagram"] {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .social-share-wrapper {
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 15px;
    }
    
    .share-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .share-btn span {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .social-share-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .social-share-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .share-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 8px;
    }
    
    .share-btn span {
        font-size: 12px;
    }
}