/* Online Posao - SaaS Tech Dashboard Styles */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --indigo: #4f46e5;
    --indigo-dark: #3730a3;
    --mint: #10b981;
    --mint-dark: #059669;
    --bg-slate: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


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

body {
    background-color: var(--bg-slate);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Header */
.tech-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
}

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

.tech-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tech-nav-item {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.4rem 0.6rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tech-nav-item:hover {
    color: var(--indigo);
}

/* Hero Section */
.tech-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--indigo);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--indigo);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background-color: var(--indigo-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--indigo);
}

/* Code Editor box mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.code-box {
    width: 100%;
    max-width: 450px;
    background-color: #1e293b;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    overflow: hidden;
}

.code-header {
    background-color: #0f172a;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.code-content {
    padding: 2rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.code-content p {
    margin-bottom: 0.4rem;
}

.indent {
    padding-left: 1.5rem;
}

.keyword { color: #f472b6; }
.str { color: #34d399; }
.bool { color: #60a5fa; }

/* Skills Section */
.skills-section {
    padding: 5rem 1.5rem;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--text-muted);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background-color: var(--bg-slate);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--indigo);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.05);
}

.skill-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.skill-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.skill-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Calculator Section */
.calculator-section {
    padding: 6rem 1.5rem;
}

.calc-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}

.calc-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

.calc-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.calc-desc {
    color: var(--text-muted);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

.tech-input, .tech-select {
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    outline: none;
    transition: var(--transition);
    background-color: var(--bg-slate);
}

.tech-input:focus, .tech-select:focus {
    border-color: var(--indigo);
    background-color: var(--bg-white);
}

.btn-calc {
    background-color: var(--mint);
    color: white;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.btn-calc:hover {
    background-color: var(--mint-dark);
}

/* Calculator Results */
.calc-results {
    background-color: var(--bg-slate);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-placeholder {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
}

.results-data-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: fadeIn 0.4s ease;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.result-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
}

.result-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-dark);
    white-space: nowrap;
}

.result-val-sub {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.text-red {
    color: #ef4444;
}

.result-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

.total-net {
    background-color: rgba(16, 185, 129, 0.08);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--mint);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.result-val-green {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.65rem;
    color: var(--mint-dark);
    white-space: nowrap;
}

/* Footer */
.tech-footer {
    background-color: var(--text-dark);
    color: white;
    padding: 5rem 1.5rem 2rem 1.5rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .calc-card {
        padding: 1.5rem 1rem;
    }
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .calc-results {
        padding: 1.2rem 1rem;
        min-height: auto;
    }
    .result-item {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .result-item.total-net {
        padding: 0.8rem;
    }
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    .tech-nav {
        justify-content: center;
        gap: 0.5rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .result-label {
        font-size: 0.8rem;
    }
    .result-val {
        font-size: 1rem;
    }
    .result-val-green {
        font-size: 1.15rem;
    }
}

/* Image mockup and inner pages layout */
.image-mockup {
    width: 100%;
    max-width: 500px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background-color: var(--bg-slate);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.mockup-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Subpage Hero Section */
.tech-sub-hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 1.5rem;
    text-align: center;
    position: relative;
}

.tech-sub-hero .hero-title {
    color: white;
    margin-bottom: 1rem;
}

.tech-sub-hero .hero-lead {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Page-specific background gradients */
.hero-bg-how { background-image: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(49, 46, 129, 0.95)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80'); }
.hero-bg-upwork { background-image: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(49, 46, 129, 0.95)), url('https://images.unsplash.com/photo-1531403009284-440f080d1e12?auto=format&fit=crop&w=1600&q=80'); }
.hero-bg-fiverr { background-image: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(49, 46, 129, 0.95)), url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=1600&q=80'); }
.hero-bg-copywriting { background-image: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(49, 46, 129, 0.95)), url('https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=1600&q=80'); }
.hero-bg-seo { background-image: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(49, 46, 129, 0.95)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1600&q=80'); }
.hero-bg-design { background-image: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(49, 46, 129, 0.95)), url('https://images.unsplash.com/photo-1561070791-26c113006238?auto=format&fit=crop&w=1600&q=80'); }
.hero-bg-taxes { background-image: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(49, 46, 129, 0.95)), url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1600&q=80'); }
.hero-bg-prod { background-image: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(49, 46, 129, 0.95)), url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=1600&q=80'); }
.hero-bg-calc { background-image: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(49, 46, 129, 0.95)), url('https://images.unsplash.com/photo-1508873535684-277a3cbcc4e8?auto=format&fit=crop&w=1600&q=80'); }
.hero-bg-contact { background-image: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(49, 46, 129, 0.95)), url('https://images.unsplash.com/photo-1534536281715-e28d76689b4d?auto=format&fit=crop&w=1600&q=80'); }

/* Rich text container for tech pages */
.tech-rich-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.tech-rich-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 2.5rem 0 1.25rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.tech-rich-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    color: var(--text-dark);
}

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

