/* GALLERI OVERRIDE */
.fb360-gallery-wrap {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow: hidden !important;
  display: block !important;
}
.fb360-gallery-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  line-height: 0 !important;
  font-size: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.fb360-gallery-item {
  width: 20% !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  padding-bottom: 13.33% !important;
  height: 0 !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}
.fb360-gallery-item img {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
@media (max-width: 900px) { .fb360-gallery-item { width: 33.333% !important; padding-bottom: 22.22% !important; } }
@media (max-width: 600px) { .fb360-gallery-item { width: 50% !important; padding-bottom: 33.33% !important; } }
.fb360-page { font-family: 'Exo', sans-serif; background: #f0ebe3; color: #1a1a18; }

/* HERO SLIDER FULD BREDDE */
.fb360-slider-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 720px;
  overflow: hidden;
  background: #1a1a18;
  z-index: 99;
}
.fb360-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.fb360-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.fb360-slide-active {
  opacity: 1 !important;
  pointer-events: auto;
}
.fb360-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.fb360-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
}
.fb360-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 0;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.fb360-slider-btn:hover { background: rgba(255,255,255,0.3); }
.fb360-slider-prev { left: 1.5rem; }
.fb360-slider-next { right: 1.5rem; }
.fb360-slider-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.fb360-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.fb360-slider-dot:hover { background: rgba(255,255,255,0.75); }
.fb360-dot-active { background: #fff !important; transform: scale(1.25); }
@media (max-width: 600px) { .fb360-slider-wrap { height: 380px; } }

.fb360-hero {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 4rem 2rem 1rem; position: relative; overflow: hidden; background: #f0ebe3;
}
.fb360-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200,169,110,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.fb360-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: #4a7c6f; margin-bottom: 1.2rem; }
.fb360-hero h1 { font-family: 'Exo', sans-serif !important; font-size: clamp(3rem, 8vw, 6rem) !important; font-weight: 800 !important; font-style: normal !important; line-height: 1 !important; color: #1a1a18 !important; margin-bottom: 1.5rem !important; }
.fb360-sub { font-size: 1.15rem; font-weight: 300; color: #6b6b63; max-width: 520px; line-height: 1.7; margin-bottom: 1rem; }
.fb360-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.fb360-btn-primary { background: #1a1a18; color: #faf9f7 !important; padding: 0.9rem 2.2rem; border: none; border-radius: 2px; font-family: 'Exo', sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; text-decoration: none !important; transition: background 0.2s; display: inline-block; }
.fb360-btn-primary:hover { background: #4a7c6f !important; }
.fb360-btn-outline { background: transparent; color: #1a1a18 !important; padding: 0.9rem 2.2rem; border: 1.5px solid #1a1a18; border-radius: 2px; font-family: 'Exo', sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; text-decoration: none !important; transition: all 0.2s; display: inline-block; }
.fb360-btn-outline:hover { background: #1a1a18 !important; color: #faf9f7 !important; }

/* ── SMART SEARCH ── */
.fb360-smart-search { width: 100%; max-width: 860px; }

.fb360-search-row {
  display: flex; align-items: center;
  background: #faf9f7;
  border: 1.5px solid #ddd8cf;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  height: 58px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fb360-search-row:focus-within {
  border-color: #4a7c6f;
  box-shadow: 0 4px 24px rgba(74,124,111,0.15);
}
.fb360-search-icon {
  margin: 0 0 0 1.2rem;
  flex-shrink: 0;
  color: #9b9b92;
}
.fb360-main-search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: 'Exo', sans-serif; font-size: 1rem; color: #1a1a18;
  padding: 0 1rem; height: 100%;
}
.fb360-main-search-input::placeholder { color: #b0afa8; font-weight: 300; }

.fb360-filter-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 0 1.1rem; height: 100%;
  background: transparent; border: none; border-left: 1px solid #e8e3db;
  font-family: 'Exo', sans-serif; font-size: 0.8rem; font-weight: 600;
  color: #6b6b63; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s; letter-spacing: 0.05em;
  text-transform: uppercase; position: relative;
}
.fb360-filter-toggle:hover { background: #f0ebe3; color: #1a1a18; }
.fb360-filter-toggle.fb360-gear-active { background: #f0ebe3; color: #4a7c6f; }
.fb360-filter-badge {
  position: absolute; top: 10px; right: 8px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #4a7c6f;
}

.fb360-search-btn {
  padding: 0 1.6rem; height: 100%;
  background: #1a1a18; color: #faf9f7; border: none;
  font-family: 'Exo', sans-serif; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s; flex-shrink: 0;
}
.fb360-search-btn:hover { background: #4a7c6f; }

/* Filter panel */
.fb360-filter-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
  opacity: 0;
}
.fb360-filter-panel.fb360-panel-open {
  max-height: 320px; opacity: 1;
}
.fb360-filter-panel-inner {
  display: flex; gap: 0; margin-top: 10px;
  background: #faf9f7; border: 1.5px solid #ddd8cf; border-radius: 6px;
  overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.fb360-filter-col {
  padding: 1.2rem 1.4rem; flex: 1;
}
.fb360-filter-col-right {
  border-left: 1px solid #e8e3db;
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 320px; flex: 0 0 320px;
}
.fb360-filter-col-label {
  display: block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: #9b9b92;
  margin-bottom: 0.8rem;
}
.fb360-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.fb360-chip {
  padding: 5px 12px; border: 1.5px solid #ddd8cf; border-radius: 0;
  background: transparent; font-family: 'Exo', sans-serif; font-size: 0.8rem;
  font-weight: 500; color: #6b6b63; cursor: pointer;
  transition: all 0.15s; white-space: nowrap;
}
.fb360-chip:hover { border-color: #4a7c6f; color: #4a7c6f; background: rgba(74,124,111,0.06); }
.fb360-chip-active { background: #1a1a18 !important; border-color: #1a1a18 !important; color: #faf9f7 !important; }

.fb360-filter-fields { display: flex; flex-direction: column; gap: 0.6rem; }
.fb360-filter-field { display: flex; align-items: center; gap: 0.6rem; }
.fb360-filter-field label { font-size: 0.78rem; font-weight: 600; color: #6b6b63; white-space: nowrap; min-width: 48px; }
.fb360-panel-input {
  flex: 1; padding: 0.5rem 0.7rem; border: 1.5px solid #e8e3db; border-radius: 4px;
  font-family: 'Exo', sans-serif; font-size: 0.88rem;
  background: #f0ebe3; color: #1a1a18; outline: none; transition: border-color 0.2s; width: 100%;
}
.fb360-panel-input:focus { border-color: #4a7c6f; }
.fb360-filter-actions { display: flex; gap: 8px; padding-top: 0.8rem; }
.fb360-clear-btn {
  flex: 1; padding: 0.6rem; border: 1.5px solid #ddd8cf; border-radius: 4px;
  background: transparent; font-family: 'Exo', sans-serif; font-size: 0.82rem;
  font-weight: 600; color: #6b6b63; cursor: pointer; transition: all 0.2s;
}
.fb360-clear-btn:hover { border-color: #1a1a18; color: #1a1a18; }
.fb360-apply-btn {
  flex: 2; padding: 0.6rem; border: none; border-radius: 4px;
  background: #4a7c6f; color: #faf9f7;
  font-family: 'Exo', sans-serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background 0.2s;
}
.fb360-apply-btn:hover { background: #1a1a18; }

.fb360-categories { padding: 2rem 3rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.fb360-section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: #6b6b63; margin-bottom: 1.2rem; display: block; }
.fb360-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.fb360-cat-btn {
  aspect-ratio: 1.4; border: none; border-radius: 0;
  font-family: 'Exo', sans-serif; font-size: 0.75rem; font-weight: 700;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex; align-items: center; justify-content: center;
  text-align: center; line-height: 1.3; padding: 0.5rem;
  color: #fff;
}
.fb360-cat-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.fb360-cat-btn.fb360-active { background: #c8692a !important; box-shadow: 0 4px 14px rgba(200,105,42,0.35); }
.fb360-tile-alle     { background: #1a1a18; }
.fb360-tile-idag     { background: #2e5f6b; }
.fb360-tile-imorgen  { background: #3d6858; }
.fb360-tile-weekend  { background: #5c4a7a; }
.fb360-tile-musik    { background: #3d6e7a; }
.fb360-tile-kunst    { background: #7a5c3d; }
.fb360-tile-born     { background: #4a7c6f; }
.fb360-tile-gratis   { background: #3d6b3d; }
.fb360-tile-foredrag { background: #6b4a6b; }
.fb360-tile-film     { background: #7a3d4a; }
.fb360-tile-mad      { background: #7a6b3d; }
.fb360-tile-natur    { background: #3d6b4a; }
.fb360-tile-havnen   { background: #2e4f6b; }
.fb360-tile-festival { background: #7a3d68; }
.fb360-tile-kirke    { background: #4a5c7a; }
@media (max-width: 768px) { .fb360-cat-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); } .fb360-cat-btn { font-size: 0.68rem; } }

.fb360-divider { height: 1px; background: #ddd8cf; max-width: 1200px; margin: 2rem auto; }

/* EVENTS GRID */
.fb360-events-section { padding: 2rem 3rem 5rem; max-width: 1200px; margin: 0 auto; }
.fb360-events-header { margin-bottom: 2rem; }
.fb360-section-title { font-family: 'Exo', sans-serif !important; font-size: 2rem !important; font-weight: 800 !important; color: #1a1a18 !important; }
.fb360-events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fb360-event-card { background: #faf9f7; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.fb360-event-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.fb360-event-card a { text-decoration: none !important; color: #1a1a18 !important; display: block; }
.fb360-event-img { position: relative; height: 200px; overflow: hidden; background: #ddd8cf; }
.fb360-event-img img { width: 100%; height: 100%; object-fit: cover; }
.fb360-event-no-img { width: 100%; height: 100%; background: linear-gradient(135deg, #ddd8cf, #c8a96e33); }
.fb360-event-date-badge { position: absolute; top: 1rem; right: 1rem; background: #fff; border-radius: 4px; padding: 0.4rem 0.6rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); min-width: 48px; }
.fb360-event-month { display: block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: #4a7c6f; letter-spacing: 0.1em; }
.fb360-event-day { display: block; font-size: 1.4rem; font-weight: 900; color: #1a1a18; line-height: 1; }
.fb360-event-cat { position: absolute; top: 1rem; left: 1rem; background: #1a1a18; color: #faf9f7; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.7rem; border-radius: 2px; }
.fb360-event-info { padding: 1.2rem; }
.fb360-event-info h3 { font-family: 'Exo', sans-serif !important; font-size: 1.05rem !important; font-weight: 700 !important; color: #1a1a18 !important; margin-bottom: 0.5rem !important; }
.fb360-event-loc, .fb360-event-time { font-size: 0.82rem; color: #6b6b63; margin-bottom: 0.3rem; }
.fb360-event-excerpt { font-size: 0.85rem; color: #6b6b63; margin-top: 0.5rem; line-height: 1.5; }
.fb360-no-events { color: #6b6b63; font-size: 1rem; padding: 2rem; text-align: center; }

.fb360-info-strip { background: #1a1a18; color: #fff; padding: 4rem 3rem; }
.fb360-info-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3rem; }
.fb360-info-block h3 { font-family: 'Exo', sans-serif !important; font-size: 1.3rem !important; font-weight: 700 !important; margin-bottom: 0.8rem !important; color: #c8a96e !important; }
.fb360-info-block p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); font-weight: 300; }
.fb360-info-block a { color: #c8a96e !important; text-decoration: none; font-weight: 500; }

.fb360-submit-section { padding: 5rem 3rem; max-width: 800px; margin: 0 auto; text-align: center; }
.fb360-submit-section h2 { font-family: 'Exo', sans-serif !important; font-size: 2.5rem !important; font-weight: 800 !important; margin-bottom: 1rem !important; color: #1a1a18 !important; font-style: normal !important; }
.fb360-submit-section > p { color: #6b6b63; font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }
.fb360-success { background: #4a7c6f; color: #fff; padding: 1rem 1.5rem; border-radius: 4px; margin-bottom: 1.5rem; font-weight: 600; }
.fb360-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; margin-bottom: 1rem; }
.fb360-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.fb360-form-group.full { grid-column: 1 / -1; }
.fb360-form-group label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #6b6b63; }
.fb360-form-group input, .fb360-form-group textarea, .fb360-form-group select { height: auto; min-height: 44px; padding: 0.8rem 1rem; border: 1.5px solid #ddd8cf; border-radius: 2px; font-family: 'Exo', sans-serif; font-size: 0.95rem; background: #faf9f7; color: #1a1a18; outline: none; transition: border-color 0.2s; width: 100%; }
.fb360-form-group input:focus, .fb360-form-group textarea:focus, .fb360-form-group select:focus { border-color: #4a7c6f; }
.fb360-form-group textarea { resize: vertical; min-height: 100px; }
.fb360-submit-btn { width: 100%; padding: 1.1rem; font-size: 1rem; font-family: 'Exo', sans-serif; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #1a1a18; color: #faf9f7; border: none; border-radius: 2px; cursor: pointer; margin-top: 0.5rem; transition: background 0.2s; }
.fb360-submit-btn:hover { background: #4a7c6f; }

.fb360-upload-area { border: 2px dashed #ddd8cf; border-radius: 4px; padding: 1.5rem; text-align: center; background: #faf9f7; }
.fb360-upload-btn { display: inline-block; padding: 0.75rem 1.5rem; background: #1a1a18; color: #faf9f7; border-radius: 0; cursor: pointer; font-family: "Exo", sans-serif; font-weight: 700; font-size: 0.82rem; margin-bottom: 1rem; transition: background 0.2s; letter-spacing: 0.08em; text-transform: uppercase; }
.fb360-upload-btn:hover { background: #c8692a; }
.fb360-upload-hint { font-size: 0.78rem; color: #6b6b63; margin-top: 0.5rem; }
.fb360-image-previews { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1rem; }
.fb360-image-previews img { width: 100px; height: 100px; object-fit: cover; border-radius: 4px; border: 2px solid #ddd8cf; }

@media (max-width: 900px) { .fb360-events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .fb360-events-grid { grid-template-columns: 1fr; }
  .fb360-categories, .fb360-events-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .fb360-form-grid { grid-template-columns: 1fr; }
  .fb360-submit-section { padding: 3rem 1.5rem; }
}
