:root {
  --tnl-bg: #07090f;
  --tnl-bg-elevated: #0c101b;
  --tnl-text: #e8e8ea;
  --tnl-muted: #a9acb7;
  --tnl-accent: #8a63d2;
  --tnl-border: #262b3a;
  --tnl-shell: 1180px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--tnl-bg);
  color: var(--tnl-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a { color: var(--tnl-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
  background: #fff;
  color: #111;
  padding: 8px 10px;
}

.tnl-shell {
  width: min(var(--tnl-shell), calc(100% - 24px));
  margin-inline: auto;
}

.tnl-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid var(--tnl-border);
}

.tnl-header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tnl-brand .tnl-brand-logo,
.tnl-brand img,
.tnl-brand .custom-logo {
  max-height: 56px;
  width: auto;
  max-width: min(260px, 48vw);
  height: auto;
  display: block;
}

.tnl-brand-text {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 600;
  font-family: "Inter", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.3px;
}

.tnl-brand a:hover,
.tnl-brand a:focus {
  text-decoration: none;
}

.tnl-nav-toggle {
  display: none;
  border: 1px solid var(--tnl-border);
  background: transparent;
  color: var(--tnl-text);
  padding: 8px 10px;
}

.tnl-primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.tnl-nav-menu-cols {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.tnl-nav-secondary-stack {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.tnl-nav-list,
.tnl-nav-list--primary,
.tnl-nav-list--secondary,
.tnl-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}

.tnl-nav-list a,
.tnl-nav-list--primary a,
.tnl-nav-list--secondary a,
.tnl-login-link,
.tnl-footer-list a {
  color: #f1f1f3;
  font-size: 1rem;
}

.tnl-login-link {
  margin-left: 0;
}

.tnl-main-content {
  min-height: calc(100vh - 160px);
  padding: 28px 0 36px;
}

.tnl-content-wrap {
  background: transparent;
}

.tnl-post-card {
  border-bottom: 1px solid var(--tnl-border);
  padding: 18px 0;
}

.tnl-post-title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 600;
}

.tnl-post-body,
.tnl-post-body p {
  color: var(--tnl-muted);
}

.tnl-site-footer {
  border-top: 1px solid var(--tnl-border);
  padding: 22px 0 30px;
}

.tnl-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tnl-copyright {
  margin: 0;
  color: var(--tnl-muted);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 900px) {
  .tnl-nav-toggle {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 14px;
  }

  .tnl-nav-toggle-label {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .tnl-primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: #090b13;
    border-bottom: 1px solid var(--tnl-border);
    padding: 14px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    display: none;
  }

  .tnl-primary-nav.is-open { display: flex; }

  .tnl-nav-menu-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    align-items: start;
    width: 100%;
  }

  .tnl-nav-secondary-stack {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tnl-nav-list--primary,
  .tnl-nav-list--secondary {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
  }
}

.tnl-btn-primary {
  display: inline-block;
  background: #6e45bc;
  color: #fff;
  border: 1px solid #9f7ce1;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1.95rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 1s ease, border-color 1s ease;
}

.tnl-btn-primary:hover,
.tnl-btn-primary:focus {
  background: #8a63d6;
  border-color: #b79af0;
  text-decoration: none;
}

.tnl-home-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--tnl-border);
}

.tnl-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.tnl-home-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 0;
}

.tnl-home-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 500;
}

.tnl-home-subtitle {
  font-size: clamp(1.7rem, 3vw, 3rem);
  margin: 26px 0 20px;
  color: #f6f6f8;
}

.tnl-home-tagline {
  margin-top: 120px;
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.tnl-home-cities {
  color: #bdbdbd;
  font-size: 1rem;
  margin: 0;
}

.tnl-section {
  padding: 46px 0;
}

.tnl-section-head {
  text-align: center;
  margin-bottom: 22px;
}

.tnl-section-head h2 {
  margin: 0 0 8px;
  color: #ececf2;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
}

.tnl-section-head p,
.tnl-centered-text {
  color: var(--tnl-muted);
  font-size: 1.1rem;
}

.tnl-centered-text { text-align: center; }

/* Nightlife Spotlight: 2 columns; add venue pairs to $tnl_spotlight_venues for more rows */
.tnl-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
  max-width: 960px;
  margin: 0 auto;
}

