.skip-link {
  position: fixed;
  top: -100px;
  left: 0;
  background: #a5885d;
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease-in-out;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid rgba(13, 110, 253, 0.25);
  outline-offset: 2px;
}

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

*:focus {
  outline: 2px solid rgba(13, 110, 253, 0.25);
  outline-offset: 2px;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(13, 110, 253, 0.25);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
button,
a,
input[type=submit],
input[type=button],
.btn {
  min-height: 44px;
  min-width: 44px;
}

.ticker-wrapper {
  background-color: #7A5C1F;
  color: white;
  border-top: 2px solid #a5885d;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.ticker-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background-color: #a5885d;
  color: white;
  font-family: "Barlow", Georgia, "Times New Roman", serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ticker-label i {
  font-size: 1rem;
}

.ticker-content-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker-content-wrapper::before, .ticker-content-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2rem;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.ticker-content-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #7A5C1F, transparent);
}
.ticker-content-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #7A5C1F, transparent);
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  padding-left: 100%;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-content {
    animation: none;
    padding-left: 0;
    white-space: normal;
  }
}

.ticker-item {
  display: inline-block;
  padding: 0 1rem;
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}

.ticker-separator {
  display: inline-block;
  padding: 0 0.5rem;
  color: #a5885d;
  font-weight: 700;
}

.ticker-loop-spacer {
  display: inline-block;
  padding: 0 3rem;
  color: #a5885d;
  font-weight: 700;
}

.ticker-control {
  flex-shrink: 0;
  background-color: transparent;
  border: 2px solid white;
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-right: 1rem;
}
.ticker-control:hover, .ticker-control:focus {
  background-color: white;
  color: #7A5C1F;
  outline: none;
  transform: scale(1.1);
}
.ticker-control:focus {
  outline: 2px solid #a5885d;
  outline-offset: 2px;
}
.ticker-control i {
  font-size: 0.875rem;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-control {
    display: none;
  }
}

@keyframes ticker-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
.ticker-error {
  background-color: #dc3545;
  color: white;
  padding: 0.5rem 0;
  text-align: center;
}
.ticker-error p {
  margin: 0;
  font-size: 0.875rem;
}
.ticker-error i {
  margin-right: 0.5rem;
}

.hero-section .hero-image {
  display: block;
  object-position: center;
}
.hero-section .hero-content {
  border-bottom: 1px solid #dee2e6;
}

.hero-section-home {
  min-height: 70vh;
  background-image: url("/assets/images/sd-building-grunge.jpg");
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-section-home .hero-overlay {
  width: 100%;
  padding: 3rem 0;
}
.hero-section-home .hero-logo {
  max-width: 50%;
  height: auto;
  margin-bottom: 2rem;
}
@media (max-width: 991px) {
  .hero-section-home .hero-logo {
    max-width: 70%;
  }
}
.hero-section-home .hero-text {
  color: white;
}
.hero-section-home .hero-text p {
  font-family: "Barlow", sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 5px 5px 5px #000000;
  margin-bottom: 0.5rem;
}
.hero-section-home .hero-text .hero-tagline {
  margin-bottom: 0.25rem;
}
.hero-section-home .hero-text .hero-location {
  margin-bottom: 0;
}
.hero-section-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #a5885d;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  border-radius: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.hero-btn:hover, .hero-btn:focus {
  background-color: white;
  color: black;
  text-shadow: none;
  outline: 2px solid #a5885d;
  outline-offset: 2px;
}

.hero-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

body {
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  color: #ffffff;
  background-color: #000000;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Barlow", Georgia, "Times New Roman", serif;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

a {
  color: #7A5C1F;
  text-decoration: underline;
  transition: all 0.2s ease;
}
a:hover, a:focus {
  color: #a5885d;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
a:focus {
  outline: 2px solid #7A5C1F;
  outline-offset: 2px;
}

.page-content {
  padding-top: 3rem;
}
.page-content h1 {
  margin-bottom: 2rem;
  margin-top: 0;
}
.page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 {
  margin-top: 3rem;
}
.page-content p {
  max-width: 75ch;
  margin-bottom: 2rem;
}
.page-content li {
  max-width: 75ch;
}

.site-header {
  background-image: url("/assets/images/dark-wood-scaled.jpg");
  background-position: bottom center;
  background-size: cover;
  border-bottom: 1px solid #dee2e6;
}

.site-footer {
  background-image: url("/assets/images/dark-wood-scaled.jpg");
  background-position: bottom center;
  background-size: cover;
  color: white;
  margin-top: 3rem;
  padding: 2rem 0;
}
.site-footer .footer-image {
  height: 29vh;
  width: auto;
  object-fit: contain;
  object-position: center center;
  margin-bottom: 1rem;
}
.site-footer h2 {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #a5885d;
  margin-bottom: 1rem;
}
.site-footer .social-links {
  display: flex;
  gap: 1rem;
}
.site-footer .social-links li {
  list-style: none;
}
.site-footer .social-links a {
  font-size: 2rem;
  display: inline-block;
  transition: all 0.2s ease;
}
.site-footer .social-links a:hover, .site-footer .social-links a:focus {
  color: #a5885d;
  transform: scale(1.1);
  text-decoration: none;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.site-footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-simple {
  background-color: #000000;
  color: white;
  padding: 1rem 0;
  text-align: center;
}
.footer-simple .footer-simple-content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-simple .footer-simple-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 576px) {
  .footer-simple .footer-simple-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.footer-simple .footer-simple-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: "Barlow", Georgia, "Times New Roman", serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.footer-simple .footer-simple-links a:hover, .footer-simple .footer-simple-links a:focus {
  color: #a5885d;
  text-decoration: underline;
}
.footer-simple .footer-simple-links a:focus {
  outline: 2px solid #a5885d;
  outline-offset: 2px;
}

main {
  min-height: 60vh;
}

.data-unavailable {
  background-color: #1a1a1a;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 2rem;
  text-align: center;
  color: #cccccc;
}
.data-unavailable .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.data-unavailable h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.data-unavailable p {
  margin-bottom: 0;
}

.card {
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
}

.event-card .event-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/4;
}
@supports not (aspect-ratio: 3/4) {
  .event-card .event-poster {
    min-height: 300px;
  }
}
.event-card .recurring-pattern {
  font-size: 0.9rem;
  color: #a5885d;
  margin: 0.5rem 0;
}
.event-card .recurring-pattern i {
  margin-right: 0.25rem;
}

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

.navbar-brand {
  color: white;
}
.navbar-brand .navbar-logo {
  width: 20vw;
  max-width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 991px) {
  .navbar-brand .navbar-logo {
    width: 40vw;
  }
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: white;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  color: #7A5C1F;
}
.navbar-nav .nav-link.active {
  color: #432f07;
  border-bottom-color: #7A5C1F;
  border-bottom-width: 3px;
  background-color: rgba(165, 136, 93, 0.9);
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
@media (min-width: 992px) {
  .navbar-nav .nav-item:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 1rem;
    padding-left: 1rem;
  }
}
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
  }
  .navbar-nav .nav-link {
    border-bottom: none;
  }
}

