.container {
  padding: 0 16px;
}

.container::after,
.row::after {
  content: "";
  clear: both;
  display: table;
}

.title {
  color: rgb(175, 109, 250);
}

@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.main {
  max-width: 1200px;
  margin: 0 auto;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
}

.cards_item {
  display: flex;
  padding: 1rem;
  height: 400px;
}

.card_image {
  position: static;
  max-height: 150px;
}

.card_image iframe {
  max-height: 250px;
  height: 150px;
  width: 100%;
}

.card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 40rem) {
  .cards_item {
    width: 50%;
  }
}

@media (min-width: 56rem) {
  .cards_item {
    width: 33.3333%;
  }
}

.card {
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 0.25rem;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pdate {
  font-size: 11px;
  font-style: italic;
  text-align: left;
  padding: 3px;
}

.card_content {
  position: static;
  padding: 16px 12px 32px 24px;
  margin: 16px 8px 8px 0;
  max-height: none;
  overflow: visible;
  color: white;
}

.card_content::-webkit-scrollbar {
  width: 8px;
}

.card_content::-webkit-scrollbar-track {
  box-shadow: 0;
  border-radius: 0;
}

.card_content::-webkit-scrollbar-thumb {
  background: #5f499e;
  border-radius: 15px;
}

.card_title {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  transition: 0.3s;
  text-decoration: none;
}

.card_content a {
  text-decoration: none;
}

.card_title:hover {
  color: #5f499e;
}

.card_title::after {
  position: relative;
  display: block;
  width: 50px;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #5f499e;
  content: "";
}

hr {
  margin: 24px auto;
  width: 50px;
  border-top: 2px solid #5f499e;
}

.card_text p {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
}

.card_text p:last-child {
  margin: 0;
}

/* Mobile-friendly cards: avoid inner scroll and fixed heights */
@media (max-width: 768px) {
  .cards_item {
    height: auto;
    padding: 0.75rem;
  }
  .card_content {
    max-height: none;
    overflow: visible;
    margin: 12px 8px 12px 0;
    padding: 12px 12px 20px 16px;
  }
  .card_image {
    max-height: none;
  }
  .card_title {
    font-size: 18px;
  }
  .card_text p {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* Subtle modern transitions */
.card {
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.card_image img {
  transition: transform 300ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.35);
}
.card:hover .card_image img {
  transform: scale(1.02);
}
@media (prefers-reduced-motion: reduce) {
  .card,
  .card_image img,
  .card:hover,
  .card:hover .card_image img {
    transition: none !important;
    transform: none !important;
  }
}
