:root {
    --forest-900: #10261d;
    --forest-800: #1b4332;
    --forest-700: #245741;
    --forest-600: #2d6a4f;
    --sage-100: #eef3ef;
    --sage-200: #dce6df;
    --cream-50: #fbf9f5;
    --cream-100: #f3efe6;
    --amber-600: #c86d2d;
    --amber-500: #dd7e3a;
    --text-main: #1b241f;
    --text-muted: #52635a;
    --border-light: #e2e7e3;
    --shadow-sm: 0 2px 10px rgba(16, 38, 29, 0.06);
    --shadow-md: 0 10px 30px rgba(16, 38, 29, 0.09);
    --shadow-lg: 0 18px 45px rgba(16, 38, 29, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif-heading {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.22;
    color: var(--forest-900);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(251, 249, 245, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 38, 29, 0.12);
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.brand-logo:hover .brand-mark {
    transform: translateY(-1px) scale(1.03);
}

.brand-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.brand-text strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.32rem;
    color: var(--forest-900);
    letter-spacing: -0.02em;
}

.brand-text span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--sage-100);
    color: var(--forest-800);
}

.nav-cta {
    margin-left: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--forest-800);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--forest-700);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: #fff;
    padding: 9px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--forest-900);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* Dedicated SEO Place Landing View */
.place-seo-section {
    padding: 28px 0 36px;
    background: var(--cream-100);
    border-bottom: 1px solid var(--border-light);
}

.seo-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.seo-breadcrumbs a {
    color: var(--forest-800);
    font-weight: 600;
}

.seo-breadcrumbs a:hover {
    text-decoration: underline;
}

.place-seo-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 440px 1fr;
}

.place-seo-media {
    position: relative;
    background: var(--forest-900);
    display: flex;
    flex-direction: column;
}

.place-seo-media img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    flex: 1;
}

.image-credit-bar {
    background: rgba(16, 38, 29, 0.92);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 14px;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.image-credit-bar a {
    color: #f4c97e;
    font-weight: 600;
    text-decoration: underline;
}

.place-seo-body {
    padding: 28px 32px;
}

.place-seo-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.place-seo-body h1 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    margin-bottom: 12px;
}

.place-seo-lead {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.related-seo-strip {
    margin-top: 20px;
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.related-seo-strip h3 {
    font-size: 0.98rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.related-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-seo-links a {
    font-size: 0.82rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--sage-100);
    color: var(--forest-800);
    font-weight: 600;
}

.related-seo-links a:hover {
    background: var(--forest-800);
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 64px 0 56px;
    background:
        linear-gradient(180deg, rgba(16, 38, 29, 0.72) 0%, rgba(16, 38, 29, 0.86) 100%),
        url('../images/hero-kronoberg.jpg') center/cover no-repeat;
    color: #fff;
}

.hero-photo-credit {
    position: absolute;
    right: 12px;
    bottom: 6px;
    margin: 0;
    max-width: calc(100% - 24px);
    font-size: 11px;
    line-height: 1.3;
    text-align: right;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.hero-photo-credit a {
    color: inherit;
    text-decoration: none;
    pointer-events: auto;
}

.hero-photo-credit a:hover,
.hero-photo-credit a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.hero-content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    margin-bottom: 16px;
}

.hero h1 em {
    font-style: italic;
    color: #f4c97e;
}

.hero-lead {
    font-size: clamp(0.98rem, 1.6vw, 1.18rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 740px;
    margin: 0 auto 28px;
}

/* Search Bar inside Hero */
.hero-search-card {
    background: #fff;
    color: var(--text-main);
    padding: 14px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 10px;
    align-items: center;
    text-align: left;
}

.search-field {
    padding: 6px 12px;
    border-right: 1px solid var(--border-light);
    min-width: 0;
}

.search-field:last-of-type {
    border-right: none;
}

.search-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.search-field input,
.search-field select {
    width: 100%;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    outline: none;
    text-overflow: ellipsis;
}

.hero-search-btn {
    padding: 15px 24px;
    border: none;
    border-radius: 14px;
    background: var(--amber-600);
    color: #fff;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: var(--amber-500);
    transform: translateY(-1px);
}

.hero-quick-links {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
}

.hero-quick-links span {
    color: rgba(255, 255, 255, 0.75);
}

.quick-chip {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-chip:hover {
    background: #fff;
    color: var(--forest-900);
}

/* Section Headers */
.section {
    padding: 64px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--amber-600);
    margin-bottom: 6px;
}

.section-header h2 {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.section-header p {
    color: var(--text-muted);
    max-width: 620px;
    margin-top: 6px;
}

/* 8 Municipalities Grid */
.kommun-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.kommun-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.kommun-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.kommun-card-img {
    position: relative;
    height: 175px;
    overflow: hidden;
}

.kommun-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kommun-card:hover .kommun-card-img img {
    transform: scale(1.05);
}

.kommun-count-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(16, 38, 29, 0.85);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
}

.kommun-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.kommun-card-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 8px;
}

.kommun-card-title h3 {
    font-size: 1.3rem;
}

.kommun-pop {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.kommun-tagline {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    flex: 1;
}

.kommun-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 14px;
}

.kommun-highlights span {
    font-size: 0.72rem;
    background: var(--sage-100);
    color: var(--forest-800);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.kommun-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.kommun-mini-btn {
    border: 1px solid var(--border-light);
    background: var(--cream-50);
    color: var(--forest-800);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 6px 4px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.kommun-mini-btn:hover {
    background: var(--forest-800);
    color: #fff;
    border-color: var(--forest-800);
}

/* Explorer / Directory Section */
.explorer-section {
    background: var(--cream-100);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 64px 0;
}

.filter-panel {
    background: #fff;
    padding: 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 26px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    min-width: 90px;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    flex: 1;
}

.filter-pill {
    border: 1px solid var(--border-light);
    background: var(--cream-50);
    color: var(--text-main);
    padding: 7px 14px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-pill:hover {
    border-color: var(--forest-600);
    background: var(--sage-100);
}

.filter-pill.active {
    background: var(--forest-800);
    color: #fff;
    border-color: var(--forest-800);
}

.filter-pill .count {
    font-size: 0.72rem;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.08);
    padding: 1px 6px;
    border-radius: 999px;
}

.filter-pill.active .count {
    background: rgba(255, 255, 255, 0.22);
}

.subcat-row {
    display: none;
    padding-top: 12px;
    border-top: 1px dashed var(--border-light);
}

.subcat-row.active {
    display: flex;
}

.subcat-pill {
    font-size: 0.8rem;
    padding: 5px 12px;
}

.load-more-wrap {
    margin-top: 28px;
    text-align: center;
}

.load-more-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 14px 28px;
}

.filter-controls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.inline-search {
    position: relative;
    flex: 1;
    min-width: 240px;
}

.inline-search input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--cream-50);
}

.inline-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.sort-and-reset {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sort-select {
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: #fff;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 500;
}

.reset-btn {
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
}

.reset-btn:hover {
    color: var(--forest-900);
    border-color: var(--forest-800);
}

/* Selected Municipality Spotlight Banner */
.kommun-spotlight {
    display: none;
    background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
    color: #fff;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.kommun-spotlight.active {
    display: flex;
}

.kommun-spotlight h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.kommun-spotlight p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 780px;
    font-size: 0.94rem;
}

.spotlight-reset-btn {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

.spotlight-reset-btn:hover {
    background: #fff;
    color: var(--forest-900);
}

/* Results Count Bar */
.results-Meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.results-Meta strong {
    color: var(--forest-900);
}

/* Places Grid */
.places-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.place-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
}

.place-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.place-card-media {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: var(--sage-100);
}

.place-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.place-card:hover .place-card-media img {
    transform: scale(1.04);
}

.place-badges-top {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.badge-kommun {
    background: rgba(16, 38, 29, 0.88);
    color: #fff;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.place-cat-pill {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--forest-800);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 700;
}

.card-img-source {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(16, 38, 29, 0.78);
    color: rgba(255, 255, 255, 0.92);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: background 0.15s ease;
}

.card-img-source:hover {
    background: var(--amber-600);
    color: #fff;
}

.place-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.place-subcat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    color: var(--amber-600);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.place-price {
    color: var(--text-muted);
    font-weight: 600;
}

.place-card h3 {
    font-size: 1.22rem;
    margin-bottom: 8px;
}

.place-card-link:hover {
    color: var(--amber-600);
}

.place-desc {
    font-size: 0.89rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    flex: 1;
}

.place-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 14px;
}

.place-tags span {
    font-size: 0.72rem;
    background: var(--cream-100);
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.place-card-footer {
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    gap: 8px;
}

.place-address {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
}

.place-more-btn {
    color: var(--forest-800);
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
}

/* Interactive Map Section */
.map-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 20px;
    background: #fff;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.map-sidebar {
    display: flex;
    flex-direction: column;
    height: 520px;
}

.map-sidebar-header {
    padding: 8px 8px 14px;
    border-bottom: 1px solid var(--border-light);
}

.map-sidebar-header h3 {
    font-size: 1.15rem;
}

.map-sidebar-list {
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-list-item {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: var(--cream-50);
    cursor: pointer;
    transition: all 0.15s ease;
}

.map-list-item:hover {
    border-color: var(--forest-600);
    background: var(--sage-100);
}

.map-list-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.map-list-meta {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

#kronoberg-map {
    width: 100%;
    height: 520px;
    border-radius: var(--radius-md);
    z-index: 1;
}

/* Curated Guides Section */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.guide-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.guide-card img {
    height: 210px;
    width: 100%;
    object-fit: cover;
}

.guide-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.guide-tag {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--amber-600);
    margin-bottom: 6px;
}

.guide-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.guide-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex: 1;
}

