.aptekam-page {
    overflow-x: clip;
    background: #f4f4fa;
    color: #2f3140;
    font-size: clamp(15px, 0.35vw + 14px, 16px);
}

.aptekam-page__inner {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 34px 8px 48px;
}

@media (min-width: 540px) {
    .aptekam-page__inner {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (min-width: 992px) {
    .aptekam-page__inner {
        padding-right: 60px;
        padding-left: 60px;
    }
}

.aptekam-title {
    margin-bottom: clamp(16px, 3vw, 24px);
    font-size: clamp(1.125rem, 2.2vw + 0.85rem, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
}

.aptekam-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(8px, 1.8vw, 11px);
    align-items: stretch;
    margin-bottom: 18px;
}

.aptekam-hero__copy {
    display: grid;
    gap: 9px;
    min-height: clamp(200px, 28vw, 350px);
    height: auto;
}

.aptekam-card {
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(68, 61, 110, 0.08);
}

.aptekam-message {
    padding: clamp(10px, 2vw, 11px) clamp(12px, 2.5vw, 14px);
    font-size: clamp(14px, 0.4vw + 13px, 15px);
    line-height: 1.2;
    overflow: hidden;
    min-height: 0;
}

.aptekam-message br {
    display: none;
}

.aptekam-message p + p {
    margin-top: 8px;
}

.aptekam-message--violet {
    background: #c9bce9;
    color: #37315a;
}

.aptekam-message--mint {
    background: #bbe8e8;
    color: #16484f;
    font-weight: 700;
}

.aptekam-message--white {
    background: #ffffff;
}

.aptekam-hero__media {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 9px;
    min-height: clamp(200px, 28vw, 350px);
    height: auto;
}

.aptekam-hero__media .aptekam-placeholder {
    min-height: 0;
    padding: 0;
    border: 0;
}

.aptekam-hero__media .aptekam-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aptekam-placeholder {
    display: flex;
    min-height: 142px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(80, 173, 175, 0.18), rgba(101, 77, 174, 0.16)), #ffffff;
    color: #6b5bb2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.aptekam-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 12px) clamp(12px, 2.5vw, 16px);
    margin-bottom: 30px;
}

.aptekam-feature {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: center;
    min-height: 136px;
    padding: 18px 16px;
    background: #ffffff;
}

.aptekam-feature__icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: #6650ac;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.aptekam-feature h2 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
}

.aptekam-feature p {
    font-size: 16px;
    line-height: 1.15;
}

