/* =====================================================================
   publishers.css — For Content Publishers page. Requires common.css first.
   The hero (.hero-section / .hero-badge / .hbtn / .hero-stats / .hero-collage)
   comes from common.css — it's the same hero the homepage uses.
   Layout columns come from Bootstrap; this carries the visuals.
   NOTE: the source's `.imp-pubcta .card` was renamed to `.imp-pub-card`
   so it can't collide with Bootstrap's `.card` component.
   ===================================================================== */
.pub-section {
    padding: 70px 0;
}

/* ---- SHARED TYPE ---- */
.imp-eye {
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 1rem;
}

.afp-eyebrow {
    font-family: var(--font-display);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 1rem;
}

.afp-h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.12;
    color: var(--ink);
    margin: 0;
}

.afp-h2 span, .imp-whyhead h2 span, .saf-head h2 span {
    background: linear-gradient(100deg,#2563eb,var(--navy));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.afp-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

/* ---- BRANDS STRIP ---- */
.imp-brands {
    padding: 58px 0 54px;
    text-align: center;
    background: linear-gradient(180deg,#f6f9ff,#fff);
}

.imp-brands .imp-eye {
    margin-bottom: .8rem;
}

.imp-brands h2 {
    font-family: var(--font-display);
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -.8px;
    color: var(--ink);
    margin: 0 0 .6rem;
}

.imp-brands .bsub {
    color: var(--muted);
    font-size: 1.02rem;
    margin: 0 auto 2.4rem;
    max-width: 560px;
}

.imp-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}

.imp-logoc {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(15,23,42,.08);
}

.imp-logo span {
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600;
}

/* ---- HOW IT WORKS (numbered steps) ---- */
.afp-steps {
    counter-reset: afs;
}

.afp-step {
    height: 100%;
    position: relative;
    padding: 1.9rem 1.6rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.afp-step::before {
    counter-increment: afs;
    content: counter(afs);
    position: absolute;
    top: -16px;
    left: 1.6rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--blue),var(--navy));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(29,78,216,.28);
}

.afp-step h4 {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 700;
    margin: .8rem 0 .5rem;
}

.afp-step p {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ---- FEATURE ROWS ---- */
.imp-rows {
    padding: 30px 0 50px;
}

.saf-rows {
    background: var(--tint);
}

.imp-whyhead,.saf-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.imp-whyhead .imp-eye,.saf-head .imp-eye {
    margin-bottom: .7rem;
}

.imp-whyhead h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--ink);
    line-height: 1.12;
    margin: 0;
}

.saf-head h2 {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -.9px;
    color: var(--ink);
    line-height: 1.14;
    margin: 0;
}

.imp-whyhead p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 1rem 0 0;
}

.saf-head p {
    color: var(--muted);
    font-size: 1.02rem;
    margin: .9rem 0 0;
}

.imp-frow {
    margin-bottom: 5rem;
}

.imp-frow:last-child {
    margin-bottom: 0;
}

.imp-ftx h3 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -.7px;
    line-height: 1.16;
    color: var(--ink);
    margin: 0 0 .9rem;
}

.imp-ftx p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.1rem;
}

.imp-fli {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin: 0;
    padding: 0;
}

.imp-fli li {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    font-size: .94rem;
    color: var(--ink);
}

.imp-fli svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- SCREENSHOT MOCKS ---- */
.imp-shot {
    height: 330px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6ecf6;
    border-radius: 16px;
    box-shadow: 0 26px 60px rgba(15,23,42,.13);
    overflow: hidden;
}

.imp-sbar {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .7rem .9rem;
    background: #f6f8fc;
    border-bottom: 1px solid #e9eef6;
}

.imp-sbar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cdd7e6;
}

.imp-sbar span {
    margin-left: .5rem;
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600;
}

.imp-sbody {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.1rem;
}

.imp-mkgrid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: .7rem;
}

.imp-mkc {
    border: 1px solid #eef2f8;
    border-radius: 10px;
    padding: .9rem .6rem;
    text-align: center;
}

