/* Synonymer.it.com – Public Styles */
/* Reset & Base */
.synonymer-page {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a2e;
    background: #f8f9fa;
    -webkit-font-smoothing: antialiased;
}

.synonymer-page * { box-sizing: border-box; }

.syn-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.syn-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.syn-header .syn-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.syn-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.syn-logo-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.syn-logo:hover .syn-logo-icon {
    transform: scale(1.08);
}

.syn-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3a8c;
    line-height: 1;
}

.syn-logo-text span {
    color: #64748b;
    font-weight: 400;
}

.syn-nav {
    display: flex;
    align-items: center;
}

.syn-nav a {
    color: #475569;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
}

.syn-nav a:hover { color: #2d3a8c; }

/* Hamburger button – hidden on desktop */
.syn-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
    -webkit-tap-highlight-color: transparent;
}

.syn-menu-icon,
.syn-menu-icon::before,
.syn-menu-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #2d3a8c;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.syn-menu-icon { position: relative; }

.syn-menu-icon::before,
.syn-menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.syn-menu-icon::before { top: -7px; }
.syn-menu-icon::after  { top: 7px; }

/* Animated X when open */
.syn-menu-toggle[aria-expanded="true"] .syn-menu-icon {
    background: transparent;
}

.syn-menu-toggle[aria-expanded="true"] .syn-menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.syn-menu-toggle[aria-expanded="true"] .syn-menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.syn-hero-icon {
    margin-bottom: 12px;
}

/* Hero / Homepage */
.syn-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.syn-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2d3a8c;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.syn-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0 0 30px;
}

.syn-word-count {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 16px;
}

/* Search */
.syn-search-form {
    max-width: 600px;
    margin: 0 auto;
}

.syn-search-form--inline {
    margin: 0 0 30px;
    max-width: 100%;
}

.syn-search-wrapper {
    position: relative;
    display: flex;
}

.syn-search-input {
    flex: 1;
    padding: 14px 50px 14px 20px;
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.syn-search-input:focus {
    border-color: #2d3a8c;
    box-shadow: 0 0 0 3px rgba(45, 58, 140, 0.1);
}

.syn-search-input::placeholder { color: #94a3b8; }

.syn-search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 44px;
    background: #2d3a8c;
    color: #fff;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.syn-search-btn:hover { background: #1e2a6e; }

/* Autocomplete */
.syn-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    z-index: 200;
    overflow: hidden;
}

.syn-ac-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: #1a1a2e;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.syn-ac-item:last-child { border-bottom: none; }
.syn-ac-item:hover,
.syn-ac-item.active { background: #f1f5ff; }

.syn-ac-word {
    font-weight: 600;
    flex: 1;
}

.syn-ac-pos {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-left: 10px;
}

/* Sections */
.syn-section {
    margin: 35px 0;
}

.syn-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

/* Tags */
.syn-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.syn-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.15s, box-shadow 0.15s;
    background: #e8eaf6;
    color: #2d3a8c;
}

.syn-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(45, 58, 140, 0.15);
}

/* Synonym degree colors */
.syn-tag--degree-3 {
    background: #dcfce7;
    color: #166534;
}

.syn-tag--degree-2 {
    background: #fef3c7;
    color: #92400e;
}

.syn-tag--degree-1 {
    background: #fce7f3;
    color: #9d174d;
}

.syn-tag--antonym {
    background: #fee2e2;
    color: #991b1b;
}

.syn-tag--related {
    background: #e0e7ff;
    color: #3730a3;
}

.syn-tag--compound {
    background: #f0fdf4;
    color: #15803d;
}

.syn-tag--popular {
    background: #ede9fe;
    color: #5b21b6;
}

/* Legend */
.syn-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: #64748b;
}

.syn-legend-item { display: flex; align-items: center; gap: 4px; }