.guide-card-btn {
    align-self: flex-start;
    padding: 9px 16px;
    border-radius: 10px;
    background: var(--sage-100);
    color: var(--forest-800);
    font-weight: 700;
    font-size: 0.84rem;
    border: none;
    cursor: pointer;
}

.guide-card-btn:hover {
    background: var(--forest-800);
    color: #fff;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(16, 38, 29, 0.65);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-dialog {
    background: #fff;
    width: 100%;
    max-width: 720px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-hero {
    position: relative;
    height: 270px;
}

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

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(16, 38, 29, 0.8);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-img-source {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(16, 38, 29, 0.85);
    color: #f4c97e;
    padding: 5px 11px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.modal-body {
    padding: 24px 28px 28px;
}

.modal-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.modal-body h2 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.modal-desc {
    color: var(--text-main);
    font-size: 0.96rem;
    margin-bottom: 20px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: var(--cream-50);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.modal-info-item strong {
    display: block;
    font-size: 0.73rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.modal-info-item span,
.modal-info-item a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest-900);
    word-break: break-word;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--forest-800);
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
}

.btn-primary:hover {
    background: var(--forest-700);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--sage-100);
    color: var(--forest-800);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Footer */
.site-footer {
    background: var(--forest-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 42px;
}

.footer-grid h4 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: #f4c97e;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.empty-state {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 48px 24px;
    text-align: center;
    border: 1px dashed var(--border-light);
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
    .kommun-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .places-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .place-seo-card {
        grid-template-columns: 1fr;
    }
    .place-seo-media img {
        max-height: 300px;
    }
}

@media (max-width: 960px) {
    .mobile-menu-btn {
        display: flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 22px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
        gap: 6px;
    }
    .main-nav.open {
        display: flex;
    }
    .nav-link {
        padding: 11px 14px;
        border-radius: 10px;
        font-size: 0.96rem;
    }
    .nav-cta {
        margin-left: 0;
        margin-top: 6px;
        text-align: center;
        padding: 12px 16px;
    }
    .hero-search-card {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 8px 10px;
    }
    .map-layout {
        grid-template-columns: 1fr;
    }
    .map-sidebar {
        height: 260px;
    }
    #kronoberg-map {
        height: 380px;
    }
    .guides-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    .nav-inner {
        height: 66px;
    }
    .main-nav {
        top: 66px;
    }
    .brand-mark {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    .brand-text strong {
        font-size: 1.12rem;
    }
    .brand-text span {
        font-size: 0.65rem;
    }
    .hero {
        padding: 36px 0 36px;
    }
    .hero h1 {
        font-size: 1.85rem;
    }
    .hero-lead {
        font-size: 0.94rem;
        margin-bottom: 20px;
    }
    .section,
    .explorer-section {
        padding: 40px 0;
    }
    .kommun-grid,
    .places-grid,
    .footer-grid,
    .modal-info-grid {
        grid-template-columns: 1fr;
    }
    .filter-panel {
        padding: 14px;
    }
    .filter-label {
        min-width: 100%;
        margin-bottom: 2px;
    }
    .pill-group {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    .filter-pill {
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .inline-search {
        min-width: 100%;
    }
    .sort-and-reset {
        width: 100%;
    }
    .sort-select,
    .reset-btn {
        width: 100%;
    }
    .kommun-spotlight {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }
    .place-seo-body,
    .modal-body {
        padding: 18px 16px 22px;
    }
    .modal-actions {
        flex-direction: column;
    }
    .modal-actions a,
    .modal-actions button {
        width: 100%;
    }
}

/* Leaflet Map Fixes & Custom Category Pins */
/* Kategori-nål (översiktskartan + platssidor). Klass i stället för inline-stil per nål. */
.vk-pin {
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}
.vk-pin span {
    transform: rotate(45deg);
    font-size: 14px;
    line-height: 1;
}
#kronoberg-map .leaflet-tooltip {
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1b4332;
    padding: 4px 8px;
    border-radius: 8px;
}

.leaflet-container img {
    max-width: none !important;
    max-height: none !important;
    display: inline !important;
}

.vk-div-icon {
    background: transparent !important;
    border: none !important;
}

.vk-pin-wrap {
    position: relative;
    width: 34px;
    height: 42px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    filter: drop-shadow(0 3px 6px rgba(16, 38, 29, 0.35));
    transition: transform 0.15s ease;
}

.vk-pin-wrap:hover {
    transform: scale(1.13) translateY(-2px);
    z-index: 999 !important;
}

.vk-pin-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #ffffff;
    background: #1b4332;
}

.vk-pin-bubble span {
    transform: rotate(45deg);
    font-size: 15px;
    line-height: 1;
    display: block;
}

.vk-pin-restauranger .vk-pin-bubble {
    background: #c86d2d;
}
.vk-pin-boenden .vk-pin-bubble {
    background: #1b4332;
}
.vk-pin-sevardheter .vk-pin-bubble {
    background: #2b5876;
}
.vk-pin-natur .vk-pin-bubble {
    background: #2d6a4f;
}
.vk-pin-shopping .vk-pin-bubble {
    background: #8a3b5c;
}

.map-legend-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    align-items: center;
}

