:root {
  --text: #6f6f6f;
  --ink: #232323;
  --black: #000;
  --gray-meta: #939393;
  --gray-line: #ededed;
  --light-bg: #f7f7f7;
  --dark-bg: #1c1c1c;
  --pink: #ff214f;
  --teal: #53b29a;
  --orange: #ed6a43;
  --alt-font: "Montserrat", sans-serif;
  --main-font: "Roboto", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--main-font);
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color .3s ease, opacity .3s ease; }

p { margin: 0 0 25px; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 25px; font-weight: 400; color: var(--ink); }

b, strong { font-weight: 700; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* Header */

.site-header { position: relative; }

.banner {
  height: 250px;
  background: url(/uploads/2018/07/250x1440-1.jpg) 0% 50% / cover no-repeat;
}

.navbar {
  display: flex;
  align-items: center;
  height: 77px;
  padding: 5px 60px 0 15px;
  background: rgba(0, 0, 0, .9);
}

.logo { margin-right: auto; }

.logo img { height: 26px; width: auto; }

.nav-links { display: flex; list-style: none; margin: 0; padding: 0; }

.nav-links a {
  display: block;
  margin: 0 20px;
  padding: 26px 0;
  color: #fff;
  font-family: var(--alt-font);
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .18px;
  text-transform: uppercase;
}


.nav-links a:hover, .search-link:hover { opacity: .6; }

.search-link { display: block; margin-left: 38px; color: #fcfcfc; }

.search-link svg { display: block; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: 15px; cursor: pointer; }

.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; }

/* Subscribe widget */

.subscriber {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: flex;
  height: 80px;
  font-family: var(--alt-font);
}

.subscriber input {
  width: 0;
  padding: 0;
  border: 0;
  font: 14px var(--main-font);
  outline: none;
  transition: width .3s ease;
}

.subscriber-teaser {
  display: flex;
  align-items: flex-start;
  width: 275px;
  height: 80px;
  padding: 15px 7px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: rgba(255, 255, 255, .9);
  color: #000;
  text-align: left;
  cursor: pointer;
  font-family: var(--alt-font);
}

.subscriber-icon { position: relative; flex: none; width: 35px; height: 27px; margin: 9px 0 0 10px; }

.subscriber-icon .email { width: 35px; height: 27px; }

.subscriber-icon .at { position: absolute; right: -4px; bottom: -8px; width: 21px; height: 21px; }

.subscriber-text { margin-left: 15px; width: 200px; }

.subscriber-text strong { display: block; font-size: 16px; font-weight: 700; line-height: 12px; margin-bottom: 10px; }

.subscriber-text span { display: block; font-size: 10px; font-weight: 600; line-height: 12px; }

.subscriber-submit { display: none; }

.subscriber.active input { width: 342px; padding: 28px 25px; }

.subscriber.active .subscriber-teaser { display: none; }

.subscriber.active .subscriber-submit {
  display: block;
  width: 108px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--orange);
  color: #fff;
  font: 600 11px/14px var(--alt-font);
  text-transform: uppercase;
  cursor: pointer;
}

/* Home grid */

.home-grid { padding-bottom: 60px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; }

.card { padding: 5px; }

