.menu-list>li.menu-direct-link>a:after {
    display: none;
}

.content-page {
    padding-block: 64px 80px;
    background: #f8fafc;
}

.content-hero {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.content-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
}

.content-hero h1 {
    margin-bottom: 14px;
    color: var(--heading-color);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.4;
}

.content-hero p {
    color: var(--sub-txt-color);
    font-size: 17px;
    line-height: 1.9;
}

.about-card,
.about-contact,
.article-detail,
.content-empty {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--white-color);
    box-shadow: 0 12px 32px rgba(47, 57, 66, 0.06);
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.65fr);
    gap: 36px;
    min-height: 390px;
    padding: 48px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--white-color);
    box-shadow: 0 16px 40px rgba(47, 57, 66, 0.07);
}

.about-hero__content h1 {
    margin-bottom: 16px;
    color: var(--heading-color);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.45;
}

.about-hero__content > p {
    max-width: 680px;
    color: var(--sub-txt-color);
    font-size: 18px;
    line-height: 2;
}

.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    align-items: center;
}

.about-secondary-link {
    display: inline-flex;
    min-height: 50px;
    padding-inline: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    background: #fbfcfe;
}

.about-secondary-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.about-hero__brand {
    display: flex;
    width: min(100%, 270px);
    aspect-ratio: 1;
    margin-inline: auto;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6eeef;
    border-radius: 50%;
    color: var(--primary-color);
    background: linear-gradient(145deg, #f0fbfb, #edf2f8);
    box-shadow: 0 0 0 18px #f7fbfc;
    font-size: 72px;
    font-weight: 700;
}

.about-hero__brand img {
    width: 45%;
    max-height: 45%;
    object-fit: contain;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.about-stat {
    padding: 24px 18px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--white-color);
    text-align: center;
}

.about-stat strong {
    display: block;
    margin-bottom: 6px;
    color: var(--primary-color);
    font-size: 28px;
}

.about-stat span {
    color: var(--sub-txt-color);
}

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

.about-card {
    position: relative;
    min-width: 0;
    padding: 36px;
    overflow: hidden;
}

.about-card--accent {
    border-color: #ccebed;
    background: #f4fbfb;
}

.about-card__number {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
}

.about-card h2,
.about-contact h2 {
    margin-bottom: 18px;
    color: var(--heading-color);
    font-size: 26px;
}

.about-card__text {
    color: var(--sub-txt-color);
    line-height: 2.1;
}

.about-card__text p + p {
    margin-top: 16px;
}

.about-values {
    margin-top: 72px;
}

.about-section-heading {
    max-width: 680px;
    margin: 0 auto 30px;
    text-align: center;
}

.about-section-heading h2 {
    margin-bottom: 10px;
    color: var(--heading-color);
    font-size: 30px;
}

.about-section-heading p {
    color: var(--sub-txt-color);
    line-height: 1.9;
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-value {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--white-color);
}

.about-value > span {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.about-value h3 {
    margin-bottom: 12px;
    color: var(--heading-color);
    font-size: 21px;
}

.about-value p {
    color: var(--sub-txt-color);
    line-height: 1.9;
}

.about-contact {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 30px;
    margin-top: 72px;
    padding: 36px;
    align-items: start;
}

.about-contact__intro > p {
    color: var(--sub-txt-color);
    line-height: 2;
}

.about-contact__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.about-contact__list li {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line-color);
    border-radius: 12px;
    background: #fbfcfe;
}

.about-contact__list span {
    display: block;
    margin-bottom: 6px;
    color: var(--txt-color);
    font-size: 13px;
}

.about-contact__list p,
.about-contact__list a {
    overflow-wrap: anywhere;
    color: var(--heading-color);
    line-height: 1.8;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.45fr);
    gap: 24px;
    align-items: start;
}

.contact-info,
.contact-form-card,
.site-form-card {
    min-width: 0;
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--white-color);
    box-shadow: 0 12px 32px rgba(47, 57, 66, 0.06);
}

.contact-info {
    position: sticky;
    top: 24px;
}

