html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.kurumsal-layout {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: flex-start;
  flex-wrap: wrap; /* Küçük ekranlarda taşma olmasın */
}

.about-sidebar {
  flex: 0 0 250px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  position: sticky;
  top: 120px;
  height: fit-content;
}

.about-sidebar h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #230b68;
  border-bottom: 2px solid #230b68;
  padding-bottom: 10px;
}
 
.about-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-sidebar ul li {
  margin-bottom: 12px;
}

.about-sidebar ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1.05rem;
  display: block;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.about-sidebar ul li a:hover,
.about-sidebar ul li a.active {
  color: #230b68;
  font-weight: bold;
}

/* içerik */
.faaliyet-content {
  flex: 1;
  min-width: 280px;
  
} 

.faaliyet-content h2 {
  font-size: 1.8rem;
  color: #230b68;
  margin-bottom: 20px;
  text-align: center;
  display: block;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 90px; 
  padding: 10px;
}

.donation-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.donation-card:hover {
  transform: translateY(-5px);
}

.donation-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.donation-card h3 {
  font-size: 1.2rem;
  margin: 10px 0 5px 0;
}

.donation-card p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.donation-price {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 15px 0;
  color: #000;
}

.donation-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.donation-actions button,
.donation-actions .donate-now {
  padding: 10px 16px;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.donation-actions button {
  background-color: rgb(35, 35, 143);
  color: white;
}

.donation-actions button:hover {
  background-color: #180a4d;
}

.donation-actions .donate-now {
  background-color: rgb(8, 8, 97);
  color: white;
}

.donation-actions .donate-now:hover {
  background-color: rgb(35, 35, 143);
}
 


@media (max-width: 910px) {
  .donation-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
  }
  .faaliyet-content h2 {
    display: block;
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
  }



  .donation-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .donation-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .donation-card {
    padding: 10px;
  }
  .donation-card img {
    height: 200px;
  }
  .donation-card h3 {
    font-size: 0.95rem;
  }
  .donation-price {
    font-size: 1rem;
  }
  .faaliyet-content h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
}
 
@media (max-width: 576px) {
  .kurumsal-layout {
    flex-direction: column;
    gap: 0;
    padding: 0 8px;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .faaliyet-content {
    padding: 0 2px;
    min-width: 0;
    width: 275px;
    box-sizing: border-box;
  }
  .donation-grid {
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .about-sidebar {
    text-align: center;
  }

  .kurumsal-layout {
        width: 350px;
  }


}
