/* assets/css/style.css */

/* 1. Font Definitions */
@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXFaNum-Regular.woff2') format('woff2');
    font-weight: normal;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2');
    font-weight: bold;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXFaNum-Black.woff2') format('woff2');
    font-weight: 900;
}

:root {
    /* Brand Colors: Carbon Blue & Orange */
    --primary-blue: #003399;
    /* Carbon Blue */
    --accent-orange: #ff6600;
    /* Energetic Orange */
    --wood-color: #d2a679;
    /* Parquet hint */

    /* Light Theme Backgrounds */
    --bg-body: #f8f9fa;
    --bg-header: #ffffff;
    --bg-card: #ffffff;
    --bg-footer: #0a1128;
    /* Dark footer for contrast */

    /* Text Colors */
    --text-main: #222222;
    --text-muted: #666666;
    --text-light: #ffffff;

    /* Interface */
    --border-color: #e0e0e0;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 50, 150, 0.1);

    /* Dynamic Elements */
    --gradient-hero: linear-gradient(135deg, var(--primary-blue) 0%, #001f5c 100%);
    --radius-main: 12px;
}

/* 2. Global Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

/* STRICT Font Enforcement */
body,
input,
button,
textarea,
select {
    font-family: 'IRANSansX', sans-serif !important;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 3. Helper Classes */
.btn-cta {
    background: var(--accent-orange);
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-cta:hover::after {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.5);
}

.glossy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    border-radius: 16px;
    padding: 30px;
    transition: 0.3s;
}

.glossy-card:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-md);
}

/* 4. Header & Nav */
.main-header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
}

.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav a {
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--accent-orange);
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--accent-orange);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--border-color);
    color: var(--text-main);
    z-index: 2000;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    /* Dynamic Background */
    background: var(--mobile-menu-bg);
}

.mobile-menu-overlay.active {
    right: 0;
}

/* Mobile Menu Links */
/* Legacy mobile-link removed to prevent conflict with .mobile-menu-overlay a */
/* New simple link styling is handled by .mobile-menu-overlay a */

/* Mobile CTA Button */
/* Mobile CTA Button */
/* Mobile CTA Button */
.btn-cta-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--accent-orange) !important;
    /* Force Orange */
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 800;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    transition: 0.3s;
}

.btn-cta-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
    background: #e65c00 !important;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    display: none;
}

.backdrop.active {
    display: block;
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        padding-top: 5px;
        padding-bottom: 5px;
        row-gap: 5px;
        position: relative;
    }

    .logo {
        width: 100%;
        order: 1;
        /* First Row */
        text-align: center;
        margin-right: 0;
        display: flex;
        justify-content: center;
        margin-bottom: 5px;
    }

    .logo img {
        height: auto;
        /* Allow natural height */
        max-height: 60px;
        /* Limit slightly but bigger than 45px for visibility */
        max-width: 180px;
    }

    .main-nav {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        order: 2;
        /* Second Row */
    }

    .cta-container {
        display: block;
        order: 3;
        /* Second Row */
    }

    /* 
       To achieve:
       Row 1: Logo
       Row 2: CTA (Left) -- Hamburger (Right)
       
       In RTL:
       Start is Right. End is Left.
       
       If we want Hamburger on Right and CTA on Left:
       Hamburger should be "Start" (Right in RTL).
       CTA should be "End" (Left in RTL).
       
       We can use justify-content: space-between on the container.
       The Logo takes 100% width, forcing a break.
       The remaining items (Hamburger, CTA) will share the next line.
       
       Since Hamburger is defined BEFORE CTA in HTML (functions.php),
       it appears first.
       RTL First = Right.
       CTA appears second.
       RTL Second = Left.
       
       So simple space-between works!
    */

    .btn-cta-header {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: auto;
    /* Push CTA to bottom if needed */
}

.mobile-menu-overlay a {
    display: block;
    /* Ensure full width clickable */
    transition: 0.3s;
    border-radius: 5px;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.mobile-menu-overlay a:hover {
    background: #e6f0ff;
    color: var(--primary-blue) !important;
    padding-right: 15px;
}

/* 5. Hero Section (Redesigned) */
.hero-section {
    padding: 160px 0 120px;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    color: #fff;
    /* Always white inside Hero */
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: var(--accent-orange);
    filter: blur(200px);
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 2;
    font-weight: 900;
    margin-bottom: 25px;
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 45px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 6. Features Grid & Tech Specs */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 60px 0 100px;
}

.feature-card,
.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 20px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::before,
.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.4s;
}

.feature-card:hover,
.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before,
.tech-card:hover::before {
    transform: scaleX(1);
}

.feature-icon,
.tech-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-card p,
.tech-card p {
    color: var(--text-muted);
}

