/* Modern commercial layout for Platzer26 theme - Sharp edges, no rounded corners */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
}

body.commercial-site-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f1f3f5;
    color: #1a202c;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-outer-frame {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navbar */
.commercial-top-navbar {
    background: #ffffff;
    border-bottom: 2px solid #e2e8f0;
    padding: 16px 24px;
}

.navbar-inner-wrapper {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.navbar-brand-link {
    display: inline-block;
    line-height: 1;
}

.navbar-brand-image {
    display: block;
    height: 52px;
    width: auto;
    max-width: 100%;
}

.commercial-main-nav .nav-links-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    display: inline-block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #c5000f;
    border-bottom-color: #c5000f;
}

.navbar-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #c5000f;
    color: #ffffff;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.15s ease;
}

.navbar-phone-btn:hover {
    background: #a3000c;
    color: #ffffff;
}

/* Main Canvas */
.commercial-main-canvas {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
}

.commercial-card-container {
    width: 100%;
    max-width: 860px;
    background: #ffffff;
    border: 1px solid #d2d6dc;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 40px;
}

/* Hero Section with Team/Gubbarna Image */
.commercial-hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-image-frame {
    width: 100%;
    max-width: 680px;
    background: #f8fafc;
    border: 1px solid #d2d6dc;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.team-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Slideshow CTA Banner */
.commercial-slideshow-banner {
    width: 100%;
    max-width: 680px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a202c;
    color: #ffffff;
    padding: 16px 24px;
    text-decoration: none;
    margin-bottom: 28px;
    border-left: 4px solid #c5000f;
    transition: background 0.15s ease;
}

.commercial-slideshow-banner:hover {
    background: #2d3748;
}

.banner-title-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.banner-arrow {
    font-size: 20px;
    font-weight: 700;
    color: #c5000f;
}

/* Contact Actions Row */
.commercial-contact-row {
    width: 100%;
    max-width: 680px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 0 8px 0;
    border-top: 1px solid #e2e8f0;
}

.contact-action-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #c5000f;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    text-decoration: none;
    border: 1px solid #c5000f;
    transition: background 0.15s ease;
}

.contact-action-phone-btn:hover {
    background: #a3000c;
    border-color: #a3000c;
    color: #ffffff;
}

.contact-action-mail-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #1a202c;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    text-decoration: none;
    border: 1px solid #cbd5e0;
    transition: all 0.15s ease;
}

.contact-action-mail-btn:hover {
    border-color: #c5000f;
    color: #c5000f;
    background: #fafafa;
}

.contact-mail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-mail-item {
    display: inline-block;
}

/* SLIDESHOW VIEW (/arbeten/) */
.slideshow-view-wrapper {
    width: 100%;
}

.slideshow-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.slideshow-main-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a202c;
    letter-spacing: -0.01em;
}

.slideshow-controls-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slideshow-counter-badge {
    background: #edf2f7;
    color: #4a5568;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border: 1px solid #cbd5e0;
}

.slideshow-playback-btn {
    background: #1a202c;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.slideshow-playback-btn:hover {
    background: #c5000f;
}

.slideshow-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 520px;
    background: #0f172a;
    border: 1px solid #334155;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-stage {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.slide-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.slide-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.slideshow-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.15s ease;
}

.slideshow-nav-arrow:hover {
    background: #c5000f;
    border-color: #c5000f;
}

.arrow-prev {
    left: 0;
}

.arrow-next {
    right: 0;
}

/* Thumbnail Carousel */
.slideshow-thumbnails-carousel {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0 16px 0;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #edf2f7;
    margin-bottom: 24px;
}

.thumb-strip-btn {
    flex: 0 0 100px;
    height: 65px;
    background: #edf2f7;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.6;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.thumb-strip-btn:hover {
    opacity: 0.9;
}

.thumb-strip-btn.active {
    opacity: 1;
    border-color: #c5000f;
}

.thumb-strip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slideshow-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.back-home-button {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    text-decoration: none;
    transition: color 0.15s ease;
}

.back-home-button:hover {
    color: #c5000f;
}

.contact-quick-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #c5000f;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.contact-quick-phone-btn:hover {
    background: #a3000c;
}

/* Footer */
.commercial-site-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 24px;
    text-align: center;
}

.footer-copy-text {
    font-size: 13px;
    color: #718096;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .commercial-card-container {
        padding: 24px 16px;
    }

    .navbar-inner-wrapper {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .navbar-brand-link {
        margin: 0 auto;
    }

    .commercial-main-nav .nav-links-list {
        justify-content: center;
    }

    .navbar-phone-btn {
        justify-content: center;
    }

    .commercial-contact-row {
        flex-direction: column;
        gap: 12px;
    }

    .contact-action-phone-btn,
    .contact-action-mail-btn,
    .contact-mail-list {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}