/*
Theme Name: ISCAST
*/
/* Adjust admin bar bump */
body.logged-in.admin-bar header {
  top: 32px;
}

/* Shopify Buy Button    */
.shopify-buy-frame {
  margin-top: -24px;
}

/* Fonts */
@font-face {
  font-weight: 400;
  font-style: normal;
  font-family: "IvyPresto";
  src: url("fonts/IvyPresto/IvyPresto_Regular.otf");
}

@font-face {
  font-weight: 600;
  font-style: normal;
  font-family: "IvyPresto";
  src: url("fonts/IvyPresto/IvyPresto_SemiBold.otf");
}

@font-face {
  font-weight: 400;
  font-style: normal;
  font-family: "Neue";
  src: url("fonts/Neue-Haas-Grotesk/NeueHaasGrotText-55Roman.otf");
}

@font-face {
  font-weight: 400;
  font-style: italic;
  font-family: "Neue";
  src: url("fonts/Neue-Haas-Grotesk/NeueHaasGrotText-56Italic.otf");
}

@font-face {
  font-weight: 500;
  font-style: normal;
  font-family: "Neue";
  src: url("fonts/Neue-Haas-Grotesk/NeueHaasGrotText-65Medium.otf");
}

@font-face {
  font-weight: 500;
  font-style: italic;
  font-family: "Neue";
  src: url("fonts/Neue-Haas-Grotesk/NeueHaasGrotText-66MediumItalic.otf");
}

@font-face {
  font-weight: 700;
  font-style: normal;
  font-family: "Neue";
  src: url("fonts/Neue-Haas-Grotesk/NeueHaasGrotText-75Bold.otf");
}

@font-face {
  font-weight: 700;
  font-style: italic;
  font-family: "Neue";
  src: url("fonts/Neue-Haas-Grotesk/NeueHaasGrotText-76BoldItalic.otf");
}

/* Global */
:root {
  --clr-light: #5e5e5e;
  --clr-dark: #000;
  --clr-blue: #3181e9;
  --clr-mint: #c3f5d2;
  --clr-purple: #363fca;
  --clr-dark-blue: #00213f;
  --clr-heading: var(--clr-dark-blue);
  --clr-body: #000;
  --ff-heading: 'IvyPresto', serif;
  --ff-body: 'Neue', sans-serif;
  /*
  --fw-heading: 700;
  --fw-body: 300;
  --fs-h1: 5rem;
  --fs-h2: 3.25rem;
  --fs-h3: 2.75rem;
  --fs-h4: 1.75rem;
  --fs-body: 1.125rem;
  --line-height: 1.55;
  --font-color: var(--clr-light);
  --navbar-bg-color: var(--clr-dark);
  --navbar-logo-color: var(--clr-accent);
  --navbar-border: thin var(--clr-accent) solid;
  --navbar-font-size: .8rem;
  --header-color: var(--clr-accent);
  --header-shadow: 2px 3px 4px rgba(200, 200, 0, .25);
  --pullquote-border: 5px solid var(--clr-light);
  --link-fg: var(--clr-dark);
  --link-bg: var(--clr-light);
  --link-fg-hover: var(--clr-dark);
  --link-bg-hover: var(--clr-accent);
  
  --shadow: 2px 5px 20px rgba(0, 0, 0, .2);
  --gradient: linear-gradient(60deg, red, green, blue, yellow);
  --button-small: .75rem;
  --button-default: 1rem;
  --button-large: 1.5rem;
*/
  --transition: .15s ease-in-out;
  --z-idx-low: 3;
  --z-idx-default: 5;
  --z-idx-high: 7;
  --header-top-height: 50px;
  --header-menu-height: 108px;
  --header-height: calc(var(--header-top-height) + var(--header-menu-height));
}

@media (max-width: 992px) {
  :root {
    --header-menu-height: 80px;
    --header-top-height: 0px;
  }
}

* {
  color: var(--clr-dark);
  font-family: var(--ff-body);
  -webkit-font-smoothing: antialiased;
}

html,
body {
  height: 100%;
  background: #fff;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: manual;
  font-size: clamp(18px, 3vw, 22px);
  font-family: var(--ff-body);
  overflow-wrap: break-word;
}

body {
  overflow-x: hidden;
  -webkit-text-size-adjust: none;
}

pre {
  font-size: 1em;
  font-family: monospace, monospace;
}

img {
  max-width: 100%;
}

