.ahevery1,
.ahevery1 * {
    box-sizing: border-box;
}

.ahevery1 {
    width: 100%;
    padding: 10px 0;
    background:
        radial-gradient(circle at 50% 4%, rgba(231, 220, 205, .34), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
    color: #0d1830;
    font-family: Arial, Helvetica, sans-serif;
}

.ahevery1-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 65px;
}

.ahevery1-header {
    margin: 0 auto 22px;
    text-align: center;
}

.ahevery1-title {
    margin: 0;
    color: #0d1830;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.6vw, 76px);
    font-weight: 500;
    line-height: .92;
    letter-spacing: -1px;
}

.ahevery1-header__mark {
    display: block;
    width: 34px;
    height: 2px;
    margin: 14px auto 11px;
    background: #b29b69;
}

.ahevery1-subtitle {
    margin: 0;
    color: #424652;
    font-size: clamp(16px, 1.35vw, 22px);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
}

.ahevery1-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ahevery1-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(19, 28, 46, .08);
    position: relative;
    color: var(--ahevery-accent, #e36f6b);
}

.ahevery1-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .04);
}

.ahevery1-card__media {
    height: 360px;
    overflow: hidden;
    background: #f7f2ed;
}

.ahevery1-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ahevery1-card__body {
    min-height: 230px;
    padding: 0 28px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% -8%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 32%),
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .92));
}

.ahevery1-card__icon {
    width: 92px;
    height: 92px;
    margin-top: -44px;
    margin-bottom: 15px;
    border-radius: 999px;
    background: var(--ahevery-icon-bg, #f9dddd);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.ahevery1-card__icon svg {
    width: 52px;
    height: 52px;
    stroke: currentColor;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ahevery1-card h3 {
    margin: 0;
    color: #222326;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 1.9vw, 36px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.4px;
}

.ahevery1-card__line {
    display: block;
    width: 31px;
    height: 3px;
    margin: 13px 0 18px;
    background: var(--ahevery-line-color, var(--ahevery-line-global, currentColor));
}

.ahevery1-card p {
    margin: 0;
    color: #3e424b;
    font-size: clamp(15px, 1.12vw, 19px);
    font-weight: 400;
    line-height: 1.38;
}

.ahevery1-card a {
    margin-top: 10px;
    padding: 0 2px 9px;
    color: var(--ahevery-button-color, var(--ahevery-button-global, currentColor));
    border-bottom: 2px solid currentColor;
    display: inline-flex;
    align-items: center;
    gap: 22px;
    font-size: clamp(15px, 1.12vw, 19px);
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}

.ahevery1-card a:hover,
.ahevery1-card a:focus-visible {
    color: var(--ahevery-button-hover, var(--ahevery-button-hover-global, #0d1830));
    border-bottom-color: currentColor;
}

.ahevery1-card a svg {
    width: 34px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

@media (max-width: 1200px) {
    .ahevery1 {
        padding: 10px 0;
    }

    .ahevery1-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .ahevery1 {
        padding: 10px 0 24px;
    }

    .ahevery1-inner {
        padding: 0 5px;
    }

    .ahevery1-header {
        margin-bottom: 18px;
    }

    .ahevery1-title {
        font-size: 34px;
        line-height: 1;
        letter-spacing: 0;
    }

    .ahevery1-header__mark {
        margin: 14px auto 11px;
    }

    .ahevery1-subtitle {
        font-size: 16px;
    }

    .ahevery1-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ahevery1-card__media {
        height: 270px;
    }

    .ahevery1-card__body {
        min-height: 230px;
        padding: 0 20px 22px;
    }

    .ahevery1-card__icon {
        width: 76px;
        height: 76px;
        margin-top: -36px;
        margin-bottom: 12px;
    }

    .ahevery1-card__icon svg {
        width: 43px;
        height: 43px;
    }

    .ahevery1-card h3 {
        font-size: 28px;
    }

    .ahevery1-card__line {
        margin: 10px 0 14px;
    }

    .ahevery1-card p,
    .ahevery1-card a {
        font-size: 15px;
    }
}
