/* Public Section Styles - Neobrutalist Design (Red Theme) */

/* Terracotta Colors */
/* :root {
  --swiss-terracotta: #C04020;
  --swiss-terracotta-light: #FCECE8;
  --swiss-cream: #FDFBF7;
  --swiss-cream-dark: #EAE5D9;
  --swiss-charcoal: #1F2937;
  --swiss-charcoal-light: #374151;
} */

/* body {
  background-color: #111111;
} */

.swiss-grid-container {
  display: grid;
  gap: 2px;
  background-color: #111111;
}

.swiss-cell {
}

.swiss-cell:not([class^="bg-"]):not([class*=" bg-"]):not([class^="bg-["]):not([class*=" bg-["]) {
  background-color: #F4F4F0;
}

.bg-swiss-blue {
  background-color: #0055A4;
}

.bg-swiss-blue\/10 {
  background-color: rgba(0, 85, 164, 0.1);
}

.text-swiss-blue {
  color: #0055A4;
}

.border-swiss-blue {
  border-color: #0055A4;
}

.hover\:bg-swiss-blue:hover {
  background-color: #0055A4;
}

.hover\:bg-swiss-blue-dark:hover {
  background-color: #003d7a;
}

.hover\:text-swiss-blue:hover {
  color: #0055A4;
}

.hover\:border-swiss-blue:hover {
  border-color: #0055A4;
}

.group:hover .group-hover\:text-swiss-blue {
  color: #0055A4;
}

.group:hover .group-hover\:border-swiss-blue {
  border-color: #0055A4;
}

.swiss-btn {
  background-color: #F4F4F0;
  border: 2px solid #111111;
  box-shadow: 4px 4px 0px 0px #111111;
  transition: all 0.1s ease;
}

.swiss-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px 0px #111111;
}

.swiss-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px 0px #111111;
}

.swiss-btn-primary {
  background-color: #E63946;
  color: #F4F4F0;
  border: 2px solid #111111;
  box-shadow: 4px 4px 0px 0px #111111;
}

.swiss-btn-primary:hover {
  background-color: #B91C1C;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px 0px #111111;
}

.swiss-btn-primary:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px 0px #111111;
}

.swiss-btn-secondary {
  background-color: #0055A4;
  color: #F4F4F0;
  border: 2px solid #111111;
  box-shadow: 4px 4px 0px 0px #111111;
}

.swiss-btn-secondary:hover {
  background-color: #003d7a;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px 0px #111111;
}

.swiss-btn-secondary:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px 0px #111111;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #E63946;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.dropdown-content {
  display: none;
  animation: fadeIn 0.2s ease-out;
}

.dropdown-open > .dropdown-content {
  display: block;
}

