@layer abstracts, base, layout, vendors, components, content-elements, utilities, overrides;

/* abstracts */

/* Colors */

:root {
    --color-green: #A6C05E;
    --color-grey: #838383;
    --color-grey-light: #EFEFEF;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-red: #C00;

    --color-primary: #214688;
    --color-secondary: #9ec35a;

}

/* Fonts */

:root {
    --font-base: Cantarell, sans-serif;
    --font-secondary: Cantarell, sans-serif;

    --font-size-xxl: 2rem;
    --font-size-xl: 1.125rem;
    --font-size-l: 1rem;
    --font-size-m: 0.75rem;
    --font-size-s: 0.75rem;
    --font-size-xs: 0.75rem;
}

/* sizes */

:root {
    --container-max-width: 1400px;
}

/* Spacing (factors of space) */

:root {
  --space-5: 5px;
  --space-10: 10px;
  --space-15: 15px;
  --space-20: 20px;
  --space-30: 30px;
  --space-40: 40px;
  --space-50: 50px;
  --space-60: 60px;
  --space-80: 80px;
  --space-100: 100px;
}

/* base */

@layer base{

/*
Credit to Andy Bell's Modern CSS Reset
@link https://piccalil.li/blog/a-modern-css-reset/

🟣 = additions by Stephanie Eckles
*/

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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  text-rendering: optimizeSpeed;
}

p,
ul:not([class]):not([role]) li,
ol:not([class]):not([role]) li {
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

/* Make images easier to work with */
img,
picture,
svg {
  display: block;
  max-width: 100%;
}

/* 🟣 Give SVGs common baseline */
svg {
  /* Inherit from text color */
  fill: currentColor;
  /* Allow click events to "fall through" */
  pointer-events: none;
}

/* 🟣 Scroll margin allowance above anchor links */
[id] {
  scroll-margin-top: 2rem;
}

/* 🟣 Scroll margin allowance below focused elements 
to ensure they are clearly in view */
*:focus {
  scroll-margin-bottom: 8vh;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

}

@layer base{


/* Web Fonts */


/* cantarell-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cantarell';
  font-style: normal;
  font-weight: 400;
  src: url('../Fonts/cantarell-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cantarell-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cantarell';
  font-style: italic;
  font-weight: 400;
  src: url('../Fonts/cantarell-v18-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cantarell-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cantarell';
  font-style: normal;
  font-weight: 700;
  src: url('../Fonts/cantarell-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cantarell-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cantarell';
  font-style: italic;
  font-weight: 700;
  src: url('../Fonts/cantarell-v18-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

}

@layer base{

/* Global CSS */

body {
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--font-size-m);
  line-height: 1.5;
}

img {
  border-style: none;
}

h1,
h2 {
  font-size: var(--font-size-xl);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 1rem;
}

h3,
h4 {
  font-size: var(--font-size-m);
  margin-bottom: 10px;
}

p {
  margin: 0 0 0.8em 0;

  &:last-child {
    margin-bottom: 0;
  }
}

a {
  color: var(--color-black);
}

/* accessibility focus styles */
:is(a, button, input, textarea, summary) {
    --outline-size: max(2px, 0.08em);
    --outline-style: solid;
    --outline-color: currentColor;
    --outline-offset: 1em;
}

/* note: maybe add focus outline fall back for unsupported browsers */
:is(a, button, input, textarea, summary):focus-visible {
  outline: var(--outline-size) var(--outline-style) var(--outline-color);
  outline-offset: var(--outline-offset, var(--outline-size));
}

/*remove only for browser supporting "focus-visible" */
:is(a, button, input, textarea, summary):focus:not(:focus-visible) {
  outline: none;
}

/* set some elements responsive */
img, object, embed, video {
  height: auto;
  max-width: 100%;
}

/* Prevents img without src to appear */
img:not([src]) {
  visibility: hidden;
}

/* fix for MS Edge to fire the IntersectionObserver for an img element w/o size */
img[data-src],
img[data-srcset] {
  display: block;
  min-height: 1px;
}

}

/* vendor */

/* utilities */

