:root {
  --bt-dark: #123c2f;
  --bt-bg: #f6f7f2;
  --bt-white: #ffffff;
  --bt-lime: #d7ff45;
  --bt-green: #2f7d5b;
  --bt-text: #16211d;
  --bt-text-muted: #52615a;
  --bt-border: #d8ded8;
  --bt-shadow: 0 12px 32px rgba(18, 60, 47, 0.08);
  --bt-radius: 16px;
  --bt-pill: 999px;
  --bt-container: 1240px;
  --bt-gutter: 16px;
}

@media (min-width: 768px) {
  :root {
    --bt-gutter: 24px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bt-bg);
  color: var(--bt-text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.625;
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
    line-height: 1.667;
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--bt-lime);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 8px;
  clip: auto;
  background: var(--bt-dark);
  color: var(--bt-white);
  padding: 12px 16px;
  border-radius: var(--bt-pill);
  z-index: 999;
}

.bt-container {
  width: min(var(--bt-container), calc(100% - (var(--bt-gutter) * 2)));
  margin: 0 auto;
}

.bt-main {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--bt-dark);
  letter-spacing: -0.03em;
}

h1 {
  font-size: 32px;
  line-height: 1.1875;
}

h2 {
  font-size: 26px;
  line-height: 1.23;
}

h3 {
  font-size: 22px;
  line-height: 1.27;
}

h4 {
  font-size: 20px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  h1 {
    font-size: 44px;
    line-height: 1.18;
  }

  h2 {
    font-size: 32px;
    line-height: 1.19;
  }

  h3 {
    font-size: 24px;
    line-height: 1.25;
  }
}

p {
  margin: 0;
  color: var(--bt-text-muted);
}

.bt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--bt-border);
  backdrop-filter: blur(16px);
}

.bt-header__inner {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 16px;
}

.bt-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.bt-brand__title {
  font-size: 22px;
  line-height: 1.27;
  font-weight: 700;
  color: var(--bt-dark);
}

.bt-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.bt-header__icon,
.bt-menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--bt-border);
  background: var(--bt-white);
}

.bt-header__icon,
.bt-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bt-header__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.bt-menu-toggle {
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.bt-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bt-dark);
}

.bt-nav {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  display: none;
  padding: 12px var(--bt-gutter) 20px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--bt-border);
}

.bt-nav.is-open {
  display: block;
}

.bt-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bt-menu a {
  display: block;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
  color: var(--bt-text-muted);
}

.bt-menu .current-menu-item > a,
.bt-menu .current_page_item > a,
.bt-menu a:hover {
  color: var(--bt-dark);
  background: rgba(215, 255, 69, 0.22);
}

@media (min-width: 1024px) {
  .bt-header__inner {
    min-height: 80px;
  }

  .bt-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    margin-left: auto;
  }

  .bt-menu {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .bt-menu a {
    min-height: auto;
    padding: 10px 0;
    border-radius: 0;
    background: transparent;
  }

  .bt-menu .current-menu-item > a,
  .bt-menu .current_page_item > a,
  .bt-menu a:hover {
    background: transparent;
    border-bottom: 2px solid var(--bt-green);
  }

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

}

.bt-home-hero,
.bt-page-hero,
.bt-section {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .bt-home-hero,
  .bt-page-hero,
  .bt-section {
    padding: 48px 0;
  }
}

.bt-home-hero__copy {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}

.bt-home-hero__lead {
  max-width: 672px;
  margin: 16px auto 0;
  font-size: 18px;
  line-height: 30px;
}

.bt-search-hero {
  display: grid;
  gap: 12px;
  max-width: 672px;
  margin: 40px auto 0;
}

.bt-search-hero__field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 20px;
  border-radius: var(--bt-pill);
  border: 1px solid var(--bt-border);
  background: var(--bt-white);
}

.bt-search-hero__field svg {
  width: 20px;
  height: 20px;
  stroke: var(--bt-text-muted);
  stroke-width: 2;
  fill: none;
  flex: 0 0 20px;
}

.bt-search-hero__field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--bt-text);
  appearance: none;
  box-shadow: none;
  outline: 0;
  font-size: 18px;
  line-height: 30px;
  padding: 0;
}

