/* Add bckfc-design to an Avada container to opt its content into this system. */
.bckfc-design,
#main .bckfc-design .bckfc-accordion .panel-body {
  color: var(--bckfc-ink);
  font-family: var(--bckfc-font-body);
  font-size: var(--bckfc-text-body);
  font-weight: 400;
  line-height: 1.5;
}

.bckfc-design :where(p, li) {
  font-family: inherit;
}

/* Explicit heading roles, including the adopted native ticket section title.
   Semantic h1–h6 levels remain the author's choice. */
.bckfc-design :is(.bckfc-title, .bckfc-section-heading, .bckfc-item-heading),
#main .bckfc-design
  :is(.bckfc-title, .bckfc-section-heading, .bckfc-item-heading)
  > .fusion-title-heading,
#main #bckfc-tickets .tribe-tickets__tickets-title,
#main #bckfc-tickets .tribe-modal__content :is(.tribe-tickets__tickets-item-content-title, .tribe-ticket__tickets-heading),
#main .bckfc-design .bckfc-accordion .panel-title {
  margin: 0;
  padding: 0;
  color: inherit;
  font-family: var(--bckfc-font-heading);
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
}

.bckfc-design .bckfc-title,
#main .bckfc-design .bckfc-title > .fusion-title-heading {
  font-size: var(--bckfc-text-title);
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.bckfc-design .bckfc-section-heading,
#main .bckfc-design .bckfc-section-heading > .fusion-title-heading,
#main #bckfc-tickets .tribe-tickets__tickets-title {
  font-size: var(--bckfc-text-section);
  line-height: 1.2;
}

.bckfc-design .bckfc-item-heading,
#main .bckfc-design .bckfc-item-heading > .fusion-title-heading,
#main #bckfc-tickets .tribe-modal__content :is(.tribe-tickets__tickets-item-content-title, .tribe-ticket__tickets-heading),
#main .bckfc-design .bckfc-accordion .panel-title {
  font-size: var(--bckfc-text-item);
  font-weight: 400;
  line-height: 1.3;
}

/* Compact body-family headings, distinct from introductory lead copy. */
.bckfc-design .bckfc-compact-heading,
#main #bckfc-tickets .tribe-tickets__tickets-form .tribe-tickets__tickets-item-content-title,
#main #bckfc-tickets .tribe-modal__content .tribe-tickets__attendee-tickets-item-title {
  font-family: var(--bckfc-font-body);
  font-size: var(--bckfc-text-lead);
  font-weight: 600;
  line-height: 1.4;
}

.bckfc-design .bckfc-lead {
  font-size: var(--bckfc-text-lead);
  line-height: 1.65;
}

.bckfc-design .bckfc-supporting-text,
#main #bckfc-tickets .tribe-modal__content .tribe-tickets__form-field-description {
  font-size: var(--bckfc-text-small);
  line-height: 1.5;
}