.map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.map-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* Admin Floating Shortcut Bar & Quick Edit Buttons */
.vk-admin-floating-bar {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 2500;
    background: #10261d;
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(244, 201, 126, 0.4);
}

.vk-admin-floating-bar a {
    background: #f4c97e;
    color: #10261d;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.78rem;
}

.vk-card-admin-edit {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 4;
    background: rgba(16, 38, 29, 0.9);
    color: #f4c97e !important;
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid rgba(244, 201, 126, 0.45);
}
.vk-card-admin-edit:hover {
    background: #f4c97e;
    color: #10261d !important;
}

/* =========================================================================
   CLEAN & MINIMAL HOMEPAGE REDESIGN + SINGLE-LINE SEARCH (v9)
   ========================================================================= */
:root {
    --forest: #1b4332;
    --forest-light: #2d6a4f;
    --forest-dark: #10261d;
    --amber: #c86d2d;
    --border: #dce4de;
}

.hero {
    padding: 56px 0 64px;
}

.hero h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    margin-bottom: 8px;
}

.hero-lead {
    font-size: 1.04rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    margin: 0 auto 24px;
}

/* Single-Line Pill Search Bar (Always 1 row on both desktop & mobile) */
.hero-search-pill {
    max-width: 680px;
    margin: 0 auto 14px;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px 6px 6px 18px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    height: 56px;
    box-shadow: 0 14px 36px rgba(8, 22, 16, 0.32);
    border: 2px solid rgba(255, 255, 255, 0.95);
}

.hero-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #52635a;
    flex-shrink: 0;
}

.hero-search-pill input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    color: #1b241f;
    background: transparent;
    padding: 6px 4px;
    height: 40px;
    line-height: 1.2;
}

.hero-search-pill input::placeholder {
    color: #6c7d73;
}

.hero-search-btn {
    background: #1b4332;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    height: 44px;
    padding: 0 26px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, transform 0.15s ease;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: #2d6a4f;
}

/* Quick Filter Bar under Search (Kommun + Kategori + Filtrera button) */
.hero-filter-row {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(16, 38, 29, 0.68);
    backdrop-filter: blur(8px);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-filter-select {
    flex: 1 1 0;
    min-width: 0;
    height: 42px;
    padding: 0 32px 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background-color: rgba(255, 255, 255, 0.96);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231b241f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #1b241f;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;

}

.hero-filter-select:focus {
    outline: none;
    border-color: #f4c97e;
    background-color: #ffffff;
}

.hero-filter-btn {
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    border: none;
    background: #c86d2d;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background 0.18s ease;
}

.hero-filter-btn:hover {
    background: #dd7e3a;
}

.section-header-clean {
    margin-bottom: 22px;
}

.section-header-clean h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
    color: #10261d;
    margin: 0;
}

/* Clean Municipality Cards (fixed badge height!) */
.kommun-card-img {
    height: 155px;
    position: relative;
    overflow: hidden;
}

.kommun-count-badge {
    position: absolute;
    top: 12px;
    bottom: auto !important;
    right: 12px;
    height: auto !important;
    z-index: 2;
    background: rgba(16, 38, 29, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 5px 11px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    display: inline-block;
}

.kommun-card-body {
    padding: 15px 18px 17px;
}

.kommun-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.kommun-card-title h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.22rem;
    color: #10261d;
    margin: 0;
}

.kommun-card-title h3 a {
    color: inherit;
    text-decoration: none;
}

.kommun-arrow {
    color: #c86d2d;
    font-weight: 700;
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}

.kommun-card:hover .kommun-arrow {
    transform: translateX(4px);
}

.kommun-tagline {
    font-size: 0.84rem;
    color: #52635a;
    margin: 0;
    line-height: 1.4;
}

/* Single Clean Filter Toolbar */
.clean-toolbar {
    background: #ffffff;
    border: 1px solid #dce4de;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    box-shadow: 0 4px 16px rgba(16, 38, 29, 0.05);
}

.clean-cat-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.clean-tab {
    background: #f3f6f4;
    border: 1px solid #dce4de;
    color: #1b241f;
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.16s ease;
}

.clean-tab:hover {
    background: #e6ede9;
}

.clean-tab.active {
    background: #1b4332;
    border-color: #1b4332;
    color: #ffffff;
}

.clean-toolbar-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.clean-select {
    padding: 9px 34px 9px 13px;
    border-radius: 10px;
    border: 1px solid #dce4de;
    background-color: #fafbfa;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231b241f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 12px 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 0.88rem;
    font-family: inherit;
    font-weight: 500;
    color: #1b241f;
    cursor: pointer;
}

.clean-search-box {
    min-width: 210px;
    flex: 0 1 250px;
}

.clean-search-box input {
    width: 100%;
    padding: 9px 13px;
    border-radius: 10px;
    border: 1px solid #dce4de;
    background: #fafbfa;
    font-size: 0.88rem;
    font-family: inherit;
    color: #1b241f;
}

.clean-search-box input:focus,
.clean-select:focus {
    outline: none;
    border-color: #1b4332;
    background-color: #ffffff;
}

.clean-reset-btn {
    background: #fce8e6;
    color: #b42318;
    border: none;
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.clean-reset-btn:hover {
    background: #f9d2ce;
}

/* Streamlined Spotlight Banner */
.spotlight-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.spotlight-inner h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    margin: 0 0 4px;
}

.spotlight-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    max-width: 680px;
}

.spotlight-close-btn {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.spotlight-close-btn:hover {
    background: rgba(255, 255, 255, 0.26);
}

/* Cleaner Place Cards */
.place-card {
    cursor: pointer;
}

.place-card-media {
    height: 185px;
}

.place-card-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.place-card-body {
    padding: 16px 18px 18px;
}

.place-subcat-row {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #c86d2d;
    margin-bottom: 4px;
}

.place-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.place-desc {
    font-size: 0.88rem;
    color: #52635a;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dedicated Single Place Map Card */
.single-place-map-card {
    margin-top: 22px;
    background: #ffffff;
    border: 1px solid #dce4de;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(16, 38, 29, 0.06);
}

.single-place-map-header {
    padding: 14px 20px;
    border-bottom: 1px solid #dce4de;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.single-place-map-header h3 {
    font-size: 1.05rem;
    margin: 0;
    color: #10261d;
}

.single-place-map-header span {
    font-size: 0.86rem;
    color: #52635a;
}

.load-more-wrap {
    text-align: center;
    margin-top: 28px;
}

.load-more-btn {
    background: #ffffff;
    color: #10261d;
    border: 1.5px solid #1b4332;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.18s ease;
}

.load-more-btn:hover {
    background: #1b4332;
    color: #ffffff;
}

@media (max-width: 640px) {
    .hero {
        padding: 36px 0 42px;
    }
    .hero-search-pill {
        height: 50px;
        padding: 4px 5px 4px 14px;
        border-radius: 999px;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .hero-search-icon {
        display: flex;
    }
    .hero-search-pill input {
        font-size: 0.93rem;
        padding: 4px 2px;
    }
    .hero-search-btn {
        height: 40px;
        padding: 0 18px;
        font-size: 0.9rem;
        border-radius: 999px;
        width: auto;
    }
    .hero-filter-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
        border-radius: 14px;
    }
    .hero-filter-select {
        width: 100%;
        height: 42px;
        font-size: 0.9rem;
        padding: 0 34px 0 12px;
        background-position: right 12px center;
        background-size: 12px 12px;
    }
    .hero-filter-btn {
        grid-column: 1 / -1;
        width: 100%;
        height: 42px;
        font-size: 0.92rem;
    }
    .clean-toolbar {
        padding: 12px;
    }
    .clean-cat-tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }
    .clean-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .clean-toolbar-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .clean-select,
    .clean-search-box,
    .clean-reset-btn {
        width: 100%;
        flex: none;
    }
}

/* Spam-protected Contact & Report Links */
.place-report-note {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #dce4de;
    font-size: 0.85rem;
    color: #52635a;
}

.place-report-note a {
    color: #1b4332;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.place-report-note a:hover {
    color: #c86d2d;
}

.vk-footer-mail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f4c97e !important;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
}