.bt-search-hero__field input::placeholder {
  color: #717974;
}

@media (min-width: 768px) {
  .bt-search-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
  }

  .bt-search-hero__field {
    padding-right: 12px;
  }
}

.bt-button,
.bt-filter-chip,
.bt-tag-pill,
.bt-ranking-switch__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--bt-pill);
  border: 1px solid transparent;
  font-weight: 700;
}

.bt-button--accent {
  background: #c8ef35;
  color: #00261b;
  padding: 12px 32px;
}

.bt-button--ghost {
  background: var(--bt-white);
  color: var(--bt-dark);
  border-color: var(--bt-border);
}

.bt-button--dark {
  background: var(--bt-dark);
  color: var(--bt-white);
}

.bt-filter-chip,
.bt-tag-pill,
.bt-ranking-switch__button {
  background: var(--bt-white);
  color: var(--bt-text-muted);
  border-color: var(--bt-border);
}

.bt-filter-chip.is-active,
.bt-ranking-switch__button.is-active,
.bt-ranking-switch__button.is-active:hover {
  background: #c8ef35;
  color: #171e00;
  border-color: #c8ef35;
}

.bt-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bt-chip-row--scroll {
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
}

.bt-chip-row--scroll::-webkit-scrollbar {
  display: none;
}

.bt-inline-link {
  color: var(--bt-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bt-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.bt-section--band {
  background: transparent;
}

.bt-card-grid,
.bt-blog-showcase,
.bt-ranking-showcase,
.bt-ranking-page,
.bt-article-layout,
.bt-footer__grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .bt-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bt-blog-showcase {
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
    gap: 24px;
  }

  .bt-blog-showcase__side {
    display: grid;
    gap: 24px;
  }

  .bt-footer__grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .bt-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bt-card-grid--courts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bt-home-hero .bt-card-grid--courts,
  .bt-section .bt-card-grid--courts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.bt-post-card,
.bt-court-card,
.bt-empty-state,
.bt-ranking-table-card,
.bt-ranking-leader-card,
.bt-sidebar-card,
.bt-feature-story,
.bt-courts-list__head,
.bt-map-panel__card,
.bt-page-hero--feature .bt-feature-story {
  background: var(--bt-white);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
}

.bt-post-card,
.bt-court-card,
.bt-feature-story {
  overflow: hidden;
}

.bt-post-card__media,
.bt-court-card__media,
.bt-feature-story__media {
  display: block;
  background: #e2e3e0;
}

.bt-post-card__media {
  aspect-ratio: 16 / 10;
}

.bt-court-card__media {
  height: 192px;
}

.bt-feature-story__media {
  min-height: 320px;
}

.bt-post-card__media img,
.bt-court-card__media img,
.bt-feature-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bt-post-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  color: var(--bt-dark);
  font-weight: 700;
}

.bt-post-card__body,
.bt-court-card__top,
.bt-court-card__actions,
.bt-feature-story__content,
.bt-ranking-leader-card,
.bt-courts-list__head,
.bt-sidebar-card,
.bt-empty-state {
  padding: 20px;
}

.bt-post-card__body,
.bt-feature-story__content {
  display: grid;
  gap: 12px;
}

.bt-post-card__meta,
.bt-feature-story__meta,
.bt-article-head__meta,
.bt-ranking-leader-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--bt-text-muted);
  font-size: 14px;
}

.bt-post-card__category,
.bt-feature-story__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--bt-pill);
  background: var(--bt-dark);
  color: var(--bt-white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.bt-post-card__title a,
.bt-feature-story h2 a {
  color: var(--bt-dark);
}

.bt-post-card--featured {
  display: grid;
}

.bt-post-card--featured .bt-post-card__media {
  min-height: 100%;
}

.bt-court-card {
  display: grid;
  gap: 0;
}

.bt-court-card__top {
  display: grid;
  gap: 12px;
}

.bt-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bt-court-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #eeeeeb;
  color: var(--bt-text-muted);
  font-size: 14px;
  font-weight: 500;
}

.bt-court-card__meta {
  color: var(--bt-text-muted);
}

.bt-court-card__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  padding-top: 4px;
}

.bt-ranking-switch {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--bt-border);
}

.bt-ranking-pane {
  display: none;
  gap: 16px;
}

