.tgn-live-countdown {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tgn-past-event-badge {
  background: #f3f4f6 !important;
  color: #4b5563 !important;
  border-color: #d1d5db !important;
}

#tgn-notice-region {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2147483646;
  display: grid;
  width: min(92vw, 28rem);
  gap: .65rem;
  pointer-events: none;
}

.tgn-notice {
  transform: translateY(1rem);
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: .85rem;
  padding: 1rem 1.1rem;
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
  font: 700 .78rem/1.55 system-ui, sans-serif;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: auto;
}

.tgn-notice.is-visible { transform: translateY(0); opacity: 1; }
.tgn-notice-warning { border-left: .35rem solid #eab308; }
.tgn-notice-error { border-left: .35rem solid #dc2626; }
.tgn-notice-success { border-left: .35rem solid #16a34a; }

.tgn-invalid-field {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important;
}

.tgn-blog-section {
  padding: 5rem 1rem;
  background: #fcfcfc;
}

.tgn-blog-heading {
  max-width: 52rem;
  margin-top: .8rem;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.tgn-blog-intro {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: #6b7280;
  line-height: 1.7;
}

.tgn-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.tgn-blog-card,
.tgn-blog-empty {
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 1rem;
  padding: 1.5rem;
  background: #fff;
}

.tgn-blog-card {
  display: flex;
  min-height: 20rem;
  flex-direction: column;
}

.tgn-blog-card-title {
  margin-top: .8rem;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.tgn-blog-card-excerpt {
  margin: 1rem 0 1.5rem;
  color: #6b7280;
  line-height: 1.65;
}

.tgn-blog-read { margin-top: auto; align-self: flex-start; }
.tgn-blog-empty { grid-column: 1 / -1; color: #6b7280; }

.tgn-blog-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(5px);
}

.tgn-blog-modal-panel {
  position: relative;
  width: min(100%, 48rem);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 1rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.tgn-blog-modal-close {
  position: sticky;
  top: 0;
  float: right;
  border: 1px solid #e5e7eb;
  border-radius: .65rem;
  padding: .65rem .85rem;
  background: #fff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tgn-blog-modal-title {
  clear: both;
  margin: 1rem 0 1.5rem;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.tgn-blog-modal-body { color: #374151; line-height: 1.8; }
.tgn-blog-modal-body p + p { margin-top: 1.15rem; }

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

@media (max-width: 640px) {
  #tgn-notice-region { right: .75rem; bottom: 5.75rem; width: calc(100vw - 1.5rem); }
  .tgn-live-countdown { font-size: .78rem !important; }
  .tgn-blog-section { padding: 3.5rem 1rem; }
  .tgn-blog-grid { grid-template-columns: 1fr; }
}
