/* Страница записи рекорда — визуальное соответствие records.erzrf.ru/rrdru0001 (Tilda) */
.main {
    padding: 0 1rem;
}

.record {
    flex: 1;
}

/* Герой: фон #f2f2f2, типографика как на Tilda (rec1879252831) */
.record-hero {
    background-color: #f2f2f2;
    padding-top: clamp(4.5rem, 14vw, 7.2rem);
    padding-bottom: clamp(2rem, 6vw, 3.5rem);
}

@media screen and (max-width: 768px) {
    .record-hero {
        padding: 10vh 0 1.2rem 0;
    }

    .main {
        padding: 0;
    }
}

.record-hero__code-row {
    text-align: right;
}

.record-hero__code {
    cursor: default;
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 500;
    color: #b1b1b1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.record-hero__code:hover {
    color: #f36921;
}

.record-hero__headline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 0.75rem;
    margin-bottom: 2.4rem;
}

@media screen and (max-width: 768px) {
    .record-hero__headline {
        margin-bottom: 0.8rem;
        padding: 0 0.8rem;
    }
    .record-hero__code {
        font-size: 16px;
    }
    .record-hero__brand {
        margin-bottom: 0.8rem;
        padding: 0 0.8rem;

    }
}

.record-hero__metric {
    margin: 0;
    padding: 0;
    font-size: clamp(1.0625rem, 2.8vw, 1.75rem);
    line-height: 1.15;
    font-weight: 300;
    color: #232323;
}

.record-hero__metric strong {
    font-weight: 700;
}

.record-hero__rule {
    display: none;
    width: 3px;
    height: 2.8rem;
    margin-top: 0.15em;
    flex-shrink: 0;
    background-color: #232323;
}

.record-hero__title {
    padding-top: 1rem;
    max-width: 60%;
    line-height: 1.1;
    margin: 0;
    flex: 1;
    min-width: min(100%, 16rem);
    font-size: 2.6rem;
    font-weight: 700;
    color: #232323;
}

@media screen and (max-width: 1200px) {
    .record-hero__title {
        max-width: 72%;
        font-size: clamp(2.2rem, 2.6vw, 2.8rem);
    }
}

@media screen and (max-width: 768px) {
    .record-hero__title {
        max-width: 100%;
        font-size: 24px;
        line-height: 1.3;
    }
}

.record-hero__brand {
    margin-bottom: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media screen and (max-width: 768px) {
    .record-hero__brand {
        margin-bottom: 0.8rem;
    }
}

.record-hero__brand img {
    max-height: 80px;
    min-height: 55px;
    max-width: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
}
@media screen and (max-width: 768px) {
   .record-hero__brand img {
     min-height: auto;
     max-width: 210px;
   }
}
@media screen and (max-width: 460px){
    .record-hero__brand img {
        max-width: 180px;
    }
}

.record-hero__visual {
    position: relative;
    margin-left: -6%;
    margin-right: -6%;
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* Промежуточные размеры: чтобы не было "вылетов" и скролла на планшетах */
@media screen and (max-width: 1200px) {
    .record-hero__visual {
      
    }
}

@media screen and (max-width: 1024px) {
    .record-hero__visual {
        border-radius: 14px;
    }
}

.record-hero__visual img {
    width: 100%;
    height: auto;
    min-height: 26rem;
    max-height: min(32rem, 60vh);
    object-fit: cover;
    display: block;
}

.record-hero__visual .record-hero__logo-hero {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 18rem;
    max-height: 18rem;
    min-width: auto;
    min-height: auto;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .record-hero__visual {
        margin: 0;
    }
    .record-hero__visual .record-hero__logo-hero {
        max-width: 7.2rem;
        max-height: 7.2rem;
        right: -12px;
    }
}

/* Блок цифр (rec1879406681) */
.record-stats {
    background-color: #f2f2f2;
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.record-stats__body {
    max-width: 60rem;
}

.record-stats__body p {
    margin: 0;
    font-size: clamp(0.625rem, 2vw, 1.125rem);
    line-height: 1.15;
    font-weight: 300;
    color: #232323;
}

.record-stats__body strong {
    font-weight: 700;
}

/* Описание (rec1882185511): градиентный заголовок */
.record-about {
    background-color: #f2f2f2;
    padding-top: clamp(0.5rem, 2vw, 1rem);
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
}

.record-about__title {
    margin: 0 0 1.25rem;
    font-size: var(--text-2xl);
    line-height: 1.15;
}

.record-about__title,
.record-about__title strong {
    background: linear-gradient(0.247turn, #f15a22 0%, #f7941e 91%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.record-about__title strong {
    font-weight: 700;
}

.record-about__text {
    line-height: 1.2;
    font-size: var(--text-xl);

}

.record-about__text a {
    color: #ff8562;
}

.record-about__text p {
    margin: 0 0 1.25em;
    font-size: clamp(0.625rem, 2vw, 1.125rem);
    line-height: 1.15;
    font-weight: 300;
    color: #232323;
}

.record-about__text p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 959px) {
    .record-about__title {
        font-size: 24px;
        margin-bottom: 0.8rem;
    }
    .record-about__text {
        font-size: 15px;
    }
    .record-hero__rule {
        width: 1px;
        height: 1.25rem;
    }

    .record-hero__visual {
        border-radius: 10px;
    }

    .record-hero__visual img {
        max-height: none;
        min-height: 8rem;
    }
}