.calendar-view {
  margin-bottom: 3rem;
}
.calendar-view .calendar-header {
  margin-bottom: 1.5rem;
}
.calendar-view .calendar-header h2 {
  color: white;
  margin-bottom: 0.5rem;
}
.calendar-view .calendar-table {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}
.calendar-view .calendar-table th {
  background-color: rgba(0, 0, 0, 0.3);
  color: #a5885d;
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  border-bottom: 2px solid rgba(165, 136, 93, 0.3);
}
.calendar-view .calendar-table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  height: 70px;
  vertical-align: top;
}
.calendar-view .calendar-table td.empty {
  background-color: rgba(0, 0, 0, 0.2);
}
.calendar-view .calendar-table .day-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}
.calendar-view .calendar-table .day-link:hover, .calendar-view .calendar-table .day-link:focus {
  background-color: rgba(165, 136, 93, 0.2);
  outline: 2px solid #a5885d;
  outline-offset: -2px;
}
.calendar-view .calendar-table .day-link .day-number {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.calendar-view .calendar-table .day-link .today-label {
  display: block;
  font-size: 0.75rem;
  color: #a5885d;
  font-weight: 700;
  text-transform: uppercase;
}
.calendar-view .calendar-table .day-link .event-label {
  display: block;
  font-size: 0.75rem;
  color: #6496c8;
  font-weight: 700;
  text-transform: uppercase;
}
.calendar-view .calendar-table .day-no-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}
.calendar-view .calendar-table .day-no-link .day-number {
  display: block;
  font-weight: 400;
}
.calendar-view .calendar-table .day-no-link .today-label {
  display: block;
  font-size: 0.75rem;
  color: #a5885d;
  font-weight: 700;
  text-transform: uppercase;
}
.calendar-view .calendar-table .day-no-link .event-label {
  display: block;
  font-size: 0.75rem;
  color: #6496c8;
  font-weight: 700;
  text-transform: uppercase;
}
.calendar-view .calendar-table .today .day-link,
.calendar-view .calendar-table .today .day-no-link {
  background-color: rgba(165, 136, 93, 0.25);
}
.calendar-view .calendar-table .today .day-link .day-number,
.calendar-view .calendar-table .today .day-no-link .day-number {
  color: #a5885d;
  font-weight: 700;
}
.calendar-view .calendar-table .has-events .day-link {
  font-weight: 700;
}
.calendar-view .calendar-table .has-events .day-link .day-number {
  color: #6496c8;
  font-size: 1.1em;
}
.calendar-view .calendar-table .today {
  background-color: rgba(165, 136, 93, 0.15);
}
.calendar-view .calendar-table .today .day-link, .calendar-view .calendar-table .today .day-no-link {
  font-weight: 700;
}
.calendar-view .calendar-table .today .day-link .day-number, .calendar-view .calendar-table .today .day-no-link .day-number {
  color: #a5885d;
  font-size: 1.1em;
}

.events-by-date h2 {
  color: white;
}
.events-by-date .date-group {
  margin-bottom: 2.5rem;
}
.events-by-date .date-header {
  color: #a5885d;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0.75rem 1rem;
  background-color: rgba(165, 136, 93, 0.2);
  border-left: 4px solid #a5885d;
  margin-bottom: 1.5rem;
  scroll-margin-top: 20px;
}
.events-by-date .event-card-compact {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 3px solid #a5885d;
  margin-bottom: 1rem;
}
.events-by-date .event-card-compact .event-image {
  margin-bottom: 1rem;
}
.events-by-date .event-card-compact .event-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.events-by-date .event-card-compact .event-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.events-by-date .event-card-compact .event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.events-by-date .event-card-compact .event-meta span {
  color: #a5885d;
  font-weight: 600;
}
.events-by-date .event-card-compact .event-meta span i {
  margin-right: 0.25rem;
}
.events-by-date .event-card-compact .event-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.events-by-date .event-card-compact .event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .events-by-date .event-card-compact {
    display: flex;
    gap: 1.5rem;
    align-items: start;
  }
  .events-by-date .event-card-compact .event-image {
    flex-shrink: 0;
    width: 200px;
    margin-bottom: 0;
  }
  .events-by-date .event-card-compact .event-content {
    flex: 1;
  }
}