@font-face {
    font-family: body;
    src: url(/static/cms/fonts/open-sans-regular.woff2);
}

@font-face {
    font-family: display;
    src: url(/static/cms/fonts/miller-banner-light.woff2);
}

@font-face {
    font-family: display;
    font-style: italic;
    src: url(/static/cms/fonts/miller-banner-light-italic.woff2);
}

:root {
    --gomde-dark-black: rgb(34, 34, 34);
    --gomde-light-black: rgb(68, 68, 68);

    --gomde-light-grey: rgb(245, 245, 245);
    --gomde-red: rgb(175, 39, 44);
    --gomde-dull-red: rgb(120, 47, 46);
    --gomde-gold: rgb(152, 121, 90);
    --gomde-yellow: rgb(255, 210, 41);
    --gomde-peach: rgb(247, 244, 243);
    --gomde-environment-green: rgb(49, 75, 63);

    --page-width: 1500px;
}

* {
    box-sizing: border-box;
}

:root {
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    margin: 0;
    padding: 0;
    line-height: 1.6;

    font-family: body, sans-serif;

    background: #fff;
    color: var(--gomde-light-black);
}

img {
    object-fit: cover;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: inherit;
    padding: 0;
    margin: 0;
}

a {
    color: var(--gomde-red);
    text-decoration: none;
}

a:hover {
    Text-decoration: underline;
}

ul {
    padding-left: 1em;
}
ul li+li {
    margin-top: .8em;
}

.content-button {
    display: inline-block;
    
    padding: 5px 50px;
    padding-right: 30px;
    margin: 10px 0;

    text-decoration: none;
    color: inherit;
}

.content-button:hover {
    text-decoration: none;
}

.content-button-style-default,
.content-button-style-forward {
    font-family: display;
    font-style: italic;
    border: 1px solid var(--gomde-gold);
}