.bt-ranking-pane.is-active {
  display: grid;
}

.bt-ranking-table-card {
  overflow: hidden;
}

.bt-ranking-switch__button {
  min-height: 58px;
  padding: 16px 24px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--bt-text-muted);
  font-weight: 600;
}

.bt-ranking-switch__button.is-active,
.bt-ranking-switch__button.is-active:hover {
  background: var(--bt-white);
  color: var(--bt-dark);
  border-color: var(--bt-green);
}

.bt-ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.bt-ranking-table tbody {
  font-size: 18px;
  line-height: 30px;
}

.bt-ranking-table th,
.bt-ranking-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--bt-border);
}

.bt-ranking-table thead {
  background: #f3f4f1;
}

.bt-ranking-table th:last-child,
.bt-ranking-table td:last-child {
  text-align: right;
}

.bt-ranking-table tbody tr.is-highlighted,
.bt-ranking-table tbody tr:hover {
  background: rgba(215, 255, 69, 0.12);
}

.bt-page-hero--feature h1,
.bt-ranking-page-head h1 {
  margin-bottom: 24px;
}

.bt-feature-story {
  display: grid;
}

@media (min-width: 900px) {
  .bt-feature-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }
}

.bt-page-hero--article h1 {
  max-width: 900px;
}

.bt-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--bt-text-muted);
  font-size: 14px;
}

.bt-article-hero-image {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--bt-border);
  margin-bottom: 32px;
}

.bt-article-hero-image img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.bt-article-layout {
  gap: 24px;
}

@media (min-width: 1024px) {
  .bt-article-layout {
    grid-template-columns: minmax(0, 720px) minmax(260px, 1fr);
    align-items: start;
  }

  .bt-ranking-page {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.7fr);
    gap: 24px;
    align-items: start;
  }
}

.bt-article--story {
  max-width: 720px;
}

.bt-article__lead {
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 4px solid var(--bt-green);
  color: var(--bt-dark);
  font-weight: 600;
}

.bt-article__content {
  display: grid;
  gap: 18px;
}

.bt-article__content h2,
.bt-article__content h3,
.bt-article__content h4 {
  margin-top: 8px;
}

.bt-article__content p,
.bt-article__content li,
.bt-ranking-content p,
.bt-ranking-content li {
  color: var(--bt-text-muted);
}

.bt-article__content ul,
.bt-article__content ol {
  padding-left: 22px;
}

.bt-article__content a {
  color: var(--bt-dark);
  text-decoration: underline;
}

.bt-article__content blockquote {
  margin: 0;
  padding: 24px;
  border-left: 4px solid var(--bt-lime);
  border-radius: 0 16px 16px 0;
  background: #f3f4f1;
  color: var(--bt-dark);
}

.bt-article__content figure {
  margin: 0;
}

.bt-article__content figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--bt-text-muted);
}

.bt-article__content img {
  border-radius: 16px;
}

.bt-article__content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  border: 1px solid var(--bt-border);
  border-radius: 16px;
}

.bt-article__content td,
.bt-article__content th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bt-border);
  text-align: left;
}

.bt-related-mini {
  display: grid;
  gap: 12px;
}

.bt-related-mini__item {
  display: grid;
  gap: 4px;
}

.bt-related-mini__item a {
  color: var(--bt-dark);
  font-weight: 700;
}

.bt-related-mini__item span {
  color: var(--bt-text-muted);
  font-size: 14px;
}

.bt-courts-page {
  min-height: calc(100vh - 64px);
}

.bt-courts-toolbar {
  position: sticky;
  top: 64px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--bt-border);
  backdrop-filter: blur(16px);
}

@media (min-width: 1024px) {
  .bt-courts-toolbar {
    top: 80px;
  }
}

.bt-courts-toolbar__inner {
  display: grid;
  gap: 16px;
  padding: 16px 0;
}

.bt-courts-toolbar__filters {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .bt-courts-toolbar__filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
  }
}

.bt-courts-toolbar__filters label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--bt-text-muted);
}

.bt-courts-toolbar__filters select {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--bt-border);
  background: var(--bt-white);
}

.bt-courts-layout {
  display: grid;
}

@media (min-width: 1024px) {
  .bt-courts-layout {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    min-height: calc(100vh - 145px);
  }
}

