/* Карточка прогноза ?ffv2=1 — боевой шаблон без параметра не трогает */

body.ffv2 {
    background: #fff;
    padding: 0;
}

body.ffv2.hv2-chrome:not(.home-v2) .hv2-header {
    background: transparent;
}

body.ffv2 .articleContent {
    padding-top: 8px;
    padding-bottom: 8px;
}

.articleContainer.ffv2 {
    box-sizing: border-box;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px 16px;
    font-family: Inter, "CirceRegular", system-ui, sans-serif;
    color: #1a2340;
}

.articleContainer.ffv2 *,
.articleContainer.ffv2 *::before,
.articleContainer.ffv2 *::after {
    box-sizing: border-box;
}

.ffv2-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.4;
    color: #8b93a7;
}

.ffv2-crumbs li {
    display: inline;
}

.ffv2-crumbs a {
    color: #8b93a7;
    text-decoration: none;
}

.ffv2-crumbs a:hover,
.ffv2-crumbs a:focus-visible {
    color: #1a2340;
    text-decoration: underline;
}

.ffv2-crumbs__sep {
    margin: 0 8px;
    color: #c3c8d4;
}

.ffv2-badge {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #0c1d4d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ffv2 .articleTitle,
.ffv2 h1.articleTitle {
    margin: 0 0 10px;
    color: #0c1d4d;
    font-family: Inter, "CirceBold", system-ui, sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.22;
    text-align: left;
}

.ffv2-lead {
    margin: 0 0 16px;
    color: #8b93a7;
    font-size: 14px;
    line-height: 1.45;
}

.ffv2-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin: 0 0 18px;
    color: #8b93a7;
    font-size: 14px;
    line-height: 1.35;
}

.ffv2-meta__item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ffv2-meta__icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ffv2-meta__icon--date {
    background-image: url(../img/free-forecast-v2/icon-date.svg);
}

.ffv2-meta__icon--time {
    background-image: url(../img/free-forecast-v2/icon-time.svg);
}

.ffv2-meta__icon--odds {
    background-image: url(../img/free-forecast-v2/icon-odds.svg);
}

.ffv2-meta__icon--read {
    background-image: url(../img/free-forecast-v2/icon-read.svg);
}

.ffv2 .articleImage {
    margin: 0 0 20px;
    overflow: hidden;
    border-radius: 16px;
}

.ffv2 .articleImage img,
.ffv2 .articleText img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 16px;
}

.ffv2-toc {
    margin: 0 0 22px;
    padding: 16px 16px 4px;
    border-radius: 16px;
    background: #eef4fb;
}

.ffv2-toc__title {
    margin: 0 0 8px;
    color: #0c1d4d;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.ffv2-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ffv2-toc__list li {
    border-top: 1px solid #d7e3f0;
}

.ffv2-toc__list li:first-child {
    border-top: 0;
}

.ffv2-toc__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    color: #2a3558;
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
}

.ffv2-toc__link:hover,
.ffv2-toc__link:focus-visible {
    color: #0c1d4d;
}

.ffv2-toc__chev {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid #9aa6c2;
    border-bottom: 2px solid #9aa6c2;
    transform: rotate(45deg) translate(-2px, -2px);
    pointer-events: none;
}

.ffv2 .articleText {
    color: #2c3348;
    font-size: 16px;
    line-height: 1.65;
}

.ffv2 .articleText h2,
.ffv2 .articleText h2:target {
    display: block;
    position: static;
    top: auto;
    visibility: visible;
    scroll-margin-top: 88px;
    margin: 28px 0 12px;
    color: #0c1d4d;
    font-family: Inter, "CirceBold", system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.ffv2-picks {
    margin: 28px 0 0;
    padding: 20px 16px 12px;
    border: 1px solid #e4ebf4;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(12, 29, 77, 0.06);
}

.ffv2-picks__title {
    margin: 0 0 4px;
    color: #0c1d4d;
    font-family: Inter, "CirceBold", system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.ffv2-picks__pair {
    margin: 0 0 16px;
    color: #8b93a7;
    font-size: 14px;
    line-height: 1.4;
}

.ffv2-picks__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ffv2-picks__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    border-top: 1px solid #e4ebf4;
}

.ffv2-picks__item:first-child,
.ffv2-picks__item.is-primary {
    border-top: 0;
}

.ffv2-picks__item.is-primary {
    margin: 0 0 8px;
    border-radius: 14px;
    background: #e8f1fb;
}

.ffv2-picks__icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    background: no-repeat center / contain;
}

.ffv2-picks--color {
    margin-top: 16px;
}

.ffv2-picks--color .ffv2-picks__icon {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
}

.ffv2-picks__text {
    flex: 1 1 auto;
    min-width: 0;
}

.ffv2-picks__label {
    display: block;
    color: #3d4451;
    font-size: 13px;
    line-height: 1.3;
}

.ffv2-picks__value {
    display: block;
    margin-top: 2px;
    color: #0c1d4d;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.ffv2-picks__odds {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 72px;
    width: 72px;
    align-self: center;
    padding: 0;
    background: none;
    text-align: center;
}

.ffv2-picks__odds-num {
    display: block;
    box-sizing: border-box;
    width: 72px;
    padding: 6px 8px;
    border-radius: 10px;
    background: #eef2f6;
    color: #0c1d4d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.ffv2-picks__item.is-primary .ffv2-picks__odds-num {
    background: #fff;
}

.ffv2-picks__odds-cap {
    display: block;
    margin-top: 4px;
    color: #5b6573;
    font-size: 11px;
    line-height: 1.2;
}

.ffv2-picks__item.is-wide .ffv2-picks__text {
    flex: 1 1 100%;
}

.ffv2 .index-banner-block {
    margin-top: 28px;
}

@media (min-width: 1200px) {
    .articleContainer.ffv2 {
        padding: 16px 0 24px;
    }

    .ffv2 .articleTitle,
    .ffv2 h1.articleTitle {
        font-size: 36px;
    }
}
