/* Centered container styling */
.container.offer-container {
    max-width: 1200px;
    /* Set maximum width for the container */
    margin: 0 auto;
    /* Center container on the page */
    padding: 20px;
}

.offer-seo-intro {
    margin: 0 auto 1.5rem;
    max-width: 68ch;
    text-align: center;
}

/* Row styling for center alignment on all screen sizes */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center items within the row */
    gap: 20px;
    /* Space between columns */
    margin: 0 auto;
}

/* Card column styling */
.row .col {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex: 1 1 300px;
    /* Allow flexibility and set minimum card width */
    max-width: 300px;
    /* Limit maximum width to maintain alignment */
}

/* Mobile responsiveness: full-width cards on smaller screens */
@media (max-width: 600px) {
    .row .col {
        flex: 1 1 100%;
        /* Make columns take full width on mobile */
        max-width: 100%;
        /* Remove max width restriction */
    }
}

/* Card styling */
.card {
    position: relative;
    /* Ensures labels are positioned within the card */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #1976D2;
    background: #e0ecff;
    border-radius: 4px;
    overflow: hidden;
}

/* Title styling */
.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-align: center;
    word-wrap: break-word;
    margin-top: 40px;
}

/* Paragraph styling */
.card p {
    margin-bottom: 5px;
}

/* Ensure .card-content expands to take up extra space */
.card-content {
    flex-grow: 1;
    padding: 12px !important;
    /* Move !important directly after the value */
    background: #e0ecff;
    box-sizing: border-box;
}

/* Card action alignment */
/* Align the .card-action consistently at the bottom */
.card-action {
    text-align: center;
    padding: 10px;
    margin-top: auto;
    /* Pushes .card-action to the bottom */
}

.card-action .btn {
    width: 100%;
    text-align: center;
}

/* Price label styling */
.price-label {
    color: var(--site-primary, #002E7A);
    /* Set text color to white for contrast */
    background-color: #FFFFFF;
    /* Set consistent background color */
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    padding: 8px;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    margin-top: auto;
    /* Push the price label to the bottom of the card */
}

/* Position labels on the card */
.type-label,
.category-label {
    position: absolute;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    color: white;
    z-index: 10;
}

.type-label {
    top: 10px;
    left: 10px;
    background-color: #FF5722;
}

.category-label {
    top: 10px;
    right: 10px;
    background-color: #ff9800;
}

.group-size {
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Stylish bullet list styling */
.stylish-bullet-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    font-family: 'Outfit', sans-serif;
    text-align: left;
}

.stylish-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.2;
}

.stylish-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    color: var(--site-primary, #002E7A);
}

/* Spacer to add space above Min Size */
.spacer {
    margin-top: 12px;
    display: block;
    height: 12px;
}

.class-title {
    text-align: center;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.level-label {
    font-weight: bold;
    font-size: 1rem;
    margin: 10px auto;
    padding: 5px 10px;
    text-align: center;
    color: var(--site-primary, #002E7A);
    background-color: #ffffff;
    border-radius: 5px;
    display: inline-block;
    /* Ensures the label is styled consistently */
}

.info-label {
    text-align: center;
    font-size: 1.2rem;
    color: var(--site-primary, #002E7A);
    /* Matches level label color */
    background-color: #FFCD46;
    /* Light yellow background for emphasis */
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.info-label a {
    color: #ff5722;
    /* Matches the call-to-action button color */
    text-decoration: underline;
    font-weight: bold;
}