.content .title{
    text-align: center;
    letter-spacing: 1px;
}

.content{
    min-height: 50vh;
}

.content .main-title-div{
    display: flex;
    justify-content: center;
}

.content .main-title{
    padding: 10px 20px;
    border-radius: 13px;
    background-color:  rgb(211, 211, 211) ;
    border: 2px solid black;
}

.content .container{
    display: grid;
    margin-top: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}
.content .container .content-card{
    background-color: rgb(211, 211, 211);
    
border-radius: 13px;
    box-shadow: -4px 5px 16px -2px rgba(0,0,0,0.75);
-webkit-box-shadow: -4px 5px 16px -2px rgba(0,0,0,0.75);
-moz-box-shadow: -4px 5px 16px -2px rgba(0,0,0,0.75);
transition: all 0.5s ease;
}

.content .container .content-card:hover{
    background-color: rgb(170, 170, 170);
}


.content .container .content-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 13px;  /* Top-left corner */
    border-top-right-radius: 13px; 
}

.content .container .content-card h2{
    margin: 20px 20px;
    font-size: 20px;
    overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}

.content .container .content-card a{
    text-decoration: none;
    color: black;
}


.podcast-container{
    margin-top: 50px;
}

.article-container{
    margin: 150px 0;
}


.videos-container .content-card video{
    width: 100%;
    height: 100%;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

/* article */

/* Global Styles */


/* Article Styling */
.article {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    margin-bottom: 50px;
}

.article .img-div{
    width: 100%;
    margin-bottom: 20px;
}

.article .img-div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 13px;
}

.article p {
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: justify;
}

.article ul {
    margin: 10px 0;
    padding: 0 20px;
}

.article li {
    margin-bottom: 10px;
}

/* Section Styling */
section {
    margin-bottom: 20px;
}

/* Note Styling */
.note {
    background-color: #f0f8ff;
    padding: 10px;
    border-left: 4px solid #3498db;
    margin-bottom: 20px;
}

/* Blockquote Styling */
blockquote {
    background: #ecf0f1;
    padding: 15px;
    border-left: 5px solid #3498db;
    font-style: italic;
}

/* Link Styling */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* filter btn css */
/* General Styles for Filter Buttons */
.filter-buttons {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
    gap: 10px;
    justify-content: center; /* Center align buttons on the screen */
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    flex: 1 1 auto; /* Allows buttons to grow and shrink */
    max-width: 150px; /* Limits the width of each button */
    text-align: center;
}

.filter-btn.active {
    background-color: #0056b3;
}

.filter-btn.inactive {
    background-color: #ccc;
}

.filter-btn:hover {
    background-color: #0056b3;
}

.social-medias a {
    color: white;  
}

/* Responsive Styles */
@media (max-width: 768px) {
    .filter-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        gap: 5px; /* Reduces gap between buttons on smaller screens */
    }

    .filter-btn {
        flex: 1 1 100%; /* Makes buttons stack vertically on very small screens */
        max-width: none; /* Removes max-width constraint */
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .article {
        padding: 15px;
        margin: 10px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}

@media (max-width:768px){
    .content  .container{
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
  }


