/* =====================================================================
   37 Customs: everything except the homepage
   (pages built with Elementor Free or the block editor, 404, search)

   - The fixed header gets a solid background (it is transparent over the
     homepage hero) and the content starts below it.
   - Content gets readable defaults, because styles.css resets margins and
     list styles for the homepage's hand-built sections.
   - Elementor pages keep Elementor's own layout; only text defaults apply.
   ===================================================================== */

.t37-inner .site-header {
  background: rgba(8, 8, 10, .92);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}

.t37-page { padding-top: var(--header-h); min-height: 60vh; }
.t37-page__article { padding-block: clamp(3rem, 7vw, 6rem); }
.t37-page__elementor { padding: 0; }
.t37-page__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.t37-page__title { font-size: clamp(2.6rem, 6vw, 5.5rem); }

/* Readable defaults for editor and Elementor text */
.entry-content {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(236, 235, 231, .9);
}
.entry-content > * + * { margin-top: 1.1em; }
.entry-content p,
.entry-content .elementor-widget-text-editor p { margin: 0 0 1em; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .95;
  color: var(--bone);
  margin: 1.2em 0 .5em;
}
.entry-content h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.entry-content h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.entry-content ul:not([class]), .entry-content ol:not([class]),
.entry-content ul.wp-block-list, .entry-content ol.wp-block-list { padding-left: 1.4em; margin: 0 0 1em; }
.entry-content ul:not([class]), .entry-content ul.wp-block-list { list-style: disc; }
.entry-content ol:not([class]), .entry-content ol.wp-block-list { list-style: decimal; }

/* Elementor widgets inherit the brand when its default colours/fonts are off. */
.elementor-widget-heading .elementor-heading-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: .95; color: var(--bone); }
.elementor-widget-text-editor { font-family: "Times New Roman", Times, serif; color: rgba(236, 235, 231, .9); }
.elementor-widget-button .elementor-button, .elementor-button.elementor-size-sm { font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; background-color: var(--led); color: var(--ink); border-radius: 0; }
.entry-content a:not(.btn):not(.elementor-button) { text-decoration: underline; text-underline-offset: .2em; }
.entry-content a:not(.btn):not(.elementor-button):hover { color: var(--led); }
.entry-content img { max-width: 100%; height: auto; }
.entry-content blockquote { border-left: 2px solid var(--line-strong); padding-left: 1.25rem; font-style: italic; }
.entry-content .elementor h1, .entry-content .elementor h2, .entry-content .elementor h3, .entry-content .elementor h4 { margin-top: 0; }

/* Footer: the same type as on the homepage (refine.css, section 7, which
   only loads there): editorial serif, "Hecho Con Orgullo." in Chomsky
   with the red period. */
.site-footer {
  --font-body: "Times New Roman", Times, "Liberation Serif", "Nimbus Roman", Tinos, serif;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}
.site-footer__mark { margin-bottom: clamp(3rem, 6vw, 5rem); }
.site-footer__slogan {
  margin: clamp(1rem, 2vw, 1.6rem) 0 0;
  text-align: center;
  font-family: "Chomsky", "Old English Text MT", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1;
  letter-spacing: .01em;
  color: #f1eee8;
}
.site-footer__slogan .dot { color: #d0141f; }

/* WooCommerce (shop, product, cart, checkout): brand colours and type only.
   WooCommerce's own layout and behaviour are unchanged. */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce-page a.button, .woocommerce-page button.button {
  background: var(--led);
  color: var(--ink);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .95rem 1.4rem;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #fff; color: var(--ink); }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--bone); font-family: var(--font-mono); }
.woocommerce .quantity .qty { min-height: 2.9rem; background: rgba(236, 235, 231, .06); color: var(--bone); border: 1px solid var(--line-strong); }
.woocommerce .related, .woocommerce .upsells { clear: both; padding-top: 2rem; }
.woocommerce span.onsale { background: var(--led); color: var(--ink); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--charcoal); color: var(--bone); border-top-color: var(--led); }

/* The contact form shortcode on any page */
.t37-contact-form { max-width: 46rem; }

.t37-404 { display: grid; gap: 1.25rem; justify-items: start; }
.t37-404__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.t37-list-item + .t37-list-item { margin-top: 2rem; }
