/* Runners Brasil - Nativo Static v2 */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e1e1e;
  background-color: #ffffff;
  line-height: 1.6;
}

:root {
  --rb-primary: #ff6600;
  --rb-primary-dark: #e35600;
  --rb-bg-dark: #0d0d0d;
  --rb-gray-soft: #e0e0e0;
  --rb-gray-text: #6b7280;
  --rb-radius-md: 12px;
  --rb-radius-lg: 18px;
  --rb-radius-pill: 999px;
  --rb-shadow-soft: 0 10px 30px rgba(15, 23, 42, .1);
}

.u-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.u-section {
  padding: 2.5rem 0;
}

.u-section--tight {
  padding: 1.5rem 0;
}

.u-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 .6rem;
}

.u-section__title--small {
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border-radius: 8px;
  text-align: center;
  transition: .2s;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: .9rem;
}

.btn-primary {
  background: var(--rb-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--rb-primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--rb-primary);
  border: 1px solid var(--rb-primary);
}

.btn-secondary:hover {
  background: #fff5ec;
}

.btn--small {
  padding: .45rem .9rem;
  font-size: .8rem;
}

.btn--ghost {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
}

/* Header */
.site-header {
  background: var(--rb-bg-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
}

.site-header__branding {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.site-header__logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 0, #ffb380, var(--rb-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.site-header__title {
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.site-header__subtitle {
  font-size: .7rem;
  opacity: .7;
}

.site-header__nav-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 10px;
  width: 38px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.site-header__nav-toggle-line,
.site-header__nav-toggle-line::before,
.site-header__nav-toggle-line::after {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  content: "";
  display: block;
  position: relative;
}

.site-header__nav-toggle-line::before {
  position: absolute;
  top: -5px;
}

.site-header__nav-toggle-line::after {
  position: absolute;
  top: 5px;
}

.site-header__nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-header__nav--open {
  display: block;
}

.site-header__nav-list {
  list-style: none;
  margin: 0;
  padding: .7rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.site-header__nav-link {
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  opacity: .8;
  transition: opacity .15s, color .15s;
}

.site-header__nav-link--active,
.site-header__nav-link:hover {
  opacity: 1;
  color: #ffb380;
}

/* Hero Landing */
.hero--landing {
  position: relative;
  min-height: 360px;
  padding: 5rem 0 4.5rem;
  background-image: url("https://calendario.runnersbrasil.com/wp-content/uploads/2025/12/happy-athletic-women-having-fun-while-jogging-with-group-people-nature.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero--landing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .78));
}

.hero__overlay {
  position: relative;
}

.hero__content--center {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero__title--landing {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0 0 .4rem;
}

.hero__subtitle--landing {
  font-size: .95rem;
  opacity: .9;
  margin: 0 0 1.2rem;
}

.hero-search {
  margin-top: 1.8rem;
  background: #fff;
  border-radius: 999px;
  padding: .4rem;
  display: flex;
  align-items: stretch;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.hero-search__input {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 0 1.6rem;
  font-size: 1rem;
  outline: none;
}

.hero-search__input::placeholder {
  color: #9ca3af;
}

.hero-search__btn {
  border: none;
  padding: 0 1.3rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-search__btn--search {
  background: #111827;
  color: #fff;
}

.hero-search__btn--filters {
  background: var(--rb-primary);
  color: #fff;
  margin-left: .4rem;
}

.banner {
  margin: 2.5rem 0 1.5rem;
  display: flex;
  justify-content: center;
}

.banner__image {
  width: 100%;
  max-width: 1000px;
  height: 260px;
  border-radius: var(--rb-radius-lg);
  background: linear-gradient(90deg, #ff6600, #ff9800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  text-align: center;
}

/* Banner */
.banner {
  margin: 2rem 0 1rem;
}

.banner__image {
  width: 100%;
  max-width: 1200px;
  height: 260px;
  border-radius: var(--rb-radius-lg);
  background: linear-gradient(90deg, #ff6600, #ff9800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
}

/* Event cards */
.event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  transition: transform .18s, box-shadow .18s;
  height: 100%;
  min-height: 480px;
}

.event-card--large {
  max-width: 380px;
  margin: 0 auto;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 23, 42, .16);
}

.event-card__media {
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  flex-grow: 1;
}

.event-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  min-height: 2.8em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  font-size: .9rem;
  color: var(--rb-gray-text);
  margin: 0;
  min-height: 1.5em;
}

.event-card__date {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .9rem;
  font-weight: 600;
  color: #111827;
}

.event-card__date-icon {
  font-size: 1rem;
}

.event-card__desc {
  font-size: .9rem;
  color: #4b5563;
  line-height: 1.5;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4em;
}

.event-card__button {
  margin-top: auto;
  align-self: stretch;
}

.event-card--highlight {
  border: 2px solid rgba(255, 102, 0, .32);
  background: linear-gradient(to bottom, #fffaf5, #fff);
}

/* Highlights slider */
.highlight-slider {
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.highlight-slider__track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.highlight-slider__track::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.highlight-slider__item {
  min-width: 280px;
  max-width: 380px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.highlight-slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: .4rem;
  margin-top: .3rem;
}

.highlight-slider__btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--rb-gray-soft);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Tabs / Filters */
.filters {
  margin-top: 2rem;
}

.filters-shell {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 2.5rem;
}

.filters-shell__sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.filters-shell__content {
  background: #fff;
  border-radius: var(--rb-radius-lg);
  box-shadow: var(--rb-shadow-soft);
  padding: 2rem;
}

.tabs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--rb-gray-soft);
}

.tabs__button {
  position: relative;
  flex: 0 0 auto;
  padding: .5rem .2rem;
  border: none;
  background: none;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #777;
  cursor: pointer;
}

.tabs__button--active {
  color: #111827;
  font-weight: 700;
}

.tabs__button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  border-radius: 99px;
  background: var(--rb-primary);
  transition: width .18s;
}

.tabs__button--active::after {
  width: 100%;
}

.tabs__panel {
  display: none;
  padding-top: 1.5rem;
}

.tabs__panel--active {
  display: block;
}

/* Map placeholder & calendar (resumido) */
.map-placeholder {
  border-radius: var(--rb-radius-lg);
  border: 1px solid var(--rb-gray-soft);
  background: #f3f4f6;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.calendar {
  border-radius: var(--rb-radius-lg);
  border: 1px solid var(--rb-gray-soft);
  padding: 1rem;
  box-shadow: var(--rb-shadow-soft);
  min-height: 600px;
  background: #fff;
}

/* FullCalendar Custom Styles */
.fc {
  font-family: 'Roboto', sans-serif;
}

.fc .fc-toolbar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.fc .fc-button {
  background: #111827;
  border-color: #111827;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-transform: capitalize;
  transition: all 0.2s;
}

.fc .fc-button:hover {
  background: var(--rb-primary);
  border-color: var(--rb-primary);
}

.fc .fc-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.fc .fc-button-active {
  background: var(--rb-primary) !important;
  border-color: var(--rb-primary) !important;
}

.fc-theme-standard .fc-scrollgrid {
  border-color: #e5e7eb;
}

.fc-theme-standard td,
.fc-theme-standard th {
  border-color: #e5e7eb;
}

.fc .fc-col-header-cell {
  background: #f9fafb;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #6b7280;
  padding: 0.75rem 0.5rem;
}

.fc .fc-daygrid-day-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  padding: 0.5rem;
}

.fc .fc-daygrid-day.fc-day-today {
  background: #fff7ed !important;
}

.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
  background: var(--rb-primary);
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.25rem;
}

.fc .fc-event {
  border: none;
  background: #3b82f6;
  border-radius: 4px;
  padding: 2px 4px;
  margin: 1px 2px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.fc .fc-event:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fc .fc-event-title {
  font-weight: 500;
}

.fc .fc-event-time {
  font-weight: 600;
  margin-right: 4px;
}

.fc .fc-daygrid-day-events {
  margin-top: 4px;
}

.fc .fc-more-link {
  color: var(--rb-primary);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s;
}

.fc .fc-more-link:hover {
  background: #fff7ed;
  text-decoration: none;
}

.fc .fc-popover {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fc .fc-popover-header {
  background: #f9fafb;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
}

.fc .fc-list-event:hover td {
  background: #f9fafb;
}

/* Grid de eventos */
.events-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.events-pagination {
  margin-top: 1.5rem;
}

@media (min-width:768px) {
  .events-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.filters-panel {
  background: #fff;
  border-radius: var(--rb-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--rb-shadow-soft);
}

.filters-panel__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.filters-form__field {
  margin-bottom: 1.3rem;
}

.filters-form__label {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .45rem;
  color: #6b7280;
}

.filters-form__select-group {
  position: relative;
}

.filters-form__select {
  width: 100%;
  padding: .7rem 1rem;
  border-radius: var(--rb-radius-md);
  border: 1px solid #d1d5db;
  font-size: .9rem;
}

.filters-form__options {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.filters-form__options--wrap {
  flex-wrap: wrap;
}

.filters-chip {
  display: flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--rb-radius-pill);
  padding: .3rem .9rem;
  font-size: .82rem;
  cursor: pointer;
  background: #fff;
  transition: .15s;
}

.filters-chip input {
  display: none;
}

.filters-chip span {
  font-weight: 600;
}

.filters-chip:has(input:checked) {
  background: var(--rb-primary);
  border-color: var(--rb-primary);
  color: #fff;
}

.filters-chip--checkbox {
  border-radius: var(--rb-radius-md);
}

.filters-form__actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.filters-panel__loading {
  display: none;
  align-items: center;
  gap: .7rem;
  margin-top: 1rem;
  font-size: .85rem;
  color: #6b7280;
}

.filters-panel__loading.is-active {
  display: flex;
}

.filters-panel__spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  border-top-color: var(--rb-primary);
  animation: rb-spin .8s linear infinite;
}

@keyframes rb-spin {
  to {
    transform: rotate(360deg);
  }
}

/* State / City hero */
.state-hero {
  background: linear-gradient(to bottom, #f9fafb, #fff);
  border-bottom: 1px solid #e5e7eb;
  padding: 2.5rem 0 2rem;
}

.state-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.state-hero__info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.state-hero__flag {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.state-hero__title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
}

.state-hero__subtitle {
  margin: .3rem 0 0;
  font-size: .95rem;
  opacity: .96;
}

/* Archive Filters Top */
.archive-filters-top {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
}

.archive-filters-top .state-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.archive-filters-top .state-filters__field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.archive-filters-top .state-filters__label {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: #374151;
}

.archive-filters-top .state-filters__chip {
  background: #f3f4f6;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111827;
}

.archive-filters-panel {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

/* Single Event */
.breadcrumbs {
  padding-top: 1.5rem;
  font-size: .85rem;
  color: var(--rb-gray-text);
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.breadcrumbs__link {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs__link:hover {
  color: var(--rb-primary);
}

.breadcrumbs__sep {
  opacity: .5;
}

.breadcrumbs__current {
  color: #111;
  font-weight: 600;
}

.event-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.event-content {
  display: flex;
  flex-direction: column;
}

.event-header {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--rb-gray-soft);
  padding-bottom: 2rem;
}

.event-header__date-badge {
  width: 70px;
  height: 80px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: linear-gradient(to bottom, #fff, #f3f4f6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.event-header__day {
  font-size: 1.8rem;
  font-weight: 800;
  color: #111;
}

.event-header__month {
  margin-top: 2px;
  font-size: .75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rb-primary);
}

.event-header__year {
  margin-top: 2px;
  font-size: .65rem;
  font-weight: 600;
  color: #6b7280;
}

.event-header__info {
  flex: 1;
}

.event-header__meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .6rem;
}

.tag {
  font-size: .7rem;
  padding: .2rem .6rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tag--outline {
  border: 1px solid #d1d5db;
  color: #4b5563;
}

.event-header__title {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 .5rem;
  color: #111;
}

.event-header__location {
  margin: 0;
  color: #4b5563;
}

.event-featured-media {
  margin: 0 0 2rem;
  border-radius: var(--rb-radius-md);
  overflow: hidden;
  background: #f0f0f0;
}

.event-featured-media img {
  display: block;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.event-featured-media figcaption {
  font-size: .8rem;
  color: #888;
  padding: .5rem;
  text-align: center;
  background: #fafafa;
}

.event-body.typography {
  color: #374151;
  font-size: 1.05rem;
}

.event-body.typography h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #111;
}

.event-body.typography h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: #111;
}

.event-body.typography ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.event-body.typography li {
  margin-bottom: .4rem;
}

.event-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card-action {
  background: #fff;
  border: 1px solid var(--rb-gray-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--rb-shadow-soft);
  position: sticky;
  top: 2rem;
}

.event-card-action__header {
  background: #f9fafb;
  padding: .8rem 1.2rem;
  border-bottom: 1px solid #eee;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.event-status {
  display: inline-flex;
  gap: .3rem;
  align-items: center;
}

.event-status--open {
  color: #16a34a;
}

.event-status--closed {
  color: #dc2626;
}

.event-card-action__body {
  padding: 1.5rem;
}

.event-price {
  margin-bottom: 1.2rem;
}

.event-price__label {
  display: block;
  font-size: .8rem;
  color: #666;
}

.event-price__value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--rb-primary);
}

.event-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .9rem;
  color: #4b5563;
}

.coupon {
  background: #fff7ed;
  color: var(--rb-primary-dark);
  padding: .1rem .4rem;
  border: 1px dashed var(--rb-primary);
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
}

.btn--full {
  display: block;
  width: 100%;
}

.event-card-action__note {
  font-size: .75rem;
  color: #9ca3af;
  text-align: center;
  margin-top: .8rem;
}

.event-map-widget h4 {
  margin: 0 0 .8rem;
  font-size: 1rem;
}

.map-placeholder--small {
  min-height: 0;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--rb-gray-soft);
  background: #e5e7eb;
  display: block;
  margin-bottom: .5rem;
  overflow: hidden;
}

.map-placeholder--small iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.link-small {
  font-size: .85rem;
  color: var(--rb-primary);
  text-decoration: none;
  font-weight: 600;
}

@media (min-width:900px) {
  .event-layout {
    grid-template-columns: 2fr 1fr;
  }
}

/* Dashboard */
.dashboard-body {
  background: #f9fafb;
}

.site-header--dashboard {
  background: #fff;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

.site-header--dashboard .site-header__nav-link {
  color: #111827;
  opacity: .7;
}

.site-header--dashboard .site-header__nav-link--active,
.site-header--dashboard .site-header__nav-link:hover {
  color: var(--rb-primary);
  opacity: 1;
}

.site-header--dashboard .site-header__logo {
  background: linear-gradient(135deg, #ff6600, #ff914d);
}

.dashboard-hero {
  background: linear-gradient(to bottom, #ff6600, #ff7b1a);
  color: #fff;
  padding: 2.5rem 0 2.6rem;
}

.dashboard-hero__title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
}

.dashboard-hero__subtitle {
  margin: .4rem 0 1.4rem;
  font-size: .95rem;
  opacity: .96;
}

.dashboard-quick-search__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .8rem;
}

.quick-search__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1rem;
  border-radius: var(--rb-radius-md);
  background: #fff;
  border: 1px solid #f1f5f9;
  text-decoration: none;
  font-weight: 600;
  color: #ff6600;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  transition: .15s;
}

.quick-search__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .15);
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-bottom: 1.5rem;
}

