/*
Theme Name: XFMobile Suite
Theme URI: https://xfmobile.app
Author: XFMobile Suite
Author URI: https://xfmobile.app
Description: xfmobile.app — XenForo iPhone and Android apps, run by the XFMobile Suite add-on. Child theme of XenForo Mobile (xenforomobile-wp): same design family, a store-app layout, its own copy, store-app landing pages and articles. Appearance → Site setup creates the pages and imports the articles.
Template: xenforomobile-wp
Version: 1.1.1
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xenforomobile
*/

/* Midnight indigo with an amber accent: same layout system, a different site. */
:root{--ink:#1c1f33;--navy:#2c3266;--alt:#f5f3ef;--gold:#f1bf7a;--line:#e3e2ea;--muted:#5d6075}
.btn--dark,.btn--navy{background:#2c3266;color:#fff}
.btn--gold{color:#1c1f33}
.showcase-hero{background:#171a36}
.showcase-hero__scene{background:linear-gradient(90deg,#161935f5 8%,#161935cc 55%,#16193580),url('../xenforomobile-wp/assets/art/cover-library.webp') center/cover}
.showcase-hero .eyebrow,.showcase-final .eyebrow,.section--navy .eyebrow{color:#f4cc94}
.showcase-hero__lead{color:#cfd1e3}
.section--navy{background:#171a36}
.section--navy .section-heading>p,.section--navy .capture-note{color:#c0c2d8}
.admin-shot{border-color:#4a4f7f;background:#22264a}
.section--navy .release-notes{background:#22264a;border-color:#4a4f7f}
.showcase-final{background:linear-gradient(90deg,#171a36ee,#171a36c8),url('../xenforomobile-wp/assets/art/cover-editorial.webp') center/cover}
.screen-controls button.is-active{background:#2c3266;border-color:#2c3266}
button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#c98a3a}

/* Hero: the Suite admin screen with the app in front of it. */
.suite-hero-visual{position:relative;min-height:540px}
.suite-hero-visual__admin{position:absolute;top:20px;left:0;right:70px;border-radius:16px;overflow:hidden;border:1px solid #5a5f93;box-shadow:0 30px 80px #0007;background:#fff}
.suite-hero-visual__bar{display:flex;gap:6px;padding:10px 14px;background:#e9e9f1;border-bottom:1px solid #d7d7e3}
.suite-hero-visual__bar i{width:10px;height:10px;border-radius:50%;background:#c9c9d6;display:block}
.suite-hero-visual__admin img{width:100%;height:auto;display:block}
.suite-hero-visual .hero-device{right:0;bottom:0;width:210px;transform:rotate(4deg)}
.suite-hero-visual__tag{position:absolute;left:18px;bottom:26px;background:#f7efe2;color:#2c3266;border-radius:14px;padding:14px 18px;font-size:14px;line-height:1.55;box-shadow:0 16px 40px #0004;max-width:250px}
.suite-hero-visual__tag strong{display:block}

/* Proof strip. */
.suite-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-bottom:1px solid var(--line);background:#fff}
.suite-facts div{padding:26px 28px;border-left:1px solid var(--line)}
.suite-facts div:first-child{border-left:0}
.suite-facts strong{display:block;font-size:19px;letter-spacing:-.02em;color:var(--navy)}
.suite-facts span{display:block;font-size:13px;line-height:1.6;color:var(--muted);margin-top:4px}

/* Module directory. */
.module-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.module-entry{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px 24px 22px}
.module-entry__group{display:inline-block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#9a6a2c;background:#fbf1e2;border-radius:999px;padding:5px 10px}
.module-entry h3{font-size:18px;line-height:1.4;letter-spacing:-.02em;margin:14px 0 8px}
.module-entry p{font-size:14px;line-height:1.75;color:var(--muted)}

/* Module spotlights with artwork. */
.suite-spotlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.suite-spotlight{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;text-align:left}
.suite-spotlight img{width:120px;height:120px;object-fit:contain;margin-bottom:18px}
.suite-spotlight h3{font-size:19px;line-height:1.45;letter-spacing:-.02em;margin:0 0 10px}
.suite-spotlight p{font-size:15px;line-height:1.8;color:var(--muted)}

/* Release notes block. */
.suite-release{display:grid;grid-template-columns:1fr 1.3fr;gap:48px;align-items:start}
.suite-release>div:first-child{position:sticky;top:110px}
.suite-release .xfm-cl,.suite-release ul{margin:0}
.suite-release__list{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px 30px}
.suite-release__list li{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:6px}

/* Store pair on the home page and the store-app landing pages. */
.store-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.store-card .module-entry__group{margin-bottom:12px}
.store-card__link{display:inline-block;margin-top:14px;font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.store-app__visual{display:flex;justify-content:center;align-items:center}
.store-app__visual img{width:min(100%,420px);height:auto}
.store-app__visual .hero-device{position:static;width:240px;transform:rotate(3deg)}
.store-app__body{padding-top:64px;padding-bottom:24px}
@media(max-width:760px){.store-pair{grid-template-columns:1fr}.store-app__visual .hero-device{width:min(60%,210px)}.store-app__body{padding-top:40px}}

@media(max-width:1000px){.module-directory,.suite-spotlights{grid-template-columns:repeat(2,minmax(0,1fr))}.suite-facts{grid-template-columns:repeat(2,1fr)}.suite-facts div:nth-child(3){border-left:0}.suite-facts div:nth-child(n+3){border-top:1px solid var(--line)}.suite-release{grid-template-columns:1fr;gap:28px}.suite-release>div:first-child{position:static}}
@media(max-width:760px){
 .showcase-hero__scene{background:linear-gradient(180deg,#161935f5,#161935cc),url('../xenforomobile-wp/assets/art/cover-library.webp') center/cover}
 .suite-hero-visual{min-height:0;height:clamp(330px,95vw,470px)}
 .suite-hero-visual__admin{right:30px;top:0}
 .suite-hero-visual .hero-device{width:min(42%,170px)}
 .suite-hero-visual__tag{display:none}
 .module-directory,.suite-spotlights{grid-template-columns:1fr}
 .suite-facts div{padding:20px}
}