.card-inner { position: relative; overflow: hidden; background: #000; }

.card-image { display: block; overflow: hidden; text-align: center; }

.card-image img { width: 100%; transition: all .3s ease; }

.card:hover .card-image img { opacity: .5; transform: scale(1.1); }

.card-details {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 45px;
  background: rgba(0, 0, 0, .85);
}

.card-author {
  position: absolute;
  top: 15px;
  font-size: 11px;
  line-height: 14px;
  color: var(--gray-meta);
  text-transform: uppercase;
}

.card-author a { color: var(--gray-meta); }

.card-title {
  display: block;
  margin-top: 15px;
  color: #fff;
  font-family: var(--alt-font);
  font-size: 25px;
  font-weight: 600;
  line-height: 30px;
}

.card-excerpt {
  height: 0;
  margin-top: 0;
  overflow: hidden;
  transition: all .5s ease;
}

.card:hover .card-excerpt { height: 75px; margin-top: 15px; }

.pager {
  display: flex;
  justify-content: space-between;
  max-width: 1170px;
  margin: 30px auto 0;
  padding: 0 15px;
  font: 600 12px/20px var(--alt-font);
  text-transform: uppercase;
  color: var(--ink);
}

.pager.js-hidden { visibility: hidden; height: 1px; margin: 0; overflow: hidden; }

.about-strip { padding: 35px 50px; background: var(--dark-bg); }

.about-strip p { margin: 0 0 25px; color: #fcfcfc; font-size: 20px; line-height: 30px; text-align: center; }

/* Footer */

.site-footer { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

.footer-inner {
  padding: 50px 15px;
  border-top: 1px solid #363636;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.footer-inner p { margin: 0 0 15px; }

.footer-inner img { width: 120px; margin: 0 auto; }

.home .site-footer, .page-about .site-footer { border-top: 0; }

.scroll-top {
  position: fixed;
  top: 91%;
  right: 45px;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background: #878787;
  color: #fff;
  opacity: .5;
}

.scroll-top.visible { display: flex; }

.scroll-top:hover { opacity: 1; }

/* Title bar */

.title-bar { padding: 35px 0; background: var(--light-bg); }

.title-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.title-bar h1 {
  margin: 0;
  font-family: var(--alt-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  color: var(--ink);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 500 12px/20px var(--alt-font);
  color: var(--text);
}

.breadcrumb.upper { text-transform: uppercase; }

.breadcrumb a { color: #626262; }

.breadcrumb a:hover { color: var(--ink); }

.breadcrumb li + li::before {
  content: "•";
  position: relative;
  top: 4px;
  padding: 0 12px;
  font-size: 25px;
  line-height: 20px;
}

/* Post + archive layout */

.with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 802.5fr) minmax(0, 262.5fr);
  column-gap: 75px;
  padding-top: 20px;
  padding-bottom: 130px;
}

.main-col { padding-top: 45px; }

.archive { padding-top: 130px; }

.archive .main-col { padding-top: 0; }

.prose::after { content: ""; display: table; clear: both; }

.prose p { margin-bottom: 25px; }

.prose a { color: var(--pink); }

.prose a:hover { color: var(--ink); }

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { font-family: var(--alt-font); font-weight: 600; margin: 0 0 25px; }

.prose h2 { font-size: 28px; line-height: 34px; }
.prose h3 { font-size: 24px; line-height: 30px; }
.prose h4 { font-size: 20px; line-height: 26px; }
.prose h5, .prose h6 { font-size: 16px; line-height: 22px; }

.prose img { margin: 0 auto; }

.prose > p:first-child:has(> img:only-child),
.prose > p:first-child:has(> a:only-child > img),
.post-hero {
  float: left;
  width: 324px;
  max-width: 45%;
  margin: 9px 18px 9px 0;
}

.prose blockquote {
  margin: 45px 0;
  padding: 15px 40px;
  border-left: 2px solid var(--text);
  font-size: 17.5px;
}

.prose blockquote p { margin-bottom: 17px; font-size: 18px; line-height: 30px; font-weight: 300; }

.prose hr { margin: 20px 0; border: 0; border-top: 1px solid #808080; border-bottom: 1px solid #808080; clear: both; }

.prose ul, .prose ol { margin: 0 0 25px; padding-left: 1.3em; }

.prose li { margin-bottom: 8px; }

.prose audio { width: 100%; margin-bottom: 25px; }

.prose iframe { max-width: 100%; }

/* Share bar */

.share-bar { display: flex; gap: 5px; margin: 20px 0; clear: both; }

.share-bar a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 1px;
  color: #fff;
  font: 400 12px/1 "Lato", var(--main-font);
}

.share-bar a span { display: none; margin-left: 6px; }

.share-bar a:hover span { display: inline; }

.share-facebook { background: #1877f2; }
.share-linkedin { background: #0077b5; }
.share-twitter { background: #1da1f2; }
.share-pinterest { background: #e60023; }

/* Sidebar */

.widget { margin-bottom: 50px; }

.sidebar-search { position: relative; }

.sidebar-search input {
  width: 100%;
  height: 42px;
  padding: 12px 35px 12px 20px;
  border: 1px solid var(--gray-line);
  border-radius: 0;
  font: 14px var(--main-font);
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
}

.sidebar-search button {
  position: absolute;
  top: 0;
  right: 0;
  height: 42px;
  padding: 0 14px;
  border: 0;
  background: none;
  color: #333;
  cursor: pointer;
}

.widget-title {
  position: relative;
  margin-bottom: 20px;
  font: 600 12px/20px var(--alt-font);
  color: var(--ink);
  text-transform: uppercase;
}

.widget-title::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--pink);
}

.widget-title span { position: relative; z-index: 1; display: inline-block; padding-right: 20px; background: #fff; }

.widget-list { margin: 0; padding: 0; list-style: none; }

.widget-list li {
  margin-bottom: 8px;
  padding: 0 15px 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.widget-list a { color: #000; line-height: 20px; }

.widget-list a:hover, .widget-promo a:hover { color: var(--gray-meta); }

.widget-promo p { color: var(--pink); }

.widget-promo a { color: #000; }

/* Archive list */

.list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--gray-line);
}

.list-image { flex: 0 0 41.666%; margin-right: 30px; }

.list-image img { width: 100%; }

.list-text { flex: 0 0 50%; }

.list-title {
  display: inline-block;
  margin-bottom: 5px;
  font: 600 20px/26px var(--alt-font);
  color: var(--ink);
}

.list-title:hover { color: var(--gray-meta); }

.list-meta {
  margin-bottom: 15px;
  font: 500 11px/14px var(--alt-font);
  color: var(--gray-meta);
  text-transform: uppercase;
}

.list-meta a:hover { color: var(--ink); }

.list-meta .sep { margin: 0 10px; }

.btn-dark {
  display: inline-block;
  margin-top: 15px;
  padding: 1px 17px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: 600 9px/22px var(--alt-font);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.btn-dark:hover { background: transparent; color: var(--ink); }

/* Generic page */

.page-body { padding-top: 130px; padding-bottom: 130px; }

.page-body > .share-bar { margin-top: 20px; }

.categories-content { text-align: center; }

.categories-content h3 { font-size: 48px; line-height: 54px; color: var(--text); }

.categories-content a { color: #000; }

.categories-content a:hover { color: var(--pink); }

.contact-section { padding-bottom: 0; }

.contact-intro { margin-bottom: 25px; font: 600 18px/26px var(--alt-font); color: var(--ink); }

.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding: 12px 20px;
  border: 1px solid #d1d1d1;
  border-radius: 0;
  font: 14px var(--main-font);
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
}

.contact-form input { height: 42px; }

.contact-form textarea { height: 74px; resize: vertical; }

.contact-form input:focus, .contact-form textarea:focus { border-color: #aaa; }

.contact-form button {
  margin-top: 32px;
  letter-spacing: .5px;
  padding: 4px 24px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  font: 600 11px/24px var(--alt-font);
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form button:hover { background: #fff; color: #000; }

.page-contact .page-body { padding-bottom: 0; }

.page-contact .page-body > .share-bar { margin-top: 175px; }

/* About */

.about-hero { display: flex; align-items: center; background: var(--dark-bg); }

.about-hero-image { flex: 0 0 50%; }

.about-hero-image img { width: 100%; }

.about-hero-text { flex: 0 0 50%; padding: 103.5px 118.5px; }

.about-hero-inner { max-width: 483px; }

.about-hero blockquote {
  margin: 45px 0;
  padding: 15px 40px;
  border-left: 2px solid var(--text);
  color: #f2f2f2;
  font-size: 18px;
  line-height: 30px;
}

.about-hero p { margin-bottom: 25px; color: #f2f2f2; font-size: 16px; line-height: 28px; text-align: justify; }

.about-hero p:last-child { margin-bottom: 0; }

.about-hero a { color: var(--pink); }

.about-hero blockquote b { display: block; margin-bottom: 17px; }

.quote-section { padding: 130px 15px; text-align: center; }

.quote-section h3 {
  max-width: 945px;
  margin: 0 auto 25px;
  font: 500 48px/54px var(--alt-font);
  color: #d6d5d5;
}

.quote-section h3 strong { font-weight: 600; }

.quote-section h6 { max-width: 945px; margin: 49px auto 25px; font-size: 25px; line-height: 30px; color: var(--text); }

/* Team */

.team-intro { padding: 130px 15px 114px; text-align: center; }

.team-intro h5 {
  margin: 0 0 20px;
  font: 700 32px/40px var(--alt-font);
  color: var(--ink);
  text-transform: uppercase;
}

.team-intro p { max-width: 555px; margin: 0 auto; }

.team-grid { width: 954px; max-width: calc(100% - 30px); margin: 0 auto; padding-bottom: 130px; columns: 3; column-gap: 30px; }

.team-member { margin: 0; break-inside: avoid; }

.team-image { position: relative; }

.team-image img { width: 100%; aspect-ratio: 670 / 1000; object-fit: cover; }

.team-overlay { position: absolute; inset: 0; background: rgba(83, 178, 154, .8); opacity: 0; transition: opacity .3s ease; }

.team-member:hover .team-overlay { opacity: 1; }

.team-member figcaption { height: 55px; padding-top: 20px; text-align: center; }

.team-name { font: 600 12px/20px var(--alt-font); color: var(--ink); text-transform: uppercase; }

.team-role { font-size: 11px; line-height: 14px; color: var(--gray-meta); text-transform: uppercase; }

/* Search */

.search-form input {
  width: 100%;
  max-width: 760px;
  height: 52px;
  margin-bottom: 30px;
  padding: 12px 20px;
  border: 1px solid #d1d1d1;
  font: 16px var(--main-font);
  outline: none;
}

.search-results { max-width: 760px; margin: 0; padding: 0; list-style: none; }

.search-results li { padding: 20px 0; border-bottom: 1px solid var(--gray-line); }

.search-results a { font: 600 20px/26px var(--alt-font); color: var(--ink); }

.search-results a:hover { color: var(--gray-meta); }

.search-results p { margin: 5px 0; }

.search-results small { font: 500 11px/14px var(--alt-font); color: var(--gray-meta); text-transform: uppercase; }

.notfound { text-align: center; }

.notfound .btn-dark { font-size: 11px; padding: 4px 24px; }

/* Responsive */

@media (max-width: 1199px) {
  .nav-links a { margin: 0 12px; }
  .card-details { padding: 20px 30px; }
  .card-title { font-size: 20px; line-height: 26px; }
}

@media (max-width: 991px) {
  .banner { height: 180px; }
  .subscriber { display: none; }
  .navbar { padding: 0 15px; height: 64px; position: relative; }
  .logo img { height: 22px; }
  .nav-toggle { display: block; order: 3; }
  .search-link { order: 2; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    padding: 10px 0;
    background: rgba(0, 0, 0, .95);
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a { margin: 0; padding: 12px 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .with-sidebar { grid-template-columns: 1fr; padding-bottom: 80px; }
  .sidebar { margin-top: 40px; }
  .title-bar-inner { flex-direction: column; text-align: center; gap: 10px; }
  .breadcrumb { justify-content: center; }
  .breadcrumb.upper { flex-direction: column; align-items: center; }
  .breadcrumb.upper li + li::before { display: none; }
  .with-sidebar { padding-top: 0; }
  .archive { padding-top: 45px; }
  .about-hero { flex-direction: column; }
  .about-hero-text { padding: 50px 20px; }
  .about-hero-image, .about-hero-text { flex-basis: auto; width: 100%; }
  .quote-section h3 { font-size: 32px; line-height: 40px; }
  .categories-content h3 { font-size: 36px; line-height: 42px; }
  .team-grid { columns: 2; }
  .page-body, .team-intro, .quote-section { padding-top: 80px; padding-bottom: 80px; }
}

@media (max-width: 767px) {
  .grid { grid-template-columns: 1fr; }
  .card-title { font-size: 23px; line-height: 30px; margin-top: 30px; }
  .card-author, .card-author a { color: #fff; }
  .list-item { flex-direction: column; text-align: center; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 0; }
  .list-image { margin: 0 0 20px; width: 100%; }
  .list-text { flex-basis: auto; }
  .prose > p:first-child:has(> img:only-child),
  .prose > p:first-child:has(> a:only-child > img),
  .post-hero { float: none; width: 100%; max-width: none; margin: 0 0 25px; }
  .about-strip { padding: 30px 20px; }
  .about-strip p { font-size: 17px; line-height: 26px; }
  .team-grid { columns: 1; width: 298px; }
  .share-bar a span { display: none !important; }
  .scroll-top { right: 15px; }
}
