/* ============================================================
   WhiteBridge opt-out landings: styles applied on top of the
   Webflow shared stylesheet (same one whitebridge.ai/blog uses).
   Everything inside the article body targets `.w-richtext` so
   native Webflow classes keep their look.
   ============================================================ */

/* ---------- Tables -------------------------------------- */
.w-richtext table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    border: 1px solid #EAECF0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.w-richtext table thead tr,
.w-richtext table tr:first-child { background: #F9FAFB; }
.w-richtext table th {
    text-align: left;
    font-weight: 700;
    color: #101828;
    padding: 12px 16px;
    border-bottom: 1px solid #EAECF0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.w-richtext table td {
    padding: 12px 16px;
    border-bottom: 1px solid #EAECF0;
    color: #344054;
    vertical-align: top;
}
.w-richtext table tr:last-child td { border-bottom: none; }
.w-richtext table tr:hover td { background: #F9FAFB; }

/* ---------- FAQ (details/summary cards) ------------------ */
.w-richtext details {
    border: 1px solid #EAECF0;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 12px 0;
    background: #fff;
}
.w-richtext details[open] {
    background: #F9FAFB;
    border-color: #D0D5DD;
}
.w-richtext details summary {
    cursor: pointer;
    font-weight: 700;
    color: #101828;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.w-richtext details summary::-webkit-details-marker { display: none; }
.w-richtext details summary::after {
    content: "+";
    color: #2337E0;
    font-weight: 400;
    font-size: 22px;
    line-height: 1;
    transition: transform .2s ease;
}
.w-richtext details[open] summary::after { content: "−"; }
.w-richtext details p {
    margin: 12px 0 0;
    color: #475467;
    font-size: 15px;
    line-height: 1.65;
}
.w-richtext .faq-block { margin: 24px 0 32px; }

/* ---------- CTA button (→ antibridge.com) ---------------- */
.w-richtext .blog-cta { text-align: center; margin: 32px 0; }
.w-richtext .blog-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    background: #2337E0;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
    box-shadow: 0 4px 14px rgba(35, 55, 224, .25);
}
.w-richtext .blog-cta-link:hover {
    background: #1B2CB4;
    transform: translateY(-1px);
    color: #fff !important;
}
.w-richtext .blog-cta-link::after {
    content: "→";
    font-size: 18px;
    line-height: 1;
}
.w-richtext .blog-cta-link.blog-cta-secondary {
    background: transparent;
    color: #2337E0 !important;
    border: 2px solid #2337E0;
    padding: 12px 24px;
    box-shadow: none;
}
.w-richtext .blog-cta-link.blog-cta-secondary:hover {
    background: rgba(35, 55, 224, .06);
    color: #1B2CB4 !important;
    border-color: #1B2CB4;
}

/* ---------- Callout blocks (no icons, subtle tints) ------- */
.w-richtext .blog-callout {
    margin: 24px 0;
    padding: 16px 20px;
    border-radius: 12px;
    background: #F9FAFB;
    border: 1px solid #EAECF0;
    border-left: 3px solid #98A2B3;
    color: #344054;
    font-size: 15px;
    line-height: 1.65;
}
.w-richtext .blog-callout > :first-child { margin-top: 0; }
.w-richtext .blog-callout > :last-child  { margin-bottom: 0; }
.w-richtext .blog-callout-tip     { border-left-color: #2337E0; }
.w-richtext .blog-callout-info    { border-left-color: #2337E0; }
.w-richtext .blog-callout-warning { background: #FFFBFA; border-left-color: #D92D20; }

/* ---------- Figures --------------------------------------- */
.w-richtext figure { margin: 24px 0; text-align: center; }
.w-richtext figure img { max-width: 100%; height: auto; border-radius: 12px; }
.w-richtext figure figcaption { color: #667085; font-size: 13px; margin-top: 8px; }
.w-richtext > img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; }

/* ============================================================
   Opt-out specific components
   ============================================================ */

/* Quick-facts strip under the H1 (difficulty / time / method) */
.oo-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 8px;
}
.oo-fact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #EAECF0;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    color: #475467;
}
.oo-fact strong { color: #101828; font-weight: 700; }
/* Keep "Up to 72 hours" on one line: the pill wraps as a whole unit instead of
   orphaning the trailing word. Not applied to the Method pill, whose value is
   long enough that nowrap would overflow narrow viewports. */
.oo-fact--time { white-space: nowrap; }
.oo-fact .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.oo-fact .dot.easy   { background: #12B76A; }
.oo-fact .dot.medium { background: #F79009; }
.oo-fact .dot.hard   { background: #F04438; }

/* AntiBridge CTA box: flat card in the site's own palette */
.oo-cta-box {
    margin: 36px 0;
    padding: 32px 36px;
    border-radius: 16px;
    background: #F9FAFB;
    border: 1px solid #EAECF0;
    text-align: center;
}
.oo-cta-box h3 {
    margin: 0 0 10px;
    color: #101828;
    font-size: 22px;
    line-height: 1.3;
}
.oo-cta-box p {
    margin: 0 auto 20px;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
    max-width: 520px;
}
.oo-cta-box .oo-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #2337E0;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background .15s ease;
}
.oo-cta-box .oo-cta-button:hover { background: #1B2CB4; }
.oo-cta-box .oo-cta-button::after { content: "→"; font-size: 18px; line-height: 1; }

/* Numbered step headings */
.w-richtext .oo-step {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 36px;
}
.w-richtext .oo-step .oo-step-num {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2337E0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(4px);
}

/* Related guides grid (bottom of each landing + hub page) */
.oo-related {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin: 20px 0 40px;
}
.oo-related a {
    display: block;
    padding: 16px 18px;
    border: 1px solid #EAECF0;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: #101828;
    font-weight: 600;
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.oo-related a:hover {
    border-color: #2337E0;
    box-shadow: 0 4px 14px rgba(35, 55, 224, .12);
}
.oo-related a span {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
    font-weight: 400;
}

@media (max-width: 767px) {
    .oo-cta-box { padding: 24px 20px; }
    .oo-facts { gap: 8px; }
}
