/* =========================================================
   DownloadPinVideo
   Homepage Content Sections
========================================================= */


/* =========================================================
   GENERIC SECTIONS
========================================================= */

.dpv-section {
    position: relative;

    width: 100%;

    padding:
        58px
        20px;
}

.dpv-section-inner {
    width:
        min(
            1160px,
            100%
        );

    margin:
        0 auto;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.dpv-section-heading {
    max-width: 760px;

    margin:
        0 auto
        34px;

    text-align: center;
}

.dpv-section-heading h2 {
    margin:
        0 0
        8px;

    color: #111827;

    font-size:
        clamp(
            29px,
            3vw,
            36px
        );

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -0.9px;
}

.dpv-section-heading p {
    margin: 0;

    color: #6b7280;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   HOW TO DOWNLOAD
========================================================= */

.dpv-how-section {
    background: #ffffff;
}

.dpv-how-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width:
        min(
            1100px,
            calc(100% - 40px)
        );

    height: 1px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            #eef0f3,
            transparent
        );
}

.dpv-steps-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        55px
        minmax(0, 1fr)
        55px
        minmax(0, 1fr);

    align-items: center;

    gap: 8px;

    max-width: 980px;

    margin:
        0 auto;
}

.dpv-step-card {
    position: relative;

    padding:
        18px
        14px;

    text-align: center;
}

.dpv-step-number {
    position: absolute;

    top: 0;
    left: 50%;

    transform:
        translate(
            -50%,
            -6px
        );

    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    background: #e60023;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    box-shadow:
        0 5px 14px
        rgba(230, 0, 35, 0.18);
}

.dpv-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    margin:
        8px auto
        14px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #fff4f6,
            #ffe9ed
        );

    color: #e60023;

    font-size: 24px;
    font-weight: 800;
}

.dpv-step-card h3 {
    margin:
        0 0
        7px;

    color: #111827;

    font-size: 17px;
    line-height: 1.3;

    font-weight: 800;
}

.dpv-step-card p {
    max-width: 270px;

    margin:
        0 auto;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.55;
}

.dpv-step-arrow {
    color: #b3bac4;

    font-size: 28px;
    line-height: 1;

    text-align: center;
}


/* =========================================================
   WHY USE
========================================================= */

.dpv-why-section {
    background:
        linear-gradient(
            180deg,
            #f7fafc,
            #f8fafc
        );
}

.dpv-feature-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 16px;

    max-width: 1120px;

    margin:
        0 auto;
}

.dpv-feature-card {
    padding:
        27px
        20px
        26px;

    border:
        1px solid
        #e9edf1;

    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 8px 24px
        rgba(17, 24, 39, 0.045);

    text-align: center;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.dpv-feature-card:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 28px
        rgba(17, 24, 39, 0.065);
}

.dpv-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin:
        0 auto
        15px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #fff4f6,
            #ffe9ed
        );

    color: #e60023;

    font-size: 23px;
    font-weight: 800;
}

.dpv-feature-card h3 {
    margin:
        0 0
        7px;

    color: #111827;

    font-size: 16px;
    line-height: 1.35;

    font-weight: 800;
}

.dpv-feature-card p {
    margin: 0;

    color: #6b7280;

    font-size: 13.5px;
    line-height: 1.55;
}


/* =========================================================
   SUPPORTED CONTENT
========================================================= */

.dpv-supported-section {
    padding-top: 48px;
    padding-bottom: 48px;

    background: #ffffff;
}

.dpv-supported-section
.dpv-section-heading {
    margin-bottom: 27px;
}

.dpv-supported-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 24px;

    max-width: 820px;

    margin:
        0 auto;
}

.dpv-supported-item {
    padding:
        10px
        18px;

    text-align: center;
}

.dpv-supported-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin:
        0 auto
        12px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #fff4f6,
            #ffe9ed
        );

    color: #e60023;

    font-size: 23px;
    font-weight: 800;
}

.dpv-supported-gif {
    font-size: 15px;
}

.dpv-supported-item h3 {
    margin:
        0 0
        5px;

    color: #111827;

    font-size: 17px;
    font-weight: 800;
}

.dpv-supported-item p {
    max-width: 240px;

    margin:
        0 auto;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   SEO CONTENT BASE
========================================================= */

.dpv-seo-section {
    background: #ffffff;
}

.dpv-seo-alt {
    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #f6f8fb 100%
        );
}

.dpv-section-label {
    display: inline-flex;

    margin-bottom: 12px;

    padding:
        6px
        10px;

    border-radius: 999px;

    background: #fff0f3;

    color: #e60023;

    font-size: 11px;
    line-height: 1;

    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}


/* =========================================================
   SEO INTRO SPLIT
========================================================= */

.dpv-seo-split {
    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(280px, 0.85fr);

    gap: 54px;

    align-items: center;

    max-width: 1080px;

    margin:
        0 auto;
}

.dpv-seo-copy h2,
.dpv-quality-copy h2 {
    margin:
        0 0
        16px;

    color: #111827;

    font-size:
        clamp(
            29px,
            3vw,
            38px
        );

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -0.9px;
}

