html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    margin: 0; /* Remove default body margin */
}
.main-content-wrapper { /* New class for the div wrapping {% block body %} */
    flex-grow: 1;
}

/* style for OR divider */
.main-divider {
    display: flex;
    text-align: center;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #a8a8a8;
    font-size: 14px;
    font-weight: 500;
    font-variant: tabular-nums;
    line-height: 1.5715;
    list-style: none;
}

.main-divider span {
    color: #a8a8a8;
    padding: 0 1em;
}

.main-divider::before,
.main-divider::after {
    content: "";
    position: relative;
    top: 50%;
    width: 50%;
    border-top: 1px solid #c9c9c9;
    border-bottom: none;
    transform: translateY(50%);
}

.card-img-top {
    width: 60%; /* Make images smaller relative to container */
    height: auto; /* Allow height to adjust based on aspect ratio */
    max-height: 150px; /* Prevent images from becoming excessively tall */
    object-fit: contain; /* Scale image to fit container, maintaining aspect ratio, without cropping */
    display: block; /* Ensure correct rendering with margin auto */
    margin-left: auto;
    margin-right: auto;
}