/*
 * ThemeSchmidt: theme stylesheet.
 *
 * Session st4 (2026-09-16) rebuilt this file on the live site's own CSS:
 * Schmidt's `style2.css` and `creative.css` as www.exclusivenaturalstone.com
 * serves them (fetched under THE STONE NETWORK FENCE, C:\tmp\st4-live-assets),
 * plus the inline styles in live's templates. The bar is Elbert's
 * decision A: the site resembles live and looks professional; it is not
 * a pixel copy. Every value below that is live's says so. Font families
 * are NOT live's: live uses Open Sans for headings and the system stack
 * for body text, this theme keeps Raleway for headings and Open Sans for
 * body text until Elbert decides (BACKLOG, the ThemeSchmidt font entry).
 *
 * The page, as live builds it:
 *
 *   body            #222, white text
 *   .mainbody       #463c32d6 over it: the brown every page shows
 *   header          a photo, 100vh on the home, 50vh elsewhere
 *   bands           the brown (welcome), a fixed quarry photo (stones and
 *                   sections), a translucent grey (projects)
 *   #contact        outside .mainbody, so on the #222 body
 *
 * Classes this file styles, by origin:
 *
 *   theme templates    .schmidt-*  (masthead, bands, cards, gallery,
 *                      link boxes, contact band), .page-hero, .page-body,
 *                      .section-heading
 *   app elements that  .cms-section-*, .cms-block-*, .cms-card-*,
 *   still render here  .cms-feature-grid-*, .cms-scroll-arrow (cover
 *                      sections, the feature grid, the news feed)
 *   Bootstrap          .btn, .btn-light, .btn-primary, the navbar and the
 *                      dropdown of the shared language switcher (scoped to
 *                      #mainNav, so no other theme or layout is touched)
 *
 * The layout sets `data-bs-theme="dark"` on <body>, so Bootstrap's own
 * components (forms, cards, alerts, dropdowns) draw their dark variants on
 * the dark page instead of white boxes with white text.
 *
 * Photos: webroot/img/header*.jpg are live's own files (README.md there).
 */

/* =========================================================================
 * 1. Design tokens
 *
 * One source of truth for the palette. The names describe the role, the
 * values are live's (the file each came from is in the comment).
 * ========================================================================= */
:root {
    --schmidt-body-bg: #222;                   /* style2.css body */
    --schmidt-mainbody-bg: #463c32d6;          /* style2.css .mainbody */
    --schmidt-text: #fff;                      /* style2.css body */
    --schmidt-text-faded: rgba(255, 255, 255, 0.7); /* creative.css .text-faded */
    --schmidt-link: #eee;                      /* creative.css a */
    --schmidt-link-hover: #fff;                /* creative.css a:hover */
    --schmidt-rule: #a69784;                   /* creative.css hr */
    --schmidt-accent: #c1a45e;                 /* creative.css .text-primary */
    --schmidt-accent-hover: #c1a82d;           /* creative.css .btn-primary:hover */
    --schmidt-band-grey: #515152b5;            /* creative.css #portfolio */
    --schmidt-nav-scrolled: rgba(28, 13, 3, 0.82); /* live's inline scroll script */
    --schmidt-card-fallback: #635f53;          /* the cards' inline style */
    --schmidt-card-border: #605f5e;            /* the cards' inline style */
    --schmidt-shadow: 1px 1px 6px rgb(0, 0, 0); /* style2.css .text-shadow and .logo */

    /*
     * The card overlay, live's inline gradient on every card and on the
     * stone, section, project and page headers.
     */
    --schmidt-card-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 1%, rgba(0, 0, 0, 0.17) 100%);

    /* Font stacks: Elbert's call, see the header comment. */
    --schmidt-font-display: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    --schmidt-font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* =========================================================================
 * 2. The page frame
 * ========================================================================= */
