/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/anton-regular-67448db9.ttf") format("truetype");
}

@font-face {
  font-family: "Asap";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/asap-semibold-italic-7d6d0bff.ttf") format("truetype");
}

@font-face {
  font-family: "Barlow";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/barlow-semibold-italic-3393ed8f.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

:root {
  --wc-cream: #fffaf0;
  --wc-warm: #fff4c7;
  --wc-navy: #172033;
  --wc-navy-deep: #111827;
  --wc-orange: #ff8618;
  --wc-red: #ef503b;
  --wc-blue: #246eb9;
  --wc-purple: #4f368c;
  --wc-background-base: #d96b2f;
  --wc-page-width: 820px;
  --wc-heading-font: Anton, Impact, Haettenschweiler, "Arial Narrow Bold", "Liberation Sans Narrow", sans-serif;
  --wc-date-font: Asap, "Arial Narrow", "Liberation Sans Narrow", "DejaVu Sans Condensed", Arial, sans-serif;
  --wc-event-font: Barlow, "Arial Narrow", "Liberation Sans Narrow", "DejaVu Sans Condensed", Arial, sans-serif;
}

html {
  background: var(--wc-background-base);
}

body {
  position: relative;
  margin: 0;
  color: var(--wc-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: transparent;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: 120vh;
  min-height: 120svh;
  pointer-events: none;
  background:
    linear-gradient(rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0.38)),
    url("/assets/post-bg-vector-63ec6191.svg") center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(var(--wc-page-width), calc(100% - 28px));
  margin: 0 auto;
  padding: 10px 0 56px;
}

.site-header {
  width: min(var(--wc-page-width), calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 8px;
}

.site-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.site-brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wc-cream);
  object-fit: cover;
  transform: translateY(5px);
}

.site-brand-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.site-brand-kicker {
  color: var(--wc-warm);
  font-family: var(--wc-date-font);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-brand-title {
  font-family: var(--wc-heading-font);
  font-size: clamp(2.7rem, 8vw, 4.65rem);
  font-weight: 400;
  line-height: 0.82;
  text-shadow: 0 4px 2px rgba(241, 39, 17, 0.5);
  text-transform: uppercase;
  white-space: nowrap;
}

h1,
h2 {
  margin: 0;
  line-height: 1;
}

h1 {
  font-family: var(--wc-heading-font);
  font-size: clamp(2rem, 7vw, 3.55rem);
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: 0 4px 2px rgba(241, 39, 17, 0.5);
}

h2 {
  margin-bottom: 12px;
  font-family: var(--wc-date-font);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
}

.quick-actions,
.link-list,
.regular-list,
.people-list {
  gap: 10px;
}

.quick-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 4px 0 18px;
}

.quick-action-row {
  display: contents;
}

