/* ---------------------------------------------------------------------------
   Tom J. Espel — static site styles
   Headings: Lexend (Google Fonts). Body: EB Garamond. Accent: #0072bb.
--------------------------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Lexend:wght@400;500;600;700&family=Space+Grotesk:wght@700&display=swap");

:root {
  --background-color: #ffffff;
  --ghost-accent-color: #0072bb;

  --color-primary-text: #15171a;
  --color-secondary-text: #999;
  --color-white: #ffffff;
  --color-lighter-gray: #f6f6f6;
  --color-light-gray: #e6e6e6;
  --color-mid-gray: #ccc;
  --color-dark-gray: #444;
  --color-darker-gray: #15171a;
  --color-black: #000;
  --color-border: rgba(0, 0, 0, 0.08);

  --gh-font-heading: "Lexend", "Space Grotesk", "Inter", "Segoe UI", Helvetica,
    Arial, sans-serif;
  --gh-font-body: "EB Garamond", Georgia, "Times New Roman", serif;

  --font-sans: var(--gh-font-body);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", Menlo, Consolas, monospace;

  --container-width: 1200px;
  --content-width: 720px;
  --gap: clamp(24px, 1.7rem + 1.9vw, 48px);
  --head-nav-gap: 2.8rem;

  color-scheme: light;
}

/* ---------------------------------------------------------------------------
   Dark mode (follows the browser's preferred color scheme — no JS toggle).
   The site uses CSS custom properties for every color, so all we have to
   do is override the same tokens under a `prefers-color-scheme: dark`
   media query. The accent color (`#0072bb`) is unchanged in both modes
   because it sits comfortably on either background.
--------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #0f1115;
    --color-primary-text: #e6e8eb;
    --color-secondary-text: #8a8f99;
    --color-white: #1c2027;
    --color-lighter-gray: #181b21;
    --color-light-gray: #2a2e36;
    --color-mid-gray: #3a3f48;
    --color-dark-gray: #aab0bb;
    --color-darker-gray: #e6e8eb;
    --color-black: #ffffff;
    --color-border: rgba(255, 255, 255, 0.08);

    color-scheme: dark;
  }
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background-color);
  color: var(--color-primary-text);
  font-family: var(--gh-font-body);
  font-size: 1.6rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-darker-gray);
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--gh-font-heading);
  color: var(--color-darker-gray);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 2.4rem + 2.6vw, 4.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.8rem);
}

h3 {
  font-size: 2.4rem;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1.2rem;
}

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

blockquote:not([class]) {
  border-left: 4px solid var(--ghost-accent-color);
  padding-left: 2rem;
  margin: 0;
}

code {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  background-color: var(--color-lighter-gray);
  border-radius: 3px;
  color: var(--ghost-accent-color);
  padding: 0.2rem 0.4rem;
}

hr {
  background-color: var(--color-border);
  border: 0;
  height: 1px;
  width: 100%;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ----- Layout shell ----- */
.gh-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.gh-main {
  flex-grow: 1;
  padding-bottom: clamp(4.8rem, 4rem + 2.5vw, 8rem);
  padding-top: clamp(4.8rem, 4rem + 2.5vw, 8rem);
}

.gh-outer {
  padding-left: var(--gap);
  padding-right: var(--gap);
}

.gh-inner {
  margin: 0 auto;
  max-width: var(--container-width);
}

main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.muted {
  color: var(--color-secondary-text);
}

/* ----- Header / Nav ----- */
.gh-head {
  background-color: var(--color-white);
  font-size: 1.6rem;
}

.gh-head-inner {
  align-items: center;
  column-gap: var(--head-nav-gap);
  display: grid;
  grid-template-columns: 1fr auto auto;
  height: 100px;
}

.gh-head-brand {
  line-height: 1;
}

.gh-head-brand-wrapper {
  align-items: center;
  display: flex;
}

.gh-head-logo {
  font-family: var(--gh-font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-darker-gray);
}

.gh-head-menu {
  display: flex;
}

.gh-head .nav,
.gh-head-menu {
  align-items: center;
  gap: var(--head-nav-gap);
}

