/* ============================================================
   Hitta Din Piteå — OS Style
   Layout mirrors Piteå Kommun visual identity
   ============================================================ */

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background: #e5e5e5;
}

a { color: #005b9a; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ============================================================
   Container
   ============================================================ */
.hdp-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ============================================================
   Sticky header
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  transition: transform 0.3s;
}

header.header-hidden {
  transform: translateY(-100%);
}

/* ============================================================
   Main Header
   ============================================================ */
.hdp-main-header {
  background: #232323;
  position: relative; /* needed for mobile nav dropdown */
}

.hdp-main-header .hdp-container {
  display: flex;
  align-items: stretch;
  min-height: 72px;
}

.hdp-main-header nav {
  display: flex;
  flex: 1;
}

.hdp-logo {
  display: flex;
  align-items: center;
  padding-right: 30px;
  text-decoration: none;
  flex-shrink: 0;
}

.hdp-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.hdp-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.hdp-logo-text .line1 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b2438c;
}

.hdp-logo-text .line2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.hdp-main-nav {
  display: flex;
  align-items: stretch;
  list-style: none;
  flex: 1;
}

.hdp-main-nav li {
  display: flex;
}

.hdp-main-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #ccc;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

/* "Hitta Din" label — appears above nav text on hover/active */
.hdp-main-nav li a::before {
  content: "Hitta Din";
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b2438c;
  line-height: 1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.2s ease, opacity 0.15s ease, margin-bottom 0.2s ease;
}

.hdp-main-nav li a:hover::before {
  max-height: 14px;
  opacity: 1;
  margin-bottom: 3px;
}

.hdp-main-nav li.active a::before {
  max-height: 14px;
  opacity: 1;
  margin-bottom: 3px;
  color: rgba(255,255,255,0.75);
}

.hdp-main-nav li a:hover {
  color: #fff;
  border-bottom-color: #b2438c;
  text-decoration: none;
}

.hdp-main-nav li.active a {
  color: #fff;
  background: #b2438c;
  border-bottom-color: #b2438c; /* visually connects to the pink sub-nav below */
}

/* ============================================================
   Sub Nav
   ============================================================ */