.content-button-style-default::after,
.content-button-style-forward::after {
    content:"";
    padding-left: 30px;
    background-image: url(/static/cms/images/fjolla/icon-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

.content-button-style-default:hover,
.content-button-style-forward:hover {
    background: var(--gomde-gold);
    color: white;
    text-decoration: none;
}

.content-button-style-default:hover::after,
.content-button-style-forward:hover::after {
    filter: grayscale(100%) brightness(1000%);
}

.content-button-style-donate {
    padding: none;
    
    background: var(--gomde-yellow);
    color: var(--gomde-dark-black);

    text-transform: uppercase;
    font-family: body;
    font-size: 14px;
    letter-spacing: 0.05em; 

    transition: background 200ms;
}

.content-button-style-donate:hover {
    background: rgba(239, 174, 28, 0.8);
}

.common-event-list {
    display: flex;
    gap: 40px;
}

.common-event-list .event {
    flex-basis: 1px;
    flex-grow: 1;
    flex-shrink: 1;
}

.common-event-list .image {
    width: 100%;
    height: 200px;
    background-size: contain;
    margin-bottom: 20px;
}

.common-event-list .facts {
    color: var(--gomde-red);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

/*
    We use an ::after &nbsp; to 
    force-reserve a line for the facts
    even if there aren't any facts. This is
    so we can cancel it in the mobile layout.
*/
.common-event-list .facts::after {
    content: " ";
}

.common-event-list .name {
    font-family: display;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 20px;
}

.common-event-list .name small {
    font-family: display;
    font-style: italic;
    line-height: 1;
    font-size: 15px;
    display: block;
    margin: 20px 0 10px;
}

.common-event-list .description {
    font-size: 12px;
}

.common-event-list .details {
    margin-top: 10px;
}

@media (max-width: 913px) {
    
    .common-event-list {
        flex-direction: column;
        gap: 50px;
    }

    /* Don't reserve space for the facts;
       nothing to line up with. */
    .common-event-list .facts::after {
        display: none;
    }
}

.common-event-data {
    text-transform: uppercase;
    font-size: 14px;
    color: var(--gomde-red);
}

.display {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

}

.stout {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

}

.stout + .display {
    padding-top: 15px;
}

.body {
    max-width: var(--page-width);
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header, footer {
    max-width: var(--page-width);
    margin: auto;
}

.section {
    max-width: 100vw;
}

header {
    /*
       Layout & size of the header
    */
    height: 104px;
    padding: 16px 25px;

    /*
       Layout of header items
       
       Header is (menu) (left-nav --- ) (center logo) (--- right nav) (donate)
       Where "---" is expanding space
    */
    display: flex;
    align-items: center;
    gap: 30px;

    /*
       Allow for true center positioning of logo using absolute position.
    */
    position: relative;

    /*
       Everything in the header inherits this font size.
    */
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/*
   Center the menu SVG with the links

   TODO: We can adjust the actual SVG itself so it doesn't need
   so much styling. Better to do it when design no longer in flux, though.
*/
header .menu svg {
    position: relative;
    top: 3px;
}

/*
    The left and right link lists (navs)
*/
header nav {
    /* These navs should expand to fill all space.
       We use "flex" and not "flex-grow" because we want them
       to expand equally, irrespective of content */
    flex: 1;

    
    display: flex;
    gap: 30px;
}

header nav + * + nav {
    justify-content: flex-end;
}

header nav a,
header .donate a {
    /* All the links are the full height of the header, which
       makes clicking them easier. */
    height: 100%;

    
    color: #222;

    
    white-space: nowrap;
}

header a:hover {
    text-decoration: none;
    color: var(--gomde-red);
}

header .donate {
    /* Stop it from using the global red link style
       TODO: That style maybe shouldn't be global?
     */
    color: inherit;

    /*
        Donate link is surrounded by a border
    */
    border: 0.5px solid var(--gomde-gold);
    text-align: center;
    width: 80px;
    height: 27px;
    line-height: 27px;

    /*
        Donate link is a bit wizzy
    */
    transition: background 200ms;
}

/*
    Donate link hover effect
*/
header .donate:hover {
    background: var(--gomde-gold);
    color: white;
}

header .logo {
    display: block;
    width: 70px;
    height: 60px;
    background-image: url(/static/cms/images/fjolla/logo-gold.png);

    /*
       Markup has the "Gomde UK" text for accessibility, but we
       want to use the PNG instead (which has the text).

       So, we hide the text by making it transparent.
    */
    color: rgba(0, 0, 0, 0);

    /*
       Center the logo in the header.
       The other header elements are uneven sizes, so without this
       the logo won't end up in the center.

       This depends on "position: relative" of the header itself.
     */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 1100px) {
    header .logo {
        transform: translate(-50%, -50%) scale(1.2)
    }
}

/*
    Stop logo from being affected by global link hover effect
    and showing the invisible text
    TODO: Maybe link style shouldn't be global
*/
header .logo:hover {
    color: rgba(0, 0, 0, 0);
}

/*
   Wizzy logo fade effect

   We use a second, full-colour image, on top of the first,
   and animate its opacity on hover.
*/
header .logo::before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";

    background-image: url(/static/cms/images/fjolla/logo-colour.png);

    opacity: 0;
    transition: opacity 200ms;
}

header .logo:hover::before {
    opacity: 100%;
}

header .logo,
header .logo::before {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/*
   Mobile header
*/
@media (max-width: 989px) {
    /*
       Hide all links except the menu and the donation link.
     */
    header nav {
        display: none
    }

    /*
       It's the navs that have the space, so if we're hiding
       them, we need this to make sure stuff is still spaced
       out
     */
    header {
        justify-content: space-between;
    }

    header .logo {
        transform: translate(-50%, -50%) scale(1.2)
    }
}

footer {
    color: rgb(34, 34, 34);
    padding: 50px 15px 50px;
}

footer h2 {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-size: 28px;
}

footer h2::after {
    content: "";
    display: block;
    height: 50px;
    margin-top: 15px;
    margin-bottom: 20px;
    border-left: 2px solid var(--gomde-gold);
}

footer h3 {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    color: var(--gomde-gold);
}

footer nav a {
    display: block;
    margin: .5em 0;
}

footer .donate {
    display: block;
    text-align: center;
    text-transform: uppercase;
    
    background: var(--gomde-yellow);
    color: black;
    transition: background 200ms;
    width: 270px;
    height: 40px;
    line-height: 40px;

    margin-top: 20px;
}

footer .donate:hover {
    background-color: rgba(239, 174, 28, 0.8);
    text-decoration: none;
    color: black;
}

footer .copyright {
    border-bottom: 1px solid var(--gomde-gold);
    margin-top: 45px;
}

footer .copyright span {
    background: white;
    position: relative;
    top: .75em;
    padding-right: 10px;
}

footer img.photo {
    width: 100%;
}

footer .follow {
    display: flex;
    gap: 8px;
}

/*
   Mobile Footer
*/
@media (max-width: 1000px) {

    /*
        The total width of the follow icons should
        approximately equal that of the header above them.
    */
    footer .follow img {
        width: 27px;
        height: 27px;
    }

    /*
       The first section (Gomde UK, Find US)
       and the last one (Image, Support Us)
       take up the full width of the mobile footer.

       The other sections go side-by-side (flex: 1).
    */
    footer .main { display: flex; flex-wrap: wrap; }
    footer section { flex: 1; }
    footer section:first-child,
    footer section:last-child {
        min-width: 100%;
    }

    /*
       The side-by-side sections should be as tall
       as each other, and spread themselves out to
       equalize their height.
    */
    footer section:nth-child(2),
    footer section:nth-child(3) {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /*
        Spacing between the image and "Support Us"
    */
    footer section:last-child {
        margin-top: 40px;
    }

    /*
        Spacing above every heading in the footer
        to space things out a bit.
    */
    footer h3 { margin-top: 30px; }
}

/*
   Wide Footer
*/
@media (min-width: 1000px) {
    footer {
        font-size: 12px;
        color: rgb(68, 68, 68);
        padding: 50px 30px 50px;
    }

    footer h2 {
        line-height: 1;
        color: black;
    }

    footer h3 {
        white-space: nowrap;
        margin-bottom: 10px;
    }

    footer h3 + p {
        margin-top: 0;
    }

    footer * + h3 {
        margin-top: 20px;
    }

    footer .main {
        display: flex;
        gap: 100px;
    }

    footer .main section:nth-child(1) {
        width: 600px;
    }

    footer .main section {
        flex-grow: 0;
    }

    footer img.photo {
        width: 100%;
        max-width: 500px;
    }
}

#menu {
    /* On ultra-wide screens, we just gotta add a big empty
       area to the left of the menu so it still shows up
       in the actual page area. */
    --left-pad: calc((100vw - var(--page-width)) * 0.5);
    
    background: rgb(245, 245, 245);
    box-shadow: 0 0 1000px rgba(0,0,0,0.5);

    position: absolute;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: calc(600px + var(--left-pad));
    padding-left: var(--left-pad);

    
    display: flex;
    flex-direction: column;
}

@media (max-width: 1500px) {
    #menu {
        --left-pad: 0px
    }
}

/* The menu HTML has style="visibility:hidden"
   and we override it to visible on :target.
   This lets us open and close the menu with
   the fragment target "#menu" without JS. */
#menu:target {
    visibility: visible !important;
}

#menu .click-out {
    position: absolute;
    left: 100%;
    top: 0;
    width: 100vw;
    height: 100vh;

    
    background: rgba(0, 0, 0, 0.4);

    /* Nice to not style this as a "link";
       user is just "clicking off" */
    cursor: default;
}

#menu .close {
    /* Position exactly over the "open menu" button and give
       it a nice big click target */
    position: absolute;
    top: 2px;
    left: calc(-12px + var(--left-pad));

    padding: 40px;
    width: 100px;
    height: 100px;

}
#menu .close svg {
    width: 20px;

    
    stroke: var(--gomde-gold);
    stroke-width: 5px;
}

