@charset "UTF-8";
/*
=========================
=========================
Variables
=========================
=========================
*/
/* Variables related to the header and footer height */
/* ===============================
   font-themes - base
   =============================== */
@import "https://fonts.googleapis.com/css?family=Lora:400,700";
@import "https://fonts.googleapis.com/css?family=Titillium+Web:400,700";
@import "https://fonts.googleapis.com/css?family=Source+Sans+Pro:400";
.layout--reflecting .griditem--title .reflecting-title {
  background-image: url(/assets/reflecting-title-lora.svg);
  padding-bottom: 22.15%; }
  @media screen and (min-width: 900px) and (orientation: landscape) {
    .layout--reflecting .griditem--title .reflecting-title {
      background-image: url(/assets/reflecting-title-lora-vert.svg);
      padding-right: calc((100vh - (4em + 65px)) * 0.2215); } }

/* ===============================
   font-themes - titles
   =============================== */
.title-main,
.title-secondary,
.title-supplementray,
.title-overlay {
  font-family: 'Titillium Web', sans-serif; }

/* ===============================
   colour-themes
   =============================== */
/* ===============================
   app base
   =============================== */
/*
=========================
=========================
Normalize
=========================
=========================
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/**
 * Remove default margin.
 */
body {
  margin: 0; }

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
section,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block; }

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */ }

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none; }

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */
a:active,
a:hover {
  outline: 0; }

/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted; }

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold; }

/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic; }

/**
 * Address variable `h1` font-size and margin within `section` and `section`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000; }

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }

/* Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9/10.
 */
img {
  border: 0; }

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden; }

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px; }

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  box-sizing: content-box;
  height: 0; }

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto; }

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em; }

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */ }

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible; }

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none; }

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */ }

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default; }

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal; }

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  box-sizing: content-box;
  /* 2 */ }

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto; }

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold; }

/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0; }

td,
th {
  padding: 0; }

/*
=========================
=========================
Universal
=========================
=========================
*/
html {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0; }

body {
  font-family: serif;
  font-family: "Lora", serif;
  font-size: 15px;
  line-height: 1.5;
  color: #282823;
  width: 100%;
  height: 100%;
  background-color: #fff;
  padding: 0;
  margin: 0; }
  @media screen and (min-width: 1200px) and (orientation: landscape) {
    body {
      font-size: 16px; } }

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

img {
  display: block; }

main {
  position: relative;
  width: 100%;
  min-height: 100%;
  background-color: #F9F9F7;
  padding: 0;
  margin: 40px auto 0; }
  @media only screen and (min-width: 700px) and (min-height: 600px) {
    main {
      min-height: auto;
      height: calc(100vh - 65px);
      margin: 0 auto;
      top: 40px; } }

@media only screen and (min-width: 700px) and (min-height: 600px) {
  main.fullpagejs {
    height: auto;
    top: auto; } }

.section {
  width: 100%; }

main a {
  font-weight: 700;
  color: #7EB928; }
  main a:hover, main a:focus, main a:active {
    color: #618f1f; }

/*
=========================
=========================
Temp for dev only
=========================
=========================
*/
/*
main {
  position: relative;
  &:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-width: 3px;
    border-style: solid;
    border-color: blue;
    opacity: 0.7;
    }
  }
*/
/*
=========================
=========================
Component library
=========================
=========================
*/
.component-library {
  height: auto !important;
  background-color: #fff !important;
  padding-top: 40px;
  padding-bottom: 25px; }

.component {
  background-color: #eeeee8;
  padding: 0;
  border: 1px solid #ededed;
  margin: 1em; }
  @media screen and (min-width: 700px) {
    .component {
      margin: 2em; } }

.component-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  margin: 0.5rem 1rem 0; }

.component-detail {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  opacity: 0.5;
  margin: 0 1rem; }

.component-content {
  background-color: #F9F9F7;
  padding: 1em;
  border-top: 1px solid #ededed;
  margin-top: 0.5rem; }

.component-code-toggle {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  line-height: 1;
  color: #fff;
  display: block;
  background-color: #000;
  padding: 0.25rem 1rem 0.1rem; }

.component-code-toggle span {
  display: inline-block; }

.component-code-toggle span:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  border-top: 0.5em solid #fff;
  border-left: 0.5em solid #000;
  border-right: 0.5em solid #000;
  border-bottom: 0.25em solid #000;
  margin-left: 0.4em; }

.component-code-toggle.closed span:after {
  border-top: 0.5em solid #fff;
  border-bottom: 0.15em solid #000; }

.component-code-toggle.open span:after {
  border-top: 0 solid #000;
  border-bottom: 0.5em solid #fff; }

.component-code pre.prettyprint {
  width: 100%;
  padding: 0 1rem;
  border: none;
  border-radius: 0;
  margin: 0; }

.component-code pre.prettyprint.closed {
  height: 0; }

.component-code pre.prettyprint.open {
  height: auto; }

/*
=========================
=========================
Fullpage.js
=========================
=========================
*/
/*!
 * fullPage 2.9.5
 * https://github.com/alvarotrigo/fullPage.js
 * MIT licensed
 *
 * Copyright (C) 2013 alvarotrigo.com - A project by Alvaro Trigo
 */
html.fp-enabled,
.fp-enabled body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  /*Avoid flicker on slides transitions for mobile phones #336 */
  -webkit-tap-highlight-color: transparent; }

.fp-section {
  position: relative;
  -webkit-box-sizing: border-box;
  /* Safari<=5 Android<=3 */
  -moz-box-sizing: border-box;
  /* <=28 */
  box-sizing: border-box; }

.fp-slide {
  float: left; }

.fp-slide, .fp-slidesContainer {
  height: 100%;
  display: block; }

.fp-slides {
  z-index: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
  -webkit-transition: all 0.3s ease-out;
  /* Safari<=6 Android<=4.3 */
  transition: all 0.3s ease-out; }

.fp-section.fp-table, .fp-slide.fp-table {
  display: table;
  table-layout: fixed;
  width: 100%; }

.fp-tableCell {
  display: table-cell;
  width: 100%;
  height: 100%; }

.fp-slidesContainer {
  float: left;
  position: relative; }

.fp-controlArrow {
  -webkit-user-select: none;
  /* webkit (safari, chrome) browsers */
  -moz-user-select: none;
  /* mozilla browsers */
  -khtml-user-select: none;
  /* webkit (konqueror) browsers */
  -ms-user-select: none;
  /* IE10+ */
  position: absolute;
  z-index: 4;
  top: 50%;
  cursor: pointer;
  width: 0;
  height: 0;
  border-style: solid;
  margin-top: -38px;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0); }

.fp-controlArrow.fp-prev {
  left: 15px;
  width: 0;
  border-width: 38.5px 34px 38.5px 0;
  border-color: transparent #fff transparent transparent; }

.fp-controlArrow.fp-next {
  right: 15px;
  border-width: 38.5px 0 38.5px 34px;
  border-color: transparent transparent transparent #fff; }

.fp-scrollable {
  overflow: hidden;
  position: relative; }

.fp-scroller {
  overflow: hidden; }

.iScrollIndicator {
  border: 0 !important; }

.fp-notransition {
  -webkit-transition: none !important;
  transition: none !important; }

#fp-nav {
  position: fixed;
  z-index: 100;
  margin-top: -32px;
  top: 50%;
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0); }

#fp-nav.right {
  right: 17px; }

#fp-nav.left {
  left: 17px; }

.fp-slidesNav {
  position: absolute;
  z-index: 4;
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  left: 0 !important;
  right: 0;
  margin: 0 auto !important; }

.fp-slidesNav.bottom {
  bottom: 17px; }

.fp-slidesNav.top {
  top: 17px; }

#fp-nav ul,
.fp-slidesNav ul {
  margin: 0;
  padding: 0; }

#fp-nav ul li,
.fp-slidesNav ul li {
  display: block;
  width: 14px;
  height: 13px;
  margin: 7px;
  position: relative; }

.fp-slidesNav ul li {
  display: inline-block; }

#fp-nav ul li a,
.fp-slidesNav ul li a {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-decoration: none; }

#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li:hover a.active span {
  height: 12px;
  width: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 100%; }

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  height: 4px;
  width: 4px;
  border: 0;
  background: #333;
  left: 50%;
  top: 50%;
  margin: -2px 0 0 -2px;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out; }

#fp-nav ul li:hover a span,
.fp-slidesNav ul li:hover a span {
  width: 10px;
  height: 10px;
  margin: -5px 0px 0px -5px; }

#fp-nav ul li .fp-tooltip {
  position: absolute;
  top: -2px;
  color: #fff;
  font-size: 14px;
  font-family: arial, helvetica, sans-serif;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  display: block;
  opacity: 0;
  width: 0;
  cursor: pointer; }

#fp-nav ul li:hover .fp-tooltip,
#fp-nav.fp-show-active a.active + .fp-tooltip {
  -webkit-transition: opacity 0.2s ease-in;
  transition: opacity 0.2s ease-in;
  width: auto;
  opacity: 1; }

#fp-nav ul li .fp-tooltip.right {
  right: 20px; }

#fp-nav ul li .fp-tooltip.left {
  left: 20px; }

.fp-auto-height.fp-section,
.fp-auto-height .fp-slide,
.fp-auto-height .fp-tableCell {
  height: auto !important; }

.fp-responsive .fp-auto-height-responsive.fp-section,
.fp-responsive .fp-auto-height-responsive .fp-slide,
.fp-responsive .fp-auto-height-responsive .fp-tableCell {
  height: auto !important; }

/*
=========================
=========================
Fullpage.js overrides
=========================
=========================
*/
@media screen and (max-width: 699px), screen and (max-height: 599px) {
  #fullpage .section,
  #fullpage .section .fp-tableCell {
    height: auto !important; } }

#fp-nav.right {
  right: 2px; }

/*
=========================
=========================
Components
=========================
=========================
*/
/*
=========================
Components
- text
=========================
*/
p {
  margin: 0 0 1em; }
  p:last-child {
    margin-bottom: 0; }

.title-main {
  font-size: 2.5em;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 0.25em; }

.title-secondary {
  font-size: 1.25em;
  line-height: 1.3;
  font-weight: 400;
  margin: 0; }

.title-supplementray {
  font-size: 1em;
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
  opacity: 0.666;
  margin: 1.5em 0 0; }

.title-overlay {
  font-size: 1.5em;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
  margin: 0; }

.credit-overlay {
  font-size: 1em;
  line-height: 1.5;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin: 0.5em 0 0; }

p.credit {
  margin: 0; }

p.credit span {
  font-weight: 700; }

.story-summary {
  font-size: 1.3em;
  line-height: 1.3;
  font-weight: 400;
  margin: 0; }

/*
=========================
Components
- images
=========================
*/
img {
  display: block; }

div[class*="griditem"] > img {
  max-width: 100%; }
  @media screen and (min-width: 700px) {
    div[class*="griditem"] > img {
      width: 100%;
      height: 100%;
      object-fit: cover; } }

.griditem__cover-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

/*
=========================
Components
- video
=========================
*/
.videoComponent {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.2%; }

.videoComponent iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0; }

/*
=========================
Components
- audio
=========================
*/
.audioComponent {
  width: 100%; }

.audioComponent audio {
  width: 100%; }

/*
=========================
Components
- Sharing
=========================
*/
.sharing-icon {
  line-height: 1;
  display: block;
  width: 2.5em;
  margin: 0 0.5em; }
  .sharing-icon:first-child {
    margin-left: 0; }
  .sharing-icon:last-child {
    margin-right: 0; }

.sharing-icon span {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden; }

.sharing-icon img {
  display: inline-block;
  max-width: 100%; }

/*
=========================
Components
- 9 sq collage
=========================
*/
.nineSqCollage {
  max-width: 100%;
  max-height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 2px; }

.nineSqCollage div img {
  max-width: 100%; }

/* Based on https://codepen.io/ongtiffany/pen/BoOeQV?editors=0100 */
/* Styles the lightbox, removes it from sight and adds the fade-in transition */
.lightbox-target {
  position: fixed;
  top: -100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  opacity: 0;
  overflow: hidden; }

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */
.lightbox-target img {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 0%;
  max-width: 0%;
  border: 3px solid white;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  z-index: 2; }

/* Styles the close link, adds the slide down transition */
a.lightbox-close,
a.lightbox-prev,
a.lightbox-next {
  display: block;
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  background: white;
  color: black;
  text-decoration: none;
  position: absolute;
  top: -80px;
  z-index: 3; }

.lightbox-target a:nth-of-type(1) {
  right: 0; }

.lightbox-target a:nth-of-type(2) {
  right: 50px; }

.lightbox-target a:nth-of-type(3) {
  right: 100px; }

.lightbox-close-background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.1); }

/* Provides the "X" "<" ">" for navigation links */
a.lightbox-close:before,
a.lightbox-close:after {
  content: "";
  display: block;
  height: 30px;
  width: 1px;
  background: black;
  position: absolute;
  left: 26px;
  top: 10px; }

a.lightbox-close:before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg); }

a.lightbox-close:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg); }

a.lightbox-prev:before,
a.lightbox-prev:after,
a.lightbox-next:before,
a.lightbox-next:after {
  content: "";
  display: block;
  height: 18px;
  width: 1px;
  background: black;
  position: absolute; }

a.lightbox-prev:before,
a.lightbox-next:before {
  left: 26px;
  top: 11px; }

a.lightbox-prev:after,
a.lightbox-next:after {
  left: 26px;
  top: 23px; }

a.lightbox-prev:before,
a.lightbox-next:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg); }

a.lightbox-prev:after,
a.lightbox-next:before {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg); }

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */
.lightbox-target:target {
  opacity: 1;
  z-index: 2;
  top: 0;
  bottom: 0; }

.lightbox-target:target img {
  max-height: 100%;
  max-width: 100%; }

.lightbox-target:target a.lightbox-close,
.lightbox-target:target a.lightbox-prev,
.lightbox-target:target a.lightbox-next {
  top: 0px; }

/*
=========================
=========================
Header & Footer
=========================
=========================
*/
.app-header,
.app-footer {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  line-height: 1;
  width: 100%;
  background-color: #0d0d0d;
  color: #d1d0cb;
  text-rendering: optimizeLegibility; }

.app-header {
  position: absolute;
  z-index: 2;
  top: 0px; }
  @media only screen and (min-width: 700px) and (min-height: 600px) {
    .app-header {
      position: fixed;
      overflow: visible;
      max-height: none; } }

@media only screen and (min-width: 700px) and (min-height: 600px) {
  .app-footer {
    position: fixed;
    bottom: 0px; } }

.app-header .inner,
.app-footer .inner {
  max-width: 1600px;
  margin: 0 auto; }

.app-header .inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 40px auto; }

.app-header .title,
.app-footer p {
  white-space: nowrap;
  padding: 6px;
  margin: 0; }

.app-header .title {
  grid-column: 1 / span 1; }

.app-header .title img {
  height: 28px; }

.app-header a,
.app-header label,
.app-footer a {
  color: #d1d0cb;
  text-decoration: none;
  transition: ease 0.2s background-color;
  padding: 6px; }
  .app-header a:hover, .app-header a:focus, .app-header a:active,
  .app-header label:hover,
  .app-header label:focus,
  .app-header label:active,
  .app-footer a:hover,
  .app-footer a:focus,
  .app-footer a:active {
    background-color: #333; }

.app-header a,
.app-header label {
  display: block; }

.app-footer a {
  display: inline-block; }

.app-header #logo {
  padding: 0px;
  margin: 0px; }

.app-header label.nav-toggle {
  text-align: right;
  grid-column: 2 / span 1;
  align-self: center; }
  @media only screen and (min-width: 700px) and (min-height: 600px) {
    .app-header label.nav-toggle {
      display: none; } }

.app-header label.nav-toggle + input {
  display: none; }

.app-header .navlight {
  grid-column: 2 / span 1;
  grid-row: 2 / span 1;
  align-self: center;
  position: absolute;
  top: 40px;
  right: 0;
  background-color: #0d0d0d;
  max-height: 0;
  overflow: hidden; }
  @media only screen and (min-width: 700px) and (min-height: 600px) {
    .app-header .navlight {
      grid-row: 1 / span 1;
      position: relative;
      top: auto;
      max-height: none;
      overflow: visible; } }

