﻿.page-section-heading {
    margin-bottom: 1.25rem;
}

.divider-custom {
    margin-bottom: 2rem;
}
/* History + Pictures layout */
.history-layout {
    align-items: start;
}

/* Columns */
.history-column,
.pictures-column {
    display: flex;
    flex-direction: column;
}

/* Make the history feel dominant */
.history-viewer {
    margin-bottom: 0;
}

/* Responsive: stack on mobile */
@media (max-width: 992px) {
    .history-layout {
        grid-template-columns: 1fr;
    }
}

.history-viewer {
    background: #ffffff;
    border: 2px solid #1f4e79;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 4rem; /* IMPORTANT: separation before Court Pictures */
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.history-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

    .history-actions .btn {
        font-weight: 600;
    }

.history-viewer p {
    color: #374151;
    margin-bottom: 0.75rem;
}

.history-iframe {
    width: 100%;
    height: 70vh; /* less overpowering */
    min-height: 600px; /* still readable */
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f9fafb;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

#pictures {
    padding-top: 3rem;
}

    #pictures .page-section-heading {
        letter-spacing: 0.5px;
    }
.carousel-inner img {
    width: 100%;
    height: 50vh; /* 50% of viewport height */
    max-height: 420px; /* caps height on large screens */
    object-fit: cover;
    object-position: center;
    background: #000; /* prevents white flashes */
}

.carousel-control-prev,
.carousel-control-next {
    width: 44px; /* target size */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

.carousel-indicators button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    position: relative;
}

    .carousel-indicators button::before {
        content: "";
        width: 12px;
        height: 12px;
        border-radius: 50%;
        display: block;
        margin: auto;
        background: rgba(255,255,255,0.9);
    }

.carousel-indicators .active::before {
    background: #ffffff;
}
