/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

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


/* Container */
.site-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}


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

.author-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.author-link:hover {
    color: #FF6B35;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.logo-text {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.brand-badge {
    --maxw: 980px;
    --radius: 18px;
    --radiusSm: 14px;
    --shadow: 0 10px 28px rgba(15,23,42,.10);
    --shadowSm: 0 8px 18px rgba(15,23,42,.10);
    --line: rgba(15,23,42,.08);
    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --fontSerif: ui-serif, Georgia, "Times New Roman", Times, serif;
    --bg: #f6f7fb;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --bodyText: #1f2937;
    --accentText: #ffffff;
    --topbarBg: rgba(255,255,255,.78);
    --topbarBlur: blur(10px);
    --badgeBg: rgba(148,163,184,.14);
    --accent: #7c3aed;
    font-family: var(--font);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15,23,42,.08);
    border: 1px solid rgba(15,23,42,.10);
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1;
}

/* Navigation */
.header-menu-nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.header-menu-nav a {
    color: #666;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.header-menu-nav a:hover,
.header-menu-nav a.active {
    color: #ff6b35;
}

.header-menu-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.header-menu-nav a:hover::after,
.header-menu-nav a.active::after {
    width: 100%;
}

/* Main Content */
main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

/* Category Header */
.category-header {
    margin-bottom: 40px;
}

.category-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff6b35;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}


/* Article Card */
.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

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

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

.article-content {
    padding: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
}

.category {
    background: #ff6b35;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 500;
}

.date {
    color: #999;
}

.article-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article-content .summary {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-content .author {
    font-size: 14px;
    color: #999;
    font-style: italic;
    margin: 0;
}

.author-info-card {
    display: flex;
    justify-content: flex-start;
    /* Changed from space-between to flex-start for safety */
    align-items: center;
    margin-top: 12px;
    text-align: left;
    width: 100%;
}

.author-left {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    flex-grow: 1;
    /* Allow it to take space if needed */
}

.author-avatar-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff6b35;
    flex-shrink: 0;
}

.card-date {
    font-size: 13px;
    color: #999;
    margin-left: auto;
    /* Push to right explicitly */
    white-space: nowrap;
}

/* Author Header */
.author-header {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ff6b35;
}

.author-details h1 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

/* Post Container */
.post-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Post Article */
.post-article {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    min-width: 0;
    /* Fix for grid/flex overflow */
}


.post-header {
    margin-bottom: 30px;
}

/* New Post Header Styles */
.category-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

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

.cat-text {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #D32F2F;
    letter-spacing: 0.5px;
    line-height: normal;
}

.post-header h1 {
    font-size: 35px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 25px;
    color: #111;
    margin-top: 5px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}


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

.meta-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff6b35;
}

.meta-text-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-author-name {
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111;
}

.meta-author-name a {
    color: #111;
    text-decoration: none;
}

.meta-author-name a:hover {
    text-decoration: underline;
}

.verified-badge {
    vertical-align: middle;
}

.meta-publish-date {
    font-size: 13px;
    color: #666;
}

.meta-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-text {
    font-weight: 700;
    font-size: 15px;
    color: #111;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.google {
    background-color: #e5e5e5;
}

.whatsapp {
    background-color: #25D366;
}

.telegram {
    background-color: #0088cc;
}

.share {
    background-color: #111;
}

.post-image-wrapper {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

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

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

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

.post-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #222;
}

.post-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 25px 0 12px;
    color: #333;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 20px;
}

.sidebar-header {
    background-color: #D32F2F;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    margin-bottom: 25px;
    border-radius: 2px;
}

.latest-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-article-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

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

.sidebar-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: flex-start;
}

.sidebar-image-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

.sidebar-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-link:hover .sidebar-image-wrapper img {
    transform: scale(1.05);
}

.sidebar-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-content-wrapper h4 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    margin-bottom: 0;
}

.sidebar-link:hover h4 {
    color: #D32F2F;
}

