/*
Theme Name: TazStarling
Theme URI: https://tazstarling.com
Author: Starling Gate Press
Description: Block theme for TazStarling.com — a premium illustrated fantasy-adventure catalog for parents, educators and adult book selectors. Presentation only; the book catalog data model lives in the TazStarling Catalog plugin.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tazstarling
Tags: blog, one-column, block-patterns, full-site-editing, accessibility-ready
*/

/* ---------- Skip link ---------- */
.skip-link{position:absolute;left:-9999px;top:8px;z-index:200;background:var(--wp--preset--color--gold-300);
  color:var(--wp--preset--color--navy-950);padding:12px 20px;border-radius:6px;font-weight:700;text-decoration:none}
.skip-link:focus{left:12px}

/* ---------- Focus ---------- */
:focus-visible{outline:3px solid var(--wp--preset--color--gold-300);outline-offset:3px;border-radius:3px}

/* ---------- Header ---------- */
.ts-header{border-bottom:1px solid rgba(195,154,62,.28);position:sticky;top:0;z-index:100;
  background:rgba(11,23,48,.96);backdrop-filter:blur(8px)}
.ts-wordmark a,.ts-wordmark{font-family:var(--wp--preset--font-family--display);font-weight:700;
  font-size:23px;letter-spacing:.05em;text-decoration:none;color:var(--wp--preset--color--parchment-50);
  white-space:nowrap}
.ts-tagline{font-size:9.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--wp--preset--color--gold-300);margin-top:3px;white-space:nowrap}
.ts-header .wp-block-navigation{font-weight:600}
.ts-header .wp-block-navigation a{white-space:nowrap}
@media (max-width:782px){ .ts-tagline{display:none} .ts-wordmark a,.ts-wordmark{font-size:20px} }

/* ---------- Announcement bar ---------- */
.ts-announce{background:var(--wp--preset--color--navy-950);
  border-bottom:1px solid rgba(195,154,62,.35);font-size:15.5px;text-align:center;padding:10px 16px}
.ts-announce a{color:var(--wp--preset--color--gold-300);font-weight:700}

/* ---------- Sections seeded by the plugin ---------- */
.tsc-hero{background:var(--wp--preset--color--navy-950);padding-block:clamp(40px,6vw,72px)}
.tsc-hero .wp-block-image img{border-radius:10px;border:1px solid rgba(195,154,62,.35)}
.tsc-section{padding-block:clamp(44px,6vw,80px)}
.tsc-section--deep{background:var(--wp--preset--color--navy-950)}
.tsc-section--parch{background:var(--wp--preset--color--parchment-50);color:var(--wp--preset--color--ink-900)}
.tsc-section--parch h1,.tsc-section--parch h2,.tsc-section--parch h3{color:var(--wp--preset--color--navy-900)}
.tsc-section--parch a{color:var(--wp--preset--color--gold-700)}
.tsc-section--parch .tsc-eyebrow{color:var(--wp--preset--color--gold-700)}
.tsc-section--parch .tsc-meta{color:#3B4459}

/* ---------- Prose ---------- */
.entry-content > *{max-width:var(--wp--style--global--content-size)}
.entry-content > .alignwide{max-width:var(--wp--style--global--wide-size)}
.entry-content p{max-width:68ch}

/* ---------- Cards / details ---------- */
.wp-block-details{border:1px solid rgba(195,154,62,.3);border-radius:8px;padding:16px 20px;margin-block:12px}
.wp-block-details summary{font-family:var(--wp--preset--font-family--display);font-weight:700;
  font-size:20px;cursor:pointer;min-height:44px;display:flex;align-items:center}

/* ---------- Footer ---------- */
.ts-footer{background:var(--wp--preset--color--navy-950);border-top:1px solid rgba(195,154,62,.35);
  color:var(--wp--preset--color--silver-200);font-size:16px}
.ts-footer a{color:var(--wp--preset--color--silver-200);text-decoration:none}
.ts-footer a:hover{color:var(--wp--preset--color--gold-300);text-decoration:underline}
.ts-footer-legal{font-size:14.5px;color:var(--wp--preset--color--silver-400);
  border-top:1px solid rgba(195,154,62,.25);padding-top:24px;margin-top:32px}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;
    scroll-behavior:auto!important}
}
