.ysf-news-page {
    padding: 34px 0 64px;
    background:
        radial-gradient(circle at 8% 18%, rgba(255, 191, 71, 0.08), transparent 26%),
        linear-gradient(180deg, #f5f7fb 0%, #f8fafc 100%);
}

.ysf-news-shell {
    overflow: hidden;
    background: #fffaf3;
    border: 1px solid rgba(24, 32, 46, 0.06);
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(25, 32, 45, 0.09);
}

.ysf-news-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    padding: 52px 58px 48px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 10%, rgba(255, 203, 112, 0.22), transparent 30%),
        linear-gradient(115deg, #fff8ed 0%, #fffdf9 56%, #fff3df 100%);
    border-bottom: 1px solid rgba(61, 44, 23, 0.07);
}

.ysf-news-hero::after {
    content: "";
    position: absolute;
    inset: auto -130px -190px auto;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 174, 49, 0.15) 0%, rgba(255, 174, 49, 0) 68%);
    pointer-events: none;
}

.ysf-news-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 610px;
}

.ysf-news-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #8b5a2b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ysf-news-hero h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.ysf-news-hero p {
    margin: 18px 0 24px;
    max-width: 520px;
    color: #5e6674;
    font-size: 16px;
    line-height: 1.65;
}

.ysf-news-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, #e21b1b 0%, #bd0909 100%);
    box-shadow: 0 10px 24px rgba(199, 18, 18, 0.22);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ysf-news-hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(199, 18, 18, 0.28);
}

.ysf-news-hero-art {
    position: absolute;
    z-index: 2;
    right: 22px;
    top: 0;
    width: 42%;
    height: 100%;
    pointer-events: none;
}

.ysf-snack-shape {
    position: absolute;
    display: block;
    width: 92px;
    height: 62px;
    border-radius: 20px 28px 19px 31px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.55), transparent 26%),
        linear-gradient(145deg, #ffc94f, #f49b19);
    box-shadow:
        inset -8px -8px 16px rgba(179, 93, 0, .12),
        0 18px 35px rgba(224, 132, 18, .18);
    transform: rotate(18deg);
}

.ysf-snack-shape::after {
    content: "";
    position: absolute;
    inset: 10px 13px;
    border-radius: inherit;
    border: 1px solid rgba(185, 104, 14, .16);
}

.ysf-snack-shape-1 {
    right: 55px;
    top: 30px;
    transform: rotate(26deg) scale(1.12);
}

.ysf-snack-shape-2 {
    right: 170px;
    top: 104px;
    transform: rotate(-14deg) scale(.82);
}

.ysf-snack-shape-3 {
    right: 42px;
    top: 164px;
    transform: rotate(14deg) scale(.74);
}

.ysf-snack-shape-4 {
    right: 265px;
    top: 36px;
    transform: rotate(48deg) scale(.56);
}

.ysf-snack-crumb {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50% 40% 55% 35%;
    background: #e98a19;
    box-shadow: 0 4px 10px rgba(202, 111, 13, .16);
}

.ysf-snack-crumb-1 { right: 255px; top: 132px; }
.ysf-snack-crumb-2 { right: 125px; top: 66px; transform: scale(.65); }
.ysf-snack-crumb-3 { right: 222px; top: 194px; transform: scale(.5); }

.ysf-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.76);
}

.ysf-news-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ebe7e1;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(31, 35, 42, 0.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ysf-news-card:hover {
    transform: translateY(-5px);
    border-color: #e5d8c7;
    box-shadow: 0 18px 38px rgba(31, 35, 42, 0.11);
}

.ysf-news-image-link {
    position: relative;
    display: block;
    height: 190px;
    overflow: hidden;
    background: #f3f3f3;
}

.ysf-news-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.ysf-news-card:hover .ysf-news-image {
    transform: scale(1.035);
}

.ysf-news-image-arrow {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1a1f2b;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 7px 18px rgba(22, 28, 38, .16);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.ysf-news-card:hover .ysf-news-image-arrow {
    transform: translateX(2px);
    color: #fff;
    background: #d71920;
}

.ysf-news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 17px 18px;
}

.ysf-news-meta {
    min-height: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
    color: #8b8f98;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .025em;
}

.ysf-news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ysf-news-meta-divider {
    width: 1px;
    height: 11px;
    background: #d6d9de;
}

.ysf-news-title {
    margin: 0 0 10px !important;
    min-height: 46px;
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    letter-spacing: -0.012em;
}

.ysf-news-title a {
    display: -webkit-box;
    overflow: hidden;
    color: #151a23 !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ysf-news-title a:hover {
    color: #c8151c !important;
}

.ysf-news-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 18px;
    color: #747b87;
    font-size: 12px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.ysf-news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #d71920 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}

.ysf-news-read-more i {
    font-size: 10px;
    transition: transform .2s ease;
}

.ysf-news-read-more:hover i {
    transform: translateX(4px);
}

.ysf-news-empty {
    grid-column: 1 / -1;
    padding: 54px 20px;
    text-align: center;
    color: #7b8290;
}

.ysf-news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px 28px 30px;
    background: rgba(255, 255, 255, 0.76);
}

.ysf-page-number,
.ysf-page-arrow {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: #404756 !important;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .2s ease;
}

.ysf-page-number.active,
.ysf-page-number:hover,
.ysf-page-arrow:hover {
    color: #fff !important;
    border-color: #d71920;
    background: #d71920;
    box-shadow: 0 8px 18px rgba(215, 25, 32, .18);
}

@media (max-width: 1199px) {
    .ysf-news-hero {
        padding: 44px 42px;
    }

    .ysf-news-grid {
        gap: 15px;
        padding: 22px;
    }

    .ysf-news-image-link {
        height: 165px;
    }

    .ysf-news-card-body {
        padding: 15px;
    }
}

@media (max-width: 991px) {
    .ysf-news-page {
        padding-top: 24px;
    }

    .ysf-news-hero {
        min-height: 240px;
        padding: 38px 32px;
    }

    .ysf-news-hero-art {
        right: -28px;
        width: 45%;
        opacity: .66;
    }

    .ysf-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .ysf-news-image-link {
        height: 210px;
    }
}

@media (max-width: 575px) {
    .ysf-news-page {
        padding: 14px 0 34px;
    }

    .ysf-news-shell {
        border-radius: 18px;
    }

    .ysf-news-hero {
        min-height: 245px;
        align-items: flex-start;
        padding: 34px 22px 30px;
    }

    .ysf-news-hero-copy {
        max-width: 90%;
    }

    .ysf-news-hero p {
        margin: 14px 0 20px;
        font-size: 14px;
    }

    .ysf-news-hero-art {
        right: -118px;
        top: 42px;
        width: 75%;
        opacity: .36;
    }

    .ysf-news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    .ysf-news-image-link {
        height: 220px;
    }

    .ysf-news-title {
        min-height: auto;
    }

    .ysf-news-pagination {
        padding: 4px 16px 22px;
    }
}
