:root {
    --bs-primary: #234F1E;
    --bs-primary-rgb: 35, 79, 30;
    --bs-link-color: #0a4fb5;
    --bs-link-color-rgb: 10, 79, 181;
    --bs-link-hover-color: #c9a84c;
    --gold: #c9a84c;
    --gold-light: #e0c06c;
    --green-light: #2e6627;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.navbar-dark {
    --bs-navbar-color: #c8d8c4;
    --bs-navbar-hover-color: #e0c06c;
    --bs-navbar-active-color: #e0c06c;
}

.navbar-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--gold) !important;
    letter-spacing: 1px;
}

.navbar-brand:hover {
    color: var(--gold-light) !important;
}

.navbar {
    border-bottom: 2px solid var(--gold);
}

.navbar-nav .nav-link.active {
    font-weight: 600;
}

.btn-outline-primary {
    --bs-btn-color: #234F1E;
    --bs-btn-border-color: #234F1E;
    --bs-btn-hover-bg: #234F1E;
    --bs-btn-hover-border-color: #234F1E;
    --bs-btn-active-bg: #234F1E;
    --bs-btn-active-border-color: #234F1E;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #faf7f0;
}

.container {
    flex: 1;
}

a {
    transition: color 0.15s;
}

h1, h2, h3 {
    color: #234F1E;
}

/* Homepage banner. The two height values are injected inline from
   params.hero in config.yaml; the fallbacks here just keep things sane if
   the banner is ever rendered without them. */
.hero {
    --hero-height: 420px;
    --hero-height-mobile: 240px;
    width: 100%;
    overflow: hidden;
    background: #234F1E;
}

/* A fixed height (rather than max-height) keeps every slide exactly the same
   size, which stops the carousel jumping as it cycles. */
.hero-image {
    width: 100%;
    height: var(--hero-height);
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-focus-top {
    object-position: center top;
}

.hero-focus-bottom {
    object-position: center bottom;
}

/* Caption text sits on a gradient so it stays legible over any photo. */
.hero-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 3rem 1rem 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    color: #fff;
    text-align: center;
    pointer-events: none;
}

.hero-caption span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero .carousel-item {
    position: relative;
}

.hero .carousel-item > a {
    display: block;
}

/* Bootstrap's default controls can disappear against pale photos. */
.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 10%;
}

.hero .carousel-control-prev-icon,
.hero .carousel-control-next-icon {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
}

.hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.35);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero .carousel-indicators .active {
    background-color: var(--gold);
}

.sidebar {
    padding-top: 1.5rem;
}

.sidebar-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0dcd4;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #234F1E;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}

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

.sidebar-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0ede6;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list time {
    font-size: 0.75rem;
    color: #545454;
    display: block;
}

.sidebar-list a {
    font-size: 0.9rem;
}

.home-intro h1 {
    margin-top: 0;
}

.alert-hire {
    background: #eaf4e8;
    border: 1px solid #c4dcc0;
    color: #234F1E;
}

.page p, .blog-post p, .concert p {
    max-width: 65ch;
}

.concert-map {
    width: 100%;
    height: 400px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.concert-listing.card {
    border: 1px solid #e0dcd4;
}

.site-footer {
    background: #234F1E;
    color: #9bb39b;
    font-size: 0.85rem;
    margin-top: auto;
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.15rem;
    }
    .hero-image {
        height: var(--hero-height-mobile);
    }
    /* Overlaid text is unreadable on a banner this short. */
    .hero-caption {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero .carousel-item {
        transition: none;
    }
}