.quick-link,
.event-link,
.regular-show,
.person-link {
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: var(--event-tile-color, rgba(239, 80, 59, 0.5));
  box-shadow: 2px 2px 0 rgba(239, 80, 59, 0.78);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.action-button,
.social-link {
  min-height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(239, 80, 59, 0.5);
  color: var(--wc-cream);
  box-shadow: 2px 2px 0 rgba(239, 80, 59, 0.72);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 40px;
  padding: 0 10px;
  font: inherit;
  font-family: var(--wc-event-font);
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.action-button[data-copied="true"] {
  background: rgba(36, 110, 185, 0.72);
}

.quick-link:hover,
.event-link:not(.event-link--static):hover,
.regular-show:not(.regular-show--static):hover,
a.person-link:hover,
.action-button:hover,
.social-link:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 2px 2px 0 rgba(239, 80, 59, 0.88);
  transform: translate(2px, 2px);
}

.quick-link {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-link--active {
  background: rgba(23, 32, 51, 0.34);
}

.link-section {
  margin-top: 28px;
}

.regular-shows h2,
.link-section h2 {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 1px;
  background: rgba(23, 32, 51, 0.22);
}

.link-section h2 {
  margin-bottom: 10px;
}

.section-date-range {
  color: var(--wc-warm);
  font-size: 0.86em;
}

.regular-shows {
  margin: 2px auto 26px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  background: rgba(23, 32, 51, 0.1);
  box-shadow: 2px 2px 0 rgba(239, 80, 59, 0.68);
}

.regular-shows h2 {
  margin: -2px 0 8px -2px;
  font-size: 0.82rem;
}

.regular-list,
.link-list,
.people-list {
  display: grid;
}

.regular-show {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 9px;
  border-width: 2px;
  box-shadow: none;
}

.event-link {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 14px 16px;
}

.organizer-shell .event-link {
  grid-template-columns: 86px minmax(0, 1fr) auto;
}

.regular-show {
  background: var(--event-tile-color, rgba(239, 80, 59, 0.5));
}

.regular-show .event-card-action {
  min-height: 30px;
  gap: 5px;
  padding: 5px 7px;
  font-size: 0.68rem;
}

.regular-show .event-card-action .icon {
  width: 16px;
  height: 16px;
}

.event-link--static,
.regular-show--static,
.person-link--static {
  cursor: default;
}

.event-day,
.event-source {
  font-family: var(--wc-heading-font);
  font-size: 0.74rem;
  font-weight: 400;
  text-transform: uppercase;
}

.event-main {
  min-width: 0;
}

.event-card-body {
  display: contents;
}

.event-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.event-card-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 9px;
  appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 0;
  background: rgba(23, 32, 51, 0.28);
  box-shadow: 2px 2px 0 rgba(239, 80, 59, 0.58);
  color: inherit;
  cursor: pointer;
  font-family: var(--wc-event-font);
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.event-card-action--danger {
  background: rgba(23, 32, 51, 0.38);
}

.event-card-action:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 1px 1px 0 rgba(239, 80, 59, 0.88);
}

.event-main strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--wc-event-font);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.05;
}