.tnl-spotlight-card {
  border: 1px solid var(--tnl-border);
  border-radius: 10px;
  overflow: hidden;
  background: #0a0f1b;
  display: flex;
  flex-direction: column;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.tnl-spotlight-card:hover {
  background: #152238;
  border-color: #3a4158;
}

.tnl-spotlight-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.tnl-spotlight-card-link:hover,
.tnl-spotlight-card-link:focus-visible {
  text-decoration: none;
}

.tnl-spotlight-card-link:hover .tnl-spotlight-title,
.tnl-spotlight-card-link:focus-visible .tnl-spotlight-title {
  color: var(--tnl-accent);
}

.tnl-spotlight-card-link:focus-visible {
  outline: 2px solid var(--tnl-accent);
  outline-offset: 2px;
}

.tnl-spotlight-image-wrap {
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #12182a 0%, #0a0e18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.tnl-spotlight-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tnl-spotlight-image--placeholder {
  max-height: 72%;
  opacity: 0.95;
}

.tnl-spotlight-badge {
  margin: 0;
  padding: 8px 16px 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fab86a;
  text-align: center;
}

.tnl-spotlight-title {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  color: #ececf2;
  text-align: center;
}

.tnl-spotlight-card--article .tnl-spotlight-title {
  padding-top: 8px;
}

@media (max-width: 640px) {
  .tnl-spotlight-grid {
    grid-template-columns: 1fr;
  }
}

.tnl-card-grid {
  display: grid;
  gap: 16px;
}

.tnl-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tnl-category-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  border: 1px solid var(--tnl-border);
  border-radius: 8px;
  background: linear-gradient(135deg, #10182e 0%, #1f1f2f 100%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  font-size: 1.75rem;
  text-decoration: none;
}

.tnl-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 0;
  transition: background-color 1s ease;
}

.tnl-category-card:hover::before,
.tnl-category-card:focus::before {
  background: rgba(0, 0, 0, 0.22);
}

.tnl-category-card span {
  position: relative;
  z-index: 1;
}

.tnl-category-night-clubs {
  background-image: url("../images/category-night-clubs.png");
}

.tnl-category-drinks {
  background-image: url("../images/category-drinks.png");
}

.tnl-category-eats-and-drinks {
  background-image: url("../images/category-eats-and-drinks.png");
}

.tnl-category-music {
  background-image: url("../images/category-music.png");
}

.tnl-category-sports-bars {
  background-image: url("../images/category-sports-bars.png");
}

.tnl-category-lgbtq {
  background-image: url("../images/category-lgbtq.png");
}

.tnl-category-live-entertainment {
  background-image: url("../images/category-live-entertainment.png");
}

.tnl-category-game-play {
  background-image: url("../images/category-game-play.png");
}

.tnl-category-cinema-and-arts {
  background-image: url("../images/category-cinema-and-arts.png");
}

.tnl-page-wrap {
  max-width: 1180px;
}

.tnl-page-card {
  padding: 6px 0 18px;
}

.tnl-page-header h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 2.4vw, 2.8rem);
  color: var(--tnl-accent);
  font-weight: 500;
}