#menu .logo {
    margin: 20px auto;
    width: 100px;
}

#menu section > a {
    color: rgb(68,68,68);
}
#menu section > a:hover {
    color: var(--gomde-gold);
    text-decoration: none;
}

#menu section > a,
#menu h3 {
    font-size: 13px;
    line-height: 2;

    
    white-space: nowrap;
}

#menu h3 a {
    color: var(--gomde-gold);
}

#menu h3 a:hover {
    color: rgb(68,68,68);
    text-decoration: none;
}

#menu .two-columns {
    /* Two columns side-by-side,
       with nice spacing. */
    display: flex;
    margin: 0 auto;
    gap: 80px;
    padding: 0 30px;
}

#menu .two-columns > * {
    
    display: flex;
    flex-direction: column;
    gap: 10px;

    /* If one column is shorter, its items should
       be spaced out to match the other column */
    flex: 1;
    justify-content: space-between;
}

/* TODO: I'm not actually sure why this is necessary,
   but the spacing messes up without it */
#menu section {
    display: flex;
    flex-direction: column;
}

#menu h3 {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

}

@media (max-width: 699px) {
    
    #menu {
        --left-pad: 0;
        width: 100vw;
    }
    #menu .two-columns {
        gap: 10vw;
    }
}

@media (max-width: 499px) {
    
    #menu section > a,
    #menu h3 {
        font-size: 12px;
    }
    #menu .two-columns {
        gap: 5vw;
    }
}

.section-announcements {
    margin: 28px;
    padding: 120px 50px 90px;
    background: var(--gomde-light-grey);
}

.section-announcements .content-image {
    display: none;
}

.section-announcements .big {
    max-width: 50em;
}

.section-announcements .big + hr {
    height: 1px;
    border: none;
    border-bottom: 1px solid var(--gomde-gold);
    margin: 40px 0 50px;
}
.section-announcements .big .content-heading {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-size: 36px;
}

@media (max-width: 913px) {
    /*
        On mobile, no white margin; grey all
        the way to the edge.
    */
    .section-announcements {
        margin: 28px 0;
        padding: 80px 40px 50px;
    }
}

.section-big-text:has(.subtitle) {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

}

.section-big-text .subtitle {
    margin-top: 20px;
}

