/* ===================================================================
   NADAHUB - Project Details Enhanced Styles
   Modern minimalist design for project overview and features sections
   =================================================================== */

/* H3 Fix: Prevent CLS (Cumulative Layout Shift) with aspect ratios */
.tp-pd-2-banner {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tp-pd-2-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tp-pd-2-thumb-item {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tp-pd-2-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tp-pd-2-related-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: var(--nada-radius-lg);
  padding: 28px;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
}

.tp-pd-2-related-item h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--nada-color-secondary);
  transition: color 0.3s ease-in-out;
}


.tp-pd-2-related-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #141414;
  margin-bottom: 0;
  flex-grow: 1;
}

/* ===== SEÇİON BAŞLIĞI ===== */

.tp-pd-2-section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--nada-color-secondary);
  position: relative;
  padding-bottom: 20px;
}
/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
  .tp-pd-2-overview-enhanced {
    padding: 32px;
  }
  
  .tp-pd-2-related-item {
    min-height: auto;
  }
  
  .tp-pd-2-section-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .tp-pd-2-overview-enhanced {
    padding: 28px 20px;
  }
  
  .tp-pd-2-related-item {
    min-height: auto;
    padding: 20px;
  }
  
  .tp-pd-2-section-title {
    font-size: 32px;
    padding-bottom: 16px;
  }
}

@media (max-width: 576px) {
  .tp-pd-2-overview-enhanced {
    padding: 20px 16px;
  }
  
  .tp-pd-2-related-item {
    padding: 16px;
  }
  
  .tp-pd-2-related-item h5 {
    font-size: 18px;
  }
  
  .tp-pd-2-related-item p {
    font-size: 13px;
  }
  
  .tp-pd-2-section-title {
    font-size: 28px;
  }
}