/* Individual venue/event: centered column title */
.single-venue .tnl-detail-main > .tnl-page-header h1,
.single-event .tnl-detail-main > .tnl-page-header h1 {
  font-size: clamp(1.65rem, 2.05vw, 2.45rem);
  color: #ffffff;
  padding: 0.22em 0.9em;
  border-radius: 8px;
  margin-bottom: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.single-venue .tnl-detail-main > .tnl-page-header h1 {
  background: linear-gradient(90deg, #6e45bc 0%, #22d3ee 100%);
}

.single-event .tnl-detail-main > .tnl-page-header h1 {
  background: linear-gradient(90deg, #6e45bc 0%, #f97316 100%);
}

.tnl-page-content {
  color: #dfdfe3;
}

.tnl-page-content p,
.tnl-page-content li {
  color: #d8d9df;
}

.tnl-page-content h2,
.tnl-page-content h3,
.tnl-page-content h4 {
  color: #ececf2;
  font-weight: 500;
}

.tnl-legal-page-body .tnl-legal-list {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: #d8d9df;
}

.tnl-legal-page-body .tnl-legal-list li {
  margin-bottom: 0.45rem;
}

.tnl-banner-header {
  margin-bottom: 24px;
  background: linear-gradient(90deg, #515070 0%, #9e7bcf 50%, #e1b55d 100%);
  border-radius: 4px;
  padding: 12px 14px;
}

.tnl-banner-header h1 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
}

.tnl-blog-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid var(--tnl-border);
  border-radius: 8px;
  background: #0a0f1b;
}

.tnl-blog-filter label {
  font-weight: 500;
  color: #ececf2;
}

.tnl-blog-filter select {
  min-width: 14rem;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid var(--tnl-border);
  background: #12182a;
  color: #ececf2;
}

.tnl-blog-type-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0f1b;
  background: #fab86a;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.tnl-spotlight-venue-link {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid var(--tnl-border);
  border-radius: 8px;
  background: #0a0f1b;
  color: #dbdce2;
}

.tnl-spotlight-venue-link a {
  color: var(--tnl-accent);
  font-weight: 600;
}

.tnl-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.tnl-blog-card {
  border-bottom: 1px solid var(--tnl-border);
  padding-bottom: 16px;
}

.tnl-blog-title {
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.2;
}

.tnl-blog-meta {
  color: var(--tnl-muted);
  margin: 0 0 10px;
  font-size: .95rem;
}

.tnl-blog-excerpt { color: #dbdce2; }

.tnl-blog-image img,
.tnl-single-featured img {
  width: 100%;
  height: auto;
  border: 1px solid var(--tnl-border);
  border-radius: 4px;
}

@media (max-width: 900px) {
  .tnl-card-grid-3,
  .tnl-blog-grid {
    grid-template-columns: 1fr;
  }

  .tnl-home-tagline {
    margin-top: 70px;
    font-size: 1.1rem;
  }

  .tnl-btn-primary {
    font-size: 1.4rem;
  }
}

.tnl-filter-form {
  margin: 18px 0 26px;
  border-top: 1px solid var(--tnl-border);
  border-bottom: 1px solid var(--tnl-border);
  padding: 12px 0;
}

.tnl-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.tnl-filter-grid label span {
  display: block;
  color: #d9d9e0;
  margin-bottom: 4px;
  font-size: .88rem;
}

.tnl-filter-grid input,
.tnl-filter-grid select {
  width: 100%;
  background: #0f1320;
  color: #efeff3;
  border: 1px solid var(--tnl-border);
  min-height: 38px;
  padding: 8px 10px;
}

.tnl-btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7c57c9;
  color: #fff;
  border: 1px solid #a689df;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.tnl-btn-small.tnl-btn-danger-outline {
  background: transparent;
  color: #ffb2b2;
  border-color: #8a4a5a;
}

.tnl-btn-small.tnl-btn-danger-outline:hover,
.tnl-btn-small.tnl-btn-danger-outline:focus {
  background: #3e1f2b;
  border-color: #b66;
  color: #ffe0e0;
}

.tnl-btn-small.tnl-btn-orange {
  background: #d35400;
  color: #fff;
  border: 1px solid #f39c12;
  font-weight: 600;
}

.tnl-btn-small.tnl-btn-orange:hover,
.tnl-btn-small.tnl-btn-orange:focus {
  background: #e67e22;
  border-color: #f5b041;
  color: #fff;
  text-decoration: none;
}

.tnl-account-cancel-edit-wrap {
  margin: 0 0 14px;
}

.tnl-venue-logo-account .tnl-venue-logo-preview {
  margin-bottom: 12px;
}

.tnl-venue-logo-account .tnl-venue-logo-preview-img {
  display: block;
  max-width: min(100%, 360px);
  width: auto;
  max-height: 180px;
  height: auto;
  border: 1px solid var(--tnl-border);
  border-radius: 4px;
  object-fit: contain;
}

.tnl-venue-logo-account .tnl-venue-logo-preview-placeholder {
  max-height: 120px;
  padding: 12px;
  background: #0f1320;
}

.tnl-venue-logo-account .tnl-venue-logo-preview-caption {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.tnl-venue-logo-account .tnl-venue-logo-delete-form {
  margin-bottom: 12px;
}

.tnl-venue-gallery-account {
  margin-top: 18px;
}

.tnl-venue-logo-account {
  margin-bottom: 50px;
}

.tnl-venue-gallery-account .tnl-venue-gallery-current {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.tnl-venue-gallery-account .tnl-venue-gallery-empty {
  margin: 0;
}

.tnl-venue-gallery-order-hint {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.tnl-venue-gallery-sort-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tnl-venue-gallery-order-form {
  margin-bottom: 16px;
}

.tnl-gallery-order-fields {
  display: none;
}

.tnl-venue-gallery-preview-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 220px;
}

.tnl-venue-gallery-preview-item .tnl-venue-gallery-preview-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  border: 1px solid var(--tnl-border);
  border-radius: 4px;
}

.tnl-venue-gallery-move-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.tnl-venue-gallery-move-row .tnl-btn-small {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
}

.tnl-gallery-move-up[disabled],
.tnl-gallery-move-down[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.tnl-venue-gallery-account .tnl-venue-gallery-delete-form {
  margin-bottom: 0;
}

.tnl-venue-gallery-new-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.tnl-venue-gallery-new-preview[hidden] {
  display: none;
}

.tnl-venue-gallery-new-preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--tnl-border);
}

.tnl-venue-gallery-upload-hint {
  margin: 0;
  font-size: 0.95rem;
}

.tnl-event-image-account {
  margin-top: 8px;
}

.tnl-event-image-preview {
  margin-bottom: 8px;
}

.tnl-event-image-preview-img {
  display: block;
  max-width: 100%;
  max-height: 180px;
  height: auto;
  border: 1px solid var(--tnl-border);
  border-radius: 4px;
  object-fit: contain;
}

.tnl-event-image-remove {
  margin-top: 6px;
}

.tnl-event-datetime-hint {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.tnl-account-inline-form {
  display: inline-block;
}

.tnl-venue-grid .tnl-venue-card,
.tnl-event-grid .tnl-event-card {
  position: relative;
  border-bottom: 1px solid var(--tnl-border);
  padding-bottom: 14px;
}

.tnl-venue-card h2,
.tnl-event-card h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 500;
}

.tnl-venue-card-logo {
  position: relative;
  z-index: 1;
  margin: 8px 0 10px;
  text-align: center;
}

.tnl-venue-card-logo img,
.tnl-venue-card-logo .tnl-venue-logo-img {
  display: inline-block;
  width: auto;
  max-width: min(100%, 360px);
  height: auto;
  max-height: 140px;
  object-fit: contain;
  object-position: center center;
}

.tnl-muted { color: var(--tnl-muted); }

.tnl-venue-thumb,
.tnl-event-thumb {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
}

.tnl-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.tnl-venue-thumb img,
.tnl-event-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--tnl-border);
}