.dashboard-summary__card {
  background: #fff;
  color: #111827;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.dashboard-actions__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.dashboard-nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.dashboard-nav__inner {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
}

.dashboard-nav__link {
  position: relative;
  padding: .8rem 0;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: none;
  color: #6b7280;
  flex: 0 0 auto;
}

.dashboard-nav__link--active,
.dashboard-nav__link:hover {
  color: #111827;
}

.dashboard-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: var(--rb-primary);
  transition: width .16s;
}

.dashboard-nav__link--active::after {
  width: 100%;
}

.dashboard-main {
  margin-top: -1.5rem;
}

.dashboard-section {
  margin-bottom: 2.5rem;
}

.dashboard-events {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, .12);
  padding: 1.4rem 1.4rem 1.6rem;
}

.dashboard-events__list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.dashboard-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid #eef2f7;
}

.dashboard-event__title {
  font-size: .95rem;
  margin: 0 0 .2rem;
}

.dashboard-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  font-size: .85rem;
  color: #6b7280;
}

/* Forms */
.dashboard-form {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  padding: 1.5rem 1.4rem 1.6rem;
}

.dashboard-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.dashboard-form__field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.dashboard-form__field--full {
  grid-column: 1 / -1;
}

.dashboard-form__label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #6b7280;
}