/* 7. About (Modern ZigZag) */
.about-section {
    padding: 100px 0;
    border-top: 1px solid #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-graphic {
    height: 400px;
    background: linear-gradient(135deg, var(--bg-card), #e6e9f0);
    border-radius: 30px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Abstract Shapes */
.about-graphic::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    opacity: 0.1;
}

.about-graphic::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: -20px;
    width: 300px;
    height: 300px;
    border: 40px solid rgba(0, 51, 153, 0.05);
    border-radius: 50%;
}

.about-graphic-icon {
    font-size: 8rem;
    color: var(--primary-blue);
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 51, 153, 0.2));
}

/* 8. Products (Unified List View) */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 0;
}

.product-item {
    display: flex;
    gap: 40px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-orange);
    opacity: 1;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-orange);
}

.product-thumb {
    width: 200px;
    height: 150px;
    background: #f0f2f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-blue);
    border: 1px solid #e0e0e0;
}

/* 9. Footer */
.main-footer {
    background: var(--bg-footer);
    padding: 80px 0 20px;
    border-top: 5px solid var(--accent-orange);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-orange);
}

.footer-col a {
    color: #ccc;
    display: block;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--accent-orange);
    transform: translateX(-5px);
}

.footer-col ul li {
    color: #ccc;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.copy-right {
    text-align: center;
    /* CENTERED */
    border-top: 1px solid #151515;
    padding-top: 30px;
    color: #555;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .header-container {
        flex-direction: row-reverse;
    }

    .main-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-item {
        flex-direction: column;
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-col a:hover {
        transform: none;
        color: var(--accent-color);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 10. Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
}

.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-blue);
    position: relative;
    /* Removed potential overflow causing transform */
}

.section-title-center::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    height: 250px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--accent-color);
    transform: scale(0);
    transition: 0.3s;
}

/* Hover Effects */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item:hover {
    border-color: var(--accent-color);
}

/* 11. Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    transform: scale(0.9);
    transition: 0.3s;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

/* 12. Contact Section (Home) */
.contact-section {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-left: 15px;
    background: rgba(255, 102, 0, 0.1);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.contact-form-card {
    flex: 1;
    min-width: 300px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
    margin-bottom: 25px;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 500;
}

.contact-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #f8f9fa;
    transition: 0.3s;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
}

.contact-input:focus {
    border-color: var(--primary-blue);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.1);
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form-card {
        padding: 25px;
        width: 100%;
    }

    .contact-info {
        width: 100%;
    }
}

/* 11. Floating Social Bar */
.floating-social-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-item:hover {
    transform: scale(1.1) translateX(5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.social-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transition: 0.3s;
}

.social-item:hover::after {
    transform: scale(2);
    opacity: 0;
}

/* Specific Colors */
.social-item.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-item.whatsapp {
    background: #25D366;
}

.social-item.telegram {
    background: #0088cc;
}

.social-item.youtube {
    background: #FF0000;
}

.social-item.aparat {
    background: #ED145B;
}

.social-item.call {
    background: var(--primary-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 51, 153, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 51, 153, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 51, 153, 0);
    }
}

@media (max-width: 768px) {
    .floating-social-bar {
        left: 15px;
        bottom: 15px;
        gap: 8px;
    }

    .social-item {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Contact Section Socials */
.c-social-icon {
    width: 35px;
    height: 35px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    color: #555;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.c-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
    border-color: transparent;
}

.c-social-icon.insta:hover {
    background: linear-gradient(45deg, #f09433, #bc1888);
}

.c-social-icon.whats:hover {
    background: #25D366;
}

.c-social-icon.tele:hover {
    background: #0088cc;
}

.c-social-icon.ytube:hover {
    background: #FF0000;
}

.c-social-icon.aparat:hover {
    background: #ED145B;
}

/* 12. Blog System */

/* Listing */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 15px;
}

.blog-category {
    color: var(--accent-orange);
    font-weight: bold;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: 0.3s;
}

.blog-title a:hover {
    color: var(--primary-blue);
}

.blog-summary {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.6;
}

.blog-read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    align-self: flex-end;
}

/* Single Article */
.breadcrumb {
    margin-top: 20px;
    color: #ccc;
    /* Lighter text for hero contrast */
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb .current {
    font-weight: bold;
    color: var(--accent-orange);
}

.article-summary-box {
    background: #f8f9fa;
    border-right: 4px solid var(--accent-orange);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.8;
}

.article-featured-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    line-height: 1.9;
    font-size: 1.05rem;
    text-align: justify;
    margin-bottom: 40px;
}

.article-content h2 {
    color: var(--primary-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content h3 {
    color: #444;
    margin-top: 25px;
    margin-bottom: 10px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-right: 30px;
}

.article-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 40px;
}

.article-tags,
.article-keywords {
    margin-bottom: 15px;
}

.keyword-tag {
    display: inline-block;
    background: #eee;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 5px;
    color: #555;
    transition: 0.3s;
    cursor: default;
}

.keyword-tag:hover {
    background: #ddd;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}