:root {
    --brand-accent: #0d6efd;
    --surface-muted: #f8f9fa;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: #212529;
}

.site-main {
    flex: 1 0 auto;
}

.navbar-brand {
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.lang-switcher .form-select {
    min-width: 7rem;
}

.lang-switcher-mobile .form-select {
    min-width: 4.25rem;
    width: 4.25rem;
    padding-right: 1.75rem;
    text-transform: uppercase;
}

.hero .lead {
    font-size: 1.05rem;
}

.card-img-top,
.gallery-image {
    aspect-ratio: 4 / 2.6;
    object-fit: cover;
}

.placeholder-image,
.placeholder-poster {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: #6c757d;
    min-height: 180px;
}

.placeholder-poster {
    min-height: 240px;
}

.object-fit-cover {
    object-fit: cover;
}

.location-card:hover,
.production-card:hover {
    transform: translateY(-2px);
    transition: transform 0.15s ease;
}

.search-panel .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.search-panel .search-submit {
    min-width: 7rem;
    white-space: nowrap;
}

.content-block {
    line-height: 1.65;
}

.location-card-media {
    overflow: hidden;
}

.card-carousel .carousel-inner,
.card-carousel .carousel-item,
.card-carousel .card-img-top {
    border-radius: 0;
}

.card-carousel-indicators {
    margin-bottom: 0.35rem;
}

.card-carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
}

.card-carousel-control {
    width: 12%;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.location-card:hover .card-carousel-control,
.card-carousel:focus-within .card-carousel-control {
    opacity: 1;
}

.card-carousel-control .carousel-control-prev-icon,
.card-carousel-control .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.filmed-here-list .filmed-here-item + .filmed-here-item {
    padding-top: 1rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.filmed-poster {
    width: 72px;
    height: 108px;
    object-fit: cover;
}

.filmed-still {
    width: 120px;
    height: 78px;
    object-fit: cover;
}

.filmed-stills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.filmed-still-link:first-child {
    grid-column: 1 / -1;
}

.filmed-still-large {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.filmed-still-link:hover .filmed-still-large {
    opacity: 0.92;
}

.filmed-poster-placeholder {
    width: 72px;
    height: 108px;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.filmed-poster-link:hover .filmed-poster {
    opacity: 0.92;
}

@media (max-width: 575.98px) {
    .display-6 {
        font-size: calc(1.2rem + 1vw);
    }

    .carousel-caption {
        display: block !important;
        position: static;
        background: transparent !important;
        color: #6c757d !important;
        padding: 0.5rem 0 0 !important;
        text-shadow: none;
    }
}

