/* 🎨 1. Палитра и базовые переменные */
:root {
  --primary: #13a37b;
  --dark-green: #106944;
  --light-bg: #e9f7ef;
  --card-bg: #dffaf4;
  --accent: #3eb489;
  --soft-blue: #c9f1f1;
}

/* 🧱 2. Базовые настройки текста и фона */
body {
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--card-bg) 100%);
  color: #1e3d32;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

/* 🧭 3. Навигация */
.navbar {
  min-height: 92px;
  background: linear-gradient(90deg, var(--dark-green), var(--primary));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.navbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0 !important;
  padding-left: 10px;
  padding-top: 0;
  padding-bottom: 0;
}


.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0 2px 10px;
  border-left: 1px solid rgba(236, 255, 247, 0.7);
  color: #effff8;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar a {
  color: #e6fff5 !important;
}

.navbar .navbar-nav {
  gap: 8px;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 10px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.22);
}

.navbar .nav-link {
  color: #ecfff7 !important;
  font-size: 1rem;
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0;
  padding: 12px 18px !important;
  border-radius: 999px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.navbar .nav-link.active {
  color: #0d7447 !important;
  font-weight: 650;
  background: linear-gradient(90deg, #ffffff 0%, #e8f9ef 45%, #bdf5d4 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.navbar .nav-link:active {
  transform: translateY(0);
}

.navbar-actions {
  gap: 12px;
}

.navbar .navbar-create-event {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 18px;
  border: 2px solid #fff2ad;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff6c7, #ffd16a);
  color: #17442d !important;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(38, 60, 20, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.navbar .navbar-create-event i {
  font-size: 1.2rem;
  line-height: 1;
}

.navbar .navbar-create-event:hover,
.navbar .navbar-create-event:focus-visible,
.navbar .navbar-create-event.active {
  background: linear-gradient(135deg, #fffbe0, #ffdb80);
  color: #123b28 !important;
  box-shadow: 0 8px 20px rgba(38, 60, 20, 0.32);
  transform: translateY(-2px);
}

.navbar .navbar-create-event:focus-visible,
.navbar-profile-account:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* Keep navigation positions consistent while retaining Hebrew text direction. */
html[dir="rtl"] .navbar-shell {
  direction: ltr;
}

html[dir="rtl"] .navbar-create-event,
html[dir="rtl"] .navbar-profile-link,
html[dir="rtl"] .navbar .nav-link,
html[dir="rtl"] .navbar .btn-nav-auth,
html[dir="rtl"] .country-switcher {
  direction: rtl;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  direction: ltr;
}

.country-switcher { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; }
@media (min-width: 992px) {
  .navbar-shell > .country-switcher { order: 1; }
  .navbar-shell { flex-wrap: wrap !important; }
  .navbar-shell > .navbar-collapse { order: 2; flex-basis: auto; }
  .navbar-shell > .navbar-actions { order: 3; flex-wrap: wrap; }
}
.country-switcher-flag { position: absolute; left: 10px; z-index: 1; font-size: 1rem; pointer-events: none; }
.country-switcher-select { min-width: 142px; height: 40px; padding: 6px 28px 6px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: .82rem; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.country-switcher-select i { margin-left: auto; font-size: .7rem; }
.country-menu-img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; display: none; }
.country-menu { position: absolute; z-index: 1050; top: calc(100% + 6px); right: 0; min-width: 220px; max-height: 330px; overflow-y: auto; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.country-menu-option { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #1e3d32; text-align: left; font-size: .85rem; }
.country-menu-option:hover { background: #eaf7ef; }
.country-menu-option img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.country-switcher-select option { color: #1e3d32; background: #fff; }
html[dir="rtl"] .country-switcher-flag { left: auto; right: 10px; }
html[dir="rtl"] .country-switcher-select { padding-left: 12px; padding-right: 12px; }
html[dir="rtl"] .country-menu { right: auto; left: 0; }
html[dir="rtl"] .country-menu-option { text-align: right; }

.language-switcher-flag {
  position: absolute;
  left: 11px;
  z-index: 1;
  display: inline-flex;
  width: 22px;
  height: 16px;
  overflow: hidden;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.language-switcher-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-switcher-select {
  min-width: 102px;
  height: 40px;
  padding: 0 24px 0 40px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.language-switcher-select:hover,
.language-switcher-select:focus {
  border-color: rgba(255, 255, 255, 0.72);
  background-color: rgba(255, 255, 255, 0.2);
}

.language-switcher-select option {
  background: #ffffff;
  color: #173f32;
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 20px 14px;
  padding-left: 38px;
}
.language-switcher-select option[value="en"] { background-image: url("https://flagcdn.com/w20/gb.png"); }
.language-switcher-select option[value="ru"] { background-image: url("https://flagcdn.com/w20/ru.png"); }
.language-switcher-select option[value="he"] { background-image: url("https://flagcdn.com/w20/il.png"); }
.language-switcher-select option[value="de"] { background-image: url("https://flagcdn.com/w20/de.png"); }
.language-menu { position:absolute; z-index:1100; top:calc(100% + 6px); right:0; min-width:130px; padding:5px; border-radius:10px; background:#fff; box-shadow:0 8px 22px rgba(0,0,0,.2); }
.language-menu button { display:flex; align-items:center; gap:8px; width:100%; padding:8px 10px; border:0; border-radius:7px; background:transparent; color:#173f32; text-align:left; }
.language-menu button:hover { background:#eaf7ef; }
.language-menu img { width:20px; height:14px; object-fit:cover; border-radius:2px; }

html[dir="rtl"] .bi-arrow-right,
html[dir="rtl"] .bi-arrow-up-right {
  display: inline-block;
  transform: scaleX(-1);
}

.navbar-icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ecfff7 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.navbar-icon-button i {
  font-size: 1.35rem;
  line-height: 1;
}

.navbar-icon-button:hover,
.navbar-icon-button:focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.navbar-profile-link {
  color: rgba(236, 255, 247, 0.92) !important;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.navbar-profile-link:hover,
.navbar-profile-link:focus,
.navbar-profile-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.navbar-profile-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
}

.navbar-profile-account .user-avatar {
  display: inline-flex;
  flex: 0 0 auto;
}

.navbar-profile-account .avatar-small {
  display: block;
  margin: 0;
  transform: none;
}

.app-main {
  min-width: 0;
}

/* 📂 4. Боковое меню */
.sidebar {
  width: 250px;
  background: #ffffff;
  padding: 10px 8px;
  border-right: 1px solid #ddd;
  font-size: 0.9rem;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 0;
  line-height: 1.1;
}

/* Sidebar links */
.sidebar a {
  display: block;
  padding: 3px 8px;
  font-size: 0.9rem;
  font-weight: 450;
  text-decoration: none;
  color: #0f4f3a;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  margin-bottom: 0;
}

.sidebar a:hover {
  background: linear-gradient(90deg, #e8f9ef 0%, #d1f6df 100%);
  color: #0a6339;
  transform: translateX(3px);
  box-shadow: inset 0 0 0 1px rgba(19, 163, 123, 0.14);
}

/* 🪸 5. Контент и карточки */
.content {
  flex: 1;
  padding: 20px;
  max-width: 1000px;
  margin: 20px;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(19, 163, 123, 0.25);
  transform: translateY(-4px);
}

/* 🐟 6. Анимации рыб */
@keyframes fishSwim {
  0%   { transform: translateX(0) translateY(0) rotate(0deg); }
  20%  { transform: translateX(4px) translateY(-1px) rotate(3deg); }
  40%  { transform: translateX(8px) translateY(1px) rotate(-3deg); }
  60%  { transform: translateX(4px) translateY(-2px) rotate(2deg); }
  80%  { transform: translateX(0) translateY(1px) rotate(-2deg); }
  100% { transform: translateX(0) translateY(0) rotate(0deg); }
}
.avatar-small {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(60, 255, 0, 0.6);
  box-shadow: 0 0 6px rgba(60, 255, 0, 0.2);
  border-radius: 50%;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.fish-online {
  animation: fishSwim 4s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.fish-offline {
  animation-play-state: paused;
  opacity: 0.7;
  filter: grayscale(30%);
}

/* ⚓ 7. Футер */
footer {
  min-height: 72px;
  padding: 14px 24px;
  color: white;
  background: linear-gradient(90deg, var(--dark-green), var(--primary));
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: .9rem;
  font-weight: 500;
}

.footer-separator { color: rgba(255, 255, 255, .5); }
.site-footer .footer-links a { text-decoration: none; }
.site-footer .footer-links a:hover { text-decoration: underline; }

.site-footer p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem !important;
  font-weight: 500;
}

.site-footer .footer-copyright {
  margin-inline-start: auto;
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767.98px) {
  .site-footer .container {
    justify-content: center;
  }

  .footer-links { justify-content: center; }

  .site-footer .footer-copyright {
    flex-basis: 100%;
    margin-inline-start: 0;
  }
}

footer a {
  color: #ffffff !important;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer a:hover {
  color: #d4f8e8 !important;
}

.social-login-button {
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
}

.social-login-google {
  background: linear-gradient(90deg, #ffffff 0%, #e8f9ef 40%, #bdf5d4 100%) !important;
  color: #158b55 !important;
}

.social-login-facebook {
  background: #1877f2 !important;
  color: #ffffff !important;
}

.social-login-facebook:hover,
.social-login-facebook:focus {
  background: #1467d2 !important;
  color: #ffffff !important;
}

.social-login-facebook .bi-facebook {
  font-size: 1.2rem;
  vertical-align: -0.08em;
}

.navbar .container {
  align-items: center;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.navbar-brand img {
  height: 92px;
  width: auto;
  transform: none;
  margin-top: 0;
  object-fit: contain;
  transform-origin: left center;
}

/* Compact Subcategory Cards */
.col-md-6.col-lg-4 {
  margin-bottom: 0.6rem !important;
}

.card {
  border-radius: 10px !important;
  padding: 6px !important;
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 128, 0, 0.05);
  transition: all 0.4s ease-in-out;
  text-align: center;
}

.card-body {
  padding: 10px 8px !important;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 450;
  color: #0c3f2e;
  letter-spacing: 0.2px;
  margin-bottom: 0;
}

.card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(0, 128, 0, 0.25);
  box-shadow: 0 6px 20px rgba(19, 163, 123, 0.25);
  background: linear-gradient(145deg, #ffffff 60%, #e9f7ec 100%);
}

/* Responsive layout */
@media (max-width: 768px) {
  .card-title {
    font-size: 0.85rem;
  }
}

/* Subcategory Titles */
h1.h5.text-success {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.25px;
  color: #158b55;
  margin-bottom: 1rem;
  text-transform: none;
}

/* Create Event Button */
.btn.btn-success {
  background-color: #ffffff !important;
  color: #158b55 !important;
  border: 2px solid #158b55 !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn.btn-success:hover {
  background: linear-gradient(90deg, #e8f9ef, #bdf5d4, #7bdcb5);
  color: #0a6339 !important;
  border-color: #0a6339 !important;
  transform: translateY(-1px);
}

.btn-compact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: min(100%, 360px);
  min-height: 44px;
  padding-left: 22px !important;
  padding-right: 22px !important;
  white-space: normal;
}

.home-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #158b55;
  margin-bottom: 0.75rem;
}

/* Global Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  color: #158b55 !important;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

h1 {
  font-size: 1.6rem !important;
  letter-spacing: 0.3px;
}

h2 {
  font-size: 1.3rem !important;
  font-weight: 500;
}

h3 {
  font-size: 1.1rem !important;
  font-weight: 500;
}

h4, h5, h6 {
  font-size: 1rem !important;
  font-weight: 500;
}

/* Fish Avatar Selection */
.avatar-item img {
  border: 2px solid transparent;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.avatar-item img:hover {
  transform: scale(1.07);
  border-color: #18a05f;
  box-shadow: 0 0 14px 3px rgba(24, 160, 95, 0.6);
}

.avatar-item input[type="radio"]:checked + img {
  transform: scale(1.1);
  border-color: #18a05f;
  box-shadow: 0 0 20px 6px rgba(24, 160, 95, 0.75);
  filter: brightness(1.05);
}

.avatar-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Убираем белый круг вокруг аватара */
.avatar,
.avatar img,
.avatar-wrapper,
.avatar-wrapper img,
.profile-avatar,
.profile-avatar img,
.rounded-circle,
.img-thumbnail {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* 8. Фирменные кнопки Login/Logout */
.btn-nav-auth {
  background: linear-gradient(90deg, #ffffff 0%, #e8f9ef 45%, #bdf5d4 100%) !important;
  color: #0d7447 !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  font-weight: 750;
  padding: 10px 18px !important;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-nav-auth:hover {
  background: #ffffff !important;
  color: #075a36 !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* 🌿 9. Универсальные светло-зелёные кнопки Otolovo */
button,
.btn,
input[type="submit"],
a.btn {
  background: linear-gradient(90deg, #ffffff 0%, #e8f9ef 40%, #bdf5d4 100%) !important;
  color: #158b55 !important;
  font-weight: 600;
  border: 1px solid #b4e3c6 !important;
  border-radius: 10px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(19, 163, 123, 0.1);
  padding: 8px 18px !important;
  text-align: center;

}

button:hover,
.btn:hover,
input[type="submit"]:hover,
a.btn:hover {
  background: linear-gradient(90deg, #e8f9ef 0%, #bdf5d4 60%, #7bdcb5 100%) !important;
  color: #0a6339 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 163, 123, 0.25);
}

button:active,
.btn:active,
input[type="submit"]:active,
a.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(19, 163, 123, 0.15);
}

/* Для "Back" кнопок — тот же стиль, чтобы не выбивались */
.btn-secondary,
.btn-dark {
  background: linear-gradient(90deg, #ffffff 0%, #e8f9ef 40%, #bdf5d4 100%) !important;
  border: 1px solid #b4e3c6 !important;
  color: #158b55 !important;
}
.navbar-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
/* 🐟 Мини-аватар справа от статуса */
.avatar-small {
  width: 40px;
  height: 40px;
  margin-left: 6px;
  transform: translateY(-2px);
  border-radius: 50%;
  object-fit: cover;
  background: none;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  vertical-align: middle;
}


/* 🫧 Мягкое дыхание индикатора онлайн */
@keyframes pulseOnline {
  0%   { box-shadow: 0 0 4px rgba(60, 255, 0, 0.7); }
  50%  { box-shadow: 0 0 10px rgba(60, 255, 0, 1); }
  100% { box-shadow: 0 0 4px rgba(60, 255, 0, 0.7); }
}

.online-indicator {
  animation: pulseOnline 2s infinite ease-in-out;
}
.list-group-item {
  transition: all 0.2s ease;
}
.list-group-item:hover {
  background-color: #e9f9f0; /* светло-зелёный оттенок под стиль Otolovo */
  transform: translateX(4px);
}
img.avatar-fish {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.event-fish {
  width: 50px;
  height: 50px;
}
.card.event-card {
  height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn-outline-danger {
  border-radius: 30px;
  border: 1px solid #db4437;
  color: #db4437;
  background-color: #fff;
  transition: all 0.3s ease;
}

.btn-outline-danger:hover {
  background-color: #db4437;
  color: #fff;
  transform: translateY(-2px);
}

/* ❌ Ошибка поля */
.input-error {
  border: 2px solid #dc3545 !important;
  background-color: #fff5f5;
}

/* ✅ Успешное поле */
.input-success {
  border: 2px solid #28a745 !important;
  background-color: #f0fff4;
}

.event-file-control {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 4px 0;
  background: transparent;
}

.event-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  margin: 0;
  padding: 9px 16px;
  color: #ffffff !important;
  font-weight: 700;
  background: linear-gradient(90deg, var(--dark-green), var(--primary));
  border: 1px solid rgba(10, 99, 57, 0.35);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(19, 163, 123, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.event-file-button:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(19, 163, 123, 0.28);
}

.event-file-name {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: #53645e;
  background: #ffffff;
  border: 1px solid #d7dee2;
  border-radius: 10px;
  flex: 1;
}

@media (min-width: 992px) {
  html[dir="rtl"] .event-detail-page > .row {
    flex-direction: row-reverse;
  }
}

.event-detail-page {
  max-width: 1180px;
}

.event-detail-main,
.event-detail-side {
  background: #ffffff;
  border: 1px solid rgba(21, 139, 85, 0.12);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(16, 105, 68, 0.05);
}

.event-detail-main {
  overflow: hidden;
}

.event-detail-image {
  width: 100%;
  max-height: 420px;
  display: block;
  object-fit: cover;
  background: #eef6f2;
}

.event-detail-body {
  padding: 26px;
}

.event-detail-kicker {
  margin-bottom: 8px;
  color: #60716c;
  font-size: 0.82rem;
  font-weight: 700;
}

.event-detail-body h1 {
  margin-bottom: 18px;
  color: #0d8549;
  font-size: 2rem;
  font-weight: 750;
  line-height: 1.18;
}

.event-detail-description {
  color: #163d31;
  font-size: 1rem;
  line-height: 1.65;
}

.event-detail-empty,
.event-detail-action-note {
  color: #60716c;
}

.event-detail-side {
  position: sticky;
  top: 18px;
  padding: 20px;
}

.event-detail-status {
  margin-bottom: 16px;
}

.event-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 750;
  border-radius: 999px;
}

.event-status-badge.approval {
  color: #5c4100;
  background: #ffe08a;
  border: 1px solid #f0c94b;
}

.event-status-badge.public {
  color: #0a6339;
  background: #e8f9ef;
  border: 1px solid #bde5cb;
}

.event-detail-info-list {
  display: grid;
  gap: 12px;
}

.event-detail-info-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
}

.event-detail-info-item > i {
  color: #0d8549;
  font-size: 1.05rem;
  line-height: 1.4;
}

.event-detail-info-item span {
  display: block;
  color: #6a7c76;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-detail-info-item strong {
  color: #173f32;
  font-weight: 650;
}

.event-detail-organizer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #173f32;
  text-decoration: none;
}

.event-detail-organizer:hover,
.event-detail-organizer:focus {
  color: #0d8549;
}

.event-detail-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.event-detail-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.event-detail-action-note {
  margin: -2px 0 0;
  font-size: 0.85rem;
}

.event-detail-report-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(21, 139, 85, 0.12);
}

.event-detail-report-links a {
  color: #7a4a4a;
  font-size: 0.82rem;
  text-decoration: none;
}

.event-detail-report-links a:hover,
.event-detail-report-links a:focus {
  color: #b42318;
  text-decoration: underline;
}

.event-detail-back {
  margin-top: 14px;
}

.profile-page {
  max-width: 1120px;
}

.profile-hero,
.profile-section {
  background: #ffffff;
  border: 1px solid rgba(21, 139, 85, 0.12);
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(16, 105, 68, 0.05);
}

.profile-hero {
  padding: 22px;
}

.profile-hero-main {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: start;
}

@media (min-width: 992px) {
  html[dir="rtl"] .profile-hero-main {
    grid-template-columns: 140px 190px minmax(0, 1fr);
  }

  html[dir="rtl"] .profile-actions {
    grid-column: 2;
    grid-row: 1;
  }

  html[dir="rtl"] .profile-summary-content {
    grid-column: 3;
    grid-row: 1;
  }

  html[dir="rtl"] .profile-avatar-frame {
    grid-column: 1;
    grid-row: 1;
  }
}

.profile-avatar-frame {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 10px;
}

.profile-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-title {
  margin: 0;
  color: #0d8549;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.15;
}

.profile-subtitle {
  color: #6a7c76;
  font-size: 0.92rem;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-detail-grid div {
  min-width: 0;
  padding: 10px 12px;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
}

.profile-detail-grid span,
.profile-stat-card span {
  display: block;
  color: #6a7c76;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[dir="rtl"] .profile-detail-grid span,
html[dir="rtl"] .profile-stat-card span {
  font-size: 0.875rem;
  line-height: 1.35;
}

.profile-detail-grid strong {
  display: flex;
  align-items: center;
  min-height: 24px;
  overflow: hidden;
  color: #173f32;
  font-size: 0.95rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-detail-grid strong.profile-email,
.profile-email {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
}

.profile-country-flag {
  width: 20px;
  height: 14px;
  margin-right: 6px;
  border-radius: 2px;
}

.profile-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
  gap: 10px;
}

.profile-actions .btn {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

.profile-feed-balance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 11px;
  color: #4b3820;
  font-weight: 700;
  background: #fff8df;
  border: 1px solid rgba(190, 143, 38, 0.24);
  border-radius: 999px;
  white-space: nowrap;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.profile-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
}

.profile-stat-card strong {
  display: block;
  color: #0d8549;
  font-size: 1.45rem;
  line-height: 1.1;
}

.profile-stat-card i {
  color: #0d8549;
  font-size: 1.5rem;
}

.profile-section {
  padding: 18px;
}

.profile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.profile-section-header h2 {
  margin: 0;
  color: #0d8549;
  font-size: 1.08rem;
  font-weight: 700;
}

.profile-list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
}

.profile-list-card + .profile-list-card {
  margin-top: 10px;
}

.profile-list-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 auto;
}

.profile-empty {
  color: #6a7c76;
}

.feed-coin-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(148, 98, 16, 0.28));
}

.avatar-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.avatar-profile-link:hover,
.avatar-profile-link:focus {
  transform: translateY(-1px);
  filter: drop-shadow(0 5px 8px rgba(16, 105, 68, 0.18));
}

.public-profile-page {
  max-width: 980px;
}

.public-profile-card,
.public-profile-panel,
.public-profile-stat {
  border: 1px solid rgba(21, 139, 85, 0.12) !important;
  border-radius: 10px;
}

.public-profile-card {
  background: #ffffff;
}

.public-profile-avatar-frame {
  width: 136px;
  height: 136px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.14);
  border-radius: 10px;
}

.public-profile-title {
  color: #0d8549;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.15;
}

.public-profile-subtitle {
  color: #60716c;
  font-size: 0.95rem;
}

.public-profile-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #60716c;
  font-size: 0.78rem;
  font-weight: 700;
  background: #f5f8f7;
  border: 1px solid #dce7e2;
  border-radius: 999px;
}

.public-profile-badge.online {
  color: #0d8549;
  background: #e8f9ef;
  border-color: #bde5cb;
}

.public-profile-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.public-profile-details div {
  min-width: 0;
  padding: 10px 12px;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
}

.public-profile-details span,
.public-profile-stat span {
  display: block;
  color: #6a7c76;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.public-profile-details strong {
  display: block;
  overflow: hidden;
  color: #173f32;
  font-size: 0.95rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.people-country-options { max-height: 320px; overflow-y: auto; }
.people-country-options .dropdown-item { white-space: normal; }
.people-country-picker .form-select { min-height: 38px; }
.people-country-picker img { flex-shrink: 0; object-fit: contain; }
.people-card-name { min-width: 0; overflow-wrap: anywhere; }
.people-interests { display: flex; flex-wrap: wrap; gap: 6px; }
.people-interests .badge { white-space: normal; text-align: start; }

.profile-interests-detail {
  grid-column: 1 / -1;
}

.profile-detail-grid strong.profile-multiline-value,
.public-profile-details strong.profile-multiline-value {
  display: block;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
}

.public-profile-message {
  min-width: 132px;
}

.public-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-profile-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 105, 68, 0.04);
}

.public-profile-stat strong {
  color: #0d8549;
  font-size: 1.55rem;
  line-height: 1;
}

.public-profile-section-title {
  margin-bottom: 14px;
  color: #0d8549;
  font-size: 1.08rem;
  font-weight: 700;
}

.public-profile-list {
  display: grid;
  gap: 8px;
}

.public-profile-list-item {
  display: block;
  padding: 12px 14px;
  color: #173f32;
  text-decoration: none;
  background: #f8fbfa;
  border: 1px solid rgba(21, 139, 85, 0.1);
  border-radius: 8px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.public-profile-list-item:hover,
.public-profile-list-item:focus {
  color: #0d8549;
  background: #f2faf6;
  border-color: rgba(21, 139, 85, 0.22);
}

.public-profile-list-item span {
  display: block;
  font-weight: 700;
}

.public-profile-list-item small,
.public-profile-empty {
  color: #6a7c76;
}

.event-people-panel {
  position: relative;
  margin-top: 12px;
  padding: 16px 14px 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(233, 250, 247, 0.58)),
    radial-gradient(circle at 24% 18%, rgba(91, 206, 211, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(11, 119, 91, 0.12), rgba(104, 196, 210, 0.18));
  border: 1px solid rgba(23, 146, 121, 0.16);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(18, 74, 54, 0.06);
}

.event-people-panel::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 13px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(80, 184, 193, 0.28),
    rgba(24, 160, 95, 0.16),
    transparent
  );
}

.event-people-title {
  position: relative;
  margin: 0 0 16px !important;
  color: #0f7556 !important;
  font-size: 0.82rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-people-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 82px);
  align-items: center;
  gap: 20px 18px;
}

.event-person {
  position: relative;
  width: 82px;
  height: 62px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
  transform: none !important;
}

.event-person-avatar {
  width: 80px;
  height: 58px;
  display: block;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 5px 6px rgba(16, 105, 68, 0.16));
  animation: eventViewerBreathe 3.8s ease-in-out infinite;
  transform-origin: center;
}

.sidebar .event-person:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.event-people-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #607b74;
  font-size: 0.8rem;
}

@keyframes eventViewerBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  35% {
    transform: translateY(-1px) scale(1.025) rotate(0.7deg);
  }
  68% {
    transform: translateY(1px) scale(0.995) rotate(-0.45deg);
  }
}

/* Landing page: explain the community before showing the activity catalog. */
.home-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px 0 40px;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  min-height: 520px;
  padding: clamp(38px, 6vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #f8fffb 0%, #e7f8ef 48%, #c8f1df 100%);
  border: 1px solid rgba(19, 163, 123, 0.16);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(16, 105, 68, 0.12);
}

.home-hero::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  content: "";
  background: rgba(19, 163, 123, 0.1);
  border-radius: 50%;
}

.home-hero-copy,
.home-hero-scene {
  position: relative;
  z-index: 1;
}

.home-eyebrow,
.home-section-kicker {
  display: inline-block;
  color: #0d805c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 660px;
  margin: 16px 0 18px;
  color: #123b2e;
  font-size: clamp(2.55rem, 5.4vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.home-hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: #45695d;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero-actions .btn,
.home-community-cta .btn {
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 750;
}

.home-clarifier {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  color: #52736a;
  font-size: 0.88rem;
  font-weight: 650;
}

.home-hero-scene {
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(16, 105, 68, 0.16);
  backdrop-filter: blur(10px);
}

.home-scene-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 22px;
}

.home-scene-heading span {
  color: #6a887f;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-scene-heading strong {
  color: #173f32;
  font-size: 1.25rem;
}

.home-activity-stack {
  display: grid;
  gap: 12px;
}

.home-activity-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(16, 105, 68, 0.08);
}

.home-activity-card-two { transform: translateX(18px); }
.home-activity-card-three { transform: translateX(-10px); }

.home-activity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #0c805c;
  background: #dcf7e9;
  border-radius: 14px;
  font-size: 1.3rem;
}

.home-activity-card div {
  display: flex;
  flex-direction: column;
}

.home-activity-card strong { color: #173f32; }
.home-activity-card small { color: #708c83; }

.home-people-count {
  color: #0d805c;
  font-weight: 800;
}

.home-how,
.home-upcoming {
  padding: clamp(64px, 8vw, 96px) 0 0;
}

.home-section-intro {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.home-section-intro h2,
.home-section-heading h2,
.home-community-cta h2 {
  margin: 8px 0 10px;
  color: #173f32;
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.home-section-intro p,
.home-community-cta p {
  color: #607b74;
  font-size: 1rem;
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-step-card {
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(16, 105, 68, 0.07);
}

.home-step-card > i {
  display: block;
  margin-bottom: 18px;
  color: #10946b;
  font-size: 2rem;
}

.home-step-card h3 {
  color: #173f32;
  font-size: 1.15rem;
  font-weight: 800;
}

.home-step-card p {
  margin: 0;
  color: #647f76;
  line-height: 1.6;
}

.home-step-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(13, 128, 92, 0.2);
  font-size: 1.55rem;
  font-weight: 900;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.home-text-link {
  color: #0d805c;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.home-text-link:hover { color: #075e44; }

html[lang="he"] .home-section-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

html[lang="he"] .home-section-intro h2,
html[lang="he"] .home-section-heading h2 {
  font-size: clamp(2rem, 3.7vw, 2.8rem);
  line-height: 1.2;
}

html[lang="he"] .home-section-intro p {
  font-size: 1.15rem;
  line-height: 1.7;
}

html[lang="he"] .home-step-card h3 {
  font-size: 1.3rem;
  line-height: 1.35;
}

html[lang="he"] .home-step-card p {
  font-size: 1.05rem;
  line-height: 1.75;
}

html[lang="he"] .home-text-link {
  font-size: 1.05rem;
}

.home-empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  color: #607b74;
  background: #ffffff;
  border-radius: 18px;
  text-align: center;
}

.home-community-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(64px, 8vw, 96px);
  padding: clamp(32px, 5vw, 54px);
  color: #ffffff;
  background: linear-gradient(125deg, #0d6949, #13a37b);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(16, 105, 68, 0.2);
}

.home-community-cta .home-section-kicker,
.home-community-cta h2,
.home-community-cta p {
  color: #ffffff;
}

.home-community-cta p { margin-bottom: 0; }

@media (max-width: 991.98px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-step-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .home-page { padding-top: 0; }

  .home-hero {
    min-height: auto;
    padding: 30px 22px;
    border-radius: 20px;
  }

  .home-hero h1 { font-size: 2.55rem; }

  .home-hero-actions,
  .home-hero-actions .btn {
    width: 100%;
  }

  .home-hero-scene { padding: 18px; }
  .home-activity-card-two,
  .home-activity-card-three { transform: none; }

  .home-step-grid {
    grid-template-columns: 1fr;
  }

  .home-section-heading,
  .home-community-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

.mvp-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #eefaf4 100%);
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 105, 68, 0.06);
}

.mvp-filter-bar {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 105, 68, 0.05);
}

.mvp-filter-bar .form-label {
  margin-bottom: 6px;
  color: #173f32;
  font-size: 0.82rem;
  font-weight: 650;
}

.mvp-filter-bar .btn {
  min-height: 42px;
  white-space: nowrap;
}

.mvp-filter-bar .mvp-create-event-btn {
  min-height: 48px;
  padding-inline: 1.35rem;
  border-color: #078a60;
  background: linear-gradient(135deg, #10b981 0%, #078a60 100%);
  box-shadow: 0 7px 16px rgba(7, 138, 96, 0.24);
  font-size: 1.02rem;
  font-weight: 700;
}

.mvp-filter-bar .mvp-create-event-btn:hover,
.mvp-filter-bar .mvp-create-event-btn:focus {
  border-color: #067451;
  background: linear-gradient(135deg, #12c98c 0%, #067451 100%);
  box-shadow: 0 9px 20px rgba(7, 138, 96, 0.32);
}

.mvp-event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(16, 105, 68, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mvp-event-card:hover,
.mvp-event-card:focus {
  transform: translateY(-2px);
  border-color: rgba(19, 163, 123, 0.26);
  box-shadow: 0 10px 26px rgba(16, 105, 68, 0.12);
}

.mvp-event-card:focus {
  outline: 3px solid rgba(19, 163, 123, 0.22);
  outline-offset: 3px;
}

.mvp-event-card a,
.mvp-event-card button {
  cursor: pointer;
}

.mvp-event-card-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  max-height: 120px;
  object-fit: cover;
  background: #eef6f2;
}

.mvp-event-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px;
}

.mvp-event-excerpt {
  color: #334d44;
  font-size: 0.82rem;
  line-height: 1.35;
}

.mvp-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(19, 163, 123, 0.12);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16, 105, 68, 0.05);
}

.mvp-stat-card span {
  color: #607b74;
  font-weight: 650;
}

.mvp-stat-card strong {
  color: #0f7556;
  font-size: 1.5rem;
}

.mvp-tabs {
  gap: 8px;
}

.mvp-tabs .nav-link {
  color: #0f7556;
  border-radius: 999px;
  font-weight: 650;
}

.mvp-tabs .nav-link.active {
  background: linear-gradient(90deg, #0d8549, #13a37b);
  color: #ffffff;
}

@media (max-width: 768px) {
  .mvp-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    min-height: 76px;
  }

  .navbar-shell {
    flex-wrap: wrap;
  }

  .navbar-brand {
    padding-left: 0;
  }

  .navbar-brand img {
    height: 70px;
  }

  .navbar-actions {
    order: 2;
    gap: 8px;
    margin-left: auto !important;
  }

  .navbar-toggler {
    order: 3;
  }

  .navbar .navbar-collapse {
    order: 4;
    flex-basis: 100%;
    margin-top: 10px;
    padding: 10px;
    background: rgba(7, 90, 54, 0.28);
    border-radius: 16px;
  }

  .navbar .navbar-nav {
    align-items: stretch;
    gap: 6px;
  }

  .navbar .nav-link {
    display: block;
    text-align: center;
  }

  .app-layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #dbe7e1;
  }

  .event-sidebar {
    padding: 12px !important;
  }

  .event-people-panel {
    max-width: 520px;
    margin: 0 auto;
  }

  .profile-hero-main {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .profile-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .app-main {
    padding: 1rem !important;
  }

  .container-fluid.py-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .mvp-filter-bar {
    padding: 14px;
  }

  .mvp-filter-bar .btn {
    flex: 1;
  }

  .profile-hero {
    padding: 16px;
  }

  .profile-hero-main,
  .profile-detail-grid,
  .profile-stats {
    grid-template-columns: 1fr;
  }

  .profile-avatar-frame {
    min-height: 120px;
  }

  .profile-title-row {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .profile-feed-balance {
    align-self: center;
  }

  .profile-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .profile-actions .btn {
    width: 100%;
  }

  .profile-list-card {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-list-actions {
    justify-items: stretch;
  }

  .profile-list-actions .btn {
    width: 100%;
  }

  .public-profile-details,
  .public-profile-stats {
    grid-template-columns: 1fr;
  }

  .public-profile-title {
    font-size: 1.55rem;
  }

  .public-profile-stat {
    padding: 14px 16px;
  }

  .event-detail-body {
    padding: 20px;
  }

  .event-detail-body h1 {
    font-size: 1.55rem;
  }

  .event-detail-side {
    position: static;
  }

  .event-detail-secondary-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    min-height: 70px;
  }

  .navbar-brand img {
    height: 58px;
  }

  .beta-badge {
    padding-left: 7px;
    font-size: 0.64rem;
  }

  .navbar-actions {
    gap: 6px;
  }

  .navbar .navbar-create-event {
    min-height: 40px;
    padding: 6px 12px;
    font-size: 0.84rem;
  }

  .language-switcher-select {
    min-width: 62px;
    height: 38px;
    padding-right: 20px;
    padding-left: 8px;
  }

  .navbar-icon-button {
    width: 38px;
    height: 38px;
  }

  .navbar-icon-button i {
    font-size: 1.15rem;
  }

  .avatar-small {
    width: 36px;
    height: 36px;
  }

  .btn-nav-auth {
    padding: 8px 10px !important;
    font-size: 0.85rem;
  }

  .event-file-control {
    flex-direction: column;
    align-items: stretch;
  }

  .event-file-button,
  .event-file-name {
    width: 100%;
  }

  .event-people-grid {
    grid-template-columns: repeat(3, minmax(64px, 1fr));
    gap: 14px 10px;
  }

  .event-person {
    width: 100%;
  }

  footer {
    padding: 16px 18px;
  }

  .site-footer .container {
    gap: 10px 20px;
  }
}

/* Shared category navigation for browsing and creating activities. */
.activity-picker {
  max-width: 880px;
  margin: 16px auto 24px;
  padding: 28px;
  border: 1px solid #dcebe4;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(20, 83, 58, .05);
}
.activity-picker-heading { text-align: center; margin-bottom: 24px; }
.activity-picker-heading h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 8px; }
.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.activity-grid-item { min-width: 0; }
.activity-choice {
  display: flex; align-items: center; gap: 11px; height: 100%; min-height: 60px;
  padding: 10px 14px; border: 1px solid #cfe5d9; border-radius: 12px;
  background: #f6fbf8; color: #176343; text-decoration: none; font-weight: 600;
  line-height: 1.4; transition: background .15s, border-color .15s, box-shadow .15s;
}
.activity-choice-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: #e5f4eb; }
.activity-choice:hover { color: #104b32; background: #eaf7ef; border-color: #70b88f; box-shadow: 0 3px 10px #17634312; }
.activity-choice.is-selected { color: #fff; background: #157347; border-color: #157347; }
.activity-choice.is-selected .activity-choice-icon { background: #ffffff20; }
.activity-choice:focus-visible, .activity-search summary:focus-visible { outline: 3px solid #268655; outline-offset: 4px; }
.activity-subcategories { border-top: 1px solid #e1ece5; padding-top: 24px; margin-top: 24px; }
.activity-subcategories { scroll-margin-top: 96px; }
.activity-subcategories h2 { margin-bottom: 16px; }
.activity-choice-small { min-height: 54px; justify-content: center; text-align: center; }
.create-event-form { padding: 30px 34px; border: 1px solid #dcebe4; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(20,83,58,.08); }
.create-event-form > .mb-4 { margin-bottom: 20px !important; }
.country-other-field[hidden] { display: none !important; }
.create-event-form .form-label { color: #21483a; margin-bottom: 7px; font-size: .9rem; }
.create-event-form .form-control, .create-event-form .form-select { min-height: 46px; border-color: #d3e3db; border-radius: 10px; background: #fbfdfc; }
.create-event-form textarea.form-control { min-height: 112px; }
.create-event-form .form-control:focus, .create-event-form .form-select:focus { border-color: #15915d; box-shadow: 0 0 0 3px rgba(21,145,93,.12); background: #fff; }
.create-form-section-title { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #087c4d; font-size: 1.08rem; font-weight: 700; }
.create-form-section-title i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #e8f7ee; font-size: .95rem; }
.create-form-divider { border: 0; border-top: 1px solid #e2eee7; margin: 28px 0; opacity: 1; }
.create-event-form .event-file-control { border: 1px dashed #b8d8c5; border-radius: 12px; padding: 12px; background: #f7fcf9; }
.create-event-form > button[type="submit"] { min-height: 50px; margin-top: 6px; border-radius: 11px; font-size: 1rem; box-shadow: 0 5px 14px rgba(21,115,71,.18); }
@media (min-width: 768px) { .create-event-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; } .create-event-form > * { grid-column: 1 / -1; } .create-event-form > .create-form-date, .create-event-form > .create-form-location { grid-column: span 1; } }
@media (max-width: 575.98px) { .create-event-form { padding: 22px 17px; border-radius: 17px; } }
.create-picker { border-top: 4px solid #13a37b; }
.create-picker .activity-choice { background: #f2fbf6; }
.create-picker .activity-choice-small { justify-content: space-between; }
.create-picker .activity-choice-small .bi { font-size: 1.45rem; color: #13a37b; }
.create-choice-hint { margin-top: 3px; font-size: .76rem; font-weight: 400; color: #668579; }
.activity-back { display: flex; justify-content: center; margin-top: 24px; }
.activity-back .btn { min-width: 128px; }
.activity-search { max-width: 1100px; margin-inline: auto; border: 1px solid #dcebe4; border-radius: 16px; background: #fff; }
.activity-search summary { cursor: pointer; padding: 16px 22px; color: #176343; font-weight: 600; }
.activity-search summary i { margin-inline: 8px; }
.activity-search .mvp-filter-bar { border: 0; box-shadow: none; margin-bottom: 0 !important; }
.activity-search { display: none !important; }
[dir="rtl"] .activity-back .bi { display: inline-block; transform: rotate(180deg); }
@media (max-width: 575.98px) {
  .activity-picker { padding: 20px 16px; border-radius: 18px; margin-top: 8px; }
  .activity-grid { grid-template-columns: 1fr; gap: 10px; }
  .activity-choice { min-height: 64px; padding: 10px 14px; }
  .activity-choice-small { min-height: 50px; }
}

/* Navigation within the event creation flow. */
.create-event-breadcrumbs {
  margin: 18px auto 0;
  max-width: 100%;
}

.create-event-breadcrumbs .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.create-event-breadcrumbs .breadcrumb-item {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  padding: 0;
  color: #344b43;
  overflow-wrap: anywhere;
}

.create-event-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  content: "";
  float: none;
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-inline: 12px;
  padding: 0;
  border-top: 1px solid #8a9c95;
  border-right: 1px solid #8a9c95;
  transform: translateY(-2px) rotate(45deg);
}

html[dir="rtl"] .create-event-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  transform: translateY(-2px) rotate(-135deg);
}

.create-event-breadcrumbs a {
  color: #596d64;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 150ms ease;
}

.create-event-breadcrumbs a:hover {
  color: #087b50;
  text-decoration: underline;
}

.create-event-breadcrumbs a:focus-visible {
  outline: 2px solid #087b50;
  outline-offset: 4px;
  border-radius: 2px;
}

.create-event-breadcrumbs [aria-current="page"] {
  color: #18553f;
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .create-event-breadcrumbs .breadcrumb {
    font-size: 0.75rem;
  }

  .create-event-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    margin-inline: 8px;
  }
}

/* Keep account controls on their own row on narrow screens. */
@media (max-width: 991.98px) {
  .navbar-shell { gap: 10px; }
  .navbar-shell > .navbar-brand { flex: 0 1 auto; margin-right: 0; }
  .navbar-shell > .country-switcher { margin-inline-start: auto; }
  .navbar-shell > .navbar-toggler { order: 1; }
  .navbar-shell > .navbar-actions {
    order: 2;
    width: 100%;
    min-width: 0;
    margin-inline: 0 !important;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
  }
  .navbar-shell > .navbar-collapse { order: 3; }
  .navbar-actions .navbar-profile-account { padding-inline: 6px; }
}
@media (max-width: 399.98px) {
  .navbar-shell > .country-switcher { order: 2; margin-inline: 0; }
  .navbar-shell > .navbar-toggler { margin-inline-start: auto; }
  .navbar-shell > .navbar-actions { order: 3; justify-content: flex-start; }
  .navbar-shell > .navbar-collapse { order: 4; }
}
/* Keep organizer request controls within narrow phone screens. */
.request-person,
.request-actions,
.request-buttons {
  min-width: 0;
  max-width: 100%;
}

.request-person {
  overflow-wrap: anywhere;
}

.request-person > a:first-child,
.request-person > img {
  flex-shrink: 0;
}

.request-actions .badge {
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .request-row > .request-person,
  .request-row > .request-actions {
    width: 100%;
  }

  .request-actions .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
  }
}
.legal-page { max-width: 1180px; padding-top: 48px; padding-bottom: 64px; color: #173f32; }
.legal-hero { display: flex; gap: 24px; align-items: center; padding: 38px 40px; background: linear-gradient(130deg, #e9f8ef, #f7fcfa); border: 1px solid #dceee3; border-radius: 24px; }
.legal-hero-icon { flex-shrink: 0; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: #fff; color: #138557; font-size: 2.2rem; box-shadow: 0 6px 20px #173f3208; }
.legal-hero-copy { min-width: 0; }
.legal-brand { display: block; margin-bottom: 10px; color: #138557; font-size: .8rem; font-weight: 750; letter-spacing: .08em; }
.legal-hero h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.2; font-weight: 750; letter-spacing: -.025em; margin: 0 0 16px; overflow-wrap: anywhere; }
.legal-draft-notice { display: flex; align-items: baseline; gap: 10px; color: #7b643c; font-size: .9rem; line-height: 1.6; margin: 0; }
.legal-document-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0 28px; }
.legal-document-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; color: #587064; text-decoration: none; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.legal-document-nav a:hover { color: #08784a; background: #e9f5ed; }
.legal-document-nav a.is-current { color: #fff; background: #157347; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.legal-sidebar { position: sticky; top: 24px; }
.legal-contents { padding: 8px; border: 1px solid #e0eae4; border-radius: 16px; background: #fff; }
.legal-contents a { display: flex; align-items: baseline; gap: 12px; padding: 14px 12px; border-radius: 10px; color: #426252; font-size: .88rem; line-height: 1.6; text-decoration: none; }
.legal-contents a:hover { background: #eef7f1; color: #08784a; }
.legal-nav-number { color: #84a18f; font-size: .75rem; flex-shrink: 0; font-weight: 700; }
.legal-contact { margin-top: 20px; padding: 24px 20px; border-radius: 16px; background: #edf6f0; }
.legal-contact > i { display: block; font-size: 1.4rem; color: #138557; margin-bottom: 12px; }
.legal-contact h2 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.legal-contact a { color: #08784a; font-size: .85rem; overflow-wrap: anywhere; text-underline-offset: 4px; }
.legal-document { border: 1px solid #e0eae4; border-radius: 20px; background: #fff; box-shadow: 0 8px 30px #173f3205; padding: 8px 36px; }
.legal-section { display: flex; gap: 20px; padding: 32px 0; scroll-margin-top: 24px; }
.legal-section + .legal-section { border-top: 1px solid #e8efea; }
.legal-section-number { flex-shrink: 0; display: grid; place-items: center; align-self: flex-start; width: 36px; height: 36px; background: #eef7f1; border-radius: 10px; color: #138557; font-size: .8rem; font-weight: 700; }
.legal-section h2 { font-size: 1.2rem; line-height: 1.45; font-weight: 700; margin: 4px 0 16px; }
.legal-section p { margin: 0; color: #52685d; line-height: 1.9; font-size: .97rem; overflow-wrap: anywhere; }
.legal-page a:focus-visible { outline: 3px solid #268655; outline-offset: 3px; }
html[dir="rtl"] .legal-page .bi-arrow-up-right { display: inline-block; transform: scaleX(-1); }
@media (max-width: 991px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; } .legal-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .legal-contact { margin-top: 0; } }
@media (max-width: 575px) { .legal-page { padding-top: 24px; padding-bottom: 36px; } .legal-hero { align-items: flex-start; gap: 16px; padding: 24px; } .legal-hero-icon { width: 48px; height: 48px; font-size: 1.5rem; border-radius: 14px; } .legal-sidebar { grid-template-columns: 1fr; } .legal-document { padding: 0 20px; } .legal-section { gap: 12px; padding: 24px 0; } .legal-section-number { width: 28px; height: 28px; } .legal-section h2 { font-size: 1.1rem; } }
.about-page { max-width: 1180px; padding-top: 56px; padding-bottom: 64px; color: #173f32; }
.about-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 28px; background: linear-gradient(135deg, #e9f8ef, #f7fcfa); border: 1px solid #dceee3; }
.about-eyebrow { display: block; margin-bottom: 16px; color: #138557; font-size: .8rem; font-weight: 750; letter-spacing: .04em; }
.about-hero h1 { font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 750; line-height: 1.12; letter-spacing: -.035em; margin-bottom: 24px; }
.about-lead { color: #526c60; font-size: 1.12rem; line-height: 1.75; margin: 0; }
.about-connection { padding: 30px; border-radius: 22px; background: #fff; box-shadow: 0 18px 45px rgba(21, 90, 58, .09); }
.about-connection-title { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 700; }
.about-connection-title > i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #dff5e9; color: #138557; font-size: 1.5rem; flex-shrink: 0; }
.about-interest-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.about-interest-chips > span { padding: 8px 12px; border-radius: 30px; background: #f0f7f3; font-size: .85rem; }
.about-connection-path { list-style: none; margin: 0; padding: 0; }
.about-connection-path li { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 0; font-weight: 600; }
.about-connection-path li > i { z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; background: #e9f8ef; color: #138557; border-radius: 50%; }
.about-connection-path li:not(:last-child)::after { content: ''; position: absolute; inset-inline-start: 17px; top: 45px; height: 28px; width: 2px; background: #dceee3; }
.about-purpose { max-width: 780px; margin: 72px auto; text-align: center; }
.about-page h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); font-weight: 700; line-height: 1.3; margin-bottom: 20px; letter-spacing: -.02em; }
.about-purpose p, .about-step p, .about-events p { color: #587064; line-height: 1.8; margin-bottom: 0; }
.about-section-heading { margin-bottom: 28px; }
.about-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.about-step { position: relative; padding: 30px; border: 1px solid #e1ebe5; border-radius: 20px; background: #fff; }
.about-step-number { position: absolute; inset-inline-end: 24px; top: 24px; font-weight: 750; color: #b7cdbf; }
.about-step > i { display: block; color: #138557; font-size: 1.7rem; margin-bottom: 24px; }
.about-step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; }
.about-events { display: flex; gap: 32px; align-items: flex-start; padding: 40px; margin-top: 32px; border-radius: 20px; background: #edf6f0; }
.about-events-icon { flex-shrink: 0; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; background: #fff; color: #138557; font-size: 2rem; }
.about-text-link { display: inline-block; color: #08784a; font-weight: 700; margin-top: 20px; }
.about-invitation { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px; margin-top: 48px; border-radius: 24px; background: linear-gradient(120deg, #116e49, #12966b); color: #fff; }
.about-invitation h2 { margin-bottom: 12px; }
.about-invitation p { margin: 0; color: #e0f3e8; line-height: 1.7; }
.about-invitation .btn { flex-shrink: 0; color: #116e49; }
html[dir="rtl"] .about-page .bi-arrow-right { display: inline-block; transform: scaleX(-1); }
@media (max-width: 991px) { .about-hero { grid-template-columns: 1fr; gap: 32px; padding: 32px; } .about-step-grid { grid-template-columns: 1fr; } .about-invitation { flex-direction: column; align-items: flex-start; } }
@media (max-width: 575px) { .about-page { padding-top: 24px; padding-bottom: 32px; } .about-hero, .about-connection, .about-step, .about-events, .about-invitation { padding: 24px; } .about-purpose { margin: 40px auto; } .about-events { flex-direction: column; gap: 20px; } .about-hero .btn { width: 100%; } }
/* Separate date and time controls stay usable on narrow touch screens. */
.event-datetime {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.event-datetime-part {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 100%;
}
.event-datetime input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  font-size: 16px;
}