.dashboard-form__input,
.dashboard-form__select {
  border-radius: var(--rb-radius-pill);
  border: 1px solid #d1d5db;
  padding: .55rem .9rem;
  font-size: .9rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.dashboard-form__input:focus,
.dashboard-form__select:focus {
  border-color: var(--rb-primary);
  box-shadow: 0 0 0 1px rgba(255, 102, 0, .2);
}

.dashboard-form__actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: flex-end;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 1.5rem;
  background: #0b0b0b;
  color: #fff;
}

.site-footer__grid {
  display: grid;
  gap: 1.2rem;
}

.site-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .3rem;
}

.site-footer__bottom {
  margin-top: 1.2rem;
  font-size: .72rem;
  opacity: .6;
}

.site-footer--dashboard {
  background: transparent;
  color: #6b7280;
  padding: 1.8rem 0 1rem;
}

/* Responsive */
@media (min-width:768px) {
  .site-header__nav-toggle {
    display: none;
  }

  .site-header__nav {
    display: block !important;
    border-top: none;
  }

  .site-header__nav-list {
    padding: 0;
    flex-direction: row;
    gap: 1.4rem;
  }

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

  .event-single {
    grid-template-columns: 2fr 1fr;
  }

  .dashboard-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dashboard-main {
    margin-top: -2rem;
  }

  .site-footer__grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (max-width:767px) {
  .hero-search {
    flex-direction: column;
    border-radius: 18px;
    gap: .6rem;
    padding: 1rem;
  }

  .hero-search__input {
    width: 100%;
    padding: 0.8rem 1rem;
  }

  .hero-search__btn {
    width: 100%;
    justify-content: center;
    margin: 0 !important;
    padding: 0.8rem;
  }

  .filters-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .filters-shell__sidebar {
    position: static;
    width: 100%;
  }

  .event-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .event-card-action {
    position: static;
  }

  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--rb-bg-dark);
    z-index: 100;
    padding-bottom: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width:640px) {
  .hero-search {
    flex-direction: column;
    border-radius: 18px;
    gap: .4rem;
  }

  .hero-search__input {
    border-radius: 14px;
    padding: .7rem 1rem;
  }

  .hero-search__btn {
    width: 100%;
    justify-content: center;
    padding: .7rem 1.2rem;
    border-radius: 999px;
  }
}

