.nav__link a {
    color: #333333;
}

.nav__link a:hover {
    color: #4d4d4d;
}

.nav__link a:hover .d-toggle {
    fill: #4d4d4d;
}


.d-toggle {
    fill: #333333;
}

.header-btn{
    background: #334097;
    padding: 0.9vw 1.5vw;
    color: #fcf6f6;
    outline: none;
    font-family: "Altone Trial", sans-serif;
    font-size: 1.1vw;
    border: 0.1vw solid #fff;
    border-radius: 1vw;
    z-index: 2;
    height: 100%;
    position: relative;
    cursor: pointer;
}

/* header */

.community-header {
    position: relative;
    width: 100%;
    height: 20vw; /* Adjust height as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(1px);
    height: 100%;
    background-color: rgba(251, 250, 250, 0.196); /* Semi-transparent overlay */
    z-index: 1;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}


@media (max-width: 768px) {
    .community-header {
        height: 25vw;
    }

}


/* Introduction */

.community-intro {
    background-color: #f5f5f5;
    padding: 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.community-intro .container {
    width: 45vw;
}

.community-intro h2 {
    font-size: 2.5vw;
    color: #1a237e;
    margin-bottom: 1vw;
}

.community-intro p {
    font-size: 1.1vw;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.5vw;
}

.community-intro ul {
    list-style-type: none;
    padding: 0;
}

.community-intro li {
    font-size: 1.1vw;
    line-height: 1.5;
    margin:0.5vw 1vw;
    text-align: left;
}

.community-intro li::before {
    content: "📌";
    color: #1b5e20;
    margin-right: 0.1vw;
    font-size: 1.2vw;
}

.img-container {
    width: 40vw;
    height: 40vw;
    border: 0.5vw solid #fff;
    border-radius: 1.5vw;
}

.img-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1vw;
}

/* Stories */

.featured-stories {
    background-color: #f9f9f9;
    padding: 3vw 5vw;
  }
  
  .featured-stories .container {
    max-width: 80vw;
    margin: 0 auto;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.5vw;
    margin-bottom: 1vw;
    color: #1a237e;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2vw;
  }
  
  .card {
    background-color: #fff;
    border-radius: 1vw;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5vw;
    margin-top: 2vw;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  }
  
  .card-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: left;
  }
  
  .card-text {
    font-size: 1vw;
    line-height: 1.5;
    margin-bottom: 1vw;
    color: #555;
    height: 12vw;
  }
  
  .card-author {
    font-size: 1.1vw;
    font-weight: bold;
  }
  

  /* community-gallery */

  .community-gallery{
    padding: 3vw 5vw;
  }

  .major-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2vw;
    width: 70vw;
    margin: 0 auto;
  }

  .big-image{
    width: 100%;
    height: 100%;
    border-radius: 2vw;
  }

  .big-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2vw;
  }

  .flex-grid{
    display: flex;
    flex-direction: column;
    row-gap: 2vw;
  }

  .image1{
    width: 100%;
    height: 100%;
    border-radius: 2vw;
  }

  .image1 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2vw;
  }