::placeholder {
  opacity: 0.8;
}

::selection {
  background: var(--clr-purple);
  color: #fff;
}

/* Text-level Semantics */
a,
a:visited,
a:active {
  display: inline-block;
  outline: 0;
  color: currentColor;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

abbr[title] {
  border-bottom: none;
  text-decoration: none;
}

b,
strong {
  font-weight: bold;
}

em,
i {
  font-style: italic;
}

/* Typography */
:is(h1, h2, h3, h4, h5, h6),
:is(.h1, .h2, .h3, .h4, .h5, .h6) {
  color: var(--clr-dark-blue);
}

:is(h1, h2, h3),
:is(.h1, .h2, .h3) {
  font-family: var(--ff-heading);
}

h1,
.h1 {
  line-height: 1.15;
  font-size: clamp(48px, 7vw, 54px);
}

@media (max-width: 768px) {

  h1,
  .h1 {
    line-height: 1.1;
  }
}

h2,
.h2 {
  letter-spacing: 0.25px;
  line-height: 1.2;
  font-size: clamp(38px, 6vw, 42px);
}

h3,
.h3 {
  letter-spacing: 0.25px;
  font-weight: bold;
  line-height: 1.2;
  font-size: clamp(32px, 6vw, 36px);
}

@media (max-width: 768px) {

  h3,
  .h3 {
    line-height: 1.3;
  }
}

:is(h4, h5, h6),
:is(.h4, .h5, .h6) {
  font-weight: bold;
  font-family: var(--ff-body);
}

h4,
.h4 {
  font-size: 30px;
  line-height: 1.2;
}

h5,
.h5 {
  letter-spacing: 0.2px;
  font-size: 22px;
  line-height: 1.4;
}

h6,
.h6 {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 18px;
  line-height: 1.4;
}

.display-1 {
  letter-spacing: 1.5px;
  font-size: clamp(50px, 8vw, 81px);
  font-family: var(--ff-heading);
  line-height: 1.25;
}

@media (max-width: 768px) {
  .display-1 {
    line-height: 1.1;
  }
}

.display-2 {
  font-weight: normal;
  font-size: 20px;
  font-family: var(--ff-body);
  line-height: 1.5;
}

.display-3 {
  display: inline-block;
  margin: 0 0 30px 0;
  padding: 0 0 3px 0;
  border-bottom: 2px solid rgba(94, 94, 94, .15);
  color: var(--clr-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 14px;
}

p,
dl,
ol,
ul,
blockquote,
pre,
table {
  margin-bottom: clamp(28px, 5vw, 32px);
  letter-spacing: 0.2px;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(12px, 3vw, 16px);
  line-height: 165%;
}

p:last-child,
dl:last-child,
ol:last-child,
ul:last-child,
blockquote:last-child,
pre:last-child,
table:last-child {
  margin-bottom: 0;
}

p:empty {
  display: none;
}

p > a {
  color: currentColor;
  text-decoration: underline solid 1px;
  font-size: inherit;
}

p > a:hover {
  color: var(--clr-light);
}

/* Lists */
dd {
  margin-left: 1.4em;
}

ol,
ul {
  list-style-position: outside;
  --spacing: 15px;
}

ol {
  margin-left: 24px;
}

ul {
  margin-left: 20px;
}

li ul,
li ol {
  margin-top: var(--spacing);
}

li {
  margin-bottom: var(--spacing);
  padding-left: 18px;
}

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

.list--unstyled,
.list--unstyled li,
.list--inline,
.list--inline li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list--inline li {
  display: inline-block;
}

/* Backgrounds */
.bg--light {
  background: #fafafa;
}

.bg--dark {
  background: var(--clr-dark-blue);
}

.bg--accent {
  background: var(--clr-blue);
}

/* Buttons */
.btn {
  padding: 15px 30px;
  border: 0;
  border-radius: 5px;
  background: var(--clr-accent);
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 1em;
}

.btn--one {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  color: var(--clr-blue) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  margin: 0 0 -2px 0;
  vertical-align: middle;
}

.btn--one::after {
  content: ' \27F6';
  vertical-align: middle;
}

.btn--one:hover {
  transition: all var(--transition);
  border-color: currentColor;
}

.btn--big {}

.btn--orange {}

/* Cards */
.card--blog {}

.card--services {}

/* Icons */
.icon--sm {}

.icon--lg {}

/* Forms */
.form {}

.form--subcribe {}

.form--contact {}

/* Article list */
.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 35px;
}

.article-list a {
  transition: all var(--transition);
}

.article-list a:hover {
  opacity: 0.8;
}

.article-list figure * {
  display: block;
}

.article-list figure {
  grid-area: cover;
}

.article-list figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
}

