.portal-updates {
    background: #FFFFFF;
}

.portal-updates .portal-shell {
    padding-top: 1.55rem;
    padding-bottom: 1.85rem;
}

.portal-section-heading--split {
    margin-bottom: 1.25rem;
}

.portal-section-heading--split .portal-section-heading__title {
    margin: 0;
    color: #08221F;
    font-size: 1.7rem;
    line-height: 1.12;
    font-weight: 700;
}

.portal-section-heading--split .portal-section-heading__text {
    max-width: 70ch;
    margin: 0.7rem 0 0;
    color: #5B6F6C;
    font-size: 1rem;
    line-height: 1.6;
}

.portal-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.portal-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 1px #e6f3fa solid;
    padding: 1.3em;
}

.portal-card__image {
    display: block;
    width: 100%;
    height: auto;
}

.portal-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 240px;
    padding: 0.95rem 0 0;
}

.portal-card__title {
    margin: 0;
    color: #08221F;
    font-size: 1.125rem;
    line-height: 1.24;
    font-weight: 750;
}

.portal-card__text {
    margin: 0.75rem 0 0;
    color: #5B6F6C;
    font-size: 1rem;
    line-height: 1.6;
}

.portal-card__actions {
    margin-top: auto;
    padding-top: 1rem;
}

/* Call to Action Styling */

.portal-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    background: #E6F3FA;
    color: #08221F;
    font-weight: 600;
    line-height: 1.2;
    font-size: 0.8em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #cfe7f5;
    border-radius: 4px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.portal-card__cta::after {
    content: ">";
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.portal-card__cta:hover,
.portal-card__cta:focus {
    background: #d6ecf8;
}

.portal-card__cta:hover::after,
.portal-card__cta:focus::after {
    transform: translateX(3px);
}

.portal-card__cta:focus-visible {
    outline: 2px solid #0B6E6E;
    outline-offset: 3px;
}

.portal-card__cta--primary {
    background: var(--erx-accent-dark);
    color: var(--erx-color-white) !important;
}

.portal-card__cta--primary:hover,
.portal-card__cta--primary:focus {
    background: var(--erx-accent);
}


@media only screen and (max-width : 1300px) {
    .portal-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media only screen and (max-width : 991px) {
    .portal-updates .portal-shell {
        padding-top: 1.35rem;
        padding-bottom: 1.55rem;
    }

    .portal-section-heading--split {
        margin-bottom: 1.05rem;
    }

    .portal-card__body {
        min-height: 210px;
    }
}

@media only screen and (max-width : 767px) {
    .portal-updates .portal-shell {
        padding-top: 1.1rem;
        padding-bottom: 1.3rem;
    }

    .portal-section-heading--split {
        margin-bottom: 0.95rem;
    }

    .portal-section-heading--split .portal-section-heading__title {
        font-size: 1.35rem;
    }

    .portal-section-heading--split .portal-section-heading__text {
        margin-top: 0.55rem;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .portal-card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portal-card__body {
        min-height: unset;
        padding-top: 0.8rem;
    }

    .portal-card__title {
        font-size: 1.05rem;
    }

    .portal-card__text {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .portal-card__actions {
        padding-top: 0.85rem;
    }
}