@layer utilities{

/* CSS Helper */

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container-max-width);
  padding-left: 40px;
  padding-right: 40px;
}

.flex-row {
  display: flex;
}

/* keep aspect ration of 16/9 */
.aspect-16-9 {
  aspect-ratio: 16 / 9;

}

.video iframe,
.video object,
.video embed {
  width: 100%;
  height: 100%;
}

.hide-text {
  font-size: 0;
    line-height: 0;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.list-unstyled {
  padding: 0;
  list-style: none;
}

.invisible {
  display: none;
}

.visually-hidden {
  position: absolute;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);

  a:focus,
  input:focus,
  button:focus {
    position: static;
    width: auto;
    height:auto;
  }
}

.no-margin {
  margin: 0 !important;
}

.vertical-align-sub {
  vertical-align: sub;
}

.vertical-align-top {
  vertical-align: top;
}

.vertical-align-middle {
  vertical-align: middle;
}

.text-align-left {
  text-align: left;
}

.text-align-right {
  text-align: right;
}

}

@layer utilities{

/* CE Spacing CSS */

:root {
  --ce-space-xs: 10px;
  --ce-space-s: 20px;
  --ce-space-m: 30px;
  --ce-space-l: 50px;
  --ce-space-xl: 80px;
}

main [class*="ce-uid"] {
  margin-top: var(--ce-space-m);
  margin-bottom: var(--ce-space-m);

  &:first-child {
    margin-top: 0;
  }

  &.bg-grey,
  &.ce-frame-bg-grey {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: var(--ce-space-m);
    padding-bottom: var(--ce-space-m);
  }

}

main {

  .ce-space-before-none {
    margin-top: 0;
  }

  .ce-space-before-extra-small {
    margin-top: var(--ce-space-xs);
  }

  .ce-space-before-small {
    margin-top: var(--ce-space-s);
  }

  .ce-space-before-medium {
    margin-top: var(--ce-space-m);
  }

  .ce-space-before-large {
    margin-top: var(--ce-space-l);
  }

  .ce-space-before-extra-large {
    margin-top: var(--ce-space-xl);
  }

  .ce-space-after-none {
    margin-bottom: 0;
  }

  .ce-space-after-extra-small {
    margin-bottom: var(--ce-space-xs);
  }

  .ce-space-after-small {
    margin-bottom: var(--ce-space-s);
  }

  .ce-space-after-medium {
    margin-bottom: var(--ce-space-m);
  }

  .ce-space-after-large {
    margin-bottom: var(--ce-space-l);
  }

  .ce-space-after-extra-large {
    margin-bottom: var(--ce-space-xl);
  }


  // use padding instead of margin on bg grey
  .bg-grey,
  .ce-frame-bg-grey {

    &.ce-space-before-extra-small {
      padding-top: var(--ce-space-xs);
    }

    &.ce-space-before-small {
      padding-top: var(--ce-space-s);
    }

    &.ce-space-before-medium {
      padding-top: var(--ce-space-m);
    }

    &.ce-space-before-large {
      padding-top: var(--ce-space-l);
    }

    &.ce-space-before-extra-large {
      padding-top: var(--ce-space-xl);
    }

    &.ce-space-after-extra-small {
      padding-bottom: var(--ce-space-xs);
    }

    &.ce-space-after-small {
      padding-bottom: var(--ce-space-s);
    }

    &.ce-space-after-medium {
      padding-bottom: var(--ce-space-m);
    }

    &.ce-space-after-large {
      padding-bottom: var(--ce-space-l);
    }

    &.ce-space-after-extra-large {
      padding-bottom: var(--ce-space-xl);
    }
  }

}

}

/* layout */

@layer layout{

/* Page CSS */

.page {
  min-height: 100vh;
  max-width: 992px;
  margin: auto;
  /*background: url("../Images/grid.png");*/
  box-shadow: -6px 0 6px rgba(0,0,0, 0.4);
}

}

@layer layout{

/* Aside CSS */

aside {
  position: fixed;
  top: 0;
  width: 146px;
  padding-right: 30px;
}

.logo {
  padding-top: 30px;
  height: 105px;
}


@media (max-width: 700px) {

  aside {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding-right: 15px;
    display: flex;
    justify-content: space-between;
  }

}

}

