@font-face {
  font-family: "fk_calligraph";
  src: url("vfkcalligraph.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #fff;
  --ink: #4d4d4d;
  --gold: #ac9a6c;
  --menu-width: 270px;
}

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

html,
body {
  min-width: 320px;
  margin: 0;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  line-height: 1.2;
}

body.menu-open {
  overflow: hidden;
}

button,
a,
.dropdown {
  transition: color .3s ease, border-color .3s ease, background-color .3s ease, opacity .3s ease, transform .3s ease;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#wrapper {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.container {
  width: 1170px;
  height: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.header {
  padding-top: 24px;
}

.header-white {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
}

.header-wrap {
  position: relative;
  border-bottom: 1px solid var(--ink);
}

.header-white .header-wrap {
  border-bottom-color: var(--white);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

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

.app-buttons {
  display: inline-flex;
  align-items: center;
}

.app-buttons a {
  display: inline-flex;
  min-width: 170px;
  min-height: 40px;
  margin-right: 10px;
  border: 1px solid var(--gold);
  border-radius: 25px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: .05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.app-buttons a:last-child {
  margin-right: 0;
}

.app-buttons a:hover {
  background: rgba(172, 154, 108, .18);
}

.app-buttons img {
  margin-right: 10px;
  filter: brightness(0) saturate(100%) invert(31%);
}

.header-white .app-buttons a {
  color: var(--white);
}

.header-white .app-buttons img {
  filter: none;
}

.langs {
  display: flex;
  align-items: center;
}

.langs li {
  margin-right: 20px;
}

.langs li:last-child {
  margin-right: 0;
}

.langs a {
  display: inline-block;
  border-bottom: 1px solid transparent;
  color: rgba(77, 77, 77, .5);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.langs .active a,
.langs a:hover {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.header-white .langs a {
  color: rgba(255, 255, 255, .5);
}

.header-white .langs .active a,
.header-white .langs a:hover {
  border-bottom-color: var(--white);
  color: var(--white);
}

.nav {
  display: flex;
  justify-content: space-between;
}

.nav > li {
  position: relative;
  padding-bottom: 24px;
}

.nav > li > a,
.dropdown a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav > li > a {
  color: var(--ink);
}

.header-white .nav > li > a {
  color: var(--white);
}

.nav > li:hover > a,
.nav > li:focus-within > a,
.nav > li > a:hover {
  color: var(--gold);
}

.submenu-toggle {
  display: none;
}

.dropdown {
  display: none;
  position: absolute;
  z-index: 40;
  top: 100%;
  left: -22px;
  width: 306px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}

.dropdown-right {
  right: -22px;
  left: auto;
}

.nav > li:hover > .dropdown,
.nav > li:focus-within > .dropdown {
  display: block;
}

.dropdown li {
  margin-bottom: 15px;
}

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

.dropdown a {
  color: var(--ink);
  letter-spacing: .12em;
}

.dropdown a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  position: absolute;
  z-index: 60;
  top: 9px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sandwich {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 0;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 28px;
  margin: auto;
}

.sandwich > span {
  display: block;
  position: relative;
  width: 28px;
  height: 3px;
  border-radius: 4px;
  background: var(--ink);
}

.header-white .sandwich > span {
  background: var(--white);
}

.sw-topper {
  top: 0;
  transition: transform .5s, top .2s;
}

.sw-bottom {
  top: 6.6px;
  transition: transform .5s .2s, top .2s;
}

.sw-footer {
  top: 13.5px;
  transition: all .5s .1s;
}

.menu-toggle.is-active .sw-topper {
  top: 9px;
  transform: rotate(-45deg);
}

.menu-toggle.is-active .sw-bottom {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle.is-active .sw-footer {
  top: 0;
  opacity: 0;
  transform: rotate(180deg);
}

.home-page-box {
  height: 100vh;
  padding-top: 150px;
  background: url("bg.jpg") 50% 0 / cover no-repeat;
}

.hero-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
}

h1 {
  max-width: 510px;
  margin: 0;
  color: var(--white);
  font-family: "fk_calligraph", cursive;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.2;
}

.article-main {
  padding: 50px 0 100px;
}

.article-title {
  position: relative;
  max-width: none;
  margin: 0 0 40px;
  padding-bottom: 30px;
  color: var(--ink);
  font-family: "fk_calligraph", cursive;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.article-title::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 95px;
  margin-left: -47px;
  border-top: 2px solid var(--gold);
}

.article-content {
  position: relative;
  max-width: 740px;
  margin: 0 auto;
}

.lead-image img {
  max-width: 100%;
}

.article-text {
  margin-bottom: 40px;
  color: #4b4b4b;
  font-size: 16px;
  line-height: 1.4;
}

.article-text ol {
  padding-left: 28px;
}

.share-row {
  display: flex;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.share-label,
.views {
  color: var(--gold);
  font-size: 14px;
  line-height: 1.4;
}

.share-label {
  margin-right: 18px;
}

.share-links {
  display: flex;
  gap: 8px;
}

.share-links a {
  display: inline-flex;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(172, 154, 108, .65);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  text-decoration: none;
}

.share-links a:hover {
  border-color: var(--ink);
  color: var(--gold);
}

.views {
  display: flex;
  margin-left: auto;
  align-items: center;
}

.views img {
  width: 22px;
  margin-right: 9px;
}

.related-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
}

.related-nav a {
  display: flex;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid var(--gold);
  align-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.related-nav a:hover {
  background: #f5f2ea;
}

.footer {
  background: #000;
}

.footer-grid {
  display: flex;
  padding: 80px 0 60px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-column {
  max-width: 360px;
}

.footer-heading {
  margin: 0 0 26px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-copy {
  color: var(--white);
  font-size: 14px;
  line-height: 1.4;
}

.footer-copy a {
  color: var(--white);
  text-decoration: none;
}

.foundation-note {
  display: flex;
  align-items: flex-start;
}

.foundation-note img {
  margin-right: 15px;
}

.footer-bottom {
  display: flex;
  padding: 20px 0;
  border-top: 1px solid var(--gold);
  align-items: center;
}

.copyright {
  margin-right: 270px;
  color: #4b4b4b;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.google-play-footer {
  display: flex;
  align-items: center;
  color: var(--gold);
  font-family: "Roboto", sans-serif;
  text-decoration: none;
}

.google-play-footer img {
  margin-right: 15px;
}

.google-play-footer small {
  font-size: 12px;
  font-weight: 500;
}

.google-play-footer strong {
  font-size: 16px;
  font-weight: 600;
}

.studio-credit {
  display: flex;
  margin-left: auto;
  align-items: center;
  color: #4b4b4b;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}

.studio-credit img {
  margin-right: 10px;
}

.studio-credit a {
  color: var(--gold);
}

@media (max-width: 1199px) {
  .container {
    width: 970px;
  }

  .hero-inner h1 {
    font-size: 30px;
  }

  .nav > li > a,
  .dropdown a {
    font-size: 12px;
  }

  .copyright {
    margin-right: 175px;
  }
}

@media (max-width: 991px) {
  .container {
    width: 750px;
  }

  .header {
    padding-top: 15px;
  }

  .header-top {
    margin-bottom: 0;
  }

  .app-buttons {
    display: none;
  }

  .langs {
    margin-right: 60px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: var(--menu-width);
    height: 100%;
    padding-top: 15px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: 2px 0 15px rgba(0, 0, 0, .3);
  }

  .nav.is-open {
    display: block;
  }

  .nav > li {
    margin-bottom: 10px;
    padding-bottom: 0;
  }

  .nav > li > a {
    display: block;
    padding: 5px 46px 5px 15px;
    color: #000;
    font-size: 14px;
  }

  .submenu-toggle {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 26px;
    padding: 2px 0 0;
    border: 0;
    background: transparent;
    text-align: center;
    cursor: pointer;
  }

  .submenu-toggle[aria-expanded="true"] {
    transform: rotate(-180deg);
  }

  .nav > li:hover > .dropdown,
  .nav > li:focus-within > .dropdown {
    display: none;
  }

  .nav > li.is-open > .dropdown {
    display: block;
  }

  .dropdown,
  .dropdown-right {
    position: static;
    width: auto;
    padding: 15px;
    background: #eee;
    box-shadow: none;
  }

  .dropdown a {
    font-size: 12px;
  }

  .hero-inner {
    justify-content: center;
  }

  .hero-inner h1 {
    text-align: center;
  }

  .copyright {
    margin-right: 60px;
  }

  .footer-grid {
    padding: 40px 0;
  }

  .footer-copy {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .container {
    width: auto;
  }

  .home-page-box {
    padding-top: 300px;
  }

  .hero-inner h1 {
    font-size: 30px;
  }

  .article-title {
    font-size: 40px;
  }

  .footer-grid {
    display: block;
    padding: 40px 0 10px;
  }

  .footer-column {
    margin-bottom: 30px;
  }

  .footer-heading {
    margin-bottom: 15px;
  }

  .footer-copy {
    font-size: 14px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }

  .copyright {
    margin-right: 0;
  }

  .studio-credit {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .header-top {
    padding-bottom: 15px;
  }

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

  .langs li {
    margin-right: 10px;
  }

  .menu-toggle {
    top: -4px;
  }

  .article-title {
    font-size: 40px;
  }

  .share-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .views {
    width: 100%;
    margin-left: 0;
  }

  .related-nav {
    grid-template-columns: 1fr;
  }

  .google-play-footer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
