/* /Pages/Shared/_Layout.cshtml.rz.scp.css */
/* Header and footer of every page. This file is scoped to _Layout.cshtml, so these rules only reach the shared chrome. */

.site-wrap[b-7e65buyknv] {
    box-sizing: border-box;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* The header is a shaded white: the colour of a sheer curtain standing in the shade of a tree. Two very soft, wide patches of
   deeper shade drift across it, a slightly darker lower edge and a faint shadow below. Text on it is dark brown or deep teal (7:1 or more). */
.site-header[b-7e65buyknv] {
    border-bottom: 1px solid #cdc1aa;
    background:
        radial-gradient(34rem 5rem at 14% 0%, rgba(120, 108, 86, 0.1), rgba(120, 108, 86, 0) 70%),
        radial-gradient(40rem 6rem at 78% 100%, rgba(120, 108, 86, 0.09), rgba(120, 108, 86, 0) 70%),
        linear-gradient(180deg, #ece5d6 0%, #e3dac8 100%);
    box-shadow: 0 6px 14px -10px rgba(90, 70, 40, 0.5);
    position: relative;
}

.site-header__inner[b-7e65buyknv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.site-brand[b-7e65buyknv] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.site-brand:hover[b-7e65buyknv] {
    color: var(--teal);
}

.site-brand img[b-7e65buyknv] {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 1px 1px rgba(90, 70, 40, 0.25));
}

.site-nav[b-7e65buyknv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
}

.site-nav a[b-7e65buyknv] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--teal-deep);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover[b-7e65buyknv] {
    background: rgba(255, 253, 247, 0.7);
    color: var(--teal-deep);
}

.site-nav__cta[b-7e65buyknv] {
    border: 1px solid var(--terracotta);
    background: #fffaf0;
    color: var(--terracotta-deep) !important;
}

.site-nav__cta:hover[b-7e65buyknv] {
    background: #ffffff !important;
}

/* The sound button: a small round button at the end of the header navigation. It is hidden until the script has set it up. */
.sound-toggle[b-7e65buyknv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 4px;
    padding: 0;
    border: 1px solid rgba(24, 76, 79, 0.35);
    border-radius: 999px;
    background: #fffaf0;
    color: var(--teal-deep);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sound-toggle[hidden][b-7e65buyknv] {
    display: none;
}

.sound-toggle:hover[b-7e65buyknv] {
    border-color: var(--teal);
    background: #ffffff;
}

.sound-toggle:focus-visible[b-7e65buyknv] {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.sound-toggle__slash[b-7e65buyknv] {
    display: none;
}

.sound-toggle.is-off[b-7e65buyknv] {
    background: rgba(255, 250, 240, 0.55);
    color: var(--ink-soft);
}

.sound-toggle.is-off .sound-toggle__waves[b-7e65buyknv] {
    display: none;
}

.sound-toggle.is-off .sound-toggle__slash[b-7e65buyknv] {
    display: block;
}

/* The music is wanted but the browser has not let it start yet: a soft ring invites the first tap. */
.sound-toggle.is-waiting[b-7e65buyknv] {
    animation: sound-waiting-b-7e65buyknv 2.4s ease-in-out infinite;
}

@keyframes sound-waiting-b-7e65buyknv {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(31, 95, 99, 0);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(31, 95, 99, 0.16);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sound-toggle[b-7e65buyknv] {
        transition: none;
    }

    .sound-toggle.is-waiting[b-7e65buyknv] {
        animation: none;
        box-shadow: 0 0 0 4px rgba(31, 95, 99, 0.16);
    }
}

.site-main[b-7e65buyknv] {
    min-height: 60vh;
    padding: 8px 0 0;
}

.site-footer[b-7e65buyknv] {
    margin-top: 80px;
    border-top: 1px solid var(--hairline);
    color: var(--ink-soft);
    font-size: 15px;
}

.site-footer__inner[b-7e65buyknv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 24px;
    padding-top: 12px;
    padding-bottom: 24px;
}

.site-footer__copy[b-7e65buyknv] {
    margin: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.site-footer__nav[b-7e65buyknv] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

.site-footer__nav a[b-7e65buyknv] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--teal);
    font-weight: 600;
}