.section-big-text,
.section-big-text .subtitle{
    display: block;
    color: black;
    text-transform: none;

    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-size: 36px;
}

.section-big-text {
    text-align: center;
    width: 400px;
    margin: 100px auto 50px;
}

.section-big-text .content-by {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

    margin-top: 30px;
}

.section-big-text.variant-left {
    text-align: left;
    margin-left: 30px;
}

.section-big-text.variant-left::after {
    content: "";
    display: block;
    height: 50px;
    margin-top: 15px;
    margin-bottom: 20px;
    border-left: 2px solid var(--gomde-gold);
}

.section-body {
    max-width: 540px;
    margin: 40px auto;
    font-size: 15px;
    padding: 0 20px;
}
.section-body:has(.image) {
    max-width: 800px;
}
.section-body .image {
    width: 280px;
    flex-shrink: 0;
}

.section-body .content-heading {
    color: var(--gomde-red);
    text-transform: uppercase;
    font-size: 16px;
    margin: 5px 0;
}

.section-body table td {
    padding-right: 20px
}

@media (min-width: 700px) {
    .section-body {
        display: flex;
        gap: 30px;
    }
    .section-body .content-heading {
        margin: 0 0 5px;
    }
}

.section-body .content-image {
    margin-bottom: 18px;
}

.section-body .content-image + br,
.section-body .content-image + br + br {
    display: none;
}

.section-box {
    margin: 30px;
    background: var(--gomde-light-grey);
    padding: 90px;

    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 50px;
}

.section-box h2 {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-size: 42px;
}

.section-box .image {
    width: 100%;
    height: auto;
}

@media (max-width: 799px) {
    .section-box {
        padding: 20px;
    }
}

@media (min-width: 800px) {
    .section-box .words {
        max-width: 449px;
    }
}

.section-box .content-button {
    background: var(--gomde-yellow);
    color: black;
    transition: background 200ms;
    width: 270px;
    height: 40px;
    line-height: 40px;
    text-transform: uppercase;
    font-size: 80%;
    padding: 0 30px;
    min-width: 250px;

    
    width: auto;
    font-family: body;
    font-style: normal;
    border: none;
    text-align: center;
}

.section-box .content-button::after {
    content: none;
}

.section-box .content-button:hover {
    background-color: rgba(239, 174, 28, 0.8);
}

.section-brochure h2 { 
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;
 }
.section-brochure h3 { 
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;
 font-size: 32px; }

/* Brochure sections have gold lines between them, including around
   the first and last ones. */

.section-hline + .section-brochure {
    margin-top: 15px;
    padding-top: 0;
}
.section-brochure + .section-hline hr {
    margin-top: 0;
}

.section-brochure {
    display: flex;
    align-items: stretch;
    margin: 30px;
    gap: 100px;
}

.section-brochure .image img {
    display: block;
    max-width: 50vw;
}

/* .section-brochure { color: rgb(68, 68, 68); }
.section-brochure h3 { color: rgb(34, 34, 34); } */

/*
    The "e" variants ("Coloured BG") have a coloured BG.
    Right now they're only used for quotes, so here's some
    slightly dodgy CSS that makes sure quotes look good. Normal
    text will not.
*/
.section-brochure.variant-e-left,
.section-brochure.variant-e-right {
    background: rgb(49, 75, 63);
    padding: 40px;
    color: white;
}

.section-brochure.variant-e-left .words > div,
.section-brochure.variant-e-right .words > div {
    display: flex;
    justify-content: end;
}

/*
    Quotes
*/
.section-brochure .content-quote {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    padding: 40px;
    margin: 0;
    padding-bottom: 0;
    font-style: italic;
    font-size: 28px;
    line-height: 1.3;
}

.section-brochure.variant-e-left .content-quote,
.section-brochure.variant-e-right .content-quote {
    color: white;
    padding: 0;
}

.section-brochure .content-by {
    margin: 0;
    padding-top: 20px !important;
    padding: 40px;
}

.section-brochure .content-by::before {
    content: "— ";
}