.syn-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.syn-dot--3 { background: #22c55e; }
.syn-dot--2 { background: #f59e0b; }
.syn-dot--1 { background: #ec4899; }

/* Definitions */
.syn-definitions {
    margin: 0;
    padding-left: 24px;
}

.syn-definitions li {
    margin-bottom: 16px;
}

.syn-def-text {
    margin: 0 0 6px;
    font-size: 1rem;
}

.syn-examples {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
}

.syn-examples li {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 4px;
    padding-left: 16px;
    border-left: 3px solid #e2e8f0;
}

/* Word header */
.syn-word-header {
    margin-bottom: 24px;
}

.syn-word-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2d3a8c;
    margin: 0;
    display: inline;
}

.syn-pos {
    display: inline-block;
    margin-left: 12px;
    padding: 3px 10px;
    background: #e8eaf6;
    color: #2d3a8c;
    border-radius: 6px;
    font-size: 0.85rem;
    font-style: italic;
    vertical-align: middle;
}

.syn-pronunciation {
    color: #64748b;
    font-size: 0.95rem;
    margin-left: 10px;
}

.syn-etymology {
    color: #475569;
    font-size: 0.95rem;
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #cbd5e1;
}

/* Breadcrumb */
.syn-breadcrumb {
    font-size: 0.85rem;
    color: #64748b;
    margin: 20px 0;
}

.syn-breadcrumb a {
    color: #2d3a8c;
    text-decoration: none;
}

.syn-breadcrumb a:hover { text-decoration: underline; }

.syn-bc-sep {
    margin: 0 6px;
    color: #cbd5e1;
}

/* Alpha index */
.syn-alpha-index {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.syn-alpha-letter {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    min-width: 42px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #2d3a8c;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.15s, border-color 0.15s;
}

.syn-alpha-letter:hover {
    background: #e8eaf6;
    border-color: #2d3a8c;
}

.syn-alpha-letter--active {
    background: #2d3a8c;
    color: #fff;
    border-color: #2d3a8c;
}

.syn-alpha-letter--empty {
    opacity: 0.4;
}

.syn-alpha-count {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 400;
}

.syn-alpha-letter--active .syn-alpha-count { color: #c7d2fe; }

.syn-alpha-index--compact {
    margin-bottom: 24px;
}

.syn-alpha-index--compact .syn-alpha-letter {
    padding: 5px 8px;
    min-width: 32px;
    font-size: 0.85rem;
}

/* Word grid (letter page) */
.syn-word-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.syn-word-card {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a2e;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.syn-word-card:hover {
    border-color: #2d3a8c;
    box-shadow: 0 2px 8px rgba(45, 58, 140, 0.1);
}

.syn-word-card-word { font-weight: 600; }

.syn-word-card-pos {
    font-size: 0.75rem;
    color: #94a3b8;
    font-style: italic;
}

/* Search results */
.syn-result-count {
    color: #64748b;
    font-size: 0.9rem;
    margin: 16px 0;
}

.syn-result-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.syn-result-list li {
    border-bottom: 1px solid #f1f5f9;
}

.syn-result-link {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: #1a1a2e;
    transition: padding-left 0.15s;
}

.syn-result-link:hover {
    padding-left: 8px;
    color: #2d3a8c;
}

.syn-pos-small {
    color: #94a3b8;
    font-size: 0.85rem;
    font-style: italic;
    margin-left: 6px;
}

.syn-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

/* Pagination */
.syn-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 30px 0;
}

.syn-page-link {
    padding: 8px 16px;
    background: #2d3a8c;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.syn-page-link:hover { background: #1e2a6e; }

.syn-page-info {
    color: #64748b;
    font-size: 0.9rem;
}

/* Svenska listing */
.syn-svenska-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.syn-svenska-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.syn-svenska-item:hover {
    background: #f8fafc;
}

.syn-svenska-item-header {
    flex-shrink: 0;
    min-width: 160px;
}

.syn-svenska-word {
    font-weight: 600;
    color: #2d3a8c;
    text-decoration: none;
    font-size: 1rem;
}

.syn-svenska-word:hover {
    text-decoration: underline;
}

.syn-svenska-synonyms {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.syn-svenska-synonyms--empty {
    color: #cbd5e1;
    font-style: italic;
}

@media (max-width: 640px) {
    .syn-svenska-item {
        flex-direction: column;
        gap: 4px;
    }
    .syn-svenska-item-header {
        min-width: auto;
    }
}

/* Footer */
.syn-footer {
    margin-top: 60px;
    padding: 30px 0;
    background: #1a1a2e;
    color: #94a3b8;
    font-size: 0.85rem;
    text-align: center;
}

.syn-footer p { margin: 0 0 12px; }

.syn-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.syn-footer-nav a {
    color: #64748b;
    text-decoration: none;
    padding: 2px 5px;
    font-size: 0.8rem;
}

.syn-footer-nav a:hover { color: #e2e8f0; }

/* Main content area */
.syn-main {
    min-height: calc(100vh - 200px);
    padding: 10px 0 40px;
}

/* Word article */
.syn-word-article {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Intro paragraph */
.syn-intro {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin: 16px 0 8px;
    padding: 14px 18px;
    background: #f0f4ff;
    border-left: 4px solid #2d3a8c;
    border-radius: 0 8px 8px 0;
}

.syn-intro strong {
    color: #2d3a8c;
}

/* SEO text block */
.syn-seo-text {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.syn-seo-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

.syn-seo-text h2 {
    font-size: 1.1rem;
}

/* Responsive – mobile nav */
@media (max-width: 768px) {
    .syn-menu-toggle {
        display: block;
    }

    .syn-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        padding: 8px 0;
    }

    .syn-nav.syn-nav--open {
        display: flex;
    }

    .syn-nav a {
        margin: 0;
        padding: 12px 20px;
        font-size: 1rem;
        border-bottom: 1px solid #f1f5f9;
    }

    .syn-nav a:last-child {
        border-bottom: none;
    }

    .syn-nav a:hover,
    .syn-nav a:active {
        background: #f1f5ff;
        color: #2d3a8c;
    }

    .syn-header .syn-container {
        position: relative;
    }
}

/* Responsive – general */
@media (max-width: 640px) {
    .syn-logo-text { font-size: 1.15rem; }
    .syn-logo-icon { width: 26px; height: 26px; }
    .syn-hero h1 { font-size: 2rem; }
    .syn-word-header h1 { font-size: 1.6rem; }
    .syn-search-input { padding: 12px 46px 12px 14px; font-size: 1rem; }
    .syn-word-article { padding: 20px 16px; }
    .syn-word-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .syn-alpha-letter { padding: 5px 7px; min-width: 30px; font-size: 0.85rem; }
}

/* Engelska page */
.syn-engelska-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2d3a8c;
    margin: 20px 0 10px;
}

.syn-engelska-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 30px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.syn-engelska-content p {
    color: #475569;
    margin: 0 0 16px;
}

.syn-engelska-content table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 16px;
}

.syn-engelska-content thead th {
    background: #2d3a8c;
    color: #fff;
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.syn-engelska-content tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.syn-engelska-content tbody tr:hover {
    background: #f8fafc;
}

.syn-engelska-content tbody td:first-child {
    font-weight: 600;
    color: #2d3a8c;
    white-space: nowrap;
}

.syn-engelska-content tbody td:last-child {
    color: #475569;
}

.syn-engelska-content figure {
    margin: 0 0 8px;
}

@media (max-width: 640px) {
    .syn-engelska-content h1 { font-size: 1.6rem; }
    .syn-engelska-content thead th,
    .syn-engelska-content tbody td { padding: 8px 10px; font-size: 0.85rem; }
}

/* Cookie Consent Banner */
.syn-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a1a2e;
    color: #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    animation: syn-cookie-slide-up 0.4s ease-out;
}

@keyframes syn-cookie-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.syn-cookie-banner-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.syn-cookie-banner-inner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.syn-cookie-banner-inner a {
    color: #93c5fd;
    text-decoration: underline;
}

.syn-cookie-banner-inner a:hover {
    color: #bfdbfe;
}

.syn-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.syn-cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
}

.syn-cookie-btn:active { transform: scale(0.97); }

.syn-cookie-btn--accept {
    background: #4f5fcb;
    color: #fff;
}

.syn-cookie-btn--accept:hover {
    background: #3d4db8;
}

.syn-cookie-btn--necessary {
    background: #334155;
    color: #e2e8f0;
}

.syn-cookie-btn--necessary:hover {
    background: #475569;
}

@media (max-width: 640px) {
    .syn-cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
    .syn-cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Cookie Policy page */
.syn-cookie-policy-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #2d3a8c;
    margin: 0 0 8px;
}

.syn-cookie-policy-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 28px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e2e8f0;
}

.syn-cookie-policy-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2d3a8c;
    margin: 20px 0 8px;
}

.syn-cookie-policy-content p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 12px;
}

.syn-cookie-policy-content ul {
    color: #475569;
    padding-left: 24px;
    margin: 0 0 16px;
}

.syn-cookie-policy-content li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.syn-cookie-policy-content table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.syn-cookie-policy-content thead th {
    background: #2d3a8c;
    color: #fff;
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.syn-cookie-policy-content tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #475569;
}

.syn-cookie-policy-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #2d3a8c;
}

/* Footer links */
.syn-footer-links {
    margin-bottom: 12px;
}

.syn-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 2px 8px;
}