.app-header label.nav-toggle + input:checked ~ .navlight {
  max-height: none; }

.app-header .navlight ul {
  list-style: none;
  padding: 0;
  margin: 0; }

@media only screen and (min-width: 700px) and (min-height: 600px) {
  .app-header .navlight > ul {
    display: flex; } }

.app-header .navlight ul li {
  position: relative; }

.app-header .navlight ul li ul {
  background-color: #0d0d0d;
  overflow: hidden; }
  @media only screen and (min-width: 700px) and (min-height: 600px) {
    .app-header .navlight ul li ul {
      position: absolute;
      top: 20px;
      z-index: 10;
      max-height: 0; } }

.app-header .navlight ul li input[type="checkbox"] {
  display: none; }

@media only screen and (min-width: 700px) and (min-height: 600px) {
  .app-header .navlight ul li.withsub input[type="checkbox"]:checked ~ ul {
    max-height: 20em; } }

/*
.app-header .navlight ul li ul.open {
  @media only screen and (min-width: 700px) and  (min-height: 600px) {
    max-height: 20em;
    }
  }
*/
.app-header .navlight ul li ul li {
  padding: 0 0 0 6px; }

.app-header .navlight li.current > a {
  color: #ff9943; }

/* ===============================
   for lightgallery.js
   =============================== */
@font-face {
  font-family: 'lg';
  src: url("../fonts/lg.eot?n1z373");
  src: url("../fonts/lg.eot?#iefixn1z373") format("embedded-opentype"), url("../fonts/lg.woff?n1z373") format("woff"), url("../fonts/lg.ttf?n1z373") format("truetype"), url("../fonts/lg.svg?n1z373#lg") format("svg");
  font-weight: normal;
  font-style: normal; }

.lg-icon {
  font-family: 'lg';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

.lg-actions .lg-next, .lg-actions .lg-prev {
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 2px;
  color: #999;
  cursor: pointer;
  display: block;
  font-size: 22px;
  margin-top: -10px;
  padding: 8px 10px 9px;
  position: absolute;
  top: 50%;
  z-index: 1080; }

.lg-actions .lg-next.disabled, .lg-actions .lg-prev.disabled {
  pointer-events: none;
  opacity: 0.5; }

.lg-actions .lg-next:hover, .lg-actions .lg-prev:hover {
  color: #FFF; }

.lg-actions .lg-next {
  right: 20px; }

.lg-actions .lg-next:before {
  content: "\e095"; }

.lg-actions .lg-prev {
  left: 20px; }

.lg-actions .lg-prev:after {
  content: "\e094"; }

@-webkit-keyframes lg-right-end {
  0% {
    left: 0; }
  50% {
    left: -30px; }
  100% {
    left: 0; } }

@-moz-keyframes lg-right-end {
  0% {
    left: 0; }
  50% {
    left: -30px; }
  100% {
    left: 0; } }

@-ms-keyframes lg-right-end {
  0% {
    left: 0; }
  50% {
    left: -30px; }
  100% {
    left: 0; } }

@keyframes lg-right-end {
  0% {
    left: 0; }
  50% {
    left: -30px; }
  100% {
    left: 0; } }

@-webkit-keyframes lg-left-end {
  0% {
    left: 0; }
  50% {
    left: 30px; }
  100% {
    left: 0; } }

@-moz-keyframes lg-left-end {
  0% {
    left: 0; }
  50% {
    left: 30px; }
  100% {
    left: 0; } }

@-ms-keyframes lg-left-end {
  0% {
    left: 0; }
  50% {
    left: 30px; }
  100% {
    left: 0; } }

@keyframes lg-left-end {
  0% {
    left: 0; }
  50% {
    left: 30px; }
  100% {
    left: 0; } }

.lg-outer.lg-right-end .lg-object {
  -webkit-animation: lg-right-end 0.3s;
  -o-animation: lg-right-end 0.3s;
  animation: lg-right-end 0.3s;
  position: relative; }

.lg-outer.lg-left-end .lg-object {
  -webkit-animation: lg-left-end 0.3s;
  -o-animation: lg-left-end 0.3s;
  animation: lg-left-end 0.3s;
  position: relative; }

.lg-toolbar {
  z-index: 1082;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.45); }

.lg-toolbar .lg-icon {
  color: #999;
  cursor: pointer;
  float: right;
  font-size: 24px;
  height: 47px;
  line-height: 27px;
  padding: 10px 0;
  text-align: center;
  width: 50px;
  text-decoration: none !important;
  outline: medium none;
  -webkit-transition: color 0.2s linear;
  -o-transition: color 0.2s linear;
  transition: color 0.2s linear; }

.lg-toolbar .lg-icon:hover {
  color: #FFF; }

.lg-toolbar .lg-close:after {
  content: "\e070"; }

.lg-toolbar .lg-download:after {
  content: "\e0f2"; }

.lg-sub-html {
  background-color: rgba(0, 0, 0, 0.45);
  bottom: 0;
  color: #EEE;
  font-size: 16px;
  left: 0;
  padding: 10px 40px;
  position: fixed;
  right: 0;
  text-align: center;
  z-index: 1080; }

.lg-sub-html h4 {
  margin: 0;
  font-size: 13px;
  font-weight: bold; }

.lg-sub-html p {
  font-size: 12px;
  margin: 5px 0 0; }

#lg-counter {
  color: #999;
  display: inline-block;
  font-size: 16px;
  padding-left: 20px;
  padding-top: 12px;
  vertical-align: middle; }

.lg-toolbar, .lg-prev, .lg-next {
  opacity: 1;
  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, color 0.2s linear;
  -moz-transition: -moz-transform 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, color 0.2s linear;
  -o-transition: -o-transform 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, color 0.2s linear;
  transition: transform 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.35s cubic-bezier(0, 0, 0.25, 1) 0s, color 0.2s linear; }

.lg-hide-items .lg-prev {
  opacity: 0;
  -webkit-transform: translate3d(-10px, 0, 0);
  transform: translate3d(-10px, 0, 0); }

.lg-hide-items .lg-next {
  opacity: 0;
  -webkit-transform: translate3d(10px, 0, 0);
  transform: translate3d(10px, 0, 0); }

.lg-hide-items .lg-toolbar {
  opacity: 0;
  -webkit-transform: translate3d(0, -10px, 0);
  transform: translate3d(0, -10px, 0); }

body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-object {
  -webkit-transform: scale3d(0.5, 0.5, 0.5);
  transform: scale3d(0.5, 0.5, 0.5);
  opacity: 0;
  -webkit-transition: -webkit-transform 250ms cubic-bezier(0, 0, 0.25, 1) 0s, opacity 250ms cubic-bezier(0, 0, 0.25, 1) !important;
  -moz-transition: -moz-transform 250ms cubic-bezier(0, 0, 0.25, 1) 0s, opacity 250ms cubic-bezier(0, 0, 0.25, 1) !important;
  -o-transition: -o-transform 250ms cubic-bezier(0, 0, 0.25, 1) 0s, opacity 250ms cubic-bezier(0, 0, 0.25, 1) !important;
  transition: transform 250ms cubic-bezier(0, 0, 0.25, 1) 0s, opacity 250ms cubic-bezier(0, 0, 0.25, 1) !important;
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%; }

body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  opacity: 1; }

.lg-outer .lg-thumb-outer {
  background-color: #0D0A0A;
  bottom: 0;
  position: absolute;
  width: 100%;
  z-index: 1080;
  max-height: 350px;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
  -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
  -moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
  -o-transition: -o-transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s;
  transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1) 0s; }

.lg-outer .lg-thumb-outer.lg-grab .lg-thumb-item {
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: -o-grab;
  cursor: -ms-grab;
  cursor: grab; }

.lg-outer .lg-thumb-outer.lg-grabbing .lg-thumb-item {
  cursor: move;
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: -o-grabbing;
  cursor: -ms-grabbing;
  cursor: grabbing; }

.lg-outer .lg-thumb-outer.lg-dragging .lg-thumb {
  -webkit-transition-duration: 0s !important;
  transition-duration: 0s !important; }

.lg-outer.lg-thumb-open .lg-thumb-outer {
  -webkit-transform: translate3d(0, 0%, 0);
  transform: translate3d(0, 0%, 0); }

.lg-outer .lg-thumb {
  padding: 10px 0;
  height: 100%;
  margin-bottom: -5px; }

.lg-outer .lg-thumb-item {
  border-radius: 5px;
  cursor: pointer;
  float: left;
  overflow: hidden;
  height: 100%;
  border: 2px solid #FFF;
  border-radius: 4px;
  margin-bottom: 5px; }

@media (min-width: 1025px) {
  .lg-outer .lg-thumb-item {
    -webkit-transition: border-color 0.25s ease;
    -o-transition: border-color 0.25s ease;
    transition: border-color 0.25s ease; } }

.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
  border-color: #a90707; }

.lg-outer .lg-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

.lg-outer.lg-has-thumb .lg-item {
  padding-bottom: 120px; }

.lg-outer.lg-can-toggle .lg-item {
  padding-bottom: 0; }

.lg-outer.lg-pull-caption-up .lg-sub-html {
  -webkit-transition: bottom 0.25s ease;
  -o-transition: bottom 0.25s ease;
  transition: bottom 0.25s ease; }

.lg-outer.lg-pull-caption-up.lg-thumb-open .lg-sub-html {
  bottom: 100px; }

.lg-outer .lg-toggle-thumb {
  background-color: #0D0A0A;
  border-radius: 2px 2px 0 0;
  color: #999;
  cursor: pointer;
  font-size: 24px;
  height: 39px;
  line-height: 27px;
  padding: 5px 0;
  position: absolute;
  right: 20px;
  text-align: center;
  top: -39px;
  width: 50px; }

.lg-outer .lg-toggle-thumb:after {
  content: "\e1ff"; }

.lg-outer .lg-toggle-thumb:hover {
  color: #FFF; }

.lg-outer .lg-video-cont {
  display: inline-block;
  vertical-align: middle;
  max-width: 1140px;
  max-height: 100%;
  width: 100%;
  padding: 0 5px; }

.lg-outer .lg-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative; }

.lg-outer .lg-video .lg-object {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important; }

.lg-outer .lg-video .lg-video-play {
  width: 84px;
  height: 59px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -42px;
  margin-top: -30px;
  z-index: 1080;
  cursor: pointer; }

.lg-outer .lg-has-vimeo .lg-video-play {
  background: url("../img/vimeo-play.png") no-repeat scroll 0 0 transparent; }

.lg-outer .lg-has-vimeo:hover .lg-video-play {
  background: url("../img/vimeo-play.png") no-repeat scroll 0 -58px transparent; }

.lg-outer .lg-has-html5 .lg-video-play {
  background: transparent url("../img/video-play.png") no-repeat scroll 0 0;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  width: 64px;
  opacity: 0.8; }

.lg-outer .lg-has-html5:hover .lg-video-play {
  opacity: 1; }

.lg-outer .lg-has-youtube .lg-video-play {
  background: url("../img/youtube-play.png") no-repeat scroll 0 0 transparent; }

.lg-outer .lg-has-youtube:hover .lg-video-play {
  background: url("../img/youtube-play.png") no-repeat scroll 0 -60px transparent; }

.lg-outer .lg-video-object {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0; }

.lg-outer .lg-has-video .lg-video-object {
  visibility: hidden; }

.lg-outer .lg-has-video.lg-video-playing .lg-object, .lg-outer .lg-has-video.lg-video-playing .lg-video-play {
  display: none; }

.lg-outer .lg-has-video.lg-video-playing .lg-video-object {
  visibility: visible; }

.lg-progress-bar {
  background-color: #333;
  height: 5px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1083;
  opacity: 0;
  -webkit-transition: opacity 0.08s ease 0s;
  -moz-transition: opacity 0.08s ease 0s;
  -o-transition: opacity 0.08s ease 0s;
  transition: opacity 0.08s ease 0s; }

.lg-progress-bar .lg-progress {
  background-color: #a90707;
  height: 5px;
  width: 0; }

.lg-progress-bar.lg-start .lg-progress {
  width: 100%; }

.lg-show-autoplay .lg-progress-bar {
  opacity: 1; }

.lg-autoplay-button:after {
  content: "\e01d"; }

.lg-show-autoplay .lg-autoplay-button:after {
  content: "\e01a"; }

.lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-img-wrap, .lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-image {
  -webkit-transition-duration: 0s;
  transition-duration: 0s; }

.lg-outer.lg-use-transition-for-zoom .lg-item.lg-complete.lg-zoomable .lg-img-wrap {
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0, 0, 0.25, 1) 0s;
  -moz-transition: -moz-transform 0.3s cubic-bezier(0, 0, 0.25, 1) 0s;
  -o-transition: -o-transform 0.3s cubic-bezier(0, 0, 0.25, 1) 0s;
  transition: transform 0.3s cubic-bezier(0, 0, 0.25, 1) 0s; }

.lg-outer.lg-use-left-for-zoom .lg-item.lg-complete.lg-zoomable .lg-img-wrap {
  -webkit-transition: left 0.3s cubic-bezier(0, 0, 0.25, 1) 0s, top 0.3s cubic-bezier(0, 0, 0.25, 1) 0s;
  -moz-transition: left 0.3s cubic-bezier(0, 0, 0.25, 1) 0s, top 0.3s cubic-bezier(0, 0, 0.25, 1) 0s;
  -o-transition: left 0.3s cubic-bezier(0, 0, 0.25, 1) 0s, top 0.3s cubic-bezier(0, 0, 0.25, 1) 0s;
  transition: left 0.3s cubic-bezier(0, 0, 0.25, 1) 0s, top 0.3s cubic-bezier(0, 0, 0.25, 1) 0s; }

.lg-outer .lg-item.lg-complete.lg-zoomable .lg-img-wrap {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden; }

.lg-outer .lg-item.lg-complete.lg-zoomable .lg-image {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.15s !important;
  -moz-transition: -moz-transform 0.3s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.15s !important;
  -o-transition: -o-transform 0.3s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.15s !important;
  transition: transform 0.3s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.15s !important;
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden; }

#lg-zoom-in:after {
  content: "\e311"; }

#lg-actual-size {
  font-size: 20px; }

#lg-actual-size:after {
  content: "\e033"; }

#lg-zoom-out {
  opacity: 0.5;
  pointer-events: none; }

#lg-zoom-out:after {
  content: "\e312"; }

.lg-zoomed #lg-zoom-out {
  opacity: 1;
  pointer-events: auto; }

.lg-outer .lg-pager-outer {
  bottom: 60px;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  z-index: 1080;
  height: 10px; }

.lg-outer .lg-pager-outer.lg-pager-hover .lg-pager-cont {
  overflow: visible; }

.lg-outer .lg-pager-cont {
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  position: relative;
  vertical-align: top;
  margin: 0 5px; }

.lg-outer .lg-pager-cont:hover .lg-pager-thumb-cont {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0); }

.lg-outer .lg-pager-cont.lg-pager-active .lg-pager {
  box-shadow: 0 0 0 2px white inset; }

.lg-outer .lg-pager-thumb-cont {
  background-color: #fff;
  color: #FFF;
  bottom: 100%;
  height: 83px;
  left: 0;
  margin-bottom: 20px;
  margin-left: -60px;
  opacity: 0;
  padding: 5px;
  position: absolute;
  width: 120px;
  border-radius: 3px;
  -webkit-transition: opacity 0.15s ease 0s, -webkit-transform 0.15s ease 0s;
  -moz-transition: opacity 0.15s ease 0s, -moz-transform 0.15s ease 0s;
  -o-transition: opacity 0.15s ease 0s, -o-transform 0.15s ease 0s;
  transition: opacity 0.15s ease 0s, transform 0.15s ease 0s;
  -webkit-transform: translate3d(0, 5px, 0);
  transform: translate3d(0, 5px, 0); }

.lg-outer .lg-pager-thumb-cont img {
  width: 100%;
  height: 100%; }

.lg-outer .lg-pager {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.7) inset;
  display: block;
  height: 12px;
  -webkit-transition: box-shadow 0.3s ease 0s;
  -o-transition: box-shadow 0.3s ease 0s;
  transition: box-shadow 0.3s ease 0s;
  width: 12px; }

