/*
Theme Name: Inspiro Blocks Child — Dubas
Theme URI: https://dubasvideography.com
Description: Child theme for Dubas Videography. Palette, type scale, and spacing live in theme.json. This file only holds the handful of things blocks can't express on their own.
Author: Jeremiah Dubas
Template: inspiro-blocks
Version: 1.0
Text Domain: inspiro-blocks-child
*/

/* ============================================================
   HOW TO USE THIS FILE
   Each class below is applied through the block sidebar:
   Block → Advanced → Additional CSS class(es)
   You never edit CSS to build a page. You pick blocks and tag them.
   ============================================================ */


/* --- Eyebrow: the small mono label above a section heading ---
   Apply to: a Paragraph block                     class: eyebrow      */
.eyebrow {
  font-family: var(--wp--preset--font-family--mono);
  font-size: var(--wp--preset--font-size--eyebrow);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--wp--preset--color--dust);
  margin-bottom: 14px;
}


/* --- Film slate: the signature element ---
   Apply to: a Group block holding the couple heading + detail line
   class: film-slate                                                  */
.film-slate {
  border-left: 2px solid var(--wp--preset--color--rock);
  padding-left: 14px;
  margin-top: 16px;
}
.film-slate h3 { margin: 0 0 5px; }

/* the location / elevation / runtime line inside a slate
   Apply to: the Paragraph inside              class: slate-data       */
.slate-data {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10.5px;
  line-height: 1.85;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--wp--preset--color--dust);
  margin: 0;
}


/* --- Hero: darkens a Cover block so text stays readable over video ---
   Apply to: a Cover block                     class: hero-film        */
.hero-film { min-height: 78vh; }
.hero-film > .wp-block-cover__background {
  background: linear-gradient(to top,
    rgba(18,22,28,.96) 8%,
    rgba(18,22,28,.35) 55%,
    rgba(18,22,28,.55) 100%) !important;
  opacity: 1 !important;
}
.hero-film .wp-block-cover__inner-container {
  align-self: flex-end;
  padding-bottom: 66px;
}


/* --- Location grid: hairline-separated cells ---
   Apply to: a Columns block                   class: loc-grid         */
.loc-grid {
  border: 1px solid var(--wp--preset--color--line);
  gap: 1px !important;
  background: var(--wp--preset--color--line);
}
.loc-grid > .wp-block-column {
  background: var(--wp--preset--color--ink);
  padding: 26px 22px;
}
.loc-grid .elev {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  color: var(--wp--preset--color--rock);
  margin: 0 0 11px;
}


/* --- Pricing tiers ---
   Apply to: each Column        class: tier    (add tier-featured too) */
.tier {
  border-top: 1px solid var(--wp--preset--color--line);
  padding-top: 22px;
}
.tier-featured { border-top-color: var(--wp--preset--color--rock); }
.tier .price {
  font-family: var(--wp--preset--font-family--display);
  font-size: 40px;
  line-height: 1;
  color: var(--wp--preset--color--stone);
  margin: 0;
}
.tier .tier-name {
  color: var(--wp--preset--color--stone);
  font-weight: 500;
  font-size: 16px;
  margin: 8px 0 14px;
}
.tier ul {
  list-style: none;
  padding: 0;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 11px;
  line-height: 2.2;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--wp--preset--color--dust);
}
.tag {
  display: inline-block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 9.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--wp--preset--color--rock);
  margin-bottom: 9px;
}


/* --- FAQ: restyles the core Details block into a clean accordion ---
   Apply to: a Group wrapping your Details blocks   class: faq         */
.faq .wp-block-details {
  border-bottom: 1px solid var(--wp--preset--color--line);
  padding: 0;
}
.faq .wp-block-details:first-of-type {
  border-top: 1px solid var(--wp--preset--color--line);
}
.faq .wp-block-details summary {
  padding: 20px 0;
  cursor: pointer;
  color: var(--wp--preset--color--stone);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq .wp-block-details summary::-webkit-details-marker { display: none; }
.faq .wp-block-details summary::after {
  content: '+';
  font-family: var(--wp--preset--font-family--mono);
  color: var(--wp--preset--color--rock);
  flex-shrink: 0;
}
.faq .wp-block-details[open] summary::after { content: '\2212'; }
.faq .wp-block-details p { padding-bottom: 22px; }


/* --- Pull quotes: short, not walls of text ---
   Apply to: a Quote block                     class: pull             */
.pull p {
  font-family: var(--wp--preset--font-family--display);
  font-size: 22px;
  line-height: 1.35;
  color: var(--wp--preset--color--stone);
}
.pull cite {
  display: block;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--wp--preset--color--dust);
  margin-top: 13px;
}


/* --- Section rule: hairline above a section ---
   Apply to: a Group block                     class: ruled            */
.ruled { border-top: 1px solid var(--wp--preset--color--line); }


/* --- Accessibility floor --- */
:where(a, button, summary):focus-visible {
  outline: 2px solid var(--wp--preset--color--sky);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