.aptekam-banner {
    position: relative;
    display: block;
    min-height: clamp(200px, 28vw, 224px);
    margin-bottom: 26px;
    padding: clamp(22px, 4vw, 36px) clamp(16px, 4vw, 28px);
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(110deg, #4ab3b0 0%, #4b83b6 48%, #6946ad 100%);
    color: #ffffff;
}

.aptekam-banner__content {
    position: relative;
    z-index: 2;
    max-width: min(56%, 34rem);
    padding-right: min(12px, 2vw);
}

.aptekam-banner__media {
    position: absolute;
    right: clamp(8px, 8vw, 130px);
    bottom: clamp(-235px, -20vw, -150px);
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: min(500px, 48vw);
    height: auto;
    max-height: min(560px, 62vh);
    pointer-events: none;
}

.aptekam-banner__wing {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.aptekam-banner h2 {
    margin-bottom: clamp(14px, 3vw, 20px);
    font-size: clamp(1.25rem, 2vw + 0.9rem, 1.625rem);
    font-weight: 700;
    line-height: 1.15;
}

.aptekam-banner p {
    max-width: min(470px, 100%);
    margin-bottom: clamp(18px, 4vw, 26px);
    font-size: clamp(0.9375rem, 0.35vw + 0.88rem, 1rem);
    line-height: 1.25;
}

.aptekam-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border: 0;
    border-radius: 3px;
    background: #ffffff;
    color: #479b9b;
    font-weight: 700;
    cursor: pointer;
}

.aptekam-btn--green {
    background: #4ba7a0;
    color: #ffffff;
}

.aptekam-contacts {
    margin-bottom: 24px;
    text-align: center;
}

.aptekam-contacts__title {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.aptekam-contacts__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.aptekam-contacts__item {
    width: 180px;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-radius: 3px;
    background: #ffffff;
    color: #2f3140;
    text-decoration: none;
}

.aptekam-contacts__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.aptekam-manufacturers {
    margin-bottom: 28px;
}

.aptekam-manufacturers .aptekam-section-title {
    margin-bottom: 20px;
}

.aptekam-manufacturers .aptekam-analytics {
    align-items: stretch;
    margin-bottom: 16px;
}

.aptekam-manufacturers .aptekam-analytics .aptekam-placeholder {
    min-height: clamp(200px, 38vw, 320px);
    height: 100%;
    align-self: stretch;
}

.aptekam-manufacturers .aptekam-analytics .aptekam-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aptekam-manufacturers .aptekam-analytics .aptekam-analytics__card {
    min-height: clamp(200px, 38vw, 320px);
    height: auto;
    max-height: none;
}

.aptekam-section-title {
    margin-bottom: 14px;
    text-align: center;
    font-size: clamp(1.125rem, 1.5vw + 0.9rem, 1.375rem);
    font-weight: 700;
    line-height: 1.2;
}

.aptekam-analytics {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: clamp(14px, 3vw, 18px);
    align-items: stretch;
    margin-bottom: 26px;
}

.aptekam-analytics .aptekam-placeholder {
    min-height: 250px;
}

.aptekam-analytics__card {
    padding: clamp(18px, 4vw, 28px);
    background: #ffffff;
}

.aptekam-analytics__card h3 {
    margin-bottom: 14px;
    font-size: 19px;
    line-height: 1.15;
}

.aptekam-analytics__card ul {
    list-style: disc;
    margin: 12px 0 22px;
    padding-left: 20px;
    line-height: 1.2;
}

.aptekam-analytics__card li + li {
    margin-top: 4px;
}

.aptekam-wants {
    margin-bottom: 24px;
}

.aptekam-wants .aptekam-section-title {
    margin-bottom: 20px;
}

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

.aptekam-want {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
}

.aptekam-ad {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(min(100%, 260px), 1.08fr);
    gap: clamp(16px, 4vw, 28px);
    align-items: end;
    margin-bottom: 28px;
    padding: clamp(22px, 4vw, 36px) clamp(16px, 3vw, 28px) clamp(20px, 3.5vw, 40px);
    overflow: visible;
    border-radius: 4px;
    background: linear-gradient(120deg, #48b1b0 0%, #4e89bb 50%, #6a47ad 100%);
    color: #ffffff;
    isolation: isolate;
}

.aptekam-ad__content {
    position: relative;
    z-index: 2;
    padding-bottom: 32px;
}

.aptekam-ad h2 {
    margin-bottom: clamp(14px, 3vw, 22px);
    font-size: clamp(1.25rem, 2vw + 0.9rem, 1.625rem);
    line-height: 1.2;
}

.aptekam-ad p {
    margin-bottom: 20px;
    font-size: clamp(0.9375rem, 0.35vw + 0.88rem, 1rem);
    line-height: 1.35;
}

.aptekam-ad__link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.aptekam-ad__link:hover {
    text-decoration-thickness: 2px;
}

.aptekam-ad__media {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: clamp(200px, 36vw, 280px);
    height: 100%;
}

.aptekam-ad__stripes {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.aptekam-ad__stripe {
    position: absolute;
    top: -35px;
    bottom: auto;
    width: min(400px, 38vw);
    height: auto;
    opacity: 0.38;
    transform-origin: top right;
    transform: rotate(-11deg);
}

.aptekam-ad__stripe--1 {
    right: min(280px, 22vw);
}

.aptekam-ad__stripe--2 {
    right: min(175px, 14vw);
    opacity: 0.55;
}

.aptekam-ad__stripe--3 {
    right: min(72px, 7vw);
    opacity: 0.6;
}

.aptekam-ad__stripe--4 {
    right: max(-48px, min(-18px, -1.2vw));
    opacity: 0.52;
}

.aptekam-ad__stripe--5 {
    right: max(-260px, min(-125px, -12vw));
    opacity: 0.65;
}

.aptekam-ad__screen {
    position: absolute;
    right: clamp(-16px, -1vw, 0px);
    bottom: clamp(-28px, -3vw, -6px);
    z-index: 2;
    display: block;
    width: min(540px, 52vw);
    max-width: none;
    height: auto;
    filter: drop-shadow(-12px 18px 28px rgba(20, 24, 48, 0.35));
}

.aptekam-partners {
    margin-bottom: 26px;
    padding: 0 0 24px;
    background: #ffffff;
}

.aptekam-partners .aptekam-section-title {
    padding-top: 8px;
}

.aptekam-partners .swiper-aptekam-partners {
    position: relative;
    width: 100%;
    padding: 10px clamp(36px, 8vw, 42px) 28px;
}

.aptekam-partners .swiper-slide {
    display: flex;
    width: 220px;
    height: 96px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    background: #ffffff;
}

.aptekam-partners .swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.aptekam-partners__btn {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 4px;
    background: #eef0f6;
    cursor: pointer;
}

.aptekam-partners__btn::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    content: "";
    border-top: 2px solid #8f95ab;
    border-right: 2px solid #8f95ab;
}

.aptekam-partners__btn--prev {
    left: 10px;
}

.aptekam-partners__btn--prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.aptekam-partners__btn--next {
    right: 10px;
}

.aptekam-partners__btn--next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.aptekam-partners__pagination {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    text-align: center;
}

.aptekam-partners__pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 4px;
    opacity: 1;
    background: #9aa0b8;
}

.aptekam-partners__pagination .swiper-pagination-bullet-active {
    background: #5f67ba;
}

.aptekam-partners__empty {
    margin: 0 16px;
    padding: 20px;
    background: #f4f4fa;
    text-align: center;
}

.aptekam-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.aptekam-chart {
    padding: 20px 24px 24px;
    background: #f7f7fb;
    text-align: center;
}

.aptekam-chart h3 {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.2;
}

.aptekam-chart__bars {
    display: flex;
    min-height: clamp(100px, 28vw, 130px);
    align-items: flex-end;
    justify-content: center;
    gap: clamp(10px, 5vw, 38px);
    padding: 0 4px;
    border-bottom: 1px solid #5d5d66;
}

.aptekam-chart__bar {
    position: relative;
    flex: 0 1 auto;
    width: min(95px, 26vw);
    max-width: 100%;
    height: min(var(--bar-h, 80px), max(28px, 20vw));
    background: #664caf;
}

.aptekam-chart__bar span {
    position: absolute;
    top: -1.375rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(11px, 2.5vw, 13px);
    white-space: nowrap;
}

.aptekam-chart__labels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 5vw, 48px);
    margin-top: 10px;
    font-size: clamp(10px, 2.2vw, 12px);
}

