.cms-brand-logo { display: block; max-width: 220px; max-height: 55px; object-fit: contain; }
.cms-section { margin: 0 0 22px; overflow-wrap: anywhere; }
.cms-align-left { text-align: left; }
.cms-align-center { text-align: center; }
.cms-align-right { text-align: right; }
.cms-align-center .cms-icon { margin-inline: auto; }
.cms-align-right .cms-icon { margin-left: auto; }
.cms-hero, .cms-feature, .cms-content, .cms-image { position: relative; border-radius: 14px; isolation: isolate; overflow: hidden; background: var(--paper); }
.cms-hero { min-height: clamp(360px, 49vw, 630px); display: grid; align-items: end; color: #fff6ef; background: var(--wine); }
.cms-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cms-hero.cms-has-image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#190d11ef,#190d118a 50%,#190d1125),linear-gradient(0deg,#190d11b8,transparent 50%); }
.cms-hero .cms-copy, .cms-feature .cms-copy, .cms-content .cms-copy { padding: clamp(20px, 5vw, 57px); }
.cms-hero h1 { max-width: 13ch; font-size: clamp(40px, 8vw, 97px); line-height: .95; letter-spacing: -.045em; margin: 12px 0 18px; }
.cms-hero p:not(.cms-eyebrow) { max-width: 46ch; line-height: 1.45; font-size: 1.17rem; }
.cms-align-center :is(h1,p) { margin-inline: auto; }
.cms-align-right :is(h1,p) { margin-left: auto; }
.cms-eyebrow { text-transform: uppercase; letter-spacing: .145em; font-weight: 800; color: var(--red); }
.cms-hero .cms-eyebrow { color: #ffd3a0; }
.cms-hero .app-button { margin-top: 10px; background: #ffd287; color: #331719; border-color: #ffd287; }
.cms-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border: 1px solid var(--line); }
.cms-feature:not(.cms-has-image) { grid-template-columns: 1fr; }
.cms-feature > img { width: 100%; min-height: 255px; height: 100%; object-fit: cover; display: block; }
.cms-feature .cms-copy { align-self: center; }
.cms-feature h2, .cms-content h2 { font-size: clamp(25px, 4vw, 44px); }
.cms-content > img, .cms-image > img { display: block; width: 100%; max-height: 440px; object-fit: cover; }
.cms-content:not(.cms-has-image) .cms-copy:empty { display: none; }
.cms-icon { display: block; width: 52px; height: 52px; object-fit: contain; margin-bottom: 8px; }
.cms-gallery-section { margin: 30px 0; }
.cms-gallery-section > h2 { font-size: clamp(26px, 4vw, 44px); }
.cms-gallery-section > p { color: var(--muted); }
.cms-auth-grid { display: grid; align-items: stretch; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 0 auto; gap: 14px; }
.cms-auth-grid > img { display: block; border-radius: 12px; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.cms-auth-grid > .app-card:only-child { grid-column: 1 / -1; max-width: 620px; width: 100%; margin: 0 auto; }
.cms-auth-grid h1 { font-size: clamp(28px, 5vw, 47px); }
.cms-action-row, .cms-block-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cms-desk [aria-current="page"] { border-left-width: 4px; }
.cms-nav-icon { display: inline-block; width: 1.65rem; }
.cms-desk.cms-collapsed { grid-template-columns: 56px minmax(0, 1fr); }
.cms-collapsed .cms-nav-label, .cms-collapsed .cms-collapse > span { display: none; }
.cms-collapse { margin-bottom: 4px; }
.cms-collapse > span { margin-left: 5px; }
.cms-block-editor { min-width: 0; margin: 0 0 12px; padding: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.cms-block-tools { margin-bottom: 10px; }
.cms-block-editor legend { padding: 0 6px; font-weight: 800; }
.cms-media-control { display: grid; align-content: start; gap: 4px; }
.cms-media-control img { display: block; width: 125px; height: 72px; border-radius: 5px; object-fit: contain; background: var(--tint); }
.cms-media-control .cms-upload-label, .cms-media-control input[type="file"] { font-size: 13px; }
.cms-list { display: grid; margin-bottom: 20px; gap: 7px; }
.cms-list a { display: flex; gap: 8px; justify-content: space-between; padding: 8px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.cms-list small { color: var(--muted); }
.cms-message { background: var(--tint); padding: 9px 12px; border-left: 4px solid var(--red); }
.cms-error { color: var(--red); }
.bet-hero .cms-event-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bet-hero.cms-has-image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#251218f5,#251218c2 55%,#25121855); }
@media (max-width: 850px) {
  .cms-hero { min-height: 440px; }
  .cms-desk, .cms-desk.cms-collapsed { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 620px) {
  .cms-feature, .cms-auth-grid { grid-template-columns: minmax(0,1fr); }
  .cms-auth-grid > img, .cms-feature > img { height: 190px; min-height: 0; }
  .cms-hero { min-height: 370px; }
  .cms-hero h1 { font-size: clamp(39px, 11vw, 62px); }
  .cms-hero.cms-has-image::before { background: linear-gradient(90deg,#190d11d9,#190d1155),linear-gradient(0deg,#190d11cf,transparent 70%); }
}
