/* --- Kotook FA Carousel (RTL) --- */
.kotook-fa-carousel {
  margin: 20px 0;
  position: relative;
  direction: rtl;
}

/* Card */
.kotook-card {
  background: #fff;
  min-height: 360px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.kotook-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Image */
.kotook-image {
  width: 100%;
  height: 190px !important;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: #f4f4f4;
}

/* Fallback (No Image) */
.kotook-no-image {
  background: #f4f4f4;
  height: 190px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-family: sans-serif;
  flex-shrink: 0;
}

/* Info Section */
.kotook-info {
  padding: 12px 14px;
  font-family: 'IRANSans', 'Tahoma', sans-serif;
  text-align: right;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Title */
.kotook-title {
  font-size: 1rem !important;
  font-weight: 600;
  margin: 0 0 4px;
  color: #222;
  line-height: 1.4;
}

/* Location */
.kotook-location {
  font-family: 'yekanbakh';
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 10px;
  display: inline-flex; 
  align-items: center; 
  gap: 5px;             
  direction: rtl;
  min-height: 45px;  
}
.kotook-location-icon {
  width: 16px !important;
  height: 16px !important;
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px; 
}

/* Details Section */
.kotook-details {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  min-height: 48px;
}
.kotook-details div {
  flex: 1;
  padding: 10px 4px;
  border-left: 1px solid #eee;
}
.kotook-details div:last-child {
  border-left: none;
}
.kotook-details span {
  font-family:'yekanbakh';
  display: block;
  color: #888;
  font-size: 0.78rem;
}
.kotook-details strong {
  font-family:'yekanbakh';
  display: block;
  font-size: 0.9rem;
  color: #111;
  margin-top: 2px;
  font-weight: 600;
}

/* Arrows (RTL) */
.owl-nav {
  position: absolute;
  top: -35px;
  left: 5px;
}
.kotook-nav {
  font-family: none;
  font-size: 22px;
  font-weight: bolder;
  padding: 0 4px;
  color: #222;
  transition: color .2s;
  cursor: pointer;
}
.kotook-nav:hover {
  color: #0073aa;
}

/* --- Responsive Tweaks --- */
@media (max-width:1024px){
  .kotook-card { min-height: 340px; }
  .kotook-image { height: 180px !important; }
}
@media (max-width:768px){
  .kotook-card { min-height: 320px; }
  .kotook-image { height: 170px !important; }
  .kotook-title { font-size:0.95rem !important; }
  .kotook-location { font-size:0.8rem; }
  .kotook-details { font-size:0.75rem; }
  .kotook-details strong { font-size:0.82rem; }
}
@media (max-width:480px){
  .kotook-card { min-height:300px; }
  .kotook-image { height:150px !important; }
  .kotook-details { font-size:0.72rem !important; }
}