.zg-rise-iran-feed {
    --zgr-bg: var(--bg, #06131c);
    --zgr-panel: var(--panel, #0b1822);
    --zgr-panel-deep: var(--bg-deep, #030a10);
    --zgr-gold: var(--gold, #d8a52f);
    --zgr-gold-light: var(--gold-light, #f2cf70);
    --zgr-border: var(--border, rgba(216, 165, 47, .34));
    --zgr-text: var(--text, #f4ead2);
    --zgr-muted: var(--muted, #b9b0a4);
    position: relative;
    padding: 92px 0;
    color: var(--zgr-text);
    background: linear-gradient(180deg, rgba(3, 10, 15, .28), rgba(12, 18, 26, .76));
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
}

.zg-rise-iran-feed *,
.zg-rise-iran-feed *::before,
.zg-rise-iran-feed *::after {
    box-sizing: border-box;
}

.zg-rise-iran-feed .container {
    width: min(calc(100% - 40px), var(--container, 1220px));
    margin-inline: auto;
}

.zg-rise-iran-feed .section-heading {
    margin-bottom: 34px;
    text-align: center;
}

.zg-rise-iran-feed .section-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--zgr-gold);
    font-size: 1.25rem;
    font-weight: 900;
}

.zg-rise-iran-feed .section-heading > span::before,
.zg-rise-iran-feed .section-heading > span::after {
    width: 90px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--zgr-gold));
}

.zg-rise-iran-feed .section-heading > span::after {
    transform: scaleX(-1);
}

.zg-rise-iran-feed .section-heading h2 {
    margin: 8px 0 0;
    color: var(--zgr-gold-light);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.35;
}

.zg-rise-iran-feed .zgr-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.zg-rise-iran-feed .zgr-news-card {
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #101b25, #071018);
    border: 1px solid var(--zgr-border);
    border-radius: 7px;
    box-shadow: 0 13px 30px rgba(0, 0, 0, .22);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.zg-rise-iran-feed .zgr-news-card:hover,
.zg-rise-iran-feed .zgr-news-card:focus-within {
    border-color: var(--zgr-gold);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .32);
    transform: translateY(-5px);
}

.zg-rise-iran-feed .news-image {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #172b3a, #2d143d);
}

.zg-rise-iran-feed .news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.zg-rise-iran-feed .zgr-news-card:hover .news-image img {
    transform: scale(1.05);
}

.zg-rise-iran-feed .zgr-image-placeholder {
    position: absolute;
    inset: 0;
    display: block;
    background:
        radial-gradient(circle at 50% 20%, rgba(242, 207, 112, .18), transparent 35%),
        linear-gradient(145deg, #152a39, #2d143d 55%, #071018);
}

.zg-rise-iran-feed .news-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    color: #f8eedb;
    background: rgba(63, 25, 80, .94);
    border: 1px solid rgba(216, 165, 47, .55);
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.7;
}

.zg-rise-iran-feed .news-body {
    display: flex;
    min-height: 245px;
    padding: 20px;
    flex-direction: column;
}

.zg-rise-iran-feed .news-body h3 {
    min-height: 58px;
    margin: 0 0 12px;
    color: #f1e6d6;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.7;
}

.zg-rise-iran-feed a {
    color: inherit;
    text-decoration: none;
}

.zg-rise-iran-feed .news-body h3 a:hover,
.zg-rise-iran-feed .news-body h3 a:focus {
    color: var(--zgr-gold-light);
}

.zg-rise-iran-feed .news-body > p {
    min-height: 82px;
    margin: 0 0 18px;
    color: var(--zgr-muted);
    font-size: .86rem;
    line-height: 1.9;
}

.zg-rise-iran-feed .news-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    color: #9f978c;
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: .76rem;
}

.zg-rise-iran-feed .news-meta a {
    color: var(--zgr-gold);
    font-weight: 800;
}

.zg-rise-iran-feed .news-meta a:hover,
.zg-rise-iran-feed .news-meta a:focus {
    color: var(--zgr-gold-light);
}

.zg-rise-iran-feed .zgr-attribution {
    margin: 20px 0 0;
    color: #918a81;
    font-size: .75rem;
    text-align: left;
}

.zg-rise-iran-feed .zgr-attribution a {
    color: var(--zgr-gold);
}

.zg-rise-iran-feed .zgr-feed-message {
    margin: 0;
    padding: 24px;
    color: var(--zgr-muted);
    background: rgba(11, 24, 34, .78);
    border: 1px solid var(--zgr-border);
    border-radius: 7px;
    text-align: center;
}

@media (max-width: 900px) {
    .zg-rise-iran-feed .zgr-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .zg-rise-iran-feed {
        padding: 64px 0;
    }

    .zg-rise-iran-feed .container {
        width: min(calc(100% - 28px), var(--container, 1220px));
    }

    .zg-rise-iran-feed .zgr-news-grid {
        grid-template-columns: 1fr;
    }

    .zg-rise-iran-feed .news-image {
        height: 220px;
    }

    .zg-rise-iran-feed .section-heading > span::before,
    .zg-rise-iran-feed .section-heading > span::after {
        width: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zg-rise-iran-feed .zgr-news-card,
    .zg-rise-iran-feed .news-image img {
        transition: none;
    }

    .zg-rise-iran-feed .zgr-news-card:hover,
    .zg-rise-iran-feed .zgr-news-card:focus-within {
        transform: none;
    }
}