.contact-info__heading h2,
.contact-form-card__heading h2,
.site-form-heading h2 {
    margin-bottom: 10px;
    color: var(--heading-color);
    font-size: 25px;
}

.contact-info__heading p,
.contact-form-card__heading p,
.site-form-heading p {
    color: var(--sub-txt-color);
    line-height: 1.9;
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.contact-methods li {
    padding: 16px;
    border: 1px solid var(--line-color);
    border-radius: 12px;
    background: #fbfcfe;
}

.contact-methods span,
.contact-response span {
    display: block;
    margin-bottom: 6px;
    color: var(--txt-color);
    font-size: 13px;
}

.contact-methods p,
.contact-methods a {
    overflow-wrap: anywhere;
    color: var(--heading-color);
    line-height: 1.8;
}

.contact-response {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #ccebed;
    border-radius: 12px;
    background: #f2fbfb;
}

.contact-response strong {
    color: var(--heading-color);
    font-size: 16px;
}

.contact-form-card__heading,
.site-form-heading {
    margin-bottom: 26px;
}

.contact-form-grid,
.site-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form-group,
.site-form-group {
    min-width: 0;
}

.contact-form-group--full,
.site-form-group--full {
    grid-column: 1 / -1;
}

.contact-form-group label,
.site-form-label {
    display: flex;
    min-height: 28px;
    margin-bottom: 7px;
    align-items: center;
    justify-content: flex-start;
    color: var(--heading-color);
    font-size: 14px;
    font-weight: 600;
}

.site-form-required {
    margin-inline-start: 4px;
    color: #c53b3b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.contact-field,
.site-form-field {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--heading-color);
    background: #fbfcfe;
    line-height: 1.7;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-field::placeholder,
.site-form-field::placeholder {
    color: #98a4bc;
}

.contact-field:hover,
.site-form-field:hover {
    border-color: #bdc7d9;
}

.contact-field:focus,
.site-form-field:focus {
    border-color: var(--primary-color);
    background: var(--white-color);
}

.contact-field--textarea,
.site-form-field--textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-field-error,
.site-form-field-error {
    display: block;
    margin-top: 8px;
    padding: 8px 10px;
    border-inline-start: 3px solid #c53b3b;
    border-radius: 7px;
    color: #a52d2d;
    background: #fff5f5;
    font-size: 13px;
    line-height: 1.7;
}

.site-form-field-error > span {
    display: block;
}

.site-form-field-error > span + span {
    margin-top: 3px;
}

.contact-form-error,
.site-form-error {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #f0bcbc;
    border-radius: 10px;
    color: #a52d2d;
    background: #fff5f5;
    line-height: 1.8;
}

.site-form-error p {
    margin: 0;
}

.site-form-error p + p {
    margin-top: 4px;
}

.contact-form-footer,
.site-form-footer {
    display: flex;
    gap: 20px;
    margin-top: 22px;
    align-items: center;
    justify-content: space-between;
}

.contact-form-footer > p,
.site-form-footer > p {
    max-width: 470px;
    color: var(--txt-color);
    font-size: 12px;
    line-height: 1.8;
}

.contact-submit,
.site-form-submit {
    min-width: 150px;
    min-height: 48px;
    padding-inline: 24px;
    border: 1px solid var(--primary-color);
    border-radius: 9px;
    color: var(--white-color);
    background: var(--primary-color);
    font-weight: 700;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.contact-submit:hover,
.site-form-submit:hover {
    color: var(--primary-color);
    background: var(--white-color);
}

.profile-form-card {
    max-width: 920px;
    margin-inline: auto;
}

.site-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    align-items: center;
}

.site-form-secondary {
    display: inline-flex;
    min-height: 48px;
    padding-inline: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    color: var(--heading-color);
    background: #fbfcfe;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.site-form-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--white-color);
}

.site-form-note {
    margin-block: 12px 18px;
    color: var(--txt-color);
    font-size: 13px;
    line-height: 1.8;
}

.site-form-note a {
    color: var(--primary-color);
    font-weight: 700;
}

.site-form-notice {
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid #ccebed;
    border-radius: 10px;
    color: var(--heading-color);
    background: #f2fbfb;
    font-size: 13px;
    line-height: 1.8;
}

.site-form-field[aria-invalid="true"] {
    border-color: #c53b3b;
    background: #fffafa;
}

.site-form-field[aria-invalid="true"]:focus {
    border-color: #a52d2d;
    box-shadow: 0 0 0 3px rgba(197, 59, 59, 0.14);
}

.site-form-field[aria-invalid="true"] + .nice-select,
.site-form-field[aria-invalid="true"] + .select2 .select2-selection {
    border-color: #c53b3b;
    background: #fffafa;
}

.site-form-submit:disabled,
.site-form-secondary:disabled {
    border-color: #c8ced8;
    color: #6f7888;
    background: #e9edf2;
    cursor: not-allowed;
    opacity: 0.8;
}

.profile-page .select2-container {
    width: 100%;
}

.profile-page .select2-container--default .select2-selection--single {
    min-height: 48px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fbfcfe;
}

.profile-page .select2-container--default.select2-container--focus .select2-selection--single,
.profile-page .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--primary-color);
    background: var(--white-color);
}