@layer layout{

/* Content Area CSS */

.content-area {
  margin-left: 146px;
}

@media (max-width: 700px) {
  .content-area {
    margin: 0 15px;
  }
}

}

@layer layout{

/* Header CSS */

.page-header {
  display: flex;
  justify-content: flex-end;
  height: 105px;
  padding-top: 30px;
}

@media (max-width: 700px) {
  .page-header {
    display: none;
  }
}

}

@layer layout{

/* Main CSS */

main {

}

}

@layer layout{

/* Footer CSS */

.page-footer {
  border-top: 1px solid var(--color-black);
  color: var(--color-white);
  padding: 6px 0 36px 0;

}

}

@layer layout{

/* Print CSS Overrides */

@media print {

  .page-header,
  .page-footer {
    display: none !important;
  }

}

}

/* vendors */

@layer vendors{

/* Image Gallery Lightbox */

/* ============================================
   Dialog Styles
   ============================================ */

.image-lightbox-dialog {
    max-width: 95vw;
    max-height: 95vh;
    border: none;
    border-radius: 0;
    padding: 0;
    background: #000;
    overflow: hidden;

    &::backdrop {
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(8px);
    }

    .dialog-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 400px;
        max-height: 90vh;
    }

    /* ============================================
       Dialog Image
       ============================================ */

    .dialog-image {
        max-width: 100%;
        max-height: 85vh;
        -o-object-fit: contain;
           object-fit: contain;
        display: block;
        transition: transform 0.3s ease;
    }

    .dialog-image.zoomed {
        cursor: zoom-out;
        transform: scale(1.5);
    }

    .dialog-image:not(.zoomed) {
        cursor: zoom-in;
    }

    /* ============================================
   Navigation Buttons
   ============================================ */

    .nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid transparent;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        z-index: 10;
        color: #000;
    }

    .nav-btn:hover {
        background: white;
        transform: translateY(-50%) scale(1.1);
    }

    .nav-btn:focus {
        outline: none;
        border-color: #0066cc;
        box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
    }

    .nav-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .nav-btn:disabled:hover {
        transform: translateY(-50%) scale(1);
    }

    .prev-btn {
        left: 1rem;
    }

    .next-btn {
        right: 1rem;
    }


    /* ============================================
   Close Button
   ============================================ */

    .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid transparent;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        font-size: 28px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        z-index: 10;
        line-height: 1;
        color: #000;
    }

    .close-btn:hover {
        background: white;
        transform: scale(1.1);
    }

    .close-btn:focus {
        outline: none;
        border-color: #0066cc;
        box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
    }

    /* ============================================
   Zoom Button
   ============================================ */

    .zoom-btn {
        position: absolute;
        top: 1rem;
        left: 1rem;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid transparent;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 14px;
        cursor: pointer;
        z-index: 10;
        color: #000;
        font-weight: 500;
        transition: all 0.2s;
    }

    .zoom-btn:hover {
        background: white;
    }

    .zoom-btn:focus {
        outline: none;
        border-color: #0066cc;
        box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
    }


    /* ============================================
   Image Counter
   ============================================ */

    .image-counter {
        position: absolute;
        bottom: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.8);
        padding: 0.75rem 1rem;
        border-radius: 14px;
        font-size: 14px;
        font-weight: 400;
        z-index: 10;
        color: #000;
        line-height: 1.4;
    }

    /* ============================================
       Image Caption
       ============================================ */

    .image-caption {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.8);
        padding: 0.75rem 1.5rem;
        border-radius: 14px;
        font-size: 14px;
        font-weight: 400;
        z-index: 10;
        color: #000;
        max-width: 80%;
        text-align: center;
        line-height: 1.4;
    }


    @media (max-width: 768px) {

        .image-lightbox-dialog {

            .gallery {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 0.5rem;
                padding: 1rem;
            }

            .gallery-item img {
                height: 180px;
            }

            .nav-btn {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .prev-btn {
                left: 0.5rem;
            }

            .next-btn {
                right: 0.5rem;
            }

            .zoom-btn {
                font-size: 12px;
                padding: 0.4rem 0.8rem;
            }

            .image-caption {
                font-size: 12px;
                padding: 0.5rem 1rem;
                max-width: 90%;
            }

            .image-counter {
                font-size: 12px;
                padding: 0.4rem 0.8rem;
            }

        }
    }

    /* ============================================
       Accessibility Media Queries
       ============================================ */

    /* Consider prefers-reduced-motion */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }

        .dialog-image,
        .nav-btn,
        .close-btn,
        .zoom-btn {
            transition: none !important;
        }

        .image-lightbox-dialog::backdrop {
            backdrop-filter: none;
        }

        .gallery-item {
            transition: none;
        }
    }

    /* High Contrast Mode Support */
    @media (prefers-contrast: high) {
        .nav-btn,
        .close-btn,
        .zoom-btn,
        .image-counter,
        .image-caption {
            border: 2px solid;
        }

        .gallery-item:focus {
            outline: 4px solid;
            outline-offset: 2px;
        }
    }

    /* Dark Mode Support (optional) */
    @media (prefers-color-scheme: dark) {
        .image-counter,
        .image-caption {
            background: rgba(30, 30, 30, 0.95);
            color: #fff;
        }

        .nav-btn,
        .close-btn,
        .zoom-btn {
            background: rgba(50, 50, 50, 0.95);
            color: #fff;
        }

        .nav-btn:hover,
        .close-btn:hover,
        .zoom-btn:hover {
            background: rgba(70, 70, 70, 0.95);
        }
    }

    /* Print Styles */
    @media print {
        .image-lightbox-dialog,
        .nav-btn,
        .close-btn,
        .zoom-btn {
            display: none;
        }
    }

}

}

