/* Section partials of the product pages (template-parts/sections/). Same palette and type as main.css:
   Bebas Neue headings, Roboto text, blue #0069DC, intro gradient #005C97 -> #363795, light cards #F6F6F6. */

/* Images carry their intrinsic width / height (space reserved before they load): the height follows the
   width the layout gives them; images sized only by a max-height keep their natural width. */
:where(img[width][height]) { height: auto; }
.logo img,
.payments-list-item img,
.technologies-bottom-list-item-wrap-img img,
.bookmarkers-list-item img,
.fe-beyond .key-list-item-content-image img { width: auto; }

.fe-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
}
.fe-pricing .fe-badge { background: #E8F2FF; color: #0057B8; }
.fe-badge-beta { padding: 2px 8px; background: #FFF1CC; color: #6B4200; font-size: 12px; font-weight: 600; vertical-align: middle; }
.fe-eyebrow {
    color: #0069DC;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
}
.fe-note { color: #5A5A5A; font-size: 15px; }
.fe-card-link { font-weight: 600; display: inline-block; margin-top: 12px; }
.fe-card-link::after { content: ' \2192'; }

/* Screenshots: a light frame so a raw app screenshot reads as a screen. */
.fe-shot { margin: 0; }
.fe-shot img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #E3E6EC;
    box-shadow: 0 10px 30px rgba(17, 38, 80, .12);
    background: #fff;
}
.fe-shot figcaption { font-size: 14px; color: #5A5A5A; margin-top: 8px; text-align: center; }

/* Hero */
.fe-hero .section-intro-image img {
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -6px 40px rgba(0, 0, 0, .25);
    max-height: 520px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}
.fe-hero.section-ld { padding-bottom: 0; }

/* Proof strip */
.fe-proof { background: #0E1E4A; color: #F3F3F3; padding: 28px 0; }
.fe-proof-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fe-proof-value { font-family: "Bebas Neue", sans-serif; font-size: 44px; line-height: 1; color: #85D0F0; }
.fe-proof-label { font-size: 15px; line-height: 1.35; margin-top: 4px; }

/* Game type cards */
.fe-games-list { margin-bottom: 8px; }
.fe-games-item { margin-bottom: 24px; }
.fe-game-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #F6F6F6;
    border-radius: 20px;
    overflow: hidden;
    color: #1E1E1E;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.fe-game-card:hover { color: #1E1E1E; text-decoration: none; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(17, 38, 80, .14); }
.fe-game-card-shot { aspect-ratio: 16 / 10; overflow: hidden; background: #E9EDF3; }
.fe-game-card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.fe-game-card-body { padding: 16px 18px 20px; }
.fe-game-card-body p { font-size: 15px; line-height: 1.4; }
.fe-game-card-name { display: flex; align-items: center; gap: 8px; font-family: "Bebas Neue", sans-serif; font-size: 26px; margin-bottom: 6px; }
.fe-game-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.fe-game-icon--lg { width: 44px; height: 44px; }

/* Steps */
.fe-steps-list { list-style: none; padding: 0; margin: 0 0 24px; }
.fe-steps-item { display: flex; gap: 16px; margin-bottom: 22px; }
.fe-steps-num {
    flex: 0 0 40px; height: 40px; border-radius: 50%;
    background: #0069DC; color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.fe-steps-title { font-weight: 700; font-size: 18px; margin-bottom: 4px; }

/* Split boxes (feature-split with box_class fe-split) */
.fe-split { background: #F6F6F6; border-radius: 24px; padding: 40px; }
.fe-split .col-md-5 img { border-radius: 14px; box-shadow: 0 10px 30px rgba(17, 38, 80, .12); }

/* Beyond sports: a small row */
.fe-beyond .key-list-item-content { padding: 20px; }
.fe-beyond .key-list-item-content-image img { max-height: 120px; object-fit: contain; }
.fe-beyond .section-ld-sub-title { font-size: 28px; }

/* Phones */
.fe-phones-list { display: flex; gap: 16px; justify-content: center; }
.fe-phone { margin: 0; flex: 1 1 0; max-width: 220px; text-align: center; }
.fe-phone img { width: 100%; border-radius: 22px; border: 6px solid #1E1E1E; box-shadow: 0 10px 30px rgba(17, 38, 80, .18); }
.fe-phone figcaption { font-size: 14px; color: #5A5A5A; margin-top: 8px; }
.fe-check-list { list-style: none; padding-left: 0; }
.fe-check-list li { position: relative; padding: 6px 0 6px 28px; }
.fe-check-list li::before {
    content: ''; position: absolute; left: 0; top: 10px; width: 16px; height: 16px;
    background: url(../images/icons/fantasyengine_check_circle_green.png) center / contain no-repeat;
}

/* AdminCP tiles (key-cards with icon_class fe-tile-shot) */
.fe-tiles .key-list-item { margin-bottom: 24px; }
.fe-tiles .key-list-item-content { height: 100%; padding: 0 0 20px; overflow: hidden; }
.fe-tiles .key-list-item-content > :not(.fe-tile-shot) { padding-left: 20px; padding-right: 20px; }
.fe-tile-shot { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 14px; background: #E9EDF3; }
.fe-tile-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* Pricing CTA */
.fe-pricing-item { margin-bottom: 20px; }
.fe-pricing-card { background: #F6F6F6; border-radius: 20px; padding: 28px; height: 100%; display: flex; flex-direction: column; }
.fe-pricing-card--highlight { background: #EAF3FF; box-shadow: inset 0 0 0 2px #0069DC; }
.fe-pricing-name { font-family: "Bebas Neue", sans-serif; font-size: 30px; }
.fe-pricing-price { font-size: 40px; font-weight: 700; margin: 6px 0; }
.fe-pricing-price span { font-size: 15px; font-weight: 400; color: #5A5A5A; }
.fe-pricing-note { flex: 1 1 auto; color: #3A3A3A; }

/* Demo CTA */
.fe-demo-box { background: linear-gradient(90deg, #005C97 0%, #363795 100%); color: #F3F3F3; border-radius: 24px; padding: 40px 24px; margin: 0; }
.fe-demo-box .fe-note { color: #D6E4FF; }
.fe-demo-login { font-weight: 600; background: rgba(255, 255, 255, .12); border-radius: 10px; padding: 10px 14px; display: inline-block; }
.fe-demo-box .fe-shot img { border-color: transparent; }

/* Demo app (demo page): download / contact buttons with an inline logo, a note under each. */
.fe-app .fe-split { padding: 32px 24px; }
.fe-app-item { margin-top: 12px; }
.fe-app-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 180px; }
.fe-app-btn.btn-outlined-black:hover, .fe-app-btn.btn-outlined-black:focus { background-color: #fff; }
.fe-app-icon { width: 24px; height: 24px; flex: 0 0 auto; }
.fe-app-note { max-width: 420px; margin: 12px auto 0; font-size: 15px; line-height: 1.45; }

/* Game types page */
/* The chip bar sticks right under what is fixed at the top: nothing for visitors (the site header scrolls away), the
   WP admin bar for logged-in users (core admin-bar.css: 32px, 46px up to 782px, not fixed up to 600px). A chip lands
   its section right under the bar: the admin bar's share is core's scroll-padding-top on html, the bar's own height
   is --fe-gt-nav-h, set by main.js from the real height (the fallback is its height on two chip rows). */
.fe-gt-nav { --fe-top-offset: 0px; position: sticky; top: var(--fe-top-offset); z-index: 5; background: #fff; border-bottom: 1px solid #E3E6EC; padding: 10px 0; }
.admin-bar .fe-gt-nav { --fe-top-offset: var(--wp-admin--admin-bar--height, 32px); }
.fe-gt-nav-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-gt-nav-list a {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
    border-radius: 999px; background: #F1F5FB; color: #1E1E1E; font-size: 15px; font-weight: 500;
}
.fe-gt-nav-list a:hover { background: #E1ECFB; text-decoration: none; }
.fe-gt { scroll-margin-top: var(--fe-gt-nav-h, 101px); }
.fe-gt--alt { background: #F8F9FB; }
.fe-gt-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.fe-gt-label { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #0069DC; margin: 18px 0 6px; }
.fe-gt-points { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.fe-gt-points td { padding: 8px 10px; border-bottom: 1px solid #E3E6EC; vertical-align: top; }
.fe-gt-points td:last-child { font-weight: 700; text-align: right; white-space: nowrap; }
.fe-gt-shots { display: grid; grid-template-columns: 1fr; gap: 20px; }
.api-plans-compare-table { overflow-x: auto; }
/* A table in post / page content wider than the column scrolls in its own box, never the page. */
.custom-headings-content table,
.main-content-post .body-content table { display: block; max-width: 100%; overflow-x: auto; }

@media (max-width: 991px) {
    .fe-proof-list { grid-template-columns: repeat(2, 1fr); }
    .fe-split { padding: 24px; }
    .fe-phones-list { margin-top: 24px; }
}
/* Core keeps its 46px scroll-padding-top where its admin bar is no longer fixed. */
@media screen and (max-width: 600px) {
    .admin-bar .fe-gt-nav { --fe-top-offset: 0px; }
    :root { scroll-padding-top: 0; }
}
@media (max-width: 575px) {
    .fe-proof-value { font-size: 36px; }
    .fe-phones-list { gap: 8px; }
    .fe-phone img { border-width: 4px; border-radius: 16px; }
    .fe-gt-points td:last-child { white-space: normal; }
    .fe-gt-nav { position: static; }
    .fe-gt { scroll-margin-top: 0; }
    .fe-demo-box { padding: 28px 16px; }
}