.dpv-seo-copy p,
.dpv-quality-copy p {
    margin:
        0 0
        14px;

    color: #667085;

    font-size: 14.5px;
    line-height: 1.75;
}

.dpv-seo-copy p:last-child,
.dpv-quality-copy p:last-child {
    margin-bottom: 0;
}

.dpv-seo-highlight-card {
    padding:
        34px
        30px;

    border:
        1px solid
        #f0dfe3;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #fff9fa,
            #fff1f4
        );

    box-shadow:
        0 14px 36px
        rgba(17, 24, 39, 0.055);
}

.dpv-seo-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 18px;

    border-radius: 16px;

    background: #e60023;

    color: #ffffff;

    font-size: 25px;

    box-shadow:
        0 8px 20px
        rgba(230, 0, 35, 0.18);
}

.dpv-seo-highlight-card h3 {
    margin:
        0 0
        10px;

    color: #111827;

    font-size: 20px;
    line-height: 1.3;

    font-weight: 800;
}

.dpv-seo-highlight-card p {
    margin: 0;

    color: #667085;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   SEO CARDS
========================================================= */

.dpv-seo-card-grid {
    display: grid;

    gap: 16px;

    max-width: 1120px;

    margin:
        0 auto;
}

.dpv-seo-card-grid-3 {
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
}

.dpv-seo-card-grid-4 {
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
}

.dpv-seo-card {
    padding:
        24px
        20px;

    border:
        1px solid
        #e7ebf0;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 8px 22px
        rgba(17, 24, 39, 0.04);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.dpv-seo-card:hover {
    transform:
        translateY(-2px);

    border-color: #ead7dc;

    box-shadow:
        0 12px 30px
        rgba(17, 24, 39, 0.065);
}

.dpv-seo-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 15px;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #fff2f4,
            #ffe8ed
        );

    color: #e60023;

    font-size: 20px;
    font-weight: 800;
}

.dpv-seo-card h3 {
    margin:
        0 0
        8px;

    color: #111827;

    font-size: 16px;
    line-height: 1.35;

    font-weight: 800;
}

.dpv-seo-card p {
    margin: 0;

    color: #667085;

    font-size: 13.5px;
    line-height: 1.65;
}


/* =========================================================
   QUALITY PANEL
========================================================= */

.dpv-quality-panel {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(300px, 0.75fr);

    gap: 44px;

    align-items: center;

    max-width: 1080px;

    margin:
        48px auto
        0;

    padding:
        36px
        38px;

    border:
        1px solid
        #e7ebef;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 12px 34px
        rgba(17, 24, 39, 0.05);
}

.dpv-quality-levels {
    display: grid;

    gap: 10px;
}

.dpv-quality-level {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding:
        15px
        17px;

    border:
        1px solid
        #eceff3;

    border-radius: 11px;

    background: #f9fafb;
}

.dpv-quality-level strong {
    color: #111827;

    font-size: 15px;
    font-weight: 800;
}

.dpv-quality-level span {
    color: #7b8492;

    font-size: 11.5px;
    line-height: 1.35;

    text-align: right;
}


/* =========================================================
   MEDIA OPTION CARDS
========================================================= */

.dpv-media-option-card {
    text-align: center;
}

.dpv-media-option-card
.dpv-seo-card-icon {
    margin:
        0 auto
        15px;

    border-radius: 50%;
}

.dpv-seo-note {
    max-width: 880px;

    margin:
        26px auto
        0;

    color: #7b8492;

    font-size: 12.5px;
    line-height: 1.7;

    text-align: center;
}


/* =========================================================
   DEVICE CARDS
========================================================= */

.dpv-device-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 16px;

    max-width: 1040px;

    margin:
        0 auto;
}

.dpv-device-card {
    padding:
        27px
        23px;

    border:
        1px solid
        #e7ebef;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 8px 22px
        rgba(17, 24, 39, 0.035);

    text-align: center;
}

.dpv-device-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin:
        0 auto
        15px;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #fff2f4,
            #ffe9ed
        );

    color: #e60023;

    font-size: 21px;
    font-weight: 800;
}

.dpv-device-card h3 {
    margin:
        0 0
        8px;

    color: #111827;

    font-size: 17px;
    line-height: 1.35;

    font-weight: 800;
}

.dpv-device-card p {
    margin: 0;

    color: #667085;

    font-size: 13.5px;
    line-height: 1.65;
}


/* =========================================================
   TRUST / RIGHTS CARDS
========================================================= */

.dpv-trust-content-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;

    max-width: 1040px;

    margin:
        0 auto;
}

.dpv-trust-content-card {
    padding:
        30px
        28px;

    border:
        1px solid
        #e7ebef;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 10px 28px
        rgba(17, 24, 39, 0.045);
}

.dpv-trust-content-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 17px;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #fff2f4,
            #ffe9ed
        );

    color: #e60023;

    font-size: 21px;
    font-weight: 800;
}

.dpv-trust-content-card h2 {
    margin:
        0 0
        13px;

    color: #111827;

    font-size: 22px;
    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -0.4px;
}

