/*  Blog Card Styling */
ul.subject-list {
    padding: 0;
    margin: 0;
}

ul.categories-list {
    padding: 0;
    margin: 0;
}
.blog-content-indv p:has(img) {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
}
p.blog-excerpt.line-clamp {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  /* Optional for better control */
  height: 52px;
}
.search-container .search-input{
    border-radius: 8px;
}
.title-wrapper {
    margin-top:16px;
}
/* .container{
    margin:unset !important;
} */
.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 32px;
    grid-row-gap: 48px;
    padding: 30px;
    width: 90%;
    margin-inline: auto;
}
.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 22px;
    grid-row-gap: 24px;
    padding: 30px;
    width: 90%;
    flex: 0 0 75%;
    margin-inline: auto;
}
  .blog-heading-container{
    max-width: 850px;
    margin: 0 auto; /* centers the entire container */
    text-align: center; /* centers h2 and p text */
    padding: 20px;
  }

  .blog-heading-container h2,
  .blog-heading-container p {
    margin-bottom: 20px;
  }
  .blog-des{
    font-family: Roboto;
    font-weight: 400;
    font-size: 15px;
  }

.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 600px;
    text-decoration: none;
}

.blog-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    padding: 16px 16px 8px 16px;
}

.blog-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 12px;
}

.blog-title {
font-family: Montserrat;
font-weight: 500;
font-size: 21px;
color:#181A2A;
text-decoration: none;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.author-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.blog-excerpt {
    color: #181A2A;
    margin-bottom: 0px;
    flex-grow: 1;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 14px;
    text-align: left;
}

.blog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    text-decoration: underline;
    color: #121416;
    cursor: pointer;

}
.auth-title-share{
    display: flex;
    position: relative;
    align-items: baseline;
    position: relative;
    gap: 0.3rem;
    color:#97989F;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 12px;
    justify-content: space-between;
}

.mobile-swiper-blogs .swiper-wrapper{
    padding-bottom: 36px;
}

.btnshare{
        border: none;
    background: none ;
}
.share-svg{
            width: 15px;
            height: 16px;
        }
