.chips-page {
    padding-top: 0;
}

.chips-hero {
    min-height: 430px;
    padding: 210px 24px 70px;
    background:
        linear-gradient(135deg, rgba(74, 26, 111, 0.92), rgba(148, 64, 213, 0.78)),
        url("../images/articles-bg.png") center/cover no-repeat;
    color: #ffffff;
}

.chips-hero__content {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.chips-hero__label {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
}

.chips-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.02;
}

.chips-hero p:last-child {
    max-width: 720px;
    margin: 22px 0 0;
    font-size: 20px;
    line-height: 1.5;
}

.chip-search-section {
    padding: 72px 24px 90px;
    background: #fffdf9;
}

.chip-search-container {
    width: min(980px, 100%);
    margin: 0 auto;
}

.chip-search-card {
    padding: 42px;
    border: 1px solid rgba(148, 64, 213, 0.16);
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(73, 41, 95, 0.1);
}

.chip-search-card > h2 {
    margin: 0;
    font-size: 34px;
    color: #2f2535;
}

.chip-search-card__text {
    margin: 10px 0 28px;
    font-size: 17px;
    color: #716977;
}

.chip-search-form__label {
    display: block;
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 700;
    color: #4a3f50;
}

.chip-search-form__row {
    display: flex;
    gap: 12px;
}

.chip-search-form input {
    min-width: 0;
    flex: 1;
    height: 58px;
    padding: 0 20px;
    border: 1px solid #d8cce1;
    border-radius: 18px;
    outline: none;
    font: inherit;
    font-size: 19px;
    letter-spacing: 0.04em;
    color: #34283b;
    background: #fffdf9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chip-search-form input:focus {
    border-color: #9440d5;
    box-shadow: 0 0 0 4px rgba(148, 64, 213, 0.11);
}

.chip-search-form button {
    min-width: 142px;
    height: 58px;
    padding: 0 26px;
    border: 0;
    border-radius: 18px;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    background: #9440d5;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.chip-search-form button:hover {
    transform: translateY(-1px);
}

.chip-search-form button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.chip-search-form__hint {
    margin: 9px 0 0;
    font-size: 14px;
    color: #8a818f;
}

.chip-status {
    min-height: 24px;
    margin-top: 20px;
    font-size: 16px;
    color: #5f5366;
}

.chip-status--error {
    color: #a63b3b;
}

.chip-result {
    margin-top: 24px;
    padding: 30px;
    border: 1px solid #e5d9ed;
    border-radius: 26px;
    background: #fcf9ff;
}

.chip-result__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e7dcef;
}

.chip-result__eyebrow {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9440d5;
}

.chip-result__head h2 {
    margin: 0;
    font-size: 30px;
    color: #34283b;
}

.chip-result__head > a {
    flex-shrink: 0;
    padding: 11px 16px;
    border: 1px solid #c9a9df;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #7433a5;
}

.chip-result__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.chip-result__item {
    padding: 16px 18px;
    border-radius: 18px;
    background: #ffffff;
}

.chip-result__item span {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #8a7d91;
}

.chip-result__item strong {
    display: block;
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    color: #33283a;
}

.chip-result__section {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid #e7dcef;
}

.chip-result__section h3 {
    margin: 0;
    font-size: 22px;
    color: #34283b;
}

.chip-result__location {
    margin: 14px 0 0;
    white-space: pre-line;
    font-size: 16px;
    line-height: 1.65;
    color: #5f5366;
}

.chip-result__source {
    margin: 28px 0 0;
    font-size: 13px;
    color: #8b8090;
}

.chip-result__source a {
    color: #7433a5;
    text-decoration: underline;
}

@media (max-width: 700px) {
    .chips-hero {
        min-height: 420px;
        padding: 156px 20px 70px;
        background-position: center center;
    }

    .chips-hero__content {
        width: 100%;
    }

    .chips-hero h1 {
        font-size: clamp(42px, 11vw, 58px);
    }

    .chips-hero p:last-child {
        font-size: 18px;
    }

    .chip-search-section {
        padding: 50px 16px 110px;
    }

    .chip-search-card {
        padding: 28px 20px 34px;
        border-radius: 24px;
    }

    .chip-search-card > h2 {
        font-size: 28px;
    }

    .chip-search-form__row {
        flex-direction: column;
    }

    .chip-search-form button {
        width: 100%;
    }

    .chip-result {
        padding: 22px 16px;
    }

    .chip-result__head {
        flex-direction: column;
    }

    .chip-result__grid {
        grid-template-columns: 1fr;
    }
}


.chips-hero {
    min-height: 560px;
    padding: 220px 24px 118px;
    background:
        linear-gradient(135deg, rgba(74, 26, 111, 0.84), rgba(148, 64, 213, 0.68)),
        url("../images/chips-hero.jpg") center center/cover no-repeat;
}

.chips-hero h1 {
    max-width: 860px;
    font-size: clamp(52px, 5.6vw, 82px);
}

.chips-hero p:last-child {
    max-width: 760px;
    margin-top: 24px;
    font-size: 22px;
    line-height: 1.58;
}

.chip-search-section {
    padding: 86px 24px 180px;
}

.chip-search-card {
    padding: 52px 56px;
}

.chip-search-card__text {
    margin: 12px 0 32px;
}

.chip-search-form__link {
    margin: 14px 0 0;
    font-size: 15px;
}

.chip-search-form__link a {
    color: #7d36b2;
    font-weight: 600;
    text-decoration: underline;
}

.chip-search-form__link a:hover {
    color: #9440d5;
}

.chip-status {
    margin-top: 24px;
}

.chip-result {
    margin-top: 30px;
}

@media (max-width: 700px) {
    .chips-hero {
        min-height: 420px;
        padding: 156px 20px 70px;
        background-position: center center;
    }

    .chips-hero h1 {
        font-size: clamp(42px, 11vw, 58px);
    }

    .chips-hero p:last-child {
        max-width: none;
        font-size: 18px;
    }

    .chip-search-section {
        padding: 50px 16px 110px;
    }

    .chip-search-card {
        padding: 28px 20px 34px;
    }
}

.chips-hero {
    display: flex;
    align-items: center;
    min-height: max(700px, calc(100svh - 150px));
    padding: 90px 24px;
    background-position: center center;
}

.chip-search-section {
    padding-bottom: 260px;
}

@media (max-width: 700px) {
    .chips-hero {
        min-height: 620px;
        padding: 96px 20px 78px;
    }

    .chip-search-section {
        padding-bottom: 150px;
    }
}
