:root {
    --primary-color: #023e8a;
    --secondary-color: #8eacbe;
    --tertiary-color: rgb(188, 70, 6);
    --bg-light-grey: #f9f9f9;
    --bg-white: #ffffff;
    --bg-lt-dark: #eeede7;
    --bg-dark: #97b7cb;
    --text-white: #fff;
    --text-grey: #444;
    --btn-bg-color: #023e8a;
    --btn-bg-hover: #8eacbe;
    --link-color: #0077cc;
    --link-hover: #0077cc;
    --box-shadow: 0 2px 3px 3px rgba(0, 0, 0, 0.07);

    /*---For toggle button for blog contents  */
    --text-color: #333;
    --light-gray: #f5f7fa;
    --border-color: #e2e8f0;
    --hover-color: #f0f5ff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

/* Basic Styling */
html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*   ================================== 
        Main Blog Page Css 
    ===================================  */

/*----Header - blog post Starts */
.blog-post-header {
    text-align: center;
    width: 100%;
    padding: 60px 15%;
    background: linear-gradient(180deg, #11264e, #11264e);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.5);
}

.blog-post-header h1 {
    color: #fff;
}

.blog-post-header hr {
    width: 150px;
    margin: auto;
    border-top: 1.5px solid var(--light-gray);
}

.blog-post-header h3 {
    color: #eeede7;
    padding: 20px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .blog-post-header {
        padding: 30px 20px;
        text-align: justify;
    }
}

/* ----------------------------
    Recent Blogs
-------------------------------*/
.recent-blogs-sec {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
}

/* ----------------------------
    highlighted blog with sidebar
-------------------------------*/

/*----recent blog with sidebar---*/
.recent-blog-sidebar-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.left-sdbar-70 {
    flex: 70%;
}

.right-sdbar-30 {
    flex: 30%;
}

/*-style for responsive----*/
@media (max-width: 1100px) {
    .recent-blog-sidebar-container {
        flex-direction: column;
    }
}




/*--============================================
   style for highlighted blog section container  
   =========================================---*/
.section-container-spl {
    display: flex;
    flex-direction: column;
}

/*--style for section Heading  ---*/
.section-heading-spl {
    text-align: center;
    padding-bottom: 3rem;
}

.section-heading-spl hr {
    margin: auto;
    width: 150px;
    border-top: 2px solid var(--primary-color);
    padding-top: 0;
}

/*---Style for container of category box-----*/
.container-cat-spl {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/*--style for category box--*/
.categories-spl {
    background-color: #fff;
    border: 0.5px solid #ccc9c9;
    border-radius: 8px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
}

/*--styles for heading of category box---*/
.categories-spl h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: #ddd;
    padding: 10px;
    border-bottom: 1px solid var(--primary-color);
    border-radius: 8px 8px 0 0;
}

/*--styles for blog item--*/
.blog-item-spl {     /*  each blogs item container */
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 15px 15px 0;
    border-bottom: 0.5px solid #ddd;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 0px;
}

.blog-item-spl:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-content-spl {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.read-more-spl {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-spl:hover {
    color: var(--tertiary-color);
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .blog-item-spl {
        flex-direction: column;
    }

    .tn-blog-spl {
        flex: 0 0 auto;
        height: 200px;
        margin-bottom: 15px;
    }

    .blog-content-spl {
        gap: 15px;
    }
}

/*--style for thunb nail picture---*/
.tn-blog-spl {
    flex: 0 0 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

.tn-blog-spl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/*---style for hover effect of thimbnail and blogs details---*/
.blog-item-spl:hover .tn-blog-spl img {
    transform: scale(1.05);
}

/*--style for blogs contents , not image---*/
.blog-content-spl h3 {
    color: #1e7b7b;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.4;
}

.blog-content-spl a {
    text-decoration: none;
    cursor: pointer;
}

.blog-content-spl a:hover {
    text-decoration: none;
}

/*--Read more link with hover effect of arrow moving right--*/
.read-more-spl span {
    margin-right: 5px;
}

.read-more-spl .arrow-rt {
    display: inline-block;
    transition: transform 0.3s ease;
}

.read-more-spl:hover .arrow-rt {
    transform: translateX(15px);
}

/*--Read more ends---*/



/*----Featured blogs ends here----*/

/*----------------------------
Explore Blogs section with sidebar
--------------------------------*/
.explore-blogs-container{
    background-color: #bddbe4; 
    padding: 20px;
}

.main-container {
    max-width: 100%;
    margin: 40px auto;
    max-width: 1200px;
    display: flex;
    gap: 30px;
}

.blog-container {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.blog-container p{font-size: 1rem;}

.interviews-container {
    width: 30%;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background-color: var(--primary-color);
}

.category-accordion {
    margin-bottom: 20px;
}

.category-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1.5px solid #888;
    background-color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.category-header:hover {
    background-color: var(--hover-color);
}

.category-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-grey);
}

.category-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.category-header[aria-expanded="true"] .category-icon {
    transform: rotate(180deg);
}

.blog-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: white;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

.category-header[aria-expanded="true"]+.blog-list {
    max-height: 800px;
}

.blog-list-inner {
    padding: 16px 24px;
}

.blog-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.blog-item:last-child {
    border-bottom: none;
}

/*
.blog-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 16px;
}
    */

.blog-details {
    flex: 1;
}

.blog-details a {
    color: #666;
}

.blog-title {
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0 0 6px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title:hover {
    color: var(--primary-color);
}

/*
.blog-meta {
    display: flex;
    font-size: 14px;
    color: #718096;
}

.blog-date {
    margin-right: 16px;
}
    */

/* Interview Styles */
.interview-card {
    background-color: #e5e5e5;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.interview-card h2 {
    border-bottom: none;
    text-align: center;
    color: var(--primary-color);
}

.interview-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.interview-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.interview-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.interview-item:last-child {
    border-bottom: none;
}

.interview-link {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.interview-link:hover {
    color: var(--primary-color);
}

/*
.interview-meta {
    font-size: 14px;
    color: #718096;
    margin-top: 4px;
}
*/

@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
        padding: 0 15px;
    }

    .blog-container,
    .interviews-container {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .blog-item {
        flex-direction: column;
    }

    /*
    .blog-thumbnail {
        width: 100%;
        height: 160px;
        margin-right: 0;
        margin-bottom: 12px;
    }*/
}

/*------Blog Content with sidebar Ends   */


/*---====================
Styles for right-sdbar-30
=============================*/
/*----styles for sidebar cards-----*/
.sdbar-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.sdbar-card h3 {
    margin-top: 0;
    font-size: 1.4rem;
    border-bottom: 1px solid #ddd;
}

.sdbar-card h4 {
    color: var(--tertiary-color);
    font-size: 1.2rem;
}

.sdbar-card p {
    color: var(--text-light);
    padding-bottom: 15px;
}

.sdbar-card ul li {
    color: var(--text-light);
}

.sdbar-card a {
    display: flex;
    margin: auto;

}

.sdbar-card a:hover {
    text-decoration: none;
}



/*--======Style for read more excerpt========-*/

/* Read More Functionality */
.content-excerpt {
    overflow: hidden;
    position: relative;
    max-height: 150px;
    /* Height for excerpt */
    margin-bottom: 1rem;
}

.content-excerpt.expanded {
    max-height: none;
    /* Remove height restriction when expanded */
}

.content-excerpt:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    /*
    background: linear-gradient(transparent, rgb(211, 211, 211));
    */
}

.read-more-btn-exp {
    display: inline-block;
    cursor: pointer;
    font-weight: 600;
    padding: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-btn-exp:hover {
    color: #e74c3c;
    text-decoration: none;
}

.read-more-btn-exp .less {
    display: none;
}

.read-more-btn-exp.active .more {
    display: none;
}

.read-more-btn-exp.active .less {
    display: inline;
}

/*--read more excerpt ends */

.hospital-schedule p{
    padding: 0;
}