.portal-link {
  display: block;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #111111;
  background-color: #FFFFFF;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.portal-link:hover,
.portal-link:focus-visible {
  text-decoration: none;
  outline: none;
}

.portal-link + .portal-link {
  border-top: 1px solid #E5E7EB;
}

.portal-link--public:hover,
.portal-link--public:focus-visible,
.portal-link--public.is-active {
  background-color: #E63946;
  color: #FFFFFF;
}

.portal-link--admin:hover,
.portal-link--admin:focus-visible,
.portal-link--admin.is-active {
  background-color: #3F3CBB;
  color: #FFFFFF;
}

.portal-link--missions:hover,
.portal-link--missions:focus-visible,
.portal-link--missions.is-active {
  background-color: #F4A261;
  color: #111111;
}

.portal-link--church-admin:hover,
.portal-link--church-admin:focus-visible,
.portal-link--church-admin.is-active {
  background-color: #C04020;
  color: #FFFFFF;
}

.portal-link--babel:hover,
.portal-link--babel:focus-visible,
.portal-link--babel.is-active {
  background-color: #0055A4;
  color: #FFFFFF;
}

.portal-link--ministering:hover,
.portal-link--ministering:focus-visible,
.portal-link--ministering.is-active {
  background-color: #84A59D;
  color: #111111;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-scroll::-webkit-scrollbar {
  width: 6px;
}

.lang-scroll::-webkit-scrollbar-track {
  background: #F4F4F0;
}

.lang-scroll::-webkit-scrollbar-thumb {
  background: #111;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: #333;
  transition: all 0.2s;
  border-left: 4px solid transparent;
}

.sidebar-link:hover {
  background-color: #FEE2E2;
  color: #B91C1C;
  border-left-color: #E63946;
}

.sidebar-link.active {
  background-color: #E63946;
  color: #F4F4F0;
  border-left-color: #B91C1C;
}

.sidebar-section-title {
  padding: 24px 16px 8px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
}

/* Card Styles */
.swiss-card {
  background-color: #FFFFFF;
  border: 2px solid #111111;
  box-shadow: 4px 4px 0px 0px #111111;
}

.swiss-card-muted {
  background-color: #F4F4F0;
}

.swiss-card-dark {
  background-color: #111111;
  color: #F4F4F0;
}

.swiss-card-header {
  border-bottom: 2px solid #111111;
}

.swiss-card-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Badge Styles */
.swiss-badge {
  border: 1px solid #111111;
  box-shadow: 2px 2px 0px 0px #111111;
}

.swiss-badge-primary {
  background-color: #E63946;
  color: #FFFFFF;
}

.swiss-badge-secondary {
  background-color: #0055A4;
  color: #FFFFFF;
}

.swiss-badge-success {
  background-color: #16A34A;
  color: #FFFFFF;
}

.swiss-badge-warning {
  background-color: #EAB308;
  color: #111111;
}

.swiss-badge-danger {
  background-color: #DC2626;
  color: #FFFFFF;
}

/* Table Styles */
.swiss-table {
  width: 100%;
  border-collapse: collapse;
}

.swiss-table th,
.swiss-table td {
  border-bottom: 1px solid #E0E0E0;
  padding: 12px 16px;
  text-align: left;
}

.swiss-table thead th {
  border-bottom: 2px solid #111111;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #666;
}

.swiss-table tbody tr:hover {
  background-color: #FEE2E2;
}

/* Progress Bar */
.swiss-progress {
  width: 100%;
  height: 8px;
  background-color: #E0E0E0;
  border: 1px solid #111111;
}

.swiss-progress-bar {
  height: 100%;
  background-color: #E63946;
  transition: width 0.3s ease;
}

.swiss-progress-bar.success {
  background-color: #16A34A;
}

.swiss-progress-bar.warning {
  background-color: #EAB308;
}

.swiss-progress-bar.danger {
  background-color: #DC2626;
}

/* Stat Card */
.public-stat-card {
  background-color: #F4F4F0;
  border: 2px solid #111111;
  padding: 16px;
  box-shadow: 4px 4px 0px 0px #111111;
}

.public-stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #111111;
}

.public-stat-card .stat-label {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-top: 4px;
}

.public-stat-card.primary {
  background-color: #E63946;
}

.public-stat-card.primary .stat-value {
  color: #FFFFFF;
}

.public-stat-card.primary .stat-label {
  color: #FEE2E2;
}

/* Content Cards */
.content-card {
  background-color: #FFFFFF;
  border: 2px solid #111111;
  box-shadow: 4px 4px 0px 0px #111111;
  transition: all 0.2s ease;
}

.content-card.grid {
  display: grid;
}

.content-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px 0px #111111;
}

.content-card-sm {
  box-shadow: 2px 2px 0px 0px #111111;
}

.content-card-sm:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px 0px #111111;
}

/* Book Cover */
.book-cover {
  border: 2px solid #111111;
  box-shadow: 4px 4px 0px 0px #111111;
  transition: all 0.2s ease;
}

.book-cover:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px 0px #111111;
}

/* Video/Media Player */
.media-player {
  background-color: #333;
  border: 2px solid #111111;
  box-shadow: 4px 4px 0px 0px #111111;
}

.media-play-button {
  background-color: #E63946;
  color: #FFFFFF;
  border: 2px solid #111111;
  transition: all 0.2s ease;
}

.media-play-button:hover {
  background-color: #B91C1C;
}