.vk-footer-mail-btn:hover {
    background: rgba(244, 201, 126, 0.18);
    border-color: #f4c97e;
    color: #ffffff !important;
}

/* GDPR Cookie Consent Banner */
.vk-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3000;
    max-width: 980px;
    margin: 0 auto;
    background: #10261d;
    color: #ffffff;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 18px 48px rgba(8, 22, 16, 0.45);
    border: 1px solid rgba(244, 201, 126, 0.35);
}

.vk-cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vk-cookie-text strong {
    display: block;
    font-size: 0.98rem;
    color: #f4c97e;
    margin-bottom: 4px;
}

.vk-cookie-text p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.vk-cookie-text a {
    color: #f4c97e;
    text-decoration: underline;
    font-weight: 600;
}

.vk-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.vk-cookie-btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.16s ease;
}

.vk-cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.vk-cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
}

.vk-cookie-btn-primary {
    background: #f4c97e;
    color: #10261d;
    border: 1px solid #f4c97e;
}

.vk-cookie-btn-primary:hover {
    background: #ffd996;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: underline;
}

.footer-bottom-link:hover {
    color: #f4c97e;
}

@media (max-width: 720px) {
    .vk-cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px;
    }
    .vk-cookie-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .vk-cookie-actions {
        width: 100%;
    }
    .vk-cookie-btn {
        flex: 1;
        text-align: center;
        padding: 11px 12px;
    }
}

/* =========================================================================
   UPPTÄCK – ARTICLES, GUIDES, INLINE TAGGED PLACES & ROUTE MAP (v15)
   ========================================================================= */
.nav-link-active {
    background: #eef4f0;
    color: #1b4332 !important;
    font-weight: 700 !important;
}

.upptack-eyebrow-pill {
    display: inline-block;
    background: #e7f1ec;
    color: #1b4332;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.upptack-hero-pill {
    display: inline-block;
    background: rgba(244, 201, 126, 0.2);
    border: 1px solid rgba(244, 201, 126, 0.45);
    color: #f4c97e;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.upptack-home-section {
    background: #f5f3ed;
    border-top: 1px solid #e4e1d8;
    border-bottom: 1px solid #e4e1d8;
}

.upptack-home-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.upptack-home-header h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.7rem, 2.7vw, 2.2rem);
    color: #10261d;
    margin: 0 0 6px;
}

.upptack-home-header p {
    color: #52635a;
    font-size: 0.96rem;
    margin: 0;
    max-width: 600px;
}

.upptack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.upptack-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #dce4de;
    box-shadow: 0 6px 20px rgba(16, 38, 29, 0.06);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.upptack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(16, 38, 29, 0.12);
    border-color: #b7cbbe;
}

.upptack-card-media {
    position: relative;
    height: 215px;
    display: block;
    overflow: hidden;
    background: #10261d;
}

.upptack-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.upptack-card:hover .upptack-card-media img {
    transform: scale(1.04);
}

.upptack-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.upptack-badge-cat {
    background: #c86d2d;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 11px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.upptack-badge-mun {
    background: rgba(16, 38, 29, 0.88);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.upptack-badge-draft {
    background: #f59e0b;
    color: #10261d;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
}

.upptack-card-place-count {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(16, 38, 29, 0.88);
    color: #f4c97e;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.upptack-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.upptack-card-body h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.28rem;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #10261d;
}

.upptack-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.upptack-card:hover .upptack-card-body h3 a {
    color: #c86d2d;
}

.upptack-card-body p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #52635a;
    margin: 0 0 14px;
    flex: 1;
}

.upptack-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.upptack-card-tags span {
    background: #f2f6f3;
    border: 1px solid #dce4de;
    color: #1b4332;
    font-size: 0.73rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 8px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upptack-card-footer {
    padding-top: 14px;
    border-top: 1px solid #e6ece8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #52635a;
    gap: 10px;
}

.upptack-read-btn {
    color: #1b4332;
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    white-space: nowrap;
}

.upptack-card:hover .upptack-read-btn {
    color: #c86d2d;
}

.upptack-admin-edit-pill {
    background: #f4c97e;
    color: #10261d !important;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 7px;
    text-decoration: none;
}

/* Single Upptäck Article Page */
.upptack-article-section {
    padding: 32px 0 64px;
}

.upptack-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.upptack-article-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #dce4de;
    box-shadow: 0 10px 32px rgba(16, 38, 29, 0.07);
}

.upptack-article-hero {
    position: relative;
    height: 390px;
    background: #10261d;
}

.upptack-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upptack-hero-badges {
    position: absolute;
    top: 18px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.upptack-article-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 34px 36px 42px;
}

.upptack-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #52635a;
    font-weight: 500;
    margin-bottom: 12px;
}

.upptack-meta-places-link {
    color: #1b4332;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.upptack-article-inner h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    line-height: 1.2;
    color: #10261d;
    margin: 0 0 16px;
}

.upptack-article-lead {
    font-size: 1.14rem;
    line-height: 1.65;
    color: #26352d;
    font-weight: 500;
    margin: 0 0 24px;
}

.upptack-tagged-bar {
    background: #f3f7f4;
    border: 1px solid #d4e2d9;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 28px;
}

.upptack-tagged-bar-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1b4332;
    margin-bottom: 10px;
}

.upptack-tagged-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.upptack-tagged-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1px solid #c9d9cf;
    border-radius: 999px;
    padding: 5px 12px 5px 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #10261d;
    text-decoration: none;
    transition: all 0.16s ease;
}

.upptack-tagged-chip:hover {
    background: #1b4332;
    border-color: #1b4332;
    color: #ffffff;
}

.upptack-chip-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1b4332;
    color: #f4c97e;
    font-size: 0.73rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.upptack-tagged-chip:hover .upptack-chip-num {
    background: #f4c97e;
    color: #10261d;
}

.upptack-article-body {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #1f2d25;
}

.upptack-article-body h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.55rem;
    color: #10261d;
    margin: 32px 0 12px;
    line-height: 1.3;
}

.upptack-article-body h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.25rem;
    color: #10261d;
    margin: 26px 0 10px;
}

.upptack-article-body p {
    margin: 0 0 18px;
}

.upptack-article-body a {
    color: #1b4332;
    font-weight: 600;
    text-decoration: underline;
}

.upptack-list {
    margin: 0 0 22px;
    padding-left: 22px;
}

.upptack-list li {
    margin-bottom: 8px;
}

/* Inline Place Card inside Article Text */
.upptack-inline-place {
    margin: 24px 0;
    background: #faf9f5;
    border: 1.5px solid #d5e1d9;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px 1fr;
    box-shadow: 0 4px 16px rgba(16, 38, 29, 0.06);
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.upptack-inline-place:hover {
    border-color: #1b4332;
    box-shadow: 0 8px 24px rgba(16, 38, 29, 0.11);
}

.upptack-inline-place-img {
    display: block;
    height: 100%;
    min-height: 165px;
    background: #10261d;
}

.upptack-inline-place-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upptack-inline-place-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upptack-inline-place-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.upptack-inline-subcat {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #c86d2d;
}

.upptack-inline-place-body h4 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
    margin: 0 0 6px;
    color: #10261d;
}