/* -------------------------------------------
   Static Pages Styles (Reference Replica)
------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@400;600;700&display=swap');

.static-page-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    min-height: 60vh;
    font-family: 'Lexend Deca', sans-serif;
}

.static-page-container h1 {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1d;
    margin-bottom: 30px;
    line-height: 1.2;
}

.content-block h2 {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1d;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: none;
    padding-bottom: 0;
    line-height: 1.2;
}

.content-block p,
.content-block li {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #383838;
    margin-bottom: 21px;
    line-height: 1.5;
}

.content-block ul {
    margin-bottom: 21px;
    padding-left: 20px;
}

/* Contact Form - Reference Style */
.contact-form {
    margin-top: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
    min-width: 250px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #383838;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid #ddd;
    background-color: #f7f7f7;
    border-radius: 0;
    font-size: 13px;
    font-family: 'Lexend Deca', sans-serif;
    color: #383838;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #333;
}

.submit-btn {
    background-color: #32373c;
    color: white;
    border: 1px solid transparent;
    padding: 10px 30px;
    font-size: 15px;
    font-weight: 400;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    font-family: 'Lexend Deca', sans-serif;
}

.submit-btn:hover {
    background-color: #1d1d1d;
    transform: translateY(-1px);
}

/* -------------------------------------------
   Footer Styles (Dark Theme)
------------------------------------------- */
.main-footer {
    background-color: #1a1a1a;
    color: #b0b0b0;
    padding: 60px 0 20px;
    margin-top: 80px;
    font-size: 14px;
    border-top: 1px solid #eee;
}

.footer-main-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

/* Social Icons in Footer */
.footer-social-icons {
    display: flex;
    gap: 10px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.footer-social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-social-icon svg {
    fill: white;
    width: 18px;
    height: 18px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #666;
    font-size: 13px;
}

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

    .sidebar {
        position: static;
    }

    .latest-articles {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}



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

    .header-menu-nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-menu-nav a {
        font-size: 14px;
    }




    .hero-section h1 {
        font-size: 28px;
    }

    .post-article {
        padding: 25px;
    }

    .post-header h1 {
        font-size: 28px;
    }

    .meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .meta-social {
        width: 100%;
        justify-content: space-between;
        padding-top: 15px;
        border-top: 1px dashed #eee;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }


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

@media (max-width: 480px) {
    .site-content-wrapper {
        padding: 0 15px;
    }

    .post-article {
        padding: 20px 15px;
        border-radius: 0;
        max-width: 100%;
        overflow-x: hidden;
    }


    .post-header h1 {
        font-size: 24px;
    }

    .social-share-container {
        justify-content: center;
        flex-wrap: wrap;
    }
}


@media (max-width: 480px) {
    header .site-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        padding: 0 15px;
    }

    .header-actions {
        gap: 10px;
    }

    .logo-text {
        font-size: 20px;
    }

    .header-menu-nav {
        display: none;
    }
}

/* --- Premium Footer Styles --- */
.footer-wave-container {
    position: relative;
    background-color: #f8f9fa;
    /* Match body bg */
    height: 50px;
    margin-top: 60px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: #1a202c;
    /* Footer Dark Color */
}

.premium-footer {
    background-color: #1a202c;
    /* Dark Charcoal */
    color: #e2e8f0;
    padding: 60px 0 30px;
    font-family: 'Lexend Deca', sans-serif;
}

.premium-footer .footer-main-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a0aec0;
    margin-top: 15px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: #ff6b35;
    /* Orange accent */
    padding-left: 5px;
}

/* Social Box */
.footer-social-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.social-box-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.rss-icon {
    width: 32px;
    height: 32px;
    fill: #fff;
    flex-shrink: 0;
}

.social-text h4 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1rem;
}

.social-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #a0aec0;
    line-height: 1.4;
}

.social-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Social Brand Colors */
.social-btn.facebook {
    background-color: #1877F2;
}

.social-btn.x-twitter {
    background-color: #000000;
    border: 1px solid #333;
}