/* Fix Map Iframe */
.map-placeholder--small iframe {
  display: block;
  /* Ensure it's not inline */
}

/* Mobile Slider Adjustments */
@media (max-width: 767px) {
  .highlight-slider__controls {
    display: none;
    /* Hide arrows on mobile */
  }

  .highlight-slider__track {
    padding-bottom: 1rem;
    /* Space for scrollbar if visible or touch area */
    gap: 1rem;
  }

  .highlight-slider__item {
    min-width: 85vw;
    /* Make cards wider on mobile */
    scroll-snap-align: center;
    /* Center the active card */
  }

  /* Ensure container allows full bleed if needed, or keep contained */
}

/* ========================================
   Organizer Badge (Discrete Company Icon)
   ======================================== */

.organizer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  vertical-align: middle;
}

.organizer-badge:hover {
  opacity: 0.8;
}

.organizer-badge svg {
  width: 14px;
  height: 14px;
  color: #888;
  stroke-width: 2;
}

.organizer-badge--company svg {
  color: #ff6b35;
}

.organizer-badge--individual svg {
  color: #3b82f6;
}

/* Adjust badge size in different contexts */
.event-card__title .organizer-badge {
  margin-left: 0.4rem;
}

.event-card__title .organizer-badge svg {
  width: 15px;
  height: 15px;
}