.cart-order-form {
    padding: 28px;
}

.cart-order-form .site-form-field--textarea {
    min-height: 112px;
}

.auth-page-card {
    padding: 34px;
}

.site-auth-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(33, 44, 67, 0.16);
}

.site-auth-modal .modal-body {
    padding: 42px;
}

.auth-modal-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.auth-site-form .site-form-heading {
    margin-bottom: 24px;
}

.auth-site-form .site-form-heading p {
    margin-bottom: 0;
}

.auth-site-form .site-form-submit {
    width: min(100%, 220px);
}

.auth-code-field {
    direction: ltr;
    text-align: center;
    letter-spacing: 0.35em;
}

.auth-resend-button {
    min-width: 112px;
    min-height: 40px;
    padding-inline: 14px;
    font-size: 12px;
}

.article-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.article-categories a {
    display: inline-flex;
    min-height: 44px;
    padding-inline: 18px;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--sub-txt-color);
    background: var(--white-color);
}

.article-categories a:hover,
.article-categories a[aria-current="page"] {
    border-color: var(--primary-color);
    color: var(--white-color);
    background: var(--primary-color);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.article-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--white-color);
    box-shadow: 0 10px 26px rgba(47, 57, 66, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(47, 57, 66, 0.1);
}

.article-card__media {
    display: flex;
    height: 220px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--primary-color);
    background: linear-gradient(135deg, #eef9f9, #f3f6fb);
    font-size: 18px;
    font-weight: 700;
}

.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.article-card:hover .article-card__media img {
    transform: scale(1.035);
}

.article-card__body {
    padding: 24px;
}

.article-card__meta {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: var(--txt-color);
    font-size: 13px;
}

.article-card__meta a,
.article-detail__category {
    color: var(--primary-color);
    font-weight: 700;
}

.article-card h2,
.article-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.7;
}

.article-card h2 a,
.article-card h3 a {
    color: var(--heading-color);
}

.article-card p {
    min-height: 72px;
    color: var(--sub-txt-color);
    line-height: 1.9;
}

.article-card__more {
    display: inline-flex;
    min-height: 44px;
    margin-top: 14px;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
}

.content-pagination {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    align-items: center;
    justify-content: center;
}

.content-pagination a {
    display: inline-flex;
    min-height: 44px;
    padding-inline: 16px;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--heading-color);
    background: var(--white-color);
}

.content-empty {
    padding: 56px 24px;
    text-align: center;
}

.content-empty h2 {
    margin-bottom: 10px;
    color: var(--heading-color);
}

.content-empty p {
    margin-bottom: 24px;
}

.article-detail {
    max-width: 940px;
    margin-inline: auto;
    overflow: hidden;
}

.article-detail__header {
    padding: 48px 56px 36px;
}

.article-detail__header h1 {
    margin-block: 14px;
    color: var(--heading-color);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.55;
}

.article-detail__header > p {
    margin-bottom: 18px;
    color: var(--sub-txt-color);
    font-size: 18px;
    line-height: 2;
}

.article-detail__header time,
.article-card--compact time {
    color: var(--txt-color);
    font-size: 13px;
}

