/* Content Control rich-text migration: preserve paragraphs and accessible CTA. */
.wms-cc-denied{direction:rtl;text-align:right;line-height:1.9;max-width:100%;overflow-wrap:anywhere}
.wms-cc-denied p{margin:0 0 1em;line-height:inherit}
.wms-cc-denied .wms-cc-login-link{display:inline-block;padding:.55em 1.15em;border-radius:9px;background:#176b65;color:#fff;text-decoration:none;font-weight:650}
.wms-cc-denied .wms-cc-login-link:hover,.wms-cc-denied .wms-cc-login-link:focus{color:#fff;background:#10554f;text-decoration:none}


/* VIP answer access notice: applies only to the WMS response, not article body. */
.wms-vip-locked {
    box-sizing:border-box;
    direction:rtl;
    text-align:right;
    max-width:900px;
    width:100%;
    margin:24px auto;
    padding:22px 26px;
    border:1px solid #f4d6aa;
    border-right:5px solid #eea53e;
    border-radius:16px;
    background:linear-gradient(130deg,#fffcf7 0%,#fff8ed 100%);
    box-shadow:0 9px 25px rgba(76,54,20,.075);
    color:#334155;
    font-size:15px;
    line-height:1.95;
    overflow-wrap:break-word;
}
.wms-vip-locked .wms-vip-locked__head {
    display:flex;
    align-items:center;
    gap:11px;
    margin:0 0 11px;
}
.wms-vip-locked .wms-vip-locked__icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    width:40px;
    height:40px;
    border-radius:50%;
    background:#ffedcf;
    font-size:19px;
    line-height:1;
}
.wms-vip-locked .wms-vip-locked__title {
    display:block;
    color:#26364a;
    font-size:18px;
    font-weight:750;
    line-height:1.7;
}
.wms-vip-locked p.wms-vip-locked__description {
    margin:0 0 16px !important;
    padding:0 !important;
    color:#475569;
    font-size:14px;
    line-height:2;
}
.wms-vip-locked a.wms-vip-locked__button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    padding:10px 19px;
    min-height:44px;
    box-sizing:border-box;
    border:1px solid #176b65;
    border-radius:10px;
    background:#176b65;
    color:#fff !important;
    font-weight:700;
    font-size:14px;
    line-height:1.7;
    text-decoration:none !important;
    box-shadow:0 4px 9px rgba(23,107,101,.11);
    transition:background-color .16s,border-color .16s;
}
.wms-vip-locked a.wms-vip-locked__button:hover,
.wms-vip-locked a.wms-vip-locked__button:focus-visible {
    background:#105650;
    border-color:#105650;
    color:#fff !important;
    text-decoration:none !important;
}
.wms-vip-locked a.wms-vip-locked__button:focus-visible {
    outline:3px solid #eaac43;
    outline-offset:3px;
}
@media (max-width:600px) {
    .wms-vip-locked {margin:16px auto;padding:16px;border-radius:12px;border-right-width:4px;}
    .wms-vip-locked .wms-vip-locked__title {font-size:15px;}
    .wms-vip-locked p.wms-vip-locked__description {font-size:13px;}
    .wms-vip-locked .wms-vip-locked__icon {width:36px;height:36px;font-size:18px;}
    .wms-vip-locked a.wms-vip-locked__button {display:flex;width:100%;font-size:13px;}
}
@media (prefers-reduced-motion:reduce) {
    .wms-vip-locked a.wms-vip-locked__button {transition:none;}
}


/* 0.9.23: Center VIP product purchase shortcodes when WMS has made them free.
   The real Faramoallem purchase section uses Avada .fusion-column-wrapper
   with a direct child p.product.woocommerce.add_to_cart_inline. Scope all
   styling to its WMS free-price marker so paid or guest buttons are untouched. */
p.product.woocommerce.add_to_cart_inline > .wms-free-price {
    display:block !important;
    clear:both;
    width:100%;
    box-sizing:border-box;
    margin:0 auto 10px !important;
    text-align:center !important;
    float:none !important;
}
@supports selector(:has(*)) {
    .fusion-column-wrapper:has(> p.product.woocommerce.add_to_cart_inline > .wms-free-price) > .fusion-title,
    .fusion-column-wrapper:has(> p.product.woocommerce.add_to_cart_inline > .wms-free-price) > .fusion-title .fusion-title-heading {
        text-align:center !important;
    }
    p.product.woocommerce.add_to_cart_inline:has(> .wms-free-price) {
        display:block !important;
        width:100%;
        box-sizing:border-box;
        text-align:center !important;
    }
    p.product.woocommerce.add_to_cart_inline:has(> .wms-free-price) > a.add_to_cart_button,
    p.product.woocommerce.add_to_cart_inline:has(> .wms-free-price) > a.button {
        box-sizing:border-box;
        text-align:center !important;
    }
}
