/* Shared reading scale for page content. */
.site-prose,
.site-prose.fs-5,
.site-prose .fs-5 {
    font-size: clamp(1rem, 0.88rem + 0.5vw, 1.25rem) !important;
    line-height: 1.7 !important;
}

.site-prose p,
.site-prose ul,
.site-prose ol,
.site-prose blockquote {
    margin-bottom: clamp(0.8rem, 0.7rem + 0.35vw, 1.15rem);
}

.site-prose h1,
.site-prose h2,
.site-prose h3,
.site-prose h4,
.site-prose h5,
.site-prose h6 {
    line-height: 1.2;
}

.site-prose h1:not(.display-1):not(.display-2):not(.display-3):not(.display-4):not(.display-5):not(.display-6) {
    font-size: clamp(1.8rem, 1.55rem + 1vw, 2.5rem);
}

.site-prose h2 {
    font-size: clamp(1.5rem, 1.35rem + 0.6vw, 2rem);
}

.site-prose h3 {
    font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.75rem);
}

.tap-beer-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .content-section {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .content-section > .container {
        margin-bottom: 1.5rem !important;
    }

    .maincontent.site-prose,
    .content-panel {
        margin-top: 0.75rem !important;
        margin-bottom: 0.75rem !important;
        padding: 1.15rem !important;
    }

    .site-prose > :first-child {
        margin-top: 0;
    }

    .site-prose > :last-child {
        margin-bottom: 0;
    }

    .site-prose .display-5 {
        font-size: 2rem;
    }

    .maincontent > h1:not(:first-child) {
        padding-top: 0.8rem;
    }

    .site-prose ul,
    .site-prose ol {
        padding-left: 1.35rem;
    }

    .content-panel .row.g-5 {
        --bs-gutter-y: 1.5rem;
    }

    .tap-beer-image {
        width: 56px;
        height: 56px;
    }

    .tap-beer-content {
        padding-left: 0.75rem !important;
    }

    .maincontent img[src*="/media/pages/our-story/"] {
        padding: 0.25rem !important;
    }
}