body,
body[data-bs-theme] {
    /*
     * Bootstrap 5 reads these variables for the body and for its
     * components; setting them here is what makes the whole page dark.
     * The attribute selector outranks Bootstrap's own
     * `[data-bs-theme=dark]` values, which would otherwise make links blue.
     */
    --bs-body-bg: var(--schmidt-body-bg);
    --bs-body-color: var(--schmidt-text);
    --bs-link-color: var(--schmidt-link);
    --bs-link-color-rgb: 238, 238, 238;
    --bs-link-hover-color: var(--schmidt-link-hover);
    --bs-link-hover-color-rgb: 255, 255, 255;
    background-color: var(--schmidt-body-bg);
    color: var(--schmidt-text);
    font-family: var(--schmidt-font-body);
    font-weight: 400;
}

/* live: creative.js scrolls smoothly to #contact and to the next band */
html {
    scroll-behavior: smooth;
}

/* Bootstrap 4 (live) draws links without an underline until hover. */
a {
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    text-decoration: underline;
}

/*
 * Live runs Bootstrap 4, whose container stops at 1140 px; Bootstrap 5
 * grows to 1320 px from 1400 px up, which widens every text column, the
 * nav bar and the rules on a desktop screen. Live's width, here.
 */
@media (min-width: 1200px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1140px;
    }
}

.mainbody {
    background-color: var(--schmidt-mainbody-bg);
}

/*
 * A page that does not open with a header (the 404 page, the sign-in
 * form, the cart) would sit under the fixed nav bar. Live has no such
 * page in its theme; this is room for the nav, nothing more.
 */
.mainbody:not(:has(> header:first-child)) {
    padding-top: 6rem;
    padding-bottom: 3rem;
}

/* live: creative.css `p { font-size: 1.2em }` */
.mainbody p,
.schmidt-footer-intro p {
    font-size: 1.2em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--schmidt-font-display);
    font-weight: 500;
    line-height: 1.2;
}

/* live: creative.css hr, a short centred rule in the warm tan */
hr {
    max-width: 56%;
    margin: 1.5rem auto;
    border: 0;
    border-top: 2px solid var(--schmidt-rule);
    opacity: 1;
}

/* live: creative.css .section-heading */
.section-heading {
    margin-top: 0;
    font-size: 3em;
}

/* live: style2.css .logo, the Raleway display type of the headers */
.schmidt-logo {
    font-family: 'Raleway', var(--schmidt-font-display);
    text-shadow: var(--schmidt-shadow);
}

.text-faded {
    color: var(--schmidt-text-faded);
}

/*
 * Flash messages float at the top right, over the page, as live's
 * `.alert` does (style2.css), instead of hiding under the fixed nav bar.
 */
.schmidt-flash {
    position: fixed;
    top: 80px;
    right: 30px;
    z-index: 1050;
    width: auto;
    max-width: 100%;
}

.schmidt-flash:empty {
    display: none;
}

/*
 * A Bootstrap card on this dark page is drawn light: the sign-in,
 * password and account pages render one in the admin skin, which gives
 * it a white face. The dark values this file sets on <body> would
 * otherwise reach inside it (white text, near-black inputs on a white
 * card). The admin skin's own tokens are used where it is loaded,
 * Bootstrap's light defaults where it is not.
 */
