/* News Insights Module Styles */

.phast-news-section__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    margin-bottom: 78px;
}

.phast-news-section__heading-wrapper {
    max-width: 800px;
}

.phast-news-section__title {
    color: #003840;
    margin: 18px 0 24px;
    padding: 0;
}

.phast-news-section__sub-description {
    font-size: 18px;
    margin: 0;
    line-height: 27px;
}

.phast-news-section__btn-view {
    background-color: #006271;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid #006271;
    border-radius: 60px;
    font-weight: 400;
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    -webkit-transition: color 300ms ease 0ms, background-color 300ms ease 0ms;
    -o-transition: color 300ms ease 0ms, background-color 300ms ease 0ms;
    transition: color 300ms ease 0ms, background-color 300ms ease 0ms;
}

.phast-news-section__btn-view:hover {
    background-color: transparent;
    color: #006271;
    border-color: #006271;
}

.phast-news-section__grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 32px 1fr 32px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Card Styles */
.phast-news-card {
    background: #ffffff;
    overflow: hidden;
    -webkit-box-shadow: 0px 12px 16px -4px rgba(0, 0, 0, 0.08), 0px 4px 6px -2px rgba(0, 0, 0, 0.03);
    box-shadow: 0px 12px 16px -4px rgba(0, 0, 0, 0.08), 0px 4px 6px -2px rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.phast-news-card__media {
    width: 100%;
    height: 339px;
    overflow: hidden;
    position: relative;
}

.phast-news-card__img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.phast-news-card__body {
    padding: 32px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.phast-news-card__meta {
    margin-bottom: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
}

.phast-news-card__label {
    padding: 4px 8px;
    border-radius: 40px;
    background-color: #84BD00;
    color: #FFF;
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
}

.phast-news-card__reading-time {
    font-size: 14px;
    color: #000000;
    font-weight: 700;
    line-height: 21px;
}

.phast-news-card__headline {
    font-weight: 500;
    font-size: 24px;
    line-height: 34px;
    color: #000000;
    padding-bottom: 8px;
}

.phast-news-card__summary {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin-bottom: 24px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.phast-news-card__more {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.phast-news-card__more:hover {
    color: #006271;
}

.phast-news-card__arrow--icon {
    font-family: 'ETmodules' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 20px !important;
}

.phast-news-card__arrow--default {
    font-size: 20px;
    line-height: 1;
}

/* Alignment Classes */
.phast-news-section--align-center .phast-news-section__header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

.phast-news-section--align-center .phast-news-section__action {
    margin-top: 24px;
}

.phast-news-section--align-right .phast-news-section__header {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
    .phast-news-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width:980px) {
    .phast-news-section__title {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .phast-news-section__grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .phast-news-section__header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 32px;
    }
}