/* Individual Blog styling */

         .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;
            background: white;
        }
        .author-image{
            width: 36px;
            height: 36px;
            border-radius: 100%;
        }
        @media (min-width: 768px) {
            .container {
                flex-direction: row;
            }
        }

        .content-section {
            flex: 3;
            background-color: white;
            border-radius: 8px;
            padding: 25px;
        }

        .sidebar {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-block:28px;
            margin-right: 16px;
        }

        .categories, .subject {
            background-color: #1e3464;
            border-radius: 8px;
            padding: 20px;
            color: white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        h1 {
            color: #202F64;
            margin-bottom: 20px;
            font-size: 36px;
        }

        p {
            color: #121416;
            line-height: 1.6;
            margin-bottom: 20px;
        }
          .data p {
            color: #121416;
            margin-bottom: 40px;
            font-family: Roboto;
            font-weight: 400;
            font-size: 18px;


        }

        p br{
            display: none;
        }
        h2 {
            color: #1e3464;
            margin-bottom: 15px;
            font-size: 26px;
        }
        .blog-title-individual{
            font-family: Montserrat;
            font-weight: bold;
            font-size: 36px;
            color: #202F64;
            margin-bottom: 28px;

        }
        .sidebar-heading {
            color: #CF3547;
            font-size: 22px;
            margin-bottom: 15px;
            text-align: center;
            font-weight: 600;
            font-size: 30px;
            line-height: 100%;
            letter-spacing: unset;
            text-align: center;
        }

        .search-container {
            position: relative;
            margin-bottom: 4px;
        }

        .you-may-also-like{
            font-family: Montserrat;
            font-weight: 600;
            font-size: 36px;
            text-transform: uppercase;
            color:#121416;
            margin-left: 42px;

        }
        .blog-detail-wrapper .blog-container {
                width: 100%;
            }
        .search-btn {
            position: absolute;
            right: 15%;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #6C757D;
            cursor: pointer;
        }

        .categories-list, .subject-list {
            list-style: none;
        }

        .categories-list li, .subject-list li {
            padding: 12px 0;
            border-bottom: 1px solid #1A4FC5;
        }

        .categories-list li:last-child, .subject-list li:last-child {
            border-bottom: none;
        }

        .categories-list a, .subject-list a {
            color: white;
            text-decoration: none;
            display: block;
            transition: color 0.3s;
        }

        .categories-list a:hover, .subject-list a:hover {
            color: #CF3547;
        }

        .newsletter {
            margin-top: 40px;
        }

        .newsletter h2 {
            margin-bottom: 20px;
            color: #121416;
            font-weight: 400;
            font-size: 26px;
            line-height: 100%;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 0px;
        }

        .blog-content-container {
            display: flex;
            padding: 20px 72px;
            gap: 26px;
        }

        .email-input {
            padding: 12px;
            border: 1px solid #202F64;
            border-radius: 4px 0px 0px 4px;
            margin-right: -4px;
            color:#757575;
            font-family: Montserrat;
            font-weight: 600;
            font-size: 14px;

        }

        .subscribe-btn {
            background-color: #202F64;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: background-color 0.3s;
            font-weight: 600;
            font-size: 14px;
            line-height: 30px;
            letter-spacing: 4px;
        }

        .subscribe-btn:hover {
            background-color: #152751;
        }

        .checkbox-container {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-top: 10px;
        }

        .checkbox-container input {
            margin-top: 5px;
        }

        .checkbox-container label {
            font-size: 16px;
            color: #121416CF;
            line-height: 1.4;
            font-family: Montserrat;
            font-weight: 600;
            width: 75%;


        }
        .error-message {
            color: #CF3547;
            font-size: 14px;
            margin-top: 8px;
            display: none;
        }

        /* Mobile responsiveness */
        @media (max-width: 767px) {

            .container {
                flex-direction: column;
            }
            
            .newsletter-form {
                flex-direction: column;
            }
            
            .email-input{
                width: 100%;
            }
             .subscribe-btn {
                width: 45%;
                font-weight: 600;
                font-size: 14px;
                letter-spacing: 3px;
                padding: 8px 15px;
            }
            .checkbox-container label{
                font-family: Montserrat;
                font-weight: 400;
                font-size: 14px;
            }
        }

        @media (min-width: 768px) {
            .newsletter-form {
                display: flex;
                flex-direction: row;
            }
            
            .email-input {
                flex: 0.6;
            }
            
            .subscribe-btn {
                width: auto;
            }
        }
         @media (max-width: 767px) {
            .blog-container {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            grid-row-gap: 29px;
            padding: 16px;
            width: 100%;
         }
         .blog-list-parent {
            flex-direction: column;
            padding-bottom: 16px;
         }
         .blog-title {
            font-family: Montserrat;
            font-weight: 500;
            font-size: 20px;
         }
         .blog-excerpt{
            font-weight: 400;
            font-size: 14px;
         }
         .auth-title-share{
            font-weight: 500;
            font-size: 12px;
            gap: 0.5rem;
         }
         .read-more{
           
            font-weight: 500;
            font-size: 16px;
        }
        .share-svg{
            width: 14px;
            height: 14px;
        }
        .content-section{
                padding: 5%;
        }
        .blog-title-individual{
            font-family: Montserrat;
            font-weight: bold;
            font-size: 30px;
        }
        .data p{
            font-family: Roboto;
            font-weight: 400;
            font-size: 15px;
            margin-bottom: 20px;

        }
        .newsletter h2{
            font-family: Montserrat;
            font-weight: 500;
            font-size: 18px;

        }
        .email-input {
         padding: 12px 15px;
        }
        .newsletter-form{
            gap:8px;
        }
        .you-may-also-like {
            font-family: Montserrat;
            font-weight: 600;
            font-size: 24px;
            margin: 0;
            margin-block: 24px;
            margin-inline: 16px;
        }
        .sidebar {
            margin-inline: 0px;
        }
        .blog-content-container{
            flex-direction: column;
            padding: 8px 16px;
        }
        }
        .blog-list-parent {
            display: flex;
            padding-inline: 4%;

        }
        
        
        
        .author {
            text-wrap-mode: wrap;
        }
        
        
        /* .blog-container {
            background-color: #fff;
            text-align: center;
            padding: 2.5rem 1rem;
          } */
          
          .blog-message {
            color: #1e3464;
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
          }
          
          .blog-empty-container {
            flex: 0 0 75%;
            margin-top: 10%;
          }
          
          .blog-message a {
            color: #1e3464;
            text-decoration: underline;
            text-underline-offset: 3px;
            transition: color 0.3s ease-in-out; /* 👈 Smooth hover transition */
          }
          
          .blog-message a:hover {
            color: #C12033;
          }
          
        .blog-card:hover {
            animation: breathe 0.4s forwards;
        }