
.home-menu-toggle { display: none; }

@media (max-width: 640px) {
  .home-masthead {
    background: #100f0e;
  }
  .home-masthead .home-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 4px 8px !important;
    padding: 10px 14px !important;
    min-height: 65px !important;
    background: #100f0e;
  }
  .home-masthead .home-identity { gap: 5px; }
  .home-masthead .home-identity img { width: 35px; height: 35px; }
  .home-masthead .home-identity small { font-size: 7px; }
  .home-masthead .home-tools { gap: 5px; }
  .home-masthead .home-tools select { max-width: 70px; font-size: 12px; padding: 4px; }
  .home-masthead .home-tools .home-account {
    display: inline-flex;
    justify-content: center;
    text-align: center;
    max-width: 92px;
    padding: 5px 7px;
    min-height: 44px;
    line-height: 1.15;
    background: #e8c375;
    color: #19150c;
    font-size: 11px;
  }
  .home-menu-toggle:not([hidden]) {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid #594c33;
    border-radius: 5px;
    background: #211c16;
    color: #e8c375;
    font-size: 22px;
  }
  .home-masthead .home-header nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .home-masthead .home-header[data-menu="closed"] {
    grid-template-areas: "identity tools" !important;
  }
  .home-masthead .home-header[data-menu="closed"] nav {
    display: none !important;
  }
  .home-masthead .home-header nav a {
    grid-column: auto !important;
    border: 1px solid #594c33 !important;
    border-radius: 5px;
    min-height: 44px !important;
    padding: 8px 4px !important;
    font-size: 13px !important;
  }
  .home-masthead .home-hero-content {
    grid-template-areas: "welcome" "motto" "actions" "caption";
    min-height: 300px;
    align-content: end;
    gap: 7px;
    margin: 12px 14px 0;
    padding: 20px 15px 11px;
    border-radius: 10px;
    background:
      linear-gradient(0deg, #100f0e 0%, #100f0ebd 33%, #100f0e16 80%),
      #101610 var(--home-room, url('/assets/embassy-usa-snooker-room.webp')) center var(--home-room-position, 40%) / cover no-repeat;
  }
  .home-hero-content .home-welcome { display: contents; }
  .home-hero-content .home-welcome h1 {
    grid-area: welcome;
    color: #f8db9b;
    margin: 0;
    font-size: clamp(14px, 4.1vw, 22px);
  }
  .home-hero-content .home-welcome h1 span { color: inherit; }
  .home-hero-content .home-motto {
    grid-area: motto;
    text-align: left;
    padding: 0;
  }
  .home-hero-content .home-motto .kicker { display: none; }
  .home-hero-content .home-motto strong {
    margin: 0 0 5px;
    font-size: clamp(31px, 9vw, 49px);
  }
  .home-hero-content .home-motto p { font-size: clamp(12px, 3.6vw, 17px); }
  .home-hero-content .home-caption {
    grid-area: caption;
    font-size: 10px;
  }
  .home-hero-content .home-mobile-actions {
    display: flex !important;
    grid-area: actions;
  }
  .home-hero-content .home-welcome .home-actions { display: none; }
  main .home-latest {
    margin: 14px 14px 0;
    padding: 13px;
    background: #1b1916;
    border: 1px solid #46392b;
    border-radius: 9px;
  }
  .home-latest .home-latest-heading {
    gap: 5px;
    margin-bottom: 12px;
  }
  .home-latest .home-latest-heading a { font-size: 12px; }
  .home-latest .home-news {
    padding: 10px 0 0;
    grid-template-columns: minmax(68px, 34%) minmax(0, 1fr);
    column-gap: 11px;
    row-gap: 4px;
    border: 0;
    border-top: 1px solid #46392b;
    border-radius: 0;
    background: transparent;
  }
  .home-latest .home-news img { grid-row: 1 / span 2; }
  .home-latest .home-news h3 { font-size: clamp(16px, 4.5vw, 22px); margin: 4px 0; }
  .home-latest .home-news p { font-size: 12px; overflow-wrap: anywhere; }
  .home-latest .home-news .kicker { font-size: 10px; }
  .home-latest .home-news .home-button { font-size: 12px; padding: 6px 9px; }
  .home-latest .home-news:first-of-type .home-button {
    background: #e8c375;
    color: #19150c;
  }
  main #clubs.legacy-home-clubs .grid { grid-template-columns: minmax(0, 1fr) !important; }
  main #clubs.legacy-home-clubs .card {
    display: grid;
    position: relative;
    isolation: isolate;
    align-content: end;
    min-height: clamp(140px, 37vw, 215px);
    border-radius: 9px;
  }
  main #clubs.legacy-home-clubs .card :is(img,picture),
  main #clubs.legacy-home-clubs .card::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  main #clubs.legacy-home-clubs .card :is(img,picture) { z-index: -2; }
  main #clubs.legacy-home-clubs .card::after {
    content: "";
    z-index: -1;
    background: linear-gradient(transparent 22%, #100f0ef2);
  }
  main #clubs.legacy-home-clubs .card h3 { color: #fff; margin: 0; }
  main #clubs.legacy-home-clubs .card p { color: #f1e7d3; margin: 4px 0 12px; }
}