.upptack-inline-place-body h4 a {
    color: inherit;
    text-decoration: none;
}

.upptack-inline-place-body p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #52635a;
    margin: 0 0 12px;
}

.upptack-inline-place-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    color: #52635a;
    padding-top: 10px;
    border-top: 1px solid #e4ebe6;
}

.upptack-inline-place-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upptack-inline-map-link {
    font-size: 0.8rem;
    color: #52635a !important;
    text-decoration: none !important;
    font-weight: 600;
}

.upptack-inline-more-link {
    font-size: 0.84rem;
    color: #1b4332 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Tagged Places Section & Route Map under Article */
.upptack-places-section {
    margin-top: 38px;
    padding-top: 32px;
    border-top: 2px solid #dce4de;
}

.upptack-places-header {
    margin-bottom: 18px;
}

.upptack-places-header h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.55rem, 2.5vw, 2.05rem);
    color: #10261d;
    margin: 0 0 6px;
}

.upptack-places-header p {
    color: #52635a;
    font-size: 0.94rem;
    margin: 0;
}

.upptack-map-card {
    background: #ffffff;
    border: 1px solid #dce4de;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 6px 22px rgba(16, 38, 29, 0.06);
}

#upptack-post-map {
    width: 100%;
    height: 410px;
    border-radius: 12px;
}

.upptack-card-num-badge {
    background: #c86d2d;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.upptack-more-strip {
    margin-top: 48px;
    padding-top: 34px;
    border-top: 1px solid #dce4de;
}

/* Two-Way Linking Box on Single Place Pages */
.place-upptack-mentions {
    margin-top: 18px;
    background: #f2f7f4;
    border: 1px solid #c7dcd0;
    border-radius: 14px;
    padding: 14px 16px;
}

.place-upptack-mentions-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1b4332;
    margin-bottom: 8px;
}

.place-upptack-mentions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.place-upptack-mention-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #d5e3db;
    border-radius: 10px;
    padding: 9px 12px;
    text-decoration: none;
    color: #10261d;
    font-size: 0.88rem;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.place-upptack-mention-item:hover {
    border-color: #1b4332;
    background: #eef5f0;
}

.place-upptack-mention-cat {
    background: #c86d2d;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

@media (max-width: 1024px) {
    .upptack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .upptack-grid {
        grid-template-columns: 1fr;
    }
    .upptack-article-hero {
        height: 240px;
    }
    .upptack-article-inner {
        padding: 22px 18px 28px;
    }
    .upptack-inline-place {
        grid-template-columns: 1fr;
    }
    .upptack-inline-place-img {
        height: 180px;
    }
    #upptack-post-map {
        height: 320px;
    }
}