.hdp-sub-nav {
  background: #b2438c;
  min-height: 38px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hdp-sub-nav .hdp-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.hdp-sub-nav-links {
  display: flex;
  list-style: none;
  align-items: stretch;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hdp-sub-nav-links li {
  display: flex;
  align-items: center;
  position: relative;
}

.hdp-sub-nav-links li + li::before {
  content: '|';
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.hdp-sub-nav-links a {
  color: #fff;
  font-size: 13px;
  padding: 0 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 38px;
}

.hdp-sub-nav-links a:hover { text-decoration: underline; }

.hdp-sub-nav-links li.active a {
  font-weight: 700;
  text-decoration: underline;
  background: rgba(0,0,0,0.15);
}

.hdp-sub-nav-links li.active::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #b2438c;
  pointer-events: none;
  z-index: 201;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.hdp-breadcrumb {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
}

.hdp-breadcrumb-list {
  display: flex;
  list-style: none;
  align-items: center;
  font-size: 12px;
  color: #666;
}

.hdp-breadcrumb-list li + li::before {
  content: '›';
  padding: 0 6px;
  color: #999;
}

.hdp-breadcrumb-list a { color: #005b9a; }
.hdp-breadcrumb-list a:hover { text-decoration: underline; }
.hdp-breadcrumb-list li:last-child { color: #333; font-weight: 600; }

/* ============================================================
   Hero
   ============================================================ */
.hdp-hero {
  position: relative;
  width: 100%;
  background: #1a1a1a;
  overflow: hidden;
}

.hdp-hero video,
.hdp-hero img.hdp-hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hdp-hero-fallback {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, #1a3a2a 0%, #232323 50%, #2d1a2a 100%);
}

.hdp-hero-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%);
}

.hdp-hero-cta-group {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: calc(100% - 30px);
}

.hdp-hero-cta {
  background: #fff;
  color: #1a1a1a;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hdp-hero-cta:hover {
  background: #b2438c;
  color: #fff;
  text-decoration: none;
}

/* Route page cards */
.hdp-route-card {
  background: #fff;
  border-top: 4px solid #b2438c;
  margin-bottom: 4px;
  cursor: pointer;
}

.hdp-route-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

.hdp-route-card-season {
  width: 52px;
  height: 52px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.hdp-route-card-meta { flex: 1; }

.hdp-route-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b2438c;
  margin-bottom: 3px;
}

.hdp-route-card-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.hdp-route-card-tagline {
  font-size: 12px;
  color: #777;
}

.hdp-route-card-stats {
  display: flex;
  gap: 20px;
  text-align: right;
  flex-shrink: 0;
}

.hdp-route-stat { display: flex; flex-direction: column; }

.hdp-route-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.hdp-route-stat-label {
  font-size: 10px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hdp-route-card-toggle {
  color: #b2438c;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.hdp-route-card.open .hdp-route-card-toggle { transform: rotate(90deg); }

.hdp-route-card-body {
  display: none;
  border-top: 1px solid #eee;
}

.hdp-route-card.open .hdp-route-card-body { display: block; }

.hdp-route-stops { padding: 0 20px 20px; }

.hdp-route-stop {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hdp-route-stop:last-child { border-bottom: none; }

.hdp-route-stop-num {
  width: 28px;
  height: 28px;
  background: #b2438c;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  margin-top: 1px;
}

.hdp-route-stop-content { flex: 1; }

.hdp-route-stop-tag {
  display: inline-block;
  background: #f5f5f5;
  color: #888;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 7px;
  margin-bottom: 4px;
}

.hdp-route-stop-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 3px;
}

.hdp-route-stop-detail {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.hdp-route-stop-link {
  font-size: 12px;
  font-weight: 600;
  color: #b2438c;
  display: inline-block;
  margin-top: 5px;
}

.hdp-route-stop-link:hover { text-decoration: underline; }

.hdp-route-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hdp-route-info-item {
  background: #fff;
  border-top: 3px solid #b2438c;
  padding: 16px;
}

.hdp-route-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b2438c;
  margin-bottom: 6px;
}

.hdp-route-info-value {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

/* Selector card (update page) */
.hdp-selector-card {
  background: #fff;
  border-top: 4px solid #b2438c;
  padding: 24px;
  margin-bottom: 28px;
}

.hdp-selector-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  font-family: "Gill Sans", "Gill Sans MT", Arial, sans-serif;
}

@media (max-width: 768px) {
  .hdp-hero-cta-group { flex-direction: row; flex-wrap: nowrap; gap: 6px; width: calc(100% - 24px); }
  .hdp-hero-cta { flex: 1; justify-content: center; font-size: 11px; padding: 10px 8px; white-space: normal; text-align: center; }
  .hdp-route-card-stats { display: none; }
  .hdp-route-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hdp-route-info-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Page Content
   ============================================================ */
.hdp-content {
  padding: 30px 0 50px;
}

/* Compact header for section pages that have a map directly below */
.hdp-content--compact {
  padding: 10px 0 10px;
}

.hdp-content--compact .hdp-page-title {
  margin-bottom: 4px;
}

.hdp-content--compact .hdp-page-intro {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.4;
}

.hdp-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-family: "Gill Sans", "Gill Sans MT", Arial, sans-serif;
}

.hdp-page-intro {
  font-size: 15px;
  color: #555;
  margin-bottom: 28px;
  max-width: 680px;
  line-height: 1.6;
}

/* ============================================================
   Section Header Bar
   ============================================================ */
.hdp-section-bar {
  background: #b2438c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 46px;
  margin-bottom: 0;
}

.hdp-section-bar-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hdp-section-bar-link {
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hdp-section-bar-link:hover { text-decoration: underline; }

/* ============================================================
   Category Card Grid
   ============================================================ */
.hdp-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 -7px;
  background: #e5e5e5;
  padding-top: 15px;
}

.hdp-card {
  width: calc(33.333% - 14px);
  margin: 0 7px 15px;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #333;
  position: relative;
}

.hdp-card:hover { text-decoration: none; }

.hdp-card::before {
  content: '';
  display: block;
  height: 4px;
  background: #b2438c;
  width: 100%;
}

.hdp-card-img-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hdp-card-img-wrap img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hdp-card:hover .hdp-card-img-wrap img { transform: scale(1.03); }

.hdp-card-img-placeholder {
  width: 100%;
  height: 195px;
  background: linear-gradient(135deg, #2d5a27 0%, #1a3a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.hdp-card-label {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5e5e5;
}

.hdp-card-title {
  font-size: 14px;
  font-weight: 400;
  color: #005b9a;
  line-height: 1.3;
  flex: 1;
  padding-right: 10px;
}

.hdp-card:hover .hdp-card-title {
  text-decoration: underline;
  color: #b2438c;
}

.hdp-card-arrow {
  color: #b2438c;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

/* ============================================================
   Icon Link Cards
   ============================================================ */
.hdp-icon-card {
  width: calc(33.333% - 14px);
  margin: 0 7px 15px;
  background: #fff;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  border-top: 4px solid #b2438c;
}

.hdp-icon-card:hover { text-decoration: none; }

.hdp-icon-card-icon {
  background: #b2438c;
  width: 56px;
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}

.hdp-icon-card-body {
  flex: 1;
  padding: 10px 12px;
}

.hdp-icon-card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #333;
}

.hdp-icon-card-sub {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}

.hdp-icon-card-arrow {
  color: #b2438c;
  font-size: 20px;
  padding: 0 14px;
  flex-shrink: 0;
}

.hdp-icon-card:hover .hdp-icon-card-title { color: #b2438c; }

/* ============================================================
   Entity Listing Cards
   ============================================================ */
.hdp-entity-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 15px;
}

.hdp-entity-card {
  background: #fff;
  border-top: 4px solid #b2438c;
  width: calc(50% - 8px);
  display: flex;
  flex-direction: column;
}

.hdp-entity-card-header {
  padding: 16px 16px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hdp-entity-card-name {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.hdp-entity-card-location {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #b2438c;
  white-space: nowrap;
  flex-shrink: 0;
}

.hdp-entity-card-tagline {
  padding: 6px 16px 12px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  border-bottom: 1px solid #eee;
}

.hdp-offering-list {
  padding: 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hdp-offering-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hdp-offering-emoji {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.3;
}

.hdp-offering-body { flex: 1; }

.hdp-offering-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}

.hdp-offering-desc {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
  line-height: 1.5;
}

.hdp-offering-price {
  font-size: 12px;
  color: #b2438c;
  font-weight: 600;
  margin-top: 4px;
}

.hdp-entity-card-footer {
  padding: 10px 16px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hdp-entity-card-link {
  font-size: 12px;
  color: #005b9a;
  text-decoration: none;
}

.hdp-entity-card-link:hover { text-decoration: underline; }

.hdp-entity-card-phone {
  font-size: 12px;
  color: #555;
}

.hdp-loading {
  text-align: center;
  padding: 60px 20px;
  color: #777;
  font-size: 15px;
  width: 100%;
}

.hdp-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
  width: 100%;
}

/* ============================================================
   Area / Village Cards
   ============================================================ */
.hdp-area-card {
  width: calc(33.333% - 14px);
  margin: 0 7px 15px;
  background: #fff;
  border-top: 4px solid #b2438c;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #333;
}

.hdp-area-card:hover { text-decoration: none; }

.hdp-area-card-img {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #1a3a2a 0%, #2d4a3e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.hdp-area-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hdp-area-card-name {
  font-size: 17px;
  font-weight: 700;
  color: #005b9a;
  margin-bottom: 6px;
}

.hdp-area-card:hover .hdp-area-card-name {
  color: #b2438c;
  text-decoration: underline;
}

.hdp-area-card-villages {
  font-size: 12px;
  color: #777;
  margin-bottom: 8px;
  line-height: 1.5;
}

.hdp-area-card-arrow {
  color: #b2438c;
  font-size: 18px;
  margin-top: auto;
}

/* Village profile hero */
.hdp-village-hero {
  background: linear-gradient(135deg, #1a3a2a 0%, #232323 100%);
  padding: 48px 0 40px;
}

.hdp-village-hero-emoji {
  font-size: 52px;
  margin-bottom: 12px;
}

.hdp-village-hero-name {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.hdp-village-hero-area {
  font-size: 12px;
  color: #b2438c;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.hdp-village-hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  line-height: 1.6;
}

/* ============================================================
   Tab Strip (subcategory navigation within a section)
   ============================================================ */
.hdp-tab-strip {
  background: #fff;
  border-bottom: 2px solid #e5e5e5;
  overflow-x: auto;
}

.hdp-tab-strip-inner {
  display: flex;
  align-items: stretch;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.hdp-tab {
  display: flex;
  align-items: center;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}

.hdp-tab:hover {
  color: #b2438c;
  border-bottom-color: #b2438c;
  text-decoration: none;
}

.hdp-tab.active {
  color: #b2438c;
  border-bottom-color: #b2438c;
}

/* ============================================================
   Register / Foretag Form
   ============================================================ */
.hdp-form-wrap { max-width: 720px; }

.hdp-form-group { margin-bottom: 20px; }

.hdp-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.hdp-form-label span { color: #b2438c; }

.hdp-form-input,
.hdp-form-select,
.hdp-form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  border-radius: 0;
  appearance: none;
  transition: border-color 0.15s;
}

.hdp-form-input:focus,
.hdp-form-select:focus,
.hdp-form-textarea:focus {
  outline: none;
  border-color: #b2438c;
}

.hdp-form-textarea { resize: vertical; min-height: 110px; }

.hdp-form-row { display: flex; gap: 15px; }
.hdp-form-row .hdp-form-group { flex: 1; }

.hdp-form-hint {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

.hdp-form-submit {
  background: #b2438c;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.hdp-form-submit:hover { background: #8f2f6e; }

.hdp-info-box {
  background: #fff;
  border-left: 4px solid #b2438c;
  padding: 18px 20px;
  margin-bottom: 28px;
}

.hdp-info-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.hdp-info-box p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* ============================================================
   Footer
   ============================================================ */
.hdp-footer {
  background: #232323;
  padding: 40px 0;
  margin-top: 20px;
}

.hdp-footer .hdp-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.hdp-footer-col { flex: 1; }

.hdp-footer-heading {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hdp-footer-col a {
  display: block;
  color: #b6b6b6;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 6px;
}

.hdp-footer-col a:hover { color: #fff; }

.hdp-footer-contact {
  background: #2d2d2d;
  padding: 20px;
  position: relative;
  flex: 1.5;
}

.hdp-footer-contact::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent #b2438c transparent transparent;
}

.hdp-footer-contact h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hdp-footer-contact p {
  color: #b6b6b6;
  font-size: 13px;
  line-height: 1.7;
}

.hdp-footer-contact a {
  color: #b2438c;
  text-decoration: none;
}

.hdp-footer-contact a:hover { text-decoration: underline; }

.hdp-footer-bottom {
  background: #1a1a1a;
  padding: 12px 0;
  text-align: center;
}

.hdp-footer-bottom p {
  color: #666;
  font-size: 12px;
}

/* ============================================================
   Se profil link in entity card footer
   ============================================================ */
.hdp-entity-card-profile {
  font-size: 12px;
  color: #b2438c;
  text-decoration: none;
  font-weight: 600;
  margin-left: auto;
}
.hdp-entity-card-profile:hover { text-decoration: underline; }

/* ============================================================
   Map
   ============================================================ */
.hdp-map-wrap {
  width: 100%;
  border-bottom: 3px solid #b2438c;
}
.hdp-map-wrap .leaflet-container {
  background: #f2f2f2;
}

/* Map tab strip — matches hdp-tab-strip style but uses buttons */
.hdp-map-tabs {
  background: #fff;
  border-bottom: 2px solid #e5e5e5;
  overflow-x: auto;
  display: flex;
  align-items: stretch;
  padding: 0 15px;
}
.hdp-map-tabs button {
  display: flex;
  align-items: center;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}
.hdp-map-tabs button:hover {
  color: #b2438c;
  border-bottom-color: #b2438c;
}
.hdp-map-tabs button.active {
  color: #b2438c;
  border-bottom-color: #b2438c;
}

/* ============================================================
   Entity Profile Page
   ============================================================ */
.hdp-type-badge {
  display: inline-block;
  background: #b2438c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.hdp-profile-hero {
  background: #232323;
  padding: 40px 0 36px;
  border-bottom: 4px solid #b2438c;
}

.hdp-profile-hero-inner {
  max-width: 720px;
}

.hdp-profile-name {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  font-family: "Gill Sans", "Gill Sans MT", Arial, sans-serif;
  line-height: 1.15;
}

.hdp-profile-tagline {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  line-height: 1.5;
}

.hdp-profile-location {
  font-size: 13px;
  color: #b2438c;
  font-weight: 600;
}

.hdp-profile-body {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding-top: 28px;
}

.hdp-profile-main {
  flex: 1;
  min-width: 0;
}

.hdp-profile-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.hdp-profile-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b2438c;
  border-bottom: 2px solid #e5e5e5;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.hdp-profile-about {
  background: #fff;
  border-top: 4px solid #b2438c;
  padding: 20px;
  margin-bottom: 20px;
}

.hdp-profile-about-text {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

.hdp-profile-offerings {
  background: #fff;
  border-top: 4px solid #b2438c;
  padding: 20px;
}

.hdp-profile-cat-section {
  margin-bottom: 20px;
}

.hdp-profile-cat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
}

.hdp-profile-offering {
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}
.hdp-profile-offering:last-child { border-bottom: none; }

.hdp-profile-offering-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.hdp-profile-offering-emoji {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.3;
}

.hdp-profile-offering-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.hdp-profile-offering-price {
  font-size: 12px;
  color: #b2438c;
  font-weight: 600;
  margin-top: 2px;
}

.hdp-profile-offering-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 6px;
}

.hdp-profile-offering-action { margin-top: 6px; }

/* Contact card (sidebar) */
.hdp-contact-card {
  background: #fff;
  border-top: 4px solid #b2438c;
  padding: 20px;
}

.hdp-contact-card-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b2438c;
  border-bottom: 2px solid #e5e5e5;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.hdp-contact-cta {
  display: block;
  background: #b2438c;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 16px;
  transition: background 0.15s;
}
.hdp-contact-cta:hover { background: #8f2f6e; text-decoration: none; color: #fff; }

.hdp-contact-item {
  margin-bottom: 12px;
}

.hdp-contact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #999;
  margin-bottom: 3px;
}

.hdp-contact-value {
  font-size: 13px;
  color: #005b9a;
  text-decoration: none;
  display: block;
}
.hdp-contact-value:hover { text-decoration: underline; }
.hdp-contact-value--plain { color: #333; }
.hdp-contact-value--plain:hover { text-decoration: none; }

/* ============================================================
   Hamburger toggle button
   ============================================================ */
.hdp-nav-toggle {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.hdp-nav-toggle:hover { border-color: #b2438c; }
.hdp-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
/* Animate to X when open */
.nav-open .hdp-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hdp-nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .hdp-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Inline type badge (inside card header)
   ============================================================ */
.hdp-type-badge--inline {
  display: inline-block;
  background: #b2438c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   Profile place-name links
   ============================================================ */
.hdp-profile-place-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
}
.hdp-profile-place-link:hover {
  text-decoration-color: #fff;
  color: #fff;
}
/* In contact sidebar, place links inherit sidebar link styles */
.hdp-contact-value .hdp-profile-place-link {
  color: #005b9a;
}
.hdp-contact-value .hdp-profile-place-link:hover {
  text-decoration: underline;
}

/* ============================================================
   Kommer snart page
   ============================================================ */
.hdp-kommer-snart {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.hdp-kommer-snart-inner { max-width: 560px; }
.hdp-kommer-snart-emoji { font-size: 56px; margin-bottom: 24px; }
.hdp-kommer-snart-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-family: "Gill Sans", "Gill Sans MT", Arial, sans-serif;
}
.hdp-kommer-snart-by {
  color: #b2438c;
}
.hdp-kommer-snart-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hdp-kommer-snart-activities {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hdp-kommer-snart-activity {
  font-size: 13px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hdp-kommer-snart-activity::before {
  content: '✓';
  color: #b2438c;
  font-weight: 700;
}
.hdp-kommer-snart-back {
  display: inline-block;
  background: #b2438c;
  color: #fff;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.hdp-kommer-snart-back:hover { background: #8f2f6e; text-decoration: none; color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  /* Hamburger visible on mobile */
  .hdp-nav-toggle { display: flex; }

  /* Header layout on mobile */
  .hdp-main-header .hdp-container { flex-wrap: nowrap; min-height: 56px; align-items: center; }
  .hdp-logo { padding: 0; flex: 1; }

  /* Sub-nav: wrap items onto multiple lines instead of horizontal scroll */
  .hdp-sub-nav { overflow: visible; height: auto; }
  .hdp-sub-nav-links { flex-wrap: wrap; white-space: normal; padding: 4px 0; }
  .hdp-sub-nav-links li + li::before { display: none; }
  .hdp-sub-nav-links a { height: auto; padding: 5px 10px; }
  .hdp-sub-nav-links li.active::after { display: none; }

  /* Hide "Hitta Din" label in mobile nav dropdown */
  .hdp-main-nav li a::before { display: none; }

  /* Main nav hidden by default; shown when .nav-open is on header */
  .hdp-main-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #1a1a1a;
    z-index: 500;
    border-top: 3px solid #b2438c;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .hdp-main-header.nav-open nav { display: block; }
  .hdp-main-nav { flex-direction: column; overflow: visible; width: 100%; }
  .hdp-main-nav li { width: 100%; }
  .hdp-main-nav li a {
    padding: 14px 20px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-left: none;
  }
  .hdp-main-nav li.active a {
    background: #b2438c;
    border-bottom-color: #b2438c;
  }
  .hdp-card { width: calc(50% - 14px); }
  .hdp-icon-card { width: calc(50% - 14px); }
  .hdp-area-card { width: calc(50% - 14px); }
  .hdp-entity-card { width: 100%; }
  .hdp-hero video, .hdp-hero img.hdp-hero-img, .hdp-hero-fallback { height: 280px; }
  .hdp-footer .hdp-container { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .hdp-footer-col { flex: 1 1 calc(50% - 12px); min-width: 0; }
  .hdp-footer-contact { flex: 1 1 100%; }
  .hdp-form-row { flex-direction: column; gap: 0; }
  .hdp-village-hero-name { font-size: 26px; }
  .hdp-profile-body { flex-direction: column; }
  .hdp-profile-sidebar { width: 100%; }
  .hdp-profile-name { font-size: 24px; }
}

@media (max-width: 480px) {
  .hdp-card { width: calc(100% - 14px); }
  .hdp-icon-card { width: calc(100% - 14px); }
  .hdp-area-card { width: calc(100% - 14px); }
  .hdp-page-title { font-size: 22px; }
}

/* ============================================================
   Form success screen
   ============================================================ */
.hdp-success-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  min-height: 40vh;
}

.hdp-success-inner { max-width: 520px; width: 100%; }

.hdp-success-icon {
  width: 72px;
  height: 72px;
  background: #b2438c;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.hdp-success-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.hdp-success-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hdp-success-back {
  display: inline-block;
  background: #b2438c;
  color: #fff;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}

/* ============================================================
   Social feed section (entity profiles + village pages)
   ============================================================ */
.hdp-profile-social {
  margin-top: 32px;
}

.hdp-fb-embed {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.hdp-fb-embed iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: none;
}

/* Placeholder feed (all entities except Koler IF) */
.hdp-social-placeholder {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  padding: 20px;
}

.hdp-social-post-skel {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #efefef;
}

.hdp-social-post-skel:last-of-type {
  border-bottom: none;
}

.hdp-skel-avatar {
  width: 36px;
  height: 36px;
  background: #e0e0e0;
  border-radius: 50%;
  flex-shrink: 0;
}

.hdp-skel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 4px;
}

.hdp-skel-line {
  height: 11px;
  background: #e4e4e4;
  border-radius: 3px;
  animation: hdp-skel-pulse 1.6s ease-in-out infinite;
}

@keyframes hdp-skel-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.hdp-social-placeholder-msg {
  font-size: 12px;
  color: #aaa;
  font-style: italic;
  text-align: center;
  padding: 10px 0 4px;
}

.hdp-social-follow-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hdp-social-follow-btn {
  display: inline-block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.hdp-social-follow-btn--fb  { background: #1877f2; }
.hdp-social-follow-btn--ig  { background: #c13584; }
.hdp-social-follow-btn--fb:hover { background: #0f5ec7; color: #fff; text-decoration: none; }
.hdp-social-follow-btn--ig:hover { background: #9a1a60; color: #fff; text-decoration: none; }

/* ============================================================
   Cycling route cards and badges
   ============================================================ */
.hdp-cycle-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  color: #fff;
  margin-bottom: 4px;
}
.hdp-cycle-badge--city { background: #b2438c; }
.hdp-cycle-badge--tour { background: #2d7d46; }
.hdp-cycle-badge--mtb  { background: #c47a00; }

.hdp-cycle-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin-bottom: 2px;
}

.hdp-cycle-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 10px;
  font-weight: 500;
}

.hdp-route-detail-highlights {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hdp-route-detail-highlights li {
  font-size: 14px;
  color: #333;
  padding: 6px 12px;
  background: #f7f7f7;
  border-left: 3px solid #b2438c;
}

.hdp-route-see-also {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}

.hdp-route-see-also-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.hdp-route-see-also-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f7f7f7;
  padding: 12px 16px;
  text-decoration: none;
  color: #1a1a1a;
  transition: background 0.15s;
}

.hdp-route-see-also-card:hover {
  background: #efefef;
  text-decoration: none;
  color: #1a1a1a;
}

.hdp-route-see-also-emoji {
  font-size: 22px;
  flex-shrink: 0;
}

.hdp-route-see-also-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.hdp-route-see-also-meta {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

/* ============================================================
   Map gesture hint (two-finger scroll)
   ============================================================ */
.hdp-map-gesture-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 1000;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}

.hdp-map-gesture-hint.hdp-map-hint--visible {
  opacity: 1;
}
.hdp-success-back:hover { background: #8f2f6e; text-decoration: none; color: #fff; }
