/*
 Theme Name:   Profit Child
 Description:  Profit Child Theme
 Author:       Eliran Biton
 Template:     profit
 Version:      3.1.3
 Text Domain:  profit-child
*/

body, html {
    overflow-x: hidden;
}
/*
.bg-video {
    display: none;
}
*/
/* ── Footer: "Listed on Prop Firm Match" / ForexPropReviews badges ──────── */
.footer-listed-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    height: 100%;
    min-width: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.footer-listed-card:hover,
.footer-listed-card:focus-within {
    border-color: rgba(255, 255, 255, 0.22);
    background-color: rgba(255, 255, 255, 0.04);
}
.footer-listed-card__img { height: 50px; width: auto; max-width: 100%; display: block; }

/* Keep all four footer trust badges (2 award cards + 2 listed cards) the same overall card size */
.footer-award-card,
.footer-listed-card {
    min-height: 96px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .footer-listed-card {
        padding: 12px 14px;
        min-height: 76px;
    }
}
/* Pricing cards: optional property subtitle (ACF property_subtitle) under property_name */
.pricingCard .list li .property-text { display: flex; flex-direction: column; }
.pricingCard .list li .property-subtitle { margin-top: 2px; font-size: 13px; line-height: 18px; opacity: .75; }

/* Homepage plans: per-card price bar (template-parts/content-plans.php + assets/js/plans-pricing.js) */
.lev-ps { --lev-ps-top: 84px; position: relative; margin: 0 44px 24px; padding: var(--lev-ps-top) 0 34px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: pointer; }
.lev-ps.is-empty { visibility: hidden; }
.lev-ps__line { position: relative; height: 2px; background: #22513F; }
.lev-ps__handle { position: absolute; top: -3px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--lev-yellow); transform: translateX(-50%); transition: left .25s ease; z-index: 2; pointer-events: none; }
.lev-ps__handle::before { content: ''; position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; border: 1px solid #FFEE00; border-radius: 50%; transform: translate(-50%, -50%); }
.lev-ps__points { position: absolute; left: 0; right: 0; top: calc(var(--lev-ps-top) + 1px); height: 0; margin: 0; padding: 0; list-style: none; }
.lev-ps__point { position: absolute; top: 0; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.lev-ps__point::before { content: ''; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); transform: translate(-50%, -50%); transition: background .3s ease; }
.lev-ps__point.is-active::before { background: var(--lev-yellow); }
.lev-ps__point span { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 1rem; line-height: 20px; color: var(--mint); transition: all .3s ease; }
.lev-ps__point.is-active span { font-size: 35px; line-height: 1; letter-spacing: -1px; font-weight: 300; color: var(--lev-yellow); }
.lev-ps-prices { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 1.25rem; }
.lev-ps-prices__label { font-size: 28px; line-height: 1.2; font-weight: 300; color: var(--mint); }
.lev-ps-prices__amount { margin-top: 4px; font-size: 56px; line-height: 1.1; font-weight: 300; letter-spacing: -1px; color: var(--lev-yellow); }
.lev-ps-prices__after { display: flex; gap: .5rem; margin-top: 8px; font-size: 28px; line-height: 1.2; font-weight: 300; color: var(--mint); opacity: .6; }
.lev-ps-prices__after[hidden] { display: none; }
@media (min-width: 1200px) {
    .lev-ps { --lev-ps-top: 96px; }
    .lev-ps__point.is-active span { font-size: 52px; }
}
@media (max-width: 767.98px) {
    .lev-ps { --lev-ps-top: 64px; margin: 0 28px 16px; }
    .lev-ps__point span { font-size: 13px; bottom: 30px; }
    .lev-ps__point.is-active span { font-size: 28px; }
    .lev-ps-prices__label, .lev-ps-prices__after { font-size: 22px; }
    .lev-ps-prices__amount { font-size: 44px; }
}

/* Homepage plans: mobile arrows around the cards pagination dots */
.lev-plans-nav { display: contents; }
.lev-plans-nav__btn { display: none; }
@media (max-width: 991.98px) {
    /* Arrows sit at the vertical middle of the card, mostly in the side gutters (.pricingSliderWrap is position: relative). */
    .lev-plans-nav__btn { display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; z-index: 5; width: 30px; height: 30px; padding: 0; border-radius: 50%; transform: translateY(-50%); background: rgba(2, 18, 14, 0.85); border: 1.5px solid rgba(154, 245, 188, 0.55); color: #9af5bc; transition: background .2s ease, border-color .2s ease, opacity .2s ease; }
    .lev-plans-nav__btn[data-lev-prev] { left: 0; }
    .lev-plans-nav__btn[data-lev-next] { right: 0; }
    .lev-plans-nav__btn:hover:not(:disabled), .lev-plans-nav__btn:focus-visible { background: rgba(4, 40, 32, 0.95); border-color: #9af5bc; }
    .lev-plans-nav__btn:disabled { opacity: 0; pointer-events: none; }
    .lev-plans-nav.is-single .lev-plans-nav__btn { display: none; }
}

/* Traders Library posts: disclaimer under the article (single + archive templates, outside <article> so AJAX post swaps keep it) */
.knowledge-disclaimer { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px solid rgba(154, 245, 189, 0.2); font-size: 15px; line-height: 1.5; color: var(--g-text); opacity: .8; }

/* Homepage "Recent Rewards" payout marquee: name on its own line (never truncated),
   zoom + Discord buttons always visible, larger and more prominent. Overrides profit/style.css. */
.payout-marquee-section .payout-info { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "name name" "flag amount"; align-items: center; column-gap: .5rem; row-gap: .35rem; }
.payout-marquee-section .payout-name { grid-area: name; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.3; }
.payout-marquee-section .payout-flag { grid-area: flag; }
.payout-marquee-section .payout-amount { grid-area: amount; }
.payout-marquee-section .payout-info:not(:has(.payout-flag)) { grid-template-areas: "name name" "amount amount"; }
.payout-marquee-section .payout-overlay-icons { opacity: 1; bottom: 10px; left: 10px; right: 10px; }
.payout-marquee-section .payout-icon-btn { width: 44px; height: 44px; border-radius: 10px; border-width: 1px; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); backdrop-filter: none; -webkit-backdrop-filter: none; }
.payout-marquee-section .payout-icon-btn svg { width: 22px; height: 22px; }
.payout-marquee-section .payout-zoom-btn { background: var(--mint); border-color: var(--mint); color: var(--g-dark); }
.payout-marquee-section .payout-discord-btn { background: #5865F2; border-color: #5865F2; color: #fff; }
.payout-marquee-section .payout-zoom-btn:hover { background: #fff; border-color: #fff; color: var(--g-dark); transform: scale(1.08); }
.payout-marquee-section .payout-discord-btn:hover { background: #4752C4; border-color: #4752C4; color: #fff; transform: scale(1.08); }
@media (max-width: 768px) {
    .payout-marquee-section .payout-icon-btn { width: 38px; height: 38px; }
    .payout-marquee-section .payout-icon-btn svg { width: 18px; height: 18px; }
    .payout-marquee-section .payout-overlay-icons { bottom: 8px; left: 8px; right: 8px; }
}

/* Homepage hero badges row (Prop Firm Match + ForexPropReviews): centre the badges vertically.
   The PFM rating image is shorter than the row, so without this it sat at the top of its link. */
.hp-hero-pfm-banner { align-items: center; }