.lg-outer .lg-pager:hover, .lg-outer .lg-pager:focus {
  box-shadow: 0 0 0 8px white inset; }

.lg-outer .lg-caret {
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px dashed;
  bottom: -10px;
  display: inline-block;
  height: 0;
  left: 50%;
  margin-left: -5px;
  position: absolute;
  vertical-align: middle;
  width: 0; }

.lg-fullscreen:after {
  content: "\e20c"; }

.lg-fullscreen-on .lg-fullscreen:after {
  content: "\e20d"; }

.lg-outer #lg-dropdown-overlay {
  background-color: rgba(0, 0, 0, 0.25);
  bottom: 0;
  cursor: default;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1081;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: visibility 0s linear 0.18s, opacity 0.18s linear 0s;
  -o-transition: visibility 0s linear 0.18s, opacity 0.18s linear 0s;
  transition: visibility 0s linear 0.18s, opacity 0.18s linear 0s; }

.lg-outer.lg-dropdown-active .lg-dropdown, .lg-outer.lg-dropdown-active #lg-dropdown-overlay {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  -moz-transform: translate3d(0, 0px, 0);
  -o-transform: translate3d(0, 0px, 0);
  -ms-transform: translate3d(0, 0px, 0);
  -webkit-transform: translate3d(0, 0px, 0);
  transform: translate3d(0, 0px, 0);
  opacity: 1;
  visibility: visible; }

.lg-outer.lg-dropdown-active #lg-share {
  color: #FFF; }

.lg-outer .lg-dropdown {
  background-color: #fff;
  border-radius: 2px;
  font-size: 14px;
  list-style-type: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  right: 0;
  text-align: left;
  top: 50px;
  opacity: 0;
  visibility: hidden;
  -moz-transform: translate3d(0, 5px, 0);
  -o-transform: translate3d(0, 5px, 0);
  -ms-transform: translate3d(0, 5px, 0);
  -webkit-transform: translate3d(0, 5px, 0);
  transform: translate3d(0, 5px, 0);
  -webkit-transition: -webkit-transform 0.18s linear 0s, visibility 0s linear 0.5s, opacity 0.18s linear 0s;
  -moz-transition: -moz-transform 0.18s linear 0s, visibility 0s linear 0.5s, opacity 0.18s linear 0s;
  -o-transition: -o-transform 0.18s linear 0s, visibility 0s linear 0.5s, opacity 0.18s linear 0s;
  transition: transform 0.18s linear 0s, visibility 0s linear 0.5s, opacity 0.18s linear 0s; }

.lg-outer .lg-dropdown:after {
  content: "";
  display: block;
  height: 0;
  width: 0;
  position: absolute;
  border: 8px solid transparent;
  border-bottom-color: #FFF;
  right: 16px;
  top: -16px; }

.lg-outer .lg-dropdown > li:last-child {
  margin-bottom: 0px; }

.lg-outer .lg-dropdown > li:hover a, .lg-outer .lg-dropdown > li:hover .lg-icon {
  color: #333; }

.lg-outer .lg-dropdown a {
  color: #333;
  display: block;
  white-space: pre;
  padding: 4px 12px;
  font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 12px; }

.lg-outer .lg-dropdown a:hover {
  background-color: rgba(0, 0, 0, 0.07); }

.lg-outer .lg-dropdown .lg-dropdown-text {
  display: inline-block;
  line-height: 1;
  margin-top: -3px;
  vertical-align: middle; }

.lg-outer .lg-dropdown .lg-icon {
  color: #333;
  display: inline-block;
  float: none;
  font-size: 20px;
  height: auto;
  line-height: 1;
  margin-right: 8px;
  padding: 0;
  vertical-align: middle;
  width: auto; }

.lg-outer #lg-share {
  position: relative; }

.lg-outer #lg-share:after {
  content: "\e80d"; }

.lg-outer #lg-share-facebook .lg-icon {
  color: #3b5998; }

.lg-outer #lg-share-facebook .lg-icon:after {
  content: "\e901"; }

.lg-outer #lg-share-twitter .lg-icon {
  color: #00aced; }

.lg-outer #lg-share-twitter .lg-icon:after {
  content: "\e904"; }

.lg-outer #lg-share-googleplus .lg-icon {
  color: #dd4b39; }

.lg-outer #lg-share-googleplus .lg-icon:after {
  content: "\e902"; }

.lg-outer #lg-share-pinterest .lg-icon {
  color: #cb2027; }

.lg-outer #lg-share-pinterest .lg-icon:after {
  content: "\e903"; }

.group {
  *zoom: 1; }

.group:before, .group:after {
  display: table;
  content: "";
  line-height: 0; }

.group:after {
  clear: both; }

.lg-outer {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  opacity: 0;
  -webkit-transition: opacity 0.15s ease 0s;
  -o-transition: opacity 0.15s ease 0s;
  transition: opacity 0.15s ease 0s; }

.lg-outer * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.lg-outer.lg-visible {
  opacity: 1; }

.lg-outer.lg-css3 .lg-item.lg-prev-slide, .lg-outer.lg-css3 .lg-item.lg-next-slide, .lg-outer.lg-css3 .lg-item.lg-current {
  -webkit-transition-duration: inherit !important;
  transition-duration: inherit !important;
  -webkit-transition-timing-function: inherit !important;
  transition-timing-function: inherit !important; }

.lg-outer.lg-css3.lg-dragging .lg-item.lg-prev-slide, .lg-outer.lg-css3.lg-dragging .lg-item.lg-next-slide, .lg-outer.lg-css3.lg-dragging .lg-item.lg-current {
  -webkit-transition-duration: 0s !important;
  transition-duration: 0s !important;
  opacity: 1; }

.lg-outer.lg-grab img.lg-object {
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: -o-grab;
  cursor: -ms-grab;
  cursor: grab; }

.lg-outer.lg-grabbing img.lg-object {
  cursor: move;
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: -o-grabbing;
  cursor: -ms-grabbing;
  cursor: grabbing; }

.lg-outer .lg {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%; }

.lg-outer .lg-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap; }

.lg-outer .lg-item {
  background: url("../img/loading.gif") no-repeat scroll center center transparent;
  display: none !important; }

.lg-outer.lg-css3 .lg-prev-slide, .lg-outer.lg-css3 .lg-current, .lg-outer.lg-css3 .lg-next-slide {
  display: inline-block !important; }

.lg-outer.lg-css .lg-current {
  display: inline-block !important; }

.lg-outer .lg-item, .lg-outer .lg-img-wrap {
  display: inline-block;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%; }

.lg-outer .lg-item:before, .lg-outer .lg-img-wrap:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px; }

.lg-outer .lg-img-wrap {
  position: absolute;
  padding: 0 5px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0; }

.lg-outer .lg-item.lg-complete {
  background-image: none; }

.lg-outer .lg-item.lg-current {
  z-index: 1060; }

.lg-outer .lg-image {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  max-height: 100%;
  width: auto !important;
  height: auto !important; }

.lg-outer.lg-show-after-load .lg-item .lg-object, .lg-outer.lg-show-after-load .lg-item .lg-video-play {
  opacity: 0;
  -webkit-transition: opacity 0.15s ease 0s;
  -o-transition: opacity 0.15s ease 0s;
  transition: opacity 0.15s ease 0s; }

.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-object, .lg-outer.lg-show-after-load .lg-item.lg-complete .lg-video-play {
  opacity: 1; }

.lg-outer .lg-empty-html {
  display: none; }

.lg-outer.lg-hide-download #lg-download {
  display: none; }

.lg-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background-color: #000;
  opacity: 0;
  -webkit-transition: opacity 0.15s ease 0s;
  -o-transition: opacity 0.15s ease 0s;
  transition: opacity 0.15s ease 0s; }

.lg-backdrop.in {
  opacity: 1; }

.lg-css3.lg-no-trans .lg-prev-slide, .lg-css3.lg-no-trans .lg-next-slide, .lg-css3.lg-no-trans .lg-current {
  -webkit-transition: none 0s ease 0s !important;
  -moz-transition: none 0s ease 0s !important;
  -o-transition: none 0s ease 0s !important;
  transition: none 0s ease 0s !important; }

.lg-css3.lg-use-css3 .lg-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden; }

.lg-css3.lg-use-left .lg-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden; }

.lg-css3.lg-fade .lg-item {
  opacity: 0; }

.lg-css3.lg-fade .lg-item.lg-current {
  opacity: 1; }

.lg-css3.lg-fade .lg-item.lg-prev-slide, .lg-css3.lg-fade .lg-item.lg-next-slide, .lg-css3.lg-fade .lg-item.lg-current {
  -webkit-transition: opacity 0.1s ease 0s;
  -moz-transition: opacity 0.1s ease 0s;
  -o-transition: opacity 0.1s ease 0s;
  transition: opacity 0.1s ease 0s; }

.lg-css3.lg-slide.lg-use-css3 .lg-item {
  opacity: 0; }

.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide {
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0); }

.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide {
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0); }

.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  opacity: 1; }

.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide, .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide, .lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current {
  -webkit-transition: -webkit-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
  -moz-transition: -moz-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
  -o-transition: -o-transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
  transition: transform 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s; }

.lg-css3.lg-slide.lg-use-left .lg-item {
  opacity: 0;
  position: absolute;
  left: 0; }

.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide {
  left: -100%; }

.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide {
  left: 100%; }

.lg-css3.lg-slide.lg-use-left .lg-item.lg-current {
  left: 0;
  opacity: 1; }

.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide, .lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide, .lg-css3.lg-slide.lg-use-left .lg-item.lg-current {
  -webkit-transition: left 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
  -moz-transition: left 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
  -o-transition: left 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
  transition: left 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s; }

/* ===============================
   for article page
   =============================== */
/*
=========================
Articles layout
- Grid Layout master rules
=========================
*/
.article section:nth-child(odd) {
  background-color: #F9F9F7; }

.article section:nth-child(even) {
  background-color: #FFFFFF; }

@media screen and (min-width: 700px) and (min-height: 600px) {
  .article section div[class*="layout"] {
    margin-top: 40px; } }

.article#nofullpage {
  margin: 0 0 25px 0; }

.article#nofullpage section,
.article#fullpage section > div > div {
  min-height: calc(100vh - 65px); }

.article#nofullpage section:first-child,
.article#fullpage section:first-child > div > div {
  min-height: calc(100vh - 40px); }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .article#nofullpage section:first-child,
    .article#fullpage section:first-child > div > div {
      min-height: auto;
      height: calc(100vh - 65px); } }

.article#nofullpage section:last-child,
.article#fullpage section:last-child > div > div {
  min-height: calc(100vh - 25px); }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .article#nofullpage section:last-child,
    .article#fullpage section:last-child > div > div {
      min-height: auto;
      height: calc(100vh - 65px); } }

.article#nofullpage section:first-child:last-child,
.article#fullpage section:first-child:last-child > div > div {
  min-height: calc(100vh - 65px); }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .article#nofullpage section:first-child:last-child,
    .article#fullpage section:first-child:last-child > div > div {
      min-height: auto;
      height: calc(100vh - 65px); } }

@media screen and (min-width: 700px) and (min-height: 600px) {
  .article#nofullpage section div[class*="layout"] {
    margin-top: 0; } }

/*
=========================
=========================
Temp for dev only
=========================
=========================
*/
/*
div[class*="layout"]  {
  position: relative;
  &:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-width: 3px;
    border-style: solid;
    opacity: 0.3;
    }
  }

section:nth-child(odd) div[class*="layout"]:after {
  border-color: red;
  }

section:nth-child(even) div[class*="layout"]:after {
  border-color: green;
  }
*/
/*
=========================
Articles layout
- LAYOUT A
=========================
*/
.layout--a {
  display: grid;
  grid-template-columns: 0 repeat(6, 1fr) 0;
  grid-template-rows: repeat(5, auto);
  grid-gap: 1em;
  width: 100%; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--a {
      height: calc(100vh - 65px);
      grid-template-columns: 1em repeat(12, 1fr) 1em;
      grid-template-rows: 1em auto 1fr 1em; } }

.layout--a .griditem__1 {
  grid-column: 1 / span 8; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--a .griditem__1 {
      grid-column: 1 / span 14;
      grid-row: 1 / span 2; } }
  @media screen and (min-width: 700px) and (orientation: landscape) {
    .layout--a .griditem__1 {
      grid-row: 1 / span 4; } }

.layout--a .griditem__1 div {
  width: 100vw; }
  @media screen and (min-width: 700px) and (orientation: landscape) {
    .layout--a .griditem__1 div {
      height: calc(100vh - 65px); } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  article section:first-child .layout--a .griditem__1 div,
  article section:last-child .layout--a .griditem__1 div {
    height: calc(100vh - 65px); } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  article section:first-child:last-child .layout--a .griditem__1 div {
    height: calc(100vh - 65px); } }

.layout--a .griditem__1 div img {
  object-fit: cover;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%; }

.layout--a .griditem__2 {
  grid-column: 2 / span 6;
  margin-bottom: 1em; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--a .griditem__2 {
      grid-column: 2 / span 12;
      grid-row: 2 / span 1;
      margin-bottom: 0; } }
  @media screen and (min-width: 700px) and (orientation: landscape) {
    .layout--a .griditem__2 {
      grid-column: 2 / span 4;
      grid-row: 2 / span 1; } }

