/*!
Theme Name: Roland Ross
Text Domain: rr
Domain Path: /languages
Author: Max Kohler
Author URI: https://maxkohler.com/
Description: Custom Wordpress theme for Gallery Roland Ross. Required plugins: Advanced Custom Fields Pro. See README.md for developer information and changelog.
Version: 2.8.1
License: All rights reserved
*/
@font-face {
  font-family: Caslon;
  src: url(./assets/fonts/CaslonIonic-Regular.woff) format("woff"), url(./assets/fonts/CaslonIonic-Regular.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Caslon;
  src: url(./assets/fonts/CaslonIonic-RegularItalic.woff) format("woff"), url(./assets/fonts/CaslonIonic-RegularItalic.woff2) format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
:root {
  --ratio: 1.4;
  --ms--2: Max(0.7rem, calc(var(--ms--1) / var(--ratio)));
  --ms--1: Max(0.85rem, calc(var(--ms-0) / var(--ratio)));
  --ms-0: clamp(1.1rem, calc(1.6vw + 0.1rem), 1.35rem);
  --padding: var(--ms-0);
  --text-colour: #581a00;
  --text-colour-light: #581a0080;
  --black: black;
  --white: white;
  --caslon: "Caslon", Georgia, serif;
  --sans: "Helvetica", Arial, sans-serif;
  --fast: 200ms;
  --baseline: calc(var(--ms-0) * 1.25);
  --paragraph-spacing: calc(var(--ms-0) * 0.65);
  --br: 2px;
  --figure-inset: calc(var(--ms-0) * 1.5);
  --max-measure: min(100%, 50rem);
  --footer-height: 8.5rem;
}
@media (min-width: 800px) {
  :root {
    --footer-height: 6rem;
    --figure-inset: calc(var(--ms-0) * 3);
  }
}

.site__header h2, .site__content h2, .site__header h1, .site__content h1 {
  font-style: italic;
  letter-spacing: 0;
}

.tabs__controls button, .site__header a, .site__content a {
  text-decoration: underline;
  text-underline-offset: 0.1em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--text-colour-light);
}
.tabs__controls button:hover, .site__header a:hover, .site__content a:hover, .tabs__controls button:focus-visible, .site__header a:focus-visible, .site__content a:focus-visible {
  text-decoration-color: var(--text-colour);
}

.site__header, .site__content {
  font-size: var(--ms-0);
  line-height: var(--baseline);
  font-family: var(--caslon);
  letter-spacing: 0.005em;
  font-weight: 400;
  font-feature-settings: "dlig" on, "case" on, "onum" on;
  hyphens: auto;
}
@media (min-width: 800px) {
  .site__header, .site__content {
    letter-spacing: 0.0025em;
  }
}
.site__header h1, .site__content h1 {
  margin-top: var(--paragraph-spacing);
}
.site__header h1:first-child, .site__content h1:first-child {
  margin-top: 0;
}
.site__header h2, .site__content h2 {
  margin-top: var(--paragraph-spacing);
}
.site__header h2:first-child, .site__content h2:first-child {
  margin-top: 0;
}
.site__header em, .site__content em {
  font-style: italic;
  letter-spacing: 0;
}
.site__header ul, .site__content ul {
  margin: var(--paragraph-spacing);
  margin-left: 1em;
}
.site__header p + p, .site__content p + p {
  margin-top: var(--paragraph-spacing);
}
.slider__caption, .alt__badge p, .wp-element-caption, .show__images-caption, .site__footer {
  font-family: "Courier New", Courier, monospace;
  font-size: var(--ms--1);
  line-height: 1.2;
  letter-spacing: 0;
}
.slider__caption a, .alt__badge p a, .wp-element-caption a, .show__images-caption a, .site__footer a {
  text-decoration-thickness: 1px;
  text-decoration-color: var(--text-colour-light);
  text-underline-offset: 0.15em;
  text-decoration-skip-ink: none;
}
.slider__caption a:hover, .alt__badge p a:hover, .wp-element-caption a:hover, .show__images-caption a:hover, .site__footer a:hover, .slider__caption a:focus-visible, .alt__badge p a:focus-visible, .wp-element-caption a:focus-visible, .show__images-caption a:focus-visible, .site__footer a:focus-visible {
  text-decoration-color: var(--text-colour);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-weight: inherit;
  font-size: 100%;
  color: inherit;
}

html {
  min-height: 100%;
}

body {
  color: var(--text-colour);
  padding: var(--padding);
  font-size: var(--ms-0);
  min-height: 100vh;
  display: flex;
  flex-flow: column;
  min-height: 100svh;
}

:focus-visible {
  outline: 2px solid var(--black);
}

::selection {
  background-color: var(--black);
  color: var(--white);
}

.skip-link {
  position: fixed;
  background: black;
  color: white;
  text-decoration: none;
  padding: 0.2em;
  opacity: 0;
  pointer-events: none;
  outline-offset: 1px;
}
.skip-link:focus-visible {
  opacity: 1;
}

img {
  opacity: 0;
  transition: var(--fast) opacity;
}
img.loaded {
  opacity: 1;
}

.shows {
  list-style: none;
}

.shows__item {
  margin-bottom: var(--paragraph-spacing);
}

.shows__thumbnail {
  max-height: 28em;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-top: calc(var(--paragraph-spacing) * 2);
}

.site__container {
  max-width: var(--max-measure);
  margin: 0 auto;
  width: 100vh;
  min-height: calc(100vh - var(--padding) * 2);
  padding-bottom: var(--footer-height);
  position: relative;
}

.site__title {
  margin-bottom: 0.65em;
}
.site__title a {
  text-underline-offset: 0.15em;
}

.site__content {
  display: flex;
  justify-content: flex-start;
  flex-flow: row;
}

.page__title {
  margin-bottom: 0.65em;
}

.site__header {
  margin-bottom: 0.65em;
}

.site__footer {
  margin-top: auto;
  padding-top: var(--padding);
  padding-bottom: var(--padding);
  position: absolute;
  bottom: 0;
}

.footer__social {
  list-style: none;
  display: flex;
  flex-flow: column;
}
@media (min-width: 500px) {
  .footer__social {
    flex-flow: row;
    gap: 1em;
  }
}

.footer__sub {
  display: flex;
  flex-flow: column;
}
@media (min-width: 500px) {
  .footer__sub {
    gap: 0.75em;
    flex-flow: row;
  }
}

.footer__menu > ul {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  column-gap: 0.5em;
}
@media (min-width: 500px) {
  .footer__menu > ul {
    gap: 0.75em;
  }
}
.footer__menu li {
  list-style: none;
}

.footer__copyright {
  margin-top: 0.5em;
}
@media (min-width: 500px) {
  .footer__copyright {
    margin-top: 0;
  }
}

.show__header {
  margin-bottom: var(--paragraph-spacing);
  max-width: var(--max-measure);
}
.show__header .tabs__controls {
  margin-top: var(--paragraph-spacing);
}

.show__container {
  width: 100%;
}

.show__documents,
.show__coverage,
.show__credits {
  margin-top: var(--paragraph-spacing);
}
.show__documents ul,
.show__coverage ul,
.show__credits ul {
  list-style: none;
  margin-left: 0;
  margin-top: 0;
}

.show__text {
  max-width: var(--max-measure);
}

ul.show__images-list {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  list-style: none;
  margin: 0;
  width: 100%;
  gap: calc(var(--baseline) * 2);
  padding-top: var(--baseline);
}

.show__images-item {
  display: block;
  width: 100%;
}
.show__images-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.show__images-media {
  background: lightgray;
  aspect-ratio: var(--ratio);
  max-height: 80vh;
  max-width: 100%;
  width: auto;
  height: auto;
}

.show__images-caption {
  padding-top: 0.5em;
  max-width: 50em;
  text-wrap: balance;
}

.wp-block-image {
  margin-top: calc(var(--paragraph-spacing) * 1.75);
  margin-bottom: var(--paragraph-spacing);
  display: flex;
  flex-flow: column;
  gap: var(--paragraph-spacing);
}
.wp-block-image img {
  flex-shrink: 1;
  display: block;
  max-width: 100%;
  height: auto;
}

.wp-element-caption {
  text-align: left;
}

.alt__container {
  position: relative;
}

.alt__badge {
  position: absolute;
  left: 0;
  bottom: 1em;
  left: 1em;
  background: rgba(255, 255, 255, 0.85);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1;
  padding: 0.2em;
  border-radius: var(--br);
  max-width: 90%;
  text-align: left;
}
.alt__badge[open] {
  padding: 1em;
}
.alt__badge summary {
  list-style: none;
  cursor: pointer;
  text-transform: uppercase;
}
.alt__badge p {
  max-width: 42em;
  padding-top: 0.25rem;
}

.slider {
  max-width: 100%;
  margin-left: var(--figure-inset);
  margin-right: var(--figure-inset);
  margin-top: calc(var(--paragraph-spacing) * 1.75);
  margin-bottom: var(--paragraph-spacing);
}

ul.slider__slides {
  position: relative;
  list-style: none;
  margin: 0;
}

.slider__slide {
  position: absolute;
  top: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-flow: column;
  align-items: center;
  width: 100%;
  cursor: pointer;
  transition: var(--fast);
}
.slider__slide.active {
  opacity: 1;
  pointer-events: all;
}
.slider__slide:first-of-type {
  position: static;
}

.slider__media-container {
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-flow: column;
  align-items: center;
  gap: var(--paragraph-spacing);
}

.slider__media {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
}

ul.artists__list {
  margin-left: 0;
}

.artists__item {
  list-style: none;
  margin-bottom: var(--paragraph-spacing);
}
.artists__item:last-child {
  margin-bottom: 0;
}

.artists__shows {
  list-style: none;
}

.tab {
  display: none;
}
.tab.active {
  display: block;
}

.tabs__controls {
  display: flex;
  column-gap: var(--paragraph-spacing);
  row-gap: 0.4em;
  margin-bottom: var(--paragraph-spacing);
  flex-wrap: wrap;
}
.tabs__controls button {
  appearance: none;
  background: transparent;
  padding: 0;
  line-height: 1;
  position: relative;
  cursor: pointer;
}
.tabs__controls button.active {
  font-style: italic;
}

.wp-block-quote {
  margin: 1em;
}
.wp-block-quote:first-child {
  margin-top: 0;
}
.wp-block-quote cite {
  font-style: italic;
}
