.type-foreign {
    
}
.type-exclusives {

}

.foreign-press-hero {
    position: relative;
    background: linear-gradient(135deg, #a86d0d 0%, var(--warning) 50%, var(--success) 100%);
    color: #fff;
    padding: 64px 0 48px 0;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 20px #ffa51462;
    margin-bottom: 24px;
    border-radius: 0 0 24px 24px;
}

.foreign-press-hero.type-foreign {
    background: linear-gradient(135deg, #104e8b 0%, #1e90ff 50%, #00bfff 100%);
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.25);
}

.foreign-press-hero.type-exclusives {
    background: linear-gradient(135deg, #a86d0d 0%, var(--warning) 50%, var(--success) 100%);
    box-shadow: 0 4px 20px #ffa51462;
}

.foreign-press-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 25%);
    z-index: 1;
    animation: bgPulse 8s ease-in-out infinite alternate;
}

.foreign-press-hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.foreign-press-hero-bg::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotateLight 15s linear infinite;
    pointer-events: none;
}

@keyframes bgPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes rotateLight {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.foreign-press-hero-content {
    position: relative;
    z-index: 2;
}

.foreign-press-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.5em;
    letter-spacing: 0.01em;
}

.foreign-press-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 0;
}

.foreign-press-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 32px 0 0 0;
    padding: 0 8px;
}

.foreign-press-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(30, 144, 255, 0.08);
    text-decoration: none;
    color: #222;
    transition: box-shadow 0.2s, transform 0.2s;
    overflow: hidden;
    min-height: 220px;
    position: relative;
}

.foreign-press-card::before {
    content: "Иностранная пресса";
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
}
.foreign-press-card.type-foreign::before {
    content: "Иностранная пресса";
}
.foreign-press-card.type-exclusives::before {
    content: "Эксклюзивы";
}

.foreign-press-card:hover {
    box-shadow: 0 6px 32px 0 rgba(30, 144, 255, 0.18);
    transform: translateY(-2px) scale(1.01);
}

.foreign-press-card-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #e6f0fa;
    background-color: rgba(255, 255, 255, 0.22);
}

.foreign-press-card-content {
    padding: 18px 18px 12px 18px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.foreign-press-card-content h2 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1e90ff;
}
.type-foreign .foreign-press-card-content h2 {
    color: #1e90ff;
}
.type-exclusives .foreign-press-card-content h2 {
    color: var(--warning);
}

.foreign-press-card-meta {
    font-size: 0.98rem;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.foreign-press-card-meta .cat {
    background: #e6f0fa;
    color: #1e90ff;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.92em;
}
.type-foreign .foreign-press-card-meta .cat {
    color: #1e90ff;
}
.type-exclusives .foreign-press-card-meta .cat {
    color: var(--warning);
}

.foreign-press-card-anons {
    font-size: 1.04rem;
    color: #333;
    margin-top: 6px;
    opacity: 0.96;
}

.no-articles {
    grid-column: 1/-1;
    text-align: center;
    color: #888;
    font-size: 1.2rem;
    margin: 48px 0;
}

.foreign-press-pagination {
    margin: 32px 0 48px 0;
    text-align: center;
}

.foreign-press-pagination .pagination {
    display: inline-flex;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.08rem;
}

.foreign-press-pagination .pagination li {
    display: inline;
}

.foreign-press-pagination .pagination .current {
    font-weight: 600;
    color: #1e90ff;
}

@media (max-width: 600px) {
    .foreign-press-hero {
        padding: 32px 0 18px 0;
    }

    .foreign-press-hero h1 {
        font-size: 1.5rem;
    }

    .foreign-press-list {
        gap: 18px;
    }

    .foreign-press-card-img {
        height: 120px;
    }

    .foreign-press-card-content {
        padding: 12px 10px 8px 10px;
    }
}