.activity-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: white;
  overflow: visible;
  /* relevant after removing highlight-tile class */
  background-color: transparent;
  transition: background-color 0.5s ease;
}

.highlight-tile {
  background-color: rgba(255, 193, 7, 0.2);
}


.activity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.activity-card img {
  aspect-ratio: 3/2;
  /* object-fit: cover; */
  width: 100%;
}

.card-title {
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
}

.info-row {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.4;
}

.info-row i {
  width: 16px;
  text-align: center;
}

.organization-row {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 64px;
  overflow: visible;
}

.org-logo {
  max-width: 48px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
}

@media (max-width: 768px) {
  .activity-card .card-body {
    padding: 0.75rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .info-row {
    font-size: 0.8rem;
  }
}
.activity-detail-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  background-color: #f8f9fa;
  overflow: hidden;
}

.activity-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back-button {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  transition: background-color 0.2s;
}

.back-button:hover {
  background: white;
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .activity-detail-hero {
    height: 30vh;
    min-height: 200px;
  }
}
/* Add this to your admin stylesheet */
pre code {
  display: block;
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--bs-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transform: none !important;
  will-change: opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.back-to-top:hover {
  color: white;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
  }
}
.feedback-button {
  position: fixed;
  right: 0;
  top: 50%;
  transform: rotate(-90deg) translate(50%, -50%);
  transform-origin: right center;
  background: var(--bs-primary);
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1500;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: -6px;
  padding-right: 22px;
}

.feedback-button:hover {
  transform: rotate(-90deg) translate(50%, -60%);
  color: white;
}

.feedback-button i {
  transform: rotate(90deg);
}
.filter-button {
  border-radius: 5px;
  padding: 8px 8px;
  font-size: 0.9rem;
  border: 1px solid #dee2e6;
  background-color: white;
  color: #212529;
  white-space: nowrap;
}

.filter-button.active {
  background-color: #e7f1ff;
  border-color: #0d6efd;
  color: #0d6efd;
}

.filter-value {
  color: #0d6efd;
}

.chevron {
  color: #6c757d;
}

.size-item {
  border-bottom: 1px solid #dee2e6;
}

.size-text {
  font-size: 1.1rem;
}

.filter-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  width: 100%;
}

.filter-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.filter-item {
  cursor: pointer;
}

.filter-container {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: white;
  border-bottom: 1px solid #dee2e6;
  margin-left: -12px;
  margin-right: -12px;
  padding-left: 12px;
  padding-right: 12px;
}

.filter-container::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 40px;
  background: linear-gradient(to right, transparent, white);
  pointer-events: none;
}

.filter-container.at-end::after {
  display: none;
}
footer {
  margin-top: 4rem;
  border-top: 1px solid #dee2e6;
}

footer .logo {
  font-size: 1.5rem;
}

footer .compass {
  font-size: 1.2rem;
}

footer h5 {
  margin-bottom: 1rem;
  color: #212529;
}

footer .nav-link:hover {
  color: var(--bs-primary) !important;
}

footer .compass img {
  height: 1.2rem;
  width: auto;
}

@media (max-width: 768px) {
  footer {
    margin-top: 2rem;
  }

  footer .logo {
    font-size: 1.2rem;
  }
}
.compass {
  display: inline-block;
  animation: compass-spin 3s ease-in-out infinite;
}

.compass img {
  height: 1em;
  width: auto;
  vertical-align: baseline;
  margin-bottom: -0.15em; /* Fine-tune vertical alignment */
}

@keyframes compass-spin {
  0% { transform: rotate(-30deg); }
  50% { transform: rotate(0deg); }
  100% { transform: rotate(-30deg); }
}

.nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.heart-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s;
}

.heart-button:hover {
  transform: scale(1.02);
  background-color: #e9ecef;
}

.heart-button.clicked {
  animation: heartBeat 0.5s;
}

.cursor-pointer {
  cursor: pointer;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.topic-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0;
  padding: 0.5rem;
}

.heart-count {
  font-size: 1rem;
  color: #495057;
  font-weight: 500;
}

.topic-text {
  font-size: 1rem;
  line-height: 1.5;
}

.topic-row:hover {
  background-color: #f8f9fa;
  border-radius: 0.5rem;
}
/* fix for google maps autocomplete dropdown appearing behind the modal */
.pac-container {
  background-color: #FFF;
  z-index: 2000;
  position: fixed;
  display: inline-block;
  float: left;
}

.modal{
  z-index: 20;
}
.modal-backdrop{
  z-index: 10;
}​
.organizations-showcase {
  padding: 2rem 0;
  border-radius: 12px;
  position: relative;
}

/* .organizations-showcase[data-theme="light"] {
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.02));
} */

