/* Duplicate Video Finder page specific styles */

/* ---------- Hero ---------- */
.video-header .hero img.hero-art {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0;
}

/* The intro paragraph and the bullet list below it are one block of copy,
   so drop the browser's default list margin-top and keep normal spacing.
   The test server's common-banner.css sets a 30px bottom margin on this
   paragraph, which reads as a blank line; pin it to the 15px used by the
   repo and production so both environments match. */
.video-header .dp-list {
    margin-top: 0;
}

.video-header .features {
    margin-bottom: 15px;
}

/* Feature titles follow the main product page's h3 typography
   (common-banner.css): 22px / 600 / 1.5, 16px on phones. */
.duplicate-file-content .row-text h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .duplicate-file-content .row-text h3,
    .duplicate-file-content .compare-card h3 {
        font-size: 16px;
        line-height: 1.2;
    }
}

/* ---------- "Automatically Detect Duplicate Videos" rows ----------
   The three figures in this H2 need to read as one set: equal visual
   widths and a roomier text column than the generic wide-visual rows. */
@media (min-width: 961px) {
    .duplicate-file-content #detect-videos .row {
        grid-template-columns: 1.1fr 1fr;
        gap: 56px;
    }

    /* .row.flip puts the visual in the second column, so give that
       column the larger share. */
    .duplicate-file-content #detect-videos .row.flip {
        grid-template-columns: 1fr 1.1fr;
    }

    .duplicate-file-content #detect-videos .row .ph-img {
        max-width: 540px;
    }

    /* The formats dashboard is more detailed than the other two figures,
       so give the last row a wider visual column. */
    .duplicate-file-content #detect-videos .row:last-child {
        grid-template-columns: 1.4fr 1fr;
        gap: 40px;
    }

    .duplicate-file-content #detect-videos .row:last-child .ph-img {
        max-width: 620px;
    }
}

/* ---------- Gap after the scan-locations row ----------
   The last row's 64px bottom margin plus the 96px section padding on both
   sides left ~256px of blank space before the bulk-delete section. Drop the
   trailing row margin and split the remaining spacing evenly (81px each) so
   the gap is ~174px. Scoped to this transition only. */
.duplicate-file-content #detect-videos {
    padding-bottom: 81px;
}

.duplicate-file-content #detect-videos + #bulk-delete {
    padding-top: 81px;
}

.duplicate-file-content #detect-videos .wrap > .row:last-child {
    margin-bottom: 0;
}

/* ---------- "Manual Process vs Cisdem Solution" comparison ----------
   Ported from onedrive-duplicate-finder.css. Keep the two pages in sync
   if this block is ever restyled. */
.compare-section {
    padding: 90px 24px;
    text-align: center;
}

/* The OneDrive page sets this globally; scope it here so the card sizing
   (min-height + padding) matches the reference section exactly. */
.compare-section,
.compare-section * {
    box-sizing: border-box;
}

.compare-section > h2 {
    max-width: 820px;
    margin: 0 auto 16px;
    color: var(--df-ink);
}

/* Section headings: match the "3 Simple Steps" heading, which uses the
   site-wide h2 typography from common-banner.css (32px / 600 / 1.5). */
.duplicate-file-content .compare-section > h2,
.duplicate-file-content .sec-head .sec-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .duplicate-file-content .compare-section > h2,
    .duplicate-file-content .sec-head .sec-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .duplicate-file-content .compare-section > h2,
    .duplicate-file-content .sec-head .sec-title {
        font-size: 22px;
        line-height: 1.2;
    }
}

.compare-desc {
    max-width: 850px;
    margin: 0 auto 50px;
    color: var(--df-muted);
    font-size: 16px;
    line-height: 1.5;
}

.compare-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    max-width: 1000px;
    margin: auto;
}

.compare-card {
    min-height: 630px;
    padding: 28px 20px 24px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: #f4f5f7;
    text-align: left;
}

.compare-card.manual {
    border-color: transparent;
    background: #f4f5f7;
}

.compare-card.solution {
    border-color: #5ba5ff;
    background: #eef7ff;
}

.compare-card-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto;
    background: transparent;
}