.mainbody .card {
    --bs-body-bg: var(--lp-bg, #fff);
    --bs-body-color: var(--lp-ink, #212529);
    --bs-emphasis-color: #000;
    --bs-secondary-color: rgba(33, 37, 41, 0.75);
    --bs-secondary-bg: #e9ecef;
    --bs-tertiary-bg: #f8f9fa;
    --bs-border-color: var(--lp-border, #dee2e6);
    --bs-link-color-rgb: var(--lp-blue-rgb, 13, 110, 253);
    --bs-link-hover-color-rgb: var(--lp-blue-dark-rgb, 10, 88, 202);
    --bs-card-bg: var(--lp-surface, #fff);
    color: var(--bs-body-color);
    color-scheme: light;
}

/* =========================================================================
 * 3. Buttons
 *
 * live: creative.css `.btn`, every button a pill with bold capitals. Here
 * on the variants the theme's templates use (.btn-light for the card and
 * link buttons, .btn-primary and .btn-outline-primary for actions), so the
 * structural buttons (gallery arrows, the language flag) keep their shape.
 * ========================================================================= */
.btn-light,
.btn-primary,
.btn-outline-primary {
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 300px;
    white-space: normal;
}

.btn-light {
    border: none;
}

/* live: creative.css .btn-xl */
.btn-xl {
    padding: 1rem 2rem;
}

/*
 * The gold is set on the properties as well as the variables: the
 * sign-in page loads the admin skin after this file, and that skin sets
 * its own button variables. Until st4 this theme's gold won there by
 * setting the properties; it still does.
 */
.btn-primary {
    background-color: var(--schmidt-accent);
    border-color: var(--schmidt-accent);
    color: #1c0d03;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #1c0d03;
    background-color: var(--schmidt-accent-hover);
    border-color: var(--schmidt-accent-hover);
}

.btn-primary {
    --bs-btn-bg: var(--schmidt-accent);
    --bs-btn-border-color: var(--schmidt-accent);
    --bs-btn-color: #1c0d03;
    --bs-btn-hover-bg: var(--schmidt-accent-hover);
    --bs-btn-hover-border-color: var(--schmidt-accent-hover);
    --bs-btn-hover-color: #1c0d03;
    --bs-btn-active-bg: var(--schmidt-accent-hover);
    --bs-btn-active-border-color: var(--schmidt-accent-hover);
    --bs-btn-active-color: #1c0d03;
    --bs-btn-focus-shadow-rgb: 193, 164, 94;
}

.btn-outline-primary {
    --bs-btn-color: var(--schmidt-accent);
    --bs-btn-border-color: var(--schmidt-accent);
    --bs-btn-hover-bg: var(--schmidt-accent);
    --bs-btn-hover-border-color: var(--schmidt-accent);
    --bs-btn-hover-color: #1c0d03;
    --bs-btn-active-bg: var(--schmidt-accent-hover);
    --bs-btn-active-border-color: var(--schmidt-accent-hover);
    --bs-btn-active-color: #1c0d03;
    --bs-btn-focus-shadow-rgb: 193, 164, 94;
}

/* =========================================================================
 * 4. Nav bar (#mainNav)
 *
 * live: creative.css #mainNav. Transparent over the header, the brand
 * hidden at the top on a wide screen, the items right-aligned in bold
 * capitals with a dark shadow. Once the page scrolls, theme.js adds
 * `.navbar-scrolled` and the bar takes live's dark brown, and the brand
 * shows (live's inline scroll script does both).
 * ========================================================================= */
#mainNav {
    background-color: transparent;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    transition: background-color 0.2s;
    font-family: var(--schmidt-font-body);
}

#mainNav.navbar-scrolled,
#mainNav:has(.navbar-collapse.show) {
    background-color: var(--schmidt-nav-scrolled);
}

#mainNav .navbar-brand {
    font-family: var(--schmidt-font-display);
    font-size: 1.7em;
    color: #eee;
    transition: color 0.2s;
}

@media (min-width: 992px) {
    #mainNav:not(.navbar-scrolled) .navbar-brand {
        color: transparent;
    }
}

/* A phone has no room for the brand at 1.7em beside the menu button. */
@media (max-width: 575.98px) {
    #mainNav .navbar-brand {
        max-width: calc(100% - 4rem);
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1.2rem;
    }
}

#mainNav .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-size: 1.19rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
}

#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link:focus,
#mainNav .navbar-nav .nav-link.active {
    color: #fff;
    text-decoration: none;
}

/* Live's menu prints no icons, whatever the menulink's icon column holds. */
#mainNav .navbar-nav .nav-link > i {
    display: none;
}

/* =========================================================================
 * 5. Language switcher (the shared element, dressed inside #mainNav only)
 *
 * live: the current flag with Bootstrap 4's caret, and a translucent white
 * menu whose items are bold italic with a white shadow (style2.css). The
 * shared element renders no caret on purpose, so the caret is drawn here,
 * for this theme alone; every other layout keeps the element as it is.
 * ========================================================================= */
#mainNav .dropdown > .btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem !important;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}

#mainNav .dropdown > .btn::after {
    content: "";
    display: inline-block;
    margin-left: 0.4em;
    border-top: 0.3em solid #fff;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}

#mainNav .dropdown img {
    opacity: 0.8;
}

