a[data-portal="account/plans"] {
    display: none !important;
}

article.js-story {
    animation: fadeInUp 0.4s ease both;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

article.js-story:nth-child(1) { animation-delay: 0.05s; }
article.js-story:nth-child(2) { animation-delay: 0.1s; }
article.js-story:nth-child(3) { animation-delay: 0.15s; }
article.js-story:nth-child(4) { animation-delay: 0.2s; }
article.js-story:nth-child(5) { animation-delay: 0.25s; }
article.js-story:nth-child(6) { animation-delay: 0.3s; }

article.js-story:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
    z-index: 10 !important;
    position: relative !important;
}

figure.story-image {
    border-radius: 8px;
    overflow: hidden;
}

img.header-logo-img {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

a:has(img.header-logo-img) {
    display: flex !important;
    align-items: center !important;
    width: 180px !important;
    height: 57px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
}

.dark a:has(img.header-logo-img) {
    background-image: url('/content/images/size/w600/2026/04/Xronicle_logo_white.png') !important;
}

html:not(.dark) a:has(img.header-logo-img) {
    background-image: url('/content/images/size/w600/2026/04/Xronicle_logo-4.png') !important;
}

/* Текст согласия под формой подписки */
.gh-portal-signup-footer::after {
    content: 'Регистрируясь, вы соглашаетесь с Правилами платформы и Политикой конфиденциальности';
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin-top: 8px;
    padding: 0 16px;
}
