/** @format */

.news-feed {
    padding: clamp(44px, 7vw, 88px) 0 clamp(52px, 8vw, 96px);
    background: var(--color-grey-97, rgba(244, 246, 250, 1));
}

.news-feed__header {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin-bottom: clamp(28px, 4vw, 42px);
    text-align: center;
}

.news-feed__eyebrow {
    width: auto;
}

.news-feed__title {
    margin: 0;
    font-family: var(--font-en-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--aci-text);
}

.news-feed__title em {
    font-style: italic;
    color: var(--aci-gold);
}

.news-feed__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 24px);
}

.news-feed .ep-card {
    display: flex;
    flex-direction: column;
    background: var(--aci-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--aci-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-feed .ep-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-float);
}

.news-feed .ep-card.is-hidden,
.news-feed .ep-card[hidden] {
    display: none;
}

.news-feed .ep-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-feed .ep-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.news-feed .ep-card:hover .ep-card-img {
    transform: scale(1.04);
}

.news-feed .ep-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 46px;
    height: 51px;
    min-width: 46px;
    padding: 8px 12px;
    background: color-mix(in srgb, var(--aci-black) 72%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    gap: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.news-feed .ep-card-badge-day {
    display: block;
    font-family: var(--font-en-body);
    font-size: 22px;
    font-weight: 400;
    color: var(--aci-gold);
    line-height: 1;
}

.news-feed .ep-card-badge-month {
    display: block;
    font-family: var(--font-en-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1;
}

.news-feed .ep-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
    padding: 24px 24px 0;
    background: var(--aci-ivory);
}

.news-feed .ep-card-cat {
    font-family: var(--font-en-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--aci-gold);
}

.news-feed .ep-card-title {
    font-family: var(--font-en-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--aci-text);
    line-height: 1.25;
    margin: 0 0 8px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-feed .ep-card-desc {
    font-family: var(--font-en-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--aci-muted);
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-feed .ep-card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 16px;
    column-gap: 8px;
    margin: auto 0 0;
    padding: 0 0 24px;
}

.news-feed .ep-card-foot::before {
    content: "";
    order: -1;
    flex: 0 0 100%;
    width: 100%;
    height: 1px;
    background-color: var(--aci-border);
}

.news-feed .ep-card-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-en-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--aci-muted);
}

.news-feed .ep-card-location [data-lucide] {
    width: 13px;
    height: 13px;
    color: var(--aci-muted);
}

.news-feed .ep-card-link {
    font-family: var(--font-en-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--aci-gold);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.22s ease,
    gap 0.22s ease,
    color 0.22s ease;
}

.news-feed .ep-card-link:hover {
    opacity: 0.95;
    color: var(--aci-taupe);
    gap: 10px;
}

.news-feed .ep-card-link [data-lucide] {
    width: 13px;
    height: 13px;
    color: var(--aci-gold);
    transition: transform 0.22s ease,
    color 0.22s ease;
}

.news-feed .ep-card-link:hover [data-lucide] {
    transform: translateX(4px);
    color: var(--aci-taupe);
}

.news-feed__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: clamp(32px, 4vw, 40px);
}

.news-feed__page-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-feed__page-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(201, 158, 106, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--aci-taupe);
    font-family: var(--font-en-body);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    opacity 0.22s ease;
}

.news-feed__page-btn:hover:not(:disabled) {
    color: var(--aci-gold);
}

.news-feed__page-list .news-feed__page-btn.is-active {
    background: var(--aci-gold);
    color: var(--aci-white);
}

.news-feed__page-btn:disabled {
    opacity: 0.45;
    cursor: default;
}

.news-feed__page-btn [data-lucide] {
    width: 14px;
    height: 14px;
}

@media (max-width: 991.98px) {
    .news-feed__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .news-feed__grid {
        grid-template-columns: 1fr;
    }

    .news-feed__pagination {
        gap: 8px;
    }

    .news-feed__page-list {
        gap: 6px;
    }
}

.ep-cta {
    background: var(--color-grey-95, rgba(247, 243, 236, 1)) !important;
}

.ep-cta-card {
    background: var(--color-white-55, rgba(255, 255, 255, 0.55));
}

.aci-newsletter-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-orange-8, rgba(23, 20, 17, 1));

    padding: 8px 22px 10px;
    border-radius: var(--radius-pill);
    background: var(--color-white-72, rgba(255, 255, 255, 0.72));

    border: 1px solid var(--color-orange-4513, rgba(136, 115, 96, 0.13));
    letter-spacing: 0.01em;
    transition: background 0.22s ease,
    border-color 0.22s ease;
}

.aci-newsletter-field {
    flex: 1;
    border: 1px solid var(--color-orange-4513, rgba(136, 115, 96, 0.13));
    padding: 12px 6px 12px 20px;
}

.aci-newsletter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
    white-space: nowrap;
}

.aci-newsletter-btn [data-lucide] {
    width: 18px;
    height: 18px;
}

.aci-newsletter-benefits {
    margin-top: 20px;
}

.aci-newsletter-input {
    color: var(--color-orange-43, rgba(122, 110, 99, 1));
}

.aci-newsletter-input::placeholder {
    color: var(--color-orange-43, rgba(122, 110, 99, 1));
}

.ep-cta-desc {
    font-size: 16.9px;
}

.aci-newsletter-note,
.ep-cta-desc {
    color: var(--color-orange-43, rgba(122, 110, 99, 1));
}

.aci-newsletter-benefit-icon {
    background: transparent;
}

.aci-newsletter-benefit {
    gap: 4px;
}

.aci-newsletter-benefit-icon [data-lucide] {
    width: 13px;
    height: 13px;
}

.ep-cta-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
    padding: 12px;
    background: var(--color-orange-6012, rgba(201, 158, 106, 0.12));
    border: 1.47px solid var(--color-orange-60, rgba(201, 158, 106, 1));
    border-radius: 26px;
    color: rgba(201, 158, 106, 1);
}

.ep-cta-icon-container [data-lucide] {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}