@media (min-width: 961px) and (max-width: 1180px) {
    .aptekam-banner__content {
        max-width: min(62%, 30rem);
    }

    /* .aptekam-banner__media {
        right: clamp(4px, 3vw, 72px);
        width: min(440px, 46vw);
    } */
}

@media (max-width: 960px) {
    .aptekam-hero,
    .aptekam-analytics,
    .aptekam-ad,
    .aptekam-banner {
        grid-template-columns: 1fr;
    }

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

    .aptekam-hero__copy,
    .aptekam-hero__media,
    .aptekam-message--violet,
    .aptekam-message--mint,
    .aptekam-message--white,
    .aptekam-hero__media .aptekam-placeholder {
        height: auto;
        min-height: 0;
    }

    .aptekam-manufacturers .aptekam-analytics .aptekam-placeholder {
        height: auto;
        min-height: 220px;
        align-self: stretch;
    }

    .aptekam-manufacturers .aptekam-analytics .aptekam-analytics__card {
        min-height: 0;
    }

    .aptekam-banner {
        display: grid;
        grid-template-columns: 1fr;
        padding: 28px 22px 0;
    }

    .aptekam-banner__content,
    .aptekam-banner p {
        max-width: none;
    }

    .aptekam-banner__content {
        padding-bottom: 22px;
    }

    /* .aptekam-banner__media {
        position: relative;
        right: 0;
        width: 100%;
        height: auto;
        justify-content: center;
        margin-top: 10px;
    } */

    .aptekam-banner__wing {
        width: 100%;
        max-width: 360px;
    }

    .aptekam-ad {
        overflow: hidden;
        padding: 26px 18px 0;
    }

    .aptekam-ad__content {
        padding-bottom: 20px;
    }

    .aptekam-ad__media {
        justify-content: center;
        min-height: clamp(180px, 48vw, 240px);
        height: auto;
    }

    .aptekam-ad__stripe {
        top: -25px;
        bottom: auto;
        width: min(112px, 22vw);
        transform-origin: top right;
        transform: rotate(-11deg);
    }

    .aptekam-ad__stripe--1 {
        right: 58%;
    }

    .aptekam-ad__stripe--2 {
        right: 50%;
        width: min(112px, 23vw);
    }

    .aptekam-ad__stripe--3 {
        right: 42%;
        width: min(118px, 24vw);
    }

    .aptekam-ad__stripe--4 {
        right: 34%;
        width: min(124px, 25vw);
    }

    .aptekam-ad__stripe--5 {
        right: 26%;
        width: min(130px, 26vw);
    }

    .aptekam-ad__screen {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100%, 360px);
        max-width: 100%;
        margin: 0 auto;
        filter: none;
    }

    .aptekam-partners .swiper-aptekam-partners {
        padding-right: 34px;
        padding-left: 34px;
    }

    .aptekam-partners__btn--prev {
        left: 4px;
    }

    .aptekam-partners__btn--next {
        right: 4px;
    }
}