.tnl-event-detail-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--tnl-border);
  margin-top: 10px;
}

.tnl-venue-gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px;
}

.tnl-venue-gallery-item img {
  width: 100%;
  height: auto;
  border: 1px solid var(--tnl-border);
  display: block;
}

.tnl-address-link,
.tnl-address-link:hover,
.tnl-address-link:focus {
  color: inherit;
  text-decoration: underline;
}

.tnl-plain-link,
.tnl-plain-link:hover,
.tnl-plain-link:focus {
  color: inherit;
  text-decoration: underline;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: inline-block;
  max-width: 100%;
}

.tnl-detail-left .tnl-plain-link {
  display: block;
}

.tnl-thumb-fallback {
  display: inline-block;
  padding: 10px 12px;
  border: 1px dashed var(--tnl-border);
  color: var(--tnl-muted);
}

.tnl-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.tnl-event-filters {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tnl-detail-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 280px;
  gap: 26px;
}

.tnl-detail-left {
  padding-right: 12px;
}

.tnl-detail-layout h2 {
  margin: 0 0 8px;
  color: var(--tnl-accent);
  font-size: 2rem;
  font-weight: 500;
}

.tnl-detail-left p,
.tnl-detail-main p,
.tnl-detail-right p {
  margin: 0 0 16px;
  color: #d8d8df;
}

/* Slightly larger than browser default (16px) for venue/event detail sidebar copy */
.tnl-detail-left p {
  font-size: 1.0625rem;
}

.tnl-detail-left .tnl-venue-hours {
  white-space: pre-line;
  max-width: 100%;
}

/* Individual event pages: match sidebar bump in main + right columns */
.single-event .tnl-detail-main,
.single-event .tnl-detail-right {
  font-size: 1.0625rem;
}

.tnl-detail-left img,
.tnl-detail-main img,
.tnl-detail-right img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--tnl-border);
}