/* Event Badges */
.event-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.event-badge--national {
  background-color: #ff6600;
  /* Laranja vibrante */
}

.event-badge--state {
  background-color: #007bff;
  /* Azul */
}

.event-badge--regional {
  background-color: #28a745;
  /* Verde */
}

/* Placeholder Image */
.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: #222;
}

.event-header__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* ========================================
   Pagination - Runners Style
   ======================================== */
.rb-pagination {
  display: flex;
  justify-content: center;
  margin: 28px 0;
}

.rb-pagination .page-numbers {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.rb-pagination .page-numbers li {
  margin: 0;
}

.rb-pagination .page-numbers a,
.rb-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--rb-radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--rb-gray-soft);
  background: #fff;
  color: #222;
  transition: all 0.2s ease;
}

.rb-pagination .page-numbers a:hover {
  border-color: var(--rb-primary);
  color: var(--rb-primary);
  text-decoration: none;
}

.rb-pagination .page-numbers .current {
  background: var(--rb-primary);
  border-color: var(--rb-primary);
  color: #fff;
}

.rb-pagination .page-numbers .dots {
  border: none;
  background: transparent;
  min-width: auto;
  padding: 0 6px;
  color: var(--rb-gray-text);
}

.rb-pagination .page-numbers .prev,
.rb-pagination .page-numbers .next {
  padding: 0 16px;
}

/* Mobile responsive */
@media (max-width: 576px) {
  .rb-pagination .page-numbers {
    gap: 6px;
  }
  
  .rb-pagination .page-numbers a,
  .rb-pagination .page-numbers span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }
  
  .rb-pagination .page-numbers .prev,
  .rb-pagination .page-numbers .next {
    padding: 0 12px;
  }
}