.syn-footer-links a:hover {
    color: #e2e8f0;
    text-decoration: underline;
}

/* Static pages (About, Privacy, Terms, Contact, etc.) */
.syn-static-page h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #2d3a8c;
    margin: 0 0 8px;
}

.syn-static-page h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 28px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e2e8f0;
}

.syn-static-page h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2d3a8c;
    margin: 20px 0 8px;
}

.syn-static-page p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 12px;
}

.syn-static-page a {
    color: #2d3a8c;
    text-decoration: underline;
}

.syn-static-page a:hover {
    color: #1e2a6e;
}

.syn-static-page ul {
    color: #475569;
    padding-left: 24px;
    margin: 0 0 16px;
}

.syn-static-page li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.syn-static-page table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.syn-static-page thead th {
    background: #2d3a8c;
    color: #fff;
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.syn-static-page tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #475569;
}

.syn-static-page code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #2d3a8c;
}

/* Contact page cards */
.syn-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.syn-contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.syn-contact-card:hover {
    border-color: #2d3a8c;
    box-shadow: 0 2px 8px rgba(45, 58, 140, 0.08);
}

.syn-contact-card h2 {
    font-size: 1.1rem;
    margin: 0 0 8px;
    padding: 0;
    border: none;
    color: #2d3a8c;
}