/* Quote Block */
.quote-block {
  background-color: #111111;
  color: #F4F4F0;
  border-left: 4px solid #E63946;
}

.swiss-cell.bg-swiss-black.text-swiss-offwhite {
  background-color: #111111;
  color: #F4F4F0;
}

.swiss-cell.bg-swiss-black.text-swiss-offwhite cite {
  color: #999999;
}

.quote-block cite {
  color: #999;
}

/* Newsletter Section */
.newsletter-section {
  background-color: #0055A4;
  color: #FFFFFF;
}

.newsletter-input {
  background-color: #FFFFFF;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 4px 4px 0px 0px #111111;
}

.newsletter-input:focus {
  outline: none;
  border-color: #E63946;
}

/* Footer Styles */
.public-footer {
  background-color: #F4F4F0;
  border-top: 2px solid #111111;
}

.footer-heading {
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid #111111;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 24px;
}

.footer-link {
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #E63946;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.footer-social-link {
  padding: 8px;
  border: 2px solid #111111;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background-color: #111111;
  color: #FFFFFF;
}

/* Event Card Date Badge */
.event-date-badge {
  background-color: #111111;
  color: #FFFFFF;
  border: 2px solid #111111;
  text-align: center;
  padding: 12px;
  min-width: 70px;
}

.event-date-badge-light {
  background-color: #F4F4F0;
  color: #111111;
  border: 2px solid #111111;
}

/* Article Styles */
.article-card {
  border-top: 2px solid #111111;
  padding-top: 16px;
  transition: border-color 0.2s ease;
}

.article-card:hover {
  border-color: #0055A4;
}

.article-card:hover .article-title {
  color: #0055A4;
}

/* Audio Player */
.audio-player-bar {
  height: 4px;
  background-color: #E0E0E0;
  overflow: hidden;
}

.audio-player-progress {
  height: 100%;
  background-color: #111111;
}

.audio-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #111111;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.audio-play-btn:hover {
  background-color: #E63946;
}

/* Workshop/Event Card Hover */
.workshop-card {
  padding: 16px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.workshop-card:hover {
  border-color: #111111;
  background-color: #FFFFFF;
}

/* Divider */
.swiss-divider {
  height: 1px;
  background-color: #111111;
}

.swiss-divider-accent {
  height: 4px;
  width: 80px;
  background-color: #E63946;
}

.swiss-divider-accent-blue {
  background-color: #0055A4;
}

/* Hero Section */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background-color: #FFFFFF;
  border: 1px solid #111111;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 2px 2px 0px 0px #111111;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #E63946;
}

/* Book Spine Effect */
.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background-color: #E0E0E0;
  border-right: 1px solid #CCC;
}

/* Carousel Controls */
.carousel-btn {
  width: 48px;
  height: 48px;
  background-color: #FFFFFF;
  border: 2px solid #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px 0px #111111;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px 0px #111111;
}

.carousel-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px 0px #111111;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #111111;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.carousel-dot.active {
  background-color: #111111;
}

.carousel-dot:hover {
  background-color: #CCC;
}

/* Pagination */
.pagination-link {
  padding: 8px 12px;
  border: 2px solid #111111;
  font-weight: 700;
  transition: all 0.2s ease;
}

.pagination-link:hover {
  background-color: #111111;
  color: #FFFFFF;
}

.pagination-link.active {
  background-color: #E63946;
  color: #FFFFFF;
  border-color: #E63946;
}

/* Search Input */
.search-input {
  border: 2px solid #111111;
  background-color: #FFFFFF;
  padding: 8px 12px 8px 40px;
  box-shadow: 2px 2px 0px 0px #111111;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: #0055A4;
  box-shadow: 2px 2px 0px 0px #0055A4;
}

/* Filter Chips */
.filter-chip {
  padding: 4px 12px;
  border: 2px solid #111111;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-chip:hover {
  background-color: #E0E0E0;
}

.filter-chip.active {
  background-color: #111111;
  color: #FFFFFF;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

.section-link {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #111111;
  padding-bottom: 4px;
  transition: all 0.2s ease;
}

.section-link:hover {
  color: #0055A4;
  border-color: #0055A4;
}
