.imgcont {
    display:flex;
    width:100%;
    aspect-ratio:1/1;
    align-items:center;
    justify-content:center;
}

.thispage {
	text-decoration:none;
	font-variant:small-caps;
	letter-spacing:.5px;
	background:#144a80;
	color:#fff;
	-webkit-border-radius:7px;
	-moz-border-radius:7px;
	border-radius:7px;
	-webkit-transition:background 0.5s ease;
	-moz-transition:background 0.5s ease;
	-o-transition:background 0.5s ease;
	transition:background 0.5s ease;
	padding:2px 7px;
	margin:0 5px 10px 5px;
	display:inline-block;
	border:1px solid #2894FF;
}

/* The Main Card Container */
.horizontal-card {
    display: flex;
    flex-direction: row;
    max-width: 500px;
    background-color: #FFFBF0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Keeps image corners rounded */
    font-family: sans-serif;
}

/* The Image Section */
.card-image {
    width: 150px;
    object-fit: cover; /* Prevents the image from stretching */
    margin:15px;
}

/* The Content Section */
.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    margin: 0 0 10px 0;
}

.card-text {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}


/* Moble styles ================================================== */
@media (max-width:959px) {
  .horizontal-card {
    flex-direction: column;
    text-align:center;
  }
  
  .card-image {
      display:block;
        object-fit:contain;
        height: 150px;
        margin:15px auto 0 auto;
  }
}