﻿.link-underline {
    position: relative;
    color: #1c1d1e;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding-bottom: 4px;
    line-height: 1.75;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 100% 2px;
    transition: background-size 0.3s ease;
}

.link-underline:hover, .link-underline:focus {
    color: #383c3fee;
    background-size: 100% 2px;
}

.ethics-trust-line {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 3.5rem;
}

.about-metal .universal h2.ethics-trust-line__title {
    font-size: 36px;
    line-height: 48px;
    font-weight: 500;
    color: #1c1d1e;
    letter-spacing: 0;
    margin: 0 0 24px 0;
    padding: 0;
    text-transform: none;
    height: auto;
    border: 0;
}

.about-metal .universal h3.ethics-trust-line__subtitle {
    font-size: 28px;
    line-height: 32px;
    font-weight: 500;
    color: #1c1d1e;
    letter-spacing: 0;
    margin: 0 12px 0 0;
    padding: 0;
    text-transform: none;
}

.about-metal .universal .ethics-trust-line__description p {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 24px;
}

.ethics-trust-line__contacts {
    background-color: #95C69A;
    padding: 48px 40px 32px 40px;
    border-radius: 18px;
}

.about-metal .universal p.ethics-trust-line__hint-text {
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
    max-width: 40ch;
    margin-bottom: 32px;
}

.ethics-trust-line__tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ethics-trust-line__tabs input[type="radio"],
.ethics-trust-line__tab-content {
    display: none;
}

.ethics-trust-line__tabs > label {
    background-color: #d9d9d994;
    cursor: pointer;
    display: block;
    padding: 6px 12px;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
}

.ethics-trust-line__tab-content {
    width: 100%;
    opacity: 0;
    transition: all .3s ease-out;
    border-top: 1px solid #000;
    padding-top: 24px;
    order: 1;
}

.ethics-trust-line__tabs input[type="radio"]:checked + label {
    background-color: #D9D9D9;
}

.ethics-trust-line__tabs input[type="radio"]:checked + label + .ethics-trust-line__tab-content {
    display: block;
    opacity: 1;
}

.ethics-trust-line-contact__label {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    display: block;
    color: #5d6268;
    margin-bottom: 8px;
}

.ethics-trust-line-contact__link {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    display: block;
    max-width: fit-content;
    text-decoration: none;
    color: #1c1d1e;
}

.ethics-trust-line-contact__row {
    display: flex;
    flex-wrap: wrap;
}

.ethics-trust-line-contact__col {
    flex: 1;
}

.ethics-trust-line__divider {
    margin-block: 16px;
    border-top: 1px solid #000;
    font-size: 0;
}

.ethics-trust-line-contact__help-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
}

.ethics-trust-line__button {
    background-color: #1c1d1e;
    color: #fff;
    border-radius: 48px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    display: block;
    text-align: center;
    width: 242px;
    padding: 12px;
    text-decoration: none;
    margin-top: 24px;
    box-sizing: border-box;
    transition: .3s all ease-out;
}

.ethics-trust-line__button:hover {
    background-color: rgba(28, 29, 30, 0.75);
}

@media screen and (max-width: 1023px) {
    .ethics-trust-line {
        display: flex;
        flex-direction: column;
        gap: 64px;
    }
    .ethics-trust-line__tabs > label {
        font-size: 16px;
        line-height: 24px;
    }
}

@media screen and (max-width: 767px) {
    .ethics-trust-line__contacts {
        padding: 32px 24px;
    }
    .ethics-trust-line-contact__row {
        flex-direction: column;
        gap: 16px;
    }
    .ethics-trust-line__tabs > label {
        font-size: 14px;
    }
    .ethics-trust-line__button {
        width: 100%;
    }
}