main.poker-formats-page {
  padding-top: 0;
}

.poker-formats-page .pft-section {
  padding-block: var(--space-9);
}

.poker-formats-page .pft-section + .pft-section {
  border-top: var(--border-rule);
}

.poker-formats-page .pft-hero {
  padding-top: 0;
}

.poker-formats-page .pft-hero > .container {
  width: 100%;
  max-width: none;
}

.poker-formats-page .pft-hero__stage {
  position: relative;
  width: 100%;
  min-width: 0;
}

.poker-formats-page .pft-hero__media {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-paper-muted);
}

.poker-formats-page .pft-hero__media img,
.poker-formats-page .pft-media img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.poker-formats-page .pft-hero__media img {
  object-position: 58% 58%;
}

.poker-formats-page .pft-hero__panel {
  position: absolute;
  bottom: var(--space-6);
  left: max(
    var(--space-6),
    calc((100% - var(--container-max)) / 2 + var(--space-6))
  );
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: clamp(24.375rem, 43vw, 31.875rem);
  min-width: 0;
  padding: 1.75rem;
  border-radius: var(--radius-card);
  background: var(--color-paper);
  box-shadow: var(--shadow-panel);
}

.poker-formats-page .pft-hero__panel > * {
  min-width: 0;
  margin: 0;
}

.poker-formats-page .pft-hero__title {
  font-size: clamp(3.25rem, 5.2vw, 4.5rem);
  line-height: 0.94;
}

.poker-formats-page .pft-hero__deck {
  max-width: 35rem;
  color: var(--color-ink-muted);
  font-size: var(--text-deck);
  line-height: var(--leading-deck);
}

.poker-formats-page .pft-hero__support {
  color: var(--color-ink-muted);
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
}

.poker-formats-page .pft-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.poker-formats-page .pft-hero__actions > * {
  min-width: 0;
}

.poker-formats-page .pft-text-spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-5);
  row-gap: var(--space-6);
}

.poker-formats-page .pft-text-spread__main {
  grid-column: 1 / span 7;
  width: 100%;
  min-width: 0;
  max-width: 40.625rem;
}

.poker-formats-page .pft-text-spread__note {
  grid-column: 10 / span 3;
  width: 100%;
  min-width: 0;
  max-width: 17.8125rem;
  align-self: start;
  padding: var(--space-4);
  border-left: 1px solid var(--color-wine);
  background: var(--color-paper-muted);
}

.poker-formats-page .pft-text-spread__note p {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.18;
}

.poker-formats-page .pft-text-spread__closing {
  grid-column: 1 / span 7;
  width: 100%;
  min-width: 0;
  max-width: 40.625rem;
  padding-top: var(--space-5);
  border-top: var(--border-rule);
}

.poker-formats-page .pft-section-heading {
  width: 100%;
  min-width: 0;
  max-width: 38.75rem;
}

.poker-formats-page .pft-section-heading--wide {
  max-width: 43.75rem;
}

.poker-formats-page .pft-format-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
  margin-top: var(--space-7);
}

.poker-formats-page .pft-format {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  min-width: 0;
  padding-top: var(--space-4);
  border-top: var(--border-rule);
}

.poker-formats-page .pft-format > * {
  min-width: 0;
  margin: 0;
}

.poker-formats-page .pft-format p {
  max-width: 26.875rem;
}

.poker-formats-page .pft-format--close {
  grid-column: 1 / span 4;
}

.poker-formats-page .pft-format--long {
  grid-column: 5 / span 4;
  margin-top: var(--space-7);
  padding: var(--space-5);
  border-top-color: transparent;
  background: var(--color-paper-muted);
}

.poker-formats-page .pft-format--room {
  grid-column: 10 / span 3;
}

.poker-formats-page .pft-format__meta {
  color: var(--color-ink-muted);
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.poker-formats-page .pft-format--room .pft-format__meta {
  color: var(--color-wine);
}

.poker-formats-page .pft-format-key {
  width: 100%;
  min-width: 0;
  margin-top: var(--space-7);
  padding-top: var(--space-4);
  border-top: var(--border-rule);
  color: var(--color-ink-muted);
  font-size: var(--text-caption);
}

.poker-formats-page .pft-format-key strong {
  color: var(--color-ink);
}

.poker-formats-page .pft-image-spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
}

