/*
 * The site's styles, written by hand. No build step: Django serves this file as it is.
 *
 * Sections: reset → fonts → base → layout → components → page-specific.
 * The look is copied from the .NET site, which used Bootstrap 4. Its screen
 * widths are written as plain numbers: 576, 768, 992 and 1200 px.
 */

/* ---------- Reset ----------
 * Based on Josh Comeau's "A Modern CSS Reset", https://www.joshwcomeau.com/css/custom-css-reset/
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* ---------- Fonts ----------
 * Served by us, not Google. Lato and Roboto Mono come from Fontsource,
 * Palanquin (the header's name) too; Gilroy is the .NET site's own copy.
 */

@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/lato-latin-ext-400-normal.633f8feda218.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/lato-latin-400-normal.e1b3b5908c9c.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Lato";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/lato-latin-ext-400-italic.acf553fc81d4.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Lato";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/lato-latin-400-italic.efee2d080d7b.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/lato-latin-ext-700-normal.33c906549bd6.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/lato-latin-700-normal.de69cf9e514d.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Lato";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/lato-latin-ext-700-italic.b716274bfcfd.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Lato";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/lato-latin-700-italic.865e46af8163.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Roboto Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/roboto-mono-latin-ext-400-normal.196b056e7319.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Roboto Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/roboto-mono-latin-400-normal.a06583dfa488.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Palanquin";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/palanquin-latin-600-normal.42b8725c7045.woff2") format("woff2");
}

@font-face {
    font-family: "Gilroy-ExtraBold";
    font-display: swap;
    src: url("fonts/gilroy-extrabold.87a0bbb16d31.woff2") format("woff2"),
        url("fonts/gilroy-extrabold.c84d29c26553.woff") format("woff");
}

/* ---------- Base ----------
 * The Bootstrap 4 defaults today's look depends on. Editors' texts inherit these.
 */