#mainNav .dropdown > .btn:hover img,
#mainNav .dropdown > .btn:focus img {
    opacity: 1;
}

#mainNav .dropdown-menu {
    --bs-dropdown-bg: #ffffff9e;
    --bs-dropdown-link-color: #212529;
    --bs-dropdown-link-hover-color: #000;
    --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.6);
    --bs-dropdown-link-active-color: #000;
    --bs-dropdown-link-active-bg: rgba(255, 255, 255, 0.8);
    --bs-dropdown-border-color: rgba(0, 0, 0, 0.15);
}

#mainNav .dropdown-item {
    font-style: italic;
    font-weight: 700;
    text-shadow: 1px 1px 1px rgb(255, 255, 255);
}

/* =========================================================================
 * 6. Home masthead
 *
 * live: creative.css header.masthead. Full screen, the aerial quarry photo
 * under a dark gradient, SCHMIDT at 5.6em and the tagline at 4.4em
 * (inline on live), the intro at 1.8rem light, and the bouncing chevron.
 * ========================================================================= */
.schmidt-masthead {
    height: 100vh;
    min-height: 550px;
    background-color: var(--schmidt-card-fallback);
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 1%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.17) 100%),
        url("../img/header.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.schmidt-masthead-title {
    font-size: 5.6em;
}

.schmidt-masthead-tagline {
    font-size: 4.4em;
}

.schmidt-masthead-intro {
    max-width: 83.333%;
    margin: 1.5rem auto 0;
}

.schmidt-masthead-intro p {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: var(--schmidt-shadow);
}

/*
 * The chevron under the intro (live: style2.css .arrow.bounce, a 40 px
 * white chevron that bounces twice, four seconds each).
 */
.schmidt-scroll-arrow {
    display: block;
    width: 40px;
    margin: 5rem auto 0;
    font-size: 40px;
    line-height: 1;
    color: #fff;
    animation: schmidt-bounce 4s 2;
}

.schmidt-scroll-arrow:hover,
.schmidt-scroll-arrow:focus {
    color: #fff;
    text-decoration: none;
}

@keyframes schmidt-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* Small screens: live's inline 5.6em / 4.4em would not fit. */
@media (max-width: 767.98px) {
    .schmidt-masthead-title {
        font-size: 3.5em;
    }
    .schmidt-masthead-tagline {
        font-size: 2.2em;
    }
    .schmidt-masthead-intro p {
        font-size: 1.25rem;
    }
}

/* =========================================================================
 * 7. Page headers (stone, section, project, page; the two index pages)
 *
 * live: a 50vh header with the item's photo under the card gradient,
 * three line breaks above a 5em Raleway title, and a 1.4em subtitle
 * (inline styles in live's templates). The templates set the photo as
 * an inline background-image; the gradient sits in ::before.
 * ========================================================================= */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 22rem;
    padding: 0;
    background-color: var(--schmidt-card-fallback);
    background-size: cover;
    background-position: 0 0;
    background-repeat: no-repeat;
    overflow: hidden;
    color: #fff;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--schmidt-card-overlay);
    pointer-events: none;
}

.page-hero > .container {
    position: relative;
    z-index: 1;
    /* live's three <br> above the title push it below the centre */
    padding-top: 4.5rem;
}

.page-hero-supertitle {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.875rem;
    color: var(--schmidt-accent);
    margin-bottom: 0.5rem;
}

/* live: the title and subtitle sit in a centred col-lg-10 */
.page-hero-title,
.page-hero .page-hero-subtitle {
    max-width: 83.333%;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-title {
    font-family: 'Raleway', var(--schmidt-font-display);
    font-size: 5em;
    text-shadow: var(--schmidt-shadow);
    margin-bottom: 0.5rem;
}

.page-hero .page-hero-subtitle {
    font-family: var(--schmidt-font-display);
    font-size: 1.4em;
    font-weight: 500;
    text-shadow: var(--schmidt-shadow);
}

/* live: the project page's header is a full-width column, subtitle 1.8rem */
.page-hero.schmidt-hero-project .page-hero-title,
.page-hero.schmidt-hero-project .page-hero-subtitle {
    max-width: none;
}

.page-hero.schmidt-hero-project .page-hero-subtitle {
    font-size: 1.8rem;
}

.page-hero-body {
    max-width: 83.333%;
    margin: 0 auto;
    text-shadow: var(--schmidt-shadow);
}

/*
 * The stones index (live: header.masthead-prod): the Carrara quarry photo,
 * fixed, under a light gradient, at least 550 px high, an 8em title.
 */
.page-hero.schmidt-hero-stones {
    min-height: 550px;
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 1%, rgba(0, 0, 0, 0.34) 50%, rgba(0, 0, 0, 0) 100%),
        url("../img/header-exclusive-stones.jpg");
    background-position: center center;
    background-attachment: fixed;
    text-shadow: 0 0 4px rgba(84, 84, 84, 1);
}

