﻿/*  OBJECT GRID VIEW ***/
.venue-card {
    max-width: 830px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    align-items: stretch;
    background: linear-gradient( to right, #FFFFFF 0%, #EEEAF9 100% );
    box-shadow: 0 12px 32px #0000001A;
}
/* Flex-wrapper inuti tabellcellen */
.skyhigh-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0; /* ← kritisk för att låta flexbarn krympa */
    width: 100%; /* fyller hela cellen */
}

/* Rubriken ska få ta upp all överbliven plats */
.skyhigh-title-wrap {
    margin: 0;
    /*flex: 1 1 auto; /* ← låter h2 växa/krympa */
    min-width: 0; /* ← tillåter ellipsis att fungera */
}

/* Själva länken i rubriken: klipp, ingen radbrytning */
.skyhigh-title {
    display: block; /* säkerställer att overflow fungerar snyggt */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* håll rubriken på en rad */
    color: inherit; /* ärv färg från h2 (justera vid behov) */
    text-decoration: none; /* valfritt */
}

/* "Läs mer →" ska stanna på en rad och inte tryckas ner */
.skyhigh-cell .read-more,
.skyhigh-cell span {
    white-space: nowrap;
    margin-top: 13px;
}

/* (Valfritt) säkerställ att <td> låter innehållet breda ut sig */
td[colspan].skyhigh-td {
    width: 100%;
}


        .image-side {
            flex: 0 0 260px;
            position: relative;
            /*width: 100%;
        height: 100%;*/
            max-width: 320px;
            object-fit: cover;
            border-radius: 28px;
            margin: 0px 0 20px 20px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }



        .title {
            font-size: 28px;
            font-weight: 700;
            color: #5a4aff;
            margin: 0 0 6px 0;
            line-height: 1.2;
        }

        .read-more {
            color: #5a4aff;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            margin-bottom: 16px;
            display: inline-block;
        }

            .read-more:hover {
                text-decoration: underline;
            }

        .tag {
            display: inline-flex;
            align-items: center;
            background: white;
            color: #5a4aff;
            padding: 8px 18px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 600;
            margin-right: 10px;
            margin-bottom: 12px;
        }

        .badges-row {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
            margin: 8px 0 24px;
        }

        .badge {
            background: white;
            color: #5a4aff;
            padding: 10px 18px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 14px;
        }

            .badge.purple {
                background: #5a4aff;
                color: white;
            }

            .badge.with-icon {
                display: flex;
                align-items: center;
                gap: 8px;
            }

        .cta-button {
            background: linear-gradient(135deg, #6b5bff, #5a4aff);
            color: white;
            border: none;
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 15px;
            cursor: pointer;
            align-self: flex-start;
            box-shadow: 0 8px 20px rgba(90,74,255,0.3);
            transition: all 0.3s;
        }

            .cta-button:hover {
                transform: translateY(-3px);
                box-shadow: 0 12px 28px rgba(90,74,255,0.4);
            }

        .description-title {
            font-weight: 700;
            color: #5a4aff;
            font-size: 17px;
            margin: 28px 0 10px;
        }

        .description {
            font-size: 15.5px;
            line-height: 1.7;
            color: #444;
            margin: 0;
        }



        .result-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: transform 0.2s;
        }

            .result-card:hover {
                transform: translateY(-4px);
            }

        .result-img {
            height: 180px;
            object-fit: cover;
        }

        .badge-loc {
            background: #e3f2fd;
            color: #1976d2;
            font-weight: 600;
            padding: 0.35rem 0.8rem;
            border-radius: 20px;
            font-size: 0.85rem;
        }

        .price-tag {
            background: #6a1b9a;
            color: white;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-weight: bold;
        }

        .capacity {
            font-size: 0.9rem;
            color: #555;
        }

        .btn-custom {
            background: #6a1b9a;
            color: white;
            border-radius: 30px;
            padding: 0.5rem 1.5rem;
            font-weight: 600;
        }

            .btn-custom:hover {
                background: #4a148c;
            }

        .map-preview {
            background: #e0f2f1;
            border-radius: 12px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #00695c;
            font-weight: bold;
        }

        .sidebar-box {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .results-bar {
            padding: 16px 20px;
            margin-top: 0px;
            margin-bottom: 24px;
        }
        /* Breadcrumb */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #6B6B7A;
            margin-bottom: 12px;
            white-space: nowrap;
        }

            .breadcrumb a {
                color: #6B6B7A;
                text-decoration: none;
            }

                .breadcrumb a:hover {
                    color: #4c37d9;
                }

            .breadcrumb .sep {
                color: #9A9AAF;
            }

            .breadcrumb .current {
                color: #9A9AAF;
            }
        /* Layout row */
        .results-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }
        /* Title */
        .results-title {
            margin: 0;
            font-size: 22px;
            font-weight: 700;
            color: #2A2A33;
        }
        /* Button group */
        .actions {
            display: flex;
            gap: 12px;
        }
        /* Buttons (no icons) */
        .btn {
            display: inline-flex;
            align-items: center;
            padding: 10px 16px;
            border-radius: 999px;
            font-size: 14px;
            font-weight: 600;
            line-height: 1;
            cursor: pointer;
            border: 1px solid transparent;
            transition: background 0.2s ease, border-color 0.2s ease, transform 0.05s ease;
            white-space: nowrap;
        }
        /* Purple solid */
        .btn-primary {
            background: #6F48EB;
            color: white;
            box-shadow: 0 6px 14px rgba(111, 72, 235, 0.25);
        }

            .btn-primary:hover {
                background: #5d39e3;
            }

            .btn-primary:active {
                transform: translateY(1px);
            }
        /* Soft outline purple */
        .btn-secondary {
            background: #F3EDFF;
            color: #6F48EB;
            border-color: rgba(111, 72, 235, 0.35);
        }

            .btn-secondary:hover {
                background: #ECE3FF;
            }

            .btn-secondary:active {
                transform: translateY(1px);
            }
        /* 4 breaker ***/

        .promo-card {
            border-radius: 18px;
            border: 1px solid rgba(120, 90, 255, 0.6);
            box-shadow: 0 0 12px rgba(120, 90, 255, 0.35);
            overflow: hidden; /* important for button rounding */
            background: white;
            max-width: 830px;
            margin-left: 23px;
        }
        /* Layout inside card */
        .promo-card-body {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
        }
        /* Left text styling */
        .promo-text {
            font-size: 15px;
            color: #7a5cff;
            font-weight: 500;
            white-space: nowrap;
        }
        /* Blue strong part */
        .promo-title {
            font-weight: 700;
            color: #00a6ff;
        }
        /* Purple highlight */
        .promo-highlight {
            font-weight: 700;
            color: #4b3cff;
        }

        .promo-card-body {
            padding: 2px 5px 2px 14px;
        }
        /* Button flush right */
        .promo-btn {
            background: linear-gradient(180deg, #9b50ff, #5c3cff);
            color: white !important;
            font-weight: 600;
            font-size: 14px;
            padding: 12px 22px;
            border: none;
            text-decoration: none;
            border-radius: 0 16px 16px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            /* ✅ Tiny overlap to remove seam */
            margin-right: -2px;
            /* keep size correct */
            height: 100%;
        }
            /* Button hover */
            .promo-btn:hover {
                background: linear-gradient(180deg, #6a4cff, #4a2cff);
            }
        /* ────────────────────────────────
                RIGHT SIDE: Map preview + text
               ──────────────────────────────── */
        .right-sidebar {
            width: 360px;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            gap: 24px;
            position: sticky;
            top: 20px;
        }
        /* Small map box – exactly like the site */
        .map-box {
            background: #f0f8ff;
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.07);
            text-align: center;
            font-size: 15px;
            color: #444;
        }

            .map-box img {
                width: 100%;
                height: 200px;
                object-fit: cover;
                border-radius: 14px;
                margin-bottom: 12px;
                background: #ddd;
            }

            .map-box .location {
                font-weight: 600;
                color: #333;
            }
        /* Text sidebar panel – exact style */
        .text-panel {
            background: white;
            border-radius: 20px;
            padding: 28px 26px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.07);
            line-height: 1.7;
            font-size: 15.5px;
            color: #444;
        }

            .text-panel h2 {
                font-size: 22px;
                font-weight: 700;
                color: #5c4bff;
                margin: 0 0 16px 0;
                line-height: 1.3;
            }

            .text-panel p {
                margin: 14px 0;
            }

            .text-panel strong {
                color: #333;
            }

            .text-panel a {
                color: #5c4bff;
                font-weight: 600;
                text-decoration: none;
            }

                .text-panel a:hover {
                    text-decoration: underline;
                }
        /***BUBBLES*/

        .bubble-wrap {
            margin-top: 12px;
        }


.bubble {
    display: inline-flex !important; /* överstyr ev. .d-flex */
    /* width: fit-content;            /* valfritt – inline-flex krymper ändå */
    background-color: #fffefe;
    border: 1px solid silver;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 15px;
    color: #6a4fe0;
    font-weight: 500;
    white-space: nowrap;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
    box-sizing: border-box; /* mer förutsägbara mått */
}

    /* Hindra barn från att skapa slack / växa */
    .bubble > * {
        flex: 0 0 auto;
        margin: 0;
    }

        .bubble-icon {
            width: 18px;
            height: 18px;
            object-fit: contain;
        }
        /* Responsive fixes */
        @media (max-width: 768px) {
            .results-title {
                font-size: 18px;
            }

            .results-bar {
                margin-top: -20px;
            }
        }

        @media (max-width: 480px) {
            .actions {
                width: 100%;
                flex-wrap: wrap;
            }

            .btn {
                width: auto;
                padding: 10px 14px;
            }
        }



        @media (max-width: 768px) {
            .hero-bg {
                height: 50vh;
            }

            .result-card .col-md-4 {
                order: 1;
            }

            .result-card .col-md-8 {
                order: 2;
            }

            .map-preview {
                height: 200px;
                margin-top: 1rem;
            }
        }
