/* MP Custom Functions — style.css */

/* ── Ad slot wrapper ── */
.mp-ad-slot {
    clear: both;
    margin: 28px 0;
}

/* ── Override theme global link styles inside ad slots ──
   Theme uses .entry-content a { color: var(--gold-dim); text-decoration: underline; }
   We scope to .entry-content .mp-ad-slot a for higher specificity (0,2,1 beats 0,1,1). */
.entry-content .mp-ad-slot a,
.entry-content .mp-ad-slot a:visited,
.entry-content .mp-ad-slot a:hover,
.entry-content .mp-ad-slot a:active {
    color: inherit;
    text-decoration: none;
    text-decoration-thickness: initial;
    text-underline-offset: initial;
    font-weight: inherit;
}

/* ════════════════════════════════════════
   SINGLE OFFER — Split card (Option B)
   Dark left col: payout + name
   Light right col: description + CTA
   ════════════════════════════════════════ */

.mp-single-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.mp-single-top {
    background: #0F172A;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.mp-single-badge {
    font-size: 11px;
    font-weight: 800;
    color: #0F172A;
    background: #F0A500;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mp-single-tag {
    font-size: 12px;
    color: #94a3b8;
}

.mp-single-body,
a.mp-single-body,
.entry-content a.mp-single-body,
.entry-content a.mp-single-body:visited,
.entry-content a.mp-single-body:active,
.entry-content a.mp-single-body:link {
    display: flex;
    background: #fff;
    text-decoration: none;
    color: inherit;
    font-weight: normal;
    transition: background 0.15s;
}

a.mp-single-body:hover,
.entry-content a.mp-single-body:hover {
    text-decoration: none;
    color: inherit;
}

a.mp-single-body:hover .mp-single-left {
    background: #1E293B;
}

a.mp-single-body:hover .mp-single-right {
    background: #FFF8E0;
}

a.mp-single-body:hover .mp-single-cta {
    background: #F56A40;
}

/* Prevent theme link color from bleeding into single card child text */
a.mp-single-body .mp-single-desc {
    color: #334155;
}

a.mp-single-body .mp-single-proof,
a.mp-single-body .mp-single-proof span {
    color: #64748B;
}

a.mp-single-body .mp-single-stars {
    color: #F0A500;
}

.mp-single-left {
    background: #0F172A;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 140px;
    flex-shrink: 0;
    transition: background 0.15s;
}

.mp-single-payout {
    font-size: 28px;
    font-weight: 900;
    color: #22c55e;
    line-height: 1;
    text-align: center;
}

.mp-single-payout-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
    text-align: center;
}

.mp-single-rank {
    font-size: 28px;
    font-weight: 900;
    color: #334155;
    line-height: 1;
    text-align: center;
}

.mp-single-name {
    font-size: 14px;
    font-weight: 800;
    color: #F0A500;
    margin-top: 10px;
    text-align: center;
}

.mp-single-right {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    transition: background 0.15s;
}

.mp-single-desc {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
}