/* navigation */

@layer components{

/* Nav Main CSS */

.nav-main {
  text-align: right;

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  a {
    text-decoration: none;
    text-transform: lowercase;
    position: relative;
  }

  a.active::after {
    content: ">";
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0.3em;
  }

  a:hover {
    color: var(--color-red);
  }

}


@media (max-width: 700px) {

  .nav-main {
    margin-top: 20px;

    a.active::after {
      display: none;
    }
  }

}

}

@layer components{

/* Nav Languages CSS */

.nav-languages {

  ul  {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  li {

    a {
      text-decoration: none;
      text-transform: lowercase;
      color: var(--color-black);
      display: block;
    }

    &.active,
    a.active {
      display: none;
    }
  }

}

}

@layer components{

/* Nav Footer CSS */

.nav-footer {

  ul  {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    gap: 15px;
  }

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

  a:hover {
    color: var(--color-red);
  }

  a::before {
    content: "[";
  }

  a::after {
    content: "]";
  }

}

}

/* components */

@layer components{


/* Burger Icon CSS */


.burger-icon {
  position: absolute;
  top: 13px;
  right: 40px;
  cursor: pointer;
  z-index: 99;
  background: none;
  border: none;
  padding: 10px 0;
  //display: flex;

  span.icon {
    display: block;
    position: relative;
    height: 3px;
    background-color: var(--color-white);
    width: 36px;
    margin-top: 11px;
    transition-delay: 0.4s, 0.5s;

    &::before,
    &::after {
      position: absolute;
      display: block;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: var(--color-white);
      content: "";
      transition-duration: 0.3s, 0.3s;
      transition-delay: 0.3s, 0s;
    }

    &::before {
      top: -11px;
      transition-property: top, transform;
    }

    &::after {
      bottom: -11px;
      transition-property: bottom, transform;
    }
  }

  span.text {
    display: block;
    text-transform: uppercase;
    color: var(--color-white);
    font-size: var(--font-size-s);
    line-height: 1;
    padding: 16px 0 0 0;
    font-weight: 600;
    visibility: hidden;
  }

  @media only screen and (min-width: 800px) {
    display: none;
  }

}

.nav-main.active {
  .burger-icon {
    span.icon {
      background: none !important;
      //transition-delay: 0.3s, 0.3s;
      transition-delay: 0ms;

      &::before {
        top: 0;
        transform: rotate(45deg);
        transition-delay: 0s, 0.3s;
      }
      &::after {
        bottom: 0;
        transform: rotate(-45deg);
        transition-delay: 0s, 0.3s;
      }
    }
  }
}

}

@layer components{

/* Content Detail Base CSS */

.content-detail-base {
  margin-bottom: 30px;

  h1 {
    margin-top: 30px;
  }

}

}

/* content elements */

@layer content-elements{

/* CE Text CSS */

.ce-text {

  &.ce-two-cols {

    .bodytext {
      -moz-column-count: 2;
           column-count: 2;
      -moz-column-gap: var(--space-60);
           column-gap: var(--space-60);
    }
  }

}

}

@layer content-elements{

/* CE Text Image CSS */

.ce-text-image {

  header {
    margin-bottom: 30px;
  }

  .ce-text-image-wrapper {
    margin-bottom: var(--space-30);

    @media only screen and (min-width: 768px) {
      margin-bottom: 0;
    }
  }

  img {
    display: block;
  }

  figure {
    position: relative;

    figcaption {
      padding: var(--space-5);
    }
  }

  .image {
    flex-shrink: 0;
  }

  .image-position-left,
  .image-position-right {
    display: flex;
    gap: 30px;
  }

  .image-extra-small {
    .image {
      width: 116px;
    }
  }

  .image-small {
    .image {
      width: 189px;
    }
  }

  .image-medium {
    .image {
      width: 262px;
    }
  }

  .image-large {
    .image {
      width: 335px;
    }
  }

  .image-extra-large {
    .image {
      width: 408px;
    }
  }



  /* image right */
  .image-position-right {
    @media only screen and (min-width: 768px) {

      .image {
        order: 2;
      }

    }
  }


}

}

@layer content-elements{

/* CE Image CSS */

.ce-images {

}

.ce-images-images {
  display: grid;
  gap: var(--space-30);

  /* Grid 2 */
  &.grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }


  /* Grid 3 */
  &.grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }


  /* Grid 4 */
  &.grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

}

}