:root {
    --sk-blue: #1c4c8a;
    --text: #212529;
    --text-muted: #6c757d;
    --border: #dee2e6;
    --link-hover: #0056b3;
    --primary: #007bff;
    --font-mono: "Roboto Mono", monospace;
    --font-heading: "Gilroy-ExtraBold", sans-serif;
    --info: #17a2b8;
    --input-border: #ced4da;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text);
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1 { font-size: 1.85rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
h5,
h6 { font-size: 1rem; }

p,
ul,
ol,
dl,
blockquote,
pre {
    margin-bottom: 1rem;
}

ul ul,
ol ol,
ul ol,
ol ul {
    margin-bottom: 0;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

a {
    color: var(--sk-blue);
    text-decoration: none;

    &:hover {
        color: var(--link-hover);
        text-decoration: underline;
    }
}

img {
    vertical-align: middle;
}

table {
    border-collapse: collapse;
}

th {
    text-align: inherit;
}

hr {
    margin: 1rem 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ---------- Layout ---------- */

.container {
    width: 100%;
    margin-inline: auto;
    padding-inline: 15px;

    @media (min-width: 576px) { max-width: 540px; }
    @media (min-width: 768px) { max-width: 720px; }
    @media (min-width: 992px) { max-width: 960px; }
    @media (min-width: 1200px) { max-width: 1140px; }
}

/* ---------- Components ---------- */

/* Buttons */

.button {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.9em;
    line-height: 1.5;
    text-align: center;
    color: #fff;
    background-color: var(--sk-blue);
    cursor: pointer;

    &:hover {
        color: #fff;
        background-color: #0069d9;
        text-decoration: none;
    }
}

.button-outline {
    padding-inline: 1.5rem;
    color: var(--primary);
    background-color: transparent;
    border-color: var(--primary);

    &:hover {
        color: #fff;
        background-color: var(--primary);
    }
}

/* "Skip to content": hidden until a keyboard user reaches it */

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 1100;

    &:focus {
        left: 0.5rem;
        top: 0.5rem;
        padding: 0.5rem 1rem;
        background-color: #fff;
    }
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.5rem 0;
    background-color: #fff;
    border-bottom: 1px solid var(--border);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-block;
    padding-block: 0.3125rem;
    margin-right: 0.4rem;
    font-family: "Palanquin", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    color: rgba(0, 0, 0, 0.9);

    &:hover {
        color: rgba(0, 0, 0, 0.9);
        text-decoration: none;
    }

    img {
        display: inline-block;
        vertical-align: top;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;

    > li {
        padding: 0 0.25rem;
    }
}

.nav-link {
    display: block;
    padding: 0.5rem;
    color: #343a40;
    cursor: pointer;

    &:hover {
        color: #121416;
        text-decoration: none;
    }
}

.region-menu {
    position: relative;

    > summary {
        list-style: none;

        &::-webkit-details-marker {
            display: none;
        }

        /* The small arrow Bootstrap draws on dropdown buttons */
        &::after {
            display: inline-block;
            margin-left: 0.255em;
            vertical-align: 0.255em;
            content: "";
            border-top: 0.3em solid;
            border-right: 0.3em solid transparent;
            border-left: 0.3em solid transparent;
        }
    }
}

.dropdown {
    position: absolute;
    top: 100%;
    /* The Region menu is the header's last item, so it opens leftwards */
    right: 0;
    z-index: 1000;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.2rem;
}

.dropdown-item {
    display: block;
    padding: 0.25rem 1.5rem;
    white-space: nowrap;
    color: var(--text);

    &:hover {
        color: #16181b;
        background-color: #f8f9fa;
        text-decoration: none;
    }

    &.active {
        color: #fff;
        background-color: var(--primary);
    }
}

.site-menu-narrow {
    display: none;
}

.menu-button {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    cursor: pointer;

    &::-webkit-details-marker {
        display: none;
    }
}

.menu-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background: no-repeat center / 100% 100% url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 575.98px) {
    .brand {
        font-size: 1rem;
    }

    /* Phones show the Region's name alone */
    .brand-in-region {
        .brand-name,
        .brand-separator {
            display: none;
        }
    }

    .site-menu-wide {
        display: none;
    }

    .site-menu-narrow {
        display: block;

        /* The open menu fills the width below the header */
        > .nav-links {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            flex-direction: column;
            align-items: stretch;
            padding: 0 15px 0.5rem;
            background-color: #fff;
            border-bottom: 1px solid var(--border);

            > li {
                padding: 0;
            }
        }

        .nav-link {
            padding-inline: 0;
        }

        .dropdown {
            position: static;
            padding: 0;
            margin: 0;
            border-width: 0;
        }

        .dropdown-item {
            padding: 0.25rem 1rem;
        }
    }
}

/* Footer */

.site-footer {
    padding-top: 1.5rem;
    background-color: #fff;
    border-top: 1px solid var(--border);

    @media (min-width: 768px) {
        padding-block: 3rem;
    }
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;

    @media (min-width: 768px) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-title {
    display: block;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.2;
}

.footer-links {
    padding-left: 0;
    list-style: none;

    a,
    a:hover {
        color: var(--text-muted);
    }
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    background-color: #e9ecef;
    border: 1px solid var(--border);

    p {
        flex-grow: 1;
        margin: 0;
    }

    a {
        margin-left: 0.25rem;
    }
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

/* Only for screen readers */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Small buttons for tags */

.tag-button {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin: 0 0.25rem 0.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.5;
    text-transform: capitalize;
    color: #fff;
    background-color: #6c757d;
    border: 1px solid transparent;
    border-radius: 0.2rem;

    &:hover {
        color: #fff;
        background-color: #5a6268;
        text-decoration: none;
    }

    &.chosen {
        background-color: var(--sk-blue);
    }
}

.sub-tag {
    color: var(--info);
    background-color: transparent;
    border-color: var(--info);

    &:hover {
        color: var(--info);
        background-color: #dee2e6;
    }

    &.chosen,
    &.chosen:hover {
        color: #fff;
        background-color: var(--info);
    }
}

/* ---------- Page-specific ---------- */

/* Error pages */

.error-page {
    padding-block: 1rem;

    h1 {
        color: #dc3545;
    }
}

/* The map: start page and Initiative pages */

.map-container {
    position: relative;
}

.map-element {
    height: 25.75rem;
    font: inherit;

    @media (max-width: 575.98px) {
        height: 18.75rem;

        .leaflet-control-zoom {
            display: none;
        }
    }

    /* Markers are small dots in a big, easy-to-hit box. Leaflet's own CSS
       sets their padding to 0, hence !important. */
    img.dot-marker {
        width: 48px;
        height: 48px;
        margin-left: -24px;
        margin-top: -24px;
        padding: 20px !important;
    }

    &.zlevel2 img.dot-marker {
        padding: 18px !important;
    }

    .leaflet-popup-content {
        box-sizing: border-box;
        max-width: 84vw;

        h5 {
            margin-bottom: 0.75rem;
            font-size: 1rem;
        }

        p {
            margin-block: 1rem;
        }
    }

    .popup-address {
        margin-bottom: 0;
        color: var(--text-muted);
    }

    a.popup-visit {
        display: block;
        color: #fff;
    }
}

.my-position-button {
    position: absolute;
    bottom: 1.6rem;
    left: 0.625rem;
    z-index: 800;
}

/* Start page */

.start-page {
    padding-bottom: 3rem;
    background-color: #f2f2f2;

    .map-container {
        border-bottom: 1px solid #cfcfcf;
    }

    > .container {
        padding-top: 1rem;
    }
}

.welcome {
    margin: 1rem 0 0.5rem;

    h1,
    h2 {
        font-family: var(--font-heading);
        font-weight: normal;
    }

    h2 {
        font-size: 1.5rem;
    }

    @media (max-width: 575.98px) {
        h1 {
            font-size: 2rem;
        }
    }
}

.search {
    padding-top: 1.5rem;
}

.search-bar {
    display: flex;
    margin-bottom: 0.5rem;

    input {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0.375rem 0.75rem;
        line-height: 1.5;
        color: #495057;
        background-color: #fff;
        border: 1px solid var(--input-border);
        border-radius: 0.25rem 0 0 0.25rem;
    }

    > .button,
    summary.button {
        line-height: 1em;
        border-radius: 0;
    }

    @media (max-width: 575.98px) {
        .button span {
            display: none;
        }
    }
}

.filter-menu {
    position: relative;
    display: flex;

    > summary {
        display: flex;
        align-items: center;
        gap: 0.3em;
        height: 100%;
        list-style: none;
        border-radius: 0 0.25rem 0.25rem 0;

        &::-webkit-details-marker {
            display: none;
        }
    }
}

.filter-panel {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 25rem;
    padding: 1rem 1.5rem;
    margin-top: 0.125rem;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.2rem;

    @media (max-width: 575.98px) {
        width: 92vw;
    }

    fieldset {
        padding: 0;
        border: 0;
    }

    legend {
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    label {
        display: block;
        margin-bottom: 0.25rem;
        text-transform: capitalize;
    }
}

.notice {
    padding: 0.75rem 1.25rem;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 0.25rem;
}

.cards-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;

    select {
        margin-left: auto;
        width: 50%;
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
        background-color: #fff;
        border: 1px solid var(--input-border);
        border-radius: 0.2rem;

        @media (min-width: 576px) {
            width: calc(25% - 22.5px);
        }
    }

    @media (max-width: 575.98px) {
        font-size: 0.9rem;
    }
}

/* htmx shows "Laddar..." while it waits for an answer */
.htmx-indicator {
    display: none;
    color: var(--text-muted);
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: inline;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 30px;

    @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (min-width: 992px) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    display: flex;
    flex-direction: column;
    color: var(--text);
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);

    &:hover {
        color: var(--text);
        text-decoration: none;

        .card-title {
            color: var(--sk-blue);
            text-decoration: underline;
        }
    }
}

.card-image {
    position: relative;
}

.card-img {
    display: block;
    width: 100%;
    height: 140px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 0.25rem 0.25rem 0 0;

    @media (min-width: 576px) and (max-width: 767.98px) {
        height: 200px;
        background-position: center 35%;
    }
}

.card-img-missing text {
    font-size: 1.125rem;
    text-anchor: middle;
}

.distance-badge {
    position: absolute;
    top: 0.425rem;
    right: 0.425rem;
    padding: 0.4em 0.6em;
    font-family: var(--font-mono);
    font-size: 0.9em;
    line-height: 1;
    color: #fff;
    background-color: #6c757d;
    border-radius: 0.25rem;
}

.card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1.25rem;

    @media (max-width: 575.98px) {
        padding: 1rem;
    }
}

.card-place {
    font-weight: 300;
}

.card-title {
    margin-block: 0.25rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: normal;

    @media (max-width: 575.98px) {
        font-size: 1.15rem;
    }
}

.card-text {
    margin-bottom: auto;
}

.more-cards {
    margin-top: 1.5rem;
    text-align: center;

    .button {
        display: block;
        padding: 0.5rem 1rem;
        margin-inline: auto;
        font-size: 1.25rem;

        @media (min-width: 992px) {
            width: 33.333%;
        }
    }
}

.puff {
    padding-top: 3rem;

    img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        object-position: top;

        @media (min-width: 768px) {
            height: 200px;
        }
    }
}

.puff-credit {
    font-size: 11px;
    text-align: right;
    color: #aaa;
}

/* Text pages and the guides list */

.text-page {
    padding-block: 1rem 4.5rem;

    @media (min-width: 768px) {
        > * {
            max-width: 83.333%;
        }
    }

    @media (min-width: 992px) {
        > * {
            max-width: 66.667%;
        }
    }

    h1 {
        margin-block: 1.5rem;
        font-size: 3.5rem;
        font-weight: 300;
    }
}

/* Today's guides list sits closer to the header, in 8 of 12 columns */
.text-page.guides-page {
    padding-bottom: 1rem;

    @media (min-width: 768px) {
        > * {
            max-width: calc((100% + 30px) * 2 / 3 - 30px);
        }
    }

    h1 {
        margin-block: 0 0.5rem;
    }
}

.guides-list {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;

    a {
        padding: 0.75rem 1.25rem;
        color: #495057;
        border-top: 1px solid rgba(0, 0, 0, 0.125);

        &:hover {
            color: #495057;
            background-color: #f8f9fa;
            text-decoration: none;
        }
    }
}

.guides-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    color: #f8f9fa;
    background-color: #65a6c7;
}

/* Initiative page */

.initiative-page {
    display: grid;
    gap: 0 30px;
    padding-block: 1rem;

    /* Bootstrap's 8 and 4 of 12 columns, with their 30px gutter */
    @media (min-width: 768px) {
        grid-template-columns: calc((100% + 30px) * 2 / 3 - 30px) 1fr;
    }
}

.initiative-main {
    padding-bottom: 1rem;
    font-size: 17px;
    line-height: 1.8em;

    .main-image {
        max-width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }

    h1 {
        font-family: var(--font-heading);
        font-size: 2.7rem;
        font-weight: normal;
    }

    h2 {
        margin-bottom: 1.5rem;
        font-family: var(--font-mono);
        font-size: 1.1rem;
    }
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
    padding: 0;
    margin: 0.5rem 0 1rem;
    list-style: none;
}

.initiative-description {
    font-family: "Lato", sans-serif;
}

.initiative-facts {
    .phone {
        margin-block: 0.5rem 0;
    }

    > p:not(.phone) {
        margin-bottom: 1rem;
    }
}

.opening-hours {
    width: 100%;
    margin-bottom: 1rem;

    th,
    td {
        padding: 0.3rem;
    }
}