.logo-scroll {
  width: 100%;
  overflow: hidden;
  height: 100px;
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.logo-scroll.loaded {
  opacity: 1;
}

.logo-scroll::before,
.logo-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

/* Theme-specific fade effects */
.organizations-showcase[data-theme="light"] .logo-scroll::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.organizations-showcase[data-theme="light"] .logo-scroll::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.organizations-showcase[data-theme="dark"] .logo-scroll::before {
  left: 0;
  background: linear-gradient(to right, #1a1a1a, transparent);
}

.organizations-showcase[data-theme="dark"] .logo-scroll::after {
  right: 0;
  background: linear-gradient(to left, #1a1a1a, transparent);
}

.logo-container {
  display: flex;
  align-items: center;
  padding: 10px 0;
  width: max-content;
}

.logo-container.animate {
  animation: scroll 40s linear infinite;
}

.logo-container.animate:hover {
  animation-play-state: paused;
}

.org-logo-link {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
  padding-right: 1rem;
  padding-left: 1rem;
  position: relative;
}

.org-logo-link:last-child,
.org-logo:last-child {
  margin-right: 0;
}

.org-logo-link:hover {
  transform: scale(1.2);
  z-index: 1;
}

.org-logo {
  height: 50px;
  object-fit: contain;
  margin-right: 0;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .logo-scroll {
    height: 80px;
  }

  .org-logo {
    height: 40px;
  }
}


.logo-scroll.loading {
  opacity: 1;
}

.logo-scroll.loading .logo-container {
  opacity: 0;
}

.logo-placeholder {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 50px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.logo-scroll:not(.loading) .logo-placeholder {
  display: none;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.org-logo-link {
  position: relative;
}
.hero-section {
  position: relative;
  min-height: 400px;
  width: 100%;
  background: none;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
  margin: 0;
  box-sizing: border-box;
}

.hero-content {
  text-align: left;
  max-width: 45%;
  z-index: 2;
  position: relative;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  bottom: 0;
  max-height: 100%;
}

.hero-overlay {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 300px;
    padding: 2rem 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    width: 100%;
    opacity: 0.15;
  }

  .hero-overlay {
    width: 100%;
    background: rgba(255,255,255,0.85);
  }
}
[data-encrypted] {
  position: relative;
}

[data-encrypted]::before {
  content: "_ _ _";
  position: absolute;
  left: 0;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}

[data-encrypted].decrypted::before {
  opacity: 0;
}

[data-encrypted]:not(.decrypted) {
  color: transparent;
}
.price-display {
  font-weight: 600;
  color: #2c3e50;
}

.price-display.free {
  color: #27ae60;
}

/* Add some subtle animation when price is shown */
@keyframes priceAppear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-display {
  animation: priceAppear 0.3s ease-out;
}
.share-buttons {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.platform-buttons {
  display: inline-flex;
  gap: 0.5rem;
}

@media (hover: hover) {
  .share-buttons:hover .platform-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}
.activity-teaser-card {
  transition: transform 0.2s;
}

.activity-teaser-card:hover {
  transform: translateY(-2px);
}

.activity-teaser-card .image-placeholder {
  padding-top: 66.67%; /* 3:2 aspect ratio */
  background-color: #f8f9fa;
}

.activity-teaser-card .activity-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
}

.activity-teaser-card .activity-image.loaded {
  opacity: 1;
}

.activity-teaser-card .org-logo-small {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 2px;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3rem;
  line-height: 1.5rem;
  max-height: 3rem;
}

.line-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.title-clamp {
  -webkit-line-clamp: 2; /* Default for mobile */
}

@media (min-width: 700px) {
  .title-clamp {
    -webkit-line-clamp: 1;
  }
}
/* add core styles that apply the standard BS */
:root {
  /* --primary: #0d6efd;
  --bs-primary: #71c967;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41; */
  /*
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  */


body {
  font-family: 'Nunito', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}

/* in BS 5 I only had .top-50, defined this by hand */
.top-25 {
  top: 25% !important;
}

.top-15 {
  top: 15% !important;
}

/** COLOR STYLING TOBIAS - can be better in the long run **/

.bg-primary-light{
  background-color: #0d6efd1a !important;
}

/* .btn-success, .bg-success{
  background-color: #2F7787 !important;
}
.btn-success:hover{
  background-color: #1e6170;
}
.btn-success:active{
  background-color: #1e6170;
}
.text-success{
  color: #2F7787 !important;
}

.btn-warning, .bg-warning, .btn-primary, .bg-primary{
  background-color: #FDC722 !important;
  border-color: #FDC722 !important;
}
.btn-warning:hover, .btn-primary:hover{
  background-color: #a77d00 !important;
}
.btn-warning:active, .btn-primary:active{
  background-color: #a77d00 !important;
}
.text-warning, .text-primary{
  color: #FDC722 !important;
}
.bg-primary-light{
  background-color: rgba(253, 199, 34, 0.2) !important;
}

.btn-outline-primary{
  border-color: #FDC722 !important;
  color: #FDC722 !important;
}
.btn-outline-primary:hover{
  background-color: #FDC722 !important;
  color: #fff !important;
}
.btn-outline-primary:active{
  background-color: #FDC722 !important;
  color: #fff !important;
}

.btn-danger, .bg-danger{
  background-color: #F44235 !important;
}
.btn-danger:hover{
  background-color: #a72d24 !important;
}
.btn-danger:active{
  background-color: #a72d24 !important;
}
.text-danger{
  color: #F44235 !important;
} */

/*
 * manifest file that'll be compiled into application.css
 *



 */
