/* ============================================================
   Single Solution Page — MyDataScraper
   Extends mds-styles.css
   ============================================================ */

/* Breadcrumb */
.bc {
    padding: 20px 0 0;
    font-size: 14px;
    color: var(--m);
}
.bc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bc li + li::before {
    content: "/";
    margin-right: 8px;
    color: #CBD5E1;
}
.bc a:hover { color: var(--b); }
.bc [aria-current] { color: var(--n); font-weight: 500; }

/* Hero adjustments */
.hero { padding-top: 36px; }

/* Trust strip */
.ts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 0;
}
.ti {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--m);
}
.ti + .ti { border-left: 1px solid var(--ln); }
.ti svg {
    width: 18px;
    height: 18px;
    stroke: var(--b);
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Sources list */
.src h3 {
    font-size: 15px;
    color: var(--b);
    margin-bottom: 14px;
}
.src ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--n);
    font-size: 16px;
}
.src li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c);
    margin-right: 10px;
    vertical-align: middle;
}

/* Frequency grid */
.fr {
    grid-template-columns: repeat(5, 1fr);
    margin-top: 40px;
}
.fr .card {
    padding: 22px;
    text-align: center;
}
.fr h3 { font-size: 17px; }
.fr p { font-size: 14px; }

/* Row of buttons */
.row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Pipeline (used inside single page) */
.pipe {
    max-width: 620px;
    margin: 52px auto 0;
    display: grid;
    gap: 0;
}

/* Process card animation when revealed */
.rv.in .proc .card { animation: rw .5s both; }

/* API / code block already defined in mds-styles.css */

/* Overview grid (5 across) */
@media (min-width: 1024px) {
    .tg { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1023px) {
    .fr { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .fr { grid-template-columns: 1fr; }
    .ti {
        padding: 6px 14px;
        border: 0 !important;
    }
    .row .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   PAGINATION — overrides / replaces the earlier rules
   ============================================================ */

.mds-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    width: 100%;
}

.mds-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mds-pagination ul.page-numbers li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mds-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--ln);
    border-radius: 10px;
    background: #fff;
    color: var(--n);
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s, transform .15s;
}

.mds-pagination .page-numbers:hover {
    border-color: var(--b);
    color: var(--b);
    background: #EFF6FF;
    transform: translateY(-1px);
}

.mds-pagination .page-numbers:focus-visible {
    outline: 3px solid var(--c);
    outline-offset: 2px;
}

.mds-pagination .page-numbers.current {
    background: var(--b);
    color: #fff;
    border-color: var(--b);
    font-weight: 600;
    cursor: default;
    box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .5);
}

.mds-pagination .page-numbers.current:hover {
    transform: none;
}

/* Prev / Next arrows */
.mds-pagination .page-numbers.prev,
.mds-pagination .page-numbers.next {
    font-size: 18px;
    font-weight: 700;
    color: var(--b);
    background: #fff;
}

.mds-pagination .page-numbers.prev:hover,
.mds-pagination .page-numbers.next:hover {
    background: var(--b);
    color: #fff;
    border-color: var(--b);
}

/* Dots (when WordPress collapses middle pages) */
.mds-pagination .page-numbers.dots {
    border: 0;
    background: transparent;
    cursor: default;
    color: var(--m);
    min-width: 24px;
    padding: 0 6px;
}

.mds-pagination .page-numbers.dots:hover {
    transform: none;
    background: transparent;
    color: var(--m);
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .mds-pagination {
        margin-top: 32px;
    }
    .mds-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 14px;
        border-radius: 9px;
    }
    .mds-pagination ul.page-numbers {
        gap: 6px;
    }
}


/* ============================================================
   BREADCRUMBS
   ============================================================ */

.bc {
    padding: 20px 0 0;
    font-size: 14px;
    color: var(--m);
    font-weight: 400;
    line-height: 1.5;
}

.bc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.bc ol li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    color: var(--m);
}

/* Separator — avoids extra gap by using margin on the ::before */
.bc ol li + li::before {
    content: "/";
    display: inline-block;
    margin: 0 8px;
    color: #CBD5E1;
    font-weight: 400;
}

.bc a {
    color: var(--m);
    text-decoration: none;
    transition: color .2s;
}

.bc a:hover,
.bc a:focus-visible {
    color: var(--b);
    text-decoration: none;
}

.bc a:focus-visible {
    outline: 3px solid var(--c);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Current / active crumb */
.bc [aria-current="page"] {
    color: var(--n);
    font-weight: 500;
    max-width: 32ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mobile — smaller and tighter */
@media (max-width: 640px) {
    .bc {
        padding: 14px 0 0;
        font-size: 13px;
    }
    .bc ol li + li::before {
        margin: 0 6px;
    }
    .bc [aria-current="page"] {
        max-width: 20ch;
    }
}