/* Wide venue wordmarks: show full width; overrides generic detail img rules above */
.tnl-detail-main .tnl-venue-card-logo img,
.tnl-detail-main .tnl-venue-card-logo .tnl-venue-logo-img,
.tnl-detail-right .tnl-venue-card-logo img,
.tnl-detail-right .tnl-venue-card-logo .tnl-venue-logo-img {
  max-width: min(100%, 360px);
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

.tnl-event-venue-profile-logo .tnl-venue-profile-logo-link {
  display: inline-block;
  text-decoration: none;
  border: 0;
}

.tnl-event-venue-profile-logo .tnl-venue-profile-logo-link:hover,
.tnl-event-venue-profile-logo .tnl-venue-profile-logo-link:focus-visible {
  opacity: 0.88;
}

.tnl-map-embed iframe {
  width: 100%;
  min-height: 180px;
  border: 0;
}

.tnl-side-event {
  border-bottom: 1px solid var(--tnl-border);
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.tnl-side-event h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 500;
}

.tnl-side-event-thumb-link {
  display: block;
  text-decoration: none;
}

.tnl-side-event-thumb-link:hover,
.tnl-side-event-thumb-link:focus {
  text-decoration: none;
}

.tnl-side-event-thumb-link img {
  display: block;
}

@media (max-width: 1100px) {
  .tnl-filter-grid,
  .tnl-event-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tnl-detail-layout {
    grid-template-columns: 1fr;
  }

  .tnl-detail-left,
  .tnl-detail-main,
  .tnl-detail-right {
    border-bottom: 1px solid var(--tnl-border);
    padding-bottom: 16px;
    padding-right: 0;
  }
}

@media (max-width: 900px) {
  .tnl-event-grid,
  .tnl-filter-grid,
  .tnl-event-filters {
    grid-template-columns: 1fr;
  }

  .tnl-venue-thumb img,
  .tnl-event-thumb img {
    height: 180px;
  }
}

.tnl-nav-list--primary .menu-item {
  position: relative;
}

.tnl-nav-list--primary .sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 230px;
  background: rgba(47, 33, 80, 0.85);
  border: 1px solid #4a3a6d;
  display: none;
  z-index: 120;
}

.tnl-nav-list--primary .sub-menu li {
  margin: 0;
}

.tnl-nav-list--primary .sub-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.95rem;
  color: #f6f2ff;
}

.tnl-nav-list--primary .menu-item:hover > .sub-menu,
.tnl-nav-list--primary .menu-item:focus-within > .sub-menu {
  display: block;
}

@media (max-width: 900px) {
  .tnl-nav-list--primary .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0 0 0 10px;
  }

  .tnl-nav-list--primary .sub-menu a {
    padding: 6px 0;
    font-size: 0.95rem;
  }
}

.tnl-auth-wrap {
  max-width: 980px;
}

.tnl-auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 18px;
}

.tnl-auth-tabs a {
  border: 1px solid var(--tnl-border);
  padding: 7px 10px;
  color: #f1f2f7;
  background: #0e1321;
  font-size: 0.9rem;
}

.tnl-auth-tabs a.is-active {
  background: #7c57c9;
  border-color: #9f83db;
}

