/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

:root {
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --club-ink-deep: #141218;
  --club-ink-rich: #26202a;
  --club-blue: #1d4aa0;
  --club-blue-bright: #3768bd;
  --club-blue-soft: #e8eefb;
  --club-gold: #d7ad34;
  --club-gold-soft: #fff4d2;
  --club-red: #b92b35;
  --club-wine: #5b202b;
  --club-ink: #1e1a22;
  --club-muted: #687080;
  --club-bg: #f5f7fb;
  --club-panel: #ffffff;
  --club-border: #dde3ed;
  --club-shadow: rgba(38, 32, 42, 0.13);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 0, rgba(55, 104, 189, 0.16), transparent 24rem),
    radial-gradient(circle at 8% 18rem, rgba(185, 43, 53, 0.06), transparent 20rem),
    linear-gradient(180deg, rgba(223, 230, 244, 0.78), rgba(245, 247, 251, 0) 28rem),
    var(--club-bg);
  color: var(--club-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

main {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.page-shell {
  min-height: 66vh;
}

p,
li,
dd {
  line-height: 1.65;
}

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

a {
  color: var(--club-blue);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--club-blue-bright);
}

.site-navbar {
  background:
    radial-gradient(circle at 14% 0, rgba(215, 173, 52, 0.2), transparent 17rem),
    linear-gradient(90deg, var(--club-ink-deep), var(--club-ink-rich) 56%, var(--club-wine));
  border-bottom: 3px solid var(--club-gold);
  box-shadow: 0 2px 18px var(--club-shadow);
}

.navbar-brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--font-heading);
  font-weight: 750;
  gap: 0.7rem;
  letter-spacing: 0;
}