.bt-courts-list {
  padding: 16px;
}

@media (min-width: 1024px) {
  .bt-courts-list {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(100vh - 145px);
  }
}

.bt-courts-list__head {
  margin-bottom: 20px;
}

.bt-courts-list__head p {
  margin-top: 4px;
}

.bt-map-panel {
  padding: 16px;
}

@media (min-width: 1024px) {
  .bt-map-panel {
    padding: 24px 24px 24px 0;
  }
}

.bt-map-panel__card {
  height: 100%;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
}

.bt-map-placeholder {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(47, 125, 91, 0.1), rgba(215, 255, 69, 0.18)),
    #f3f4f1;
}

@media (min-width: 1024px) {
  .bt-map-placeholder {
    min-height: calc(100vh - 193px);
  }
}

.bt-map-placeholder__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 60, 47, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 60, 47, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bt-map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bt-dark);
  border: 4px solid var(--bt-white);
  box-shadow: var(--bt-shadow);
}

.bt-map-pin--a {
  top: 28%;
  left: 40%;
}

.bt-map-pin--b {
  top: 52%;
  left: 62%;
  background: #c8ef35;
}

.bt-map-pin--c {
  top: 40%;
  left: 24%;
}

.bt-map-popup {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 280px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--bt-border);
}

.bt-ranking-page-head {
  margin-bottom: 24px;
}

.bt-ranking-page-head p {
  max-width: 680px;
  margin-top: 12px;
}

.bt-ranking-leader-card {
  display: grid;
  gap: 16px;
  min-height: 260px;
  background: var(--bt-white);
}

.bt-ranking-leader-card__pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--bt-pill);
  background: #c8ef35;
  color: #171e00;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.bt-ranking-shell--page {
  display: grid;
  gap: 16px;
}

.bt-empty-state {
  display: grid;
  gap: 10px;
}

.bt-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.bt-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bt-white);
  border: 1px solid var(--bt-border);
}

.bt-pagination .current {
  background: #c8ef35;
  border-color: #c8ef35;
  color: #171e00;
}

.bt-footer {
  padding: 48px 0 96px;
  background: var(--bt-dark);
  color: var(--bt-white);
}

.bt-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bt-footer__brand,
.bt-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.bt-footer__brand {
  flex-direction: column;
  gap: 12px;
}

.bt-footer__brand p,
.bt-footer__nav a {
  color: rgba(255, 255, 255, 0.78);
}

.bt-footer__logo {
  color: #c8ef35;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.bt-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 80px;
  border-top: 1px solid var(--bt-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.bt-bottom-nav__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  color: var(--bt-text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bt-bottom-nav__item.is-active {
  color: var(--bt-dark);
  background: rgba(215, 255, 69, 0.16);
}

@media (min-width: 768px) {
  .bt-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .bt-bottom-nav {
    display: none;
  }
}

.has-open-menu {
  overflow: hidden;
}

@media (max-width: 767px) {
  .bt-ranking-table,
  .bt-ranking-table thead,
  .bt-ranking-table tbody,
  .bt-ranking-table tr,
  .bt-ranking-table th,
  .bt-ranking-table td {
    display: block;
  }

  .bt-ranking-table thead {
    display: none;
  }

  .bt-ranking-table tbody {
    display: grid;
    gap: 12px;
    padding: 12px;
  }

  .bt-ranking-table tr {
    border: 1px solid var(--bt-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--bt-white);
  }

  .bt-ranking-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    white-space: normal;
  }
}

.bt-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--bt-border);
  backdrop-filter: blur(16px);
}

.bt-site-header__inner {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 16px;
}

.bt-site-brand {
  min-width: 0;
}

.bt-site-brand__title {
  display: block;
  color: #00261b;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.bt-site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.bt-site-header__icon,
.bt-site-menu-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bt-text-muted);
}

.bt-site-header__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.bt-site-menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.bt-site-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 2px;
  background: #00261b;
}

.bt-site-nav {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  display: none;
  padding: 12px var(--bt-gutter) 18px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--bt-border);
}

.bt-site-nav.is-open {
  display: block;
}

.bt-site-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bt-site-menu a {
  display: block;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--bt-text-muted);
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
}