.article-detail__cover {
    margin: 0;
    max-height: 540px;
    overflow: hidden;
}

.article-detail__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-detail__body {
    padding: 44px 56px;
    color: var(--heading-color);
    font-size: 17px;
    line-height: 2.25;
}

.article-detail__body p + p {
    margin-top: 22px;
}

.article-share {
    margin: 0 56px 48px;
    padding: 24px;
    border: 1px solid #ccebed;
    border-radius: 14px;
    background: #f2fbfb;
}

.article-share h2 {
    margin-bottom: 6px;
    color: var(--heading-color);
    font-size: 20px;
}

.article-share > div > p {
    color: var(--sub-txt-color);
}

.article-share__controls {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.article-share__input {
    min-width: 0;
    min-height: 46px;
    flex: 1;
    padding-inline: 14px;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    color: var(--sub-txt-color);
    background: var(--white-color);
    text-align: left;
}

.article-share__button {
    min-height: 46px;
    padding-inline: 22px;
    border: 1px solid var(--primary-color);
    border-radius: 9px;
    color: var(--white-color);
    background: var(--primary-color);
    font-weight: 700;
}

.article-share__button:hover {
    color: var(--primary-color);
    background: var(--white-color);
}

.article-share__status {
    min-height: 24px;
    margin-top: 8px;
    color: var(--sub-txt-color);
    font-size: 13px;
}

.related-articles {
    margin-top: 40px;
}

.related-articles__heading {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;
}

.related-articles__heading h2 {
    color: var(--heading-color);
    font-size: 25px;
}

.related-articles__heading a {
    color: var(--primary-color);
}

.article-card--compact .article-card__body {
    height: 100%;
}

.content-page a:focus-visible,
.content-page button:focus-visible,
.content-page input:focus-visible,
.content-page textarea:focus-visible,
.content-page select:focus-visible,
.site-form button:focus-visible,
.site-form a:focus-visible,
.site-form input:focus-visible,
.site-form textarea:focus-visible,
.site-form select:focus-visible {
    outline: 3px solid var(--heading-color);
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .content-page {
        padding-block: 48px 64px;
    }

    .about-hero {
        grid-template-columns: minmax(0, 1fr) 220px;
        padding: 36px;
    }

    .about-narrative,
    .about-contact,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info {
        position: static;
    }

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

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

@media (max-width: 575px) {
    .content-page {
        padding-block: 36px 52px;
    }

    .content-hero {
        margin-bottom: 26px;
    }

    .about-hero,
    .about-card,
    .about-contact {
        padding: 22px;
    }

    .about-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-hero__content > p {
        margin-inline: auto;
    }

    .about-hero__actions {
        justify-content: center;
    }

    .about-hero__actions .e-btn,
    .about-secondary-link {
        width: 100%;
        min-width: 0;
    }

    .about-hero__brand {
        width: 160px;
        order: -1;
        box-shadow: 0 0 0 10px #f7fbfc;
    }

    .about-narrative,
    .about-values,
    .about-contact {
        margin-top: 42px;
    }

    .about-values__grid,
    .about-contact__list,
    .contact-form-grid,
    .site-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-group--full,
    .site-form-group--full {
        grid-column: auto;
    }

    .contact-info,
    .contact-form-card,
    .site-form-card {
        padding: 22px;
    }

    .contact-form-footer,
    .site-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-submit,
    .site-form-submit {
        width: 100%;
    }

    .site-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .site-form-secondary {
        width: 100%;
        text-align: center;
    }

    .site-auth-modal .modal-body,
    .auth-page-card,
    .cart-order-form {
        padding: 22px;
    }

    .article-categories {
        justify-content: flex-start;
    }

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

    .article-card__media {
        height: 205px;
    }

    .article-detail__header,
    .article-detail__body {
        padding: 28px 22px;
    }

    .article-share {
        margin: 0 22px 28px;
        padding: 20px;
    }

    .article-share__controls {
        flex-direction: column;
    }

    .article-share__button {
        width: 100%;
    }

    .content-pagination {
        flex-wrap: wrap;
    }
}