.article-list :is(.category, .date) {
  color: var(--clr-dark-blue);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: normal;
  font-size: clamp(10px, 1.5vw, 12px);
}

.article-list .category {
  margin-top: 14px;
  padding-top: 1px;
  grid-area: category;
}

.article-list .title {
  display: block;
  margin-top: 9px;
  font-weight: bold;
  font-size: clamp(18px, 3vw, 26px);
  font-family: var(--ff-heading);
  line-height: 1.3;
  grid-area: title;
}

.article-list .date {
  display: block;
  margin-top: 14px;
}

@media (max-width: 992px) {
  .article-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-list {
    grid-template-columns: 1fr;
    grid-gap: 24px;
  }

  .article-list article {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "cover category"
      "cover title";
    grid-gap: 7px 12px;
  }

  .article-list .date {
    display: none;
  }

  .article-list figure img {
    height: 120px;
  }

  .article-list :is(.category, .title) {
    margin: 0;
  }
}

/* Page intro */
.intro-col-1-2 .grid {
  grid-template-columns: 1fr 2fr;
  --gap: 40px;
  grid-row-gap: 30px;
}

.intro-col-1-2 .title {
  padding-right: 40px;
}

.intro-col-1-2 .title * {
  font-weight: bold;
  font-size: 38px;
}

@media (max-width: 992px) {
  .intro-col-1-2 .title {
    padding-right: 0;
  }

  .intro-col-1-2 .title * {
    font-size: 32px;
  }
}

/* People */
.people-list {
  grid-gap: 30px;
}

.people-list-single {
  background: var(--clr-mint);
  padding: 40px 40px 24px;
}

.people-list-single .portrait {
  height: 180px;
  display: block;
  width: 100%;
}

.people-list-single .portrait > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.people-list-single .name {
  color: var(--clr-dark-blue);
  font-size: 22px;
  font-weight: bold;
  font-family: var(--ff-heading);
  line-height: 1.3;
  margin: 20px 0 0 0;
}

.people-list-single a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .people-list-single {
    grid-gap: 15px;
  }

  .people-list-single .single {
    background: var(--clr-mint);
    padding: 28px 28px 18px;
  }

  .people-list-single .name {
    margin: 18px 0 0 0;
  }
}

/* Event card */
.event-card-item {
  position: relative;
  padding: 45px 35px 40px 35px;
  min-height: 450px;
  background: #fff;
  box-shadow: 0 10px 40px 0 rgb(0 0 0 / 5%);
}

.event-card-item .date-bubble {
  position: absolute;
  top: calc(0px - (var(--size) / 2));
  padding-top: 19px;
  width: var(--size);
  height: var(--size);
  border-radius: var(--size);
  background: var(--clr-blue);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  --size: 90px;
}

.event-card-item .date-bubble,
.event-card-item .date-bubble * {
  line-height: 1.2;
}

.event-card-item .date-bubble > * {
  display: block;
  color: #fff;
}

.event-card-item .date-bubble .date {
  font-size: 28px;
}

.event-card-item .date-bubble .month {
  letter-spacing: 0.5px;
  font-weight: 700;
  font-size: 13px;
}

.event-card-item .title {
  padding-top: 30px;
  font-size: 26px;
  line-height: 1.25;
}

.event-card-item .status {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 6px;
  border: 1px solid #c3e6cb;
  border-radius: 3px;
  background-color: #d4edda;
  color: #155724;
  letter-spacing: 0.2px;
  font-size: 13px;
}

.event-card-item .details {
  display: grid;
  margin: 30px 0 60px 0;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  grid-template-columns: 17px 1fr;
  grid-gap: 20px 20px;
}

.event-card-item .icon {
  text-align: center;
}

.event-card-item .icon i {
  position: relative;
  top: 2px;
  display: block;
  color: var(--clr-blue);
  vertical-align: middle;
  font-size: 15px;
}

.event-card-item .button {
  padding-top: 30px;
}