@layer content-elements{


/* CE Menu Subpages */


/* gallery overview */
.gallery-overview {

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  h1 {
    margin-top: 30px;
  }

  h2 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: var(--font-size-m);

    a {
      text-decoration: none;

      &:hover {
        color: var(--color-red);
      }
    }
  }

  .more-link {
    text-decoration: none;
    color: var(--color-black);

    &::before {
      content: '[';
    }

    &::after {
      content: ']';
    }

    &:hover {
      color: var(--color-red);
    }
  }

  .current-gallery {

    .more-link {
      font-weight: 700;
      text-transform: uppercase;
    }

  }

  li {
    display: grid;
    grid-template-columns: 116px auto;
    gap: 30px;
    margin-top: 30px;
  }

  .gallery-info {
    max-width: 700px;
  }


}


/* Artist Overview */
.artist-overview {

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .artist-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
    gap: 10px 30px;
  }

  figcaption {
    text-transform: uppercase;
    padding-top: 5px;
  }

  a {
    text-decoration: none;

    &:hover {
      color: var(--color-red);
    }
  }

}

}

@layer content-elements{

/* CE Hero Image CSS */

.ce-hero-image {
  position: relative;

  figure {
    position: relative;
  }

  > img,
  figure > img {
    display: block;
    max-width: none;
    width: 100%;
  }

  figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .7);
  }

  .figcaption-inner {
    color: var(--color-white);
    margin: auto;
    padding: var(--space-10) var(--space-40);
    width: var(--container-max-width);

    @media only screen and (max-width: 800px) {
      font-size: var(--font-size-l);
    }
  }

}

}

@layer content-elements{

/* CE Hero Slider CSS */

.ce-hero-slider {

  figure {
    position: relative;

    img {
      display: block;
      width: 100%;
      max-width: none;
    }
  }

  figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .8);

    &-inner {
      color: var(--color-white);
      margin: auto;
      padding: var(--space-20) 0;
      width: var(--container-max-width);

      @media only screen and (max-width: 800px) {
        font-size: var(--font-size-l);
      }
    }

    @media only screen and (max-width: 600px) {
      position: relative;
    }
  }

}

}
