/* Button styling */
.cs-btn {
  background-color: #db0031;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}
.cs-btn:hover {
  background-color: #c8000f;
}

/* Tile layout */
.cs-tile {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.cs-tile:hover {
  transform: scale(1.02);
}
.cs-tile-text {
  flex: 0 0 60%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.swiper-slide  h3, .cs-tile-text h3{font-weight: 600; color: #db0031; text-transform: capitalize;}

.cs-tile-media {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-tile-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Responsive tile */
@media(max-width:768px) {
  .cs-tile {
    flex-direction: column;
  }
  .cs-tile-text,
  .cs-tile-media {
    flex: 100%;
  }
  .cs-tile-media img {
    height: auto;
  }
}

/* Meta info */
.cs-meta {
 font-size: 0.95em;
    color: #444444;
    margin-bottom: 2px;
}

/* Tractor row common */
.cs-tractor-row {
  display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000eb;
    margin: 7px 0px 12px 0px;
}

/* Grid carousel */
.cs-grid-carousel-wrapper {
  position: relative;
  padding: 20px;
}
.cs-grid-carousel {
  overflow: hidden;
}
.cs-grid-carousel .swiper-wrapper {
  align-items: stretch;
}

/* Grid card styling */
.cs-grid-card {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px; /* consistent height */
  margin-right: 30px;  height: 550px;
}


.cs-grid-card:hover {
  transform: scale(1.02);
}
.cs-grid-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}
.cs-excerpt{color: #383838;}
.swiper-button-next, .swiper-button-prev{color: #000000;
    top: -27px !important;
    border: 1px solid #000000;
    border-radius: 38px;
    padding: 5px 22px !important;}
.swiper-button-next:after, .swiper-button-prev:after{font-size: 20px !important;}

/* Read more link styling */
.cs-readmore {
  color: #232323;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

/* Swiper arrows outside */
.swiper-button-next,
.swiper-button-prev {
  color: #e30613;
  top: 20px !important;
}
.swiper-button-prev {
  right: 80px;
  left: auto;
}
.swiper-button-next {
  right: 16px;
  left: auto;
}