.tnl-account-page-header .tnl-account-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tnl-account-header-title-group {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.tnl-account-page-header .tnl-account-header-row h1 {
  margin: 0;
}

.tnl-account-venue-greeting {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: #fab86a;
}

.tnl-account-profile-inner {
  max-width: 32rem;
}

.tnl-account-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tnl-account-profile-back {
  margin: 0 0 16px;
}

.tnl-account-profile-password {
  margin-top: 4px;
}

.tnl-account-profile-password-hint {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.tnl-account-logout:hover,
.tnl-account-logout:focus {
  text-decoration: none;
}

.tnl-auth-form {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.tnl-auth-form label {
  display: grid;
  gap: 5px;
  color: #dddeea;
  font-weight: 600;
}

.tnl-auth-form label.tnl-venue-field-about,
.tnl-auth-form label.tnl-venue-field-website {
  margin-top: 14px;
}

.tnl-auth-form .tnl-register-website-hint,
.tnl-auth-form .tnl-venue-website-hint,
.tnl-auth-form .tnl-event-website-hint,
.tnl-auth-form .tnl-event-image-hint {
  margin: -2px 0 12px;
  font-size: 0.92em;
}

.tnl-auth-form .tnl-event-image-inline-error,
.tnl-auth-form .tnl-venue-logo-inline-error,
.tnl-auth-form .tnl-venue-gallery-inline-error {
  margin: 0 0 12px;
}

.tnl-auth-form .tnl-event-image-inline-error[hidden],
.tnl-auth-form .tnl-venue-logo-inline-error[hidden],
.tnl-auth-form .tnl-venue-gallery-inline-error[hidden] {
  display: none;
}

.tnl-auth-form fieldset.tnl-account-venue-types,
.tnl-auth-form fieldset.tnl-register-venue-city {
  border: 1px solid var(--tnl-border);
  padding: 10px;
}

.tnl-auth-form fieldset.tnl-account-event-recurring {
  margin-top: 12px;
}

.tnl-auth-form fieldset.tnl-account-event-recurring .tnl-event-recurring-hint {
  margin: 0 0 10px;
  font-size: 0.92em;
}

.tnl-auth-form fieldset.tnl-account-venue-city {
  margin-top: 12px;
}

.tnl-auth-form input,
.tnl-auth-form textarea,
.tnl-auth-form select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--tnl-border);
  background: #0f1320;
  color: #eef0f6;
  padding: 8px 10px;
}

.tnl-auth-form input.tnl-event-datetime-input::placeholder {
  color: var(--tnl-muted);
  opacity: 1;
}

.tnl-auth-form input.tnl-event-datetime-input::-webkit-input-placeholder {
  color: var(--tnl-muted);
}

.tnl-auth-form input.tnl-event-datetime-input::-moz-placeholder {
  color: var(--tnl-muted);
  opacity: 1;
}

.tnl-auth-form input.tnl-event-datetime-input.tnl-event-datetime-default-filled:not(:focus) {
  color: var(--tnl-muted);
}

.tnl-auth-form input.tnl-event-datetime-input.tnl-event-datetime-default-filled:focus {
  color: #eef0f6;
}

.tnl-auth-form input.tnl-event-time-input::placeholder {
  color: rgba(238, 240, 246, 0.45);
  opacity: 1;
}

.tnl-auth-form input.tnl-event-time-input::-webkit-input-placeholder {
  color: rgba(238, 240, 246, 0.45);
}

.tnl-auth-form input.tnl-event-time-input::-moz-placeholder {
  color: rgba(238, 240, 246, 0.45);
  opacity: 1;
}

.tnl-auth-form fieldset {
  border: 1px solid var(--tnl-border);
  padding: 10px;
}

.tnl-auth-form .tnl-venue-address-fields,
.tnl-auth-form .tnl-venue-hours-fields {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}

.tnl-auth-form .tnl-venue-address-heading,
.tnl-auth-form .tnl-venue-hours-heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.35;
  color: #dddeea;
  text-align: left;
}

.tnl-auth-form .tnl-venue-field-hours {
  margin: 0;
}

.tnl-auth-form .tnl-venue-hours-textarea {
  width: 100%;
  min-height: 9.5rem;
  resize: vertical;
  white-space: pre-wrap;
}

.tnl-auth-form label.tnl-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-weight: 400;
}

.tnl-auth-form label.tnl-check input[type="checkbox"],
.tnl-auth-form label.tnl-check input[type="radio"] {
  width: auto;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  align-self: center;
}

.tnl-auth-form label.tnl-check .tnl-check-text {
  line-height: 1.35;
}

.tnl-form-error {
  color: #ffb2b2;
  background: #3e1f2b;
  border: 1px solid #7a3246;
  padding: 10px;
}

.tnl-form-success {
  color: #c7f6cf;
  background: #1e3a2a;
  border: 1px solid #376a4a;
  padding: 10px;
}

.tnl-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.tnl-account-create-wrap > h2 {
  margin: 0 0 16px;
}

.tnl-account-create-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.tnl-account-col {
  min-width: 0;
}

.tnl-account-media-placeholder {
  margin: 0;
}

.tnl-account-panel,
.tnl-account-content {
  border: 1px solid var(--tnl-border);
  padding: 14px;
  background: #0a0f1b;
}

.tnl-account-panel h2,
.tnl-account-content h2,
.tnl-account-panel h3 {
  color: var(--tnl-accent);
  font-weight: 500;
}

.tnl-account-my-content-hint {
  margin: 0 0 14px;
  line-height: 1.45;
  max-width: 52rem;
}

.tnl-content-table {
  width: 100%;
  border-collapse: collapse;
}

.tnl-content-table th,
.tnl-content-table td {
  border-bottom: 1px solid var(--tnl-border);
  text-align: left;
  padding: 8px 6px;
}

@media (max-width: 1024px) {
  .tnl-account-create-columns {
    grid-template-columns: 1fr;
  }
}