.mp-single-proof {
    font-size: 13px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mp-single-stars {
    color: #F0A500;
    font-size: 13px;
    letter-spacing: 1px;
}

.mp-single-cta {
    display: inline-block;
    background: #E8522A;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
    transition: background 0.15s;
}

/* ════════════════════════════════════════
   MULTI OFFER — Warm authority rows
   Gold tint bg, filled CTA pills, clickable rows
   ════════════════════════════════════════ */

.mp-multi-wrap {
    background: #FFFBF0;
    border: 1px solid #EDD98A;
    border-radius: 10px;
    overflow: hidden;
}

.mp-multi-head {
    padding: 12px 20px;
    border-bottom: 1px solid #EDD98A;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mp-multi-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F0A500;
    flex-shrink: 0;
}

.mp-multi-title {
    font-size: 12px;
    font-weight: 800;
    color: #B8860B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mp-multi-row,
a.mp-multi-row,
.entry-content a.mp-multi-row,
.entry-content a.mp-multi-row:visited,
.entry-content a.mp-multi-row:active,
.entry-content a.mp-multi-row:link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 16px;
    border-bottom: 1px solid #f5e99a;
    background: #fff;
    text-decoration: none;
    color: #334155;
    font-weight: normal;
    transition: background 0.15s;
}

a.mp-multi-row:hover,
.entry-content a.mp-multi-row:hover {
    background: #FFF3D6;
    text-decoration: none;
    color: #334155;
}

/* Prevent theme link color from bleeding into row child text */
a.mp-multi-row .mp-multi-name {
    color: #0F172A;
}

a.mp-multi-row .mp-multi-desc {
    color: #334155;
}

a.mp-multi-row .mp-multi-proof,
a.mp-multi-row .mp-multi-proof span {
    color: #64748B;
}

a.mp-multi-row .mp-multi-stars {
    color: #F0A500;
}

a.mp-multi-row .mp-multi-payout {
    color: #166534;
}

a.mp-multi-row .mp-multi-payout-label {
    color: #64748B;
}

.mp-multi-row:last-child {
    border-bottom: none;
}

.mp-multi-row:nth-child(odd) {
    background: #FFFBF0;
}

.mp-multi-payout-col {
    min-width: 68px;
    flex-shrink: 0;
    text-align: center;
}

.mp-multi-payout {
    font-size: 21px;
    font-weight: 900;
    color: #166534;
    line-height: 1;
}

.mp-multi-payout-label {
    font-size: 10px;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
}

.mp-multi-rank {
    font-size: 21px;
    font-weight: 900;
    color: #CBD5E1;
    line-height: 1;
    text-align: center;
}

.mp-multi-divider {
    width: 1px;
    background: #EDD98A;
    align-self: stretch;
    flex-shrink: 0;
}

.mp-multi-body {
    flex: 1;
    min-width: 0;
}

.mp-multi-name {
    font-size: 14px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 3px;
}

.mp-multi-desc {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

.mp-multi-proof {
    font-size: 12px;
    color: #64748B;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mp-multi-stars {
    color: #F0A500;
    font-size: 12px;
    letter-spacing: 1px;
}

.mp-multi-cta {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: #E8522A;
    border: 1.5px solid #E8522A;
    padding: 9px 16px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}

a.mp-multi-row:hover .mp-multi-cta {
    background: #F56A40;
    border-color: #F56A40;
}

/* ════════════════════════════════════════
   MOBILE — Stack layouts at 600px
   Covers phones + small tablets in portrait.
   ════════════════════════════════════════ */

@media (max-width: 600px) {

    /* Single card: stack vertically */
    .mp-single-body {
        flex-direction: column;
    }

    .mp-single-left {
        flex-direction: row;
        min-width: 0;
        padding: 18px 20px;
        gap: 12px;
    }

    .mp-single-payout-label {
        margin-top: 0;
        text-align: left;
    }

    .mp-single-name {
        margin-top: 0;
        text-align: left;
    }

    .mp-single-right {
        padding: 18px 16px;
    }

    .mp-single-desc,
    .mp-single-name {
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .mp-single-cta {
        align-self: stretch;
        text-align: center;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Multi rows: stack body + CTA */
    .mp-multi-row {
        flex-wrap: wrap;
        padding: 14px 16px;
    }

    .mp-multi-desc,
    .mp-multi-name {
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .mp-multi-cta {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        min-height: 44px;
    }
}

/* ── Was This Helpful widget ── */
.mp-helpful {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 26px 24px;
    text-align: center;
    margin: 32px 0;
    background: #fff;
}

.mp-helpful-heading {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 16px;
}

.mp-helpful-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mp-helpful-btn {
    border: 2px solid;
    border-radius: 30px;
    padding: 9px 26px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    transition: background 0.18s, color 0.18s;
}

.mp-helpful-btn-yes {
    border-color: #166534;
    color: #166534;
}

.mp-helpful-btn-yes:hover {
    background: #166534;
    color: #fff;
}

.mp-helpful-btn-no {
    border-color: #64748B;
    color: #64748B;
}

.mp-helpful-btn-no:hover {
    background: #64748B;
    color: #fff;
}

.mp-helpful-thanks {
    font-size: 14px;
    font-style: italic;
    color: #64748B;
    margin: 0 0 8px;
}

.mp-helpful-count {
    font-size: 13px;
    color: #64748B;
    margin: 0;
}
