/*
Theme Name: CargoHub Child
Template: cargohub
Version: 1.0
*/
/* =====  Fuar Takvimi / Project Grid - Final Polish ===== */

/* Kart arası boşluk */
/* ===== Fuar Takvimi / Project Grid - Final Polish ===== */

/* Kart arası boşluk */
/* ===== Fuar Takvimi / Project Grid - Final Polish ===== */

/* Kart arası boşluk */
.all-project .project-wrapper{
  margin-bottom: 28px !important;
}

/* Görsel: hafif radius + düzgün görünüm */
.all-project .project-thumbnail img{
  border-radius: 10px !important;
  display: block;
}

/* Kart altındaki başlık (tema hangi class ile basarsa bassın yakalayalım) */
.all-project .project-wrapper h3,
.all-project .project-wrapper .entry-title,
.all-project .project-wrapper .project-title{
  margin: 16px 10px 0 !important;
  text-align: center !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;

  /* 2 satırla sınırla */
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

/* Başlık link rengi */
.all-project .project-wrapper h3 a,
.all-project .project-wrapper .entry-title a,
.all-project .project-wrapper .project-title a{
  color: #111 !important;
  text-decoration: none !important;
}

.all-project .project-wrapper h3 a:hover,
.all-project .project-wrapper .entry-title a:hover,
.all-project .project-wrapper .project-title a:hover{
  opacity: .85 !important;
}

/* Hover: sadece ikonlar (tema overlay'i çok karartıyorsa hafiflet) */
.all-project .project-thumbnail .project-button{
  /* ikonların olduğu overlay */
  background: rgba(0,0,0,.25) !important; /* istersen .15 yap */
  border-radius: 10px !important;
}

/* ikon butonları biraz daha “premium” */
.all-project .project-thumbnail .project-button .button-link{
  border: 2px solid rgba(255,255,255,.55) !important;
  border-radius: 999px !important;
  width: 46px !important;
  height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.all-project .project-thumbnail .pro-link{
  background: transparent !important;
}
/* Contact Form 7 - Telefon alanı diğerleriyle aynı görünsün */
.fh-form input[type="tel"],
.fh-form input[type="date"],
.fh-form input[type="number"]{
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  background: #fff;
  font-size: 14px;
  line-height: 48px;
  box-sizing: border-box;
  outline: none;
}

/* Placeholder rengi (temayla uyumlu) */
.fh-form input[type="tel"]::placeholder,
.fh-form input[type="date"]::placeholder,
.fh-form input[type="number"]::placeholder{
  color: #999;
}

/* Focus görünümü */
.fh-form input[type="tel"]:focus,
.fh-form input[type="date"]:focus,
.fh-form input[type="number"]:focus{
  border-color: #cfcfcf;
}
/* Form alanları hizalı ve tutarlı boşluk */
.fh-form .field { margin-bottom: 18px; }
.fh-form .field label { display:block; margin-bottom: 8px; }

/* Checkbox listesi daha düzenli dursun */
.fh-form .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item{
  display: block;
  margin: 6px 0;
}
/* ===== Fuar Talep Formu: Grid Layout (Bootstrap bağımsız) ===== */
.fm-form .fm-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 34px;
  align-items: start;
}

.fm-form .field{
  margin: 0 !important;
}

.fm-form .field label{
  display:block;
  margin: 0 0 8px;
  font-weight: 600;
}

/* Alan genişlikleri */
.fm-form .fm-span-2{ grid-column: span 2; }
.fm-form .fm-span-3{ grid-column: span 3; }

/* Form kontrolleri (tel/date/number dahil) */
.fm-form input[type="text"],
.fm-form input[type="email"],
.fm-form input[type="tel"],
.fm-form input[type="date"],
.fm-form input[type="number"],
.fm-form select,
.fm-form textarea{
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e5e5;
  padding: 12px 14px;
  border-radius: 2px;
  background: #fff;
  font-size: 14px;
}

/* Textarea yüksekliği */
.fm-form textarea{ min-height: 140px; resize: vertical; }

/* Checkbox listesi */
.fm-form .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item{
  display:block;
  margin: 8px 0;
}

/* Validation mesajları düzgün dursun */
.fm-form .wpcf7-not-valid-tip{
  margin-top: 6px;
}

/* Submit butonu tam genişlik */
.fm-form .fh-btn,
.fm-form input[type="submit"]{
  width: 100%;
}

/* Responsive: 1024 altı 2 kolon */
@media (max-width: 1024px){
  .fm-form .fm-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-form .fm-span-2{ grid-column: span 2; }
  .fm-form .fm-span-3{ grid-column: span 2; }
}

/* Responsive: 640 altı 1 kolon */
@media (max-width: 640px){
  .fm-form .fm-grid{ grid-template-columns: 1fr; }
  .fm-form .fm-span-2,
  .fm-form .fm-span-3{ grid-column: span 1; }
}