/* ===================== Partnerprogrammet ===================== */
.badge-partner {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #f6d27a, #e0a93b);
    color: #3d2a00;
    padding: 4px 11px 4px 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(120, 80, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}
.badge-partner-icon { flex-shrink: 0; color: #fff4d6; }
/* Utvalda (partner) kort: guldram och mjuk glöd */
.place-card.is-partner {
    border: 2px solid #e0a93b;
    box-shadow: 0 0 0 4px rgba(224, 169, 59, 0.16), 0 10px 26px rgba(120, 80, 0, 0.14);
    background: linear-gradient(180deg, #fffdf6, #fff 40%);
}
.place-card.is-partner:hover { box-shadow: 0 0 0 4px rgba(224, 169, 59, 0.26), 0 14px 32px rgba(120, 80, 0, 0.18); }
/* Platssidan */
.place-seo-badges .badge-partner { font-size: 0.8rem; padding: 5px 13px 5px 9px; }
.place-seo-body:has(.badge-partner-page) { border-top: 4px solid #e0a93b; }
.partner-page { padding: 40px 0 64px; background: var(--cream-50); }
.partner-container { max-width: 1040px; }
.partner-hero { margin-bottom: 22px; }
.partner-hero h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 6px 0 8px; overflow-wrap: anywhere; }
.partner-lead { color: #52635a; font-size: 1.02rem; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.partner-card {
    background: #fff; border: 1px solid var(--border-light); border-radius: 16px;
    padding: 24px; box-shadow: 0 4px 16px rgba(16, 38, 29, 0.05); min-width: 0;
}
.partner-card h2 { font-size: 1.15rem; margin-bottom: 12px; }
.partner-narrow { max-width: 520px; margin: 0 auto; }
.partner-narrow h1 { font-size: 1.5rem; margin-bottom: 10px; }
.partner-benefits, .partner-steps { padding-left: 20px; display: grid; gap: 10px; color: #33463c; }
.partner-muted { color: #5a6d62; font-size: 0.9rem; margin-top: 12px; }
.partner-price { margin-top: 16px; padding: 12px 14px; background: #f3f6f4; border-radius: 12px; }
.partner-place { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.partner-place img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.partner-place div { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 0.9rem; }
.partner-place span { color: #5a6d62; }
.partner-form { display: grid; gap: 14px; }
.partner-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; color: #1b4332; }
.partner-form small { font-weight: 400; color: #5a6d62; }
.partner-form input[type=text], .partner-form input[type=email], .partner-form input[type=url],
.partner-form input[type=tel], .partner-form textarea {
    width: 100%; padding: 11px 13px; border: 1px solid #cfdad3; border-radius: 10px;
    font: inherit; font-weight: 400; background: #fbfdfc; color: #10261d;
}
.partner-form textarea { resize: vertical; }
.partner-form .partner-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.partner-check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.partner-error { color: #9b2c2c; background: #fdecec; padding: 10px 12px; border-radius: 10px; font-size: 0.9rem; }
.partner-success { color: #1b4332; background: #e8f3ec; padding: 12px 14px; border-radius: 10px; }
.partner-notice { background: #fff7e6; color: #5c4510; padding: 10px 12px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 14px; }
.partner-pay-wrap { margin-top: 18px; }
#paypal-buttons { margin-top: 10px; min-height: 48px; }
#paypal-buttons.is-disabled { opacity: 0.45; }
.partner-mock-btn { width: 100%; border: 0; cursor: pointer; }
.partner-draft { display: inline-block; background: #fff1d6; color: #7a5200; font-weight: 700; font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.partner-terms h1 { font-size: 1.6rem; margin-bottom: 14px; }
.partner-terms h2 { font-size: 1.02rem; margin: 18px 0 6px; }
.partner-terms p { color: #33463c; }
.partner-link-btn { background: none; border: 0; color: #1b4332; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
@media (max-width: 760px) {
    .partner-grid { grid-template-columns: 1fr; }
    .partner-card { padding: 18px; }
    .partner-page { padding: 24px 0 48px; }
}

/* Partnergalleri på platssidan (scroll-snap, ingen horisontell sidscroll) */
.partner-gallery { margin: 18px 0 6px; max-width: 100%; }
.partner-gallery-track {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 6px; overscroll-behavior-x: contain;
}
.partner-gallery-item { flex: 0 0 82%; max-width: 520px; scroll-snap-align: start; border-radius: 14px; overflow: hidden; background: #eef1ef; }
.partner-gallery-track:has(.partner-gallery-item:only-child) .partner-gallery-item { flex-basis: 100%; }
.partner-gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.partner-gallery-credit { font-size: 0.8rem; color: #5a6d62; margin-top: 4px; }
@media (min-width: 900px) { .partner-gallery-item { flex-basis: 48%; } }
/* Partnerkonto: bildhantering */
.partner-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 12px 0; }
.partner-media-item { border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; background: #fbfdfc; min-width: 0; }
.partner-media-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.partner-media-item:first-child { border: 2px solid #e0a93b; }
.partner-media-status { display: block; font-size: 0.74rem; font-weight: 700; padding: 6px 8px 0; color: #7a5200; }
.partner-media-status.is-ok { color: #1b4332; }
.partner-media-actions { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 8px 8px; }
.partner-media-actions button { border: 1px solid #cfdad3; background: #fff; border-radius: 8px; padding: 4px 8px; font-size: 0.76rem; cursor: pointer; }
.partner-media-actions button:disabled { opacity: 0.4; cursor: default; }
.partner-media-actions .is-del { color: #9b2c2c; }
.partner-upload-btn { display: inline-block; background: #1b4332; color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.partner-upload-btn.is-busy { opacity: 0.6; pointer-events: none; }
.partner-counter { color: #5a6d62; font-weight: 400; text-align: right; }

/* Partnerkonto: kvitton */
.partner-receipts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.partner-receipts li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 10px 12px; background: #f6f8f7; border-radius: 10px; min-width: 0; }
.partner-receipts a { font-weight: 700; color: #1b4332; }
.partner-receipts span { color: #5a6d62; font-size: 0.88rem; }

/* ===== Partnerkonto, inloggning och inbjudan (v23) ===== */
.pk { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; min-width: 0; }
.pk-svg { flex-shrink: 0; }
.pk-eyebrow { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest-600); }
.pk-head { display: grid; grid-template-columns: 260px 1fr; background: #fff; border: 1px solid var(--border-light); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); min-width: 0; }
.pk-head-media { background: linear-gradient(135deg, var(--forest-800), var(--forest-600)); min-height: 200px; position: relative; }
.pk-head-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pk-head-body { padding: 22px 24px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pk-head-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pk-head h1 { font-size: clamp(1.45rem, 3.6vw, 2rem); margin: 0; color: var(--forest-900); overflow-wrap: anywhere; line-height: 1.2; }
.pk-sub { margin: -4px 0 0; color: var(--text-muted); font-size: 0.93rem; }
.pk-badge .pk-svg { width: 14px; height: 14px; }
.badge-partner .pk-svg { width: 13px; height: 13px; color: #fff4d6; }
.pk-status { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: var(--sage-100); color: var(--forest-800); font-size: 0.82rem; font-weight: 700; }
.pk-chip-ok { background: #e3f2e8; color: #1b5e3a; }
.pk-chip-warn { background: #fff1d6; color: #7a5200; }
.pk-dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e5b; box-shadow: 0 0 0 3px rgba(47, 158, 91, 0.2); }
.pk-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pk-logout { margin: 0; display: contents; }
.pk-qbtn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--sage-200); background: #fff; color: var(--forest-800); font: inherit; font-size: 0.88rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.pk-qbtn:hover { background: var(--sage-100); border-color: #c4d5ca; }
.pk-qbtn-main { background: var(--forest-800); border-color: var(--forest-800); color: #fff; }
.pk-qbtn-main:hover { background: var(--forest-700); border-color: var(--forest-700); }
.pk-qbtn:focus-visible, .pk-drop:focus-visible, .pk-tile-actions button:focus-visible { outline: 3px solid rgba(45, 106, 79, 0.45); outline-offset: 2px; }

.pk-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 0.92rem; border: 1px solid transparent; }
.pk-banner .pk-svg { margin-top: 1px; width: 20px; height: 20px; }
.pk-banner div { display: grid; gap: 2px; min-width: 0; }
.pk-banner span { color: inherit; opacity: 0.88; }
.pk-banner-pending { background: #fff7e6; border-color: #f3dfb0; color: #5c4510; }
.pk-banner-ok { background: #e8f3ec; border-color: #c9e3d3; color: #1b4332; }
.pk-banner-no { background: #fdecec; border-color: #f2cccc; color: #8a2626; }

.pk-card { background: #fff; border: 1px solid var(--border-light); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow-sm); min-width: 0; display: grid; gap: 14px; }
.pk-card-head { display: flex; gap: 12px; align-items: flex-start; }
.pk-card-head > div { flex: 1; min-width: 0; }
.pk-card-head h2 { font-size: 1.12rem; margin: 0; color: var(--forest-900); }
.pk-card-head p { margin: 2px 0 0; color: var(--text-muted); font-size: 0.88rem; }
.pk-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--sage-100); color: var(--forest-700); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pk-count { font-weight: 800; font-size: 0.85rem; color: var(--forest-700); background: var(--sage-100); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pk-review-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.pk-review-note .pk-svg { margin-top: 1px; color: #9a6a00; }

.pk-form { display: grid; gap: 18px; }
.pk-field { display: grid; gap: 6px; min-width: 0; }
.pk-label { font-weight: 700; font-size: 0.9rem; color: var(--forest-800); }
.pk-label small { font-weight: 500; color: var(--text-muted); margin-left: 4px; }
.partner-form .pk-field textarea, .partner-form .pk-input input, .pk-code { transition: border-color .15s, box-shadow .15s, background .15s; }
.partner-form textarea:focus, .partner-form input:focus, .pk-code:focus { outline: none; border-color: var(--forest-600); background: #fff; box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.16); }
.pk-input { position: relative; display: block; min-width: 0; }
.pk-input > .pk-svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #7b8d82; pointer-events: none; }
.partner-form .pk-input input { padding-left: 40px; }
.partner-form .pk-input:focus-within > .pk-svg { color: var(--forest-600); }
.partner-counter { justify-self: end; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.partner-counter.is-near { color: #a35a00; font-weight: 700; }
.pk-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.pk-preview { background: var(--cream-50); border: 1px dashed #d8d2c4; border-radius: 14px; padding: 12px; display: grid; gap: 8px; }
.pk-preview-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.pk-preview-label .pk-svg { width: 15px; height: 15px; }
.pk-preview-card { display: grid; grid-template-columns: 120px 1fr; border: 2px solid #e0a93b; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #fffdf6, #fff 60%); box-shadow: 0 0 0 3px rgba(224, 169, 59, 0.14); max-width: 520px; }
.pk-preview-img { position: relative; background: var(--sage-100); min-height: 96px; }
.pk-preview-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pk-preview-img .badge-partner { position: absolute; left: 6px; top: 6px; font-size: 0.66rem; padding: 3px 8px 3px 6px; }
.pk-preview-body { padding: 10px 12px; min-width: 0; }
.pk-preview-body strong { display: block; color: var(--forest-900); font-size: 0.95rem; }
.pk-preview-body p { margin: 4px 0 0; font-size: 0.84rem; color: var(--text-muted); overflow-wrap: anywhere; }

.pk-media { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 0; }
.pk-media-empty { grid-column: 1 / -1; margin: 0; }
.partner-media-item.pk-tile { border: 1px solid var(--border-light); border-radius: 14px; background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.partner-media-item.pk-tile:first-child { border: 1px solid var(--border-light); }
.partner-media-item.pk-tile.is-main { border: 2px solid #e0a93b; box-shadow: 0 0 0 3px rgba(224, 169, 59, 0.16); }
.pk-tile-img { position: relative; }
.pk-tile-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pk-main-badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #f6d27a, #e0a93b); color: #3d2a00; font-size: 0.72rem; font-weight: 800; padding: 4px 9px 4px 7px; border-radius: 999px; box-shadow: 0 2px 6px rgba(120, 80, 0, 0.25); }
.pk-main-badge svg { width: 12px; height: 12px; }
.pk-status-chip { position: absolute; right: 8px; bottom: 8px; font-size: 0.72rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.pk-status-chip.is-ok { background: rgba(227, 242, 232, 0.95); color: #1b5e3a; }
.pk-status-chip.is-pending { background: rgba(255, 241, 214, 0.95); color: #7a5200; }
.pk-tile-actions.partner-media-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; flex-wrap: nowrap; }
.pk-tile-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #d6e0d9; background: #fff; color: var(--forest-800); border-radius: 9px; min-height: 34px; padding: 0 8px; font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.pk-tile-actions button:hover:not(:disabled) { background: var(--sage-100); }
.pk-tile-actions button:disabled { opacity: 0.35; cursor: default; }
.pk-tile-actions .is-del { color: #9b2c2c; }
.pk-tile-actions .is-del:hover { background: #fdecec !important; }
.pk-make-main { white-space: nowrap; min-width: 0; width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pk-tile-main-note { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; gap: 5px; font-size: 0.78rem; font-weight: 700; color: #8a5f00; white-space: nowrap; }
.pk-tile-main-note svg { width: 14px; height: 14px; }
.pk-tile-tools { display: flex; gap: 6px; }
.pk-tile-tools button { flex: 1; padding: 0; }
.pk-drop { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 22px 16px; border: 2px dashed #b9cdbf; border-radius: 16px; background: #f7faf8; color: var(--forest-800); cursor: pointer; transition: background .15s, border-color .15s; }
.pk-drop:hover, .pk-drop.is-over { background: #ecf5ef; border-color: var(--forest-600); }
.pk-drop.is-busy { opacity: 0.6; pointer-events: none; }
.pk-drop[hidden] { display: none; }
.pk-drop-ico { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); margin-bottom: 4px; }
.pk-drop-ico .pk-svg { width: 22px; height: 22px; }
.pk-drop-title { font-weight: 700; }
.pk-drop-hint { font-size: 0.82rem; color: var(--text-muted); }

.pk-savebar { display: grid; gap: 10px; }
.pk-savebar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--border-light); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-md); }
.pk-save-note { margin: 0; font-size: 0.84rem; color: var(--text-muted); min-width: 0; }
#pk-dirty { color: #a35a00; font-weight: 700; }
.pk-save { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.pk-save.is-busy { opacity: 0.7; }
.pk-form.is-dirty .pk-savebar-inner { border-color: #e0c78e; }
.pk-help { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin: 4px 0 0; }
.pk-help a { color: var(--forest-800); font-weight: 600; }
#pk-kvitton { scroll-margin-top: 90px; }

.pk-toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; z-index: 3000; width: min(420px, calc(100vw - 24px)); pointer-events: none; }
.pk-toast { background: var(--forest-900); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.pk-toast.is-in { opacity: 1; transform: none; }
.pk-toast.is-error { background: #9b2c2c; }

/* Inloggning */
.pk-auth { max-width: 460px; margin: 0 auto; display: grid; gap: 14px; }
.pk-auth-card { background: #fff; border: 1px solid var(--border-light); border-radius: 20px; padding: 30px 28px; box-shadow: var(--shadow-md); display: grid; gap: 12px; text-align: center; }
.pk-auth-card h1 { font-size: 1.55rem; margin: 0; color: var(--forest-900); }
.pk-auth-logo { width: 56px; height: 56px; border-radius: 16px; background: var(--forest-800); color: #fff; display: inline-flex; align-items: center; justify-content: center; justify-self: center; box-shadow: 0 8px 20px rgba(27, 67, 50, 0.25); }
.pk-auth-logo .pk-svg { width: 28px; height: 28px; }
.pk-auth-lead { color: var(--text-muted); font-size: 0.93rem; margin: 0; }
.pk-auth-card .partner-form { text-align: left; }
.pk-auth-msg { display: flex; gap: 8px; text-align: left; margin: 0; }
.pk-auth-alt { margin: 0; }
.pk-btn-block { width: 100%; border: 0; cursor: pointer; justify-content: center; }
.pk-code { width: 100%; padding: 12px; border: 1px solid #cfdad3; border-radius: 12px; font: inherit; font-size: 1.5rem; letter-spacing: 0.35em; text-align: center; font-variant-numeric: tabular-nums; background: #fbfdfc; }
.pk-steps { list-style: none; padding: 0; margin: 2px 0 4px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pk-steps li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; font-weight: 700; color: #7b8d82; background: var(--sage-100); padding: 5px 12px 5px 6px; border-radius: 999px; }
.pk-steps li span { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.76rem; }
.pk-steps li.is-active { background: var(--forest-800); color: #fff; }
.pk-steps li.is-active span { color: var(--forest-800); }
.pk-steps li.is-done { background: #e3f2e8; color: #1b5e3a; }
.pk-steps-wide { justify-content: flex-start; margin-top: 12px; }

/* Inbjudan */
.pk-invite .partner-card { border-radius: 18px; }
.pk-invite .pk-card-head { margin-bottom: 14px; }
.pk-price { background: linear-gradient(135deg, #f3f8f5, #eef5f0); border: 1px solid #d6e6dc; }
.pk-price strong { font-size: 1.2rem; color: var(--forest-800); }
.pk-secure { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--forest-700); background: var(--sage-100); padding: 8px 12px; border-radius: 10px; margin: 0 0 6px; }

@media (max-width: 760px) {
    .pk { gap: 14px; }
    .pk-head { grid-template-columns: 1fr; border-radius: 18px; }
    .pk-head-media { min-height: 0; aspect-ratio: 16 / 8; }
    .pk-head-body { padding: 16px; }
    .pk-quick { display: grid; grid-template-columns: 1fr 1fr; }
    .pk-quick .pk-qbtn-main { grid-column: 1 / -1; }
    .pk-qbtn { justify-content: center; width: 100%; }
    .pk-card { padding: 16px; border-radius: 16px; }
    .pk-links { grid-template-columns: 1fr; }
    .pk-media { grid-template-columns: 1fr 1fr; gap: 10px; }
    .pk-preview-card { grid-template-columns: 96px 1fr; }
    .pk-savebar-inner { flex-direction: column; align-items: stretch; padding: 12px; gap: 8px; }
    .pk-savebar-inner.is-floating { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60; box-shadow: 0 10px 34px rgba(16, 38, 29, 0.28); }
    .pk-savebar-inner.is-floating .pk-save-review { display: none; }
    .pk-savebar-inner.is-floating .pk-save-note:not(:has(#pk-dirty:not([hidden]))) { display: none; }
    .pk-save-note { font-size: 0.78rem; text-align: center; }
    .pk-save { width: 100%; padding-top: 13px; padding-bottom: 13px; }
    .pk-toasts { bottom: 110px; }
    .pk-auth-card { padding: 24px 18px; }
}

/* ===== Partnersidan /partner (v24): förmåner, exempel och knappar ===== */
.pb-section { margin-bottom: 20px; }
.pb-section > h2 { font-size: 1.25rem; margin-bottom: 16px; }
.pb-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pb-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--cream-50); border: 1px solid var(--border-light); min-width: 0; }
.pb-item:nth-child(2) { background: linear-gradient(180deg, #fffaf0, #fff6e4); border-color: #f0dcae; }
.pb-item:nth-child(2) .pb-ico { background: linear-gradient(135deg, #f6d27a, #e0a93b); color: #3d2a00; }
.pb-item > div { min-width: 0; }
.pb-item h3 { font-size: 1rem; margin: 2px 0 4px; color: var(--forest-900); font-family: inherit; font-weight: 800; }
.pb-item h3 sup, .pb-foot sup { color: var(--amber-600); font-weight: 800; }
.pb-item p { margin: 0; color: #52635a; font-size: 0.9rem; line-height: 1.5; }
.pb-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--sage-100); color: var(--forest-700); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pb-ico .pk-svg { width: 20px; height: 20px; }
.pb-foot { margin: 14px 0 0; font-size: 0.86rem; color: #5a6d62; font-style: italic; }

/* Exempel: Din Butik */
.pb-ex-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.pb-ex-head h2 { font-size: 1.25rem; margin: 0; }
.pb-ex-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--sage-100); color: var(--forest-700); padding: 4px 10px; border-radius: 999px; }
.pb-ex-lead { color: #52635a; font-size: 0.93rem; margin: 0 0 18px; }
.pb-ex-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: start; padding: 22px; border-radius: 14px; background: linear-gradient(135deg, #eef3ef, #f6f3ec); }
.pb-ex-fig { margin: 0; min-width: 0; display: grid; gap: 10px; }
.pb-ex-fig figcaption { font-size: 0.82rem; font-weight: 700; color: var(--forest-700); text-align: center; }
.pb-example [aria-hidden="true"] * { pointer-events: none; }
.place-card.pb-demo-card { cursor: default; }
.place-card.pb-demo-card:hover { transform: none; box-shadow: 0 0 0 4px rgba(224, 169, 59, 0.16), 0 10px 26px rgba(120, 80, 0, 0.14); }
.place-card.pb-demo-card:hover .place-card-media img { transform: none; }
.pb-demo-card .place-card-media { height: 180px; }
.pb-demo-card .place-card-media img { object-position: center 35%; }
.pb-demo-page { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-light); border-top: 4px solid #e0a93b; box-shadow: var(--shadow-sm); min-width: 0; }
.pb-demo-hero { height: 190px; overflow: hidden; background: var(--sage-100); }
.pb-demo-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.pb-demo-body { padding: 14px 16px 16px; display: grid; gap: 8px; min-width: 0; }
.pb-demo-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pb-demo-body h3 { font-size: 1.3rem; margin: 2px 0 0; }
.pb-demo-body p { margin: 0; font-size: 0.88rem; color: #52635a; }
.pb-demo-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pb-demo-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.pb-demo-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-demo-btn { font-size: 0.78rem; font-weight: 700; padding: 6px 11px; border-radius: 9px; background: var(--sage-100); color: var(--forest-800); }
.pb-demo-btn.is-main { background: var(--forest-800); color: #fff; }



/* Se exempel – jämförelse + modal */
.pb-ex-cta { margin: 16px 0 0; }
.pb-ex-open { cursor: pointer; font: inherit; }
.pb-ex-open .pk-svg { width: 18px; height: 18px; }
.pb-ex-demo { display: grid; gap: 22px; }
.pb-ex-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef3ef, #f6f3ec);
    align-items: start;
}
.pb-ex-pagefig { margin: 0; }
.pb-ex-compare .place-card.pb-demo-card:not(.is-partner) {
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    background: #fff;
}
.pb-ex-compare .place-card.pb-demo-card:not(.is-partner):hover {
    box-shadow: var(--shadow-sm);
}
.pb-ex-overlay {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: flex-end; justify-content: center;
    padding: 0; background: rgba(16, 38, 29, 0.48);
    -webkit-overflow-scrolling: touch;
}
.pb-ex-overlay[hidden] { display: none !important; }
.pb-ex-dialog {
    background: #fff;
    width: min(920px, 100%);
    max-height: min(92vh, 920px);
    overflow: auto;
    border-radius: 18px 18px 0 0;
    padding: 18px 18px 28px;
    box-shadow: 0 -8px 40px rgba(16, 38, 29, 0.22);
    outline: none;
    overscroll-behavior: contain;
}
.pb-ex-dialog-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 12px; margin-bottom: 6px;
}
.pb-ex-dialog-titles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-width: 0; }
.pb-ex-dialog-titles h2 { margin: 0; font-size: 1.2rem; }
.pb-ex-close {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
    border: 1px solid #c4d5ca; background: #fff; color: var(--forest-800);
    font-size: 1.5rem; line-height: 1; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.pb-ex-close:hover { background: var(--sage-100); }
.pb-ex-close:focus-visible { outline: 3px solid rgba(45, 106, 79, 0.45); outline-offset: 2px; }
.pb-ex-overlay .pb-ex-lead { margin-bottom: 14px; }
.pb-ex-overlay .pb-ex-compare { padding: 14px; }
body.pb-ex-open { overflow: hidden; }

@media (min-width: 720px) {
    .pb-ex-overlay { align-items: center; padding: 24px; }
    .pb-ex-dialog {
        border-radius: 18px;
        padding: 22px 24px 28px;
        max-height: min(90vh, 860px);
    }
}
@media (max-width: 760px) {
    .pb-ex-compare { grid-template-columns: 1fr; gap: 14px; padding: 12px; }
    .pb-ex-dialog { padding: 14px 14px 24px; }
    .pk-invite .pb-ex-cta { margin-top: 12px; }
}

/* Så går det till */
.pb-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pb-steps li { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--cream-50); border: 1px solid var(--border-light); min-width: 0; }
.pb-steps p { margin: 0; font-size: 0.9rem; color: #33463c; line-height: 1.5; }
.pb-num { width: 30px; height: 30px; border-radius: 50%; background: var(--forest-800); color: #fff; font-weight: 800; font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center; }
.pb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 18px; border-radius: 12px; border: 1.5px solid #c4d5ca; background: #fff; color: var(--forest-800); font-weight: 700; font-size: 0.92rem; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.pb-btn:hover { background: var(--sage-100); border-color: var(--forest-600); color: var(--forest-800); }
.pb-btn-main { background: var(--forest-800); border-color: var(--forest-800); color: #fff; }
.pb-btn-main:hover { background: var(--forest-700); border-color: var(--forest-700); color: #fff; }
.pb-btn:focus-visible { outline: 3px solid rgba(45, 106, 79, 0.45); outline-offset: 2px; }
.pb-mail-alt { margin: 12px 0 0; font-size: 0.86rem; color: #5a6d62; overflow-wrap: anywhere; }
.pb-mail-alt a { color: var(--forest-800); font-weight: 700; text-decoration: underline; }

/* Förmånerna på inbjudningssidan (smalare kort) */
.pk-invite .pb-grid { grid-template-columns: 1fr; gap: 10px; }
.pk-invite .pb-item { padding: 12px 14px; }

@media (max-width: 900px) {
    .pb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .pb-grid { grid-template-columns: 1fr; gap: 10px; }
    .pb-item { padding: 14px; }
    .pb-ex-grid { grid-template-columns: 1fr; padding: 14px; gap: 18px; }
    .pb-demo-hero { height: 150px; }
    .pb-steps { grid-template-columns: 1fr; gap: 8px; }
    .pb-steps li { flex-direction: row; align-items: flex-start; padding: 12px 14px; }
    .pb-num { flex-shrink: 0; }
    .pb-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .pb-btn-main { grid-column: 1 / -1; }
    .pb-btn { padding: 11px 12px; font-size: 0.88rem; }
}