/* Планшет: макет как в дизайне (две колонки, «шахматка» в hero, сетка контактов 2×2 и т.д.) */
@media (min-width: 641px) and (max-width: 960px) {
    .aptekam-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(10px, 2.2vw, 14px);
        align-items: stretch;
    }

    .aptekam-hero__copy,
    .aptekam-hero__media {
        display: contents;
    }

    .aptekam-message--violet {
        grid-column: 1;
        grid-row: 1;
    }

    .aptekam-message--mint {
        grid-column: 1;
        grid-row: 2;
    }

    .aptekam-message--white {
        grid-column: 1;
        grid-row: 3;
    }

    .aptekam-hero__figure--1 {
        grid-column: 2;
        grid-row: 1;
        align-self: stretch;
        min-height: clamp(132px, 22vw, 200px);
    }

    .aptekam-hero__figure--2 {
        grid-column: 2;
        grid-row: 2 / span 2;
        align-self: stretch;
        min-height: clamp(160px, 30vw, 300px);
    }

    .aptekam-analytics {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .aptekam-wants__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aptekam-contacts__list {
        display: grid;
        max-width: 560px;
        margin-inline: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 14px;
        justify-items: stretch;
    }

    .aptekam-contacts__item {
        justify-content: center;
        width: auto;
        min-width: 0;
    }

    .aptekam-banner {
        display: block;
        min-height: clamp(200px, 34vw, 260px);
        padding: clamp(22px, 4vw, 32px) clamp(18px, 3.5vw, 26px);
    }

    .aptekam-banner__content {
        position: relative;
        z-index: 2;
        max-width: min(58%, 32rem);
        padding-right: 8px;
        padding-bottom: clamp(18px, 3vw, 24px);
    }

    /* .aptekam-banner__media {
        position: absolute;
        right: clamp(4px, 5vw, 72px);
        bottom: clamp(-200px, -22vw, -130px);
        width: min(380px, 44vw);
        max-height: min(480px, 58vh);
        height: auto;
        margin-top: 0;
        justify-content: flex-end;
    } */

    .aptekam-banner__wing {
        max-width: min(100%, 340px);
    }

    .aptekam-ad {
        display: grid;
        overflow: hidden;
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.92fr);
        gap: clamp(16px, 3vw, 24px);
        align-items: end;
        padding: clamp(22px, 4vw, 30px) clamp(16px, 3vw, 22px) 0;
    }

    .aptekam-ad__content {
        padding-bottom: clamp(20px, 4vw, 32px);
    }

    .aptekam-ad__media {
        position: relative;
        min-height: clamp(220px, 38vw, 280px);
        height: 100%;
        justify-content: flex-end;
    }

    .aptekam-ad__screen {
        position: absolute;
        right: clamp(-12px, -1vw, 0px);
        bottom: clamp(-18px, -2vw, 0px);
        width: min(400px, 46vw);
        max-width: none;
        margin: 0;
        filter: drop-shadow(-8px 14px 22px rgba(20, 24, 48, 0.28));
    }

    .aptekam-ad__stripe {
        top: -20px;
        bottom: auto;
        width: min(300px, 32vw);
        transform-origin: top right;
        transform: rotate(-11deg);
    }

    .aptekam-ad__stripe--1 {
        right: min(200px, 17vw);
    }

    .aptekam-ad__stripe--2 {
        right: min(100px, 9vw);
    }

    .aptekam-ad__stripe--3 {
        right: max(-8px, min(8px, 1vw));
    }

    .aptekam-ad__stripe--4 {
        right: max(-130px, min(-72px, -5.5vw));
    }

    .aptekam-ad__stripe--5 {
        right: max(-210px, min(-165px, -10vw));
    }
}

