/*
Theme Name: Howl (Hello Elementor Child)
Template: hello-elementor
Author: bd
Version: 1.0.1766542416
Updated: 2025-12-24 02:13:36
*/

/* =========================================================
   Howl Yeah — Global Typography / Spacing
   ========================================================= */

/* Paragraph spacing: justify + 10px spacing (except last) */
.elementor-widget-text-editor p:not(:last-child),
.elementor-widget-theme-post-content p:not(:last-child) {
  text-align: justify;
  padding-bottom: 10px !important;
}

/* Last paragraph: no extra space */
.elementor-widget-text-editor p:last-of-type,
.elementor-widget-theme-post-content p:last-of-type {
  margin-bottom: 0 !important;
}

/* Global link styling (dotted underline) */
a {
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-decoration-style: dotted !important;
  text-decoration-color: #7a7a7a !important;
}

/* Remove underline in headings / specific elements */
h2 a,
p.elementor-heading-title.elementor-size-default a,
a.emm6 {
  text-decoration: none !important;
}

/* Wrap long URLs / strings so they don't break the container */
.entry-content,
.entry-content p,
.entry-content a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Helps with long unbroken stuff (rare but useful) */
.entry-content pre,
.entry-content code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* =========================================================
   WPForms — Form #22412
   ========================================================= */

#wpforms-22412 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#wpforms-22412-field_1-container {
  padding-top: 10px !important;
}

#wpforms-22412 .wpforms-field-label {
  font-family: "futura";
  font-size: 22px;
  text-transform: uppercase;
  color: #7a7a7a;
  margin-bottom: 2px;
}

#wpforms-22412-field_1,
#wpforms-22412-field_2,
#wpforms-22412-field_3 {
  font-family: "letter";
  font-size: 18px;
  letter-spacing: 0.5px !important;
  color: #7a7a7a;
}

/* Submit button base */
#wpforms-submit-22412 {
  background-color: #fff;
  border: 1px solid #7a7a7a;
  border-radius: 0;
  font-family: "futura";
  color: #7a7a7a;
  text-transform: uppercase;
}

/* WPForms submit button — kill gradient hover, use flat color */
div.wpforms-container-full button[type="submit"]:hover,
div.wpforms-container-full button[type="submit"]:active,
div.wpforms-container-full .wpforms-page-button:hover,
div.wpforms-container-full .wpforms-page-button:active {
  background: #f8f8f8 !important;
  background-image: none !important;
}

div.wpforms-container-full button[type="submit"]:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* =========================================================
   Q / A Block
   ========================================================= */

.hy-qa p {
  display: grid;
  grid-template-columns: 1.2em 1fr;
  column-gap: 0.15em;
  margin: 0 0 1em 0;
}

.hy-qa p strong:first-child {
  grid-column: 1;
}

/* =========================================================
   Footnotes
   ========================================================= */

.hy-footnotes p {
  position: relative;
  margin: 0 0 0.4em 0;
  padding-left: 0.6em;
}

.hy-footnotes p > sup:first-child {
  position: absolute;
  left: 0;
  top: 0;
}

/* =========================================================
   Timeline (BDT)
   ========================================================= */

.bdt-timeline-arrow {
  display: none;
}

.bdt-timeline-item-main-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =========================================================
   HR — Dotted
   ========================================================= */

hr.hy-dotted {
  border: 0;
  border-top: 1px dotted #7a7a7a;
  margin: 10px 0;
}

/* =========================================================
   Buttons (EMM)
   ========================================================= */

button.emm13.emm54icon {
  padding: 0 !important;
}

/* =========================================================
   Lists — Baseline reset
   ========================================================= */

.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   NUMBERED LISTS — .hy-ol (FINAL, link-safe)
   ========================================================= */

/* 1) HARD ZERO any padding/margins on wrappers inside hy-ol */
.hy-ol,
.hy-ol .elementor-widget-container,
.hy-ol .elementor-text-editor {
  margin: 0 !important;
  padding: 0 !important;
}

/* 2) Turn OFF paragraph spacing inside list items */
.hy-ol ol li p {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  text-align: inherit !important;
}

/* 3) List formatting: no native markers, custom counter */
.hy-ol ol {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  counter-reset: hy-item !important;

  --hy-gap: 0.18em; /* questionnaire gap */
  --hy-numw: 3ch;   /* “10.” width */
}

/* Some themes attach markers to LI instead of OL */
.hy-ol ol > li {
  list-style: none !important;
  list-style-type: none !important;
  counter-increment: hy-item !important;

  position: relative !important;
  margin: 0 !important;

  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;

  /* text starts after number column + gap */
  padding-left: calc(var(--hy-numw) + var(--hy-gap)) !important;

  /* keep text/link line-height consistent */
  line-height: inherit !important;
}

/* Nuclear: hide any remaining native marker if forced */
.hy-ol ol > li::marker {
  font-size: 0 !important;
  line-height: 0 !important;
}

/* Custom number */
.hy-ol ol > li::before {
  content: counter(hy-item) "." !important;

  position: absolute !important;
  left: 0 !important;
  top: 0 !important;

  width: var(--hy-numw) !important;
  text-align: right !important; /* 1–9 align to same right edge as 10 */
  white-space: nowrap !important;

  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;

  line-height: inherit !important;
}

/* 4) Links inside hy-ol: prevent “break anywhere” chaos */
.hy-ol ol > li a {
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;

  line-height: inherit !important;
  display: inline !important;
}

/* =========================================================
   Podcast Links “cards” — base behavior
   Class on each card container: .hy-podcast-link
   ========================================================= */

.hy-podcast-link{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Keep the image from shrinking weirdly */
.hy-podcast-link .elementor-widget-image{
  flex: 0 0 auto;
}

/* Let text take remaining space */
.hy-podcast-link .elementor-widget-text-editor{
  flex: 1 1 auto;
  min-width: 0; /* prevents overflow issues in flex layouts */
}


/* =========================================================
   Podcast Links grid — scoped container queries
   Class on wrapper container: .hy-podcast-links-wrap
   IMPORTANT: We target .e-con-inner because THAT is the actual layout wrapper.
   ========================================================= */

/* Enable container queries on the wrapper */
.hy-podcast-links-wrap{
  container-type: inline-size;
}

/* Phone-ish widths (relative to the wrapper): force 2 columns */
@container (max-width: 700px){
  .hy-podcast-links-wrap > .e-con-inner{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }
}
