:root {
    --bs-primary-500: #4d67c8;
    --bs-primary-500-2: #edf2ff;
    --bs-resume-500: #6781dd;
    --bs-resume-600: #8ea3ea;
    --resume-surface-light: #f4f6fb;
    --resume-surface-dark: #171c25;
}

[data-theme=dark] {
    --bs-primary-500: #93a7ef;
    --bs-primary-500-2: #111827;
    --bs-resume-500: #93a7ef;
    --bs-resume-600: #b0bef3;
    --resume-surface-light: #171c25;
    --resume-surface-dark: #171c25;
}

.resume-container {
    max-width: 1320px;
}

.mobile-menu-trigger,
.mobile-menu-close,
.resume-testimonial-user {
    background: transparent;
    border: 0;
    padding: 0;
}

.resume-testimonial-user.is-inactive {
    opacity: 0.45;
}

.resume-slider-for {
    background: #eaf5ff;
    border: 1px solid rgba(77, 103, 200, 0.12);
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(28, 54, 105, 0.08);
    padding: 14px;
}

[data-theme=dark] .resume-slider-for {
    background: rgba(31, 47, 84, 0.92);
    border-color: rgba(147, 167, 239, 0.18);
    box-shadow: 0 18px 42px rgba(5, 10, 20, 0.24);
}

.resume-project .resume-project-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(24, 31, 46, 0.96);
    box-shadow: 0 24px 60px rgba(12, 18, 28, 0.14);
    position: relative;
}

[data-theme=dark] .resume-project .resume-project-card {
    background: rgba(20, 26, 38, 0.94);
}

.resume-project .resume-project-card__media {
    height: clamp(360px, 31vw, 460px);
    overflow: hidden;
    background: #161c28;
    position: relative;
}

.resume-project .resume-project-card__media img,
.resume-project-card__image img {
    display: block;
    height: 100%;
    width: 100%;
}

.resume-project-card__image {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    inset: 0;
    width: 100%;
}

.resume-project .resume-project-card .content {
    appearance: none;
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(23, 28, 37, 0.04) 0%, rgba(23, 28, 37, 0.84) 62%, rgba(23, 28, 37, 0.96) 100%);
    border: 0;
    border-radius: 24px;
    bottom: 18px;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
    justify-content: flex-end;
    left: 18px;
    min-height: 0;
    opacity: 0;
    padding: 24px 22px 20px;
    position: absolute;
    right: 18px;
    text-align: left;
    transform: translateY(24px);
    transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease;
    width: auto;
    z-index: 2;
}

.resume-project .resume-project-card .content span,
.resume-project .resume-project-card .content h6,
.resume-project .resume-project-card .content p,
.resume-project .resume-project-card .content .link-btn {
    color: #fff;
    margin: 0;
}

.resume-project .resume-project-card .content span {
    color: #b8c7ff;
}

.resume-project .resume-project-card .content h6 {
    font-size: 20px;
    line-height: 1.35;
}

.resume-project .resume-project-card .content p {
    display: -webkit-box;
    opacity: 0.84;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.resume-project .resume-project-card .content .link-btn {
    margin-top: auto;
}

.resume-project .resume-project-card::after {
    background: linear-gradient(180deg, rgba(11, 15, 24, 0) 24%, rgba(11, 15, 24, 0.72) 100%);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.28s ease;
    z-index: 1;
}

.resume-project .resume-project-card:hover::after,
.resume-project .resume-project-card:focus-within::after {
    opacity: 1;
}

.resume-project .resume-project-card:hover .content,
.resume-project .resume-project-card:focus-within .content {
    opacity: 1;
    transform: translateY(0);
}

.resume-hero__iamge {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    isolation: isolate;
}

.resume-hero__iamge::before,
.resume-hero__iamge::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 16%;
    pointer-events: none;
    z-index: 2;
}

.resume-hero__iamge::before {
    left: 0;
    background: linear-gradient(90deg, var(--resume-surface-light) 4%, rgba(245, 241, 236, 0) 100%);
}

.resume-hero__iamge::after {
    right: 0;
    background: linear-gradient(270deg, var(--resume-surface-light) 4%, rgba(245, 241, 236, 0) 100%);
}

