@font-face {
  font-family: "Embassy Motto";
  src: url("/assets/embassy-motto-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Homepage masthead and latest event. */
.home-masthead {
  --home-gold: #e8c375;
  --home-cream: #f8f5ed;
  color: var(--home-cream);
  background:
    linear-gradient(0deg, rgba(7,9,8,.58), transparent 54%),
    linear-gradient(90deg, rgba(7,9,8,.87), rgba(7,9,8,.35) 48%, rgba(7,9,8,.64)),
    #101610 var(--home-room, url('/assets/embassy-usa-snooker-room.webp')) center var(--home-room-position, 40%) / cover no-repeat;
}
.home-masthead .home-header {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto !important;
  grid-template-areas: "identity navigation tools" !important;
  gap: clamp(8px, 2vw, 28px) !important;
  padding: 12px clamp(20px, 4.45vw, 64px) !important;
  min-height: 88px !important;
  background: #090c0b70;
  border-bottom: 1px solid #e8c37536;
  backdrop-filter: none;
}
.home-identity {
  grid-area: identity;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  line-height: 1.12;
  color: var(--home-gold);
}
.home-identity img { width: 58px; height: 58px; object-fit: contain; border-radius: 4px; }
.home-identity small { display: block; color: #e7d7b2; font-size: .62em; margin-top: 4px; letter-spacing: .09em; }
.home-masthead .home-header nav {
  grid-area: navigation !important;
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}
.home-masthead .home-header nav a {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 7px clamp(5px, 1vw, 15px) !important;
  border: 0 !important;
  color: var(--home-cream);
  font-size: clamp(11px, 1.12vw, 15px) !important;
  text-transform: none;
  letter-spacing: 0 !important;
}
.home-masthead .home-header nav a[aria-current="page"] {
  background: transparent !important;
  color: var(--home-gold) !important;
  box-shadow: inset 0 -2px var(--home-gold);
}
.home-tools { grid-area: tools; display: flex; align-items: center; gap: 9px; }
.home-tools select, .home-account {
  padding: 8px 10px;
  min-height: 40px;
  border: 1px solid #9e8254;
  border-radius: 5px;
  color: var(--home-cream);
  background: #151814;
  font: inherit;
  font-size: 13px;
}
.home-account { display: inline-flex; align-items: center; font-weight: 700; }
.home-hero-content {
  max-width: 1536px;
  margin: auto;
  padding: 44px clamp(20px, 4.45vw, 64px) 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 64px);
  min-height: 416px;
  align-items: start;
}
.home-welcome h1 { margin: 8px 0 25px; font-size: clamp(32px, 4.2vw, 64px); line-height: 1.12; overflow-wrap: anywhere; }
.home-welcome h1 span { color: var(--home-gold); }
.home-welcome .kicker, .home-motto .kicker { color: var(--home-gold); }
.home-motto { text-align: center; align-self: center; padding-bottom: 26px; }
.home-motto .kicker { font-size: clamp(12px, 1.3vw, 18px); letter-spacing: .15em; }
.home-motto strong { font-family: "Embassy Motto", Georgia, serif; display: block; margin: .43em 0 .42em; font-size: clamp(34px, 4.35vw, 68px); line-height: 1.08; }
.home-motto p { margin: 0; font-size: clamp(16px, 1.9vw, 28px); line-height: 1.4; }
.home-caption { grid-column: 1/-1; justify-self: end; align-self: end; margin: 0; font-size: 12px; color: #f1e7d3; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-button { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 15px; background: #161815; color: #f3dfb3; border: 1px solid #9a7d4b; border-radius: 5px; font-size: 14px; font-weight: 700; }
.home-button--gold { background: #e8c375; color: #19150c; }
.home-masthead :focus-visible, .home-latest :focus-visible { outline: 2px solid #ffe1a0; outline-offset: 3px; }
main .home-latest { max-width: 1536px; padding: 30px clamp(20px, 4.45vw, 64px) 38px; scroll-margin-top: 16px; }
.home-latest-heading { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.home-latest-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); }
.home-latest-heading a { color: #e8c375; }
.home-news { display: grid; grid-template-columns: minmax(105px, 156px) minmax(0, 1fr) auto; gap: clamp(16px, 2.2vw, 32px); align-items: center; padding: 21px; border: 1px solid #594c33; border-radius: 10px; background: #161813; }
.home-news img { display: block; width: 100%; height: auto; border-radius: 5px; }
.home-news h3 { margin: 9px 0 12px; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.2; }
.home-news p { margin: 5px 0; color: #d7d3c7; }
.home-news .home-button { justify-self: start; }
@media (max-width: 980px) {
  .home-masthead .home-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "identity tools" "navigation navigation" !important;
  }
  .home-masthead .home-header nav { justify-content: flex-start; }
  .home-masthead .home-header nav a { padding-inline: 9px !important; }
}
@media (max-width: 640px) {
  .home-masthead .home-header { padding: 10px 16px !important; }
  .home-identity img { width: 48px; height: 48px; }
  .home-identity span { font-size: 12px; }
  .home-identity small { font-size: 8px; }
  .home-tools .home-account { display: none; }
  .home-hero-content { grid-template-columns: 1fr; padding-top: 25px; gap: 26px; }
  .home-welcome h1 { margin-bottom: 16px; }
  .home-motto { padding: 6px 0 4px; }
  .home-caption { grid-column: 1; text-align: right; }
  .home-news { grid-template-columns: 82px minmax(0, 1fr); padding: 14px; gap: 13px; align-items: start; }
  .home-news .home-button { grid-column: 2; }
}

.home-news + .home-news { margin-top: 16px; }

.home-masthead .home-caption-toronto,
.home-show-toronto .home-masthead .home-caption-los-angeles {
  display: none;
}

.home-show-toronto .home-masthead {
  --home-room: url('/assets/embassy-canada-snooker-room.webp');
  --home-room-position: 58%;
}

.home-show-toronto .home-masthead .home-caption-toronto {
  display: block;
}
