/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0d233a;
    --accent-color: #e38c04;
    --accent-hover: #b56f03;
    --text-muted: #666666;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    background-color: #f4f7f6; /* Subtle grey background like Doccure theme */
    line-height: 1.6;
    padding:  0;
    padding-top: 40px;
}

.blog-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 2-Column Grid Layout --- */
.main-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr; /* Left side wider, right sidebar narrow */
    gap: 30px;
    align-items: start;
}

/* --- Left Column: Blog Area --- */
.blog-main-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.blog-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.blog-banner-placeholder {
    width: 100%;
    height: 350px;
    background-image: url('/html/template/assets/img/Blog Banner for Website Content (43).png');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    border-radius: 6px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 500;
    font-size: 18px;
}


.blog-post h2 {
    font-size: 22px;
    margin: 35px 0 15px 0;
    color: var(--primary-color);
}

.blog-post p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 15px;
}

.intro-text {
    font-size: 17px;
    font-weight: 400;
    color: #4a5568;
}

/* Lists Base Styling */
.bullet-list-box, .numbered-list, .standard-list {
    margin-bottom: 25px;
    padding-left: 20px;
}

.blog-post li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 15px;
}

/* --- Right Column: Sidebar Area --- */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    color: var(--primary-color);
}

/* Search Box Element */
.search-box {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-box button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #1e2d4a;
}

/* Emergency Contact Component */
.emergency-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-icon {
    background-color: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.emergency-label {
    font-size: 12px;
    color: var(--text-muted);
}

.phone-number {
    font-size: 18px;
    font-weight: 700;
}

/* Categories List Elements */
.categories-widget ul {
    list-style: none;
}

.categories-widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.categories-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-widget ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s;
}

.categories-widget ul li a:hover {
    color: var(--accent-color);
}

.categories-widget ul li a span {
    color: #94a3b8;
}

/* Tags Area */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    text-decoration: none;
    font-size: 12px;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.tag-link:hover {
    background: var(--primary-color);
    color: white;
}

/* --- Bottom Actions / Call To Action --- */
.cta-card {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 30px;
    margin-top: 40px;
    border-radius: 0 6px 6px 0;
}

.cta-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.btn-ca {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.btn-ca:hover {
    background-color: var(--accent-hover);
}

/* --- Responsive Adaptability (Mobile View) --- */
@media (max-width: 991px) {
    .main-layout {
        grid-template-columns: 1fr; /* Switch to stack row format on tablets/mobile */
    }
    body {
        padding: 20px 0;
    }
    .blog-main-content {
        padding: 20px;
    }
}
/* Main Blog Content */
.blog-main-content,
.blog-main-content p,
.blog-main-content h1,
.blog-main-content h2,
.blog-main-content h3,
.blog-main-content h4,
.blog-main-content h5,
.blog-main-content h6,
.blog-main-content li,
.blog-main-content strong,
.blog-main-content span,
.blog-main-content a {
    color: #030303 !important;
}


.blog-sidebar,
.blog-sidebar p,
.blog-sidebar h4,
.blog-sidebar li,
.blog-sidebar a,
.blog-sidebar span,
.blog-sidebar .phone-number,
.blog-sidebar .emergency-label {
    color: #020202 !important;
}

.standard-list li,
.numbered-list li,
.bullet-list-box,
.bullet-list-box li {
    color: #050505 !important;
} 