.syn-contact-card p {
    font-size: 0.9rem;
    margin: 0 0 8px;
}

/* Cookie Preferences page */
.syn-cookie-pref-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.syn-cookie-pref-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.syn-cookie-pref-header h2 {
    font-size: 1.1rem;
    margin: 0 0 6px;
    padding: 0;
    border: none;
    color: #1a1a2e;
}

.syn-cookie-pref-header p {
    font-size: 0.9rem;
    margin: 0;
}

.syn-cookie-pref-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.syn-cookie-pref-badge--always {
    background: #dcfce7;
    color: #166534;
}

.syn-cookie-pref-details {
    margin-top: 16px;
}

.syn-cookie-pref-details table {
    margin-bottom: 0;
}

.syn-cookie-pref-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0 16px;
}

.syn-cookie-pref-status {
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.4em;
}

/* Toggle switch */
.syn-cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.syn-cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.syn-cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #cbd5e1;
    border-radius: 28px;
    transition: background 0.3s;
}

.syn-cookie-toggle-slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

.syn-cookie-toggle input:checked + .syn-cookie-toggle-slider {
    background: #4f5fcb;
}

.syn-cookie-toggle input:checked + .syn-cookie-toggle-slider::before {
    transform: translateX(22px);
}

@media (max-width: 640px) {
    .syn-contact-cards {
        grid-template-columns: 1fr;
    }
    .syn-cookie-pref-header {
        flex-direction: column;
    }
    .syn-cookie-pref-actions {
        flex-direction: column;
    }
    .syn-cookie-pref-actions .syn-cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* Contact form */
.syn-contact-form {
    margin-top: 24px;
}

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

.syn-form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.syn-required {
    color: #dc2626;
}

.syn-form-group input,
.syn-form-group select,
.syn-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.syn-form-group input:focus,
.syn-form-group select:focus,
.syn-form-group textarea:focus {
    outline: none;
    border-color: #4f5fcb;
    box-shadow: 0 0 0 3px rgba(79, 95, 203, 0.15);
}

.syn-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.syn-contact-submit {
    display: inline-block;
    padding: 12px 32px;
    background: #4f5fcb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.syn-contact-submit:hover {
    background: #3d4db8;
}

.syn-contact-submit:active {
    transform: scale(0.97);
}

.syn-contact-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.syn-contact-status {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.syn-contact-status--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.syn-contact-status--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ── Bilhandlare Directory ──────────────────────────────────── */

.syn-dealer-directory h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2d3a8c;
    margin: 20px 0 10px;
}

.syn-dealer-intro {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.syn-dealer-intro strong { color: #2d3a8c; }

/* Filter bar */
.syn-dealer-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.syn-dealer-filter-btn {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.syn-dealer-filter-btn:hover { border-color: #2d3a8c; color: #2d3a8c; }

.syn-dealer-filter-btn--active {
    background: #2d3a8c;
    color: #fff;
    border-color: #2d3a8c;
}

.syn-dealer-filter-count {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0 0 20px;
}

/* City quick nav */
.syn-dealer-city-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.syn-dealer-city-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #2d3a8c;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.15s;
}

.syn-dealer-city-link:hover {
    background: #e8eaf6;
    border-color: #2d3a8c;
}

.syn-dealer-city-count {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
}

/* City sections */
.syn-dealer-city-section {
    margin-bottom: 40px;
}

.syn-dealer-city-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.syn-dealer-city-section h2 a {
    color: inherit;
    text-decoration: none;
}

.syn-dealer-city-section h2 a:hover { color: #2d3a8c; }

.syn-dealer-section-count {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Dealer card grid */
.syn-dealer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 12px;
}

.syn-dealer-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #1a1a2e;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.syn-dealer-card:hover {
    border-color: #2d3a8c;
    box-shadow: 0 4px 16px rgba(45, 58, 140, 0.12);
    transform: translateY(-2px);
}

.syn-dealer-card.hidden-by-rating { display: none; }

.syn-dealer-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f1f5f9;
}

.syn-dealer-card-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

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

.syn-dealer-card-rating {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 4px;
}

.syn-dealer-card-body h3,
.syn-dealer-card-body .syn-dealer-card-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1a1a2e;
    line-height: 1.3;
}

.syn-dealer-card-category {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 6px;
}

.syn-dealer-card-address {
    font-size: 0.82rem;
    color: #475569;
    margin: 0 0 6px;
    line-height: 1.4;
}

.syn-dealer-card-reviews {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

.syn-dealer-card-cta {
    margin-top: auto;
    padding-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d3a8c;
}

.syn-dealer-city-more {
    margin: 8px 0 0;
    font-size: 0.9rem;
}

.syn-dealer-city-more a {
    color: #2d3a8c;
    text-decoration: none;
    font-weight: 600;
}

.syn-dealer-city-more a:hover { text-decoration: underline; }

/* Other cities nav */
.syn-dealer-other-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.syn-dealer-other-cities a {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    text-decoration: none;
    color: #2d3a8c;
    font-size: 0.85rem;
    transition: background 0.15s;
}

.syn-dealer-other-cities a:hover { background: #e8eaf6; }

/* ── Single Dealer Page ───────────────────────────────────── */

.syn-dealer-single { margin-top: 0; }

/* Hero gallery */
.syn-dealer-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 4px;
    margin: -20px -20px 0;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.syn-dealer-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.syn-dealer-gallery-img:hover { transform: scale(1.03); }

.syn-dealer-gallery-img:first-child {
    grid-row: 1 / 3;
}

/* When only 1 image, full width hero */
.syn-dealer-gallery-img:only-child {
    grid-column: 1 / -1;
    grid-row: 1 / 3;
}

/* Placeholder for no images */
.syn-dealer-hero-placeholder {
    background: linear-gradient(135deg, #2d3a8c 0%, #4f46e5 50%, #7c3aed 100%);
    padding: 60px 40px;
    margin: -20px -20px 0;
    border-radius: 0 0 16px 16px;
    text-align: center;
    color: #fff;
}

.syn-dealer-hero-placeholder svg {
    opacity: 0.3;
    margin-bottom: 12px;
}

/* Header */
.syn-dealer-header {
    margin: 28px 0 24px;
}

.syn-dealer-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.syn-dealer-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    letter-spacing: -0.02em;
}

.syn-dealer-rating-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 18px;
    background: linear-gradient(135deg, #fef9c3, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(245,158,11,0.12);
}

.syn-dealer-rating-value {
    font-weight: 800;
    color: #92400e;
    font-size: 1.2rem;
}

.syn-dealer-review-count {
    font-size: 0.85rem;
    color: #a16207;
}

.syn-dealer-category-label {
    display: inline-block;
    color: #fff;
    background: #2d3a8c;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 10px 0 0;
}

/* Stars */
.syn-dealer-stars { display: inline-flex; gap: 2px; }
.syn-star { font-size: 1.15rem; }
.syn-star--full { color: #f59e0b; }
.syn-star--half { color: #f59e0b; opacity: 0.5; }
.syn-star--empty { color: #d1d5db; }

/* Sidebar info card */
.syn-dealer-sidebar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.syn-dealer-sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.syn-dealer-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.syn-dealer-meta-row:last-of-type { border-bottom: none; }

.syn-dealer-meta-row--block {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.syn-dealer-meta-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

.syn-dealer-meta-label svg { flex-shrink: 0; color: #94a3b8; }

.syn-dealer-meta-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a2e;
    text-align: right;
    word-break: break-word;
}

.syn-dealer-meta-value small {
    color: #94a3b8;
    font-weight: 400;
}

.syn-dealer-meta-link {
    color: #2d3a8c;
    text-decoration: none;
    font-weight: 500;
}

.syn-dealer-meta-link:hover { text-decoration: underline; }

.syn-dealer-meta-cta {
    margin-top: 10px;
}

.syn-dealer-meta-cta:first-of-type { margin-top: 18px; }

.syn-dealer-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    box-sizing: border-box;
}

.syn-dealer-btn--primary {
    background: #2d3a8c;
    color: #fff;
}

.syn-dealer-btn--primary:hover { background: #1e2a6e; }

.syn-dealer-btn--outline {
    background: transparent;
    color: #2d3a8c;
    border: 2px solid #2d3a8c;
}

.syn-dealer-btn--outline:hover { background: #f0f4ff; }

/* About section */
.syn-dealer-about {
    margin-bottom: 28px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.syn-dealer-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2d3a8c, #4f46e5);
    border-radius: 4px 0 0 4px;
}

.syn-dealer-about h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    border: none;
    padding: 0;
}

.syn-dealer-about p {
    color: #475569;
    line-height: 1.75;
    margin: 0;
    font-size: 0.95rem;
}

/* Rating section */
.syn-dealer-rating-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.syn-dealer-rating-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
    border: none;
    padding: 0;
}

.syn-dealer-rating-overview {
    display: flex;
    gap: 36px;
    align-items: center;
}

.syn-dealer-rating-big {
    text-align: center;
    min-width: 150px;
    padding: 16px;
    background: linear-gradient(135deg, #f0f4ff, #e8eaf6);
    border-radius: 16px;
}

.syn-dealer-rating-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #2d3a8c;
    line-height: 1;
}

.syn-dealer-rating-of {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 400;
}

.syn-dealer-rating-total {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 8px 0 0;
}

.syn-dealer-rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.syn-dealer-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.syn-dealer-bar-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    width: 36px;
    text-align: right;
    flex-shrink: 0;
}

.syn-dealer-bar-track {
    flex: 1;
    height: 10px;
    background: #f1f5f9;
    border-radius: 5px;
    overflow: hidden;
}

.syn-dealer-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.syn-dealer-bar-pct {
    font-size: 0.75rem;
    color: #94a3b8;
    width: 32px;
    text-align: right;
    flex-shrink: 0;
    font-weight: 500;
}

/* Review testimonials */
.syn-dealer-reviews {
    margin-bottom: 28px;
}

.syn-dealer-reviews h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.syn-dealer-review-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.syn-dealer-review-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.syn-dealer-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.syn-dealer-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d3a8c, #4f46e5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.syn-dealer-review-header strong {
    display: block;
    font-size: 0.95rem;
    color: #1a1a2e;
    font-weight: 600;
}

.syn-dealer-review-text {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

/* Related dealers */
.syn-dealer-related {
    margin-top: 36px;
    padding-top: 8px;
}

.syn-dealer-related h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* ── Recommended Badge ─────────────────────────────────── */

/* Small badge – overlay on card image area */
.syn-dealer-card { position: relative; }

.syn-badge--small {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.18));
    transition: transform 0.2s ease;
}

.syn-dealer-card:hover .syn-badge--small { transform: scale(1.08); }

.syn-badge--small img {
    width: 44px;
    height: 44px;
    display: block;
    border-radius: 50%;
}

/* Large badge – on single page (recommendation banner) */
.syn-badge-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    margin-bottom: 24px;
    background: #fffdf5;
    border-left: 4px solid #C9952A;
    border-radius: 0 10px 10px 0;
}

.syn-badge--large img {
    width: 64px;
    height: 64px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

.syn-badge-text {
    flex: 1;
}

.syn-badge-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #C9952A;
    margin: 0 0 4px;
}

.syn-badge-desc {
    font-size: 0.9rem;
    color: #92400e;
    margin: 0;
    line-height: 1.5;
}

/* ── Embeddable Badge Section ──────────────────────────── */
.syn-embed-badge-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
}

.syn-embed-badge-section h2 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin: 0 0 8px;
    border: none;
    padding: 0;
}

.syn-embed-badge-intro {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0 0 16px;
}

.syn-embed-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
}