.page-hero.schmidt-hero-stones .page-hero-title {
    font-size: 8em;
}

/*
 * The projects index (live: header.masthead-project): the blueprint photo,
 * no gradient, at least 550 px high, a 6em title.
 */
.page-hero.schmidt-hero-projects {
    min-height: 550px;
    background-image: url("../img/header-projects.jpg");
    background-position: center center;
    text-shadow: 0 0 4px rgba(84, 84, 84, 1);
}

.page-hero.schmidt-hero-projects::before,
.page-hero.schmidt-hero-stones::before {
    display: none;
}

.page-hero.schmidt-hero-projects .page-hero-title {
    font-size: 6em;
}

/* live centres these two headers vertically, with no line breaks above */
.page-hero.schmidt-hero-stones > .container,
.page-hero.schmidt-hero-projects > .container {
    padding-top: 0;
}

@media (max-width: 767.98px) {
    .page-hero-title,
    .page-hero.schmidt-hero-stones .page-hero-title,
    .page-hero.schmidt-hero-projects .page-hero-title {
        font-size: 3em;
    }
}

/* =========================================================================
 * 8. Page body
 *
 * live: `.container` with `padding: 2em 0 6em` under every header. The
 * WYSIWYG text is white on the brown; lists and the privacy page's
 * `.option` lines stay at body size.
 * ========================================================================= */
/* top and bottom only: the container keeps its own side padding */
.page-body {
    padding-top: 2em;
    padding-bottom: 6em;
    /* a long address or URL in the text would widen a phone screen */
    overflow-wrap: anywhere;
}

.page-body h2 {
    font-size: 2rem;
}

/* live: the section page centres its text and rules it off */
.schmidt-section-text {
    text-align: center;
}

/* =========================================================================
 * 9. Homepage bands
 *
 * Drawn by the schmidt_band element (templates/element/schmidt_band.php).
 * live: creative.css section { padding: 5rem 0 }.
 * ========================================================================= */
.schmidt-band {
    position: relative;
    padding: 5rem 0;
}

/*
 * welcome (live: section#whoarewe): no background of its own, heading
 * 3em centred with the short rule under it, the text centred in faded
 * white, the feature boxes on the same band.
 */
.schmidt-band-welcome {
    text-align: center;
}

.schmidt-band-welcome .cms-block-title {
    font-size: 3em;
    margin-bottom: 0;
}

.schmidt-band-welcome .cms-block-title::after {
    content: "";
    display: block;
    max-width: 56%;
    margin: 1.5rem auto;
    border-top: 2px solid var(--schmidt-rule);
}

/* live: `.text-faded.mb-5`, then the boxes' own `mt-5` */
.schmidt-band-welcome .cms-block-body {
    color: var(--schmidt-text-faded);
    margin-bottom: 3rem;
}

.schmidt-band-welcome .cms-feature-grid-item {
    padding-top: 3rem;
}

/*
 * offer (live: section.productsportfolio): the Carrara quarry photo,
 * fixed, under a light gradient; the heading in a dark rounded box.
 */
.schmidt-band-offer,
.schmidt-featured {
    background-color: #212529;
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 1%, rgba(0, 0, 0, 0.34) 50%, rgba(0, 0, 0, 0) 100%),
        url("../img/header-exclusive-stones.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.schmidt-feed-offer .schmidt-feed-header {
    padding: 0.5rem 15px 2.5rem;
    border-radius: 0.3em;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 1%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.17) 100%);
}