.navbar-brand-crest {
  flex: 0 0 auto;
  height: 32px;
  width: 32px;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .current-menu-item > .nav-link {
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .current-menu-item > .nav-link {
  text-decoration: none;
}

.navbar-dark .navbar-nav .nav-link.active::after,
.navbar-dark .navbar-nav .current-menu-item > .nav-link::after {
  background: var(--club-gold);
  border-radius: 999px;
  bottom: 0.22rem;
  content: "";
  height: 3px;
  left: 0.5rem;
  position: absolute;
  right: 0.5rem;
}

.hero-section {
  background:
    radial-gradient(circle at 16% 22%, rgba(55, 104, 189, 0.28), transparent 17rem),
    radial-gradient(circle at 32% 88%, rgba(91, 32, 43, 0.2), transparent 22rem),
    linear-gradient(125deg, #1d2436, #141218 48%, #07070c);
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  position: relative;
}

.hero-section::after {
  background: var(--club-gold);
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-section h1,
.page-shell h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.4vw, 3.55rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-section .lead {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.88);
}

.section-kicker {
  color: var(--club-gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.page-shell .section-kicker {
  color: var(--club-gold);
}

.hero-section .section-kicker {
  color: var(--club-gold);
}

.hero-crest-wrap {
  display: grid;
  justify-items: center;
  position: relative;
}

.hero-crest-wrap::before {
  content: none;
}

.hero-crest {
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.42));
  height: clamp(13rem, 24vw, 18rem);
  object-fit: contain;
  position: relative;
  width: clamp(13rem, 24vw, 18rem);
}

.hero-panel,
.feature-card,
.content-panel,
.link-card {
  background: var(--club-panel);
  border: 1px solid var(--club-border);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(20, 18, 24, 0.2);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover,
.content-panel:hover {
  box-shadow: 0 26px 66px rgba(20, 18, 24, 0.34);
  transform: translateY(-2px);
}

.hero-panel {
  color: var(--club-ink);
  padding: 1.5rem;
}

.hero-panel h2,
.feature-card h2,
.content-panel h2,
.hero-panel h3,
.feature-card h3,
.content-panel h3,
.hero-panel h4,
.feature-card h4,
.content-panel h4,
.hero-panel h5,
.feature-card h5,
.content-panel h5 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-panel dt,
.placeholder-detail {
  color: var(--club-blue);
  font-weight: 700;
}

.content-section,
.page-shell {
  padding: 4rem 0;
}

.home-card-section,
.page-shell {
  border-top: 5px solid var(--club-gold);
  flex: 1 0 auto;
  overflow: hidden;
  padding: 5rem 0;
  position: relative;
}

.home-card-section::before,
.page-shell::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(215, 173, 52, 0.28), transparent 24rem),
    linear-gradient(135deg, rgba(20, 18, 24, 0.72), rgba(91, 32, 43, 0.52) 48%, rgba(29, 74, 160, 0.58)),
    url("../img/wallpaper.jpg") center / cover;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.home-card-section > *,
.page-shell > * {
  position: relative;
  z-index: 1;
}

.home-card-section .feature-card,
.page-shell .content-panel,
.page-shell .link-card,
.page-shell .photo-tile {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 22px 58px rgba(20, 18, 24, 0.34);
}

.page-shell h1 {
  color: #fff;
}

.page-banner {
  align-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(55, 104, 189, 0.24), transparent 15rem),
    linear-gradient(125deg, #1d2436, #141218 52%, #07070c);
  border-bottom: 4px solid var(--club-gold);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(20, 18, 24, 0.28);
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  min-height: 9rem;
  overflow: hidden;
  padding: 1.5rem 2rem;
}

.page-banner .section-kicker {
  color: var(--club-gold);
}

.page-banner h1 {
  margin-bottom: 0;
}

.page-banner img {
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.36));
  flex: 0 0 auto;
  height: 7rem;
  object-fit: contain;
  width: 7rem;
}

.feature-card {
  height: 100%;
  padding: 1.5rem;
}

.content-panel {
  height: auto;
  overflow: visible;
  padding: 1.5rem;
}

.page-content > * + * {
  margin-top: 1.5rem;
}

.page-content > .content-panel + .content-panel,
.page-content > .row + .row,
.page-content > .wp-block-columns + .wp-block-columns {
  margin-top: 1.5rem;
}

.page-content .wp-block-columns {
  gap: 1.5rem;
  margin-bottom: 0;
}

.page-content .wp-block-skembowmen-grid-column > * + *,
.page-content .row > [class*="col-"] > * + * {
  margin-top: 1.5rem;
}

.sidebar-card {
  height: auto;
}

.feature-card,
.content-panel,
.link-card,
.photo-tile {
  border-top: 4px solid var(--club-gold);
}

.row > [class*="col-"]:nth-child(3n + 2) .feature-card,
.row > [class*="col-"]:nth-child(3n + 2) .content-panel,
.row > [class*="col-"]:nth-child(3n + 2) .link-card,
.row > [class*="col-"]:nth-child(3n + 2) .photo-tile {
  border-top-color: var(--club-blue);
}

.row > [class*="col-"]:nth-child(3n) .feature-card,
.row > [class*="col-"]:nth-child(3n) .content-panel,
.row > [class*="col-"]:nth-child(3n) .link-card,
.row > [class*="col-"]:nth-child(3n) .photo-tile {
  border-top-color: var(--club-red);
}

.feature-card p,
.feature-card li,
.content-panel p,
.content-panel li,
.detail-list {
  color: var(--club-muted);
}

.detail-list li {
  border-bottom: 1px solid var(--club-border);
  padding: 0.65rem 0;
}

.detail-list li:last-child {
  border-bottom: 0;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-list span {
  color: var(--club-ink);
  font-weight: 800;
}

.contact-list a {
  overflow-wrap: anywhere;
}

.contact-form .form-label {
  color: var(--club-ink);
  font-weight: 800;
}

.contact-form .form-label span {
  color: var(--club-muted);
  font-size: 0.84em;
  font-weight: 700;
}

.contact-form .form-control,
.contact-form .form-select {
  border-color: var(--club-border);
  border-radius: 6px;
  color: var(--club-ink);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--club-gold);
  box-shadow: 0 0 0 0.2rem rgba(215, 173, 52, 0.2);
}

.contact-honeypot {
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.form-response {
  margin: 5rem auto;
  max-width: 42rem;
}

.page-shell .form-response h1 {
  color: var(--club-ink);
}

.form-response-title {
  align-items: center;
  display: inline-flex;
  gap: 0.85rem;
}

.form-response-title img {
  display: block;
  flex: 0 0 auto;
  height: 56px;
  width: 56px;
}

.page-shell .form-response p {
  color: var(--club-muted);
}

.error-page {
  align-items: center;
  justify-content: center;
}

.error-panel {
  margin: 0 auto;
  max-width: 42rem;
  text-align: center;
}

.page-shell .error-panel h1 {
  color: var(--club-ink-deep);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.error-panel .btn-outline-light {
  border-color: rgba(20, 18, 24, 0.24);
  color: var(--club-ink-rich);
}

.error-panel .btn-outline-light:hover,
.error-panel .btn-outline-light:focus {
  background: var(--club-ink-rich);
  border-color: var(--club-ink-rich);
  color: #fff;
}

.map-panel iframe {
  aspect-ratio: 16 / 7;
  border: 0;
  border-radius: 0 0 8px 8px;
  display: block;
  margin-left: -1.5rem;
  margin-top: 1rem;
  min-height: 320px;
  width: calc(100% + 3rem);
}

.map-action {
  margin-top: 1rem;
}

.map-action a {
  display: inline-flex;
}

.link-card {
  align-items: start;
  color: var(--club-ink);
  display: grid;
  column-gap: 1rem;
  row-gap: 0.25rem;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  height: 100%;
  min-height: 8rem;
  padding: 1rem;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.link-card:hover,
.link-card:focus {
  box-shadow: 0 26px 66px rgba(20, 18, 24, 0.38);
  color: var(--club-blue);
  transform: translateY(-2px);
}

.link-card-logo {
  align-self: stretch;
  background: #fff;
  border: 1px solid var(--club-border);
  border-radius: 6px;
  display: block;
  grid-row: 1 / span 2;
  height: 100%;
  object-fit: contain;
  padding: 0.45rem;
  width: 100%;
}

.link-card span,
.link-card small {
  grid-column: 2;
}

.link-card span {
  align-self: start;
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.25;
}

.link-card small {
  align-self: start;
  color: var(--club-muted);
  display: block;
  line-height: 1.5;
  margin-top: 0;
}

.photo-tile {
  aspect-ratio: 4 / 3;
  background: var(--club-panel);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(20, 18, 24, 0.2);
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
  width: 100%;
}

.photo-tile:hover,
.photo-tile:focus {
  box-shadow: 0 26px 66px rgba(20, 18, 24, 0.38);
  outline: 3px solid rgba(215, 173, 52, 0.46);
  outline-offset: 3px;
  transform: translateY(-2px);
}

.photo-gallery-panel .photo-tile {
  box-shadow: 0 8px 22px rgba(20, 18, 24, 0.14);
}

.photo-gallery-panel .photo-tile:hover,
.photo-gallery-panel .photo-tile:focus {
  box-shadow: 0 16px 38px rgba(20, 18, 24, 0.24);
}

.gallery-error {
  color: var(--club-muted);
  margin: 0;
}

.photo-tile img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
  width: 100%;
}

.photo-tile:hover img,
.photo-tile:focus img {
  transform: scale(1.035);
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes crest-zoom {
    from {
      opacity: 0;
      transform: scale(0.94);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes soft-reveal {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes active-marker {
    from {
      transform: scaleX(0);
    }

    to {
      transform: scaleX(1);
    }
  }

  .hero-crest {
    animation: crest-zoom 0.5s ease-out both;
  }

  .page-banner,
  .feature-card,
  .content-panel,
  .link-card,
  .photo-gallery-panel {
    animation: soft-reveal 0.42s ease both;
  }

  .row > [class*="col-"]:nth-child(2) .feature-card,
  .row > [class*="col-"]:nth-child(2) .content-panel,
  .row > [class*="col-"]:nth-child(2) .link-card,
  .row > [class*="col-"]:nth-child(2) .photo-tile {
    animation-delay: 0.04s;
  }

  .row > [class*="col-"]:nth-child(3) .feature-card,
  .row > [class*="col-"]:nth-child(3) .content-panel,
  .row > [class*="col-"]:nth-child(3) .link-card,
  .row > [class*="col-"]:nth-child(3) .photo-tile {
    animation-delay: 0.08s;
  }

  .navbar-dark .navbar-nav .nav-link.active::after {
    animation: active-marker 0.28s ease both;
    transform-origin: left center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.photo-modal .modal-content {
  background: var(--club-ink-deep);
  color: #fff;
}

.photo-modal .modal-header {
  align-items: center;
  border-bottom-color: rgba(255, 255, 255, 0.16);
  gap: 1rem;
  padding-bottom: 0.55rem;
  padding-top: 0.55rem;
}

.photo-modal .btn-close {
  filter: invert(1) grayscale(1);
}

.photo-modal-title {
  align-items: center;
  display: inline-flex;
  gap: calc(0.75rem);
  line-height: 1;
  margin: 0;
  min-height: 32px;
}

.photo-modal-title img {
  display: block;
  flex: 0 0 auto;
  height: 36px;
  width: 36px;
}

.photo-modal-title span {
  display: block;
  line-height: 1.2;
  transform: translateY(2px);
}

.photo-carousel-image {
  background: #000;
  border-radius: 8px;
  display: block;
  height: min(72vh, 760px);
  object-fit: contain;
  width: 100%;
}

.photo-modal .carousel-caption {
  background: rgba(20, 18, 24, 0.76);
  border-radius: 8px;
  bottom: 1rem;
  display: inline-block;
  left: 50%;
  padding: 0.5rem 0.75rem;
  right: auto;
  transform: translateX(-50%);
}

.photo-modal .carousel-control-prev,
.photo-modal .carousel-control-next {
  width: 4rem;
}

.photo-modal .carousel-control-prev-icon,
.photo-modal .carousel-control-next-icon {
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
}

.site-footer {
  background:
    radial-gradient(circle at 86% 0, rgba(215, 173, 52, 0.18), transparent 20rem),
    linear-gradient(135deg, var(--club-ink-deep), var(--club-ink-rich) 58%, var(--club-wine));
  border-top: 3px solid var(--club-gold);
  color: rgba(255, 255, 255, 0.78);
  padding: 1.5rem 0;
}

.footer-brand {
  align-items: center;
  display: inline-flex;
  gap: 0.65rem;
}

.footer-brand img {
  height: 32px;
  width: 32px;
}

.btn {
  border-radius: 6px;
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn-light {
  background: var(--club-gold);
  border-color: var(--club-gold);
  color: var(--club-ink-deep);
}

.btn-light:hover,
.btn-light:focus {
  background: #efc952;
  border-color: #efc952;
  color: var(--club-ink-deep);
  box-shadow: 0 12px 28px rgba(20, 18, 24, 0.22);
  transform: translateY(-1px);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: var(--club-ink-rich);
}

.hero-section .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
}

.hero-section .btn-outline-light:hover,
.hero-section .btn-outline-light:focus {
  background: #fff;
  border-color: #fff;
  color: var(--club-ink-rich);
  box-shadow: 0 12px 28px rgba(20, 18, 24, 0.22);
  transform: translateY(-1px);
}

@media (max-width: 575.98px) {
  .hero-section,
  .content-section,
  .page-shell {
    padding: 2.5rem 0;
  }

  .navbar-brand {
    max-width: 14rem;
    white-space: normal;
  }

  .hero-crest-wrap {
    margin-top: 1rem;
  }

  .link-card {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    min-height: 7rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }

  .page-banner {
    margin-bottom: 1.25rem;
    min-height: 7.25rem;
    padding: 1.25rem;
  }

  .page-banner img {
    height: 5.5rem;
    width: 5.5rem;
  }

  .navbar-dark .navbar-nav .nav-link.active::after {
    left: 0;
    right: auto;
    width: 2rem;
  }

  .hero-section .row {
    flex-direction: column-reverse;
    gap: 1.25rem;
  }

  .hero-copy,
  .hero-art {
    width: 100%;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section .d-flex {
    align-items: center;
    justify-content: center;
  }

  .hero-section .btn-lg {
    font-size: 0.95rem;
    padding: 0.55rem 0.8rem;
  }

  .hero-crest-wrap {
    margin-top: 0;
  }

  .hero-crest {
    height: 10rem;
    width: 10rem;
  }
}

@media (max-width: 420px) {
  .hero-section .row {
    gap: 1rem;
  }

  .hero-section h1 {
    font-size: 1.7rem;
  }

  .hero-section .lead {
    font-size: 0.95rem;
  }

  .hero-crest {
    height: 8.75rem;
    width: 8.75rem;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