.bckfc-design .bckfc-label {
  font-family: var(--bckfc-font-body);
  font-size: var(--bckfc-text-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bckfc-design .bckfc-accent {
  color: var(--bckfc-orange);
}

/* Surfaces own color only. Avada owns container width and section placement. */
.bckfc-design.bckfc-surface--orange {
  background: var(--bckfc-orange);
  color: var(--bckfc-white);
}
.bckfc-design.bckfc-surface--white {
  background: var(--bckfc-white);
}
.bckfc-design.bckfc-surface--tan {
  background: var(--bckfc-tan);
}
.bckfc-design.bckfc-surface--gray {
  background: var(--bckfc-gray);
}
.bckfc-design.bckfc-surface--khaki {
  background: var(--bckfc-khaki);
  color: var(--bckfc-white);
}
.bckfc-design.bckfc-surface--ink {
  background: var(--bckfc-ink);
  color: var(--bckfc-white);
}

.bckfc-design .bckfc-link {
  color: var(--bckfc-blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.bckfc-design:is(.bckfc-surface--ink, .bckfc-surface--khaki) .bckfc-link {
  color: inherit;
}
.bckfc-design .bckfc-link:hover {
  text-decoration-thickness: 2px;
}
.bckfc-design .bckfc-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.bckfc-design .bckfc-divider {
  margin-block: var(--bckfc-space-6);
  border: 0;
  border-top: 1px solid var(--bckfc-border);
}

.bckfc-design:is(.bckfc-surface--ink, .bckfc-surface--khaki) .bckfc-divider {
  border-color: var(--bckfc-border-inverse);
}

.bckfc-design .bckfc-icon,
.bckfc-design .bckfc-notice > svg,
.bckfc-header svg,
#main #bckfc-tickets .bckfc-registration-deadline svg {
  display: inline-block;
  width: var(--bckfc-icon-size);
  height: var(--bckfc-icon-size);
  flex-shrink: 0;
}

/* Shared icon/message treatment; color variants do not own section layout. */
.bckfc-design .bckfc-notice {
  --bckfc-notice-color: var(--bckfc-orange);
  --bckfc-notice-background: color-mix(in srgb, var(--bckfc-orange) 10%, transparent);
  /* Avada uses these variables for native link and hover colors. */
  --link_color: var(--bckfc-notice-color);
  --link_hover_color: var(--bckfc-notice-color);
  display: flex;
  align-items: flex-start;
  gap: var(--bckfc-space-2);
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: var(--bckfc-space-3);
  border: 1px solid var(--bckfc-notice-color);
  border-radius: var(--bckfc-radius);
  background: var(--bckfc-notice-background);
  color: var(--bckfc-notice-color);
  font-family: var(--bckfc-font-body);
  font-size: var(--bckfc-text-body);
  line-height: 1.5;
}

.bckfc-design .bckfc-notice--info {
  --bckfc-notice-color: var(--bckfc-blue);
  --bckfc-notice-background: color-mix(in srgb, var(--bckfc-blue) 8%, var(--bckfc-white));
}

.bckfc-design .bckfc-notice--compact {
  align-items: center;
  padding: var(--bckfc-space-2) var(--bckfc-space-3);
  font-size: var(--bckfc-text-small);
}

.bckfc-design .bckfc-notice .bckfc-link {
  color: inherit;
  font-weight: 600;
}

/* Authored component content shares one paragraph and heading rhythm. */
.bckfc-design .bckfc-prose > *,
#main .bckfc-design .bckfc-accordion .panel-body > * {
  margin-block: 0 var(--bckfc-space-2);
}

.bckfc-design .bckfc-prose > :last-child,
#main .bckfc-design .bckfc-accordion .panel-body > :last-child {
  margin-bottom: 0;
}

.bckfc-design .bckfc-prose :is(h2, h3, h4, h5, h6),
#main .bckfc-design .bckfc-accordion .panel-body :is(h2, h3, h4, h5, h6) {
  color: inherit;
  font-family: var(--bckfc-font-body);
  font-size: var(--bckfc-text-lead);
  font-weight: 600;
  line-height: 1.5;
}

/* Location names use body type with a shared responsive display role. */
.bckfc-design .bckfc-location-name {
  font-family: var(--bckfc-font-body);
  font-size: var(--bckfc-text-location);
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

/* Section rhythm. Apply gutters inside Avada's constrained row, not outside it.
   Custom components already sit inside that row and own their own gutter.
   The native-row selectors override Avada's #wrapper #main row-padding reset. */
.fusion-fullwidth.bckfc-section {
  padding: var(--bckfc-space-6) 0;
}

.bckfc-categories,
.bckfc-times-locations {
  padding-block: var(--bckfc-space-6);
}

#wrapper #main .fusion-fullwidth.bckfc-section > .fusion-builder-row,
.bckfc-categories,
.bckfc-times-locations,
#wrapper #main #bckfc-tickets > .fusion-fullwidth > .fusion-builder-row {
  padding-inline: var(--bckfc-space-2);
}

.bckfc-section .bckfc-section-heading,
.bckfc-categories > .bckfc-section-heading,
.bckfc-times-locations__schedule > .bckfc-section-heading {
  margin-bottom: var(--bckfc-space-6);
}

@media (min-width: 768px) {
  .fusion-fullwidth.bckfc-section,
  .bckfc-categories,
  .bckfc-times-locations {
    padding-block: var(--bckfc-space-8);
  }

  #wrapper #main .fusion-fullwidth.bckfc-section > .fusion-builder-row,
  .bckfc-categories,
  .bckfc-times-locations,
  #wrapper #main #bckfc-tickets > .fusion-fullwidth > .fusion-builder-row {
    padding-inline: var(--bckfc-space-8);
  }
}