.social-btn.whatsapp {
    background-color: #25D366;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.youtube {
    background-color: #FF0000;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .premium-footer .footer-main-layout {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand,
    .footer-social-box {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .premium-footer .footer-main-layout {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-social-box,
    .footer-col {
        grid-column: span 1;
    }
}

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

.page-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-btn:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.page-btn.active {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
}

.page-btn.prev,
.page-btn.next {
    font-weight: bold;
    font-size: 16px;
}

.page-dots {
    color: #999;
    padding: 0 5px;
    font-size: 16px;
}

/* Social Sharing Panel */
/* Responsive Tables */
.post-content table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border: 1px solid #eee;
}


.post-content th,
.post-content td {
    min-width: 80px;
}


.social-share-container {

    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.share-entry-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-entry-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.share-entry-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

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

.btn-twitter {
    background-color: #000000;
}

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

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

.btn-more-share {
    background-color: #ff6b35;
    /* Using site accent color */
}

/* Post Page Compact Author */
.post-author {
    margin-top: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

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

.post-author .author-photo {
    width: 80px;
    height: 80px;
    border-width: 3px;
}

.post-author .author-details h1 {
    font-size: 22px;
    margin-bottom: 5px;
}

.post-author .author-bio {
    font-size: 14px;
    margin-top: 5px;
}

/* Comment Section */
.comments-area {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    min-height: 150px;
    transition: border-color 0.3s ease;
}

.comment-form-comment textarea:focus,
.comment-form-grid input:focus {
    border-color: #ff6b35;
    outline: none;
}

.comment-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.comment-form-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.submit-btn {
    background-color: #ff6b35;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: fit-content;
}

.submit-btn:hover {
    background-color: #e85a24;
    transform: translateY(-2px);
}

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

/* Comment Success Message */
.comment-success-message {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.comment-success-message h3 {
    color: #15803d;
    margin-bottom: 10px;
    font-size: 20px;
}

.comment-success-message p {
    color: #166534;
    font-size: 16px;
    margin: 0;
}

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

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

/* Related Posts Section */
.related-posts-section {
    margin: 40px 0;
}

.related-posts-title {
    background-color: #D32F2F;
    color: white;
    padding: 10px 20px;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
}

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

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


.related-article-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-image-wrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}

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

.related-article-item:hover .related-image-wrapper img {
    transform: scale(1.05);
}

.related-content-wrapper h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 8px 0;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 13px;
    color: #666;
}

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

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

.header-right {
    display: flex;
    align-items: center;
}


.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 16px;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.search-btn:hover {
    color: #ff6b35;
}

.search-btn svg {
    fill: currentColor;
}

.search-label {
    font-size: 14px;
    text-transform: uppercase;
}

.search-bar {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    width: 300px;
}

.search-bar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.search-bar input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.search-bar input:focus {
    border-color: #ff6b35;
}

.search-info-section {
    padding: 40px 0;
    margin-bottom: 20px;
    border-bottom: 3px solid #C62828;
}

.search-info-section h1 {
    font-size: 32px;
    margin: 0 0 10px 0;
}

.search-info-section p {
    font-size: 18px;
    color: #666;
}

/* Mobile Menu Base Styles (Hidden by default) */
.menu-mobile-controls {
    display: none;
}

.menu-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #333;
    display: flex;
    align-items: center;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.menu-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #333;
    transition: transform 0.2s;
}

.menu-close-btn:hover {
    transform: rotate(90deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    overflow-y: auto;
}

.mobile-nav a {
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: #f8f9fa;
    color: #C62828;
    border-left-color: #C62828;
    padding-left: 30px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Media Queries (Must come after base styles) */
@media (max-width: 768px) {
    .search-label {
        display: none;
    }

    .search-bar {
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
        top: 65px;
        padding: 10px;
        background: #fff;
        z-index: 101;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }


    .menu-mobile-controls {
        display: block;
    }

    .header-menu-nav {
        display: none;
    }

    .header .site-content-wrapper {
        justify-content: space-between;
    }
}