@font-face {
    font-family: 'ploni-campaign';
    src: url('../../assets/fonts/ploni/ploni-regular-aaa.otf') format('opentype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'ploni-campaign';
    src: url('../../assets/fonts/ploni/ploni-medium-aaa.otf') format('opentype');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'ploni-campaign';
    src: url('../../assets/fonts/ploni/ploni-demibold-aaa.otf') format('opentype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'ploni-campaign';
    src: url('../../assets/fonts/ploni/ploni-bold-aaa.otf') format('opentype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.campaign-all-insurance-page {
    background: #fff;
    color: #111c3f;
    zoom: 1 !important;
}

.campaign-all-insurance-page #primary,
.campaign-all-insurance-page #main {
    margin: 0;
    padding: 0;
    max-width: none;
    width: 100%;
}

.campaign-all-insurance-page .campaign-page {
    direction: rtl;
    font-family: 'ploni-campaign', sans-serif;
    overflow: hidden;
}

.campaign-all-insurance-page .campaign-page *,
.campaign-all-insurance-page .campaign-footer * {
    box-sizing: border-box;
}

.campaign-all-insurance-page .campaign-page img {
    display: block;
    height: auto;
    max-width: none;
    object-fit: contain;
    object-position: center;
    transform: none;
    transition: none;
    width: auto;
}

.campaign-hero {
    position: relative;
    height: 507px;
    background: #f8f8ff;
    overflow: hidden;
}

.campaign-hero__inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
}

.campaign-hero__logo {
    position: absolute;
    z-index: 2;
    top: 45px;
    right: 90px;
    width: 151px !important;
    height: 73px !important;
}

.campaign-hero__image {
    position: absolute;
    top: 50px;
    left: 114px;
    width: 554px !important;
    height: 412px !important;
}

.campaign-hero__copy {
    position: absolute;
    top: 196px;
    right: 89px;
    width: 621px;
    color: #111c3f;
    text-align: right;
    white-space: nowrap;
}

.campaign-hero__copy p {
    font-size: 61px;
    font-weight: 500;
    line-height: 1;
}

.campaign-hero__copy h1 {
    margin-top: -7px;
    font-size: 74.28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.campaign-products {
    padding: 42px 30px 0;
    background: #fff;
}

.campaign-products__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 581px));
    justify-content: center;
    gap: 47px 53px;
    max-width: 1215px;
    margin: 0 auto;
    transform: translateX(20px);
}

.campaign-card {
    position: relative;
    height: 317px;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f8ff;
    box-shadow: 0 1px 2px rgba(108, 108, 108, .12);
}

.campaign-card__content {
    position: absolute;
    z-index: 2;
    top: 40px;
    right: 12px;
    width: 337px;
    height: 267px;
    text-align: right;
}

.campaign-card__content h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: #111c3f;
}

.campaign-card__content ul {
    margin: 10px 0 0;
    padding: 0 24px 0 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
    color: #111c3f;
}

.campaign-card__content li {
    margin: 0;
    padding: 0;
}

.campaign-card__button {
    position: absolute;
    right: 0;
    bottom: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 154px;
    height: 43px;
    padding: 0 30px;
    border-radius: 200px;
    background: #ff4e31;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    transition: background-color .2s ease;
    gap: 4px;
}

.campaign-card__button:hover,
.campaign-card__button:focus-visible {
    background: #111c3f;
}

.campaign-card__note {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    white-space: nowrap;
}

.campaign-card__visual {
    position: absolute;
    z-index: 1;
    top: 43px;
    left: 22px;
    width: 230px;
    height: 225px;
}

.campaign-card__shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 199px !important;
    height: 225px !important;
}

.campaign-card__product {
    position: absolute;
}

.campaign-card--car .campaign-card__product {
    top: -8px;
    left: -46px;
    width: 286px !important;
    height: 286px !important;
    clip-path: polygon(0 0, 84% 0, 76% 100%, 0 100%);
}

.campaign-card--travel .campaign-card__product {
    top: -20px;
    left: -18px;
    width: 238px !important;
    height: 238px !important;
}

.campaign-card--pets .campaign-card__product {
    top: -17px;
    left: -33px;
    width: 238px !important;
    height: 238px !important;
}