.event-card-item .button a {
  position: absolute;
  bottom: 40px;
  padding: 20px 38px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 40px;
  color: var(--clr-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 13px;
}

.event-card-item .button a:hover {
  border-color: #bbb;
  background: #bbb;
  color: #fff;
}

@media (max-width: 768px) {
  .event-card-item {
    min-height: auto;
  }

  .event-card-item .button {
    padding-top: 60px;
  }
}

/* Search */
body.page-template-search .search-results-list {
  display: none !important;
}

body:is(.search, .page-template-search) .form-wrapper {
  margin-bottom: 50px;
  text-align: center;
}

body:is(.search, .page-template-search) form.is-search-form {
  display: inline-grid;
  margin: 0 auto;
  padding: 0 0px 0 15px !important;
  max-width: 100%;
  width: 960px;
  height: 52px;
  border-radius: 60px;
  background: #f0f0f0;
  grid-template-columns: 1fr 64px;
  align-items: center;
}

body:is(.search, .page-template-search) form.is-search-form .is-screen-reader-text {
  display: none;
}

body:is(.search, .page-template-search) form.is-search-form :is(input[type="search"], button[type="submit"]) {
  width: 100%;
  height: 100%;
  border: 0 !important;
  background: none;
}

body:is(.search, .page-template-search) form.is-search-form input[type="search"] {
  color: #000;
  letter-spacing: 0.25px;
  font-size: 18px !important;
}

body:is(.search, .page-template-search) form.is-search-form .is-search-icon {
  opacity: 0.3;
  border: 0 !important;
}

body:is(.search, .page-template-search) .search-results-list article + article {
  margin-top: 40px;
}

body:is(.search, .page-template-search) .search-results-list .title {
  display: block;
  margin-top: 9px;
  font-weight: bold;
  font-size: clamp(18px, 3vw, 26px);
  font-family: var(--ff-heading);
  line-height: 1.3;
}

body:is(.search, .page-template-search) .search-results-list .excerpt {
  margin: 10px 0px 0 0;
}

body:is(.search, .page-template-search) .search-results-list .date {
  display: block;
  margin-top: 14px;
  color: var(--clr-dark-blue);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: normal;
  font-size: clamp(10px, 1.5vw, 12px);
}

/* Post pagination */
.navigation.pagination {
  margin-top: clamp(50px, 8vw, 70px);
}

.navigation.pagination * {
  text-align: center;
}

.navigation.pagination .nav-links * {
  display: inline-block;
  margin: 0 5px;
  padding: 5px;
  letter-spacing: 0.2px;
  font-weight: 700;
  font-size: 15px;
}

.navigation.pagination .nav-links .dots {
  margin: 0;
}

.navigation.pagination .nav-links .current {
  display: inline-grid;
  padding-top: 7px;
  width: var(--size);
  height: var(--size);
  border-radius: var(--size);
  background: var(--clr-blue);
  color: #fff;
  --size: 40px;
  align-items: center;
}

.navigation.pagination .nav-links a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .navigation.pagination .nav-links * {
    margin: 0 3px;
    font-size: 13px;
  }

  .navigation.pagination .nav-links .dots {
    padding: 0;
  }

  .navigation.pagination .nav-links .current {
    --size: 32px;
  }
}

/* Share post */
.share-post {
  margin: clamp(50px, 9vw, 70px) auto 0 auto;
  text-align: center;
}

.share-post,
.share-post * {
  vertical-align: middle;
}

.share-post a {
  margin: 0 10px;
}

.share-post a:hover {
  opacity: 0.7;
}

.share-post i {
  font-size: 15px;
}

.share-post i.fa-facebook-f {
  position: relative;
  top: -0.5px;
}

.share-post .label {
  text-decoration: underline;
  letter-spacing: 0.25px;
  font-weight: bold;
  font-weight: 500;
  font-size: 13px;
}

/* WYSIWYG */
.wysiwyg {
  line-height: 1.6;
  --img-margin: 32px;
}

.wysiwyg::after {
  display: block;
  clear: both;
  content: '';
}

.wysiwyg a {
  display: inline;
  text-decoration: underline;
  color: inherit;
}

.wysiwyg a:hover {
  color: var(--clr-light);
}

.wysiwyg abbr {
  cursor: help;
  text-decoration-style: dotted;
  text-decoration-line: underline;
}

.wysiwyg cite {
  font-style: italic;
}

.wysiwyg hr {
  display: block;
  margin-top: 40px;
  margin-bottom: 40px;
  height: 1px;
  border: none;
  background: #e6e6e6;
}