.layout--a .griditem__3 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--a .griditem__3 {
      grid-column: 2 / span 12;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 700px) and (orientation: landscape) {
    .layout--a .griditem__3 {
      grid-column: 6 / span 8;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 1200px) and (orientation: landscape) {
    .layout--a .griditem__3 {
      column-count: 3;
      column-gap: 2em; } }

/*
=========================
Articles layout
- LAYOUT B
=========================
*/
.layout--b {
  display: grid;
  grid-template-columns: 0 repeat(6, 1fr) 0;
  grid-gap: 1em;
  width: 100%; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--b {
      grid-template-columns: 1em repeat(12, 1fr) 1em;
      grid-template-rows: 1em repeat(3, auto) 1em;
      grid-gap: 1em; } }
  @media screen and (min-width: 1000px) and (orientation: landscape) {
    .layout--b {
      grid-template-rows: 1em repeat(2, auto) 1em; } }

@media screen and (min-width: 700px) and (min-height: 600px) {
  article section:first-child .layout--b,
  article section:last-child .layout--b {
    max-height: calc(100vh - 40px); } }

@media screen and (min-width: 700px) and (min-height: 600px) {
  article section:last-child:last-child .layout--b {
    max-height: calc(100vh - 65px); } }

.layout--b .griditem__1 {
  grid-column: 2 / span 6;
  padding-top: 2em; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--b .griditem__1 {
      grid-column: 2 / span 7;
      grid-row: 2 / span 2;
      padding-top: 0; } }
  @media screen and (min-width: 1000px) and (orientation: landscape) {
    .layout--b .griditem__1 {
      grid-column: 2 / span 4; } }

.layout--b .griditem__2 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 600px) {
    .layout--b .griditem__2 {
      grid-column: 2 / span 3;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--b .griditem__2 {
      grid-column: 9 / span 5;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 1000px) and (orientation: landscape) {
    .layout--b .griditem__2 {
      grid-column: 6 / span 4; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 7) {
    .layout--b .griditem__2 {
      grid-column: 6 / span 3; } }

.layout--b .griditem__3 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 600px) {
    .layout--b .griditem__3 {
      grid-column: 5 / span 3; } }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--b .griditem__3 {
      grid-column: 9 / span 5;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 1000px) and (orientation: landscape) {
    .layout--b .griditem__3 {
      grid-column: 10 / span 4;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 7) {
    .layout--b .griditem__3 {
      grid-column: 9 / span 3; } }

.layout--b .griditem__4 {
  grid-column: 2 / span 6;
  padding-bottom: 1em; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--b .griditem__4 {
      grid-column: 2 / span 12;
      grid-row: 4 / span 1; } }
  @media screen and (min-width: 1000px) and (orientation: landscape) {
    .layout--b .griditem__4 {
      grid-column: 6 / span 8;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 7) {
    .layout--b .griditem__4 {
      grid-column: 6 / span 6; } }

/*
=========================
Articles layout
- LAYOUT C
=========================
*/
.layout--c {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(3, auto);
  grid-gap: 0;
  width: 100%; }
  @media screen and (orientation: landscape), screen and (min-width: 700px) {
    .layout--c.hor-lft {
      grid-template-columns: auto 1fr 1fr; }
    .layout--c.hor-cen {
      grid-template-columns: 1fr auto 1fr; }
    .layout--c.hor-rgt {
      grid-template-columns: 1fr 1fr auto; }
    .layout--c.vrt-top {
      grid-template-rows: auto 1fr 1fr; }
    .layout--c.vrt-cen {
      grid-template-rows: 1fr auto 1fr; }
    .layout--c.vrt-bot {
      grid-template-rows: 1fr 1fr auto; } }

.layout--c .griditem__1 {
  grid-column: 1 / span 3;
  grid-row: 1 / span 3; }

.layout--c .griditem__1 div {
  width: 100vw;
  height: 100vh; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--c .griditem__1 div {
      width: 100%;
      height: calc(100vh - 65px); } }

article section:first-child .layout--c .griditem__1 div,
article section:last-child .layout--c .griditem__1 div {
  height: calc(100vh - 25px); }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    article section:first-child .layout--c .griditem__1 div,
    article section:last-child .layout--c .griditem__1 div {
      height: calc(100vh - 65px); } }

article section:first-child:last-child .layout--c .griditem__1 div,
main.moment .layout--c .griditem__1 div {
  height: calc(100vh - 65px); }

.layout--c .griditem__1 div img {
  object-fit: cover;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%; }

.layout--c .griditem__2 {
  grid-column: 1 / span 3;
  grid-row: 1 / span 3;
  padding: 1em; }
  @media screen and (orientation: landscape), screen and (min-width: 700px) {
    .layout--c .griditem__2 {
      grid-column: 1 / span 1;
      grid-row: 1 /span 1; } }

@media screen and (orientation: landscape), screen and (min-width: 700px) {
  .layout--c.horizontal-left .griditem__2 {
    grid-column-start: 1; }
  .layout--c.horizontal-centre .griditem__2 {
    grid-column-start: 2; }
  .layout--c.horizontal-right .griditem__2 {
    grid-column-start: 3; }
  .layout--c.vertical-top .griditem__2 {
    grid-row-start: 1; }
  .layout--c.vertical-centre .griditem__2 {
    grid-row-start: 2; }
  .layout--c.vertical-bottom .griditem__2 {
    grid-row-start: 3; } }

.layout--c .griditem__2 div {
  max-width: 100vw; }
  @media screen and (orientation: landscape), screen and (min-width: 700px) {
    .layout--c .griditem__2 div {
      max-width: 50vw; } }
  @media screen and (orientation: landscape), screen and (min-width: 1000px) {
    .layout--c .griditem__2 div {
      max-width: 20em; } }

/*
=========================
Articles layout
- LAYOUT D
=========================
*/
.layout--d {
  display: grid;
  grid-template-columns: 0 repeat(6, 1fr) 0;
  grid-gap: 1em;
  width: 100%;
  padding: 1em 0; }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--d {
      grid-template-columns: 1em repeat(12, 1fr) 1em;
      grid-template-rows: 1em repeat(12, 1fr) 1em;
      padding: 0; } }

@media screen and (min-width: 700px) and (min-height: 600px) {
  article section:first-child .layout--d,
  article section:last-child .layout--d {
    max-height: calc(100vh - 40px); } }

@media screen and (min-width: 700px) and (min-height: 600px) {
  article section:last-child:last-child .layout--d {
    max-height: calc(100vh - 65px); } }

.layout--d .griditem__1 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--d .griditem__1 {
      grid-column: 7 / span 7;
      grid-row: 2 / span 6; } }

.layout--d .griditem__2 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--d .griditem__2 {
      grid-column: 7 / span 7;
      grid-row: 8 / span 3; } }

.layout--d .griditem__3 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--d .griditem__3 {
      grid-column: 7 / span 7;
      grid-row: 13 / span 1;
      align-self: end;
      margin-bottom: -0.25em; } }

.layout--d .griditem__4 {
  grid-column: 2 / span 3; }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--d .griditem__4 {
      grid-column: 2 / span 5;
      grid-row: 2 / span 6; } }

.layout--d .griditem__5 {
  grid-column: 5 / span 3; }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--d .griditem__5 {
      grid-column: 2 / span 5;
      grid-row: 8 / span 6; } }

/*
=========================
Articles layout
- LAYOUT E
=========================
*/
.layout--e {
  display: grid;
  grid-template-columns: 0 repeat(6, 1fr) 0;
  grid-gap: 1em;
  width: 100%;
  padding: 1em 0; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--e {
      grid-template-columns: 1em repeat(12, 1fr) 1em;
      grid-template-rows: 1em repeat(3, auto) 1em;
      grid-gap: 1em;
      padding: 0; } }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--e {
      grid-template-rows: 1em minmax(1fr, 10em) minmax(1fr, 10em) 1em; } }

@media screen and (min-width: 700px) and (min-height: 600px) {
  article section:first-child .layout--e,
  article section:last-child .layout--e {
    max-height: calc(100vh - 40px); } }

@media screen and (min-width: 700px) and (min-height: 600px) {
  article section:last-child:last-child .layout--e {
    max-height: calc(100vh - 65px); } }

.layout--e .griditem__1 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--e .griditem__1 {
      grid-column: 2 / span 12;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--e .griditem__1 {
      grid-column: 2 / span 4;
      grid-row: 2 / span 2; } }