.poker-formats-page .pft-image-spread__figure {
  grid-column: 1 / span 7;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.poker-formats-page .pft-image-spread__copy {
  grid-column: 9 / span 4;
  width: 100%;
  min-width: 0;
  max-width: 25rem;
  margin-top: 3.5rem;
}

.poker-formats-page .pft-media {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--color-paper-muted);
}

.poker-formats-page .pft-media--circle,
.poker-formats-page .pft-media--hosted {
  aspect-ratio: 4 / 3;
}

.poker-formats-page .pft-media--circle img {
  object-position: 48% 54%;
}

.poker-formats-page .pft-media--hosted img {
  object-position: 54% 50%;
}

.poker-formats-page .pft-figure-caption {
  margin-top: var(--space-3);
  color: var(--color-ink-muted);
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
}

.poker-formats-page .pft-figure-caption::before {
  display: block;
  width: 2rem;
  height: 1px;
  margin-bottom: var(--space-2);
  background: var(--color-wine);
  content: "";
}

.poker-formats-page .pft-copy-rule {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: var(--border-rule);
}

.poker-formats-page .pft-copy-rule h3 {
  margin-bottom: var(--space-3);
}

.poker-formats-page .pft-rhythm {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
}

.poker-formats-page .pft-rhythm__rail {
  grid-column: 1 / span 2;
  width: 100%;
  min-width: 0;
}

.poker-formats-page .pft-rhythm__sequence {
  grid-column: 3 / span 6;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
  max-width: 41.25rem;
}

.poker-formats-page .pft-rhythm__sequence > * {
  min-width: 0;
}

.poker-formats-page .pft-step {
  width: 100%;
  min-width: 0;
  padding-top: var(--space-4);
  border-top: var(--border-rule);
}

.poker-formats-page .pft-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.poker-formats-page .pft-step__number {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-wine);
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.poker-formats-page .pft-rhythm__quote {
  grid-column: 10 / span 3;
  width: 100%;
  min-width: 0;
  max-width: 18.75rem;
  align-self: start;
  margin-top: 10rem;
  padding: var(--space-5);
  background: var(--color-ink);
  color: var(--color-white);
}

.poker-formats-page .pft-rhythm__quote p {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.12;
}

.poker-formats-page .pft-setting {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
}

.poker-formats-page .pft-setting__copy {
  grid-column: 1 / span 5;
  width: 100%;
  min-width: 0;
  max-width: 31.25rem;
}

.poker-formats-page .pft-setting__figure {
  grid-column: 7 / span 6;
  width: 100%;
  min-width: 0;
  margin: var(--space-4) 0 0;
}

.poker-formats-page .pft-setting-note {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--color-wine-tint);
}

.poker-formats-page .pft-setting-note p {
  margin-bottom: 0;
}

.poker-formats-page .pft-occasion-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
  margin-top: var(--space-7);
}

.poker-formats-page .pft-question {
  width: 100%;
  min-width: 0;
  padding-top: var(--space-4);
  border-top: var(--border-rule);
}

.poker-formats-page .pft-question--one {
  grid-column: 1 / span 4;
}

.poker-formats-page .pft-question--two {
  grid-column: 5 / span 4;
  padding: var(--space-5);
  border-top-color: transparent;
  background: var(--color-paper-muted);
}

.poker-formats-page .pft-question--three {
  grid-column: 7 / span 4;
}

.poker-formats-page .pft-question h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.2rem);
  font-style: italic;
  line-height: 1.08;
}

.poker-formats-page .pft-question p {
  max-width: 25rem;
}

.poker-formats-page .pft-occasion-bridge {
  grid-column: 10 / span 3;
  width: 100%;
  min-width: 0;
  max-width: 18.75rem;
  align-self: end;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-wine);
}

.poker-formats-page .pft-inline-link {
  color: var(--color-wine);
  font-weight: 600;
}

.poker-formats-page .pft-closing-panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
  padding: var(--space-7);
  background: var(--color-ink);
  color: var(--color-white);
}

.poker-formats-page .pft-closing-panel h2,
.poker-formats-page .pft-closing-panel p,
.poker-formats-page .pft-closing-panel .eyebrow {
  color: var(--color-white);
}

.poker-formats-page .pft-closing-main {
  grid-column: 1 / span 7;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
  max-width: 38.75rem;
}

