.hero {
    padding-top: 108.5px;
    background: #fff;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 0;
}

.breadcamps {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bread__link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    line-height: 120%;
    color: rgba(0, 0, 0, 0.5);
    transition: color 0.25s ease;
}

.bread__link:hover {
    color: #ff6b00;
}

.breadcamps span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    line-height: 120%;
    color: rgba(0, 0, 0, 0.5);
}

.breadcamps .bread__desc {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 13px;
    line-height: 120%;
    color: #000;
}

.hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.hero__text h1 {
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 39px;
    line-height: 110%;
    color: #111827;
}

.hero__text p {
    max-width: 800px;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 160%;
    color: #707076;
}

.expertise {
    background: #f3f4f6;
    padding: 40px 0;
}

.expertise__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 32px;
}

.expertise__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.03);
    padding: 32px;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.expertise__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px 0 rgba(0, 75, 135, 0.12);
}

.expertise__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 20px;
    color: #004b87;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.expertise__card:hover .expertise__badge {
    background: #004b87;
    color: #fff;
    transform: scale(1.08);
}

.expertise__card--text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.expertise__card--text h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    color: #111827;
    transition: color 0.25s ease;
}

.expertise__card:hover .expertise__card--text h2 {
    color: #004b87;
}

.expertise__card--text p {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 160%;
    color: #707076;
}

.expertise__card--btn {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    color: #004b87;
}

.expertise__card--btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.expertise__card:hover .expertise__card--btn svg {
    transform: translateX(4px);
}

.expertise__card--btn span {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 15px;
}

.post {
    background: #fff;
    padding: 80px 0;
}

.post__content {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    gap: 64px;
}

.post__info {
    max-width: 536px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.post__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 31px;
    color: #111827;
}

.post__text p {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    color: #707076;
}

.post__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.post__tags span {
    border: 1px solid #e5e7eb;
    border-radius: 99px;
    padding: 12px 20px;
    background: #fff;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    cursor: default;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.post__tags span:hover {
    border-color: #004b87;
    color: #004b87;
    background: #f5f9fc;
}

.post__btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ff6b00;
    transition: color 0.25s ease;
}

.post__btn:hover {
    color: #e85f00;
}

.post__btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.post__btn:hover svg {
    transform: translateX(4px);
}

.post__btn span {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 15px;
}

.post__img {
    width: 100%;
    height: 360px;
    overflow: hidden;
}

.post__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post__img:hover img {
    transform: scale(1.05);
}






@media (max-width: 1199px) {
    .hero {
        padding-top: 96px;
    }

    .expertise__card {
        padding: 24px;
    }

    .post__content {
        gap: 40px;
    }

    .post__img {
        height: 300px;
    }
}

@media (max-width: 991px) {
    .hero {
        padding-top: 65px;
    }

    .hero__content {
        padding: 32px 0;
        gap: 20px;
    }

    .expertise {
        padding: 32px 0;
    }

    .post {
        padding: 56px 0;
    }

    .post__content {
        grid-template-columns: 1fr;
    }

    .post__info {
        max-width: 100%;
    }

    .post__img {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .hero__text h1 {
        font-size: 34px;
    }

    .hero__text p {
        font-size: 19px;
    }

    .title {
        font-size: 24px;
    }

    .expertise__card {
        padding: 20px;
        gap: 16px;
    }

    .expertise__badge {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .expertise__card--text h2 {
        font-size: 18px;
    }

    .expertise__card--text p {
        font-size: 14px;
    }

    .post__text p {
        font-size: 15px;
    }

    .post__tags span {
        padding: 10px 16px;
        font-size: 13px;
    }

    .post__img {
        height: 260px;
    }
}

@media (max-width: 575px) {
    .hero__text h1 {
        font-size: 24px;
    }

    .hero__text p {
        font-size: 15px;
    }

    .expertise__card {
        padding: 18px;
    }

    .expertise__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post__tags {
        gap: 8px;
    }
}