.syn-embed-tab {
    padding: 8px 18px;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}

.syn-embed-tab:hover { color: #2d3a8c; }

.syn-embed-tab--active {
    color: #2d3a8c;
    border-bottom-color: #2d3a8c;
}

.syn-embed-preview {
    display: flex;
    justify-content: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 16px;
    min-height: 160px;
}

.syn-embed-preview-inner[hidden] { display: none; }

.syn-embed-code-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}

.syn-embed-code {
    width: 100%;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8rem;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    resize: vertical;
    margin-bottom: 10px;
}

.syn-embed-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #2d3a8c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.syn-embed-copy-btn:hover { background: #1e2a6e; }

.syn-embed-copy-btn--copied {
    background: #16a34a !important;
}

/* Responsive */
@media (max-width: 768px) {
    .syn-dealer-directory h1 { font-size: 1.6rem; }
    .syn-dealer-header h1 { font-size: 1.5rem; }
    .syn-dealer-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .syn-dealer-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 180px;
        margin: -16px -16px 0;
    }
    .syn-dealer-gallery-img:first-child { grid-row: 1 / 3; }
    .syn-dealer-rating-overview { flex-direction: column; gap: 16px; }
    .syn-dealer-rating-big { text-align: center; min-width: auto; }
    .syn-dealer-header-top { flex-direction: column; align-items: flex-start; }
    .syn-dealer-sidebar-card { padding: 18px; }
    .syn-dealer-filter-bar { overflow-x: auto; flex-wrap: nowrap; }
    .syn-dealer-hero-placeholder { padding: 40px 20px; margin: -16px -16px 0; }
}

@media (max-width: 480px) {
    .syn-dealer-grid { grid-template-columns: 1fr; }
    .syn-dealer-meta-row { flex-direction: column; align-items: flex-start; gap: 2px; }
    .syn-dealer-meta-value { text-align: left; }
    .syn-dealer-city-nav { gap: 6px; padding: 12px; }
    .syn-dealer-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 220px;
    }
    .syn-dealer-gallery-img:first-child { grid-row: auto; }
    .syn-dealer-gallery-img:not(:first-child) { display: none; }
}

/* Hide WP admin bar if present */
.synonymer-page #wpadminbar { display: none !important; }
.synonymer-page { margin-top: 0 !important; }