.poker-formats-page .pft-closing-main > * {
  min-width: 0;
  margin: 0;
}

.poker-formats-page .pft-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.poker-formats-page .pft-closing-actions > * {
  min-width: 0;
}

.poker-formats-page .pft-closing-actions .button--inverse-outline {
  border-color: var(--color-white);
  background: transparent;
  color: var(--color-white);
}

.poker-formats-page .pft-closing-actions .button--inverse-outline:hover {
  border-color: var(--color-wine);
  background: var(--color-wine);
  color: var(--color-white);
}

.poker-formats-page .pft-closing-line {
  grid-column: 9 / span 3;
  width: 100%;
  min-width: 0;
  max-width: 16.875rem;
  align-self: end;
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-style: italic;
  line-height: 1.08;
}

.poker-formats-page .pft-signoff {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 32.5rem) minmax(0, 15rem);
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
  padding-top: var(--space-9);
}

.poker-formats-page .pft-signoff::before,
.poker-formats-page .pft-signoff::after {
  width: 100%;
  min-width: 0;
  height: 1px;
  background: var(--color-rule);
  content: "";
}

.poker-formats-page .pft-signoff__content {
  width: 100%;
  min-width: 0;
  max-width: 32.5rem;
}

.poker-formats-page .pft-signoff__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1099px) {
  main.poker-formats-page {
    padding-top: 0;
  }

  .poker-formats-page .pft-hero__panel {
    left: max(
      var(--space-5),
      calc((100% - var(--container-max)) / 2 + var(--space-5))
    );
    bottom: var(--space-5);
  }

  .poker-formats-page .pft-format-grid,
  .poker-formats-page .pft-image-spread,
  .poker-formats-page .pft-rhythm,
  .poker-formats-page .pft-setting,
  .poker-formats-page .pft-occasion-grid,
  .poker-formats-page .pft-closing-panel {
    gap: var(--space-4);
  }
}

@media (min-width: 981px) {
  .poker-formats-page .pft-hero__media {
    height: min(62.5vw, 46.125rem);
    aspect-ratio: auto;
  }
}