[data-theme=dark] .resume-hero__iamge::before {
    background: linear-gradient(90deg, var(--resume-surface-dark) 4%, rgba(18, 20, 25, 0) 100%);
}

[data-theme=dark] .resume-hero__iamge::after {
    background: linear-gradient(270deg, var(--resume-surface-dark) 4%, rgba(18, 20, 25, 0) 100%);
}

.resume-about__image-group img,
.resume-testimonial-user img,
.resume-header .logo img,
.resume-footer .logo img {
    display: block;
}

.resume-skill-item .bottom {
    background: #eaf5ff;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.resume-skill-item .skill-progress {
    background: var(--bs-primary-500);
    border-radius: 999px;
    height: 100%;
}

.resume-header .logo img,
.resume-footer .logo img {
    border-radius: 18px;
    object-fit: cover;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
}

.resume-footer__wrapper {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    justify-content: space-between;
}

.resume-footer__brand {
    align-items: center;
    display: inline-flex;
    gap: 14px;
}

.resume-footer__meta {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.resume-footer__copyright {
    color: rgba(66, 78, 96, 0.82);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

[data-theme=dark] .resume-footer__copyright {
    color: rgba(255, 255, 255, 0.74);
}

.resume-footer__heart {
    color: var(--bs-primary-500);
    display: inline-block;
    margin: 0 6px;
}

.resume-footer__links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.resume-footer__links a {
    color: rgba(66, 78, 96, 0.9);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

[data-theme=dark] .resume-footer__links a {
    color: rgba(255, 255, 255, 0.78);
}

.resume-footer__links a:hover,
.resume-footer__links a:focus-visible {
    color: var(--bs-primary-500);
}

.resume-project-modal {
    align-items: center;
    background: rgba(11, 15, 24, 0.76);
    backdrop-filter: blur(10px);
    display: flex;
    inset: 0;
    justify-content: center;
    overflow-y: auto;
    padding: 26px;
    position: fixed;
    z-index: 10000;
}

.resume-project-modal[hidden] {
    display: none;
}

.resume-project-modal__dialog {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.26);
    max-height: min(92vh, 940px);
    max-width: 1120px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

[data-theme=dark] .resume-project-modal__dialog {
    background: #141b26;
    color: #f8fafc;
}

.resume-project-modal__close {
    align-items: center;
    background: rgba(17, 24, 39, 0.06);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 999px;
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    font-size: 28px;
    height: 46px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 46px;
    z-index: 2;
}

[data-theme=dark] .resume-project-modal__close {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.resume-project-modal__layout {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    height: min(92vh, 940px);
    max-height: min(92vh, 940px);
    min-height: 0;
}

.resume-project-modal__media {
    background: #0f172a;
    height: 100%;
    min-height: 0;
    position: sticky;
    top: 0;
}

.resume-project-modal__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.resume-project-modal__content {
    background: #ffffff;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 38px 36px 34px;
    position: relative;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
}

[data-theme=dark] .resume-project-modal__content {
    background: #141b26;
}

.resume-project-modal__eyebrow {
    color: var(--bs-primary-500);
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.resume-project-modal__title {
    color: #111827;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    margin-bottom: 14px;
}

[data-theme=dark] .resume-project-modal__title {
    color: #fff;
}

.resume-project-modal__lead,
.resume-project-modal__section p {
    color: rgba(31, 41, 55, 0.82);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

[data-theme=dark] .resume-project-modal__lead,
[data-theme=dark] .resume-project-modal__section p {
    color: rgba(255, 255, 255, 0.74);
}

.resume-project-modal__section {
    margin-top: 26px;
}

.resume-project-modal__section h4 {
    color: #111827;
    font-size: 18px;
    margin-bottom: 10px;
}

[data-theme=dark] .resume-project-modal__section h4 {
    color: #fff;
}

.resume-project-modal__facts {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

.resume-project-modal__facts li {
    color: rgba(31, 41, 55, 0.82);
    line-height: 1.7;
}

[data-theme=dark] .resume-project-modal__facts li {
    color: rgba(255, 255, 255, 0.74);
}

.resume-project-modal__actions {
    margin-top: 32px;
}

.resume-display-title .resume-btn {
    margin-bottom: 26px;
}

.resume-projectstatistic .project-list .list-itme {
    align-items: start;
    display: grid;
    column-gap: 28px;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) max-content;
}

.resume-projectstatistic .project-list .list-itme .text-wrap {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.resume-projectstatistic .project-list .list-itme .text-wrap span {
    background: var(--bs-primary-500);
    border-radius: 999px;
    flex: 0 0 8px;
    height: 8px;
    margin-top: 6px;
    width: 8px;
}

.resume-projectstatistic .project-list .list-itme .text-wrap h6 {
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
}

.resume-projectstatistic .project-list .list-itme > span:last-child {
    font-size: 13px;
    line-height: 1.5;
    margin-left: 12px;
    text-align: right;
    white-space: nowrap;
}

.work-phase-row {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.work-phase-row > [class^=col] {
    margin: 0;
    max-width: none;
    padding: 0;
    width: auto;
}

.work-phase-row > [class^=col]:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 12px);
    width: 100%;
}

.work-phase {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    min-height: 126px;
    padding: 18px 16px;
}

.work-phase h3 {
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
    max-width: 14ch;
}

.resume-blog-teaser {
    padding: 88px 0 72px;
}

.resume-blog-teaser__layout {
    display: grid;
    gap: 40px;
}

.resume-blog-teaser__intro {
    max-width: 760px;
}

.resume-blog-teaser__columns {
    display: grid;
    align-items: start;
    gap: 36px;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
}

.resume-blog-teaser__eyebrow {
    align-items: center;
    color: rgba(66, 78, 96, 0.7);
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.resume-blog-teaser__eyebrow::before {
    background: var(--bs-primary-500);
    border-radius: 999px;
    content: "";
    display: block;
    height: 8px;
    width: 8px;
}

.resume-blog-teaser__title {
    color: #111827;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 20px;
    max-width: 14ch;
}

.resume-blog-teaser__text {
    color: rgba(31, 41, 55, 0.78);
    font-size: 17px;
    line-height: 1.9;
    margin: 0;
    max-width: 58ch;
}

.resume-blog-teaser__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.resume-blog-teaser__signals span {
    align-items: center;
    color: #243041;
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    padding: 0;
}

.resume-blog-teaser__signals span::before {
    background: var(--bs-primary-500);
    border-radius: 999px;
    content: "";
    display: block;
    height: 6px;
    width: 6px;
}

.resume-blog-teaser__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.resume-blog-teaser__strip {
    border-left: 2px solid rgba(77, 103, 200, 0.18);
    padding-left: 20px;
}

.resume-blog-teaser__strip-label {
    color: var(--bs-primary-500);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.resume-blog-teaser__topics {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.resume-blog-teaser__topics li {
    border-bottom: 1px solid rgba(66, 78, 96, 0.12);
    color: rgba(31, 41, 55, 0.82);
    line-height: 1.7;
    padding-bottom: 14px;
}

.resume-blog-teaser__topics li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.resume-blog-teaser__list {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resume-blog-teaser__item {
    border-top: 1px solid rgba(77, 103, 200, 0.18);
    padding: 18px 0 0;
}

.resume-blog-teaser__item-kicker {
    color: var(--bs-primary-500);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.resume-blog-teaser__item h3 {
    color: #111827;
    font-size: 18px;
    margin-bottom: 8px;
}

.resume-blog-teaser__item p {
    color: rgba(31, 41, 55, 0.74);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.theme-change-button {
    right: 20px;
    bottom: 20px;
}

.preloader-wrapper {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.preloader-wrapper.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.resume-contact-form__panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px;
}

.resume-cta__content {
    margin: 0 auto;
    max-width: 760px;
}

.resume-cta__content .resume-section-title .title {
    font-size: clamp(15px, 4.3vw, 28px);
    letter-spacing: -0.03em;
    line-height: 1.15;
    padding-bottom: 12px;
    text-wrap: nowrap;
    white-space: nowrap;
}

.resume-cta__actions {
    margin-top: 32px;
}

.resume-cta__actions .resume-btn {
    min-width: 220px;
}

.resume-contact-form__label {
    color: #ffffff;
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.resume-contact-form__control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    color: #ffffff;
    min-height: 56px;
    padding: 14px 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    width: 100%;
}

.resume-contact-form__control::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.resume-contact-form__control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(213, 118, 83, 0.85);
    box-shadow: 0 0 0 3px rgba(213, 118, 83, 0.18);
    outline: 0;
}

.resume-contact-form__control--textarea {
    min-height: 180px;
    resize: vertical;
}

.resume-contact-form__alert {
    border-radius: 16px;
    font-size: 14px;
    margin-bottom: 18px;
    padding: 14px 16px;
}

.resume-contact-form__alert--success {
    background: var(--bs-primary-500);
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: #111827;
    box-shadow: 0 12px 28px rgba(77, 103, 200, 0.18);
}

.resume-contact-form__alert--error {
    background: rgba(216, 69, 69, 0.14);
    border: 1px solid rgba(216, 69, 69, 0.32);
    color: #ffd6d6;
}

.resume-contact-form__alert--inline {
    margin: 24px auto 0;
    max-width: 560px;
}

.resume-contact-form__note {
    color: #111827;
    font-size: 15px;
    line-height: 1.7;
    margin-top: 20px;
}

.resume-contact-form__meta {
    color: rgba(17, 24, 39, 0.78);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 10px;
}

.resume-contact-form__meta a {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.resume-contact-form__legal {
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 16px;
}

.resume-contact-form__legal a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-form__trap {
    height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    width: 0;
}

.resume-contact-form ul {
    color: #ffd6d6;
    font-size: 14px;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.has-contact-modal-open {
    overflow: hidden;
}

.resume-contact-modal {
    align-items: center;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 9999;
}

.resume-contact-modal[hidden] {
    display: none;
}

.resume-contact-modal__dialog {
    background: #101826;
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(8, 15, 29, 0.34);
    max-height: min(92vh, 920px);
    max-width: 860px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.resume-contact-modal__header {
    margin-bottom: 18px;
    padding: 32px 32px 0;
    padding-right: 56px;
}

.resume-contact-modal__title {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin: 0 0 10px;
}

.resume-contact-modal__text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.resume-contact-modal__close {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 28px;
    height: 44px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 18px;
    top: 18px;
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 44px;
}

.resume-contact-modal__close:hover,
.resume-contact-modal__close:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    outline: 0;
}

.resume-blog {
    padding: 112px 0 96px;
}

.resume-legal {
    padding: 108px 0 90px;
}

.resume-legal__hero {
    margin-bottom: 42px;
    max-width: 840px;
}

.resume-legal__eyebrow {
    color: var(--bs-primary-500);
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.resume-legal__title {
    color: #111827;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    margin: 0 0 18px;
}

.resume-legal__lead {
    color: rgba(17, 24, 39, 0.78);
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    max-width: 780px;
}

.resume-legal__grid {
    display: grid;
    gap: 24px;
}

.resume-legal__card {
    background: #ffffff;
    border: 1px solid rgba(77, 103, 200, 0.1);
    border-radius: 28px;
    box-shadow: 0 18px 46px rgba(13, 24, 46, 0.06);
    padding: 28px;
}

.resume-legal__card h2 {
    color: #111827;
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 16px;
}

.resume-legal__card p,
.resume-legal__card li {
    color: rgba(17, 24, 39, 0.82);
    font-size: 16px;
    line-height: 1.8;
}

.resume-legal__card p:last-child,
.resume-legal__card ul:last-child {
    margin-bottom: 0;
}

.resume-legal__card ul {
    margin: 0;
    padding-left: 20px;
}

.resume-legal__highlight {
    background: #eaf5ff;
    border: 1px solid rgba(77, 103, 200, 0.14);
    border-radius: 20px;
    color: #1f335d;
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding: 18px 20px;
}

.resume-legal__highlight strong {
    color: #111827;
}

.resume-legal__inline-link {
    color: var(--bs-primary-500);
    font-weight: 600;
    text-decoration: none;
}

.resume-blog-hero {
    align-items: end;
    column-gap: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    margin-bottom: 52px;
}

.resume-blog-hero__eyebrow {
    color: var(--bs-primary-500);
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.resume-blog-hero__title,
.resume-blog-article-hero__title {
    color: #111827;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    margin: 0 0 18px;
    max-width: 14ch;
}

.resume-blog-hero__text,
.resume-blog-article-hero__excerpt {
    color: rgba(17, 24, 39, 0.78);
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    max-width: 760px;
}

.resume-blog-hero__signals {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.resume-blog-hero__signals span {
    background: #eaf5ff;
    border: 1px solid rgba(77, 103, 200, 0.14);
    border-radius: 999px;
    color: #1f335d;
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 16px;
}

.resume-blog-layout {
    align-items: start;
    column-gap: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.resume-blog-grid {
    display: grid;
    gap: 28px;
}

.resume-blog-card {
    background: #fff;
    border: 1px solid rgba(77, 103, 200, 0.1);
    border-radius: 28px;
    box-shadow: 0 18px 46px rgba(13, 24, 46, 0.06);
    overflow: hidden;
}

.resume-blog-card__media {
    background: #dbe9ff;
    display: block;
    height: 260px;
    overflow: hidden;
}

.resume-blog-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.resume-blog-card__body {
    padding: 28px;
}

.resume-blog-card__meta,
.resume-blog-article-hero__meta {
    align-items: center;
    color: rgba(17, 24, 39, 0.62);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.resume-blog-card__chip {
    background: #eaf5ff;
    border-radius: 999px;
    color: var(--bs-primary-500);
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
}

.resume-blog-card__title {
    font-size: 30px;
    line-height: 1.24;
    margin: 0 0 14px;
}

.resume-blog-card__title a,
.resume-blog-sidebar__stack a,
.resume-blog-sidebar__list a,
.resume-blog-article-hero__back {
    color: #111827;
}

.resume-blog-card__excerpt {
    color: rgba(17, 24, 39, 0.76);
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 18px;
}

.resume-blog-card__link {
    color: var(--bs-primary-500);
    font-size: 15px;
    font-weight: 700;
}

.resume-blog-sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 112px;
}

.resume-blog-sidebar__block {
    background: #fff;
    border: 1px solid rgba(77, 103, 200, 0.1);
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(13, 24, 46, 0.04);
    padding: 24px;
}

.resume-blog-sidebar__block h3 {
    font-size: 20px;
    margin: 0 0 16px;
}

.resume-blog-sidebar__search {
    display: grid;
    gap: 12px;
}

.resume-blog-sidebar__search input {
    background: #f8fbff;
    border: 1px solid rgba(77, 103, 200, 0.16);
    border-radius: 14px;
    color: #111827;
    font-size: 15px;
    min-height: 52px;
    padding: 0 16px;
}

.resume-blog-sidebar__list,
.resume-blog-sidebar__stack {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.resume-blog-sidebar__list li,
.resume-blog-sidebar__stack li {
    list-style: none;
}

.resume-blog-sidebar__list a {
    align-items: center;
    display: flex;
    font-size: 15px;
    gap: 12px;
    justify-content: space-between;
    line-height: 1.5;
}

.resume-blog-sidebar__list a.is-active,
.resume-blog-sidebar__tags a.is-active {
    color: var(--bs-primary-500);
    font-weight: 700;
}

.resume-blog-sidebar__stack a {
    display: inline-block;
    font-size: 15px;
    line-height: 1.65;
}

.resume-blog-sidebar__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.resume-blog-sidebar__tags a {
    background: #f4f8ff;
    border-radius: 999px;
    color: #324566;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
}

.resume-blog-sidebar__eyebrow {
    color: var(--bs-primary-500);
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.resume-blog-sidebar__role {
    color: rgba(17, 24, 39, 0.64);
    font-size: 15px;
    margin-bottom: 10px;
}

.resume-blog-sidebar__block p {
    color: rgba(17, 24, 39, 0.74);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.resume-blog-filter-state {
    align-items: center;
    background: #eaf5ff;
    border-radius: 18px;
    color: #111827;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px 16px;
}

.resume-blog-filter-state span {
    background: rgba(77, 103, 200, 0.1);
    border-radius: 999px;
    color: var(--bs-primary-500);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 10px;
}

.resume-blog-filter-state a {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    margin-left: auto;
}

.resume-blog-empty {
    background: #f8fbff;
    border: 1px dashed rgba(77, 103, 200, 0.22);
    border-radius: 24px;
    padding: 36px 30px;
}

.resume-blog-empty h2 {
    font-size: 28px;
    margin: 0 0 12px;
}

.resume-blog-empty p {
    color: rgba(17, 24, 39, 0.74);
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    max-width: 64ch;
}

.resume-blog--article {
    padding-top: 96px;
}

.resume-blog-article-hero {
    margin-bottom: 40px;
    max-width: 900px;
}

.resume-blog-article-hero__back {
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.resume-blog-article {
    min-width: 0;
}

.resume-blog-article__image {
    border-radius: 28px;
    display: block;
    height: clamp(320px, 42vw, 540px);
    margin-bottom: 28px;
    object-fit: cover;
    width: 100%;
}

.resume-blog-article__content {
    color: #111827;
    font-size: 18px;
    line-height: 1.92;
}

.resume-blog-article__content code:not(pre code) {
    background: #edf2ff;
    border: 1px solid rgba(77, 103, 200, 0.14);
    border-radius: 10px;
    color: #27408b;
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
    padding: 2px 8px;
}

.resume-code-block {
    background: #101827;
    border: 1px solid rgba(77, 103, 200, 0.14);
    border-radius: 24px;
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.16);
    margin: 34px 0;
    overflow: hidden;
}

.resume-code-block__toolbar {
    align-items: center;
    background: linear-gradient(180deg, rgba(18, 26, 41, 0.98) 0%, rgba(15, 23, 39, 0.96) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 14px;
    grid-template-columns: auto 1fr auto;
    padding: 14px 16px;
}

.resume-code-block__dots {
    background-image:
        radial-gradient(circle at center, #ff6c67 0 4px, transparent 4px),
        radial-gradient(circle at center, #f7c24f 0 4px, transparent 4px),
        radial-gradient(circle at center, #6ad47b 0 4px, transparent 4px);
    background-position: 0 50%, 14px 50%, 28px 50%;
    background-repeat: no-repeat;
    background-size: 8px 8px, 8px 8px, 8px 8px;
    display: inline-block;
    height: 12px;
    width: 36px;
}

.resume-code-block__language {
    color: rgba(255, 255, 255, 0.72);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.resume-code-block__copy {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    min-height: 36px;
    padding: 7px 14px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.resume-code-block__copy:hover,
.resume-code-block__copy:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    outline: 0;
    transform: translateY(-1px);
}

.resume-code-block pre {
    color: #e9eefb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    overflow-x: auto;
    padding: 20px 22px 22px;
    white-space: pre;
}

.resume-code-block pre code {
    background: transparent;
    border: 0;
    color: inherit;
    display: block;
    padding: 0;
}

[data-theme=dark] .resume-blog-article__content code:not(pre code) {
    background: rgba(147, 167, 239, 0.14);
    border-color: rgba(147, 167, 239, 0.18);
    color: #d9e2ff;
}

.resume-blog-article__content h2,
.resume-blog-article__content h3 {
    color: #111827;
    line-height: 1.25;
    margin: 42px 0 14px;
}

.resume-blog-article__content h2 {
    font-size: 34px;
}

.resume-blog-article__content h3 {
    font-size: 26px;
}

.resume-blog-article__content p,
.resume-blog-article__content ul {
    margin: 0 0 18px;
}

.resume-blog-article__content ul {
    padding-left: 24px;
}

.resume-blog-article__content li {
    margin-bottom: 10px;
}

.resume-blog-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.resume-blog-article__tags a {
    background: #eaf5ff;
    border-radius: 999px;
    color: var(--bs-primary-500);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 14px;
}

.resume-blog-related {
    margin-top: 60px;
}

.resume-blog-related__head {
    margin-bottom: 24px;
}

.resume-blog-related__head h2 {
    font-size: 36px;
    line-height: 1.2;
    margin: 0;
    max-width: 16ch;
}

@media (max-width: 991.98px) {
    .resume-container {
        max-width: 960px;
    }

    .resume-header {
        padding: 24px 0;
    }

    .resume-header .site-navbar {
        align-items: center;
        column-gap: 12px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        min-height: 56px;
    }

    .resume-header .menu-block-wrapper {
        align-items: center;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        margin-left: auto;
        min-width: 0;
    }

    .resume-header .header-button {
        align-items: center;
        display: flex;
        margin-left: 0 !important;
        min-width: 0;
    }

    .resume-header .header-button .resume-btn {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        margin: 0;
        min-height: 44px;
        padding: 10px 16px;
        white-space: nowrap;
    }

    .resume-header .site-header__brand {
        min-width: 0;
    }

    .resume-header .site-header__brand .logo {
        min-width: 0;
    }

    .resume-header .site-header__brand .logo .text {
        font-size: 14px;
        line-height: 1.15;
    }

    .resume-project .resume-project-card__media {
        height: 380px;
    }

    .resume-socialmedia-link {
        justify-content: center;
    }

    .resume-contact-form__panel {
        padding: 22px;
    }

    .resume-project-modal__layout {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
    }

    .resume-project-modal__media {
        position: static;
        max-height: 320px;
        min-height: 320px;
    }

    .resume-project-modal__content {
        max-height: none;
        padding: 28px 24px 26px;
    }

    .resume-blog-teaser__columns {
        grid-template-columns: 1fr;
    }

    .resume-blog-teaser__list {
        grid-template-columns: 1fr;
    }

    .resume-blog-teaser__strip {
        border-left: 0;
        border-top: 1px solid rgba(77, 103, 200, 0.18);
        padding-left: 0;
        padding-top: 18px;
    }

    .resume-contact-modal {
        align-items: flex-end;
        padding: 0;
    }

    .resume-contact-modal__header {
        margin-bottom: 0;
        padding: 24px 22px 0;
        padding-right: 64px;
    }

    .resume-contact-modal__dialog {
        border-radius: 28px 28px 0 0;
        display: flex;
        flex-direction: column;
        height: min(100dvh, 100vh);
        margin: 0;
        max-height: min(100dvh, 100vh);
        max-width: none;
        width: 100%;
    }

    .resume-blog {
        padding: 88px 0 72px;
    }

    .resume-blog-hero,
    .resume-blog-layout {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .resume-blog-sidebar {
        position: static;
        top: auto;
    }

    .resume-blog-card__title {
        font-size: 24px;
    }

    .resume-blog-article__content {
        font-size: 17px;
    }

    .resume-blog-article__content h2 {
        font-size: 30px;
    }

    .resume-code-block {
        margin: 28px 0;
    }

    .resume-code-block__toolbar {
        padding: 12px 14px;
    }

    .resume-code-block pre {
        font-size: 13px;
        padding: 18px 18px 20px;
    }

    .resume-blog-related__head h2,
    .resume-blog-hero__title,
    .resume-blog-article-hero__title {
        font-size: 34px;
        max-width: 100%;
    }

    .resume-legal {
        padding: 88px 0 72px;
    }

    .resume-legal__card {
        padding: 24px 22px;
    }
}

@media (max-width: 575.98px) {
    .resume-header .site-navbar {
        column-gap: 8px;
    }

    .resume-header .site-header__brand .logo {
        max-width: 132px;
    }

    .resume-header .site-header__brand .logo img {
        height: 42px;
        margin-right: 10px;
        max-height: 42px;
        max-width: 42px;
        min-height: 42px;
        min-width: 42px;
        width: 42px;
    }

    .resume-header .site-header__brand .logo .text {
        font-size: 13px;
    }

    .resume-header .header-button .resume-btn {
        font-size: 13px;
        padding: 10px 14px;
    }

    .resume-hero__iamge {
        border-radius: 22px;
    }

    .resume-hero__iamge::before,
    .resume-hero__iamge::after {
        width: 22%;
    }

    .resume-project .resume-project-card {
        border-radius: 22px;
    }

    .resume-project .resume-project-card__media {
        height: 320px;
    }

    .resume-project .resume-project-card::after,
    .resume-project .resume-project-card .content {
        opacity: 1;
    }

    .resume-project .resume-project-card .content {
        bottom: 14px;
        left: 14px;
        padding: 18px 16px 16px;
        right: 14px;
        transform: translateY(0);
    }

    .resume-project .resume-project-card .content h6 {
        font-size: 18px;
    }

    .resume-project .resume-project-card .content p {
        -webkit-line-clamp: 5;
    }

    .resume-projectstatistic .project-list .list-itme {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .resume-projectstatistic .project-list .list-itme .text-wrap h6,
    .resume-projectstatistic .project-list .list-itme > span:last-child {
        font-size: 13px;
        white-space: normal;
    }

    .resume-projectstatistic .project-list .list-itme > span:last-child {
        text-align: left;
    }

    .work-phase-row {
        gap: 16px;
        grid-template-columns: 1fr;
    }

    .work-phase-row > [class^=col]:last-child:nth-child(odd) {
        grid-column: auto;
        justify-self: stretch;
        max-width: none;
    }

    .resume-footer__wrapper {
        align-items: flex-start;
        flex-direction: column;
    }

    .resume-footer__meta {
        align-items: flex-start;
    }

    .resume-footer__copyright {
        font-size: 14px;
    }

    .resume-blog-teaser {
        padding: 72px 0 56px;
    }

    .resume-blog-teaser__title {
        font-size: 30px;
        max-width: 100%;
    }

    .resume-blog-teaser__text {
        font-size: 16px;
    }

    .resume-project-modal {
        align-items: flex-end;
        padding: 0;
    }

    .resume-project-modal__dialog {
        border-radius: 26px 26px 0 0;
        height: min(100dvh, 100vh);
        margin: 0;
        max-height: min(100dvh, 100vh);
    }

    .resume-project-modal__close {
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
        right: 14px;
        top: 14px;
    }

    [data-theme=dark] .resume-project-modal__close {
        background: rgba(20, 27, 38, 0.92);
    }

    .resume-project-modal__layout {
        display: flex;
        flex-direction: column;
        height: min(100dvh, 100vh);
        max-height: min(100dvh, 100vh);
    }

    .resume-project-modal__media {
        flex: 0 0 auto;
        height: 220px;
        max-height: 220px;
        min-height: 220px;
        position: relative;
    }

    .resume-project-modal__content {
        flex: 1 1 auto;
        padding: 22px 18px 26px;
    }

    .resume-project-modal__actions {
        background: inherit;
        bottom: 0;
        margin-top: 24px;
        padding-top: 14px;
        position: sticky;
    }

    .resume-project-modal__lead,
    .resume-project-modal__section p,
    .resume-project-modal__facts li {
        font-size: 15px;
    }

    .resume-project-modal__title {
        font-size: 28px;
    }

    .resume-project-modal__section {
        margin-top: 22px;
    }

    .resume-blog-teaser__text {
        font-size: 16px;
    }

    .resume-contact-modal__title {
        font-size: 28px;
    }

    .resume-contact-form__meta {
        font-size: 13px;
    }

    .resume-contact-form__panel {
        border-radius: 20px 20px 0 0;
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 18px;
    }

    .resume-blog-card__media {
        height: 220px;
    }

    .resume-blog-card__body,
    .resume-blog-sidebar__block {
        padding: 20px;
    }

    .resume-blog-article__image {
        border-radius: 24px;
        height: 240px;
    }

    .resume-blog-article__content {
        font-size: 16px;
    }

    .resume-blog-article__content h2 {
        font-size: 26px;
    }

    .resume-blog-article__content code:not(pre code) {
        font-size: 0.88em;
    }

    .resume-code-block {
        border-radius: 20px;
        margin: 24px 0;
    }

    .resume-code-block__toolbar {
        gap: 10px;
        grid-template-columns: auto 1fr;
        padding: 12px 12px 10px;
    }

    .resume-code-block__copy {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .resume-code-block pre {
        font-size: 12.5px;
        line-height: 1.7;
        padding: 16px 14px 18px;
    }

    .resume-blog-filter-state {
        align-items: flex-start;
        flex-direction: column;
    }

    .resume-blog-filter-state a {
        margin-left: 0;
    }

    .resume-legal__title {
        font-size: 30px;
    }

    .resume-legal__lead,
    .resume-legal__card p,
    .resume-legal__card li {
        font-size: 15px;
    }
}

@media (min-width: 1400px) {
    .resume-project-card .content {
        min-height: 260px;
    }
}