@media (max-width: 799px) {
    .section-brochure {
        flex-direction: column;
    }
    .section-brochure h2 {
        margin-bottom: 100px;
    }
    .section-brochure h3 {
        font-size: 38px;
        margin-bottom: 50px;
    }
    .section-brochure .image img {
        max-width: 500px;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
}

@media (min-width: 800px) {

    
    .section-brochure:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .section-brochure.variant-left,
    .section-brochure.variant-e-left {
        flex-direction: row-reverse;
    }
    .section-brochure.variant-right,
    .section-brochure.variant-e-right {
        flex-direction: row;
    }

    
    .section-brochure .content-heading {
        flex: 1;
    }

    
    .section-brochure:not(:has(.content-heading)) .words > div {
        justify-content: end;
    }

    /* We use an inner <div> inside .words so we can limit the
       text width while keeping the outer div at {flex:1} to
       fill all space. */
    .section-brochure .words {
        flex: 1;
    }
    .section-brochure .words > * {
        height: 100%;
        max-width: 500px;

        /* The inner <div> inside .words is display:flex so we
           can put that big gap between h2 and h3. */
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    
    .section-brochure h3 {
        max-width: 11em;
    }

    
    .section-brochure .content-button {
        margin-top: 28px;
    }
}

.section-brochure + .section-brochure {
    margin-top: 70px;
}

.section-calendar {
    padding: 50px;
}

.section-calendar .facts {
    color: var(--gomde-red);
    margin-bottom: 8px;
    font-size: 20px;
    text-transform: uppercase;
}

.section-calendar .event > div {
    border-bottom: 1px solid rgb(196, 196, 196);
}
.section-calendar .event:last-child > div {
    border-bottom: none;
}

.section-calendar .event {
    padding: 50px 0 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-calendar .event .image {
    max-width: 100%;
}

.section-calendar .display {
    font-size: 40px;
}

@media (min-width: 750px) {
}

@media (min-width: 1000px) {

    
    
    
    
    .section-calendar .events { max-width: 600px; margin: auto}

    
    .section-calendar .event { flex-direction: row; }

    
    .section-calendar .event > div { flex-grow: 1; }

    
    .section-calendar .event > div > * { max-width: 500px; }

    
    .section-calendar .image { margin-right: 25px; }

    
    .section-calendar .event .image {
        width: 154px;
        height: 190px;
    }

    
    .section-calendar .events .facts { font-size: 11px; }
    .section-calendar .events .display { font-size: 24px; margin-top: 15px;}
    .section-calendar .events .description { font-size: 14px; }

    
    .section-calendar .events .description { padding-bottom: 20px; }
}

.section-cards {
    margin: 28px;
    background: var(--gomde-light-grey);
    padding: 32px;
}

.section-cards .intro {
    padding-top: 40px;
    padding-bottom: 20px;
}

/*
    Vertical gold line after intro
*/
.section-cards .intro::after {
    content: "";
    display: block;
    height: 50px;
    margin-top: 15px;
    margin-bottom: 20px;
    border-left: 2px solid var(--gomde-gold);
}
 
.section-cards .intro .content-heading {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

}
.section-cards .intro .content-heading-2 {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-size: 44px;

    
    max-width: 450px;
}
.section-cards .intro .content-heading + .content-heading-2 {
    margin-top: 10px;
}

.section-cards .items {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
}

/*
    Wrap the items on narrow viewports. We don't just set wrap unconditionally
    because we want the 4 designed items to break into 2-2 and never 3-1.
*/
@media (max-width: 1329px) {
    .section-cards .items {
        flex-wrap: wrap;
        max-width: 900px;
    }
}

.section-cards .item {
    background: var(--gomde-dull-red);
    color: white;
    text-align: center;

    width: 334px;
    height: 376px;

    padding: 50px 30px;

    font-size: 90%;
}

.section-cards .item .content-heading {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

    color: white;
    margin-bottom: 20px;
}

.section-cards .item .content-button {
    background: transparent;
    border: 1px solid white;
    color: white;

    transition: border 150ms, background-color 150ms;
}

.section-cards .item .content-button::after {
    background-image: url(/static/cms/images/fjolla/icon-arrow-white.svg);
}
.section-cards .item .content-button:hover {
    background: var(--gomde-gold);
    border-color: transparent;
}

/*
    Go to single-column layout on very narrow viewports
*/
@media (max-width: 849px) {
    .section-cards .items {
        flex-direction: column;
    }
    .section-cards .item {
        width: auto;
        height: auto;
    }
}

.section-center {
    text-align: center;
    max-width: 30em;
    margin: 40px auto;
    padding: 0 30px;
}

.section-center .content-heading {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

}

.section-center .content-heading-2 {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

}

.section-big-text + .section-center {
    margin-top: -40px;
}

.section-center .content-quote {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-size: 28px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    font-style: italic;
    margin-bottom: 18px;
}

.section-center .content-by {
    font-size: 13.5px;
}

.section-center .content-by::before { content: "— " }
.section-center .content-by::after { content: " —" }

.section-header + .section-center:has(.content-quote) {
    margin-top: -30px;
}

.section-header + .section-center {
    margin-top: -30px;
}

.section-header:has(.subtitle) {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

}

.section-header .subtitle {
    margin-top: 20px;
}

.section-header,
.section-header .subtitle{
    display: block;
    color: black;
    text-transform: none;

    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-size: max(32px, min(46px, 8.20516vw));
}

.section-header {
    text-align: center;
    max-width: 550px;
    padding: 0 30px;
    margin: 160px auto 50px;
}

@media (min-width: 750px) {
    .section-header,
    .section-header .subtitle{
        font-size: max(32px, min(46px, 46 * 100vw / 1280));
    }
}

.section-hline {
    padding: 0 30px;
}
.section-hline hr {
    height: 1px;
    border: none;
    border-bottom: 1px solid var(--gomde-gold);
    margin: 15px 0;
}

.section-hlinks {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-style: italic;
    font-size: 16px;
    text-align: center;
    padding: 0 30px;
    line-height: 1.8;
}

.section-hlinks a {
    padding: 0 7px;
    color: var(--gomde-dark-black) !important;
    white-space: nowrap;
}

.section-image {
    padding: 42px 24px 24px;
}

.section-image img {
    width: 100%;
    height: auto;
}

.section-image-link-row .inner {
    display: flex;
    gap: 20px;
    padding: 30px;

    text-align: center;
    justify-content: center;
    text-transform: uppercase;
    color: white;
}

.section-image-link-row .item {
    aspect-ratio: 300 / 410;
}

.section-image-link-row .item {
    position: relative;

    background: black;
}

.section-image-link-row img {
    opacity: 0.85;
    transition: opacity 250ms;
}
.section-image-link-row .item:hover img {
    opacity: 1.0;
    transition: opacity 175ms;
}

.section-image-link-row .words {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;

    padding: 15px;

    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-image-link-row .words-inner {
}

.section-image-link-row img {
    width: 100%;
    height: 100%;
}

@media (max-width: 899px) {
    .section-image-link-row .inner {
        flex-wrap: wrap;
    }
}

@media (max-width: 699px) {
    .section-image-link-row .item {
        width: 200px;
        height: 300px;
    }

    .section-image-link-row .item {
        font-size: 75%;
    }
}

.section-mini-whats-on {
    margin: 28px;
    padding: 120px 50px 90px;
    background: var(--gomde-light-grey);
}

.section-mini-whats-on h2 {
    color: var(--gomde-gold);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-mini-whats-on > big {
    font-family: display;
    font-size: 36px;
    line-height: 1;
}

.section-mini-whats-on .all-events {
    margin: 25px 0 60px;
}

@media (max-width: 913px) {
    /*
        On mobile, no white margin; grey all
        the way to the edge.
    */
    .section-mini-whats-on {
        margin: 28px 0;
        padding: 80px 40px 50px;
    }
}

.section-newsletter {
    text-align: center;
    padding: 150px 20px 100px;
    margin: 0 auto;
}

.section-newsletter h2 {
    font-family: display;
}

.section-newsletter .pre-title {
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-size: 14px;
}

.section-newsletter h2 {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-size: 36px;

    margin: 10px 0 30px;
}

.section-newsletter p {
    max-width: 40em;
    margin: auto;
    font-size: 14px;
}

.section-newsletter form {
    margin: 50px auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.section-newsletter form > div {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/*
    The labels contain their inputs.
*/
.section-newsletter label {
    
    text-align: left;

    
    display: flex;
    flex-direction: column;
    font-size: 14px;

    /*
       CSS is pain...
       Flex items have a default min-width of auto, unlike
       non-flex items, which default to 0.

       So, in a flex context, stuff like <input> gets to
       assert a claim to some minimum width. This easily
       overflows our nice layout. We don't want it, CSS.
       We never asked for it. Just be normal.
    */
    min-width: 0;

    /*
        If the space is available, though, then by all
        means fill it!
    */
    flex: 1;
}

.section-newsletter input {
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    padding: 10px 0;
    font-size: 16px;
}

.section-newsletter button {
    cursor: pointer;
    background: var(--gomde-red);
    color: white;
    text-transform: uppercase;
    border: none;
    outline: none;
    padding: 12px;
    font-size: 16px;
    width: 300px;
    margin: auto;
}

.section-newsletter button:hover {
    opacity: 0.7;
}

.section-sidebar {
    margin-top: 20px;
    display: flex;
}
.section-sidebar .co-sidebar {
    flex: 1;
}
.section-sidebar .sidebar {
    font-family: display;
    letter-spacing: -0.84px;
    color: rgb(175, 39, 44);
    font-style: italic;
    font-size: max(24px, min(28px, 2.1875vw));
    line-height: 1.2;

    padding-left: 30px;

    position: relative;

    width: 40%;
}

.section-sidebar .sidebar .inner {
    top: 15px;
    position: sticky;
    height: 100vh;
    width: 370px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.section-sidebar .sidebar .inner .spacer {
    flex-grow: 1;
}

/*
    Stupid hack
*/
.section-sidebar .sidebar .inner br {
    display: none
}

/*
   Stuff inside the sidebar itself
*/
.section-sidebar .sidebar .content-heading {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

    margin-bottom: .5em;
}

/*
    The back button at the bottom of the sidebar.
    It's a special button.
*/
.section-sidebar .sidebar .inner .content-button-style-default {
    font-size: 20px;

    text-align: left;
    position: relative;
    border: none;
    color: var(--gomde-dark-black);
    transform: translate(-30px, 0);
}
.section-sidebar .sidebar .inner .content-button-style-default:hover {
    background: transparent;
    text-decoration: underline;
}
.section-sidebar .sidebar .inner .content-button-style-default:hover::after,
.section-sidebar .sidebar .inner .content-button-style-default::after {
    
    transform: rotate(180deg);
    
    display:block;
    
    width: 30px;
    height: 30px;
    
    position: absolute;
    left: 0px;
    top: 2.5px;
    
    filter: none;
}

.section-sidebar .sidebar .inner .content-button-style-forward {
    color: var(--gomde-dark-black);
    font-size: 16px;
    padding: 0;
}
.section-sidebar .sidebar .inner .content-button-style-forward:hover {
    color: white;
}

.section-sidebar .sidebar .inner .content-button-style-donate,
.section-sidebar .sidebar .inner .content-button-style-forward {
    display:block;
    width: 270px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 10px 0;
}

.section-sidebar .sidebar .inner .content-button-style-donate {
    font-style:normal;
    color: var(--gomde-dark-black);
    font-size: 14px;
    letter-spacing: 0.05em; 
    background: var(--gomde-yellow);
    font-family: body;
    transition: background 200ms;
    border: none;
    padding: 0;
}

.section-sidebar .sidebar .inner .content-button-style-donate:hover {
    background: rgba(239, 174, 28, 0.8);
    text-decoration: none;
}

@media (min-width: 1000px) {
    .section-sidebar .co-sidebar .section-body {
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        max-width: 600px;
    }
    .section-sidebar .co-sidebar .section-brochure {
        margin-left: 0;
    }
    .section-sidebar .co-sidebar .section-hline {
        padding-left: 0;
    }
}

/* Line up the first header in the main content with the top
   of the text in the sidebar */
.section-sidebar .co-sidebar .section-body:first-child {
    margin-top: -6px;
}

.section-sidebar .section-body table {
    width: 100%;
    background: var(--gomde-peach);
    padding: .5em;
}
.section-sidebar .section-body td {
    padding: .5em;
}
.section-sidebar .section-body td:first-child {
    color: var(--gomde-gold);
    padding: .5em 2em;
    white-space: nowrap;
}

.section-sidebar .section-body .content-heading {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    text-transform: none;
    letter-spacing: auto;

    margin-top: 1.2em;
    padding-top: .6em;
    margin-bottm: .6em;

    font-size: calc(24 * min(calc(100vw / 1280), 1600px));

    border-top: 1px solid var(--gomde-gold);
    line-height: 1.4;
}

.section-sidebar .section-body .content-image img {
    width: 100%;
    height: auto;
}

.section-sidebar .section-body .content-heading:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.section-sidebar .section-body .content-heading-2 {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

    color: rgb(175, 39, 44);
    margin-bottom: .6em;
}

.section-sidebar .section-body .content-quote,
.section-sidebar .section-body .content-by {
    border-left: 1px solid var(--gomde-gold);
    padding-left: 30px;
}

.section-sidebar .section-body .content-quote {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    margin: 0;
    padding-bottom: 10px;
    color: var(--gomde-red);
    font-style: italic;
    line-height: 1.4;

    font-size: max(16px, min(24px, min(1600px, 1.40625vw)));
}

.section-sidebar .section-body .content-by {
    margin-bottom: 20px;
    font-size: 80%;
}

/*
    "Links" variant
*/
.section-sidebar.variant-links .sidebar {
}

.section-sidebar.variant-links .sidebar a {
    font-size: max(16px, calc(0.0109375 * min(100vw, 1600px)));
    line-height: 1.6;
    color: var(--gomde-dark-black);
}

.section-sidebar.variant-links .sidebar a:hover {
    color: var(--gomde-red);
    text-decoration: none;
}

.section-sidebar.variant-links .sidebar,
.section-sidebar.variant-links .sidebar .inner {
    width: 305px;
}

.section-sidebar.variant-links .sidebar {
    flex-shrink: 0;
}

/*
    Mobile
*/
@media (max-width: 999px) {
    .section-sidebar .sidebar .inner .content-button {
        display: none;
    }
    .section-sidebar {
        display: block;
    }
    .section-sidebar .sidebar {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .section-sidebar .sidebar .inner {
        position: static;
        height: auto;
        text-align: center;
        padding: 50px 30px;
        margin: auto;
        display: block;
    }

    .section-sidebar .section-body .content-heading {
        font-size: 24px;
    }

    
    .section-sidebar.variant-links .sidebar {
        display: none;
    }
}

.section-teacher {
    padding: 0 50px 0;
}

.section-teacher .inner {
    display: flex;
    max-width: 820px;
    margin: 0 auto;
    gap: 50px;

    font-size: 14px;

    padding: 50px 0 100px;
}

.section-teacher + .section-teacher .inner {
    border-top: 1px solid #ccc;
}

.section-teacher .image {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.section-teacher h2 {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-size: 26px;
}

.section-teacher h3 {
    color: var(--gomde-gold);
    font-size: 28px;
    opacity: 0.5;
    position: relative;
    top: -10px;
}

@media (max-width: 679px) {
    .section-teacher .inner {
        flex-direction: column;
        gap: 0;
        padding-bottom: 60px;
    }
    .section-teacher .image {
        margin: 0 auto;
        width: 280px;
        height: 280px;
    }
    .section-teacher h2 {
        margin: 40px 0 50px;
        text-align: center;
        font-size: 28px;
    }
    .section-teacher h3 {
        text-align: center;
        position: relative;
        top: -40px;
    }
}

.section-team .inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 620px;
    margin: auto;
    justify-content: center;
}

.team-member {
    width: 290px;
    text-align: center;
}

.team-member .content-heading {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

}

@media (max-width: 699px) {
    .section-team .inner {
        padding: 0 30px;
    }
    .team-member img {
        width: 100%;
    }
}

@media (min-width: 700px) {
    .team-member:nth-child(1),
    .team-member:nth-child(2)
    {
        width: 620px;
    }
}

@media (min-width: 1100px) {
    .section-team .inner {
        max-width: 1000px;
    }
    .team-member:nth-child(1)
    {
        width: 620px;
    }
    .team-member:nth-child(2)
    {
        width: 290px;
    }
    .team-member:nth-child(2) img
    {
        width: 290px;
    }
}

.section-visiting .inner {
    display: flex;
    max-width: 800px;
    padding: 0 50px;
    margin: auto;
    gap: 40px;
}

.section-visiting .right {
    width: 350px;
    font-size: 10px;
}

.section-visiting .right img {
    width: 300px;
}

@media (max-width: 800px) {
    .section-visiting .inner {
        display: block;
    }
    .section-visiting .inner .right {
        width: 100%;
        text-align: center;
    }
}

.section-voices .inner {
    background: var(--gomde-red);
    margin: 30px;
    padding: 50px 30px 30px;
    text-align: center;
    color: white;
}

.section-voices .heading {
    
    font-family: body;
    font-size: 16px;
    color: var(--gomde-gold);
    text-transform: uppercase;
    font-style: normal;

    letter-spacing: 0.6px;

    background: var(--gomde-red);
    color: rgb(217, 202, 180);
}

.section-voices .content-quote {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    color: white;
    max-width: 20em;
    margin: 0 auto 20px;

    font-size: 40px;
    font-size: calc(min(40px, max(32px, 4vw)));
}

.section-voices .content-by::before,
.section-voices .content-by::after
{
    content: " — ";
}

.section-voices .inner {
    overflow: hidden;
}

.section-voices .quote {
    position: relative;
    height: 30em;
}

.section-voices .quote > div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-voices button {
    cursor: pointer;
    height: 50px;
    background: transparent;
    border: none;
}
.section-voices svg {
    width: 70px;
    height: 35px;
}

.section-voices button g {
    fill: white;
}

.section-voices button{
    border-radius: 5px;
}

.section-voices button:focus-visible {
    outline: 2px solid white;
}

.todo, .todo > div + div {
    border: 1px solid #888;
    padding: 10px;
    margin: 10px;
}

.section-video-text {
    margin: 28px;
    padding: 120px 100px 90px;
    background: var(--gomde-light-grey);
}

.section-video-text .video {
    margin-bottom: 40px;
}

.section-video-text .content-heading-2 {
    
    font-family: display;
    font-size: 24px;
    line-height: 1;

    letter-spacing: -0.03em;

    -moz-osx-font-smoothing: grayscale;

    color: var(--gomde-dark-black);

    
    margin-bottom: 20px;

    font-size: 36px;

    margin-bottom: 10px;
}

@media (max-width: 913px) {
    .section-video-text {
        margin: 0;
        padding: 30px 30px 30px;
    }
}

.section a.content-link {
    color: var(--gomde-gold);
    text-decoration: none;
}
.section a.content-link:hover {
    color: var(--gomde-red);
}

.section-video .inner > * {
    display: block;
    width: 100%;
    padding: 30px;
}

