.site-network-promo:not([hidden]) {
    display: block;
    margin: 0 0 clamp(1rem, 2vw, 1.5rem);
}

.network-promo-host {
    position: relative;
}

.network-promo-host--active > .adsbygoogle {
    display: none !important;
}

.network-promo[hidden] {
    display: none !important;
}

.network-promo {
    --network-promo-accent: #ffde00;
    --network-promo-accent-rgb: 255, 222, 0;
    position: relative;
    display: flex;
    width: min(100%, 970px);
    height: 100%;
    min-height: 120px;
    max-width: 970px;
    box-sizing: border-box;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    justify-content: center;
    margin: 0 auto;
    padding: clamp(0.9rem, 2.5vw, 1.7rem);
    overflow: hidden;
    border: 1px solid rgba(var(--network-promo-accent-rgb), 0.42);
    border-radius: 12px;
    background:
        radial-gradient(circle at 12% 20%, rgba(var(--network-promo-accent-rgb), 0.18), transparent 32%),
        linear-gradient(125deg, #191a16 0%, #0c0d0b 62%, #171812 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 14px 34px rgba(5, 18, 38, 0.12);
    color: #fff;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    isolation: isolate;
}

.network-promo::before {
    position: absolute;
    z-index: -1;
    right: -70px;
    bottom: -125px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(var(--network-promo-accent-rgb), 0.13);
    border-radius: 50%;
    content: "";
}

.network-promo::after {
    position: absolute;
    z-index: -1;
    top: -65px;
    left: 34%;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(var(--network-promo-accent-rgb), 0.08);
    border-radius: 50%;
    content: "";
}

.network-promo:hover {
    border-color: rgba(var(--network-promo-accent-rgb), 0.75);
    color: #fff;
    text-decoration: none;
}

.network-promo:focus-visible {
    outline: 3px solid var(--network-promo-accent);
    outline-offset: 3px;
}

.network-promo--knigitemi {
    --network-promo-accent: #f4b860;
    --network-promo-accent-rgb: 244, 184, 96;
}

.network-promo__icon {
    display: inline-flex;
    width: clamp(3.4rem, 7vw, 5.4rem);
    height: clamp(3.4rem, 7vw, 5.4rem);
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--network-promo-accent-rgb), 0.42);
    border-radius: 18px;
    background: rgba(var(--network-promo-accent-rgb), 0.1);
    color: var(--network-promo-accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.network-promo__icon svg {
    width: 46%;
    height: 46%;
    fill: currentColor;
}

.network-promo__copy {
    display: flex;
    min-width: 0;
    flex: 1 1 430px;
    flex-direction: column;
    gap: 0.3rem;
}

.network-promo__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.network-promo__label {
    padding: 0.18rem 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #aaa99f;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.network-promo__brand {
    color: var(--network-promo-accent);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.025em;
}

.network-promo__title {
    color: #fff;
    font-size: clamp(1.08rem, 2vw, 1.65rem);
    font-weight: 850;
    letter-spacing: -0.02em;
}

.network-promo__description {
    color: #c6c7bf;
    font-size: clamp(0.78rem, 1.35vw, 0.96rem);
}

.network-promo__action {
    display: inline-flex;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;
    justify-content: center;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    background: var(--network-promo-accent);
    color: #11120f;
    font-size: 0.8rem;
    font-weight: 850;
    white-space: nowrap;
}

.network-promo__arrow {
    font-size: 1.05rem;
    transition: transform 0.18s ease;
}

.network-promo:hover .network-promo__arrow {
    transform: translateX(3px);
}

.network-promo--compact {
    min-height: 100px;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
}

.network-promo--compact .network-promo__icon {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 12px;
}

.network-promo--compact .network-promo__description {
    display: none;
}

.network-promo--compact .network-promo__title {
    font-size: clamp(0.88rem, 3.7vw, 1.12rem);
}

@media (max-width: 575.98px) {
    .network-promo {
        min-height: 100px;
        gap: 0.65rem;
        padding: 0.75rem;
        border-radius: 8px;
    }

    .network-promo__icon {
        width: 2.8rem;
        height: 2.8rem;
        border-radius: 11px;
    }

    .network-promo__copy {
        flex-basis: auto;
        gap: 0.2rem;
    }

    .network-promo__title {
        font-size: clamp(0.86rem, 4vw, 1.05rem);
    }

    .network-promo__description,
    .network-promo__label,
    .network-promo__action > span:first-child {
        display: none;
    }

    .network-promo__brand {
        font-size: 0.7rem;
    }

    .network-promo__action {
        min-height: 36px;
        padding: 0.52rem 0.62rem;
        font-size: 0.72rem;
    }

    .network-promo__arrow {
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .network-promo__arrow {
        transition: none;
    }
}