.campaign-card--home .campaign-card__product {
    top: 5px;
    left: -9px;
    width: 222px !important;
    height: 222px !important;
}

/* Figma mirrors these three raw renders horizontally. */
.campaign-all-insurance-page .campaign-page .campaign-card--car .campaign-card__product,
.campaign-all-insurance-page .campaign-page .campaign-card--pets .campaign-card__product,
.campaign-all-insurance-page .campaign-page .campaign-card--home .campaign-card__product {
    transform: scaleX(-1);
}

.campaign-legal {
    margin: 21px auto 15px;
    color: #111c3f;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -.4px;
    text-align: center;
}

.campaign-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    margin: 0;
    background: #96f2e3;
    color: #111c3f;
    font-family: 'ploni-campaign', sans-serif;
}

.campaign-footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    direction: rtl;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}

@media only screen and (max-width: 1250px) and (min-width: 768px) {
    .campaign-products__grid {
        grid-template-columns: minmax(0, 581px);
        gap: 47px;
        transform: none;
    }

    .campaign-card {
        min-width: 0;
    }
}

@media only screen and (max-width: 1250px) and (min-width: 1025px) {
    .campaign-hero__inner {
        transform: scale(.85);
        transform-origin: top center;
        width: 117.647%;
        max-width: 1440px;
        margin-left: -8.8235%;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .campaign-hero {
        height: 495px;
    }

    .campaign-hero__inner {
        max-width: 428px;
    }

    .campaign-all-insurance-page .campaign-page .campaign-hero__logo {
        top: 26px;
        right: 50%;
        width: 126px !important;
        height: 63px !important;
        transform: translateX(50%);
    }

    .campaign-all-insurance-page .campaign-page .campaign-hero__image {
        top: 107px;
        left: 50%;
        width: 345px !important;
        height: 256px !important;
        transform: translateX(-50%);
    }

    .campaign-hero__copy {
        top: 384px;
        right: 50%;
        width: 100%;
        transform: translateX(50%);
        text-align: center;
    }

    .campaign-hero__copy p {
        font-size: 35.57px;
    }

    .campaign-hero__copy h1 {
        margin-top: 5px;
        font-size: 46.62px;
        letter-spacing: -1.03px;
    }
}

@media only screen and (max-width: 767px) {
    .campaign-hero {
        height: 495px;
    }

    .campaign-hero__inner {
        max-width: 428px;
    }

    .campaign-all-insurance-page .campaign-page .campaign-hero__logo {
        top: 26px;
        right: 50%;
        width: 126px !important;
        height: 63px !important;
        transform: translateX(50%);
    }

    .campaign-all-insurance-page .campaign-page .campaign-hero__image {
        top: 107px;
        left: 50%;
        width: 345px !important;
        height: 256px !important;
        transform: translateX(-50%);
    }

    .campaign-hero__copy {
        top: 384px;
        right: 50%;
        width: 100%;
        transform: translateX(50%);
        text-align: center;
    }

    .campaign-hero__copy p {
        font-size: 35.57px;
    }

    .campaign-hero__copy h1 {
        margin-top: 5px;
        font-size: 46.62px;
        letter-spacing: -1.03px;
    }

    .campaign-products {
        padding: 34px 10px 0;
    }

    .campaign-products__grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 581px;
        gap: 9px;
        transform: none;
    }

    .campaign-card {
        height: auto;
        min-height: 222px;
        border-radius: 4px;
    }

    .campaign-card__content {
        position: relative;
        top: auto;
        right: auto;
        display: flex;
        flex-direction: column;
        width: 55%;
        height: auto;
        min-height: 180px;
        margin: 28px 15px 14px auto;
    }

    .campaign-card__content h2 {
        font-size: 23.82px;
    }

    .campaign-card__content ul {
        margin: 6px 0 16px;
        padding-right: 17px;
        font-size: 12.61px;
        line-height: 15.41px;
        letter-spacing: -.28px;
    }

    .campaign-card__button {
        position: relative;
        right: auto;
        bottom: auto;
        min-width: 108px;
        height: 30px;
        margin: auto 0 0 auto;
        padding: 0 21px;
        font-size: 15.41px;
    }

    .campaign-card__note {
        position: static;
        margin-top: 1px;
        font-size: 10px;
        line-height: 15.41px;
    }

    .campaign-card__visual {
        top: 30px;
        left: 18px;
        width: 161px;
        height: 158px;
    }

    .campaign-card__shape {
        width: 139px !important;
        height: 157px !important;
    }

    .campaign-card--car .campaign-card__product {
        top: 0;
        left: -24px;
        width: 190px !important;
        height: 190px !important;
        clip-path: polygon(0 0, 87% 0, 79% 100%, 0 100%);
    }

    .campaign-card--travel .campaign-card__product {
        top: -14px;
        left: -12px;
        width: 166px !important;
        height: 166px !important;
    }

    .campaign-card--pets .campaign-card__product {
        top: -12px;
        left: -23px;
        width: 167px !important;
        height: 167px !important;
    }

    .campaign-card--home .campaign-card__product {
        top: 4px;
        left: -6px;
        width: 156px !important;
        height: 156px !important;
    }

    .campaign-legal {
        margin: 15px -4px 14px;
        font-size: 12px;
        line-height: 18px;
        letter-spacing: -.2px;
        white-space: nowrap;
    }

    .campaign-footer {
        height: 34px;
    }

    .campaign-footer__links {
        gap: 30px;
        font-size: 14px;
        line-height: 16px;
    }
}