.dpv-trust-content-card p {
    margin:
        0 0
        11px;

    color: #667085;

    font-size: 13.5px;
    line-height: 1.7;
}

.dpv-trust-content-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FAQ
========================================================= */

.dpv-faq-section {
    padding-top: 52px;
    padding-bottom: 58px;

    background:
        linear-gradient(
            180deg,
            #f7fafc,
            #f4f7fa
        );
}

.dpv-faq-section
.dpv-section-heading {
    margin-bottom: 30px;
}

.dpv-faq-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        10px
        16px;

    max-width: 1040px;

    margin:
        0 auto;
}

.dpv-faq-item {
    overflow: hidden;

    border:
        1px solid
        #e5e9ee;

    border-radius: 9px;

    background: #ffffff;

    box-shadow:
        0 4px 13px
        rgba(17, 24, 39, 0.025);
}

.dpv-faq-item summary {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 54px;

    padding:
        13px
        43px
        13px
        18px;

    color: #111827;

    font-size: 14px;
    line-height: 1.4;

    font-weight: 650;

    list-style: none;

    cursor: pointer;

    user-select: none;
}

.dpv-faq-item
summary::-webkit-details-marker {
    display: none;
}

.dpv-faq-item
summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 17px;

    transform:
        translateY(-50%);

    color: #6b7280;

    font-size: 18px;
}

.dpv-faq-item[open]
summary::after {
    content: "−";
}

.dpv-faq-item[open]
summary {
    border-bottom:
        1px solid
        #edf0f3;
}

.dpv-faq-item p {
    margin: 0;

    padding:
        14px
        18px
        17px;

    color: #6b7280;

    font-size: 13.5px;
    line-height: 1.65;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .dpv-section {
        padding:
            54px
            20px;
    }

    .dpv-feature-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .dpv-seo-card-grid-4 {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .dpv-seo-split {
        gap: 34px;
    }

    .dpv-quality-panel {
        gap: 30px;
    }
}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 820px) {

    .dpv-steps-grid {
        grid-template-columns: 1fr;

        gap: 3px;

        max-width: 500px;
    }

    .dpv-step-arrow {
        height: 26px;

        transform:
            rotate(90deg);

        font-size: 23px;
        line-height: 26px;
    }

    .dpv-seo-split,
    .dpv-quality-panel {
        grid-template-columns: 1fr;
    }

    .dpv-seo-split {
        max-width: 700px;
    }

    .dpv-quality-panel {
        max-width: 760px;

        padding:
            30px
            26px;
    }

    .dpv-seo-card-grid-3,
    .dpv-device-grid {
        grid-template-columns: 1fr;
    }

    .dpv-seo-card-grid-3,
    .dpv-device-grid {
        max-width: 620px;
    }

    .dpv-trust-content-grid {
        grid-template-columns: 1fr;

        max-width: 720px;
    }

    .dpv-faq-grid {
        grid-template-columns: 1fr;

        max-width: 720px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .dpv-section {
        padding:
            44px
            16px;
    }

    .dpv-section-heading {
        margin-bottom: 27px;
    }

    .dpv-section-heading h2 {
        font-size: 27px;
    }

    .dpv-section-heading p {
        font-size: 14px;
    }

    .dpv-feature-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .dpv-supported-grid {
        grid-template-columns: 1fr;

        gap: 16px;

        max-width: 360px;
    }

    .dpv-seo-card-grid-4 {
        grid-template-columns: 1fr;

        max-width: 430px;
    }

    .dpv-seo-copy h2,
    .dpv-quality-copy h2 {
        font-size: 27px;
    }

    .dpv-seo-copy p,
    .dpv-quality-copy p {
        font-size: 14px;
    }

    .dpv-seo-highlight-card {
        padding:
            28px
            23px;
    }

    .dpv-quality-panel {
        margin-top: 34px;

        padding:
            27px
            21px;
    }

    .dpv-quality-level {
        padding:
            14px
            14px;
    }

    .dpv-trust-content-card {
        padding:
            26px
            22px;
    }

    .dpv-trust-content-card h2 {
        font-size: 20px;
    }

    .dpv-faq-grid {
        gap: 9px;
    }

    .dpv-faq-item summary {
        min-height: 50px;

        padding:
            13px
            42px
            13px
            15px;

        font-size: 13px;
    }

    .dpv-faq-item p {
        padding:
            13px
            15px
            15px;

        font-size: 13px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .dpv-section {
        padding:
            40px
            14px;
    }

    .dpv-section-heading h2 {
        font-size: 25px;
    }

    .dpv-seo-copy h2,
    .dpv-quality-copy h2 {
        font-size: 25px;
    }
}

/* Pinterest Image Downloader - simple aligned content */
.page-id-22 .dpv-why-section .dpv-section-heading,
.page-id-22 .dpv-simple-content {
    max-width: 760px;
    margin-left: auto;
    margin-right: 8%;
    text-align: left;
}

.page-id-22 .dpv-why-section .dpv-section-heading h2 {
    font-size: 34px;
    line-height: 1.2;
}

.page-id-22 .dpv-why-section .dpv-section-heading p {
    max-width: 680px;
    margin-left: 0;
    margin-right: 0;
}