/*  
=====================================================
 ISOLATED MODERN CSS FOR LABOUR CODES BLOG
 Namespace: .lc-blog + .post-hero
 Prevents conflict with your site
=====================================================
*/

/* ------------------------------
   POST HERO SECTION
------------------------------ */
.post-hero {
    background: linear-gradient(135deg, #e9f2ff, #f7fbff);
    padding: 120px 20px 50px;
    border-radius: 16px;
    margin-bottom: 35px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.post-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b2e59;
    margin-bottom: 18px;
    line-height: 1.3;
    font-family: "Inter", "Roboto", "Segoe UI", sans-serif;
}

.post-hero p {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.7;
}

.post-hero .meta {
    font-size: 0.95rem;
    color: #4b5563;
    background: #fff;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid #d5e2f7;
    font-weight: 500;
}


/* ------------------------------
   GLOBAL WRAPPER
------------------------------ */
.lc-blog {
    --bg: #f9fafb;
    --card-bg: #ffffff;
    --text: #1a1a1a;
    --secondary: #444;
    --primary: #0b66d6;
    --radius: 14px;
    --shadow: 0 4px 22px rgba(0,0,0,0.08);
    --font-main: "Inter", "Roboto", "Segoe UI", Arial, sans-serif;
}

/* ------------------------------
   BLOG CONTAINER
------------------------------ */
.lc-blog .container {
    margin: auto;
    padding: 40px 25px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ------------------------------
   TYPOGRAPHY
------------------------------ */
.lc-blog * {
    font-family: var(--font-main);
    color: var(--text);
    line-height: 1.75;
}

.lc-blog h2 {
    font-size: 1.9rem;
    margin-top: 45px;
    margin-bottom: 10px;
    font-weight: 800;
    color: #0b2e59;
    text-align: left;
}

.lc-blog h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    font-weight: 700;
    color: #0b2e59;
}

.lc-blog p {
    font-size: 1.05rem;
    margin: 18px 0;
    color: var(--secondary);
    text-align: left;
}

/* ------------------------------
   LISTS
------------------------------ */
.lc-blog ul,
.lc-blog ol {
    margin: 18px 0 18px 30px;
}

.lc-blog li {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* ------------------------------
   TABLES
------------------------------ */
.lc-blog table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.lc-blog table th {
    background: #e8f2ff;
    padding: 14px;
    font-weight: 600;
    border: 1px solid #d9e4f2;
}

.lc-blog table td {
    padding: 14px;
    border: 1px solid #e3e6e9;
}

/* ------------------------------
   INFO/NOTE BOX
------------------------------ */
.lc-blog .info-box {
    background: #eef7ff;
    border-left: 4px solid var(--primary);
    padding: 18px 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.lc-blog .info-box h3 { margin-top: 0; }

/* ------------------------------
   BLOCKQUOTE
------------------------------ */
.lc-blog blockquote {
    padding: 18px 25px;
    margin: 25px 0;
    border-left: 5px solid var(--primary);
    background: #f2f7ff;
    border-radius: 6px;
    font-style: italic;
}

/* ------------------------------
   CODE BLOCK
------------------------------ */
.lc-blog pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    overflow: auto;
    margin: 25px 0;
    font-size: 0.95rem;
}

/* ------------------------------
   BUTTONS
------------------------------ */
.lc-blog .btn {
    display: inline-block;
    padding: 12px 22px;
    background: var(--primary);
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.lc-blog .btn:hover {
    transform: translateY(-2px);
    background: #0a56bb;
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */
@media (max-width: 768px) {

    .post-hero {
        padding: 120px 18px 35px;
    }

    .post-hero h1 {
        font-size: 1.8rem;
    }

    .lc-blog .container {
        padding: 30px 20px;
    }

    .lc-blog h2 {
        font-size: 1.6rem;
    }

    .lc-blog h3 {
        font-size: 1.2rem;
    }
}

/* ------------------------------
   MODERN CSS: CONTAINER QUERIES
------------------------------ */
@container (max-width: 600px) {
    .lc-blog h2 { font-size: 1.5rem; }
    .lc-blog p { font-size: 1rem; }
}