@media only screen and (max-width: 390px) {
    .campaign-hero__image {
        width: 320px !important;
        height: auto !important;
    }

    .campaign-hero__copy h1 {
        font-size: clamp(33px, calc(13.57vw - 10.43px), 42.5px);
    }

    .campaign-card {
        height: auto;
        min-height: 210px;
    }

    .campaign-card__content {
        position: relative;
        top: auto;
        right: auto;
        width: min(55%, calc(100% - 138px));
        height: auto;
        min-height: 168px;
        margin: 28px 8px 14px auto;
        padding: 0;
    }

    .campaign-card__content h2 {
        font-size: clamp(20px, 6.1vw, 23.82px);
    }

    .campaign-card__content ul {
        margin: 5px 0 14px;
        padding-right: 15px;
        font-size: clamp(10.8px, 3.2vw, 12px);
        line-height: 1.2;
    }

    .campaign-card__visual {
        top: 36px;
        left: 8px;
        width: 36vw;
        height: 41vw;
        transform: none;
    }

    .campaign-card__shape {
        width: 34vw !important;
        height: 38.5vw !important;
    }

    .campaign-card--car .campaign-card__product {
        top: 0;
        left: -6vw;
        width: 42vw !important;
        height: 42vw !important;
        clip-path: polygon(0 0, 86% 0, 78% 100%, 0 100%);
    }

    .campaign-card--travel .campaign-card__product {
        top: -3vw;
        left: -6vw;
        width: 40vw !important;
        height: 40vw !important;
    }

    .campaign-card--pets .campaign-card__product {
        top: -8px;
        left: -4vw;
        width: 40vw !important;
        height: 40vw !important;
    }

    .campaign-card--home .campaign-card__product {
        top: 3px;
        left: -1vw;
        width: 37vw !important;
        height: 37vw !important;
    }

    .campaign-card__button {
        right: auto;
        bottom: auto;
        min-width: 100px;
        margin-top: auto;
        padding: 0 17px;
        font-size: 14px;
    }

    .campaign-card__note {
        right: auto;
    }

    .campaign-legal {
        white-space: normal;
    }

    .campaign-footer__links {
        gap: 18px;
        font-size: 12px;
    }
}

@media only screen and (max-width: 435px) {
    .campaign-card__content {
        width: min(63%, calc(100% - 118px));
    }

    .campaign-card__visual {
        left: 8px;
        width: 29vw;
        height: 33vw;
    }

    .campaign-card__shape {
        width: 28vw !important;
        height: 32vw !important;
    }

    .campaign-card--car .campaign-card__product {
        top: 0;
        left: -6vw;
        width: 42vw !important;
        height: 42vw !important;
    }

    .campaign-card--travel .campaign-card__product {
        top: -3vw;
        left: -6vw;
        width: 40vw !important;
        height: 40vw !important;
    }

    .campaign-card--pets .campaign-card__product {
        left: -3vw;
        width: 30vw !important;
        height: 30vw !important;
    }

    .campaign-card--home .campaign-card__product {
        left: -1vw;
        width: 28vw !important;
        height: 28vw !important;
    }
}