.wysiwyg img {
  vertical-align: text-bottom;
}

.wysiwyg ins {
  text-decoration: underline;
}

.wysiwyg mark {
  background-color: #ff0;
}

.wysiwyg small {
  font-size: 0.8em;
}

.wysiwyg strong {
  font-weight: bold;
}

.wysiwyg :is(sub, sup) {
  font-size: 0.8em;
}

.wysiwyg sub {
  vertical-align: sub;
}

.wysiwyg sup {
  vertical-align: super;
}

.wysiwyg p:empty {
  display: none;
}

.wysiwyg :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 64px;
  margin-bottom: 24px;
}

.wysiwyg :is(h1, h2, h3, h4, h5, h6):first-child {
  margin-top: 0;
}

.wysiwyg dd {
  margin-left: 1.4em;
}

.wysiwyg blockquote {
  padding: 0 22px;
  border-left: 1px solid #000;
  margin: 38px 36px;
}

.wysiwyg blockquote p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .wysiwyg blockquote {
    padding: 0 0 0 22px;
    margin: 32px 22px;
  }
}

.wysiwyg :is(code, kbd, samp, pre) {
  background-color: #f2f2f2;
  color: #333;
  font-size: 0.9em;
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: auto;
}

.wysiwyg :is(code, kbd, samp) {
  padding: 0.1em 0.4em 0.2em;
  border-radius: 3px;
  vertical-align: baseline;
  line-height: 1.77778;
}

.wysiwyg pre {
  overflow: auto;
  padding: 1em 1.2em
}

.wysiwyg pre code {
  background: none;
  font-size: 1em;
  line-height: 1em
}

.wysiwyg figure {
  margin-bottom: 2.8em;
  text-align: center
}

.wysiwyg figure:first-child {
  margin-top: 0
}

.wysiwyg figure:last-child {
  margin-bottom: 0
}

.wysiwyg figcaption {
  margin-top: .875em;
  font-size: 0.8em;
}

.wysiwyg table {
  width: 100%;
}

.wysiwyg table pre {
  white-space: pre-wrap;
}

.wysiwyg :is(th, td) {
  padding: .7em;
  border: 1px solid #e6e6e6;
  font-size: 1em;
  line-height: 1.4;
}

.wysiwyg :is(thead, tfoot) tr {
  background-color: #f5f5f5;
}

.wysiwyg :is(thead, tfoot) :is(th, td) {
  padding: .77778em;
  font-size: .9em;
}

.wysiwyg :is(thead, tfoot) :is(th, td) code {
  background-color: #fff;
}

.wysiwyg tbody tr {
  background-color: #fff;
}

.wysiwyg :is(.wp-caption, .alignright, .alignleft, .aligncenter, .alignnone) {
  max-width: 100% !important;
  margin-top: var(--img-margin);
  margin-bottom: var(--img-margin);
}

.wysiwyg .wp-caption-text {
  padding: 0;
  margin: calc(2px - var(--img-margin)) 0 0 0;
  font-size: 14px;
  text-align: left;
  color: #777;
}

.wysiwyg img {
  margin-bottom: var(--img-margin);
  max-width: 100% !important;
  width: auto;
  height: auto;
}

.wysiwyg img[align="right"],
.wysiwyg .alignright {
  float: right;
  margin-right: 0;
  margin-left: var(--img-margin);
}

.wysiwyg img[align="left"],
.wysiwyg .alignleft {
  float: left;
  margin-right: var(--img-margin);
  margin-left: 0;
}

.wysiwyg img[align="center"],
.wysiwyg .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {

  .wysiwyg img,
  .wysiwyg a img {
    display: block !important;
    float: none !important;
    margin: var(--img-margin) auto !important;
    max-width: 100% !important;
  }

  .wysiwyg img[align="right"],
  .wysiwyg .alignright,
  .wysiwyg img[align="left"],
  .wysiwyg .alignleft,
  .wysiwyg .alignnone {
    display: block !important;
    float: none !important;
    margin: var(--img-margin) auto !important;
    max-width: 100% !important;
  }
}

.wysiwyg iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  --iframe-width: 600px;
  width: var(--iframe-width);
  height: calc(var(--iframe-width) / 1.8);
}

@media (max-width: 768px) {
  .wysiwyg iframe {
    height: calc(100vw / 2);
  }
}