.bt-site-menu .current-menu-item > a,
.bt-site-menu .current_page_item > a,
.bt-site-menu a:hover {
  color: #00261b;
  background: rgba(200, 239, 53, 0.18);
}

.bt-home {
  padding-bottom: 48px;
}

.bt-home-section {
  padding: 48px 0 0;
}

.bt-home-hero {
  padding: 64px 0 24px;
}

.bt-home-hero__copy {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}

.bt-home-hero__title {
  max-width: 896px;
  margin: 0 auto;
  color: #00261b;
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.bt-home-hero__text {
  max-width: 672px;
  margin: 16px auto 0;
  color: var(--bt-text-muted);
  font-size: 16px;
  line-height: 26px;
}

.bt-home-search {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 672px;
  margin: 32px auto 0;
  padding: 8px;
  border: 1px solid var(--bt-border);
  border-radius: 999px;
  background: var(--bt-white);
}

.bt-home-search__field {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 12px;
  padding: 0 12px;
}

.bt-home-search__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke: var(--bt-text-muted);
  stroke-width: 2;
  fill: none;
}

.bt-home-search__input {
  appearance: none;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-sizing: border-box;
  box-shadow: none;
  color: var(--bt-text);
  font: 400 16px/26px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 10px 0;
}

.bt-home-search__input::placeholder {
  color: #717974;
}

.bt-home-search__button {
  appearance: none;
  border: 0;
  outline: 0;
  background: #c8ef35;
  color: #00261b;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 32px;
  border-radius: 999px;
  font: 600 20px/26px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.bt-home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.bt-home-section__title {
  color: #00261b;
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.bt-home-section__link {
  color: var(--bt-green);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.bt-home-courts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bt-home-courts__empty,
.bt-home-blog__empty {
  padding: 18px 20px;
  border: 1px solid var(--bt-border);
  border-radius: 16px;
  background: var(--bt-white);
}

.bt-home-courts__empty h3,
.bt-home-blog__empty h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 24px;
}

.bt-home-court-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--bt-border);
  border-radius: 12px;
  background: var(--bt-white);
  overflow: hidden;
}

.bt-home-court-card__media {
  display: block;
  height: 192px;
  background: #e2e3e0;
}

.bt-home-court-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bt-home-court-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #00261b;
  font-weight: 700;
}

.bt-home-court-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.bt-home-court-card__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
}

.bt-home-court-card__title a {
  color: #00261b;
}

.bt-home-court-card__address {
  color: var(--bt-text-muted);
  font-size: 16px;
  line-height: 24px;
}

.bt-home-court-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bt-home-court-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #eeeeeb;
  color: var(--bt-text-muted);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}

.bt-home-court-card__actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.bt-home-court-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.bt-home-court-card__action--ghost {
  border: 1px solid var(--bt-border);
  background: var(--bt-white);
  color: var(--bt-text);
}

.bt-home-court-card__action--solid {
  background: #00261b;
  color: var(--bt-white);
}

.bt-home-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bt-home-blog__side {
  display: grid;
  gap: 24px;
}

.bt-home-blog__footer {
  margin-top: 24px;
}

.bt-home-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--bt-border);
  border-radius: 12px;
  background: var(--bt-white);
  overflow: hidden;
}

.bt-home-post-card--featured {
  display: flex;
  flex-direction: row;
  grid-column: span 2;
}

.bt-home-post-card__media {
  display: block;
  background: #e2e3e0;
}

.bt-home-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bt-home-post-card--featured .bt-home-post-card__media {
  width: 44%;
  min-height: 100%;
}

.bt-home-post-card--featured .bt-home-post-card__body {
  width: 56%;
  justify-content: center;
  padding: 24px;
}

.bt-home-post-card:not(.bt-home-post-card--featured) .bt-home-post-card__media {
  height: 160px;
}

.bt-home-post-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  color: #00261b;
  font-weight: 700;
}

.bt-home-post-card__body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.bt-home-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bt-home-post-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #00261b;
  color: var(--bt-white);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.bt-home-post-card__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
}

.bt-home-post-card--featured .bt-home-post-card__title {
  font-size: 22px;
  line-height: 28px;
}

.bt-home-post-card__title a {
  color: #00261b;
}

