/* css/layout-spotlight-pages.css
   Version: 1.2.1
   Spotlight layout (Frozen Arctic Services), the other pages of the drawings: shop, item, cart, checkout, account, articles, contents list.
   Plain lettering, left-aligned headings, square quiet cards, nothing glowing. Colours come from the site colour set. */

/* Headings: plain, left, in the heading font (not the script) */
html body.fas-layout-spotlight .woocommerce-products-header__title, html body.fas-layout-spotlight .entry-title, html body.fas-layout-spotlight .page-title,
html body.fas-layout-spotlight .wp-block-woocommerce-cart h1, html body.fas-layout-spotlight .woocommerce-checkout h1, html body.fas-layout-spotlight .woocommerce-MyAccount-content h2 {
  font-family: Sora, system-ui, sans-serif !important; text-align: left !important; font-weight: 800 !important; line-height: 1.15 !important; text-shadow: none !important;
}
html body.fas-layout-spotlight .woocommerce-products-header__title { font-size: clamp(1.9rem, 4vw, 2.5rem) !important; margin: 4px 0 14px !important; }
html body.fas-layout-spotlight .woocommerce-breadcrumb { text-align: left !important; margin: 0 !important; }

/* Shop: a row of chips, search and sort under it */
.fas-spot-chips ul { justify-content: flex-start; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
html body.fas-layout-spotlight .fas-spot-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--game-accent, #0b3a6f); border-radius: 24px;
  font-weight: 600; text-decoration: none; background: transparent; color: var(--game-accent, #0b3a6f); }
html body.fas-layout-spotlight .fas-spot-chips a[aria-current="page"] { background: var(--game-accent, #0b3a6f) !important; color: var(--game-on-accent, #fff) !important; }
html body.fas-layout-spotlight .fas-shop-toolbar { gap: 8px; margin: 0 0 14px; }
html body.fas-layout-spotlight .fas-spot-chips ~ .fas-shop-toolbar #fas-shop-cat, html body.fas-layout-spotlight .fas-spot-chips ~ .fas-shop-toolbar select#fas-shop-cat { display: none; }
html body.fas-layout-spotlight .fas-shop-toolbar-search { border-radius: 6px; }
html body.fas-layout-spotlight .woocommerce-result-count { text-align: left !important; float: none !important; margin: 0 0 12px !important; }

/* Cards: picture on top, name and price underneath, left-aligned */
html body.fas-layout-spotlight.woocommerce ul.products li.product { padding: 0 0 12px !important; text-align: left !important; background: var(--game-card, #fff) !important; }
html body.fas-layout-spotlight.woocommerce ul.products li.product img { width: 100% !important; height: auto !important; margin: 0 !important; aspect-ratio: 4 / 5; object-fit: cover; }
html body.fas-layout-spotlight.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: 'Source Sans 3', system-ui, sans-serif !important; font-size: 1.05rem !important; font-weight: 600 !important; line-height: 1.25 !important; text-align: left !important; padding: 10px 12px 0 !important; margin: 0 !important; }
html body.fas-layout-spotlight.woocommerce ul.products li.product .price { display: block; padding: 4px 12px 0; text-align: left !important; font-weight: 600; }
html body.fas-layout-spotlight.woocommerce ul.products li.product .button { margin: 8px 12px 0 !important; }

/* Item page: picture left, buying panel right */
html body.fas-layout-spotlight.single-product div.product .product_title { font-family: Sora, system-ui, sans-serif !important; font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important; text-align: left !important; }
html body.fas-layout-spotlight.single-product div.product p.price, html body.fas-layout-spotlight.single-product div.product span.price { font-size: 1.6rem !important; font-weight: 800; }
html body.fas-layout-spotlight.single-product .quantity .qty { min-height: 48px; min-width: 64px; border-radius: 6px; }
html body.fas-layout-spotlight.single-product .single_add_to_cart_button { min-height: 48px; padding: 0 28px !important; border-radius: 8px !important; }
html body.fas-layout-spotlight.single-product table.variations select { min-height: 44px; border-radius: 6px; }
html body.fas-layout-spotlight.single-product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; }
.fas-spot-note { margin: 16px 0 0; padding: 12px 14px; border-left: 4px solid var(--game-accent, #0b3a6f); background: var(--game-card, #fff); line-height: 1.55; }

/* Cart, checkout: items on the left, a summary card on the right */
html body.fas-layout-spotlight .wc-block-cart, html body.fas-layout-spotlight .wc-block-checkout { gap: 32px; }
html body.fas-layout-spotlight .wc-block-cart__sidebar, html body.fas-layout-spotlight .wc-block-checkout__sidebar { background: var(--game-card, #fff); border: 1px solid var(--game-edge, #aabacd); padding: 16px; align-self: start; }
html body.fas-layout-spotlight .wc-block-cart-items__row .wc-block-cart-item__image img { width: 96px; height: auto; border-radius: 4px; }
html body.fas-layout-spotlight .wc-block-components-button:not(.is-link) { min-height: 48px; border-radius: 8px; font-weight: 600; }
html body.fas-layout-spotlight .wc-block-components-text-input input, html body.fas-layout-spotlight .wc-block-components-select select { min-height: 48px; border-radius: 6px; }
html body.fas-layout-spotlight .wc-block-checkout__sidebar .wc-block-components-order-summary-item__image img { width: 56px; height: auto; border-radius: 4px; }
html body.fas-layout-spotlight .woocommerce-order h2, html body.fas-layout-spotlight .woocommerce-thankyou-order-received { font-family: Sora, system-ui, sans-serif !important; text-align: left !important; }

/* Sign in and My account: two plain columns */
html body.fas-layout-spotlight .woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
html body.fas-layout-spotlight .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body.fas-layout-spotlight .woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--game-edge, #aabacd); background: var(--game-card, #fff); font-weight: 600; text-decoration: none; }
html body.fas-layout-spotlight .woocommerce-MyAccount-navigation .is-active a { border-color: var(--game-accent, #0b3a6f); border-width: 2px; }
html body.fas-layout-spotlight .woocommerce-form-login, html body.fas-layout-spotlight .woocommerce-form-register { background: var(--game-card, #fff); border: 1px solid var(--game-edge, #aabacd); border-radius: 4px; padding: 18px; }
html body.fas-layout-spotlight .woocommerce-account:not(.logged-in) .woocommerce, html body.fas-layout-spotlight .woocommerce-account .u-columns { display: block; }
html body.fas-layout-spotlight .woocommerce-account .u-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
html body.fas-layout-spotlight .woocommerce-account .u-columns .u-column1, html body.fas-layout-spotlight .woocommerce-account .u-columns .u-column2 { float: none; width: auto; }

/* Article: the words in a narrow column, things for sale beside them */
.fas-spot-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
html body.fas-layout-spotlight .fas-spot-article .fas-article-card-main { max-width: 760px; }
html body.fas-layout-spotlight .fas-spot-things { background: var(--game-card, #fff); border: 1px solid var(--game-edge, #aabacd); padding: 16px; }
html body.fas-layout-spotlight .fas-spot-things h2 { font-size: 1.1rem; margin: 0 0 12px; text-align: left; }
html body.fas-layout-spotlight .fas-spot-things ul { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
html body.fas-layout-spotlight .fas-spot-things .fas-spot-card { border: 0; padding: 0; background: transparent; }
html body.fas-layout-spotlight .fas-spot-things .fas-spot-card img { aspect-ratio: 1; }
html body.fas-layout-spotlight .fas-spot-things .fas-spot-name { padding-left: 0; }
html body.fas-layout-spotlight .fas-spot-things .fas-spot-price { padding-left: 0; }

/* Tutorials and lists of articles: cards like the shop */
html body.fas-layout-spotlight .post-card-custom, html body.fas-layout-spotlight .page-card-custom { background: var(--game-card, #fff) !important; text-align: left !important; }
html body.fas-layout-spotlight .post-card-custom img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* Contents list beside a long page */
.fas-spot-toc-wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
html body.fas-layout-spotlight .fas-spot-toc { position: sticky; top: 12px; background: var(--game-card, #fff); border: 1px solid var(--game-edge, #aabacd); padding: 16px; }
html body.fas-layout-spotlight .fas-spot-toc ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
html body.fas-layout-spotlight .fas-spot-toc a { display: block; padding: 6px 0; line-height: 1.3; }
html body.fas-layout-spotlight .fas-spot-toc-body { min-width: 0; max-width: 760px; }
html body.fas-layout-spotlight .fas-spot-toc-body h2 { scroll-margin-top: 16px; }

@media (max-width: 900px) {
  .fas-spot-article, .fas-spot-toc-wrap { grid-template-columns: minmax(0, 1fr); }
  html body.fas-layout-spotlight .fas-spot-toc { position: static; }
  html body.fas-layout-spotlight .woocommerce-account .woocommerce, html body.fas-layout-spotlight .woocommerce-account .u-columns { grid-template-columns: minmax(0, 1fr); }
  html body.fas-layout-spotlight .fas-spot-things ul { flex-direction: row; flex-wrap: wrap; }
  html body.fas-layout-spotlight .fas-spot-things li { flex: 1 1 140px; }
}
html body.fas-layout-spotlight .woocommerce-products-header, html body.fas-layout-spotlight .woocommerce-products-header .page-title, html body.fas-layout-spotlight .term-description { text-align: left !important; }
html body.fas-layout-spotlight.woocommerce ul.products li.product a.button { font-size: 0.95rem !important; line-height: 1.2 !important; min-height: 44px; white-space: normal; }

/* Apps site (Frozen Arctic Apps, 2.8.0): indigo bands, app cards with a line and a button, a learn row */
html body.fas-spotlight-apps { --spot-band: #312e81; --spot-night: #0e0d26; --spot-mint: #7fe3c0; }
html body.fas-spotlight-apps .fas-spot-hero-apps { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
html body.fas-spotlight-apps .fas-spot-hero-apps .fas-spot-hero-picture img { aspect-ratio: 16 / 10; object-fit: cover; background: #fff; }
html body.fas-spotlight-apps ul.fas-spot-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body.fas-spotlight-apps .fas-spot-appcard { padding: 0 0 16px; }
html body.fas-spotlight-apps .fas-spot-appcard a { display: flex; flex-direction: column; gap: 6px; height: 100%; text-decoration: none; color: inherit; }
html body.fas-spotlight-apps .fas-spot-appcard img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #fff; border-bottom: 1px solid var(--game-edge, #b7b6d3); }
html body.fas-spotlight-apps .fas-spot-appcard .fas-spot-name { font-family: Sora, system-ui, sans-serif; font-size: 1.15rem; padding: 10px 14px 0; }
.fas-spot-line { display: block; padding: 0 14px; line-height: 1.45; }
.fas-spot-more { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin: auto 14px 0; padding: 0 20px; border: 2px solid var(--game-accent, #312e81); border-radius: 24px; font-weight: 600; color: var(--game-accent, #312e81); }
.fas-spot-learn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
html body.fas-layout-spotlight .fas-spot-learn h3 { font-size: 1.15rem; margin: 0 0 10px; text-align: left; }
html body.fas-layout-spotlight .fas-spot-learn ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
html body.fas-layout-spotlight .fas-spot-learn li a { display: block; padding: 8px 0; line-height: 1.35; border-bottom: 1px solid var(--game-edge, #b7b6d3); }
@media (max-width: 900px) {
  html body.fas-spotlight-apps .fas-spot-hero-apps { grid-template-columns: minmax(0, 1fr); }
  html body.fas-spotlight-apps ul.fas-spot-apps, .fas-spot-learn { grid-template-columns: minmax(0, 1fr); }
}

/* Alaska Original Specialties: spruce bands; clearer edges in dark mode on every Spotlight site (2.8.0, was muddy) */
html body.fas-site-aos { --spot-band: #1f5135; --spot-night: #07120c; --spot-mint: #a8e6c1; }
@supports (color: color-mix(in srgb, red 50%, blue)) {
  :root[data-fas-mode="dark"] body.fas-layout-spotlight { --game-edge: color-mix(in srgb, var(--game-accent) 75%, var(--game-card)); }
  @media (prefers-color-scheme: dark) { :root:not([data-fas-mode="light"]) body.fas-layout-spotlight { --game-edge: color-mix(in srgb, var(--game-accent) 75%, var(--game-card)); } }
}
html[data-fas-mode="dark"] body.fas-layout-spotlight .fas-spot-card, html[data-fas-mode="dark"] body.fas-layout-spotlight .fas-spot-note { border-width: 1px; }

/* Colour bands for the other network sites (2.9.0): light colour for the bands, dark colour for the footer, from each site's palette */
html body.fas-site-cpe { --spot-band: #0f6b6b; --spot-night: #0f1d1d; --spot-mint: #18aeae; }
html body.fas-site-stc { --spot-band: #9d2449; --spot-night: #221016; --spot-mint: #e07596; }
html body.fas-site-sed { --spot-band: #0e5e6f; --spot-night: #0a1a1e; --spot-mint: #19a8c5; }
html body.fas-site-cca { --spot-band: #5a3418; --spot-night: #170f0a; --spot-mint: #ce8048; }
html body.fas-site-mss { --spot-band: #3b1a6e; --spot-night: #10081f; --spot-mint: #a279e0; }
html body.fas-site-msd { --spot-band: #172554; --spot-night: #070b1a; --spot-mint: #738ad8; }
html body.fas-site-tms { --spot-band: #0f5132; --spot-night: #0a1210; --spot-mint: #20a867; }
html body.fas-layout-spotlight .fas-spot-hero .fas-spot-kicker { color: #fff !important; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.9rem; }

/* 2.9.2: hero with no picture */
html body.fas-layout-spotlight .fas-spot-hero-plain { grid-template-columns: minmax(0, 1fr); padding: 28px 40px; }
@media (max-width: 640px) { html body.fas-layout-spotlight .fas-spot-hero-plain { padding: 20px 16px; } }