.tech-rich-content ul, .tech-rich-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.tech-rich-content li {
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}



/* SaaS Modern Dropdowns */
.tech-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.dropdown-trigger {
    cursor: pointer;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 190px;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    z-index: 1000;
    padding: 0.5rem 0;
}
.dropdown-menu a {
    color: var(--text-muted);
    font-family: 'Montserrat', sans-serif;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    transition: var(--transition);
}
.dropdown-menu a:hover {
    background-color: var(--bg-slate);
    color: var(--indigo);
}
.nav-item-dropdown:hover .dropdown-menu {
    display: block;
}
/* ==========================================
   MOBILE NAVIGATION & TABLE RESPONSIVENESS
   ========================================== */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 1100;
}
.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #0284c7;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .tech-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        padding: 0.8rem 1.2rem !important;
        background-color: var(--bg-white, #ffffff) !important; border-bottom: 1px solid var(--border-color, #e2e8f0) !important;
    }
    .header-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        gap: 0 !important;
        position: relative !important;
    }
    .tech-logo {
        font-size: 1.2rem !important;
    }
    .mobile-nav-toggle {
        display: flex;
        color: var(--text-dark) !important;
    }
    .tech-nav {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background-color: var(--bg-white, #ffffff) !important; border-bottom: 1px solid var(--border-color, #e2e8f0) !important;
        border-bottom: 2px solid #0284c7;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1.5rem !important;
        gap: 1rem !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
    }
    .tech-nav.mobile-nav-open {
        display: flex !important;
    }
    .tech-nav .tech-nav-item {
        font-size: 1.05rem !important;
        padding: 0.6rem 0 !important;
        border-bottom: 1px solid var(--border-color, #1e293b) !important;
        display: block !important;
        width: 100% !important;
    }
    .tech-nav .nav-item-dropdown {
        width: 100% !important;
    }
    .tech-nav .dropdown-menu {
        display: none !important;
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid #0284c7 !important;
        border-radius: 0 !important;
        padding: 0.5rem 0 0.5rem 1rem !important;
        margin-top: 0.5rem !important;
        background: transparent !important;
    }
    .tech-nav .nav-item-dropdown.dropdown-open .dropdown-menu {
        display: block !important;
    }
}

.table-responsive {
    border: 1px solid var(--border-color, #1e293b);
    background-color: var(--bg-panel, #0f172a);
}
.table-responsive table {
    min-width: 600px !important;
}

blockquote {
    border-left: 4px solid var(--indigo, #2563eb);
    background-color: var(--bg-slate, #f8fafc);
    padding: 2rem 2.5rem;
    margin: 3rem 0;
    border-radius: 8px;
    font-size: 1.25rem;
    line-height: 1.7;
    font-style: italic;
    color: #334155;
    font-family: 'Lora', Georgia, Garamond, serif;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

blockquote::before {
    content: "“";
    font-size: 5rem;
    color: rgba(79, 70, 229, 0.12);
    position: absolute;
    top: -0.75rem;
    left: 0.75rem;
    font-family: 'Lora', Georgia, serif;
}

/* Sidebar Widgets Layout */
.tech-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: var(--bg-white, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.015);
    transition: var(--transition);
}

.sidebar-widget:hover {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-widget ul li {
    margin: 0;
}

.sidebar-widget ul li a {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.5rem;
    margin-left: -0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 10px;
    transition: var(--transition);
    background-color: transparent;
}

.sidebar-widget ul li a i {
    width: 1.5rem;
    font-size: 1.1rem;
    margin-right: 0.5rem;
    color: var(--indigo);
    transition: var(--transition);
    text-align: center;
}

.sidebar-widget ul li a:hover {
    background-color: #f1f5f9;
    color: var(--indigo);
}

.sidebar-widget ul li a:hover i {
    transform: scale(1.15);
    color: var(--indigo-dark);
}

.article-body-content {
    font-size: 1.05rem;
    line-height: 1.68;
    color: var(--text-muted);
    display: block;
}

.article-body-content p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.article-body-content p:last-child {
    margin-bottom: 0;
}

.article-body-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.article-body-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-body-content ul, .article-body-content ol {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body-content li {
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}



/* Page Grid Layout */
.page-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .page-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Full-Width Articles Grid Section */
.homepage-articles-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.homepage-articles-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.homepage-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 992px) {
    .homepage-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .homepage-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