.imp-mkc .lg {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    margin: 0 auto .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .95rem;
}

.imp-mkc .nm {
    font-size: .72rem;
    color: var(--muted);
    font-weight: 600;
    margin: 0;
}

.imp-pay-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.imp-pay-top .l {
    font-size: .76rem;
    color: var(--muted);
    font-weight: 600;
    margin: 0;
}

.imp-pay-top .v {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ink);
    margin: 0;
}

.imp-pay-top .bal {
    text-align: right;
}

.imp-pay-m {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: .6rem;
}

.imp-pay-c {
    border: 1px solid #eef2f8;
    border-radius: 10px;
    padding: .9rem;
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    color: var(--ink);
}

.imp-pay-c .ic {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eaf1ff;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .5rem;
}

.imp-pay-c .ic svg {
    width: 17px;
    height: 17px;
}

.imp-rep-h {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding-bottom: .5rem;
    border-bottom: 1px solid #eef2f8;
}

.imp-rep-r {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .55rem 0;
    font-size: .8rem;
}

.imp-rep-r .b {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
}

.imp-rep-r .dot {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 800;
    font-family: var(--font-display);
}

.imp-rep-chart {
    display: flex;
    align-items: flex-end;
    gap: .3rem;
    height: 74px;
    margin-top: .8rem;
}

.imp-rep-chart i {
    flex: 1;
    background: linear-gradient(180deg,#60a5fa,var(--blue));
    border-radius: 3px 3px 0 0;
}

/* ---- PUBLISHER TOOL MOCKS ---- */
.saf-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e3e9f3;
    border-radius: 9px;
    padding: .65rem .85rem;
    font-size: .82rem;
    color: var(--ink);
    margin-bottom: .6rem;
    gap: .6rem;
    background: #fff;
}

.saf-field.long {
    font-size: .74rem;
    color: var(--muted);
    overflow: hidden;
    white-space: nowrap;
}

.saf-field.long span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.saf-field.out {
    color: var(--blue);
    font-weight: 600;
}

.saf-field b {
    color: #fff;
    background: var(--blue);
    padding: .28rem .75rem;
    border-radius: 7px;
    font-size: .74rem;
    font-weight: 700;
    flex-shrink: 0;
}

.saf-field b.g {
    background: var(--success);
}

.saf-short {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eff4ff;
    border: 1px dashed #b9cdf5;
    border-radius: 9px;
    padding: .75rem .9rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    font-size: .86rem;
}

.saf-short b {
    color: var(--blue);
}

.saf-short .g {
    color: var(--success);
    cursor: pointer;
    font-size: .78rem;
}

.saf-coup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px dashed #cbd5e1;
    border-radius: 9px;
    padding: .6rem .85rem;
    margin-bottom: .55rem;
    background: #fff;
}

.saf-coup .bn {
    font-size: .7rem;
    color: var(--muted);
    font-weight: 600;
    margin: 0;
}

.saf-coup .cd {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--ink);
    font-size: .98rem;
    margin: 0;
}

.saf-coup .g {
    color: var(--blue);
    font-size: .76rem;
    font-weight: 700;
    cursor: pointer;
}

.saf-code {
    font-family: ui-monospace,Menlo,Consolas,monospace;
    font-size: .73rem;
    color: #1e293b;
    background: #f1f5fb;
    border: 1px solid #e3e9f3;
    border-radius: 9px;
    padding: .75rem .8rem;
    line-height: 1.6;
    word-break: break-all;
    margin-bottom: .7rem;
}

.saf-code b {
    color: var(--blue);
}

.saf-status {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--success);
    font-weight: 700;
    font-size: .78rem;
}

.saf-status .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(22,163,74,.16);
}

.saf-rr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .52rem 0;
    font-size: .8rem;
    border-bottom: 1px solid #f0f3f9;
}

.saf-rr:last-child {
    border-bottom: none;
}

.saf-rr .sid {
    font-family: ui-monospace,Menlo,monospace;
    font-weight: 600;
    color: var(--ink);
    font-size: .78rem;
}

