/* Homepage promotion only. Shared navigation and historical sections keep their existing styles. */
.event27-container { width: min(1152px, calc(100% - 48px)); margin-inline: auto; }
.event27-hero { position: relative; overflow: hidden; color: #fff; background: #192852; text-align: left; }
.event27-hero-image, .event27-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.event27-hero-image { object-fit: cover; object-position: center 62%; }
.event27-hero-shade { background: linear-gradient(100deg, rgba(17,31,72,.97) 8%, rgba(28,46,96,.91) 50%, rgba(24,38,75,.65)), linear-gradient(0deg, rgba(16,25,53,.8), transparent 60%); }
.event27-hero-inner { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: 72px; align-items: center; padding-block: 80px 64px; }
.event27-eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.8; }
.event27-hero .event27-eyebrow { color: #f0dba9; margin: 0 0 18px; }
.event27-hero h1 { font-size: clamp(3.2rem, 6.5vw, 5.8rem); letter-spacing: -.055em; line-height: 1; margin: 0 0 20px; font-weight: 800; }
.event27-tagline { font-size: clamp(1.45rem, 2.5vw, 2rem); color: #f1dfbd; line-height: 1.25; font-weight: 600; }
.event27-intro { color: #edf0f7; max-width: 540px; margin-block: 22px 30px; font-size: 1.05rem; line-height: 1.75; }
.event27-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.event27-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border-radius: 8px; font-size: .9rem; font-weight: 750; line-height: 1.4; text-decoration: none; border: 1px solid transparent; transition: background-color .15s; }
.event27-button-red { background: #b32e2c; color: white; }
.event27-button-red:hover { background: #952421; }
.event27-button-pending { background: #e8d6b5; color: #302843; cursor: not-allowed; opacity: 1; }
.event27-button-outline { color: #fff; border-color: #a8b3d1; background: #1b2e6080; }
.event27-button-outline:hover { background: #3b4e9d; }
.event27-status { margin: 16px 0 0; font-size: .82rem; line-height: 1.6; color: #e1e6f1; max-width: 480px; }
.event27-at-a-glance { padding: 30px; border: 1px solid #b5c2e166; border-radius: 16px; background: #21376cbb; backdrop-filter: blur(10px); box-shadow: 0 20px 50px #0c173633; }
.event27-at-a-glance dl { margin: 0 0 24px; }
.event27-at-a-glance dl > div { padding-block: 16px; border-bottom: 1px solid #ffffff26; }
.event27-at-a-glance dt { color: #cbd6ef; font-size: .74rem; text-transform: uppercase; font-weight: 700; letter-spacing: .08em; margin-bottom: 6px; }
.event27-at-a-glance dd { font-size: 1.08rem; font-weight: 650; line-height: 1.5; }
.event27-at-a-glance > a { color: #f5dfb2; font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.event27-hero-bottom { display: flex; justify-content: space-between; gap: 20px; position: relative; border-top: 1px solid #ffffff33; padding-block: 20px; color: #e2e7f2; font-size: .78rem; line-height: 1.6; }
.event27-hero-bottom a { text-decoration: underline; text-underline-offset: 4px; }
.event27-section-nav { background: #faf3e7; border-bottom: 1px solid #776b562e; }
.event27-section-nav > div { display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: center; padding-block: 18px; }
.event27-section-nav a { color: #344587; font-size: .85rem; font-weight: 750; text-decoration: none; padding-block: 6px; }
.event27-section-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.event27-details { padding-block: 64px 32px; text-align: left; color: #352f27; }
.event27-section-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: 32px; }
.event27-details .event27-eyebrow { color: #9b2927; margin-bottom: 10px; }
.event27-section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; font-weight: 750; color: #2f407f; letter-spacing: -.025em; }
.event27-section-heading > p { font-size: .95rem; line-height: 1.8; color: #574b39; }
.event27-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.event27-card { padding: 32px; background: #fcf8ef; border: 1px solid #c5b697; border-radius: 14px; box-shadow: 0 8px 20px #4b3d2610; overflow-wrap: anywhere; }
.event27-card-number { display: block; font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #705b36; margin-bottom: 14px; }
.event27-card h3 { font-size: 1.4rem; line-height: 1.3; font-weight: 750; color: #2f407f; margin-bottom: 18px; }
.event27-card h4 { font-weight: 750; color: #2f407f; margin-block: 20px 8px; }
.event27-card p { font-size: .95rem; line-height: 1.75; margin-block: 12px; }
.event27-card .event27-pending-label { font-weight: 700; color: #6b4b20; font-size: .86rem; }
.event27-registration { border-top: 4px solid #b32e2c; }
.event27-facts { margin-block: 18px; }
.event27-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding-block: 12px; border-bottom: 1px solid #d9cdb7; font-size: .88rem; line-height: 1.65; }
.event27-facts dt { font-weight: 750; color: #51452e; }
.event27-sponsorship { background: #e8dfcd; }
.event27-text-link { color: #9d2725; font-weight: 750; display: inline-block; margin-top: 12px; text-decoration: underline; text-underline-offset: 4px; }
.event27-list { list-style: disc; padding-left: 20px; line-height: 1.8; font-size: .95rem; }
.event27-people { list-style: none; padding: 0; }
.event27-people li + li { border-top: 1px solid #d9cdb7; margin-top: 16px; }
.event27-rules { padding-bottom: 40px; }
.event27-hero a:focus-visible, .event27-section-nav a:focus-visible, .event27-details a:focus-visible { outline: 3px solid #be5b12; outline-offset: 5px; }
[id^="event27-"], #txolan-event-rules { scroll-margin-top: 120px; }
@media (max-width: 767px) {
  .event27-container { width: calc(100% - 36px); }
  .event27-hero-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; }
  .event27-hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .event27-at-a-glance { padding: 24px; }
  .event27-hero-bottom { flex-direction: column; gap: 10px; }
  .event27-section-nav > div { gap: 4px 22px; }
  .event27-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .event27-details { padding-top: 40px; }
  .event27-grid { grid-template-columns: 1fr; gap: 18px; }
  .event27-card { padding: 24px; }
  .event27-actions { align-items: stretch; }
  .event27-button { flex: 1 1 200px; }
  .event27-facts > div { grid-template-columns: 90px minmax(0, 1fr); }
  [id^="event27-"] { scroll-margin-top: 85px; }
}
@media (prefers-reduced-motion: reduce) { .event27-button { transition: none; } }

/* Historical sample review and sponsorship packages: existing TXOLAN palette. */
.event27-preview-notice { background: #f1dfbd; border-block: 2px solid #a52b28; color: #46351d; text-align: left; padding-block: 16px; }
.event27-preview-notice strong { display: block; font-size: .8rem; letter-spacing: .06em; color: #912725; }
.event27-preview-notice p { font-size: .85rem; line-height: 1.65; margin-top: 6px; }
.event27-offerings { text-align: left; padding-block: 24px 48px; color: #352f27; }
.event27-offerings .event27-eyebrow { color: #9b2927; margin-bottom: 10px; }
.event27-package-notice { background: #efe4cf; border-left: 4px solid #b32e2c; padding: 12px 18px; color: #6b4b20; font-weight: 700; font-size: .85rem; }
.event27-package-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-block: 24px; }
.event27-package-nav a { color: #2f407f; font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; padding-block: 6px; }
.event27-package-group { margin-block: 30px; scroll-margin-top: 120px; }
.event27-package-group > h3 { color: #2f407f; font-size: 1.2rem; font-weight: 750; margin-bottom: 14px; }
.event27-package { background: #fcf8ef; border: 1px solid #c5b697; border-bottom-width: 0; }
.event27-package:first-of-type { border-radius: 12px 12px 0 0; }
.event27-package:last-of-type { border-bottom-width: 1px; border-radius: 0 0 12px 12px; }
.event27-package summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 105px 100px; align-items: center; gap: 24px; padding: 22px 26px; }
.event27-package summary::-webkit-details-marker { display: none; }
.event27-package summary:hover { background: #e8dfcd66; }
.event27-package summary:focus-visible { outline: 3px solid #9b2927; outline-offset: -4px; }
.event27-package-name { color: #2f407f; font-size: 1rem; font-weight: 750; line-height: 1.5; overflow-wrap: anywhere; }
.event27-package-limit { display: block; color: #67583f; font-size: .77rem; font-weight: 500; margin-top: 3px; }
.event27-package-price { color: #a52b28; font-size: 1.3rem; font-weight: 800; text-align: right; }
.event27-package-toggle { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: #51452e; font-size: .8rem; font-weight: 700; }
.event27-package-plus { font-size: 1.3rem; font-weight: 500; transition: transform .15s; }
.event27-package[open] .event27-package-plus { transform: rotate(45deg); }
.event27-package-benefits { border-top: 1px solid #d9cdb7; padding: 24px 32px; }
.event27-package-benefits ul { columns: 2; column-gap: 48px; list-style: disc; padding-left: 20px; }
.event27-package-benefits li { break-inside: avoid; font-size: .9rem; line-height: 1.65; padding-block: 4px; }
#packages-exclusive .event27-package { border-left: 4px solid #b32e2c; }
#packages-vip_show .event27-package { border-left: 4px solid #3b4e9d; }
#packages-community .event27-package { border-left: 4px solid #705b36; }
.event27-sponsor-action { display: flex; gap: 32px; align-items: center; justify-content: space-between; padding: 28px; border: 1px solid #c5b697; border-radius: 12px; background: #e8dfcd; }
.event27-sponsor-action h3 { color: #2f407f; font-size: 1.2rem; font-weight: 750; margin-bottom: 10px; }
.event27-sponsor-action p { max-width: 680px; font-size: .9rem; line-height: 1.8; }
.event27-sponsor-action .event27-button { flex-shrink: 0; max-width: 290px; }
@media (max-width: 767px) {
  .event27-package summary { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 18px; }
  .event27-package-price { font-size: 1.15rem; }
  .event27-package-toggle { grid-column: 1 / -1; justify-content: flex-start; }
  .event27-package-benefits { padding: 18px 22px; }
  .event27-package-benefits ul { columns: 1; }
  .event27-sponsor-action { flex-direction: column; align-items: stretch; padding: 24px; gap: 20px; }
  .event27-sponsor-action .event27-button { flex: initial; max-width: none; }
  .event27-package-group { scroll-margin-top: 85px; }
}
@media (prefers-reduced-motion: reduce) { .event27-package-plus { transition: none; } }

/* Registration content uses the established 2027 cards; hero retains 4f2f2a0's original Tailwind classes. */
.event27-registration-full { grid-column: 1 / -1; }
.event27-registration-heading, .event27-registration-columns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.event27-registration-heading { align-items: start; }
.event27-registration-heading .event27-facts { margin: 0; background: #efe4cf; padding: 10px 20px; border-radius: 10px; }
.event27-registration-full .event27-provider { font-size: .78rem; color: #67583f; }
.event27-pricing-wrap { overflow-x: auto; margin-block: 26px; border: 1px solid #d9cdb7; border-radius: 10px; }
.event27-pricing { border-collapse: collapse; width: 100%; min-width: 600px; font-size: .9rem; line-height: 1.6; }
.event27-pricing caption { text-align: left; padding: 16px; font-size: 1.05rem; color: #2f407f; font-weight: 750; background: #efe4cf; }
.event27-pricing th, .event27-pricing td { padding: 14px 16px; text-align: left; border-top: 1px solid #d9cdb7; vertical-align: top; }
.event27-pricing thead { color: #2f407f; background: #f4ecdc; }
.event27-pricing tbody th { color: #2f407f; width: 27%; }
.event27-pricing th span { display: block; font-size: .75rem; font-weight: 500; color: #67583f; }
.event27-pricing td:nth-child(2), .event27-pricing td:nth-child(3) { font-weight: 750; color: #9b2927; white-space: nowrap; }
.event27-registration-full .event27-savings { color: #9b2927; font-weight: 750; }
.event27-instructions { list-style: decimal; padding-left: 22px; font-size: .95rem; line-height: 1.8; }
.event27-instructions li, .event27-registration-columns li { margin-bottom: 8px; }
.event27-help { margin-top: 24px; border-top: 1px solid #d9cdb7; padding-top: 8px; }
.event27-help ul { display: flex; gap: 12px; flex-wrap: wrap; }
.event27-help li { flex: 1 1 190px; padding: 14px; background: #efe4cf; border-radius: 8px; font-size: .85rem; font-weight: 650; }
.event27-help-pending { display: block; font-size: .75rem; color: #67583f; font-weight: 500; margin-top: 6px; }
.event27-help a { color: #2f407f; text-decoration: underline; text-underline-offset: 4px; }
.event27-vip { margin-top: 26px; padding: 4px 22px 14px; background: #efe4cf; border-left: 4px solid #3b4e9d; border-radius: 0 10px 10px 0; }
.event27-judge-review { margin-top: 20px; background: #efe4cf; padding: 14px; border-radius: 8px; font-size: .85rem; line-height: 1.7; }
.event27-judge-review summary { cursor: pointer; color: #6b4b20; font-weight: 700; }
.event27-judge-review ul { margin-top: 12px; font-size: .85rem; }
@media (max-width: 767px) {
  .event27-registration-heading, .event27-registration-columns { grid-template-columns: 1fr; gap: 20px; }
  .event27-registration-heading .event27-facts { padding-inline: 14px; }
  .event27-pricing th, .event27-pricing td { padding: 12px; }
}
.event27-registration-full { min-width: 0; }
@media (max-width: 767px) {
  .event27-pricing { display: block; min-width: 0; }
  .event27-pricing caption, .event27-pricing tbody { display: block; width: 100%; }
  .event27-pricing thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .event27-pricing tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid #d9cdb7; }
  .event27-pricing tbody th { grid-column: 1 / -1; width: auto; background: #f4ecdc; border: 0; }
  .event27-pricing td { border: 0; padding: 10px 12px; }
  .event27-pricing td:nth-child(2)::before, .event27-pricing td:nth-child(3)::before { content: attr(data-label); display: block; font-size: .75rem; color: #67583f; font-weight: 500; }
  .event27-pricing td:last-child { grid-column: 1 / -1; padding-top: 0; }
}

/* Conduct policy uses the same rounded card as the event details. */
.event27-conduct { text-align: left; }