.schmidt-feed-header .section-heading {
    margin-bottom: 0.5rem;
}

/* projects (live: section#portfolio): a translucent grey over the brown */
.schmidt-band-projects {
    background-color: var(--schmidt-band-grey);
}

.schmidt-feed-projects .schmidt-feed-header {
    padding-bottom: 1.5rem;
}

.schmidt-projects-link {
    margin: 3rem 0 0;
}

/*
 * The stones page's featured row continues the header's photo (live draws
 * the header and this band over the same fixed photo).
 */
.schmidt-featured {
    padding: 5rem 0;
}

/* =========================================================================
 * 10. Feature grid (the app's typed block, on the welcome band)
 *
 * live: three service boxes, a 4x gold Font Awesome icon over an h3.
 * ========================================================================= */
.cms-feature-grid {
    margin: 2rem 0 0;
}

.cms-feature-grid-title {
    text-align: center;
    margin-bottom: 1rem;
}

.cms-feature-grid-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.cms-feature-grid-item {
    text-align: center;
    padding: 1.5rem 1rem 0;
}

.cms-feature-grid-item > i {
    display: inline-block;
    font-size: 4em;
    color: var(--schmidt-accent);
    margin-bottom: 1rem;
}

.cms-feature-grid-item-title {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

/* =========================================================================
 * 11. Cards (StoneCardsCell)
 *
 * live: the inline style on every card. A rounded box with a 1em margin
 * and padding over the item's photo under the dark gradient, the photo
 * covering from the top left. Inside, live's col-12 adds 15 px each side.
 * The photo arrives as --schmidt-photo so the gradient lives here.
 *
 *   offer    border, 10em minimum height, line at 70 % white
 *   project  no border, 10em minimum height, line in full white
 *   small    no border, no minimum height, teaser text, small dark button
 * ========================================================================= */
.schmidt-card {
    margin: 1em;
    padding: 1em calc(1em + 15px);
    min-height: 10em;
    border-radius: 1em;
    background-color: var(--schmidt-card-fallback);
    background-image: var(--schmidt-card-overlay), var(--schmidt-photo, none);
    background-size: cover;
    color: #fff;
}

/*
 * A list in the container spans the container's full 1140 px, as live's
 * `.row` does with its negative margins (Bootstrap 5's container pads
 * 12 px each side). Not in a full-width band: that would overflow.
 */
.container > .schmidt-cards {
    margin-left: -12px;
    margin-right: -12px;
}

.schmidt-card-offer {
    border: 1px solid var(--schmidt-card-border);
}

.schmidt-card-small {
    min-height: 0;
}

.schmidt-card-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.schmidt-card-title a {
    color: var(--schmidt-link);
}

.schmidt-card-title a:hover,
.schmidt-card-title a:focus {
    color: #fff;
    text-decoration: none;
}

/* live: the projects page keeps Bootstrap's column padding around its cards */
.schmidt-project-index .schmidt-cards > div {
    padding-left: 15px;
    padding-right: 15px;
}

/* live: `.text-shadow` on the name links of the lists */
.schmidt-card-small .schmidt-card-title a,
.schmidt-project-index .schmidt-card-title a {
    text-shadow: var(--schmidt-shadow);
}

.schmidt-card-line {
    margin-bottom: 0.5rem;
}

/* live: h5.fadehover, 1.1em at 70 % */
.schmidt-card-offer .schmidt-card-line {
    font-size: 1.1em;
    opacity: 0.7;
}

.schmidt-card-project .schmidt-card-line {
    font-size: 1.25rem;
}

.schmidt-project-index .schmidt-card-line {
    text-shadow: var(--schmidt-shadow);
}

/* live: the teaser is a bare text node, so body size */
.mainbody .schmidt-card-teaser {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.schmidt-card-button {
    max-width: 100%;
    overflow: hidden;
}

/* live: the list's inline button style */
.schmidt-card-small .schmidt-card-button {
    font-size: 10px;
    color: #ded996;
    background-color: #00000047;
}

.schmidt-card-small .schmidt-card-button:hover,
.schmidt-card-small .schmidt-card-button:focus {
    color: #fff;
    background-color: #00000080;
}

/*
 * live: div.logo 3em "Ons leveringsprogramma", left aligned. Scoped under
 * .mainbody to outrank the `.mainbody p` size rule.
 */
.mainbody .schmidt-delivery-program {
    margin: 3rem 0 0.5rem 0.25rem;
    font-size: 3em;
    overflow-wrap: anywhere;
}

/* Phones: the long Dutch and German words would run off the screen. */
@media (max-width: 575.98px) {
    .mainbody .schmidt-delivery-program,
    .section-heading {
        font-size: 2em;
        overflow-wrap: anywhere;
    }
}

/* =========================================================================
 * 12. Link boxes (StoneLinksCell) and the project date box
 *
 * live: the inline style of the projects, sections and materials boxes.
 * ========================================================================= */
/* live: the boxes stack without a gap */
.schmidt-link-box {
    margin-bottom: 0 !important;
    border: thin solid #1f0a0a;
    border-radius: 4px;
    background-color: #525050;
    color: #b3b2b0;
    padding: 1em;
    line-height: 2em;
}

.schmidt-link-box .btn {
    margin: 0 0.25rem 0.25rem 0;
}

.schmidt-date-box {
    color: #fff;
}

/* =========================================================================
 * 13. Gallery (the theme's gallery_carousel element)
 *
 * live: a slick slider. One image at a time, 28em high, scaled to fit on
 * the brown, a dark rounded caption over its lower part; under it a strip
 * of three 8em thumbnails centred on the current image, with arrows at the
 * sides and a part of the neighbouring thumbnails showing at both edges.
 * Here Bootstrap's carousel plays the big image and theme.js keeps the
 * strip centred on it.
 * ========================================================================= */
.schmidt-gallery {
    margin: 1rem 0;
}

.schmidt-gallery .page-gallery-image {
    width: 100%;
    height: 28em;
    object-fit: contain;
    background: transparent;
}

.schmidt-gallery .carousel-caption {
    right: auto;
    left: 10%;
    bottom: 20%;
    width: 80%;
    padding: 0.75rem;
    border-radius: 20px;
    background-color: rgba(13, 13, 18, 0.63);
}

.schmidt-gallery .carousel-caption h5 {
    margin: 0;
    color: #fff;
}

/* the bottom margin is the room live's slider keeps for its dots */
.schmidt-gallery-strip {
    position: relative;
    margin: 0.25rem 0 2rem;
    padding: 0 25px;
}

.schmidt-gallery-thumbs {
    position: relative;
    display: flex;
    overflow-x: auto;
    padding: 0 50px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.schmidt-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.schmidt-gallery-thumb {
    flex: 0 0 calc(100% / 3);
    height: 8em;
    padding: 0 0.25rem;
    border: 0;
    background: transparent;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.schmidt-gallery-thumb.active,
.schmidt-gallery-thumb:hover,
.schmidt-gallery-thumb:focus {
    opacity: 1;
}

.schmidt-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* live: slick-theme.css arrows, white at 75 % */
.schmidt-gallery-arrow {
    position: absolute;
    top: 50%;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    opacity: 0.75;
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50%);
}

.schmidt-gallery-arrow:hover,
.schmidt-gallery-arrow:focus {
    opacity: 1;
}

.schmidt-gallery-arrow-prev {
    left: 0;
}

.schmidt-gallery-arrow-next {
    right: 0;
}

/*
 * The arrow glyphs come from CSS, not from the markup, so they are not
 * page text (a text compare against live, where slick adds its arrows
 * with JavaScript, stays clean).
 */
.schmidt-gallery-arrow-prev .schmidt-gallery-glyph::before {
    content: "\2190";
}

.schmidt-gallery-arrow-next .schmidt-gallery-glyph::before {
    content: "\2192";
}

/* =========================================================================
 * 14. Contact band (the theme's footer element, id="contact")
 *
 * live: section#contact. On the #222 body, a 3em heading with the short
 * rule, the text, three white 4x icons with the details, a wide rule, the
 * 10 px legal lines and the 8 px credit line on the right.
 * ========================================================================= */
.schmidt-footer {
    padding: 5rem 0 10px;
    color: #fff;
}

.schmidt-footer a {
    color: var(--schmidt-link);
}

/* live: the text is `p.mb-5` followed by two <br> */
.schmidt-footer-intro {
    max-width: 760px;
    margin: 0 auto 4.5rem;
    text-align: center;
}

.schmidt-footer-contact {
    margin-bottom: 1rem;
}

.schmidt-footer-icon {
    font-size: 4em;
    color: #fff;
    margin-bottom: 1rem;
}

.schmidt-footer-contact-text {
    font-size: 1.1em;
    margin-bottom: 1rem;
}

/* live: the address paragraph has no inline size, so it takes 1.2em */
.schmidt-footer-contact > :last-child .schmidt-footer-contact-text {
    font-size: 1.2em;
}

.schmidt-footer-divider {
    max-width: 90%;
    margin: 1rem auto 2em;
}

/* live: 10px on the column, then its <p> takes 1.2em of that */
.schmidt-footer-legal {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 3rem;
}

.schmidt-footer-instagram {
    font-size: larger;
}

.schmidt-footer-instagram i {
    margin-right: 0.2rem;
}

.schmidt-footer-copyright {
    font-size: 8px;
    text-align: right;
    color: var(--schmidt-text-faded);
}

.schmidt-footer-login {
    margin-left: 0.25rem;
}

/* =========================================================================
 * 15. App CMS elements that still render under this theme
 *
 * The cms/section element (full-screen cover sections, and the sections a
 * content page may carry), the plain cms/block, and the app's generic
 * feed card (the news feed). Kept in the theme's colours.
 * ========================================================================= */
.cms-section {
    position: relative;
}

.cms-section-with-bg {
    background-size: cover;
    background-position: center;
    /*
     * no-repeat is load-bearing: with `background-attachment: fixed` and
     * an uncached image, `cover` can fail to compute for a moment, and the
     * default `repeat` would then tile the image (session 67).
     */
    background-repeat: no-repeat;
    overflow: hidden;
}

.cms-section-with-bg::before,
.cms-section-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--schmidt-card-overlay);
    pointer-events: none;
    z-index: 0;
}

.cms-section-bgfixed {
    background-attachment: fixed;
}

.cms-section-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.cms-section-cover > .container,
.cms-section-cover > .container-fluid,
.cms-section-with-bg > .container,
.cms-section-with-bg > .container-fluid {
    position: relative;
    z-index: 1;
}

.cms-section-cover .cms-section-title {
    font-size: 5.6em;
    text-shadow: var(--schmidt-shadow);
}

.cms-section-header {
    text-align: center;
}

.cms-section-title {
    font-size: 3em;
    margin-bottom: 0.5rem;
}

.cms-section-subtitle {
    font-size: 1.125rem;
    color: var(--schmidt-text-faded);
    margin-bottom: 0;
}

.cms-section-intro {
    max-width: 56rem;
    margin: 0 auto 1.5rem auto;
}

.cms-block-supertitle {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--schmidt-accent);
    margin-bottom: 0.5rem;
}

.cms-block-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cms-block-subtitle {
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.cms-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    min-height: 10em;
    border-radius: 1em;
    background-color: var(--schmidt-card-fallback);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.cms-card-overlay {
    position: absolute;
    inset: 0;
    background: var(--schmidt-card-overlay);
    z-index: 0;
}

.cms-card-body {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1em calc(1em + 15px);
}

.cms-card-title {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.cms-card-subtitle,
.cms-card-meta {
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

/*
 * The app's scroll cue on a cover section (cms/section.php). theme.js
 * scrolls to the next section on click.
 */
.cms-scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    z-index: 2;
    font-size: 40px;
    color: #fff;
    transform: translateX(-50%);
    animation: schmidt-bounce 4s 2;
}

.cms-scroll-arrow:hover,
.cms-scroll-arrow:focus {
    color: #fff;
}

/* =========================================================================
 * 16. The 404 page
 * ========================================================================= */
.schmidt-error {
    padding-top: 2rem;
}

.schmidt-error-code {
    font-family: var(--schmidt-font-display);
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
}