.saf-rr span:not(.sid) {
    color: var(--muted);
}

/* ---- FAQ (native details) ---- */
.afp-q {
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: .8rem;
    background: #fff;
    overflow: hidden;
}

.afp-q summary {
    list-style: none;
    cursor: pointer;
    padding: 1.2rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.afp-q summary::-webkit-details-marker {
    display: none;
}

.afp-q summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--blue);
    transition: transform .2s;
}

.afp-q[open] summary::after {
    transform: rotate(45deg);
}

.afp-q p {
    padding: 0 1.5rem 1.3rem;
    font-size: .96rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* ---- PUBLISHER CTA BANNER ---- */
.imp-pubcta {
    padding: 24px 0 56px;
}

.imp-pub-card {
    background: radial-gradient(130% 150% at 10% 0%,var(--blue),var(--navy) 52%,var(--deep));
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    padding: 3.4rem 3.2rem;
}

.imp-pub-card::after {
    content: "";
    position: absolute;
    top: -30%;
    right: 18%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(96,165,250,.4),transparent 62%);
    filter: blur(46px);
    pointer-events: none;
}

.imp-pub-l {
    position: relative;
    z-index: 2;
}

.imp-pub-eye {
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    margin: 0;
}

.imp-pub-l h2 {
    font-family: var(--font-display);
    font-size: 2.7rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.2px;
    line-height: 1.06;
    margin: .9rem 0 1rem;
}

.imp-pub-l p {
    color: rgba(255,255,255,.82);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 520px;
    margin: 0 0 1.9rem;
}
.imp-pub-l .imp-pub-eye {
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin: 0;
}
.imp-pub-btn {
    background: #fff;
    color: var(--deep);
    padding: .92rem 2.3rem;
    border-radius: 100px;
    font-size: .96rem;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: transform .2s,box-shadow .2s;
}

.imp-pub-btn:hover {
    color: var(--deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,.28);
}

.imp-pub-r {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imp-pub-r img {
    width: 100%;
    max-width: 540px;
    height: auto;
    display: block;
    filter: drop-shadow(0 24px 50px rgba(8,12,40,.4));
}

/* ---- BLOG CARDS ---- */
.imp-blogs {
    padding: 8px 0 66px;
}

.imp-blogs .bhead {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.imp-blogs h2 {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -.8px;
    color: var(--ink);
    margin: 0;
}

.imp-blogs .bhead p {
    color: var(--muted);
    font-size: 1rem;
    margin: .3rem 0 0;
}

.imp-blogs .ball {
    color: var(--blue);
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.imp-blogc {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    transition: transform .22s,box-shadow .22s;
}

.imp-blogc:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 46px rgba(15,23,42,.1);
}

.imp-blogcov {
    height: 158px;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    position: relative;
}

.imp-blogcov .chip {
    background: rgba(255,255,255,.92);
    color: var(--deep);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .74rem;
    padding: .3rem .7rem;
    border-radius: 7px;
}

.imp-blogb {
    padding: 1.3rem 1.4rem 1.5rem;
    flex: 1;
}

.imp-blogtag {
    color: var(--blue);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin: 0;
}

.imp-blogt {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 700;
    margin: .45rem 0 .6rem;
    line-height: 1.32;
    color: var(--ink);
}

.imp-blogm {
    color: var(--muted);
    font-size: .8rem;
    margin: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991.98px) {
    .afp-h2,.imp-whyhead h2 {
        font-size:2rem;
    }

    .saf-head h2 {
        font-size: 2rem;
    }

    .imp-ftx h3 {
        font-size: 1.6rem;
    }

    .imp-frow {
        margin-bottom: 3rem;
    }

    .imp-pub-card {
        padding: 2.4rem 1.8rem;
    }

    .imp-pub-l h2 {
        font-size: 2.1rem;
    }
}

@media (max-width: 575.98px) {
    .imp-mkgrid {
        grid-template-columns:1fr 1fr;
    }

    .imp-shot {
        height: auto;
        min-height: 280px;
    }
}
