/* WordPress content and plugin forms share the approved QAV design. */
.qav-hub-plan-note{color:#64748b;font-size:.85em;line-height:1.4;display:inline-block}
.qav-checkout-note{color:#64748b;font-size:.75rem;text-align:center;margin-top:10px}
.mepr-payment-method.qav-pm-selected{outline:2px solid #e8b930;outline-offset:2px;border-radius:6px}
.qav-generic-content{max-width:1140px!important;margin:0 auto;padding:64px 24px 80px;min-height:60vh}
.qav-generic-content>h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.15;margin:0 0 32px}
.qav-generic-content .wp-block-post-content{max-width:100%;overflow-wrap:anywhere}
/* Let native Portfolio tables scroll inside their card on narrow screens. */
@media(max-width:760px){#qav-lp-root .qav-lp-grid{grid-template-columns:minmax(0,1fr)}#qav-lp-root .qav-lp-ranges{flex-wrap:wrap}#qav-lp-root .qav-lp-ranges button{white-space:nowrap}}
.qav-public-layout .qav-generic-content{max-width:none!important;padding:0}
.qav-public-layout .qav-generic-content>.wp-block-post-title{display:none}
.qav-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:36px 0}
.qav-post-card{border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;padding:0 24px 24px;background:#fff}
.qav-post-card img{width:calc(100% + 48px);max-width:none;margin:0 -24px 22px;aspect-ratio:16/10;object-fit:cover}
.qav-post-card h2{font-size:1.35rem;line-height:1.35;margin:24px 0 12px}
.qav-post-card a{text-decoration:none}.qav-post-date{font-size:.85rem;color:#64748b}
.qav-post-read{font-weight:700}.navigation.pagination{margin:36px 0}.page-numbers{padding:10px}
.qav-legacy-section{padding:32px 0}.qav-legacy-row,.qav-legacy-row-inner{display:flex;flex-wrap:wrap;gap:24px;margin:0 auto 24px;max-width:1140px}
.qav-legacy-column,.qav-legacy-column-inner{flex:1 1 260px;min-width:0}
.qav-legacy-text,.qav-legacy-code{margin-bottom:20px}.qav-legacy-image{margin:0 0 24px}
.qav-legacy-image img,.wp-block-post-content img{max-width:100%;height:auto}
.qav-legacy-video iframe,.wp-block-post-content iframe{max-width:100%}
.qav-legacy-accordion-item,.qav-legacy-toggle{border:1px solid #e2e8f0;padding:20px;margin:12px 0;border-radius:12px}
.qav-legacy-accordion-item summary,.qav-legacy-toggle summary{font-weight:700;cursor:pointer}
.qav-content-notice,.memberpress-unauthorized{padding:20px;border:1px solid #e2e8f0;border-radius:12px}
.mepr-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),.mepr-form select,.mepr-form textarea{max-width:100%;padding:12px;border:1px solid #94a3b8;border-radius:6px;background:#fff;color:#0f172a;font:inherit}
.mepr-form label{color:#334155}.mepr-submit{padding:14px 28px!important;background:#e8b930!important;color:#0f172a!important;border:0!important;border-radius:7px!important;font-weight:700!important;cursor:pointer}
.mepr_error,.mepr-validation-error{color:#991b1b!important;background:#fff1f2!important}.mepr_error{padding:16px;border-radius:8px}
.mepr-account-table{display:block;max-width:100%;overflow-x:auto}.mepr-nav-item{display:inline-block;margin:0 20px 16px 0}
@media(max-width:780px){.qav-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.qav-post-grid{grid-template-columns:1fr}.qav-generic-content{padding:40px 20px 56px}.qav-legacy-column,.qav-legacy-column-inner{flex-basis:100%}}

/* America legacy content and registration fixes, read from live Divi options. */
/* Style tables inside Text Modules to look like the original */
.qav-legacy-text table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #e2e2e2;
}

/* The Table Header (Dark Background) */
.qav-legacy-text table th {
    background-color: #35434e; /* Dark slate grey match */
    color: #ffffff;
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #35434e;
}

/* The Table Cells */
.qav-legacy-text table td {
    padding: 10px 15px;
    border: 1px solid #e2e2e2;
}

/* Optional: Stripe the rows for readability */
.qav-legacy-text table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Style Headings (like 'Key Concerns' and 'Quick Reference') */
.qav-legacy-text h3, 
.qav-legacy-text h4 {
    color: #5d7b89; /* This matches that muted teal/slate color */
    margin-top: 30px; /* Adds space above the heading automatically */
    margin-bottom: 15px;
    font-weight: 600;
}

/* Fix the Bulleted Lists */
.qav-legacy-text ul {
    margin-bottom: 25px; /* Space after the whole list */
    padding-left: 20px; /* Indent the bullets slightly */
}

.qav-legacy-text ul li {
    margin-bottom: 8px; /* Adds breathing room between bullet points */
    line-height: 1.6em; /* Makes text easier to read */
    list-style-type: disc; /* Ensures the dots always appear */
}

/* Fix the Paragraph spacing */
.qav-legacy-text p {
    margin-bottom: 20px;
    line-height: 1.7em;
}

/* Make the Horizontal Line (HR) visible */
.qav-legacy-text hr {
    border: 0;
    border-top: 1px solid #e2e2e2;
    margin: 40px 0; /* Big white space above and below the line */
}

/* Constrain comment avatars — fixes BuddyPress bpfull blow-up on Divi */
#comments .comment_avatar,
#comments .comment_avatar img,
.commentlist .comment_avatar img {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    border-radius: 50%;
    object-fit: cover;
}


body.postid-247500 .mp_wrapper .mepr-payment-methods-wrapper::before{content:none}
.single-memberpressproduct .mp_invoice .mp-table td,.single-memberpressproduct .mp_invoice .mp_price_str,.single-memberpressproduct .mp_invoice .mp_price_str strong{color:#334155!important}
.single-memberpressproduct .mp_invoice .mp-table th{color:#9b7009!important}