.bt-home-post-card__excerpt {
  color: var(--bt-text-muted);
  font-size: 14px;
  line-height: 22px;
}

.bt-home-post-card__date {
  color: #717974;
  font-size: 12px;
  line-height: 18px;
}

.bt-home-ranking__panel {
  overflow: hidden;
  border: 1px solid var(--bt-border);
  border-radius: 12px;
  background: var(--bt-white);
}

.bt-home-ranking__tabs {
  display: flex;
  border-bottom: 1px solid var(--bt-border);
}

.bt-home-ranking__tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--bt-text-muted);
  min-height: 58px;
  padding: 16px 24px;
  font: 600 20px/26px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.bt-home-ranking__tab.is-active {
  color: #00261b;
  border-bottom-color: var(--bt-green);
}

.bt-home-ranking__table-wrap {
  overflow-x: auto;
}

.bt-home-ranking__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.bt-home-ranking__table thead {
  background: #f3f4f1;
}

.bt-home-ranking__table th,
.bt-home-ranking__table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--bt-border);
  text-align: left;
}

.bt-home-ranking__table th {
  color: var(--bt-text-muted);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.bt-home-ranking__table td {
  color: var(--bt-text);
  font-size: 18px;
  line-height: 30px;
}

.bt-home-ranking__table th:last-child,
.bt-home-ranking__table td:last-child {
  text-align: right;
}

.bt-home-ranking__table tbody {
  display: none;
}

.bt-home-ranking__table tbody.is-active {
  display: table-row-group;
}

.bt-home-ranking__empty-row td {
  color: var(--bt-text-muted);
}

.bt-home-ranking__footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px 20px;
}

.bt-home-ranking__footer [data-ranking-link] {
  display: none;
}

.bt-home-ranking__footer [data-ranking-link].is-active {
  display: inline-flex;
}

.bt-site-footer {
  margin-top: 48px;
  padding: 48px 0;
  background: #123c2f;
  color: var(--bt-white);
}

