/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }
   
 .BlogPageSection {
    width: 90%;
    max-width: 90%;
    margin: auto;
    background-color: #c1b5a55a;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
    padding: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    color: #0d0d0d;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.BlogPageSection h1 {
    font-size: 2rem;
    color: #844919;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

.BlogPageSection h2 {
    font-size: 1.5rem;
    font-style: italic;
    text-align: left;
    color: #313131;
    margin-top: 20px;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
}

.BlogPageSection p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: justify;
}

/* Post-body links: clearly recognisable (overrides the global no-underline rule) */
.BlogPageSection a {
    color: #0b5394;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.BlogPageSection a:visited {
    color: #0b5394;
}
.BlogPageSection a:hover {
    color: #083a6b;
}

.Quotation {
            font-family: 'Georgia', serif; /* You can replace 'Georgia' with any of the recommended fonts */
            font-size: 1.2em;
            font-style: italic;
            color: #7b5c0d; /* Dark gray color for the text */
            border-left: 5px solid #007BFF; /* Blue left border for emphasis */
            padding-left: 1em;
            margin: 1em;
            line-height: 1.6;
}

.Emphasize {
         font-family: 'Arial', sans-serif; /* Clean, readable font */
            font-size: 1.2em; /* Slightly larger font size */
            font-weight: bold; /* Bold text for emphasis */
            font-style: italic; /* Italicize the text */
            background-color: #fff;
            border: 2px solid #ff9900; /* Darker blue border */
            border-radius: 10px; /* Rounded corners */
            padding: 10px; /* Padding around the text */
            text-align: center; /* Center-align the text */
            margin: 30px; /* Margin above and below the emphasized text */
}

     /* General List Styles */
        .BlogPageSection ul, ol {
            margin: 0;
            padding: 0;
            list-style-position: inside;
        }

        /* Unordered List Styles */
        .BlogPageSection ul {
            padding-left: 1.5em;
        }

        .BlogPageSection ul li {
            margin-bottom: 0.5em;
            font-size: 1em;
            line-height: 1.5;
        }

        .BlogPageSection ul li::before {
            font-size: 1.2em;
            margin-right: 0.5em;
            vertical-align: middle;
        }

        /* Ordered List Styles */
        .BlogPageSection ol {
            padding-left: 1.5em;
        }

        .BlogPageSection ol li {
            margin-bottom: 0.5em;
            font-size: 1em;
            line-height: 1.5;
        }

        .BlogPageSection ol li::before {
            font-weight: bold;
            margin-right: 0.5em;
            vertical-align: middle;
        }

/* Button Styling */
.btn-custom {
    background-color: #ff9900;
    color: #161625;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-custom:hover {
    background-color: #ff5050;
    transform: scale(1.06);
}

/* Hidden content */
.hidden-content {
    display: none;
    margin-top: 20px;
}

 
.blogdate {
    font-size: 0.8rem;
    font-style: italic;
    color: rgb(50, 50, 50);
}


.blogcontainer {
    display: flex;
    width: 98%;
    height: 90%;
    max-width: 98%;
    margin: 2rem auto;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}


/* Left Pane */
.left-pane {
    flex: 4;
    padding: 20px 5px 20px 5px;
    background-color: #fff;
    overflow-y: auto;
    border-right: 1px solid #ddd;
}

/* Right Pane */
.right-pane {
    flex: 1;
    padding: 20px;
    background-color: #3b200a;
    overflow-y: auto;
    font-family: 'Roboto', sans-serif;

}

.right-pane h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: whitesmoke;
    margin-bottom: 20px;
}

/* Blog List Styling */
.blog-list {
    list-style: none;
    text-align: left;
}

.blog-list li {
    margin-bottom: 15px;
}

.blog-list a {
    display: block;
    padding: 15px;
    background-color:white ;
    border: 1px solid #000000;
    border-radius: 8px;
    text-decoration: none;
    color: #1d1f21;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.blog-list a:hover {
    background-color: #ef9e42;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blogcontainer {
        flex-direction: column;
    }
    
    .left-pane, .right-pane {
        flex: none;
        width: 100%;
        border-right: none;
    }

}

/* ------------------------------------------------------------------ */
/* Blog index — card grid (added 2026-10-22, blogstyles v2)            */
/* ------------------------------------------------------------------ */

.BlogTagline {
    font-style: italic;
    font-size: 1.05rem;
    color: #f5e9d5;
    margin-top: 6px;
    text-align: center;
}

.blogindex {
    width: 96%;
    max-width: 1180px;
    margin: 2rem auto 3rem;
}

.blognotfound {
    background: #fdf3e3;
    border: 1px solid #ef9e42;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-family: 'Roboto', sans-serif;
}

.blogtoolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.blogchips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blogchip {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid #b06a28;
    background: #fff;
    color: #3b200a;
    cursor: pointer;
}

.blogchip.active {
    background: #3b200a;
    color: #fff;
    border-color: #3b200a;
}

.blogsearch {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    padding: 9px 14px;
    border: 1px solid #d8c9ae;
    border-radius: 8px;
    min-width: 230px;
    background: #fff;
}

.bloggrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.blogcard {
    background: #fff;
    border: 1px solid #e5d9c8;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #221607;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blogcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(59, 32, 10, 0.18);
}

.blogcard[hidden] {
    display: none;
}

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

.blogcard-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.blogcard-tag {
    align-self: flex-start;
    font-family: 'Roboto', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: #f3e4cd;
    color: #3b200a;
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 700;
}

.blogcard-title {
    font-size: 1.22rem;
    line-height: 1.3;
    font-weight: 700;
    color: #3b200a;
}

.blogcard-meta {
    font-size: 0.82rem;
    color: #8a6d4f;
    font-family: 'Roboto', sans-serif;
}

.blogcard-excerpt {
    font-size: 0.93rem;
    line-height: 1.5;
    color: #4c3a28;
    flex: 1;
}

.blogcard-read {
    font-size: 0.93rem;
    color: #b06a28;
    font-weight: 700;
}

.blogempty {
    text-align: center;
    padding: 40px 0;
    color: #8a6d4f;
    font-style: italic;
}

/* ------------------------------------------------------------------ */
/* Single post view                                                    */
/* ------------------------------------------------------------------ */

.blogarticle {
    width: 96%;
    max-width: 1020px;
    margin: 2rem auto 3rem;
}

.blogarticle .BlogPageSection {
    width: 100%;
    max-width: 100%;
}

.blogback {
    margin-bottom: 14px;
    font-family: 'Roboto', sans-serif;
}

.blogback a {
    color: #844919;
    font-weight: 700;
    text-decoration: none;
}

.blogback a:hover {
    text-decoration: underline;
}

.blogmore-heading {
    font-size: 1.5rem;
    color: #844919;
    margin: 34px 0 16px;
}

.bloggrid-more {
    margin-bottom: 10px;
}

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

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

    .blogsearch {
        width: 100%;
        min-width: 0;
    }

    .blogcard img {
        height: 170px;
    }
}

/* Homepage "Latest from the Blog" strip: 4 across (added 2026-10-22, v3) */
.bloggrid-home {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1180px;
    margin: 0 auto;
}

@media (max-width: 1000px) {
    .bloggrid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bloggrid-home {
        grid-template-columns: 1fr;
    }
}