.layout--e .griditem__2 {
  grid-column: 2 / span 6; }
  @media screen and (orientation: landscape) {
    .layout--e .griditem__2 {
      grid-column: 2 / span 3; } }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--e .griditem__2 {
      grid-column: 2 / span 6;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--e .griditem__2 {
      grid-column: 6 / span 4;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .layout--e .griditem__2 {
      grid-column: 6 / span 3; } }

.layout--e .griditem__3 {
  grid-column: 2 / span 6; }
  @media screen and (orientation: landscape) {
    .layout--e .griditem__3 {
      grid-column: 5 / span 3; } }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--e .griditem__3 {
      grid-column: 8 / span 6;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--e .griditem__3 {
      grid-column: 10 / span 4;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .layout--e .griditem__3 {
      grid-column: 9 / span 3; } }

.layout--e .griditem__4 {
  grid-column: 2 / span 6; }
  @media screen and (orientation: landscape) {
    .layout--e .griditem__4 {
      grid-column: 2 / span 3; } }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--e .griditem__4 {
      grid-column: 2 / span 6;
      grid-row: 4 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--e .griditem__4 {
      grid-column: 6 / span 4;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .layout--e .griditem__4 {
      grid-column: 6 / span 3; } }

.layout--e .griditem__5 {
  grid-column: 2 / span 6; }
  @media screen and (orientation: landscape) {
    .layout--e .griditem__5 {
      grid-column: 5 / span 3; } }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--e .griditem__5 {
      grid-column: 8 / span 6;
      grid-row: 4 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--e .griditem__5 {
      grid-column: 10 / span 4;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .layout--e .griditem__5 {
      grid-column: 9 / span 3; } }

/*
=========================
Articles layout
- LAYOUT F
=========================
*/
.layout--f {
  display: grid;
  grid-template-columns: 0 repeat(6, 1fr) 0;
  grid-gap: 1em;
  width: 100%;
  padding: 1em 0; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--f {
      grid-template-columns: 1em repeat(12, 1fr) 1em;
      grid-template-rows: 1em repeat(3, auto) 1em;
      grid-gap: 1em;
      padding: 0; } }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--f {
      grid-template-rows: 1em minmax(1fr, 10em) minmax(1fr, 10em) 1em; } }

@media screen and (min-width: 700px) and (min-height: 600px) {
  article section:first-child .layout--f,
  article section:last-child .layout--f {
    max-height: calc(100vh - 40px); } }

@media screen and (min-width: 700px) and (min-height: 600px) {
  article section:last-child:last-child .layout--f {
    max-height: calc(100vh - 65px); } }

.layout--f .griditem__1 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--f .griditem__1 {
      grid-column: 2 / span 12;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--f .griditem__1 {
      grid-column: 2 / span 6;
      grid-row: 2 / span 2; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .layout--f .griditem__1 {
      grid-column: 2 / span 8;
      grid-row: 2 / span 1; } }

.layout--f .griditem__2 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 600px) and (orientation: landscape) {
    .layout--f .griditem__2 {
      grid-column: 2 / span 3;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--f .griditem__2 {
      grid-column: 4 / span 8;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--f .griditem__2 {
      grid-column: 8 / span 6;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .layout--f .griditem__2 {
      grid-column: 2 / span 6;
      grid-row: 3 / span 1; } }

.layout--f .griditem__3 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 600px) and (orientation: landscape) {
    .layout--f .griditem__3 {
      grid-column: 5 / span 3;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .layout--f .griditem__3 {
      grid-column: 4 / span 8;
      grid-row: 4 / span 1; } }
  @media screen and (min-width: 700px) and (min-height: 600px) and (orientation: landscape) {
    .layout--f .griditem__3 {
      grid-column: 8 / span 6;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .layout--f .griditem__3 {
      grid-column: 8 / span 6;
      grid-row: 3 / span 1; } }

/* ===============================
   for reflecting page
   =============================== */
/*
=========================
=========================
Reflecting
=========================
=========================
*/
.body--reflecting {
  min-height: 100vh; }

main.reflecting {
  min-height: calc(100vh - 65px);
  background-color: #F9F9F7; }

.layout--reflecting {
  display: grid;
  grid-template-columns: 0 1fr 0;
  grid-template-rows: 0 auto auto auto auto 0;
  grid-column-gap: 1em;
  grid-row-gap: 0.5em;
  align-content: center;
  min-height: calc(100vh - 65px); }
  @media screen and (orientation: landscape) {
    .layout--reflecting {
      grid-template-columns: 0 min-content 1fr 0;
      grid-template-rows: 0 auto auto auto 0;
      grid-row-gap: 1em; } }
  @media screen and (min-width: 700px) and (orientation: portrait) {
    .layout--reflecting {
      grid-template-columns: 1em 1fr 1em;
      grid-template-rows: 1em auto auto auto 2.5em 1em;
      height: calc(100vh - 65px); } }
  @media screen and (min-width: 900px) and (orientation: landscape) {
    .layout--reflecting {
      grid-template-columns: 1em auto calc(100vh - (4em + 65px)) auto 1em;
      grid-template-rows: 1em auto 2.5em 1em;
      max-width: 100%;
      height: calc(100vh - 65px);
      justify-content: center; } }
  @media screen and (min-width: 900px) and (max-aspect-ratio: 10 / 7) {
    .layout--reflecting {
      grid-template-columns: 1em calc(100vh - (4em + 65px)) auto 1em;
      grid-template-rows: 1em min-content auto 2.5em 1em; } }

.layout--reflecting .griditem--title {
  grid-column: 2 / span 1;
  grid-row: 2 / span 1;
  padding-right: 33.33%; }
  @media screen and (min-width: 900px) and (orientation: landscape) {
    .layout--reflecting .griditem--title {
      text-align: center;
      grid-row: 2 / span 2;
      padding-right: 0; } }
  @media screen and (min-width: 900px) and (max-aspect-ratio: 10 / 7) {
    .layout--reflecting .griditem--title {
      grid-column: 3 / span 1;
      grid-row: 2 / span 1; } }

.layout--reflecting .griditem--title .reflecting-title {
  display: block;
  width: 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  margin: 0; }
  @media screen and (min-width: 900px) and (orientation: landscape) {
    .layout--reflecting .griditem--title .reflecting-title {
      height: 100%;
      padding-bottom: 0; } }

.layout--reflecting .griditem--title .reflecting-title span {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }

.layout--reflecting .griditem--content {
  grid-column: 2 / span 1;
  grid-row: 3 / span 1; }
  @media screen and (min-width: 900px) and (orientation: landscape) {
    .layout--reflecting .griditem--content {
      grid-column: 4 / span 1;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 900px) and (max-aspect-ratio: 10 / 7) {
    .layout--reflecting .griditem--content {
      grid-column: 3 / span 1;
      grid-row: 3 / span 1; } }

.layout--reflecting .griditem--content p {
  max-width: 24em; }

.layout--reflecting .griditem--collage {
  grid-column: 2 / span 1;
  grid-row: 4 / span 1;
  overflow: hidden; }
  @media screen and (orientation: landscape) {
    .layout--reflecting .griditem--collage {
      grid-column: 3 / span 1;
      grid-row: 2 / span 3; } }
  @media screen and (min-width: 900px) and (orientation: landscape) {
    .layout--reflecting .griditem--collage {
      grid-row: 2 / span 2; } }
  @media screen and (min-width: 900px) and (max-aspect-ratio: 10 / 7) {
    .layout--reflecting .griditem--collage {
      grid-column: 2 / span 1;
      grid-row: 2 / span 3; } }

.layout--reflecting .griditem--collage a {
  display: block;
  float: left;
  width: calc(100% / 3);
  padding: 1px; }
  @media screen and (orientation: landscape) {
    .layout--reflecting .griditem--collage a {
      max-width: calc((99vh - (3em + 65px)) / 3); } }
  @media screen and (min-width: 900px) and (orientation: landscape) {
    .layout--reflecting .griditem--collage a {
      width: calc((99vh - (4em + 65px)) / 3); } }

.layout--reflecting .griditem--collage a img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%; }

.layout--reflecting .griditem--sharing {
  grid-column: 2 / span 1;
  grid-row: 5 / span 1;
  display: flex;
  justify-content: flex-start; }
  @media screen and (orientation: landscape) {
    .layout--reflecting .griditem--sharing {
      grid-column: 2 / span 1;
      grid-row: 4 / span 1; } }
  @media screen and (min-width: 900px) and (orientation: landscape) {
    .layout--reflecting .griditem--sharing {
      grid-column: 4 / span 1;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 900px) and (max-aspect-ratio: 10 / 7) {
    .layout--reflecting .griditem--sharing {
      grid-column: 3 / span 1;
      grid-row: 4 / span 1; } }

/* ===============================
   for audio-log
       video-log
       postcard
   =============================== */
/*
=========================
VIDEO-LOG
AUDIO-LOG
POSTCARD
=========================
*/
main.media-page {
  display: flex;
  align-items: center;
  background-color: #F9F9F7; }

main.media-page article {
  display: grid;
  grid-template-columns: 0 repeat(6, 1fr) 0;
  grid-gap: 1em;
  align-content: center;
  width: 100%;
  min-height: 100%;
  padding-top: 1em;
  padding-bottom: 1em; }
  @media screen and (min-width: 700px) {
    main.media-page article {
      grid-template-columns: 1em repeat(12, 1fr) 1em;
      grid-template-rows: 1em calc((100vw - 2em) * 0.333) min-content 1fr 1em;
      grid-gap: 1em;
      padding-top: 0;
      padding-bottom: 0; } }
  @media screen and (min-width: 700px) and (orientation: landscape) {
    main.media-page article {
      grid-template-rows: 1em min-content min-content 1fr 1em;
      max-width: 88em;
      margin-left: auto;
      margin-right: auto; } }

.media-page .griditem__1 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) {
    .media-page .griditem__1 {
      grid-column: 2 / span 7;
      grid-row: 2 / span 3; } }
  @media screen and (min-width: 700px) and (orientation: landscape) {
    .media-page .griditem__1 {
      grid-column: 2 / span 5; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .media-page .griditem__1 {
      grid-column: 2 / span 4; } }

.media-page .griditem__2 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) {
    .media-page .griditem__2 {
      grid-column: 2 / span 7;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 700px) and (orientation: landscape) {
    .media-page .griditem__2 {
      grid-column: 2 / span 5;
      grid-row: 4 / span 1; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .media-page .griditem__2 {
      grid-column: 2 / span 4; } }

.media-page .griditem__3 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) {
    .media-page .griditem__3 {
      grid-column: 9 / span 5;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 700px) and (orientation: landscape) {
    .media-page .griditem__3 {
      grid-column: 7 / span 3;
      grid-row: 2 / span 2; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .media-page .griditem__3 {
      grid-column: 6 / span 3; } }

.media-page .griditem__4 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) {
    .media-page .griditem__4 {
      grid-column: 9 / span 5;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 700px) and (orientation: landscape) {
    .media-page .griditem__4 {
      grid-column: 10 / span 4;
      grid-row: 2 / span 1;
      grid-row: 2 / span 2; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .media-page .griditem__4 {
      grid-column: 9 / span 3; } }

.media-page .griditem__5 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) {
    .media-page .griditem__5 {
      grid-column: 2 / span 12;
      grid-row: 4 / span 1; } }
  @media screen and (min-width: 700px) and (orientation: landscape) {
    .media-page .griditem__5 {
      grid-column: 7 / span 7;
      grid-row: 4 / span 1; } }
  @media screen and (min-width: 1000px) and (min-aspect-ratio: 10 / 6) {
    .media-page .griditem__5 {
      grid-column: 6 / span 6; } }

.media-page .griditem__5 img {
  max-width: 100%; }
  @media screen and (min-width: 700px) {
    .media-page .griditem__5 img {
      width: 100%;
      height: 100%;
      object-fit: cover; } }

/* ===============================
   for  postcard
   =============================== */
/*
=========================
VIDEO-LOG
AUDIO-LOG
POSTCARD
=========================
*/
.postcardnew {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F9F9F7; }

[class^="postcardnew-layout"] {
  display: grid;
  grid-template-columns: 0 repeat(6, 1fr) 0;
  grid-gap: 1em;
  align-content: center;
  width: 100%;
  min-height: 100%;
  padding-top: 1em;
  padding-bottom: 1em; }
  @media screen and (min-width: 700px) {
    [class^="postcardnew-layout"] {
      height: calc(100vh - 65px - 2em);
      min-height: inherit;
      grid-gap: 1em;
      padding: 1em; } }

@media screen and (min-width: 700px) {
  [class^="postcardnew-layout-sq-sq-sq-sq"] {
    height: auto; } }

.postcardnew-copy {
  grid-column: 2 / span 6; }

.postcardnew article > figure {
  grid-column: 2 / span 6;
  overflow: hidden;
  padding: 0;
  margin: 0; }

.postcardnew article > figure > a {
  display: block;
  width: 100%;
  height: 100%; }

.postcardnew article > figure > a > img {
  max-width: 100%; }
  @media screen and (min-width: 700px) {
    .postcardnew article > figure > a > img {
      max-width: 100;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center; } }

.postcardnew-media {
  margin-top: 1em; }

/* LAYOUTS */
@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-land {
    grid-template-columns: minmax(30em, 36em) 1fr;
    grid-template-rows: min-content 1fr; }
    .postcardnew-layout-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-land > figure.postcardnew-img1-land {
      grid-column: 1 / span 2;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-land {
    grid-template-columns: minmax(30em, 1fr) 3fr;
    grid-template-rows: repeat(2, min-content); }
    .postcardnew-layout-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-land > figure.postcardnew-img1-land {
      grid-column: 2 / span 1;
      grid-row: 1 / span 2; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-port {
    grid-template-columns: minmax(20em, 1fr) 3fr;
    grid-template-rows: min-content 1fr; }
    .postcardnew-layout-port > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 2; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-port {
    grid-template-columns: minmax(20em, 36em) minmax(auto, 55vh);
    grid-template-rows: 1fr min-content;
    justify-content: center; }
    .postcardnew-layout-port > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 2; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-land-land {
    grid-template-columns: 24em 1fr; }
    .postcardnew-layout-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2;
      margin-top: -0.5em; }
    .postcardnew-layout-land-land > figure.postcardnew-img1-land {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-land-land > figure.postcardnew-img2-land {
      grid-column: 1 / span 2;
      grid-row: 3 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-land-land {
    grid-template-columns: 24em minmax(auto, 86vh);
    grid-template-rows: 1fr 1fr;
    justify-content: center; }
    .postcardnew-layout-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2;
      margin-top: -0.5em; }
    .postcardnew-layout-land-land > figure.postcardnew-img1-land {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-land-land > figure.postcardnew-img2-land {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-port-port {
    grid-template-columns: auto 20em 20em auto;
    grid-template-rows: min-content 1fr; }
    .postcardnew-layout-port-port > div.postcardnew-copy {
      grid-column: 2 / span 2;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port > figure.postcardnew-img1-port {
      grid-column: 1 / span 2;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-port > figure.postcardnew-img2-port {
      grid-column: 3 / span 2;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-port-port {
    grid-template-columns: minmax(20em, 24em) minmax(auto, 50vh) minmax(auto, 50vh);
    grid-template-rows: 1fr min-content;
    justify-content: center; }
    .postcardnew-layout-port-port > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port > figure.postcardnew-img2-port {
      grid-column: 3 / span 1;
      grid-row: 1 / span 2; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-port-land {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content min-content 1fr; }
    .postcardnew-layout-port-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-land > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-land > figure.postcardnew-img2-land {
      grid-column: 1 / span 2;
      grid-row: 3 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-port-land {
    grid-template-columns: minmax(20em, 30em) minmax(auto, 55vh);
    grid-template-rows: 2fr 1fr;
    justify-content: center; }
    .postcardnew-layout-port-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-land > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-land > figure.postcardnew-img2-land {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-port-port-port {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content auto; }
    .postcardnew-layout-port-port-port > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port > figure.postcardnew-img2-port {
      grid-column: 1 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-port-port > figure.postcardnew-img3-port {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-port-port-port {
    grid-template-columns: minmax(20em, 24em) minmax(auto, 55vh) minmax(auto, 28vh);
    grid-template-rows: 1fr 1fr;
    justify-content: center; }
    .postcardnew-layout-port-port-port > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port-port > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port-port > figure.postcardnew-img2-port {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port > figure.postcardnew-img3-port {
      grid-column: 3 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-port-port-land {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: min-content auto; }
    .postcardnew-layout-port-port-land > div.postcardnew-copy {
      grid-column: 1 / span 2;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-land > figure.postcardnew-img1-port {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-land > figure.postcardnew-img2-port {
      grid-column: 1 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-port-land > figure.postcardnew-img3-land {
      grid-column: 2 / span 2;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-port-port-land {
    grid-template-columns: minmax(20em, 24em) minmax(auto, 30vh) minmax(auto, 30vh);
    grid-template-rows: 2fr 1.25fr;
    justify-content: center; }
    .postcardnew-layout-port-port-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port-land > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-land > figure.postcardnew-img2-port {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-land > figure.postcardnew-img3-land {
      grid-column: 2 / span 2;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-port-land-land {
    grid-template-columns: minmax(20em, 24em) 1fr;
    grid-template-rows: auto auto; }
    .postcardnew-layout-port-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-land-land > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-land-land > figure.postcardnew-img2-land {
      grid-column: 1 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-land-land > figure.postcardnew-img3-land {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-port-land-land {
    grid-template-columns: minmax(20em, 24em) 1fr 1.75fr;
    grid-template-rows: auto auto;
    justify-content: center; }
    .postcardnew-layout-port-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-land-land > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-land-land > figure.postcardnew-img2-land {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-land-land > figure.postcardnew-img3-land {
      grid-column: 3 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-land-land-land {
    grid-template-columns: minmax(20em, 24em) 1fr;
    grid-template-rows: 1fr 1fr 1fr; }
    .postcardnew-layout-land-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 3; }
    .postcardnew-layout-land-land-land > figure.postcardnew-img1-land {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-land-land-land > figure.postcardnew-img2-land {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-land-land-land > figure.postcardnew-img3-land {
      grid-column: 2 / span 1;
      grid-row: 3 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-land-land-land {
    grid-template-columns: minmax(20em, 26em) minmax(auto, 70vh);
    grid-template-rows: 1fr 1fr 1fr;
    justify-content: center; }
    .postcardnew-layout-land-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 3; }
    .postcardnew-layout-land-land-land > figure.postcardnew-img1-land {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-land-land-land > figure.postcardnew-img2-land {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-land-land-land > figure.postcardnew-img3-land {
      grid-column: 2 / span 1;
      grid-row: 3 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-port-port-port-port {
    grid-template-columns: minmax(10em, 14em) minmax(10em, 14em) 1fr;
    grid-template-rows: auto 1fr; }
    .postcardnew-layout-port-port-port-port > div.postcardnew-copy {
      grid-column: 1 / span 2;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img1-port {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img2-port {
      grid-column: 1 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img3-port {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img4-port {
      grid-column: 3 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-port-port-port-port {
    grid-template-columns: minmax(20em, 26em) minmax(auto, 30vh) minmax(auto, 30vh);
    grid-template-rows: 1fr 1fr;
    justify-content: center; }
    .postcardnew-layout-port-port-port-port > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img2-port {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img3-port {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img4-port {
      grid-column: 3 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) and (min-width: 1200px) {
  .postcardnew-layout-port-port-port-port {
    grid-template-columns: minmax(20em, 26em) minmax(auto, 37vh) minmax(auto, 37vh) minmax(auto, 25vh);
    grid-template-rows: 1fr 1fr;
    justify-content: center; }
    .postcardnew-layout-port-port-port-port > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img2-port {
      grid-column: 3 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img3-port {
      grid-column: 4 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port-port > figure.postcardnew-img4-port {
      grid-column: 4 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-port-port-port-land {
    grid-template-columns: minmax(10em, 14em) minmax(10em, 14em) 1fr; }
    .postcardnew-layout-port-port-port-land > div.postcardnew-copy {
      grid-column: 1 / span 2;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port-land > figure.postcardnew-img1-port {
      grid-column: 1 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-port-port-land > figure.postcardnew-img2-port {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-port-port-land > figure.postcardnew-img3-port {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port-land > figure.postcardnew-img4-land {
      grid-column: 3 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-port-port-port-land {
    grid-template-columns: minmax(20em, 26em) minmax(auto, 33vh) minmax(auto, 33vh) minmax(auto, 33vh);
    grid-template-rows: auto auto;
    justify-content: center; }
    .postcardnew-layout-port-port-port-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port-port-land > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port-land > figure.postcardnew-img2-port {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port-land > figure.postcardnew-img3-port {
      grid-column: 4 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-port-land > figure.postcardnew-img4-land {
      grid-column: 2 / span 3;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-port-port-land-land {
    grid-template-columns: minmax(20em, 26em) 1fr;
    grid-template-rows: 50% auto 1fr 1fr; }
    .postcardnew-layout-port-port-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port-land-land > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-land-land > figure.postcardnew-img2-port {
      grid-column: 2 / span 1;
      grid-row: 2 / span 3; }
    .postcardnew-layout-port-port-land-land > figure.postcardnew-img3-land {
      grid-column: 1 / span 1;
      grid-row: 3 / span 1; }
    .postcardnew-layout-port-port-land-land > figure.postcardnew-img4-land {
      grid-column: 1 / span 1;
      grid-row: 4 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-port-port-land-land {
    grid-template-columns: minmax(20em, 26em) minmax(auto, 36vh) 0.5fr minmax(auto, 36vh);
    grid-template-rows: 1fr 0.5fr 1fr;
    justify-content: center; }
    .postcardnew-layout-port-port-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 3; }
    .postcardnew-layout-port-port-land-land > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-port-land-land > figure.postcardnew-img2-port {
      grid-column: 4 / span 1;
      grid-row: 2 / span 2; }
    .postcardnew-layout-port-port-land-land > figure.postcardnew-img3-land {
      grid-column: 3 / span 2;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-port-land-land > figure.postcardnew-img4-land {
      grid-column: 2 / span 2;
      grid-row: 3 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-port-land-land-land {
    grid-template-columns: minmax(20em, 26em) 1fr;
    grid-template-rows: auto 1fr 1fr; }
    .postcardnew-layout-port-land-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-land-land-land > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-land-land-land > figure.postcardnew-img2-land {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-land-land-land > figure.postcardnew-img3-land {
      grid-column: 1 / span 1;
      grid-row: 3 / span 1; }
    .postcardnew-layout-port-land-land-land > figure.postcardnew-img4-land {
      grid-column: 2 / span 1;
      grid-row: 3 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-port-land-land-land {
    grid-template-columns: minmax(20em, 26em) minmax(auto, 30vh) minmax(auto, 45vh);
    grid-template-rows: 1fr 1fr 1.5fr;
    justify-content: center; }
    .postcardnew-layout-port-land-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 3; }
    .postcardnew-layout-port-land-land-land > figure.postcardnew-img1-port {
      grid-column: 2 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-port-land-land-land > figure.postcardnew-img2-land {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-port-land-land-land > figure.postcardnew-img3-land {
      grid-column: 3 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-port-land-land-land > figure.postcardnew-img4-land {
      grid-column: 2 / span 2;
      grid-row: 3 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-land-land-land-land {
    grid-template-columns: minmax(20em, 26em) 1fr;
    grid-template-rows: repeat(4, 1fr); }
    .postcardnew-layout-land-land-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 4; }
    .postcardnew-layout-land-land-land-land > figure.postcardnew-img1-land {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-land-land-land-land > figure.postcardnew-img2-land {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-land-land-land-land > figure.postcardnew-img3-land {
      grid-column: 2 / span 1;
      grid-row: 3 / span 1; }
    .postcardnew-layout-land-land-land-land > figure.postcardnew-img4-land {
      grid-column: 2 / span 1;
      grid-row: 4 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-land-land-land-land {
    grid-template-columns: minmax(20em, 26em) 1fr 1fr;
    grid-template-rows: minmax(auto, 27vw) minmax(auto, 27vw);
    justify-content: center; }
    .postcardnew-layout-land-land-land-land > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-land-land-land-land > figure.postcardnew-img1-land {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-land-land-land-land > figure.postcardnew-img2-land {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-land-land-land-land > figure.postcardnew-img3-land {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-land-land-land-land > figure.postcardnew-img4-land {
      grid-column: 3 / span 1;
      grid-row: 2 / span 1; } }

@media screen and (min-width: 700px) and (orientation: portrait) {
  .postcardnew-layout-sq-sq-sq-sq {
    grid-template-columns: minmax(20em, 26em) minmax(20em, 26em);
    grid-template-rows: repeat(3, minmax(auto, calc((100vh - 65px - 4em) / 3))); }
    .postcardnew-layout-sq-sq-sq-sq > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 3; }
    .postcardnew-layout-sq-sq-sq-sq > figure.postcardnew-img1-sq {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-sq-sq-sq-sq > figure.postcardnew-img2-sq {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-sq-sq-sq-sq > figure.postcardnew-img3-sq {
      grid-column: 2 / span 1;
      grid-row: 3 / span 1; }
    .postcardnew-layout-sq-sq-sq-sq > figure.postcardnew-img4-sq {
      grid-column: 1 / span 1;
      grid-row: 3 / span 1; } }

@media screen and (min-width: 700px) and (orientation: landscape) {
  .postcardnew-layout-sq-sq-sq-sq {
    grid-template-columns: minmax(20em, 26em) repeat(2, minmax(auto, calc((100vh - 65px - 4em) / 2)));
    grid-template-rows: 1fr 1fr;
    justify-content: center; }
    .postcardnew-layout-sq-sq-sq-sq > div.postcardnew-copy {
      grid-column: 1 / span 1;
      grid-row: 1 / span 2; }
    .postcardnew-layout-sq-sq-sq-sq > figure.postcardnew-img1-sq {
      grid-column: 2 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-sq-sq-sq-sq > figure.postcardnew-img2-sq {
      grid-column: 3 / span 1;
      grid-row: 1 / span 1; }
    .postcardnew-layout-sq-sq-sq-sq > figure.postcardnew-img3-sq {
      grid-column: 2 / span 1;
      grid-row: 2 / span 1; }
    .postcardnew-layout-sq-sq-sq-sq > figure.postcardnew-img4-sq {
      grid-column: 3 / span 1;
      grid-row: 2 / span 1; } }

/* ===============================
   for moment
   =============================== */
/*
=========================
Moment
=========================
*/
main.moment {
  background-color: #F9F9F7;
  min-height: inherit; }

.layout--moment {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(3, auto);
  grid-gap: 0;
  width: 100%;
  height: calc(100vh - 65px); }
  @media screen and (orientation: landscape), screen and (min-width: 700px) {
    .layout--moment.horizontal-left {
      grid-template-columns: auto 1fr 1fr; }
    .layout--moment.horizontal-centre {
      grid-template-columns: 1fr auto 1fr; }
    .layout--moment.horizontal-right {
      grid-template-columns: 1fr 1fr auto; }
    .layout--moment.vertical-top {
      grid-template-rows: auto 1fr 1fr; }
    .layout--moment.vertical-centre {
      grid-template-rows: 1fr auto 1fr; }
    .layout--moment.vertical-bottom {
      grid-template-rows: 1fr 1fr auto; } }

.layout--moment .griditem__1 {
  grid-column: 1 / span 3;
  grid-row: 1 / span 3; }

.layout--moment .griditem__1 div {
  width: 100vw;
  height: calc(100vh - 65px); }

.layout--moment .griditem__1 div img {
  object-fit: cover;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%; }

.layout--moment .griditem__2 {
  grid-column: 1 / span 3;
  grid-row: 1 / span 3;
  padding: 1em; }
  @media screen and (orientation: landscape), screen and (min-width: 700px) {
    .layout--moment .griditem__2 {
      grid-column: 1 / span 1;
      grid-row: 1 /span 1; } }

@media screen and (orientation: landscape), screen and (min-width: 700px) {
  .layout--moment.horizontal-left .griditem__2 {
    grid-column-start: 1; }
  .layout--moment.horizontal-centre .griditem__2 {
    grid-column-start: 2; }
  .layout--moment.horizontal-right .griditem__2 {
    grid-column-start: 3; }
  .layout--moment.vertical-top .griditem__2 {
    grid-row-start: 1; }
  .layout--moment.vertical-centre .griditem__2 {
    grid-row-start: 2; }
  .layout--moment.vertical-bottom .griditem__2 {
    grid-row-start: 3; } }

.layout--moment .griditem__2 div {
  max-width: 100vw; }
  @media screen and (orientation: landscape), screen and (min-width: 700px) {
    .layout--moment .griditem__2 div {
      max-width: 50vw; } }
  @media screen and (orientation: landscape), screen and (min-width: 1000px) {
    .layout--moment .griditem__2 div {
      max-width: 20em; } }

/* ===============================
   for home
   =============================== */
/*
=========================
Home
=========================
*/
main.home {
  background-color: #F9F9F7;
  min-height: calc(100vh - 65px);
  display: flex; }

main.home article {
  display: grid;
  grid-template-columns: 0 repeat(6, 1fr) 0;
  grid-gap: 1em;
  width: 100%;
  max-width: 1400px;
  padding: 2em 0;
  margin: auto; }
  @media screen and (min-width: 700px) {
    main.home article {
      grid-template-columns: 0 repeat(12, 1fr) 0;
      grid-gap: 2em;
      align-items: center; } }
  @media screen and (min-width: 1000px) {
    main.home article {
      align-items: flex-start; } }

main.home article .griditem__1 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) {
    main.home article .griditem__1 {
      grid-row: 1 / span 1; } }

main.home article .griditem__2 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) {
    main.home article .griditem__2 {
      grid-row: 2 / span 1; } }

main.home article .griditem__3 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) {
    main.home article .griditem__3 {
      grid-column: 8 / span 6;
      grid-row: 2 / span 1; } }
  @media screen and (min-width: 1000px) {
    main.home article .griditem__3 {
      grid-column: 2 / span 6;
      grid-row: 3 / span 1;
      align-self: center; } }

main.home article .griditem__4 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) {
    main.home article .griditem__4 {
      grid-column: 5 / span 9;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 1000px) {
    main.home article .griditem__4 {
      grid-column: 8 / span 6;
      grid-row: 2 / span 1; } }

main.home article .griditem__5 {
  grid-column: 3 / span 4; }
  @media screen and (min-width: 700px) {
    main.home article .griditem__5 {
      grid-column: 2 / span 3;
      grid-row: 3 / span 1; } }
  @media screen and (min-width: 1000px) {
    main.home article .griditem__5 {
      grid-column: 8 / span 2;
      grid-row: 3 / span 1;
      align-self: center; } }

main.home article .griditem__6 {
  grid-column: 2 / span 6; }
  @media screen and (min-width: 700px) {
    main.home article .griditem__6 {
      grid-column: 5 / span 6;
      grid-row: 4 / span 1; } }
  @media screen and (min-width: 1000px) {
    main.home article .griditem__6 {
      grid-column: 10 / span 4;
      grid-row: 3 / span 1;
      align-self: center; } }

/* ===============================
   for esay
   =============================== */
/*
=========================
ESSAY
=========================
*/
@media only screen and (min-width: 700px) and (min-height: 600px) {
  main.essay {
    height: auto;
    top: auto; } }

.essay article {
  display: grid;
  grid-template-columns: 1em repeat(12, 1fr) 1em;
  grid-column-gap: 1em;
  grid-row-gap: 2em;
  width: 100%;
  background-color: #F9F9F7;
  padding-bottom: 4em;
  margin-top: 40px;
  /*@media screen and (min-width: 500px) {
    grid-template-rows: auto 4.5em auto;
    }
  @media screen and (min-width: 700px) {
    grid-template-rows: auto 9em auto;
    }
    */ }
  @media screen and (min-width: 1000px) {
    .essay article {
      grid-template-rows: auto;
      font-size: 16px; } }

.essay article img {
  display: block;
  max-width: 100%; }

.essay article figure {
  background-color: #fff;
  padding-top: 2em;
  padding-bottom: 2em;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
  margin: 0; }

.essay article figure figcaption p {
  font-style: italic;
  color: #878776; }

.essay article figure figcaption p:last-child {
  margin-bottom: 0; }

/*
=========================
ESSAY - INTRODUCTION
=========================
*/
.essay--intro-image {
  grid-column: 1 /span 14; }
  @media screen and (min-width: 500px) {
    .essay--intro-image {
      grid-row: 1 / span 2; } }
  @media screen and (min-width: 1000px) {
    .essay--intro-image {
      grid-row: 1 / span 1; } }

.essay--intro-text {
  grid-column: 2 /span 12; }
  @media screen and (min-width: 500px) {
    .essay--intro-text {
      grid-column: 2 /span 12;
      grid-row: 2 / span 2;
      align-self: flex-end;
      background-color: #F9F9F7;
      padding: 2em;
      box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); } }
  @media screen and (min-width: 700px) {
    .essay--intro-text {
      grid-column: 3 /span 10; } }
  @media screen and (min-width: 1000px) {
    .essay--intro-text {
      grid-row: 1 / span 1;
      box-shadow: none; } }

/* Horizontal alignement */
@media screen and (min-width: 1000px) {
  .essay--intro-text.horizontal-left {
    grid-column: 1 /span 6; }
  .essay--intro-text.horizontal-right {
    grid-column: 9 /span 6; } }

@media screen and (min-width: 1200px) {
  .essay--intro-text.horizontal-left {
    grid-column: 1 /span 5; }
  .essay--intro-text.horizontal-right {
    grid-column: 10 /span 5; } }

/* Vertical alignement */
@media screen and (min-width: 1000px) {
  .essay--intro-text.vertical-top {
    align-self: flex-start; }
  .essay--intro-text.vertical-middle {
    align-self: center; }
  .essay--intro-text.vertical-bottom {
    align-self: flex-end; } }

/* Inset versions */
@media screen and (min-width: 1000px) {
  .essay--intro-text.inset {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); }
    .essay--intro-text.inset.vertical-top {
      margin-top: 2em; }
    .essay--intro-text.inset.vertical-bottom {
      margin-bottom: 2em; }
    .essay--intro-text.inset.horizontal-left {
      grid-column: 2 /span 5; }
    .essay--intro-text.inset.horizontal-right {
      grid-column: 9 /span 5; } }

@media screen and (min-width: 1200px) {
  .essay--intro-text.inset.horizontal-left {
    grid-column: 2 /span 4; }
  .essay--intro-text.inset.horizontal-right {
    grid-column: 10 /span 4; } }

/* Rounded versions */
@media screen and (min-width: 1000px) {
  .essay--intro-text.rounded.vertical-top.horizontal-left {
    border-radius: 0 0 1em 0; }
  .essay--intro-text.rounded.vertical-top.horizontal-right {
    border-radius: 0 0 0 1em; }
  .essay--intro-text.rounded.vertical-middle.horizontal-left {
    border-radius: 0 1em 1em 0; }
  .essay--intro-text.rounded.vertical-middle.horizontal-right {
    border-radius: 1em 0 0 1em; }
  .essay--intro-text.rounded.vertical-bottom.horizontal-left {
    border-radius: 0 1em 0 0; }
  .essay--intro-text.rounded.vertical-bottom.horizontal-right {
    border-radius: 1em 0 0 0; }
  .essay--intro-text.rounded.inset {
    border-radius: 1em !important; } }

/*
=========================
ESSAY - BODY TEXT
=========================
*/
:not(.essay__with-columns) .essay--body {
  grid-column: 2 /span 12; }
  @media screen and (min-width: 700px) {
    :not(.essay__with-columns) .essay--body {
      grid-column: 3 /span 10;
      padding: 1em 0; } }
  @media screen and (min-width: 1000px) {
    :not(.essay__with-columns) .essay--body {
      grid-column: 4 /span 8;
      padding: 2em 0; } }
  @media screen and (min-width: 1200px) {
    :not(.essay__with-columns) .essay--body {
      grid-column: 3 /span 8; } }
  @media screen and (min-width: 1400px) {
    :not(.essay__with-columns) .essay--body {
      grid-column: 4 /span 6; } }
  @media screen and (min-width: 1800px) {
    :not(.essay__with-columns) .essay--body {
      grid-column: 5 /span 4; } }

.essay--body.with-columns {
  grid-column: 2 /span 12;
  column-width: 30em;
  column-gap: 2em; }

/*
=========================
ESSAY - BLOCKQUOTE
=========================
*/
.essay--quote {
  display: block;
  grid-column: 2 /span 12;
  display: grid;
  grid-column-gap: 1em;
  position: relative;
  padding: 0;
  margin: 0; }
  @media screen and (min-width: 700px) {
    .essay--quote {
      grid-column: 1 /span 14;
      grid-template-columns: 1em repeat(12, 1fr) 1em; } }

.essay--quote:before {
  content: "“";
  font-size: 6em;
  line-height: 1;
  text-align: center;
  color: #cdcdbd;
  display: block;
  grid-column: 1 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--quote:before {
      grid-column: 2 / span 1; } }
  @media screen and (min-width: 1000px) {
    .essay--quote:before {
      grid-column: 3 / span 1; } }
  @media screen and (min-width: 1200px) {
    .essay--quote:before {
      grid-column: 2 /span 1; } }
  @media screen and (min-width: 1400px) {
    .essay--quote:before {
      grid-column: 3 /span 1; } }
  @media screen and (min-width: 1800px) {
    .essay--quote:before {
      grid-column: 4 /span 1; } }

.essay--quote div {
  grid-column: 2 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--quote div {
      grid-column: 3 / span 10; } }
  @media screen and (min-width: 1000px) {
    .essay--quote div {
      grid-column: 4 / span 8; } }
  @media screen and (min-width: 1200px) {
    .essay--quote div {
      grid-column: 3 /span 8; } }
  @media screen and (min-width: 1400px) {
    .essay--quote div {
      grid-column: 4 /span 6; } }
  @media screen and (min-width: 1800px) {
    .essay--quote div {
      grid-column: 5 /span 4; } }

.essay--quote p {
  font-size: 1.333em; }

.essay--quote p {
  margin-bottom: 0.5em; }

.essay--quote p:last-of-type {
  margin-bottom: 1em; }

.essay--quote cite {
  font-weight: 200;
  font-style: normal;
  color: #878776; }

/*
=========================
ESSAY - SINGLE IMAGE OR video
=========================
*/
.essay--image1 {
  grid-column: 1 /span 14;
  align-items: flex-end; }
  @media screen and (min-width: 1000px) {
    .essay--image1 {
      display: grid;
      grid-template-columns: 1em repeat(12, 1fr) 1em;
      grid-gap: 1em;
      width: 100%; } }

.essay--image1 > a,
.essay--image1 .essay--video-wrap,
.essay--image1 .audioComponent {
  display: block;
  width: 100%; }
  @media screen and (min-width: 1000px) {
    .essay--image1 > a,
    .essay--image1 .essay--video-wrap,
    .essay--image1 .audioComponent {
      grid-column: 2 /span 12; } }
  @media screen and (min-width: 1200px) {
    .essay--image1 > a,
    .essay--image1 .essay--video-wrap,
    .essay--image1 .audioComponent {
      grid-column: 3 /span 8;
      grid-row: 1 / span 1; } }

.essay--image1 figcaption {
  padding: 1em 2em 0; }
  @media screen and (min-width: 1000px) {
    .essay--image1 figcaption {
      grid-column: 2 /span 12;
      padding: 0; } }
  @media screen and (min-width: 1200px) {
    .essay--image1 figcaption {
      grid-column: 11 /span 3;
      grid-row: 1 / span 1;
      padding: 0; } }

/*
=========================
ESSAY - 2 IMAGE BLOCK
=========================
*/
.essay--image2 {
  grid-column: 1 /span 14;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1em;
  width: 100%; }
  @media screen and (min-width: 700px) {
    .essay--image2 {
      grid-template-columns: 1em repeat(12, 1fr) 1em; } }

.essay--image2 > a {
  display: block; }

.essay--image2 > a:nth-child(odd) {
  grid-column: 1 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image2 > a:nth-child(odd) {
      grid-column: 3 / span 5; } }
  @media screen and (min-width: 1200px) {
    .essay--image2 > a:nth-child(odd) {
      grid-column: 3 / span 4; } }

.essay--image2 > a:nth-child(even) {
  grid-column: 2 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image2 > a:nth-child(even) {
      grid-column: 8 / span 5; } }
  @media screen and (min-width: 1200px) {
    .essay--image2 > a:nth-child(even) {
      grid-column: 7 / span 4; } }

.essay--image2 figcaption {
  grid-column: 1 / span 2;
  padding: 0 2em; }
  @media screen and (min-width: 700px) {
    .essay--image2 figcaption {
      grid-column: 3 / span 10;
      padding: 0; } }
  @media screen and (min-width: 1200px) {
    .essay--image2 figcaption {
      grid-column: 11 /span 3;
      grid-row: 1 / span 1;
      align-self: flex-end;
      padding: 0; } }

/*
=========================
ESSAY - 3 IMAGE BLOCK
=========================
*/
.essay--image3 {
  grid-column: 1 /span 14;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1em;
  width: 100%; }
  @media screen and (min-width: 700px) {
    .essay--image3 {
      grid-template-columns: 1em repeat(12, 1fr) 1em; } }

.essay--image3 > a {
  display: block; }

.essay--image3 > a:nth-child(3n + 1) {
  grid-column: 1 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image3 > a:nth-child(3n + 1) {
      grid-column: 2 / span 4; } }
  @media screen and (min-width: 1200px) {
    .essay--image3 > a:nth-child(3n + 1) {
      grid-column: 2 / span 3; } }

.essay--image3 > a:nth-child(3n + 2) {
  grid-column: 2 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image3 > a:nth-child(3n + 2) {
      grid-column: 6 / span 4; } }
  @media screen and (min-width: 1200px) {
    .essay--image3 > a:nth-child(3n + 2) {
      grid-column: 5 / span 3; } }

.essay--image3 > a:nth-child(3n + 3) {
  grid-column: 3 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image3 > a:nth-child(3n + 3) {
      grid-column: 10 / span 4; } }
  @media screen and (min-width: 1200px) {
    .essay--image3 > a:nth-child(3n + 3) {
      grid-column: 8 / span 3; } }

.essay--image3 figcaption {
  grid-column: 1 / span 3;
  padding: 0 2em; }
  @media screen and (min-width: 700px) {
    .essay--image3 figcaption {
      grid-column: 2 / span 12;
      padding: 0; } }
  @media screen and (min-width: 1200px) {
    .essay--image3 figcaption {
      grid-column: 11 /span 3;
      grid-row: 1 / span 1;
      align-self: flex-end;
      padding: 0; } }

/*
=========================
ESSAY - 4 IMAGE BLOCK
ALL SAME ASPECT RATIO
=========================
*/
.essay--image4same {
  grid-column: 1 /span 14;
  display: grid;
  grid-template-columns: 1em repeat(2, 1fr) 1em;
  grid-gap: 1em;
  width: 100%; }
  @media screen and (min-width: 700px) {
    .essay--image4same {
      grid-template-columns: 1em repeat(12, 1fr) 1em; } }

.essay--image4same > a {
  display: block; }

.essay--image4same > a:nth-child(4n + 1) {
  grid-column: 2 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image4same > a:nth-child(4n + 1) {
      grid-column: 2 / span 3; } }
  @media screen and (min-width: 1200px) {
    .essay--image4same > a:nth-child(4n + 1) {
      grid-column: 3 / span 4; } }

.essay--image4same > a:nth-child(4n + 2) {
  grid-column: 3 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image4same > a:nth-child(4n + 2) {
      grid-column: 5 / span 3; } }
  @media screen and (min-width: 1200px) {
    .essay--image4same > a:nth-child(4n + 2) {
      grid-column: 7 / span 4; } }

.essay--image4same > a:nth-child(4n + 3) {
  grid-column: 2 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image4same > a:nth-child(4n + 3) {
      grid-column: 8 / span 3; } }
  @media screen and (min-width: 1200px) {
    .essay--image4same > a:nth-child(4n + 3) {
      grid-column: 3 / span 4; } }

.essay--image4same > a:nth-child(4n + 4) {
  grid-column: 3 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image4same > a:nth-child(4n + 4) {
      grid-column: 11 / span 3; } }
  @media screen and (min-width: 1200px) {
    .essay--image4same > a:nth-child(4n + 4) {
      grid-column: 7 / span 4; } }

.essay--image4same figcaption {
  grid-column: 2 / span 2;
  padding: 0; }
  @media screen and (min-width: 700px) {
    .essay--image4same figcaption {
      grid-column: 2 / span 12;
      padding: 0; } }
  @media screen and (min-width: 1200px) {
    .essay--image4same figcaption {
      grid-column: 11 /span 3;
      align-self: flex-end;
      padding: 0; } }

/*
=========================
ESSAY - 4 IMAGE BLOCK
2 LANDSCAPE / 2 PORTRAIT
=========================
*/
.essay--image4mixed {
  grid-column: 1 /span 14;
  display: grid;
  grid-template-columns: 1em repeat(2, 1fr) 1em;
  grid-template-rows: repeat(3, min-content);
  grid-gap: 1em;
  width: 100%; }
  @media screen and (min-width: 700px) {
    .essay--image4mixed {
      grid-template-columns: 1em repeat(12, 1fr) 1em; } }

.essay--image4mixed > a {
  display: block; }

.essay--image4mixed > a:nth-child(4n + 1) {
  grid-column: 2 / span 1;
  grid-row: 1 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image4mixed > a:nth-child(4n + 1) {
      grid-column: 3 / span 5; } }
  @media screen and (min-width: 1200px) {
    .essay--image4mixed > a:nth-child(4n + 1) {
      grid-column: 3 / span 4; } }

.essay--image4mixed > a:nth-child(4n + 2) {
  grid-column: 3 / span 1;
  grid-row: 1 / span 2; }
  @media screen and (min-width: 700px) {
    .essay--image4mixed > a:nth-child(4n + 2) {
      grid-column: 8 / span 5; } }
  @media screen and (min-width: 1200px) {
    .essay--image4mixed > a:nth-child(4n + 2) {
      grid-column: 7 / span 4; } }

.essay--image4mixed > a:nth-child(4n + 3) {
  grid-column: 3 / span 1;
  grid-row: 3 / span 1; }
  @media screen and (min-width: 700px) {
    .essay--image4mixed > a:nth-child(4n + 3) {
      grid-column: 8 / span 5; } }
  @media screen and (min-width: 1200px) {
    .essay--image4mixed > a:nth-child(4n + 3) {
      grid-column: 7 / span 4; } }

.essay--image4mixed > a:nth-child(4n + 4) {
  grid-column: 2 / span 1;
  grid-row: 2 / span 2; }
  @media screen and (min-width: 700px) {
    .essay--image4mixed > a:nth-child(4n + 4) {
      grid-column: 3 / span 5; } }
  @media screen and (min-width: 1200px) {
    .essay--image4mixed > a:nth-child(4n + 4) {
      grid-column: 3 / span 4; } }

.essay--image4mixed figcaption {
  grid-column: 2 / span 2;
  padding: 0; }
  @media screen and (min-width: 700px) {
    .essay--image4mixed figcaption {
      grid-column: 3 / span 10; } }
  @media screen and (min-width: 1200px) {
    .essay--image4mixed figcaption {
      grid-column: 11 /span 3;
      grid-row: 3 / span 1;
      align-self: flex-end;
      padding: 0; } }

/*
=========================
ESSAY - FULL SCREEN
New rules added 13/9/18
=========================
*/
/*
dark-text
light-text
darken-image
lighten-image
*/
.essay--full-screen {
  position: relative;
  grid-column: 1 /span 14;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: calc(100vh - 40px); }
  @media screen and (min-width: 700px) and (min-height: 600px) {
    .essay--full-screen {
      grid-template-rows: calc(100vh - 65px); } }

.essay--full-screen.light-text {
  color: #fff; }

.essay--full-screen.dark-text {
  color: #282823; }

.lighten-image .essay--full-screen-img img {
  filter: brightness(3) contrast(30%); }

.darken-image .essay--full-screen-img img {
  filter: brightness(0.5) contrast(100%); }

* + .essay--full-screen {
  grid-template-rows: 100vh; }

.essay--full-screen-img {
  grid-column: 1 /span 1;
  grid-row: 1 / span 1; }

.essay--full-screen-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; }

.essay--full-screen-heading {
  text-align: center;
  grid-column: 1 /span 1;
  grid-row: 1 / span 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; }

.essay--full-screen-heading div {
  max-width: 48em;
  padding: 1em; }

.essay--full-screen-credit {
  text-align: center;
  position: absolute;
  left: 1em;
  right: 1em;
  bottom: 5vh; }

/* ===============================
   for card collections
   =============================== */
/*
=========================
CARD COLLECTIONS
=========================
*/
@media only screen and (min-width: 700px) and (min-height: 600px) {
  main.card-page {
    height: auto;
    top: auto; } }

main.card-page > div {
  display: grid;
  grid-template-columns: 1em repeat(12, 1fr) 1em;
  grid-column-gap: 1em;
  grid-row-gap: 2em;
  width: 100%;
  background-color: #F9F9F7;
  padding: 0 0 2em;
  margin-top: 40px; }

/*
=========================
CARD COLLECTION - INTRO
=========================
*/
.card-collection--intro-image {
  grid-column: 1 /span 14; }
  @media screen and (min-width: 500px) {
    .card-collection--intro-image {
      grid-row: 1 / span 2; } }
  @media screen and (min-width: 1000px) {
    .card-collection--intro-image {
      grid-row: 1 / span 1; } }

.card-collection--intro-image img {
  max-width: 100%; }

.card-collection--intro-text {
  grid-column: 2 /span 12; }
  @media screen and (min-width: 500px) {
    .card-collection--intro-text {
      grid-column: 2 /span 12;
      grid-row: 2 / span 2;
      align-self: flex-end;
      background-color: #F9F9F7;
      padding: 2em;
      box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); } }
  @media screen and (min-width: 700px) {
    .card-collection--intro-text {
      grid-column: 3 /span 10; } }
  @media screen and (min-width: 1000px) {
    .card-collection--intro-text {
      grid-row: 1 / span 1;
      box-shadow: none; } }

/* Horizontal alignement */
@media screen and (min-width: 1000px) {
  .card-collection--intro-text.horizontal-left {
    grid-column: 1 /span 6; }
  .card-collection--intro-text.horizontal-right {
    grid-column: 9 /span 6; } }

@media screen and (min-width: 1200px) {
  .card-collection--intro-text.horizontal-left {
    grid-column: 1 /span 5; }
  .card-collection--intro-text.horizontal-right {
    grid-column: 10 /span 5; } }

/* Vertical alignement */
@media screen and (min-width: 1000px) {
  .card-collection--intro-text.vertical-top {
    align-self: flex-start; }
  .card-collection--intro-text.vertical-middle {
    align-self: center; }
  .card-collection--intro-text.vertical-bottom {
    align-self: flex-end; } }

/* Inset versions */
@media screen and (min-width: 1000px) {
  .card-collection--intro-text.inset {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); }
    .card-collection--intro-text.inset.vertical-top {
      margin-top: 2em; }
    .card-collection--intro-text.inset.vertical-bottom {
      margin-bottom: 2em; }
    .card-collection--intro-text.inset.horizontal-left {
      grid-column: 2 /span 5; }
    .card-collection--intro-text.inset.horizontal-right {
      grid-column: 9 /span 5; } }

@media screen and (min-width: 1200px) {
  .card-collection--intro-text.inset.horizontal-left {
    grid-column: 2 /span 4; }
  .card-collection--intro-text.inset.horizontal-right {
    grid-column: 10 /span 4; } }

/* Rounded versions */
@media screen and (min-width: 1000px) {
  .card-collection--intro-text.rounded.vertical-top.horizontal-left {
    border-radius: 0 0 1em 0; }
  .card-collection--intro-text.rounded.vertical-top.horizontal-right {
    border-radius: 0 0 0 1em; }
  .card-collection--intro-text.rounded.vertical-middle.horizontal-left {
    border-radius: 0 1em 1em 0; }
  .card-collection--intro-text.rounded.vertical-middle.horizontal-right {
    border-radius: 1em 0 0 1em; }
  .card-collection--intro-text.rounded.vertical-bottom.horizontal-left {
    border-radius: 0 1em 0 0; }
  .card-collection--intro-text.rounded.vertical-bottom.horizontal-right {
    border-radius: 1em 0 0 0; }
  .card-collection--intro-text.rounded.inset {
    border-radius: 1em !important; } }

/*
=========================
CARDS
=========================
*/
.card-collection {
  grid-column: 1 / span 14;
  display: grid;
  grid-gap: 1.5em;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 1em;
  margin: 0 auto; }
  @media screen and (min-width: 700px) {
    .card-collection {
      grid-template-columns: repeat(2, 1fr); } }
  @media screen and (min-width: 1200px) {
    .card-collection {
      grid-template-columns: repeat(3, minmax(auto, 24em)); } }
  @media screen and (min-width: 1400px) {
    .card-collection {
      grid-template-columns: repeat(4, minmax(auto, 24em)); } }

.card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  position: relative;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); }

@media screen and (min-width: 700px) {
  .card__double-width {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2; } }

.card:hover {
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2), 0 0 0 1.5em #ddecc7; }

.card a:focus {
  outline: none;
  text-decoration: underline; }

.card:focus-within {
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2), 0 0 0 1.5em #ddecc7; }

.card:focus-within a:focus {
  text-decoration: none; }

/*
=========================
CARD TEXT
=========================
*/
.card--text {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: min-content auto min-content;
  height: 10.5em;
  padding: 1em; }

.card--text h2 {
  font-size: 24px;
  line-height: 1.2;
  padding-bottom: 0.25em;
  margin: 0; }

@media screen and (min-width: 700px) {
  .card__double-width .card--text h2 {
    font-size: 36px; } }

.card--text h2 a {
  text-decoration: none;
  color: #7EB928; }

.card--text h2 a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; }

.card--text p {
  position: relative;
  overflow: hidden;
  margin: 0; }

.card--text p:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2em;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1), white), linear-gradient(to bottom, rgba(255, 255, 255, 0.1), white); }

.card--text small {
  margin: 0; }

.card--text small a {
  text-decoration: none;
  position: relative;
  padding: 0.5em 0; }
  .card--text small a:hover, .card--text small a:focus, .card--text small a:active {
    text-decoration: underline; }

/*
=========================
CARD IMAGE
=========================
*/
.card--img {
  height: 15em; }

@media screen and (min-width: 700px) {
  .card__double-width .card--img {
    height: 32em; } }

@media screen and (min-width: 1200px) {
  .card__double-width + .card .card--img,
  .card__double-width + .card + .card .card--img {
    height: 10em; } }

@media screen and (min-width: 1400px) {
  .card__double-width + .card .card--img,
  .card__double-width + .card + .card .card--img,
  .card__double-width + .card + .card + .card .card--img,
  .card__double-width + .card + .card + .card + .card .card--img {
    height: 10em; } }

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

.sidebarBlock--icon svg {
  width: 100%;
  height: 100%;
  fill: #BEBEBE; }

[class^="card--type-icon"] {
  position: absolute;
  bottom: 11em;
  right: 1em;
  display: block;
  width: 3em;
  height: 3em;
  background-color: #7EB928;
  border-radius: 50%; }

@media screen and (min-width: 700px) {
  .card__double-width [class^="card--type-icon"] {
    bottom: auto;
    top: 1em; } }

@media screen and (min-width: 1200px) {
  .card__double-width + .card [class^="card--type-icon"],
  .card__double-width + .card + .card [class^="card--type-icon"] {
    bottom: 6em; } }

@media screen and (min-width: 1400px) {
  .card__double-width + .card [class^="card--type-icon"],
  .card__double-width + .card + .card [class^="card--type-icon"],
  .card__double-width + .card + .card + .card [class^="card--type-icon"],
  .card__double-width + .card + .card + .card + .card [class^="card--type-icon"] {
    bottom: 6em; } }

[class^="card--type-icon"] svg {
  width: 50%;
  height: 50%;
  fill: #fff;
  margin: 25%; }

[class^="card--type-icon"] span {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }
@charset "UTF-8";
/*
=========================
Browse controls
=========================
SOURCE ONLY - no template links the compiled sasstest/browse-controls.css
directly. These rules ship inside frozen dated bundles per the site
convention (one main-<date>.css per page, declared in templateMapper):
main-20260710a = main-20181013a + this file's compile appended (browse
standard); main-20260710b = main-20200519a + same (discovery-adhoc).
(Superseded: main-20260705a/b pre author-filter; main-20260708a/b pre
privacy badges - never deployed, removed; main-20260709a/b pre
letter-badges.)

To iterate on the controls: edit here, `npx sass
stylesheets/browse-controls.scss:public/css/sasstest/browse-controls.css`,
append that output to the ORIGINAL frozen base (not to a previous merge),
save as a NEW main-<date><letter>.css, and repoint the two browse entries in
controllers/templateMapper.js. Never edit a dated bundle in place.

Everything here is namespaced under .browse-toolbar / .browse-pagination /
.browse-select so it cannot restyle the rest of the page.

Mobile-first: base styles are the phone layout (stacked, 44px touch
targets); desktop refinements layer on at $nav-breakpoint.

Typography: the controls use the site's sans stack (as the new header nav
does) rather than inheriting the page's serif body font - Lora at button
sizes on the brand green renders thin and washed-out. Titillium/Source Sans
fall back to the system sans wherever the webfonts aren't loaded.
*/
/*
=========================
=========================
Variables
=========================
=========================
*/
/* Variables related to the header and footer height */
/*
=========================
Author filter (shared)
=========================
The checkbox-dropdown panel used by BOTH the browse toolbar and the stream
header (decision log A1-A8 in AUTHOR-FILTER-NOTES.md). Imported by
browse-controls.scss and stream-controls.scss AFTER base/_variables.scss -
this partial uses those tokens and deliberately does not re-import them.

Markup contract (see the templates / stream_author_filter partial):
<details class="authorfilter"><summary>label</summary>
  <div class="authorfilter__panel"> checkbox rows + Clear/Apply </div>
</details>
The <details> element gives open/close without JS; the page JS adds
close-on-outside-click and Escape. Each context styles its own <summary>
trigger; everything below the panel line is shared.

Mobile-first: base = phone (44px touch targets), desktop slims down at
$nav-breakpoint like the rest of the toolbar controls.
*/
details.authorfilter {
  position: relative;
  display: flex;
  min-width: 0;
}

/* the trigger is a <summary>: kill the native disclosure marker */
.authorfilter summary {
  list-style: none;
  cursor: pointer;
}

.authorfilter summary::-webkit-details-marker {
  display: none;
}

.authorfilter summary::marker {
  content: "";
}

.authorfilter__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  min-width: 15em;
  max-width: 20em;
  background: #fff;
  border: 1px solid #d8d8cb;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
  font-family: "Titillium Web", "Source Sans 3", "Source Sans Pro", -apple-system, sans-serif;
  padding: 0.4em 0 0;
}

.authorfilter__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 16em;
  overflow-y: auto;
}
.authorfilter__list li {
  margin: 0;
  padding: 0;
}

.authorfilter__row {
  display: flex;
  align-items: center;
  gap: 0.6em;
  width: 100%;
  min-height: 44px; /* touch target */
  padding: 0.35em 1em;
  margin: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #282823;
}
.authorfilter__row:hover {
  background: #F9F9F7;
}

.authorfilter__check {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  border: 1.5px solid #cdcdbd;
  border-radius: 4px;
  background: #fff;
  flex: 0 0 auto;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
}
.authorfilter__check:checked {
  background: #7EB928;
  border-color: #7EB928;
}
.authorfilter__check:checked::after {
  content: "";
  width: 0.6em;
  height: 0.34em;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.authorfilter__check:focus-visible {
  outline: 2px solid rgb(0, 60, 255);
  outline-offset: 1px;
}

.authorfilter__name {
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.authorfilter__count {
  color: #7a7a6a;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  font-size: 0.9em;
}

.authorfilter__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  padding: 0.55em 0.75em;
  margin-top: 0.25em;
  border-top: 1px solid #e3e3da;
}

/* pin every anchor state - :link/:visited rules in the old bundles are pushy */
a.authorfilter__clear,
a.authorfilter__clear:link,
a.authorfilter__clear:visited {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4em 0.6em;
  font-family: "Titillium Web", "Source Sans 3", "Source Sans Pro", -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #7a7a6a;
  text-decoration: none;
  cursor: pointer;
}

a.authorfilter__clear:hover {
  color: #282823;
}

.authorfilter__apply {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  padding: 0.4em 1.4em;
  border: 1px solid #7EB928;
  border-radius: 6px;
  background: #7EB928;
  color: #fff;
  font-family: "Titillium Web", "Source Sans 3", "Source Sans Pro", -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.authorfilter__apply:hover {
  background: #679721;
  border-color: #679721;
}
.authorfilter__apply:focus-visible {
  outline: 2px solid rgb(0, 60, 255);
  outline-offset: 2px;
}

@media screen and (min-width: 760px) {
  .authorfilter__row {
    min-height: 0;
    padding: 0.45em 1em;
    font-size: 0.95rem;
  }
  a.authorfilter__clear,
  a.authorfilter__clear:link,
  a.authorfilter__clear:visited,
  .authorfilter__apply {
    min-height: 0;
  }
  .authorfilter__apply {
    padding: 0.45em 1.2em;
    font-size: 0.9rem;
  }
}
/*
=========================
Privacy letter-badges (shared)
=========================
One-letter circles showing each card/post's privacy tier: C I O G P, and
a red ✕ for private (P alone would clash with Public). Imported by
browse-controls.scss and stream-controls.scss AFTER base/_variables.scss -
this partial uses those tokens and deliberately does not re-import them.

Server-gated in the templates on the EFFECTIVE role (member+), so the
View-as lens hides them naturally (faithful preview). On top of that
they are hidden by default and only appear while the header's
👁︎ Visibility ▽ menu is open (the audit layer, split from Admin ▽ 6 July
2026): the toggle button carries aria-expanded, so a body:has() rule
does it in pure CSS - no JS, nothing for the 30-day asset cache to hold
stale. The letter legend lives inside that same menu
(header_authed_2_0.ejs .app-privacykey), so the key is on screen
exactly when the letters are. Browsers without :has() simply never show
the badges - acceptable for an admin nicety.

Markup contract (the templates compute the letter, title = full tier):
<span class="card-privacy card-privacy--<tier>" title="<tier>">I</span>
inside a position:relative card/post container.
*/
.card-privacy {
  position: absolute;
  /* top-RIGHT: cards lead with the title text at top-left */
  top: 0.6em;
  right: 0.6em;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-family: "Titillium Web", "Source Sans 3", "Source Sans Pro", -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(26, 26, 21, 0.78);
  color: #fff;
  pointer-events: none;
}

body:has(.sub-nav-toggle[aria-controls=visibilityMenu][aria-expanded=true]) .card-privacy {
  display: flex;
}

/* Tier colours form a gradient, most open -> most closed (Ben, 6 July 2026):
   green -> yellow -> light orange -> deep orange -> pink -> red.
   Outer/inner are the two shades of one colour (orange). Light backgrounds
   (guest, outer) take dark text for contrast. Keep the legend dots in
   header_authed_2_0.ejs in step with these. */
.card-privacy--public {
  background: #7EB928;
}

.card-privacy--guest {
  background: #f0c22c;
  color: #1a1a15;
}

.card-privacy--outercircle {
  background: #f0922c;
  color: #1a1a15;
}

.card-privacy--innercircle {
  background: #d95f14;
}

.card-privacy--collective {
  background: #e26a9d;
}

.card-privacy--private {
  background: #c03b2f;
}

/* ==================================================
Grid row wrapper
==================================================
The browse page content div is a 14-column CSS grid in the frozen bundles,
with the intro-text box EXPLICITLY placed in it - loose siblings become
auto-placed grid items and collide with it. So the controls live INSIDE
ul.card-collection (its own simple auto-flow grid) as full-width <li> rows:
placement is pure source order there, in both era bundles.
*/
.browse-controls-row {
  grid-column: 1/-1;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==================================================
Shared select styling (toolbar + page-size)
================================================== */
.browse-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
  min-height: 44px; /* touch target */
  padding: 0.5em 2.1em 0.5em 0.75em;
  border: 1px solid #d8d8cb;
  border-radius: 8px;
  background-color: #fff;
  /* soft caret, drawn inline so there's no extra asset to load */
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23807f76' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7em center;
  background-size: 10px 6px;
  color: #282823;
  font-family: "Titillium Web", "Source Sans 3", "Source Sans Pro", -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.18s ease;
}

.browse-select:hover {
  border-color: #7EB928;
}

.browse-select:focus-visible {
  outline: 2px solid rgb(0, 60, 255);
  outline-offset: 1px;
  border-color: #7EB928;
}

@media screen and (min-width: 760px) {
  .browse-select {
    min-height: 0;
    font-size: 0.9rem;
    padding: 0.45em 2em 0.45em 0.7em;
  }
}
/* ==================================================
Toolbar: result summary + sort/type filters
==================================================
Mobile: summary on top, controls stacked full width.
Desktop: summary left, controls right, one row.
*/
.browse-toolbar {
  font-family: "Titillium Web", "Source Sans 3", "Source Sans Pro", -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  /* the card grid's own 1.5em gap provides the spacing below */
  margin: 0;
  padding: 0 0 1em;
  border-bottom: 1px solid #d8d8cb;
}

/* "238 storys · Page 1 of 10" - orientation + filter feedback */
.browse-toolbar__summary {
  margin: 0;
  font-size: 0.95rem;
  color: #5e5e53;
}
.browse-toolbar__summary strong {
  color: #282823;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.browse-toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em 1.25em;
}

.browse-toolbar__control {
  display: flex;
  flex: 1 1 10em;
  align-items: center;
  gap: 0.5em;
  margin: 0;
}

/* the select stretches to fill the control on mobile */
.browse-toolbar__control .browse-select {
  flex: 1 1 auto;
  min-width: 0;
}

.browse-toolbar__label {
  font-size: 0.82rem;
  font-weight: 400;
  color: #7a7a6a;
  white-space: nowrap;
}

/* a filter that's engaged shows quietly in brand green */
.browse-toolbar__control .browse-select.is-active {
  color: #567e1b;
}

/* ==================================================
Authors control (multi-select dropdown)
==================================================
The <summary> trigger wears .browse-select so it dresses exactly like the
sort/type selects (incl. the desktop ghost treatment); the shared panel
styles live in common/_author-filter.scss. The wrapper anchors the popover.
*/
.browse-authors {
  position: relative;
}

.browse-authors details.authorfilter {
  flex: 1 1 auto;
}

.browse-authors .authorfilter summary.browse-select {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

@media screen and (min-width: 760px) {
  .browse-authors details.authorfilter {
    flex: 0 0 auto;
  }
  .browse-authors .authorfilter summary.browse-select {
    flex: 0 0 auto;
  }
}
/* ==================================================
Privacy letter-badges (member+ only, visibility lens)
==================================================
Rules live in common/_privacy-badge.scss (shared with the stream).
Only the card positioning context is browse-specific.
z-index: 0 makes each card a stacking context that CAPS the badge's
z-index: 2 inside it - without this the badges paint on top of the
site's fixed .app-footer (z-index auto) as cards scroll behind it.
*/
li.card {
  position: relative;
  z-index: 0;
}

/* only rendered inside <noscript>; selects auto-submit when JS is on */
.browse-toolbar__apply {
  min-height: 44px;
  padding: 0.5em 1em;
  border: 1px solid #7EB928;
  border-radius: 6px;
  background: #7EB928;
  color: #fff;
  font-family: "Titillium Web", "Source Sans 3", "Source Sans Pro", -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

@media screen and (min-width: 760px) {
  .browse-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5em 1em;
  }
  .browse-toolbar__control {
    flex: 0 0 auto;
    gap: 0.4em;
  }
  /* hairline separators between control groups */
  .browse-toolbar__control + .browse-toolbar__control {
    border-left: 1px solid #e3e3da;
    padding-left: 1.25em;
  }
  /* ghost selects: controls as typography, the pill appears on hover */
  .browse-toolbar__control .browse-select {
    flex: 0 0 auto;
    border-color: transparent;
    background-color: transparent;
    font-size: 0.95rem;
    padding: 0.35em 1.6em 0.35em 0.55em;
    background-position: right 0.45em center;
    border-radius: 6px;
  }
  .browse-toolbar__control .browse-select:hover,
  .browse-toolbar__control .browse-select:focus-visible {
    background-color: #eeeee8;
    border-color: transparent;
  }
  /* the switch slims down to match the typographic scale */
  .browse-autoload__switch {
    width: 2.3em;
    height: 1.3em;
  }
  .browse-autoload__switch::after {
    top: 0.15em;
    left: 0.15em;
    width: 1em;
    height: 1em;
  }
  .browse-autoload__input:checked + .browse-autoload__switch::after {
    transform: translateX(1em);
  }
  .browse-toolbar__apply {
    min-height: 0;
    font-size: 0.9rem;
  }
}
/* ==================================================
Pagination bar, below the card grid
==================================================
Mobile: [< Prev]  Page 6 of 10  [Next >]  then the size select.
Desktop: numbered page links replace the status text.
*/
.browse-pagination {
  font-family: "Titillium Web", "Source Sans 3", "Source Sans Pro", -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9em;
  /* the card grid's own 1.5em gap provides the spacing above */
  margin: 0;
  padding: 1.25em 0 0.25em;
  border-top: 1px solid #d8d8cb;
}

/* respected even though we set display on these elsewhere */
.browse-loadmore[hidden],
.browse-toolbar__autoload[hidden],
.browse-loadmore__btn[hidden],
.browse-pagination__fallback[hidden] {
  display: none;
}

/* no-JS pagination lives in this wrapper; JS hides it */
.browse-pagination__fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75em 1em;
  width: 100%;
}

/* ==================================================
Load more (JS mode)
================================================== */
.browse-loadmore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
}

/* :link/:visited beat a bare class in the old bundles - pin every state */
a.browse-loadmore__btn,
a.browse-loadmore__btn:link,
a.browse-loadmore__btn:visited {
  color: #fff;
}

a.browse-pagination__page:link,
a.browse-pagination__page:visited {
  color: #43433b;
}

a.browse-pagination__prev:link,
a.browse-pagination__prev:visited {
  color: #333;
}

a.browse-pagination__next:link,
a.browse-pagination__next:visited {
  color: #fff;
}

.browse-loadmore__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8em 2.4em;
  border: 1px solid #7EB928;
  border-radius: 6px;
  background: #7EB928;
  color: #fff;
  font-family: "Titillium Web", "Source Sans 3", "Source Sans Pro", -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.08s ease, opacity 0.18s ease;
}
.browse-loadmore__btn:hover {
  background: #679721;
  border-color: #679721;
}
.browse-loadmore__btn:active {
  transform: translateY(1px);
}
.browse-loadmore__btn:focus-visible {
  outline: 2px solid rgb(0, 60, 255);
  outline-offset: 2px;
}
.browse-loadmore__btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.browse-loadmore__status {
  color: #5e5e53;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

/* ==================================================
Auto-load switch (top toolbar; revealed by JS)
================================================== */
.browse-autoload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.browse-autoload__switch {
  display: inline-block;
  flex: 0 0 auto;
  width: 2.7em;
  height: 1.5em;
  border-radius: 999px;
  background: #cdcdbd;
  position: relative;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.browse-autoload__switch::after {
  content: "";
  position: absolute;
  top: 0.17em;
  left: 0.2em;
  width: 1.16em;
  height: 1.16em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}

.browse-autoload__input:checked + .browse-autoload__switch {
  background: #7EB928;
}
.browse-autoload__input:checked + .browse-autoload__switch::after {
  transform: translateX(1.15em);
}

.browse-autoload__input:focus-visible + .browse-autoload__switch {
  outline: 2px solid rgb(0, 60, 255);
  outline-offset: 2px;
}

/* the toggle control shouldn't stretch like the selects do on mobile */
.browse-toolbar__autoload {
  flex: 0 0 auto;
}

/* prev/next pill buttons */
.browse-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 44px; /* touch target */
  padding: 0.6em 1.1em;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.08s ease;
}

.browse-pagination__btn:active {
  transform: translateY(1px);
}

.browse-pagination__btn:focus-visible {
  outline: 2px solid rgb(0, 60, 255);
  outline-offset: 2px;
}

/* Previous: quiet outline */
.browse-pagination__prev {
  background: #fff;
  border: 1px solid #cdcdbd;
  color: #333;
}
.browse-pagination__prev:hover {
  border-color: #7EB928;
  color: #618f1f;
}

/* Next: solid brand green - the primary direction */
.browse-pagination__next {
  background: #7EB928;
  border: 1px solid #7EB928;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}
.browse-pagination__next:hover {
  background: #679721;
  border-color: #679721;
}

/* disabled ends keep the layout stable instead of vanishing */
.browse-pagination__btn.is-disabled {
  background: #eeeee8;
  border: 1px solid #e3e3da;
  color: #939384;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

/* numbered page links: desktop only - typing-free direct access */
.browse-pagination__pages {
  display: none;
  list-style: none;
  align-items: center;
  gap: 0.25em;
  margin: 0;
  padding: 0;
}
.browse-pagination__pages li {
  margin: 0;
  padding: 0;
}

.browse-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4em;
  padding: 0.55em 0.4em;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #43433b;
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

a.browse-pagination__page:hover {
  border-color: #7EB928;
  color: #618f1f;
}

a.browse-pagination__page:focus-visible {
  outline: 2px solid rgb(0, 60, 255);
  outline-offset: 1px;
}

/* current page: filled, not a link */
.browse-pagination__page.is-current {
  background: #333;
  border-color: #333;
  color: #fff;
}

.browse-pagination__gap {
  color: #939384;
  padding: 0 0.15em;
  user-select: none;
}

/* "Page 6 of 10" - mobile stand-in for the numbered links */
.browse-pagination__status {
  color: #5e5e53;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* page-size form: sits apart from the direction controls */
.browse-pagination__sizeform {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  flex-basis: 100%;
  justify-content: center;
}

@media screen and (min-width: 760px) {
  .browse-pagination {
    gap: 0.5em 1.25em;
    padding: 1.25em 0.5em 0.25em;
  }
  .browse-pagination__btn {
    min-height: 0;
    font-size: 0.9rem;
    padding: 0.6em 1.05em;
  }
  .browse-pagination__pages {
    display: flex;
  }
  .browse-pagination__status {
    display: none;
  }
  .browse-pagination__sizeform {
    flex-basis: auto;
    margin-left: auto;
  }
}