.bt-site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bt-site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bt-site-footer__logo {
  color: #c8ef35;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

.bt-site-footer__brand p,
.bt-site-footer__nav a {
  color: rgba(255, 255, 255, 0.8);
}

.bt-site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

@media (min-width: 768px) {
  .bt-site-header__inner {
    min-height: 80px;
  }

  .bt-site-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    margin-left: auto;
  }

  .bt-site-menu {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .bt-site-menu a {
    min-height: auto;
    padding: 0 0 4px;
    border-radius: 0;
    font-size: 20px;
    line-height: 26px;
  }

  .bt-site-menu .current-menu-item > a,
  .bt-site-menu .current_page_item > a,
  .bt-site-menu a:hover {
    background: transparent;
    border-bottom: 2px solid var(--bt-green);
  }

  .bt-site-menu-toggle {
    display: none;
  }

  .bt-home-hero {
    padding: 96px 0 48px;
  }

  .bt-home-hero__title {
    font-size: 44px;
    line-height: 52px;
  }

  .bt-home-hero__text {
    font-size: 18px;
    line-height: 30px;
  }

  .bt-home-section__title {
    font-size: 32px;
    line-height: 38px;
  }

  .bt-home-section__link {
    font-size: 20px;
    line-height: 26px;
  }

  .bt-home-courts__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .bt-site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .bt-home {
    padding-bottom: 12px;
  }

  .bt-site-header__inner {
    min-height: 56px;
    gap: 10px;
  }

  .bt-site-brand {
    max-width: 170px;
  }

  .bt-site-brand__title {
    font-size: 15px;
    line-height: 17px;
    letter-spacing: -0.02em;
  }

  .bt-site-header__actions {
    gap: 4px;
  }

  .bt-site-header__icon,
  .bt-site-menu-toggle {
    width: 34px;
    height: 34px;
  }

  .bt-site-header__icon svg {
    width: 18px;
    height: 18px;
  }

  .bt-site-menu-toggle span:not(.screen-reader-text) {
    width: 16px;
  }

  .bt-home-hero {
    padding: 28px 0 8px;
  }

  .bt-home-hero__copy {
    text-align: left;
  }

  .bt-home-hero__title {
    max-width: 240px;
    font-size: 28px;
    line-height: 32px;
  }

  .bt-home-hero__text {
    max-width: 248px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .bt-home-search {
    margin-top: 18px;
    max-width: 100%;
    padding: 6px;
  }

  .bt-home-search__field {
    gap: 8px;
    padding: 0 8px;
    min-width: 0;
  }

  .bt-home-search__icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .bt-home-search__input {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    line-height: 18px;
    padding: 8px 0;
  }

  .bt-home-search__button {
    flex: 0 0 auto;
    min-height: 34px;
    min-width: 74px;
    padding: 8px 14px;
    font-size: 13px;
    line-height: 16px;
  }

  .bt-home-section {
    padding-top: 28px;
  }

  .bt-home-section__head {
    margin-bottom: 16px;
    align-items: center;
  }

  .bt-home-section__title {
    font-size: 20px;
    line-height: 24px;
  }

  .bt-home-section__link {
    font-size: 12px;
    line-height: 16px;
  }

  .bt-home-courts__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .bt-home-courts__grid > * {
    min-width: 176px;
    scroll-snap-align: start;
  }

  .bt-home-court-card__media {
    height: 112px;
  }

  .bt-home-court-card__body {
    gap: 8px;
    padding: 12px;
  }

  .bt-home-court-card__title {
    font-size: 12px;
    line-height: 16px;
  }

  .bt-home-court-card__address {
    font-size: 10px;
    line-height: 14px;
  }

  .bt-home-court-card__tag {
    min-height: 20px;
    padding: 3px 6px;
    font-size: 10px;
    line-height: 12px;
  }

  .bt-home-court-card__actions {
    gap: 8px;
  }

  .bt-home-court-card__action {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 10px;
    line-height: 12px;
  }

  .bt-home-blog__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bt-home-post-card--featured {
    grid-column: 1 / -1;
    flex-direction: column;
  }

  .bt-home-post-card--featured .bt-home-post-card__media,
  .bt-home-post-card--featured .bt-home-post-card__body {
    width: 100%;
  }

  .bt-home-post-card--featured .bt-home-post-card__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .bt-home-post-card--featured .bt-home-post-card__body {
    padding: 14px;
  }

  .bt-home-post-card:not(.bt-home-post-card--featured) .bt-home-post-card__media {
    height: 118px;
  }

  .bt-home-post-card__body {
    gap: 8px;
    padding: 12px;
  }

  .bt-home-post-card__category {
    min-height: 18px;
    padding: 2px 6px;
    font-size: 9px;
    line-height: 12px;
  }

  .bt-home-post-card__title,
  .bt-home-post-card--featured .bt-home-post-card__title {
    font-size: 12px;
    line-height: 16px;
  }

  .bt-home-post-card__excerpt {
    font-size: 10px;
    line-height: 14px;
  }

  .bt-home-post-card__date {
    font-size: 9px;
    line-height: 12px;
  }

  .bt-home-blog__side {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .bt-home-ranking__panel {
    border-radius: 10px;
  }

  .bt-home-ranking__table {
    min-width: 0;
    table-layout: fixed;
  }

  .bt-home-ranking__table th:nth-child(1),
  .bt-home-ranking__table td:nth-child(1) {
    width: 34px;
  }

  .bt-home-ranking__table th:nth-child(3),
  .bt-home-ranking__table td:nth-child(3) {
    width: 54px;
  }

  .bt-home-ranking__table th:nth-child(4),
  .bt-home-ranking__table td:nth-child(4) {
    width: 56px;
  }

  .bt-home-ranking__table th,
  .bt-home-ranking__table td {
    padding: 10px 8px;
    font-size: 11px;
    line-height: 14px;
  }

  .bt-home-ranking__table td {
    overflow-wrap: anywhere;
  }

  .bt-home-ranking__tab {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 8px;
    font-size: 12px;
    line-height: 16px;
  }

  .bt-site-footer {
    margin-top: 28px;
    padding: 24px 0;
  }

  .bt-site-footer__inner {
    gap: 16px;
  }

  .bt-site-footer__logo {
    font-size: 16px;
    line-height: 20px;
  }

  .bt-site-footer__brand p,
  .bt-site-footer__nav a {
    font-size: 11px;
    line-height: 16px;
  }
}