@media (max-width: 680px) {
    .aptekam-page__inner {
        padding-top: 24px;
        padding-right: max(8px, env(safe-area-inset-right));
        padding-left: max(8px, env(safe-area-inset-left));
    }

    .aptekam-title,
    .aptekam-banner h2,
    .aptekam-ad h2 {
        font-size: clamp(1.125rem, 4.5vw + 0.5rem, 1.375rem);
    }

    .aptekam-features,
    .aptekam-wants__list,
    .aptekam-charts {
        grid-template-columns: 1fr;
    }

    .aptekam-feature {
        min-height: 0;
        padding: clamp(14px, 3vw, 18px) clamp(12px, 3vw, 16px);
    }

    .aptekam-feature h2 {
        font-size: clamp(1rem, 2.5vw + 0.75rem, 1.0625rem);
    }

    .aptekam-chart {
        padding: clamp(14px, 3vw, 20px) clamp(12px, 3vw, 24px) clamp(16px, 4vw, 24px);
    }
}

@media (max-width: 640px) {
    .aptekam-page__inner {
        padding-right: max(14px, env(safe-area-inset-right));
        padding-left: max(14px, env(safe-area-inset-left));
    }

    .aptekam-ad__stripes {
        display: none;
    }
    
    .aptekam-banner__media {
        opacity: 0.4;

    .aptekam-title {
        text-align: center;
    }

    .aptekam-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 16px;
    }

    .aptekam-hero__copy,
    .aptekam-hero__media {
        display: contents;
    }

    .aptekam-message--violet {
        grid-column: 1;
        grid-row: 1;
    }

    .aptekam-hero__figure--1 {
        grid-column: 1;
        grid-row: 2;
        align-self: stretch;
        min-height: clamp(148px, 44vw, 220px);
    }

    .aptekam-message--mint {
        grid-column: 1;
        grid-row: 3;
    }

    .aptekam-message--white {
        grid-column: 1;
        grid-row: 4;
    }

    .aptekam-hero__figure--2 {
        grid-column: 1;
        grid-row: 5;
        align-self: stretch;
        min-height: clamp(160px, 48vw, 240px);
    }

    .aptekam-features {
        gap: 10px;
        margin-bottom: 24px;
    }

    .aptekam-banner {
        text-align: center;
    }

    .aptekam-banner__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px;
    }

    .aptekam-banner h2,
    .aptekam-banner p {
        text-align: center;
    }

    .aptekam-banner .aptekam-btn {
        align-self: center;
    }

    .aptekam-contacts__list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .aptekam-contacts__item {
        justify-content: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .aptekam-ad {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        align-items: stretch;
        padding: 22px 16px 24px;
        min-height: clamp(280px, 88vw, 400px);
    }

    .aptekam-ad__media {
        position: absolute;
        inset: 0;
        z-index: 0;
        min-height: 100%;
        height: 100%;
        justify-content: flex-end;
        align-items: flex-end;
        pointer-events: none;
    }

    .aptekam-ad__stripes {
        opacity: 0.9;
    }

    .aptekam-ad__stripe {
        opacity: 0.16;
    }

    .aptekam-ad__stripe--2,
    .aptekam-ad__stripe--3,
    .aptekam-ad__stripe--4,
    .aptekam-ad__stripe--5 {
        opacity: 0.22;
    }

    .aptekam-ad__screen {
        position: absolute;
        right: -5%;
        bottom: -6%;
        max-width: 100%;
        margin: 0;
        opacity: 0.34;
        filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.2));
    }

    .aptekam-ad__content {
        position: relative;
        z-index: 2;
        flex: 1 1 auto;
        padding-bottom: 0;
        text-align: left;
    }

    .aptekam-ad .aptekam-btn,
    .aptekam-analytics__card .aptekam-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .aptekam-partners__btn {
        width: 40px;
        height: 40px;
    }

    .aptekam-partners .swiper-aptekam-partners {
        padding-right: 44px;
        padding-left: 44px;
    }

    .aptekam-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .aptekam-banner .aptekam-btn {
        width: auto;
        max-width: 100%;
    }
}