.event-main small {
  display: block;
  margin-top: 7px;
  color: var(--wc-warm);
  font-family: var(--wc-event-font);
  font-size: 0.86rem;
  font-style: italic;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.site-shell:not(.organizer-shell) .event-day {
  color: var(--wc-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.site-shell:not(.organizer-shell) .regular-show .event-day {
  font-size: 0.7rem;
}

.site-shell:not(.organizer-shell) .regular-show .event-main strong {
  font-size: 1.05rem;
}

.site-shell:not(.organizer-shell) .regular-show .event-main small {
  margin-top: 3px;
  font-size: 0.7rem;
  line-height: 1.15;
}

.event-day-name,
.event-date {
  display: block;
}

.event-date {
  margin-top: 4px;
  color: var(--wc-warm);
  font-size: 0.74em;
}

.site-shell:not(.organizer-shell) .event-main strong {
  font-size: 1.38rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.site-shell:not(.organizer-shell) .event-main small {
  color: var(--wc-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.25;
}

.organizer-events-list .event-day,
.organizer-events-list .event-source {
  color: var(--wc-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.organizer-events-list .event-main strong {
  font-size: 1.38rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.organizer-events-list .event-main small {
  color: var(--wc-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.25;
}

.organizer-event-actions {
  display: grid;
  grid-template-columns: 34px;
  align-content: center;
  justify-content: end;
  justify-items: end;
  gap: 6px;
}

.organizer-event-actions .button_to {
  width: 34px;
}

.organizer-event-actions .event-card-action {
  width: 34px;
  min-height: 34px;
  gap: 0;
  padding: 0;
}

.organizer-event-actions .event-card-action .icon {
  width: 18px;
  height: 18px;
}

.organizer-event-actions .event-card-action span {
  display: none;
}

.organizer-event-actions .event-source {
  justify-self: center;
  max-width: 62px;
  min-width: 0;
  text-align: center;
  font-size: 0.66rem;
  line-height: 1;
}

.organizer-profile-stats {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(23, 32, 51, 0.22);
  color: var(--wc-cream);
  font-family: var(--wc-event-font);
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
}

.account-stats {
  margin-bottom: 14px;
}

.organizer-profile-stats strong,
.organizer-click-stats strong {
  font-style: normal;
  font-weight: 900;
}

.organizer-click-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
  color: var(--wc-warm);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.organizer-click-stat {
  padding: 3px 5px;
  background: rgba(23, 32, 51, 0.2);
}

.stat-label--short {
  display: none;
}

.people-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.person-link {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-family: var(--wc-event-font);
  font-style: italic;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.empty-section {
  margin: 0;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: var(--wc-warm);
  font-weight: 700;
}

.flash {
  width: min(720px, calc(100% - 28px));
  margin: 12px auto 0;
}

.flash p {
  margin: 0 0 8px;
  padding: 12px 14px;
  background: #fffaf0;
  color: #172033;
  font-weight: 800;
}

.organizer-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}

.organizer-header h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.organizer-header .quick-link {
  min-width: 142px;
}

.organizer-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.organizer-actions .button_to {
  display: inline-flex;
  margin: 0;
}

.event-card-actions .button_to {
  display: inline-flex;
  width: max-content;
  margin: 0;
}

.organizer-actions .quick-link {
  min-width: 118px;
}

.organizer-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.organizer-tabs .quick-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
}

.tab-count {
  min-width: 1.6em;
  padding: 2px 5px;
  background: rgba(23, 32, 51, 0.32);
  text-align: center;
}

.recurring-help {
  margin: 0 0 16px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(23, 32, 51, 0.2);
  color: var(--wc-warm);
  font-weight: 700;
  line-height: 1.35;
}

.quick-link--button {
  width: 100%;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: 900;
  line-height: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.event-form,
.event-import-box {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 134, 24, 0.44);
  box-shadow: 2px 2px 0 rgba(239, 80, 59, 0.78);
}

.event-import-box {
  margin-bottom: 16px;
}

.event-form label,
.event-import-box label {
  display: grid;
  gap: 7px;
  font-weight: 900;
  text-transform: uppercase;
}

.field-label {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35em;
}

.required-label {
  color: var(--wc-warm);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: none;
}

.event-form fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.event-form legend {
  padding: 0 6px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-hint {
  margin: 0;
  color: var(--wc-warm);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.attached-handles {
  display: grid;
  gap: 8px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  padding: 12px;
  background: rgba(23, 32, 51, 0.2);
}

.attached-handles-title {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.attached-handles ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.attached-handles li {
  font-weight: 700;
}

.event-form input,
.event-form select,
.event-import-box input {
  min-height: 46px;
  width: 100%;
  border: 2px solid #fff;
  border-radius: 0;
  padding: 8px 10px;
  background: #fffaf0;
  color: #172033;
  font: inherit;
  font-weight: 700;
}

.event-form input[type="checkbox"] {
  appearance: none;
  display: grid;
  place-items: center;
  min-height: 28px;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 3px solid #fff;
  background: #fffaf0;
  cursor: pointer;
}

.event-form input[type="checkbox"]:checked {
  background: #172033 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5 8 14.5 16 5.5' fill='none' stroke='%23fffaf0' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

.event-form input[type="checkbox"]:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

.checkbox-label {
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  text-transform: none;
}

.recurring-dependent {
  transition: opacity 140ms ease;
}

.recurring-dependent[aria-disabled="true"] {
  opacity: 0.48;
}

.event-form input:disabled,
.event-form select:disabled {
  background: rgba(255, 250, 240, 0.58);
  color: rgba(23, 32, 51, 0.58);
  cursor: not-allowed;
}

.form-submit {
  min-height: 54px;
  border: 3px solid #fff;
  background: #172033;
  color: #fffaf0;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.form-errors {
  padding: 10px 12px;
  background: #fffaf0;
  color: #b91c1c;
  font-weight: 800;
}

.form-errors p {
  margin: 0;
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 16px;
  }

  .quick-actions {
    display: grid;
    justify-items: center;
    gap: 12px;
  }

  .quick-action-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .quick-action-row--primary .action-button {
    flex: 0 1 auto;
    min-width: 0;
  }

  .site-brand {
    gap: 10px;
  }

  .site-brand-logo {
    width: 44px;
    height: 44px;
    transform: translateY(4px);
  }

  .site-brand-kicker {
    font-size: 0.62rem;
  }

  .site-brand-title {
    font-size: clamp(2.1rem, 12vw, 2.9rem);
  }

  .action-button {
    min-height: 38px;
    padding: 0 9px;
    font-size: 0.9rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .people-list {
    grid-template-columns: 1fr;
  }

  .regular-shows {
    padding: 10px;
  }

  .regular-show,
  .event-link {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
  }

  .organizer-shell .organizer-events-list .event-link {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .organizer-header {
    display: block;
  }

  .organizer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .organizer-actions > .quick-link,
  .organizer-actions > .button_to {
    flex: 1 1 calc((100% - 16px) / 3);
  }

  .organizer-actions .quick-link,
  .organizer-actions .quick-link--button {
    min-width: 0;
    width: 100%;
    min-height: 46px;
    padding: 8px 7px;
    font-size: 0.86rem;
  }

  .event-card-body {
    display: grid;
    gap: 8px;
    grid-column: 1;
    min-width: 0;
  }

  .event-card-actions {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: 42px;
    display: grid;
    grid-template-columns: 42px;
    justify-items: end;
    gap: 6px;
  }

  .organizer-events-list .event-main strong {
    font-size: 1.38rem;
    line-height: 1;
  }

  .organizer-events-list .event-main small {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .organizer-events-list .organizer-click-stats {
    margin-top: 8px;
    gap: 4px;
    font-size: 0.66rem;
  }

  .organizer-events-list .organizer-click-stat {
    padding: 3px 4px;
  }

  .organizer-events-list .stat-label--long {
    display: none;
  }

  .organizer-events-list .stat-label--short {
    display: inline;
  }

  .organizer-tabs {
    gap: 7px;
  }

  .organizer-tabs .quick-link {
    min-height: 42px;
    gap: 4px;
    padding: 7px 4px;
    font-size: clamp(0.7rem, 3vw, 0.82rem);
  }

  .organizer-tabs .tab-count {
    min-width: 1.4em;
    padding: 2px 4px;
  }

  .site-shell:not(.organizer-shell) .event-day {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .organizer-events-list .event-day {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .event-date {
    display: inline;
    margin-top: 0;
  }

  .event-date::before {
    content: "(";
  }

  .event-date::after {
    content: ")";
  }

  .regular-show > .event-day,
  .regular-show > .event-main,
  .event-link > .event-day,
  .event-link > .event-main {
    grid-column: 1;
  }

  .event-card-action {
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .event-card-action span {
    display: none;
  }

  .regular-show {
    min-height: 0;
    padding: 8px;
  }

  .regular-show .event-card-body {
    gap: 5px;
  }

  .regular-show .event-card-actions {
    gap: 4px;
  }

  .regular-show .event-card-action {
    width: 34px;
    min-height: 34px;
  }

  .event-source {
    display: none;
  }
}

.post-preview-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #172033;
}

.instagram-post {
  --post-scale: 0.4;
  --post-shadow-red-25: rgba(241, 39, 17, 0.25);
  --post-shadow-red-50: rgba(241, 39, 17, 0.5);
  --post-heading-shadow:
    0
    calc(4px * var(--post-scale))
    calc(2px * var(--post-scale))
    var(--post-shadow-red-50);
  --post-event-shadow:
    0
    calc(4px * var(--post-scale))
    calc(4px * var(--post-scale))
    var(--post-shadow-red-50);
  --post-day-shadow:
    0
    calc(4px * var(--post-scale))
    calc(4px * var(--post-scale))
    var(--post-shadow-red-25);
  --post-type-shadow:
    0
    calc(4px * var(--post-scale))
    calc(2px * var(--post-scale))
    var(--post-shadow-red-25);
  --post-heading-font: Anton, Impact, Haettenschweiler, "Arial Narrow Bold", "Liberation Sans Narrow", sans-serif;
  --post-date-font: Asap, "Arial Narrow", "Liberation Sans Narrow", "DejaVu Sans Condensed", Arial, sans-serif;
  --post-event-font: Barlow, "Arial Narrow", "Liberation Sans Narrow", "DejaVu Sans Condensed", Arial, sans-serif;
  width: min(100%, 432px);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  padding:
    calc(36px * var(--post-scale))
    0
    calc(40px * var(--post-scale));
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 141, 26, 0.02), rgba(238, 73, 58, 0.08)),
    url("/assets/post-bg-b7cef855.png") center / cover;
  color: #fff;
}

.post-heading {
  width: calc(461px * var(--post-scale));
  flex: 0 0 calc(221px * var(--post-scale));
  display: grid;
  grid-template-rows:
    calc(56px * var(--post-scale))
    calc(100px * var(--post-scale))
    calc(41px * var(--post-scale));
  gap: calc(12px * var(--post-scale));
  margin: 0 auto calc(33px * var(--post-scale));
  text-align: center;
  text-transform: uppercase;
  text-shadow: var(--post-heading-shadow);
}

.post-heading p,
.post-heading h1,
.post-heading span {
  margin: 0;
  font-family: var(--post-heading-font);
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: var(--post-heading-shadow);
  white-space: nowrap;
}

.post-heading p {
  font-size: calc(64px * var(--post-scale));
  line-height: calc(56px * var(--post-scale));
}

.post-heading h1 {
  font-size: calc(128px * var(--post-scale));
  line-height: calc(100px * var(--post-scale));
}

.post-heading span {
  display: block;
  font-family: var(--post-date-font);
  font-size: calc(36px * var(--post-scale));
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  line-height: calc(41px * var(--post-scale));
}

.post-events {
  width: calc(950px * var(--post-scale));
  min-height: 0;
  flex: 0 0 calc(1020px * var(--post-scale));
  display: grid;
  grid-template-rows: repeat(var(--event-count), minmax(0, 1fr));
  align-self: center;
  gap: calc(16px * var(--post-scale));
}

.post-event-card {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding:
    0
    calc(100px * var(--post-scale));
  border: calc(4px * var(--post-scale)) solid #fff;
  background: var(--event-tile-color, rgba(241, 39, 17, 0.25));
}

.post-event-day,
.post-event-type,
.post-event-title,
.post-event-meta {
  letter-spacing: 0;
}

.post-event-day,
.post-event-type {
  position: absolute;
  font-family: var(--post-heading-font);
  font-size: calc(24px * var(--post-scale));
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: none;
}

.post-event-day {
  top: calc(8px * var(--post-scale));
  left: calc(8px * var(--post-scale));
  text-shadow: var(--post-day-shadow);
}

.post-event-type {
  right: calc(8px * var(--post-scale));
  bottom: calc(8px * var(--post-scale));
  text-shadow: var(--post-type-shadow);
}

.post-event-copy {
  position: absolute;
  top: 50%;
  left: calc(-25px * var(--post-scale));
  width: calc(1000px * var(--post-scale));
  transform: translateY(-50%);
  display: grid;
  justify-items: center;
  gap: calc(6px * var(--post-scale));
  text-align: center;
}

.post-event-title,
.post-event-meta {
  display: block;
  max-width: 100%;
  font-family: var(--post-event-font);
  font-size: calc(50px * var(--post-scale));
  font-style: italic;
  font-weight: 600;
  line-height: 0.98;
  overflow-wrap: anywhere;
  text-shadow: var(--post-event-shadow);
  text-wrap: balance;
}

.instagram-post--count-6 .post-event-title,
.instagram-post--count-6 .post-event-meta,
.instagram-post--count-7 .post-event-title,
.instagram-post--count-7 .post-event-meta {
  font-size: calc(42px * var(--post-scale));
}

.post-preview-shell--export {
  width: 1080px;
  height: 1350px;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.post-preview-shell--export .instagram-post {
  --post-scale: 1;
  width: 1080px;
  height: 1350px;
  aspect-ratio: auto;
}