.compare-card-icon img {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.compare-card h3 {
    margin: 15px 0 8px;
    text-align: center;
    color: var(--df-ink);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.5;
}

.compare-card .sub {
    margin: 0 0 17px;
    color: #111;
    font-size: 14px;
    text-align: center;
}

.compare-item {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 13px;
    min-height: 94px;
    margin: 0 0 12px;
    padding: 15px 13px;
    border: 1px solid #d5dee9;
    border-radius: 10px;
    background: #fff;
}

.compare-item:last-child {
    margin-bottom: 0;
}

.compare-item > img {
    width: 28px;
    height: 28px;
}

.compare-item strong {
    font-size: 15px;
}

.compare-item p {
    margin: 5px 0 0;
    color: #45546a;
    font-size: 13px;
    line-height: 1.45;
}

.compare-vs {
    position: absolute;
    z-index: 2;
    top: 32px;
    left: 50%;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border: 8px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #b168ff, #506cff);
    box-shadow: 0 10px 22px #5b69d940;
    color: #fff;
    font-size: 28px;
    font-weight: 400;
    transform: translateX(-50%);
}

/* ---------- Steps band ----------
   The steps block needs a full-width tinted band, so it gets a wrapper
   instead of sitting directly in the white page area. The shared h2 margin
   (32px) adds to the top padding to match the 96px used by .sec. */
.duplicate-file-content .steps-band {
    padding: 64px 0 0;
    background: #f2f8ff;
}

@media (max-width: 960px) {
    .duplicate-file-content .steps-band {
        padding-top: 48px;
    }
}

@media (max-width: 767px) {
    .duplicate-file-content .steps-band {
        padding-top: 40px;
    }
}

/* ---------- FAQ ----------
   The shared accordion clamps an open answer to 200px, which cuts off the
   longer two-item answer on this page (especially on mobile). */
.duplicate-file-content #faq .faq-item.active .faq-answer {
    max-height: 720px;
}

/* Paragraph-to-paragraph spacing (the site resets all margins). */
.duplicate-file-content #faq .faq-answer p {
    margin: 0 0 10px;
}

.duplicate-file-content #faq .faq-answer p:last-child {
    margin-bottom: 0;
}

/* ---------- Rule / method cards: three-up variant ---------- */
.duplicate-file-content .rule-cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* The master's cards sit on a tinted section; this section is white, so the
   same blue would read too heavy here. Keep only a light tint. */
.duplicate-file-content #bulk-delete .rcard {
    border-color: #e3ecf9;
    background: #f7faff;
}

.duplicate-file-content #bulk-delete .rcard:hover {
    border-color: var(--df-blue);
}

/* ---------- Spacing inside the bulk-delete section ---------- */
.duplicate-file-content #bulk-delete .row + .rule-cards {
    margin-top: 40px;
}

.duplicate-file-content #bulk-delete .rule-cards + .row {
    margin-top: 96px;
}

/* ---------- In-content text links ----------
   Mirrors external-drive-duplicate-finder.css: the site-wide link reset
   leaves body-copy links black, so restore the page blue with no underline.
   Scoped to body copy; header, footer and button links are untouched. */
.duplicate-file-content .row-text a,
.duplicate-file-content .feature-list li a,
.duplicate-file-content .sec-lede a,
.duplicate-file-content .platform-note p a {
    color: var(--df-blue);
    text-decoration: none;
}

.duplicate-file-content .row-text a:hover,
.duplicate-file-content .feature-list li a:hover,
.duplicate-file-content .sec-lede a:hover,
.duplicate-file-content .platform-note p a:hover {
    color: #0f6fd0;
}

/* ---------- Test-result note ---------- */
/* Same note style as the external-drive page, centered below the row; the
   information icon sits on the left, vertically centered against the text.
   The negative top margin collapses with the row's 64px bottom margin to
   leave a 24px gap, so the note reads as part of the identification block
   instead of floating between two sections. */
.duplicate-file-content .platform-note {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1024px;
    margin: -55px auto 0;
    padding: 18px 14px 18px 22px;
    border: 1px solid #dbe7fb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 26px -20px rgba(31, 42, 68, 0.15);
    text-align: left;
     position: relative;
      left: -3px;
}

.duplicate-file-content .platform-note .ic {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(27, 137, 254, 0.1);
    color: #1b89fe;
}

.duplicate-file-content .platform-note p {
    margin: 0;
    color: #45536f;
    font-size: 14.5px;
    line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .duplicate-file-content .rule-cards.cols-3 {
        grid-template-columns: 1fr 1fr;
    }

    /* The single-column rows drop to a 48px bottom margin, so the note's
       negative margin is softened to keep the same 24px gap. */
    .duplicate-file-content .platform-note {
        margin-top: -24px;
    }

    .duplicate-file-content #bulk-delete .row + .rule-cards {
        margin-top: 32px;
    }

    .duplicate-file-content #bulk-delete .rule-cards + .row {
        margin-top: 48px;
    }
}

@media (max-width: 920px) {
    .compare-wrap {
        gap: 22px;
    }
}

@media (max-width: 767px) {
    .compare-section > h2 {
        margin-right: 0;
        margin-bottom: 30px;
        margin-left: 0;
        font-size: 22px;
        text-align: left;
    }

    .compare-desc {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .duplicate-file-content .rule-cards.cols-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .compare-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .compare-wrap {
        grid-template-columns: 1fr;
    }

    .compare-vs {
        position: static;
        margin: -8px auto;
        transform: none;
    }

    .compare-card {
        padding: 27px;
    }
}
