/*body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 40px 20px;
}*/
.swiper {
    width: 100%;
    max-width: 1100px;
    height: 400px;
    margin: 0 auto;
    position: relative;
}
.swiper-slide {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    width: 320px;
}
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-text {
    padding: 15px;
}
.card-text h3 {
    margin: 0 0 10px;
    font-size: 18px;
}
.card-text p {
    margin: 0;
    font-size: 14px;
    color: #000;
}
.card-text a {
	color: #203860;
}
.swiper-pagination {
    bottom: 10px !important;
}
.controls {
    text-align: center;
    margin-top: 20px;
}
.controls button {
    padding: 5px 10px;
    margin: 0 10px;
    border: none;
    /*background-color: #203860;
    color: white;*/
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}
.controls button:hover {
    background-color: #005bb5;
}
.controls button:hover .glyphicon {
	color: #fff !important;
}

/*below added 8/21/25*/
/* Base slide styling (desktop/tablet) */
.swiper-slide {
  width: 300px;
  height: 400px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Responsive tweaks for phones in portrait orientation */
@media (max-width: 480px) and (orientation: portrait) {
  .swiper-slide {
    width: 70vw !important;
    height: auto;
    min-height: 300px;
    max-height: 80vh;
    padding: 16px;
    box-sizing: border-box;
  }

  .card-text h3 {
    font-size: 1.1em;
  }

  .card-text p {
    font-size: 0.85em;
    line-height: 1.4em;
    overflow-y: auto;
  }
}
/* Responsive tweaks for phones in landscape orientation */
@media (max-width: 844px) and (orientation: landscape) {
  .swiper-slide {
    width: 50vw !important;
    height: auto;
    min-height: 300px;
    max-height: 95vh;
    padding: 16px;
    box-sizing: border-box;
  }

  .card-text h3 {
    font-size: 1.3em;
  }

  .card-text p {
    font-size: 0.95em;
    line-height: 1.4em;
    overflow-y: auto;
  }
}