.gh-head .nav {
  display: inline-flex;
  white-space: nowrap;
  font-weight: 700;
}

.gh-head .nav a {
  color: inherit;
  display: inline-block;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.gh-head .nav a:hover {
  opacity: 1;
  color: var(--ghost-accent-color);
}

.gh-head .nav a[aria-current="page"] {
  color: var(--ghost-accent-color);
  border-bottom-color: var(--ghost-accent-color);
}

.gh-head-actions {
  align-items: center;
  display: flex;
  gap: var(--head-nav-gap);
  justify-content: flex-end;
}

.gh-icon-btn {
  align-items: center;
  background-color: transparent;
  border: 0;
  color: var(--color-darker-gray);
  cursor: pointer;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  padding: 0;
  width: 30px;
}

.gh-icon-btn svg {
  height: 20px;
  width: 20px;
}

.gh-burger {
  appearance: none;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 30px;
  margin-right: -3px;
  padding: 0;
  position: relative;
  width: 30px;
}

.gh-burger::after,
.gh-burger::before {
  background-color: var(--color-darker-gray);
  content: "";
  height: 1px;
  left: 3px;
  position: absolute;
  transition: all 0.2s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  width: 24px;
}

.gh-burger::before {
  top: 11px;
}

.gh-burger::after {
  bottom: 11px;
}

.is-head-open .gh-burger::before {
  top: 15px;
  transform: rotate(45deg);
}

.is-head-open .gh-burger::after {
  bottom: 14px;
  transform: rotate(-45deg);
}

/* ----- Hero ----- */
.gh-about {
  margin-bottom: 4rem;
}

.has-side-about .gh-about {
  margin-top: 4.8rem;
}

.has-side-about .gh-about-inner {
  display: grid;
  gap: clamp(4rem, 0.0842rem + 3.9474vw, 6.4rem);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.has-side-about .gh-about.no-image .gh-about-inner {
  grid-template-columns: 1fr;
}

.has-side-about .gh-about-content-inner {
  position: sticky;
  top: 4rem;
}

.gh-about-image {
  width: 100%;
  border-radius: 1.2rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gh-about-primary {
  font-family: var(--gh-font-heading);
  font-size: clamp(3.2rem, 2.45rem + 2.1vw, 5.8rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 1200px;
}

.gh-about-primary a {
  text-decoration: underline;
}

.gh-about-primary .gh-about-tagline {
  font-weight: 400;
  display: block;
  margin-top: 0.4em;
}

.gh-about-secondary {
  font-family: var(--gh-font-body);
  font-size: clamp(2rem, 0.36vw + 1.83rem, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin-top: 2rem;
  max-width: 64rem;
  color: var(--color-secondary-text);
}

.gh-about-foot {
  font-size: 1.4rem;
  color: var(--color-secondary-text);
  margin-top: 1.6rem;
}

/* ----- Cards (writing list) ----- */
.gh-card {
  word-break: break-word;
  border-top: 1px solid var(--color-border);
  padding: clamp(2.4rem, 2rem + 1.25vw, 3.2rem) 0;
  display: flex;
  flex-direction: column;
}

.gh-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.gh-card-link {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: inherit;
}

.gh-card-link:hover {
  opacity: 1;
}

.gh-card-link:hover .gh-card-title {
  color: var(--ghost-accent-color);
}

.gh-card-title {
  font-family: var(--gh-font-heading);
  font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-darker-gray);
  transition: color 0.15s ease;
}

.gh-card-excerpt {
  font-family: var(--gh-font-body);
  font-size: 1.6rem;
  color: var(--color-primary-text);
  line-height: 1.5;
}

.gh-card-meta {
  color: var(--color-secondary-text);
  font-size: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.gh-card-meta > * + *::before {
  background-color: currentColor;
  border-radius: 50%;
  content: "";
  height: 2px;
  width: 2px;
  margin-right: 0.8rem;
  display: inline-block;
}

/* ----- Tag pill (matches live site's --tag-color) ----- */
.gh-tag {
  display: inline-block;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  color: var(--tag-color, var(--color-darker-gray));
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0.2rem 1.2rem;
  text-transform: uppercase;
  width: fit-content;
}

/* ----- Generic content cards ----- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-top: 1.6rem;
}

/* ----- Buttons ----- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--gh-font-heading);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.9rem 1.8rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: opacity 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease;
  margin-top: 2rem;
}

a.button:hover {
  opacity: 1;
}

/* Each variant is written as `.button.button--*` (specificity 0,2,0) so it
   beats `.gh-content a` (0,1,1), which sits later in the cascade and would
   otherwise force the accent button's text to the same blue as its
   background — making it appear as a solid blue blob with no visible label. */
.button.button--primary {
  background-color: var(--color-primary-text);
  color: var(--background-color);
}

.button.button--accent {
  background-color: var(--ghost-accent-color);
  color: #ffffff;
}

.button.button--accent:hover {
  opacity: 0.9;
}

.button.button--ghost {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-primary-text);
}

.button.button--ghost:hover {
  border-color: var(--color-mid-gray);
}

.button {
  text-decoration: none;
}

/* When a button lives inside `.gh-content` (e.g. the Twitter CTA on the
   About page), `.gh-content a` re-applies the accent color and an
   underline. Even though the `.button.button--*` rules above win on
   specificity for `color`, we also need to drop the underline and the
   `.gh-content a:hover` opacity so the button keeps its rounded-pill
   silhouette and its own hover state. */
.gh-content a.button,
.gh-content a.button:hover {
  color: inherit;
  text-decoration: none;
  opacity: 1;
}

.gh-content a.button--accent,
.gh-content a.button--accent:hover {
  color: #ffffff;
  opacity: 0.9;
}

.gh-content a.button--accent:hover {
  opacity: 1;
}

.gh-content a.button--primary,
.gh-content a.button--primary:hover {
  color: var(--background-color);
}

.gh-content a.button--ghost,
.gh-content a.button--ghost:hover {
  color: var(--color-primary-text);
}

/* ----- About-page sections ----- */
/* Sober, text-first layout: no colored cards, no images inside sections.
   Sections are separated by a hairline rule and generous vertical rhythm.
   The lead section drops a touch of extra breathing room at the top. */
.about-section {
  padding: clamp(3.2rem, 2.5rem + 2vw, 4.8rem) 0;
  border-top: 1px solid var(--color-border);
  display: block;
}

.about-section:first-of-type {
  border-top: 0;
  padding-top: clamp(1.6rem, 1rem + 1.5vw, 3.2rem);
}

.about-section--lead h2 {
  font-size: clamp(3rem, 2rem + 2.4vw, 4.4rem);
}

.about-section h2 {
  font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.6rem;
}

.about-section h2 u,
.about-section h2 .underline {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-section p {
  font-family: var(--gh-font-body);
  font-size: 1.7rem;
  line-height: 1.7;
  max-width: 60rem;
}

.about-section .button {
  margin-top: 2rem;
}

.membership-card {
  border-top: 1px solid var(--color-border);
  padding: clamp(2.4rem, 2rem + 1.25vw, 3.2rem) 0;
  margin-bottom: 0;
}

.membership-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.membership-card p {
  font-size: 1.6rem;
  color: var(--color-primary-text);
}

/* ----- Collapsible panel (native <details>) -----
   Reusable for any Markdown or content file. Use as:

     <details class="collapsible">
       <summary>Title shown when collapsed</summary>
       Content shown when expanded. Can contain paragraphs, lists, etc.
     </details>

   The chevron rotates 180° when open; the background uses the same
   light-gray surface as the other card-like elements. */
.collapsible {
  background-color: var(--color-lighter-gray);
  border-radius: 1.2rem;
  padding: clamp(2.4rem, 2rem + 1.25vw, 3.2rem);
  margin-top: 2.4rem;
}

.collapsible > summary {
  cursor: pointer;
  font-family: var(--gh-font-heading);
  font-weight: 700;
  font-size: 2rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.collapsible > summary::after {
  content: "\25BE";
  transition: transform 0.2s ease;
}

.collapsible[open] > summary::after {
  transform: rotate(180deg);
}

.collapsible > p,
.collapsible > ul,
.collapsible > ol,
.collapsible > div {
  margin-top: 1.6rem;
  font-size: 1.6rem;
  line-height: 1.7;
}

.bio-photo {
  width: 12.8rem;
  height: 12.8rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 2.4rem 0;
}

/* ----- Footer ----- */
.gh-foot {
  color: var(--color-secondary-text);
  padding-bottom: 8rem;
  padding-top: 8rem;
  white-space: nowrap;
  border-top: 1px solid var(--color-border);
}

.gh-foot-inner {
  display: grid;
  font-size: 1.3rem;
  gap: 4rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.gh-foot .nav {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.4rem;
  font-weight: 700;
}

.gh-foot .nav li {
  align-items: center;
  display: flex;
}

.gh-foot .nav li + li::before {
  content: "\2022";
  font-size: 0.9rem;
  line-height: 0;
  padding: 0 1.2rem;
}

.gh-copyright {
  text-align: right;
}

.gh-foot a {
  color: var(--color-secondary-text);
}

.gh-foot a:hover {
  color: var(--color-darker-gray);
  opacity: 1;
}

/* ----- Page sections ----- */
.page-header {
  margin-bottom: 3.2rem;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--color-secondary-text);
  font-size: 1.8rem;
  max-width: 60rem;
}

/* ----- Article body (gh-content) ----- */
.gh-content {
  font-size: 1.7rem;
  line-height: 1.7;
  max-width: 70rem;
}

.gh-content > * + * {
  margin-top: 1.6rem;
}

.gh-content h1 {
  font-size: clamp(2.4rem, 1.8rem + 1.6vw, 3.4rem);
  margin: 4rem 0 1.2rem;
  font-weight: 700;
}

.gh-content h2 {
  font-size: clamp(2rem, 1.5rem + 1.2vw, 2.6rem);
  margin: 3.2rem 0 1rem;
  font-weight: 700;
}

.gh-content h3 {
  font-size: 1.9rem;
  margin: 2.4rem 0 0.8rem;
  font-weight: 700;
}

.gh-content p {
  margin: 0;
}

.gh-content p + p {
  margin-top: 1.2rem;
}

.gh-content a {
  color: var(--ghost-accent-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gh-content a:hover {
  opacity: 0.85;
}

.gh-content ul,
.gh-content ol {
  margin: 1.2rem 0;
  padding-left: 2.4rem;
}

.gh-content ul {
  list-style: disc;
}

.gh-content ol {
  list-style: decimal;
}

.gh-content li + li {
  margin-top: 0.6rem;
}

.gh-content blockquote {
  margin: 1.6rem 0;
  padding: 0.4rem 0 0.4rem 1.6rem;
  border-left: 4px solid var(--ghost-accent-color);
  color: var(--color-secondary-text);
  font-style: italic;
}

.gh-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background-color: var(--color-lighter-gray);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.gh-content pre {
  background-color: var(--color-lighter-gray);
  padding: 1.6rem;
  border-radius: 0.6rem;
  overflow-x: auto;
}

.gh-content hr {
  margin: 3.2rem auto;
  width: 30%;
}

.gh-content figure {
  margin: 2.4rem 0;
}

.gh-content figure img {
  width: 100%;
  border-radius: 0.6rem;
  height: auto;
}

.gh-content figcaption {
  margin-top: 0.8rem;
  font-size: 1.4rem;
  color: var(--color-secondary-text);
  text-align: center;
}

/* ----- Post hero (set via `heroImage` in front matter) -----
   Renders as a cover-style banner between the title block and the
   body, capped at the content width so it doesn't bleed past the
   article column on wide viewports. The figure has a fixed 16:9
   aspect ratio; the image fills it and `object-fit: cover` crops
   whatever doesn't fit. The background-color shows through during
   load (and behind the crop edges) in both light and dark mode. */
.gh-hero {
  margin: 0 0 3.2rem;
  border-radius: 1.2rem;
  overflow: hidden;
  background-color: var(--color-lighter-gray);
  aspect-ratio: 16 / 9;
}

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

/* kg-file-card: a download block */
.kg-file-card {
  margin: 2.4rem 0;
}

.kg-file-card-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.6rem 2rem;
  border: 1px solid var(--color-light-gray);
  border-radius: 0.6rem;
  background-color: var(--color-lighter-gray);
  text-decoration: none;
  color: inherit;
}

.kg-file-card-container:hover {
  opacity: 1;
  border-color: var(--ghost-accent-color);
}

.kg-file-card-contents {
  flex: 1;
}

.kg-file-card-title {
  font-family: var(--gh-font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-darker-gray);
}

.kg-file-card-caption {
  font-size: 1.4rem;
  color: var(--color-secondary-text);
  margin-top: 0.4rem;
}

.kg-file-card-metadata {
  display: flex;
  gap: 1.2rem;
  font-size: 1.3rem;
  color: var(--color-secondary-text);
  margin-top: 0.6rem;
}

.kg-file-card-icon {
  flex-shrink: 0;
  color: var(--ghost-accent-color);
}

/* kg-button-card: a single-action callout */
.kg-button-card {
  margin: 2rem 0;
}

.kg-button-card .kg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ghost-accent-color);
  color: var(--color-white);
  font-family: var(--gh-font-body);
  font-weight: 700;
  font-size: 1.4rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
}

.kg-button-card .kg-btn:hover {
  opacity: 0.9;
}

/* ----- Math (MathJax) -----
   Posts under posts/students/*.md use inline \(...\), display \[...\], and
   $$...$$ LaTeX. MathJax wraps those source markers in mjx-container
   <span>s at runtime, which we style here so they sit nicely inside the
   article body and don't overflow on narrow viewports. */
.gh-content mjx-container {
  display: inline-block;
  margin: 0.4rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
}

.gh-content mjx-container[display="true"] {
  display: block;
  margin: 1.6rem 0;
  text-align: center;
}

.gh-content mjx-container.MathJax,
.gh-content mjx-container mfrac {
  vertical-align: middle;
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
  .has-side-about .gh-about-inner {
    grid-template-columns: 1fr;
  }

  .gh-head-inner {
    column-gap: 1.6rem;
  }
}

@media (max-width: 767px) {
  .gh-head {
    height: 64px;
  }

  .gh-head-inner {
    gap: 4.8rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    height: 64px;
  }

  .gh-head-brand {
    align-items: center;
    display: grid;
    grid-column-start: 1;
    grid-template-columns: 1fr auto auto;
    height: 64px;
  }

  .gh-head-logo {
    font-size: 2.2rem;
  }

  .gh-burger {
    display: block;
  }

  .gh-head-menu {
    justify-content: center;
    opacity: 0;
    position: fixed;
    visibility: hidden;
    transform: translateY(0);
    transition: none;
  }

  .gh-head .nav {
    align-items: center;
    gap: 2rem;
    line-height: 1.4;
    flex-direction: column;
  }

  .gh-head .nav a {
    font-size: 2.6rem;
    font-weight: 600;
    text-transform: none;
  }

  .gh-head-actions {
    justify-content: center;
    text-align: center;
    opacity: 0;
    position: fixed;
    visibility: hidden;
  }

  .is-head-open .gh-head {
    height: 100%;
    inset: 0;
    overflow-y: scroll;
    position: fixed;
    z-index: 3999999;
    -webkit-overflow-scrolling: touch;
    background-color: var(--color-white);
  }

  .is-head-open .gh-head-actions,
  .is-head-open .gh-head-menu {
    opacity: 1;
    position: static;
    visibility: visible;
  }

  .is-head-open .gh-head .nav {
    display: flex;
    flex-direction: column;
  }

  .gh-foot {
    padding-bottom: 12rem;
    padding-top: 6.4rem;
  }

  .gh-foot-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gh-foot .nav {
    flex-direction: column;
  }

  .gh-foot .nav li + li {
    margin-top: 0.4rem;
  }

  .gh-foot .nav li + li::before {
    display: none;
  }

  .gh-copyright {
    text-align: center;
  }

  .gh-main {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
  }
}