@media (max-width: 980px) {
  .poker-formats-page .pft-hero__panel {
    position: static;
    width: calc(100% - (var(--gutter-tablet) * 2));
    max-width: none;
    margin-inline: var(--gutter-tablet);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    box-shadow: none;
  }

  .poker-formats-page .pft-text-spread {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-formats-page .pft-text-spread__main,
  .poker-formats-page .pft-text-spread__closing,
  .poker-formats-page .pft-text-spread__note {
    grid-column: 1;
  }

  .poker-formats-page .pft-text-spread__note {
    max-width: 32.5rem;
  }

  .poker-formats-page .pft-format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-formats-page .pft-format--close,
  .poker-formats-page .pft-format--long {
    grid-column: auto;
  }

  .poker-formats-page .pft-format--room {
    grid-column: 1 / -1;
    max-width: 32.5rem;
  }

  .poker-formats-page .pft-format--long {
    margin-top: 0;
  }

  .poker-formats-page .pft-rhythm {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-formats-page .pft-rhythm__rail,
  .poker-formats-page .pft-rhythm__sequence,
  .poker-formats-page .pft-rhythm__quote {
    grid-column: 1;
  }

  .poker-formats-page .pft-rhythm__quote {
    max-width: 29.375rem;
    margin-top: 0;
  }
}

@media (max-width: 960px) {
  .poker-formats-page .pft-image-spread {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-formats-page .pft-image-spread__figure,
  .poker-formats-page .pft-image-spread__copy {
    grid-column: 1;
  }

  .poker-formats-page .pft-image-spread__copy {
    max-width: 38.75rem;
    margin-top: 0;
  }

  .poker-formats-page .pft-setting {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-formats-page .pft-setting__figure,
  .poker-formats-page .pft-setting__copy {
    grid-column: 1;
  }

  .poker-formats-page .pft-setting__figure {
    order: 1;
    margin-top: 0;
  }

  .poker-formats-page .pft-setting__copy {
    order: 2;
    max-width: 38.75rem;
  }
}

@media (max-width: 920px) {
  .poker-formats-page .pft-occasion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-formats-page .pft-question--one,
  .poker-formats-page .pft-question--two,
  .poker-formats-page .pft-question--three {
    grid-column: auto;
  }

  .poker-formats-page .pft-occasion-bridge {
    grid-column: 1 / -1;
    max-width: 31.25rem;
    align-self: start;
  }
}

@media (max-width: 850px) {
  .poker-formats-page .pft-closing-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-formats-page .pft-closing-main,
  .poker-formats-page .pft-closing-line {
    grid-column: 1;
  }

  .poker-formats-page .pft-closing-line {
    max-width: 29.375rem;
    padding-top: var(--space-5);
    border-top: 1px solid rgb(255 255 255 / 0.32);
  }
}

@media (max-width: 760px) {
  .poker-formats-page .pft-format-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-formats-page .pft-format--close,
  .poker-formats-page .pft-format--long,
  .poker-formats-page .pft-format--room {
    grid-column: 1;
    max-width: none;
  }
}

@media (max-width: 699px) {
  main.poker-formats-page {
    padding-top: 0;
  }

  .poker-formats-page .pft-section {
    padding-block: 3.5rem;
  }

  .poker-formats-page .pft-hero {
    padding-top: 0;
  }

  .poker-formats-page .pft-hero__media {
    aspect-ratio: 16 / 10;
  }

  .poker-formats-page .pft-hero__media img {
    object-position: 61% 62%;
  }

  .poker-formats-page .pft-hero__panel {
    width: calc(100% - (var(--gutter-mobile) * 2));
    margin-inline: var(--gutter-mobile);
    gap: var(--space-3);
    padding: var(--space-4);
  }

  .poker-formats-page .pft-hero__title {
    font-size: 2.75rem;
  }

  .poker-formats-page .pft-hero__deck {
    font-size: 1.0625rem;
  }

  .poker-formats-page .pft-hero__actions,
  .poker-formats-page .pft-closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .poker-formats-page .pft-hero__actions > *,
  .poker-formats-page .pft-closing-actions > * {
    width: 100%;
  }

  .poker-formats-page .pft-text-spread,
  .poker-formats-page .pft-image-spread,
  .poker-formats-page .pft-rhythm,
  .poker-formats-page .pft-setting,
  .poker-formats-page .pft-occasion-grid,
  .poker-formats-page .pft-closing-panel {
    gap: var(--space-5);
  }

  .poker-formats-page .pft-text-spread__main,
  .poker-formats-page .pft-text-spread__closing,
  .poker-formats-page .pft-image-spread__copy,
  .poker-formats-page .pft-setting__copy,
  .poker-formats-page .pft-rhythm__sequence {
    max-width: none;
  }

  .poker-formats-page .pft-text-spread__note,
  .poker-formats-page .pft-rhythm__quote,
  .poker-formats-page .pft-occasion-bridge {
    max-width: none;
  }

  .poker-formats-page .pft-format-grid,
  .poker-formats-page .pft-occasion-grid {
    margin-top: var(--space-6);
  }

  .poker-formats-page .pft-format--long,
  .poker-formats-page .pft-question--two {
    padding: var(--space-4);
  }

  .poker-formats-page .pft-image-spread__figure,
  .poker-formats-page .pft-setting__figure {
    order: 1;
  }

  .poker-formats-page .pft-image-spread__copy,
  .poker-formats-page .pft-setting__copy {
    order: 2;
  }

  .poker-formats-page .pft-media--circle img {
    object-position: 52% 58%;
  }

  .poker-formats-page .pft-media--hosted img {
    object-position: 58% 52%;
  }

  .poker-formats-page .pft-rhythm__quote {
    padding: var(--space-4);
  }

  .poker-formats-page .pft-rhythm__quote p {
    font-size: 1.5rem;
  }

  .poker-formats-page .pft-question h3 {
    font-size: 1.75rem;
  }

  .poker-formats-page .pft-closing-panel {
    padding: var(--space-5);
  }

  .poker-formats-page .pft-closing-main {
    max-width: none;
  }

  .poker-formats-page .pft-closing-line {
    max-width: none;
    font-size: 1.75rem;
  }

  .poker-formats-page .pft-signoff {
    display: block;
    padding-top: var(--space-7);
  }

  .poker-formats-page .pft-signoff::before,
  .poker-formats-page .pft-signoff::after {
    display: none;
  }

  .poker-formats-page .pft-signoff__content {
    max-width: none;
  }

  .poker-formats-page .pft-signoff a {
    display: inline-block;
    padding-block: var(--space-2);
  }
}
