/* //////////////////////////////////////////////////////////////////////////

   Shoji 3.1.0

   //////////////////////////////////////////////////////////////////////////
    
   I. Customize
   |
   ├─ Global settings
   ├─ Fonts
   ├─ Color of details
   ├─ Light version
   ├─ Dark version
   └─ Hide 'Portal' notifications

   II. 3rd party scripts
   |
   ├─ Normalize.css
   └─ lightense-images.js, progress bar

   III. Theme
   |
   ├─ 1.Global
   ├─ 2.Header
   ├─ 3.Pinned
   ├─ 4.Loop
   ├─ 5.Special section
   ├─ 6.Pagination & Load more
   ├─ 7.Search function
   ├─ 8.Post — Header
   ├─ 9.Post — Content
   ├─ 10.Post — Share
   ├─ 11.Post — Related
   ├─ 12.Post — Navigation
   ├─ 13.Post — Comments
   ├─ 14.Author & Tag page
   ├─ 15.Subscribe form
   ├─ 16.Widgets
   ├─ 17.Footer
   ├─ 18.Custom — Pages
   ├─ 19.Custom — Error page
   ├─ 20.Custom — Contact page
   ├─ 21.Custom — Tags & Authors page
   ├─ 22.Custom — Membership page
   ├─ 23.Custom — Account page
   └─ 24.Custom — CTA component
   └─ 25.Custom — Table of contents
   └─ 26.Custom — About us
   └─ 27.Custom — Theme toggle
   └─ 28.Custom — Newsletter modal
   
   //////////////////////////////////////////////////////////////////////////

   I. Customize

   ////////////////////////////////////////////////////////////////////////// */

/* Global settings
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */

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

/* https://support.cookiebot.com/hc/en-us/articles/4403482346514-Remove-Cookiebot-CMP-branding-from-Swift-banner */
a#CybotCookiebotDialogPoweredbyCybot,
div#CybotCookiebotDialogPoweredByText {
  display: none;
}
#CookiebotWidget
  #CookiebotWidget-widgetContent
  .CookiebotWidget-body
  .CookiebotWidget-main-logo {
  display: none;
}
@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 300;
  src: local(''), url('../fonts/Nunito-Light.woff2') format('woff2'),
    url('../fonts/Nunito-Light.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  src: local(''), url('../fonts/Nunito-Regular.woff2') format('woff2'),
    url('../fonts/Nunito-Medium.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 500;
  src: local(''), url('../fonts/Nunito-Medium.woff2') format('woff2'),
    url('../fonts/Nunito-Medium.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 600;
  src: local(''), url('../fonts/Nunito-SemiBold.woff2') format('woff2'),
    url('../fonts/Nunito-SemiBold.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: Nunito;
  font-style: normal;
  font-weight: 700;
  src: local(''), url('../fonts/Nunito-Bold.woff2') format('woff2'),
    url('../fonts/Nunito-Bold.woff') format('woff');
}

:root {
  /* Logo */
  --header-height-logo: 50px;
  --footer-height-logo: 40px;

  /* Wrapper */
  --max-width-wrap: 1440px;

  /* Margin for items */
  --margin-items: 24px;

  /* Border radius for items */
  --border-radius: 4px;

  /* Border radius for elements */
  --border-radius-small: 2px;
  --border-radius-big: 8px;

  /* Fonts
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */

  /* Primary */
  --font-family-primary: 'Nunito', sans-serif;
  --font-weight-primary-regular: 400;

  /* Secondary */
  --font-family-secondary: 'Mulish', sans-serif;
  --font-weight-secondary-regular: 400;
  --font-weight-secondary-bolder: 700;

  /* Secondary */
  --font-family-tertiary: 'Poppins', sans-serif;
  --font-weight-tertiary-regular: 400;
  --font-weight-tertiary-medium: 500;
  --font-weight-tertiary-bold: 700;

  /* Color of details
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
  --ghost-accent-color: #ffd01b;

  /* Light version
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */

  /* Fonts */
  --color-font-one: #1a2a30;
  --color-font-two: #454545;
  --color-font-three: #1a2a30;

  --color-grey-0: #fbfdff;
  --color-grey-100: #f4f7fa;
  --color-grey-200: #e7eef1;
  --color-grey-300: #dae4e8;
  --color-grey-400: #cad1d5;
  --color-grey-500: #9fabb0;
  --color-grey-600: #7b868a;
  --color-grey-700: #636b6f;
  --color-grey-800: #494e51;
  --color-grey-900: #323739;

  --color-yellow-500: #ffd602;

  --color-blue-100: #e3f3ff;
  --color-blue-500: #269fff;
  --color-blue-600: #0c8bef;
  --color-blue-700: #0077d5;

  /* Background & Elements */
  --color-body: #fff;
  --color-one: #f1f1f2;
  --color-two: #fff;
  --color-three: #f1f1f2;
  --color-four: #1a2a30;
  --color-five: #f1f1f2;
  --color-six: #dfdfe1;
  --color-white: #fff;
  --color-black: #000;
  --color-notification: #aaef52;
  --color-notification-success: #6aba13;
  --color-notification-false: #f74856;

  /* Custom elements */
  --cta-background: #e7eef1;
  --cta-button-bg: #269fff;
  --cta-button-bg-hover: #0c8bef;
  --cta-button-color: #ffffff;
  --about-us-color-primary: #323739;
  --about-us-color-secondary: #636b6f;
  --about-us-color-tertiary: #7b868a;

  --book-a-demo-btn-bg: #e7eef1;
  --book-a-demo-btn-bg-hover: #dae4e8;
  --book-a-demo-btn-color: #269fff;
  --book-a-demo-btn-color-hover: #0c8bef;

  --color-substack-input-bg: #fff;

  --resume-form-bg: #f0f0f0;
  --resume-form-fields-bg: #fff;
  --resume-form-fields-border: #e6e6e6;

  /* Overlay */
  --overlay-search: rgba(0, 0, 0, 0.7);
  --overlay-button: rgba(0, 0, 0, 0.06);
}

/* Dark version
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.dark-mode {
  /* Fonts */
  --color-font-one: #f7f9f9;
  --color-font-two: #e4ebf2;
  --color-font-three: #182029;

  --color-grey-0: #fbfdff;
  --color-grey-100: #293340;
  --color-grey-200: #7b868a;
  --color-grey-300: #dae4e8;
  --color-grey-400: #cad1d5;
  --color-grey-500: #9fabb0;
  --color-grey-600: #7b868a;
  --color-grey-700: #e4ebf2;
  --color-grey-800: #f7f9f9;
  --color-grey-900: #f7f9f9;

  --color-blue-600: #269fff;
  --color-blue-700: #269fff;

  /* Background & Elements */
  --color-body: #182029;
  --color-one: #1f2934;
  --color-two: #1f2934;
  --color-three: #182029;
  --color-four: #f7f9f9;
  --color-five: #293340;
  --color-six: #2a3645;
  --color-white: #f7f9f9;

  --book-a-demo-btn-bg: #269fff;
  --book-a-demo-btn-bg-hover: #0c8bef;
  --book-a-demo-btn-color: #ffffff;
  --book-a-demo-btn-color-hover: #ffffff;

  --cta-background: #293340;
  --cta-button-bg: #269fff;
  --cta-button-color: #ffffff;
  --about-us-color-primary: #f7f9f9;
  --about-us-color-secondary: #e4ebf2;
  --about-us-color-tertiary: #e4ebf2;

  --color-substack-input-bg: #444;

  --resume-form-bg: #444;
  --resume-form-fields-bg: #444;

  /* Overlay */
  --overlay-search: rgba(0, 0, 0, 0.6);
  --overlay-button: rgba(0, 0, 0, 0.1);
}

/* Disable shadow */
.dark-mode .global-box-shadow,
.dark-mode .global-box-shadow::after {
  box-shadow: none;
}

/* Automatic dark version [duplicate dark version]
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (prefers-color-scheme: dark) {
  .auto-dark-mode {
    /* Fonts */
    --color-font-one: #f7f9f9;
    --color-font-two: #e4ebf2;
    --color-font-three: #182029;

    /* Background & elements */
    --color-body: #182029;
    --color-one: #1f2934;
    --color-two: #1f2934;
    --color-three: #182029;
    --color-four: #f7f9f9;
    --color-five: #293340;
    --color-six: #2a3645;
    --color-white: #f7f9f9;

    /* Overlay */
    --overlay-search: rgba(0, 0, 0, 0.6);
    --overlay-button: rgba(0, 0, 0, 0.1);
  }

  /* Disable shadow */
  .auto-dark-mode .global-box-shadow,
  .auto-dark-mode .global-box-shadow::after {
    box-shadow: none;
  }
}

@media (max-width: 1440px) {
  :root {
    --margin-items: 14px;
  }
}

/* Hide 'Portal' notifications
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
iframe[title='portal-notification'] {
  display: none;
}

/* Visually hidden helper class
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.visually-hidden {
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Visually hidden helper class
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.visually-hidden {
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* //////////////////////////////////////////////////////////////////////////

   II. 3rd party scripts

   ////////////////////////////////////////////////////////////////////////// */

/* Normalize.css
   –––––––––––––––––––––––––––––––––––––––––––––––––––– 
   Version : 8.0.1
   Website : necolas.github.io/normalize.css
   Repo    : github.com/necolas/normalize.css
   Author  : Nicolas Gallagher
   License : MIT
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  overflow: visible;
  box-sizing: content-box;
  height: 0;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: none;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
  color: inherit;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type='checkbox'],
[type='radio'] {
  padding: 0;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: textfield;
}
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}

/* Custom settings for lightense-images.js, progress bar
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.lightense-backdrop {
  z-index: 99998 !important;
  background-color: var(--color-body) !important;
  -webkit-backdrop-filter: initial !important;
  backdrop-filter: initial !important;
}
.lightense-wrap ~ br,
.lightense-wrap ~ small {
  display: none;
}
.lightense-wrap img {
  border-radius: 0 !important;
}
.post-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 8px;
  transition: opacity 0.15s ease-out 0.3s;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.post-progress:not([value]) {
  display: none;
}
.post-progress,
.post-progress[value]::-webkit-progress-bar {
  background-color: transparent;
}
.post-progress[value]::-webkit-progress-value {
  background-color: var(--ghost-accent-color);
}
.post-progress[value]::-moz-progress-bar {
  background-color: var(--ghost-accent-color);
}
.post-progress[value='1'] {
  opacity: 0;
}

/* //////////////////////////////////////////////////////////////////////////

   III. Theme
   
   ////////////////////////////////////////////////////////////////////////// */

/* --------------------------------------------------------------------------
   1.Global
   -------------------------------------------------------------------------- */
html,
body {
  height: 100%;
  max-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-family: var(--font-family-secondary);
  font-size: 19px;
  font-weight: var(--font-weight-secondary-regular);
  line-height: 1.5;
  word-wrap: break-word;
  word-break: break-word;
  color: var(--color-font-one);
  background-color: var(--color-body);
}

/* Preload
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
body:not(.is-loaded) .global-underline {
  transition-duration: 0;
}

/* Typography
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
h1,
h2,
h3,
h4,
h5,
h6,
input,
blockquote {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-primary-regular);
  line-height: 1.3;
  color: var(--color-font-one);
}

/* Links
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  text-decoration: none;
  color: var(--color-font-one);
}

/* input & textarea
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
input,
textarea {
  border: none;
  outline: none;
  background-color: transparent;
  box-shadow: none;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: var(--color-font-one);
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  color: var(--color-font-one);
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: var(--color-font-one);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-font-one);
}

/* Image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.global-bg-image {
  background: no-repeat center center/cover;
}

/* Title
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-title {
  line-height: 1.1;
  margin: 0;
}

/* Underline
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-underline {
  transition: background-size 0.6s ease-out;
  background: linear-gradient(
      var(--ghost-accent-color),
      var(--ghost-accent-color)
    )
    no-repeat left 130%/0 40%;
}

.global-underline:hover {
  background-size: 97% 40%;
}

/* Link overlay
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-link {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Button & hover
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-button {
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: var(--font-weight-primary-regular);
  line-height: 1;
  display: inline-block;
  padding: 25px 30px 25px 32px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  letter-spacing: 2px;
  color: var(--color-font-three);
  border-radius: var(--border-radius-big);
  outline: none;
  background-color: var(--ghost-accent-color);
}

.global-button,
.global-no-access .global-button {
  border: none;
}

.global-button:hover {
  background-color: var(--ghost-accent-color);
}

.global-button,
.global-hover {
  position: relative;
  overflow: hidden;
}

.global-button::after,
.global-hover::after {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  transition: background-color 0.2s ease;
  background-color: rgba(0, 0, 0, 0);
}

.global-button:hover::after,
.global-hover:hover::after {
  background-color: var(--overlay-button);
}

/* Back to top button
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-top-button {
  position: fixed;
  right: 1.1%;
  bottom: -50px;
  cursor: pointer;
  transition: bottom 0.6s ease;
  border-radius: var(--border-radius-big);
}

.global-top-button.is-show {
  bottom: 90px;
}

.global-top-button svg {
  height: 18px;
  padding: 12px 5px;
  transition-timing-function: ease;
  transition-duration: 0.2s;
  transition-property: background-color, fill;
  border-radius: var(--border-radius-big);
  background-color: var(--color-one);
  fill: var(--color-font-one);
}

.global-top-button:hover svg {
  background-color: var(--ghost-accent-color);
  fill: var(--color-font-three);
}

/* Meta & Tags
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-meta,
.global-tags {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-primary-regular);
  width: 100%;
}

/* Meta
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-meta {
  font-size: 15px;
}

.global-meta time {
  display: inline-block;
}

.global-meta time::first-letter {
  text-transform: capitalize;
}

/* Tags
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-tags {
  font-size: 13px;
}

.global-tags:empty {
  display: none;
}

.global-tags a {
  line-height: 1;
  display: inline-block;
  margin: 0;
  padding: 15px;
  transition-timing-function: ease;
  transition-duration: 0.15s;
  transition-property: color, background-color;
  letter-spacing: 1px;
  background-color: var(--color-five);
}

.global-tags a:first-child:last-child {
  border-radius: var(--border-radius-big);
}

.global-tags a:first-child {
  border-radius: var(--border-radius-big) 0 0 var(--border-radius-big);
}

.global-tags a:last-child {
  border-radius: 0 var(--border-radius-big) var(--border-radius-big) 0;
}

.global-tags a:hover {
  color: var(--color-font-three);
  background-color: var(--ghost-accent-color);
}

/* Heading for special section 
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-heading {
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding: 30px 60px 15px;
}

.global-heading h3 {
  font-size: 18px;
  flex: 1 0 60%;
  width: 100%;
  margin: 0;
  padding-right: 20px;
}

.global-heading a {
  font-family: var(--font-family-primary);
  font-size: 14px;
  font-weight: var(--font-weight-primary-regular);
  line-height: 1.4;
  display: inline-block;
  margin-right: -20px;
  text-align: right;
}

.global-heading svg {
  position: relative;
  right: 0;
  bottom: -2px;
  width: 13px;
  height: 13px;
  margin-left: 7px;
  transition: right 0.15s ease;
  fill: var(--color-font-one);
}

.global-heading a:hover svg {
  right: -4px;
}

/* Members — Question about member account
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-question {
  font-size: 12px;
  display: block;
  margin-top: 3vh;
  letter-spacing: 0.5px;
}

.global-question a {
  font-weight: var(--font-weight-secondary-bolder);
}

.global-no-access .global-question a {
  border: none;
}

/* Members — Labels
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-visibility {
  font-size: 9px;
  font-weight: var(--font-weight-secondary-bolder);
  display: inline-block;
  margin-bottom: 20px;
  padding: 3px 6px 3px 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: var(--border-radius-small);
}

.global-visibility.is-image {
  position: absolute;
  top: -35px;
  color: var(--color-two);
}

/* Members — Notifications
/* Members — Notifications
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-notification div {
  font-size: 15px;
  font-weight: var(--font-weight-secondary-bolder);
  position: fixed;
  z-index: 100;
  top: 25px;
  right: 25px;
  left: 25px;
  display: none;
  visibility: hidden;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  transform: translateY(-150%);
  -webkit-animation: slideDownNotification 5s cubic-bezier(0.19, 1, 0.22, 1)
    forwards;
  animation: slideDownNotification 5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  text-align: center;
  color: var(--color-font-three);
  border-radius: var(--border-radius-big);
  background-color: var(--color-notification);
}

.global-notification .expired {
  background-color: var(--color-notification-false);
}

.global-notification.is-subscribe .subscribe,
.global-notification.is-signin .signin,
.global-notification.is-signup .signup,
.global-notification.is-update-email .update-email,
.global-notification.is-expired .expired,
.global-notification.is-checkout-success .checkout-success {
  display: block;
}

@-webkit-keyframes slideDownNotification {
  15% {
    transform: translateY(0);
  }
  85% {
    transform: translateY(0);
  }
  100% {
    visibility: visible;
  }
}

@keyframes slideDownNotification {
  15% {
    transform: translateY(0);
  }
  85% {
    transform: translateY(0);
  }
  100% {
    visibility: visible;
  }
}

/* Wrap & Sticky Footer
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.global-wrap,
.global-content {
  min-height: 100%;
  height: auto;
}

.global-content {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.global-content > * {
  padding: 0 80px;
  max-width: var(--max-width-wrap);
  margin-inline: auto;
}

.global-main {
  flex: 1 0 auto;
  padding-top: 30px;
}

/* RWD — Global
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 320px) {
  .global-content > * {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (min-width: 321px) and (max-width: 480px) {
  .global-content > * {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (max-width: 480px) {
  .global-meta {
    font-size: 13px;
  }

  .global-tags {
    font-size: 12px;
  }

  .global-tags a {
    padding: 10px;
  }

  .global-heading h3,
  .global-heading a {
    flex-basis: 50%;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .global-content > * {
    padding-right: 25px;
    padding-left: 25px;
  }
}

@media (max-width: 768px) {
  .global-button {
    font-size: 15px;
    padding: 20px 25px;
    letter-spacing: 1px;
  }

  .global-heading svg {
    display: none;
  }
}

@media (max-width: 1024px) {
  .global-top-button {
    display: none;
  }

  .global-heading {
    padding: 10px 15px;
  }

  .global-heading h3 {
    font-size: 14px;
  }

  .global-visibility {
    font-size: 8px;
    padding: 2px 4px;
    letter-spacing: 1px;
  }

  .global-visibility.is-image {
    top: -27px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .global-heading {
    padding: 15px 23px;
  }

  .global-heading h3 {
    font-size: 15px;
  }
}

@media (max-width: 1280px) {
  .global-heading a {
    margin-right: 0;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .global-top-button {
    right: 13px;
  }
}

/* RWD — Fixed sub-pixel rendering
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 1025px) {
  .pinned-item,
  .loop-item-wrap,
  .widget-content.authors a {
    will-change: transform;
  }

  _:lang(x) + _:-webkit-full-screen-document,
  .pinned-item,
  .loop-item-wrap,
  .widget-content.authors a {
    will-change: auto;
  }
}

/* Product hunt banner
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.product-hunt-banner {
  -webkit-font-smoothing: auto;
  position: sticky;
  background-color: #ff6154;
  padding-block: 8.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.product-hunt-description {
  margin-block: 0;
  color: white;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-family-primary);
}

.dark-mode .product-hunt-description {
  color: #202d34;
}

.product-hunt-button {
  height: 53px;
}
.product-hunt-button:focus-visible {
  outline-offset: 3px;
}

.product-hunt-button-badge {
  -webkit-user-drag: none;
  transition: all 200ms ease-in-out;
}

.product-hunt-button-badge:hover {
  transform: scale(0.97);
}
.product-hunt-button-badge:active {
  transform: scale(0.96);
}

.product-hunt-button-badge.dark-theme {
  display: none;
}
.dark-mode .product-hunt-button-badge {
  display: none;
}
.dark-mode .product-hunt-button-badge.dark-theme {
  display: unset;
}

@media (max-width: 767px) {
  .product-hunt-banner {
    flex-direction: column;
    gap: 8.5px;
  }

  .product-hunt-description {
    font-size: 13px;
  }
}

/* Announcement banner
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.announcement-banner-banner {
  -webkit-font-smoothing: auto;
  position: sticky;
  background-color: #269fff;
  padding-block: 8px;
  display: flex;
  justify-content: center;
  font-family: var(--font-family-primary);
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
}

.announcement-banner-flex-cont {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.announcement-banner-description {
  margin-block: 0;
  color: white;
}

.announcement-banner-button {
  background-color: #f4f7fa;
  color: #269fff;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 200ms ease-in-out;
}
.announcement-banner-button:hover {
  background-color: #e7eef1;
  color: #0c8bef;
  transform: scale(0.97);
}
.announcement-banner-button:active {
  color: #0077d5;
  transform: scale(0.96);
}
.announcement-banner-button:focus-visible {
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .announcement-banner-flex-cont {
    flex-direction: column;
  }
}
@media (min-width: 1440px) {
  .announcement-banner-flex-cont {
    justify-content: flex-start;
    width: 596px;
  }
}

/* --------------------------------------------------------------------------
   2.Header
   -------------------------------------------------------------------------- */

.header-wrap {
  min-height: 100px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.header-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Navigation
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.header {
  z-index: 3;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-body);
  transition: box-shadow 0.5s ease;
  padding: 0;
  max-width: 100%;
  width: 100%;
}

.header-shadow {
  box-shadow: 0 0 20px 0 rgba(32, 45, 52, 0.2);
}

.nav-header-content {
  -webkit-font-smoothing: auto;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 16px 12px;
  display: flex;
  gap: 8px;
}

.navigation {
  display: none;
}

.nav-logo-wrapper {
  display: inline-block;
  height: 40px;
  margin-left: 0;
  margin-right: auto;
}

.no-logo {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-primary-regular);
  margin-right: auto;
  max-width: 250px;
}

.nav-logo {
  height: 40px;
}

.navigation-list {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-family-primary);
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}

/* Item
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.nav-list-item {
  position: relative;
  display: inline-flex;
  margin-right: 40px;
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}
.nav-list-item > a,
.nav-list-item > button {
  color: var(--color-grey-800);
  font-weight: 600;
}
.nav-list-item:hover > a,
.nav-list-item:focus > a,
.nav-list-item:active > a {
  color: var(--color-blue-700);
}
.nav-list-item:hover > button,
.nav-list-item:focus > button,
.nav-list-item:active > button {
  color: var(--color-blue-700);
}

.nav-list-item:hover > .dropdown-menu,
.nav-list-item:focus-within > .dropdown-menu {
  display: grid;
}

.nav-list-item-login {
  margin-left: 30px;
}

@media (min-width: 1024px) {
  .nav-list-item:hover .grid-dropdown-menu,
  .nav-list-item:focus-within .grid-dropdown-menu {
    grid-template-columns: 1fr 1fr;
  }
}

.nav-list-item:hover > .vertical-dropdown-menu,
.nav-list-item:focus-within > .vertical-dropdown-menu {
  display: flex;
}

.nav-list-item:hover > .nav-dropdown-link::after,
.nav-list-item:focus-within > .nav-dropdown-link::after {
  display: block;
}
.nav-list-item:hover svg {
  transform: rotate(0deg);
  transition: transform 200ms ease;
}

.nav-button {
  display: inline;
}

.nav-button a {
  font-size: 16px;
  line-height: 22px;
  border-radius: 4px;
  display: inline-flex;
}

/* Hide dark theme logo by default */
.nav-logo.dark-theme {
  display: none;
}
/* Show dark theme logo on dark theme */
.dark-mode .nav-logo.dark-theme {
  display: block;
}
/* Hide light theme logo on dark theme */
.dark-mode .nav-logo {
  display: none;
}

.nav-dropdown-link {
  display: inline-flex;
  align-items: center;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}
/*  Element for improving hover on dropdown menu */
.nav-dropdown-link::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -40%;
  display: none;
  width: 170%;
  height: 100%;
  background-color: transparent;
}

.nav-dropdown-link svg {
  transform: rotate(180deg);
  transition: transform 200ms ease;
}

/* Dropdown menu
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.dropdown-menu {
  z-index: 2;
  position: absolute;
  top: 38px;
  left: 0;
  transform: translateX(-50%);
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 24px;
  display: none;
}

.vertical-dropdown-menu {
  flex-direction: column;
  gap: 8px;
}

.grid-dropdown-menu {
  display: grid;
  padding: 0;
  list-style-type: none;
  display: grid;
  column-gap: 8px;
  row-gap: 16px;
}

.menu-separator {
  border-bottom: 1px solid var(--color-grey-300);
  padding-bottom: 8px;
}

.use-cases {
  font-size: 16px;
  font-family: var(--font-family-tertiary);
  line-height: 22px;
  margin: 8px 0;
  font-weight: 500;
}

.dark-mode .dropdown-menu {
  background-color: #202d34;
}

.dark-mode .dropdown-menu {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
}
/* Triangle decoration element: */
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  display: block;
  width: 21px;
  height: 21px;
  transform: rotate(45deg) translateY(-100%) translateX(50%);
  background-color: #fff;
}

.dark-mode .dropdown-menu::after {
  background-color: #202d34;
}

.dropdown-menu li > a {
  display: flex;
  align-items: start;
  gap: 16px;
  padding: 8px;
  border-radius: 8px;
}

.dropdown-menu li {
  color: var(--color-grey-900);
  font-weight: 700;
  list-style-type: none;
  min-width: 435px;
}

.dropdown-menu li > a:hover {
  color: currentColor;
  background-color: var(--color-grey-100);
}
.dropdown-menu li > a:active {
  color: currentColor;
  background-color: var(--color-grey-200);
}

.dark-mode .dropdown-menu li > a:hover {
  color: currentColor;
  background-color: #171f24;
}
.dark-mode .dropdown-menu li > a:active {
  color: currentColor;
  background-color: #171f24;
}

.dropdown-menu img {
  height: 24px;
  width: 24px;
}

.dropdown-menu-image {
  background-color: var(--color-grey-200);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  font-size: 24px;
}

.dropdown-menu-item-title {
  font-family: var(--font-family-tertiary);
  font-weight: 500;
  margin-block: 0px;
  font-size: 16px;
  margin-bottom: 2px;
}

.dropdown-menu-item-description {
  color: var(--color-grey-700);
  font-family: var(--font-family-tertiary);
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  margin: 0;
}

.dropdown-menu-CTA {
  display: flex;
  align-items: center;
  background-color: #f4f7fa;
  padding: 24px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.dark-mode .dropdown-menu-CTA {
  background-color: #171f24;
}

.dropdown-menu-CTA > p {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  margin: 0;
}

.dropdown-menu-buttons {
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}

.dropdown-menu-buttons img {
  width: 20px;
  height: 20px;
}

.dropdown-menu-buttons > a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  height: 40px;
  width: 172px;
  border-radius: 4px;
  padding: 0;
}

.dropdown-menu-buttons > a:last-child {
  background-color: var(--book-a-demo-btn-bg);
  color: var(--book-a-demo-btn-color-hover);
  transition: transform 200ms ease-in-out;
}
.dropdown-menu-buttons > a:last-child:hover {
  background-color: var(--book-a-demo-btn-bg-hover);
  color: var(--book-a-demo-btn-color-hover);
  transform: scale(0.96);
}

.dropdown-menu-buttons span {
  font-weight: 800;
}

.mobile-menu-button {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mobile-menu-button svg {
  stroke: var(--color-grey-900);
}

/* Mobile Menu
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.mobile-menu {
  z-index: 4;
  top: 0;
  right: 0;
  position: fixed;
  height: 100%;
  width: 100%;
}

.mobile-menu-closed {
  display: none;
}

.mobile-menu::after {
  content: '';
  position: absolute;
  height: 100vh;
  width: 100vw;
  background-color: #323739;
  z-index: -1;
  opacity: 0.5;
  top: 0;
  left: 0;
  display: block;
}
.dark-mode .mobile-menu::after {
  background-color: #08191e;
}

.mobile-nav-wrapper {
  display: flex;
  padding: 20px 16px 12px;
  height: 71px;
  position: relative;
  box-shadow: 0px 2px 4px rgba(81, 96, 103, 0.15);
}

.mobile-nav-logo.dark-theme {
  display: none;
}
.dark-mode .mobile-nav-logo {
  display: none;
}
.dark-mode .mobile-nav-logo.dark-theme {
  display: unset;
}

.menu-close-btn {
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 24px;
  margin-right: 16px;
  display: block;
  background: none;
  cursor: pointer;
  height: 30px;
  width: 30px;
}
.menu-close-btn:hover svg,
.menu-close-btn:focus svg,
.menu-close-btn:active svg {
  fill: var(--color-blue-700);
  stroke: var(--color-blue-700);
}

.menu-close-btn svg {
  height: 16px;
  width: 16px;
  fill: var(--color-grey-900);
  stroke: var(--color-grey-900);
}

.mobile-nav {
  padding: 27px 16px 40px 16px;
  font-size: 20px;
  background-color: var(--color-body);
  font-family: var(--font-family-primary);
  height: 100%;
  overflow-y: auto;
  padding-bottom: 80px;
}

.mobile-nav-list {
  list-style-type: none;
  margin: 20px 0;
  padding: 0;
}

.mobile-nav-list-item {
  margin-bottom: 16px;
}

.mobile-nav-link-sign-in {
  margin: 36px 0;
  justify-content: center;
}

.mobile-nav-link {
  color: var(--color-grey-900);
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
  display: flex;
  align-items: center;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus,
.mobile-nav-link:active {
  color: var(--color-blue-700);
}

.mobile-nav-link svg {
  pointer-events: none;
}

.mobile-dropdown-button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  width: 100%;
  justify-content: space-between;
}

.mobile-dropdown-button svg {
  transform: rotate(180deg);
  transition: transform 200ms ease;
}

/* Mobile dropdown menu
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.mobile-dropdown-menu {
  display: none;
}

.mobile-dropdown-menu-open .mobile-dropdown-menu {
  display: block;
}
.mobile-dropdown-menu-open .mobile-dropdown-button svg {
  transform: rotate(0deg);
}

.mobile-dropdown-menu ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  padding-top: 16px;
  list-style: none;
}
.mobile-dropdown-menu li {
  padding: 0;
  margin-bottom: 8px;
}
.mobile-dropdown-menu li:last-child {
  margin-bottom: 0;
}

.mobile-dropdown-menu li:hover > a,
.mobile-dropdown-menu li:focus > a,
.mobile-dropdown-menu li:active > a {
  color: var(--color-blue-700);
}
.mobile-dropdown-menu li > a {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
}
.mobile-dropdown-menu li > a p {
  margin-block: 0;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-family-tertiary);
  line-height: 20px;
}

.mobile-dropdown-menu li > a > p > span {
  display: block;
  color: var(--color-grey-700);
  font-family: var(--font-family-tertiary);
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
}

.mobile-dropdown-image {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  font-size: 24px;
}
.mobile-dropdown-image img {
  width: 24px;
  height: 24px;
}

/* Slack button
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.slack-button {
  cursor: pointer;
  border: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  background-color: #441949;
  font-size: 16px;
  font-family: var(--font-family-primary);
  font-weight: 700;
  color: white;
  height: 40px;
  padding: 10px 24px;
  transition: all 200ms ease-in-out;
}

.slack-button:hover {
  background-color: #441949;
  transform: scale(0.97);
}

.slack-button > span {
  font-style: italic;
}

.slack-button svg {
  width: 20px;
}

.mobile-menu-slack-btn button {
  width: 100%;
}

/* Search icon
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.header-search {
  line-height: 0;
}

.header-search span {
  display: inline-block;
  margin-right: 8px;
}

.header-search svg {
  width: 15px;
  fill: var(--color-font-one);
}

.is-search {
  display: none;
  padding: 0;
  align-items: center;
}

.is-search-mobile {
  position: unset;
  display: list-item;
}

.is-search ul {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  list-style-type: none;
  padding-inline: 16px;
}

.is-search button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.is-search button:hover svg,
.is-search button:focus svg,
.is-search button:active svg {
  fill: var(--color-blue-700);
}

@media (min-width: 768px) {
  .header-search svg {
    width: 18px;
  }
}
@media (min-width: 768px) {
  .is-search {
    display: unset;
    width: 100%;
    max-width: 1440px;
  }

  .is-search-mobile {
    display: none;
  }

  .header-search span {
    display: none;
  }

  .header-search svg {
    width: 17px;
    margin-bottom: -2px;
  }

  .is-search ul {
    padding-inline: 80px;
  }
}

/* Login panel
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.signin,
.account,
.signup,
.signout {
  line-height: 35px;
  padding-right: 20px;
  padding-left: 20px;
  border-radius: var(--border-radius-big);
  outline: none;
}

.signin,
.account {
  margin-right: 12px;
  margin-left: 24px;
}

.signup,
.signout {
  margin-right: 0;
}

.signup {
  color: var(--color-font-three);
  background-color: var(--ghost-accent-color);
}

.signin,
.account,
.signout {
  background-color: var(--color-five);
}

.signin::before,
.account::before,
.signup::before,
.signout::before {
  display: none;
}

/* Toogle
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Hidden but not removed elemenet to avoid js errors from default global.js code */
.header-checkbox {
  display: none;
}

/* RWD — Header
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .header-wrap {
    min-height: 60px;
  }

  .header-checkbox:checked ~ nav {
    top: 40px;
    right: 0;
    min-width: 200px;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .header-checkbox:checked ~ nav {
    top: 50px;
    right: -10px;
  }
}

@media (max-width: 860px) {
  .mobile-menu {
    background-color: var(--color-body);
  }
  .mobile-menu::after {
    display: none;
  }

  .mobile-dropdown-menu li > a > p > span {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header-logo {
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .nav-button a {
    height: 38px;
    padding: 8px 24px;
  }

  .mobile-nav-wrapper {
    display: none;
  }

  .menu-close-btn {
    margin-top: 40px;
    margin-right: 40px;
  }

  .mobile-nav {
    padding: 133px 40px 40px 40px;
    margin-left: auto;
    width: 469px;
    height: 100%;
  }

  .mobile-nav-list-item {
    margin-bottom: 24px;
  }

  .mobile-nav-link {
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
  }

  .mobile-dropdown-menu li {
    padding: 8px 8px 8px 0;
  }
  .mobile-dropdown-menu li > a {
    align-items: start;
  }
  .mobile-dropdown-menu li > a p {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-family-primary);
    line-height: 25px;
  }

  .mobile-dropdown-image {
    width: 48px;
    height: 48px;
  }

  .mobile-menu-slack-btn a {
    width: 225px;
    height: 50px;
    font-size: 20px;
    font-weight: 700;
  }
  .mobile-menu-slack-btn svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 1024px) {
  .header-toggle {
    display: inline-block;
  }

  .header-nav-dropdown svg {
    display: none;
  }
}

@media (min-width: 1024px) {
  .nav-header-content {
    padding: 20px 80px;
  }

  .slack-button a {
    font-size: 20px;
    width: unset;
    height: 50px;
    padding: 16px 36px;
  }

  .slack-button svg {
    width: 24px;
  }
}

@media (min-width: 1025px) {
  .header-nav-dropdown {
    display: inline-block;
    width: 30px;
    margin-right: 20px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: left;
  }

  .header-nav-dropdown svg {
    height: 4px;
    margin: 0 0 3px;
    fill: var(--color-font-one);
  }

  .header-nav-dropdown ul {
    display: none;
  }

  .header-nav-dropdown.is-active ul {
    font-size: 15px;
    position: absolute;
    z-index: 999;
    top: 50px;
    display: block;
    min-width: 140px;
    margin: 0;
    padding: 20px 10px 15px;
    list-style: none;
    cursor: default;
    transform: translateX(-17px);
    border-radius: var(--border-radius);
    background-color: var(--color-two);
    box-shadow: 0 5px 45px -10px rgba(0, 0, 0, 0.2);
  }

  .header-nav-dropdown ul li {
    position: relative;
    display: block;
    padding: 0 0 6px;
    text-align: left;
    pointer-events: auto;
    background-color: transparent;
  }

  .header-nav-dropdown a {
    display: inline-block;
    margin: 0 7px;
    padding: 2px;
    text-decoration: none;
    word-break: normal;
  }

  .header-nav-dropdown a::before {
    top: 4px;
  }

  .global-nav-right .header-nav-dropdown.is-active ul {
    min-width: 150px;
    transform: translateX(-130px);
  }

  .global-nav-right .header-nav-dropdown ul li {
    text-align: right;
  }

  .global-nav-right .header-nav-dropdown a {
    max-width: 130px;
  }
}

@media (max-width: 860px) {
  .mobile-menu-button {
    padding-bottom: 2.5px;
  }
}
@media (min-width: 860px) {
  .navigation {
    display: flex;
    align-items: center;
  }

  .nav-logo {
    height: 48px;
    margin-top: -4px;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu-button {
    display: none;
  }

  .nav-button a {
    width: unset;
  }
}

/* --------------------------------------------------------------------------
   3.Pinned
   -------------------------------------------------------------------------- */
.pinned-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0 auto var(--margin-items);
  padding-right: calc(60px - var(--margin-items) / 2);
  padding-left: calc(60px - var(--margin-items) / 2);
  border-radius: var(--border-radius);
}

.pinned-section::before {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  background-color: var(--color-one);
}

.pinned-section:empty {
  display: none;
}

.pinned-items {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.pinned-items:first-child {
  padding-top: calc(60px - var(--margin-items) / 2);
}

.pinned-items:last-child {
  padding-bottom: calc(60px - var(--margin-items) / 2);
}

.pinned-items.is-cover:first-child {
  padding-top: 9vh;
}

.pinned-items.is-cover:last-child {
  padding-bottom: 9vh;
}

/* Item
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.pinned-item {
  position: relative;
  flex: 1 0 calc(25% - var(--margin-items));
  flex-wrap: wrap;
  min-width: 140px;
  margin: calc(var(--margin-items) / 2);
  padding: 15px;
  transition: transform 0.2s ease-in-out;
  border-radius: calc(var(--border-radius) + var(--border-radius) / 2);
  background-color: var(--color-body);
}

.pinned-items.is-cover .pinned-item {
  background-color: var(--color-two);
}

.pinned-item:hover {
  transform: translateY(-3px);
}

/* Member label
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.pinned-item > span {
  margin-top: 15px;
  margin-bottom: 0;
}

/* Content
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.pinned-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 15px 15px 10px 0;
  pointer-events: none;
  border-radius: calc(var(--border-radius) / 1.7);
}

/* Meta
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.pinned-meta {
  font-size: 13px;
  margin-bottom: 5px;
}

.pinned-meta a {
  pointer-events: auto;
}

/* Title
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.pinned-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* Excerpt
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.pinned-item-excerpt {
  font-family: var(--font-family-primary);
  font-size: 14px;
  font-weight: var(--font-weight-primary-regular);
}

/* Image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.pinned-image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 330px;
}

.pinned-image img {
  border-radius: var(--border-radius);
}

/* Cover
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.pinned-cover {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: var(--border-radius);
}

/* RWD — Pinned
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 320px) {
  .pinned-image {
    height: 100px;
  }

  .pinned-title {
    font-size: 14px;
  }

  .pinned-item-excerpt {
    display: none;
  }
}

@media (max-width: 480px) {
  .pinned-item {
    min-width: 125px;
  }
}

@media (min-width: 321px) and (max-width: 480px) {
  .pinned-image {
    height: 150px;
  }
}

@media (min-width: 321px) and (max-width: 1024px) {
  .pinned-title {
    font-size: 16px;
  }

  .pinned-item-excerpt {
    font-size: 12px;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .pinned-image {
    height: 180px;
  }
}

@media (max-width: 1024px) {
  .pinned-section {
    padding-right: calc(15px - var(--margin-items) / 2);
    padding-left: calc(15px - var(--margin-items) / 2);
  }

  .pinned-items:first-child {
    padding-top: calc(15px - var(--margin-items) / 2);
  }

  .pinned-items:last-child {
    padding-bottom: calc(15px - var(--margin-items) / 2);
  }

  .pinned-item {
    padding: 8px;
  }

  .pinned-meta {
    display: none;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .pinned-section {
    padding-right: calc(25px - var(--margin-items) / 2);
    padding-left: calc(25px - var(--margin-items) / 2);
  }

  .pinned-items:first-child {
    padding-top: calc(25px - var(--margin-items) / 2);
  }

  .pinned-items:last-child {
    padding-bottom: calc(25px - var(--margin-items) / 2);
  }

  .pinned-image {
    height: 250px;
  }

  .pinned-item-excerpt {
    font-size: 13px;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .pinned-title {
    font-size: 18px;
  }
}

@media (max-width: 1280px) {
  .pinned-items.is-cover:first-child {
    padding-top: 5vh;
  }

  .pinned-items.is-cover:last-child {
    padding-bottom: 5vh;
  }

  .pinned-content {
    padding: 10px 0;
  }
}

@media (min-width: 1281px) and (max-width: 1440px) {
  .pinned-image {
    height: 280px;
  }
}

/* --------------------------------------------------------------------------
   4.Loop
   -------------------------------------------------------------------------- */
.loop-section {
  margin-bottom: 8vh;
}

.loop-wrap,
.loop-item,
.loop-item-wrap {
  display: flex;
}

.loop-item-wrap,
.loop-item-elements,
.loop-item-image,
.loop-item-content,
.loop-item-title {
  width: 100%;
}

.loop-wrap {
  flex-wrap: wrap;
  width: calc(100% + var(--margin-items));
  margin-left: calc(0px - var(--margin-items) / 2);
  -webkit-animation: slideTopLoop 0.8s ease;
  animation: slideTopLoop 0.8s ease;
}

@-webkit-keyframes slideTopLoop {
  0% {
    transform: translateY(70px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slideTopLoop {
  0% {
    transform: translateY(70px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Item
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.loop-item {
  position: relative;
  flex: 1 0 calc(25% - var(--margin-items));
  min-width: 150px;
  margin: 0 calc(var(--margin-items) / 2) var(--margin-items);
}

.loop-item::after {
  position: absolute;
  z-index: -1;
  top: 10px;
  right: 0;
  bottom: 10px;
  left: 0;
  content: '';
  box-shadow: 0 25px 95px 5px rgba(0, 0, 0, 0.07);
}

.loop-item.is-first.is-image {
  flex-basis: calc(50% - var(--margin-items));
  flex-grow: 999;
}

.loop-item.is-last:not(.is-image) {
  flex-grow: 0;
}

.loop-item.is-first:not(.is-image) ~ .loop-item.is-last:not(.is-image) {
  flex-grow: 1;
}

.loop-item-wrap {
  overflow: hidden;
  flex-wrap: wrap;
  transition: transform 0.2s ease-in-out;
  border-radius: var(--border-radius);
  background-color: var(--color-two);
}

.loop-item-wrap:hover {
  transform: translateY(-3px);
}

/* Image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.loop-item-image {
  height: 40vh;
  min-height: 300px;
  max-height: 500px;
}

/* Content
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.loop-item-content {
  max-width: 600px;
  padding: 25px;
}

.loop-item-content,
.loop-item-title,
.loop-item-meta {
  position: relative;
}

.loop-item-title,
.loop-item-meta,
.loop-item-tags {
  z-index: 1;
}

.loop-item-title {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 600;
}

.loop-item-title,
.loop-item-meta,
.loop-item-tags {
  pointer-events: none;
}

.loop-item-title a,
.loop-item-meta a,
.loop-item-tags a {
  pointer-events: auto;
}

.loop-item-meta {
  margin-bottom: 20px;
}

.loop-item-excerpt {
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: var(--font-weight-primary-regular);
  margin-top: 0;
  margin-bottom: 0;
}

.loop-item-tags {
  align-self: flex-end;
}

.loop-item-tags a {
  margin: 0 0 25px 25px;
}

/* RWD — Loop
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .loop-item {
    flex-basis: calc(100% - var(--margin-items));
  }

  .loop-item-title {
    font-size: 24px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .loop-item {
    flex-basis: calc(50% - var(--margin-items));
  }
}

@media (max-width: 768px) {
  .loop-item-image {
    height: 200px;
    min-height: 200px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .loop-item-image {
    height: 250px;
    min-height: 250px;
  }

  .loop-item {
    flex-basis: calc(33.333% - var(--margin-items));
  }

  .loop-item.is-first.is-image {
    flex-basis: calc(66.666% - var(--margin-items));
  }
}

@media (max-width: 1024px) {
  .loop-item-title {
    margin-bottom: 13px;
  }

  .loop-item-meta,
  .loop-item-excerpt {
    font-size: 13px;
  }
}

@media (min-width: 481px) and (max-width: 1280px) {
  .loop-item-title {
    font-size: 22px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .loop-item-image {
    height: 300px;
    min-height: 300px;
  }

  .loop-item-title {
    margin-bottom: 10px;
  }

  .loop-item-excerpt {
    font-size: 14px;
  }
}

@media (max-width: 1280px) {
  .loop-item-content {
    padding: 15px;
  }

  .loop-item-meta {
    margin-bottom: 13px;
  }

  .loop-item-tags a {
    margin: 0 0 15px 15px;
  }
}

@media (min-width: 1281px) and (max-width: 1440px) {
  .loop-item-excerpt {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   5.Special section
   -------------------------------------------------------------------------- */
.special-section {
  width: 100%;
}

.special-section + .special-section {
  margin-top: var(--margin-items);
}

.special-section .special-section-title {
  color: var(--color-grey-600);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0;
}

.special-section-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  border-radius: var(--border-radius);
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 16px;
}

.special-section-content .article {
  margin: 0;
  box-shadow: 0px 3px 2px 0px rgba(34, 39, 67, 0.05);
  border: 1px solid var(--color-grey-200);
  border-radius: 16px;
  overflow: hidden;
  min-width: 250px;
}

.special-section-content .article .time-to-read {
  font-size: 16px;
}

.special-section-content .article .special-item-excerpt {
  margin-top: 0;
}

.special-section-content .article .special-item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.special-section-content .article .special-item-title {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
}

/* Item
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.special-item {
  flex-basis: calc(20% - var(--margin-items));
  min-width: 150px;
}

.special-item::after {
  display: none;
  box-shadow: none;
}

.special-item-wrap {
  background-color: var(--color-body);
}

/* Image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.special-item-image {
  height: 240px;
  min-height: 240px;
}

/* Content
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.special-item-content {
  padding: 15px 25px 20px 18px;
}

.special-item-title {
  font-size: 20px;
  margin-bottom: 0;
}

.special-item-meta {
  font-size: 13px;
  margin-bottom: 5px;
}

.special-item-excerpt {
  font-size: 14px;
  margin-top: 15px;
}

/* RWD — Special section
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 320px) {
  .special-item-image {
    height: 125px;
    min-height: 125px;
  }

  .special-item-title {
    font-size: 14px;
  }

  .special-item-excerpt {
    display: none;
  }
}

@media (max-width: 480px) {
  .special-item {
    min-width: 125px;
  }
}

@media (max-width: 768px) {
  .special-item:nth-child(5) {
    display: none;
  }
}

@media (min-width: 321px) and (max-width: 480px) {
  .special-item-image {
    height: 150px;
    min-height: 150px;
  }
}

@media (min-width: 321px) and (max-width: 1024px) {
  .special-item-excerpt {
    font-size: 12px;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .special-item-image {
    height: 150px;
    min-height: 150px;
  }
}

@media (max-width: 1024px) {
  .special-section-content {
    padding: 15px calc(15px - var(--margin-items) / 2)
      calc(15px - var(--margin-items));
  }

  .special-item-meta {
    display: none;
  }
}

@media (min-width: 321px) and (max-width: 1280px) {
  .special-item-title {
    font-size: 16px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .special-section-content {
    padding: 25px calc(25px - var(--margin-items) / 2)
      calc(25px - var(--margin-items));
  }

  .special-item-image {
    height: 180px;
    min-height: 180px;
  }

  .special-item-excerpt {
    font-size: 13px;
  }
}

@media (max-width: 1280px) {
  .special-item-content {
    padding: 10px 10px 15px;
  }
}

@media (min-width: 1281px) and (max-width: 1440px) {
  .special-item-title {
    font-size: 18px;
  }

  .special-item-image {
    height: 200px;
    min-height: 200px;
  }
}

/* --------------------------------------------------------------------------
   6.Pagination & Load more
   -------------------------------------------------------------------------- */
.load-more {
  width: 50px;
  height: 50px;
  padding: 0;
  cursor: pointer;
  transition-timing-function: cubic-bezier(0.39, 0.07, 0.68, 1.7);
  transition-duration: 0.35s;
  transition-property: transform, background-color;
  border: 10px solid var(--ghost-accent-color);
  border-radius: 50px;
  outline: none;
  background-color: var(--color-body);
}

.pagination-section {
  margin: 0 auto 10vh;
  text-align: center;
}

/* Fixes rendering error
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.pagination {
  display: none;
  visibility: hidden;
  opacity: 0;
}

/* RWD — Pagination & Load more
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .load-more {
    width: 40px;
    height: 40px;
    border-width: 8px;
  }
}

@media (min-width: 481px) {
  .load-more:hover {
    transform: scale(0.6);
    background-color: var(--ghost-accent-color);
  }
}

/* --------------------------------------------------------------------------
   7.Search function
   -------------------------------------------------------------------------- */
.search-section {
  z-index: 998;
  display: none;
}

.search-section,
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.search-overlay {
  z-index: 997;
  background-color: var(--overlay-search);
}

.search-content {
  position: relative;
  z-index: 999;
  top: 20vh;
  overflow: hidden;
  width: calc(100% - 50px);
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  background-color: var(--color-body);
}
/* Close
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.search-close {
  position: absolute;
  z-index: 999;
  top: 50px;
  right: 50px;
  cursor: pointer;
}

.search-close svg {
  width: 25px;
  height: 25px;
  fill: var(--color-white);
}

/* Form
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.search-form input {
  font-size: 30px;
  display: block;
  width: 100%;
  padding: 25px 20px;
}

/* Meta
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.search-meta {
  font-size: 10px;
  font-weight: var(--font-weight-secondary-bolder);
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 0 10px 20px;
  text-align: left;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-font-three);
  background-color: var(--ghost-accent-color);
}

.search-meta .is-hide {
  display: none;
}

/* Results
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.search-results {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-height: calc(60vh - 105px);
  padding: 0 15px 0 20px;
}

.search-results small {
  font-family: var(--font-family-secondary);
  font-size: 12px;
  font-weight: var(--font-weight-secondary-regular);
  display: block;
  width: 100%;
  letter-spacing: 0.5px;
}

.search-results small:first-of-type {
  margin-top: 10px;
}

.search-results a {
  font-family: var(--font-family-primary);
  font-size: 22px;
  font-weight: var(--font-weight-primary-regular);
  line-height: 1.3;
  display: inline-block;
  margin: 0 0 15px;
}

.search-results a:last-of-type {
  margin-bottom: 25px;
}

/* If active
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.search-is-active {
  overflow: hidden;
  -webkit-overflow-scrolling: auto;
}

.search-is-active .global-wrap {
  overflow-x: hidden;
  overflow-y: scroll;
}

.search-is-active .search-section {
  -webkit-animation: showSearch 0.2s ease forwards;
  animation: showSearch 0.2s ease forwards;
}

@-webkit-keyframes showSearch {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes showSearch {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Hiding the scrollbar
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 1025px) {
  .search-section::after {
    position: absolute;
    z-index: 996;
    top: 0;
    right: 0;
    width: 17px;
    height: 100%;
    content: '';
    background-color: var(--color-body);
  }
}

/* RWD — Search function
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .search-content {
    width: calc(100% - 30px);
  }

  .search-form input {
    font-size: 18px;
    padding: 15px;
  }

  .search-meta {
    font-size: 9px;
  }

  .search-meta,
  .search-results {
    padding-left: 15px;
  }

  .search-results a {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .search-close {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   8.Post — Header
   -------------------------------------------------------------------------- */
.post-header {
  margin-bottom: 8vh;
}

.post-header.is-image,
.post-title-wrap.is-image {
  display: flex;
}

/* Image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-image {
  position: relative;
  flex: 1 0 40%;
}

.post-image img {
  border-radius: var(--border-radius);
}

.post-image-caption {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.5;
}

@media (min-width: 1024px) {
  .post-image-caption {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
  }
}

/* Title content
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-title-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding-right: 50px;
}

.post-title-wrap.is-image {
  flex: 1 0 60%;
  max-width: 100%;
  padding-left: 60px;
}

.post-title-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Tags
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-tags {
  margin-bottom: 4vh;
}

/* Title
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-title {
  font-size: 60px;
  line-height: 70px;
  font-weight: 700;
}

/* Excerpt
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-excerpt {
  font-family: var(--font-family-primary);
  font-size: 18px;
  font-weight: var(--font-weight-primary-regular);
  max-width: 650px;
  margin: 0;
  font-style: italic;
}

.color-adornment {
  background-color: var(--color-yellow-500);
  width: 180px;
  height: 8px;
  border-radius: 8px;
}

/* #full-image tag
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 1025px) {
  .tag-hash-full-image .post-header {
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .tag-hash-full-image .post-image {
    flex-basis: 100%;
    height: 65vh;
  }

  .tag-hash-full-image .post-title-wrap.is-image {
    max-width: 720px;
    margin: 0 auto;
    padding-left: 0;
  }
}

/* RWD — Post header
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .post-image img {
    height: 250px;
    min-height: 250px;
  }

  .post-title-wrap {
    padding-right: 0;
  }

  .post-title {
    font-size: 30px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .post-title {
    font-size: 40px;
  }

  .post-title-wrap {
    padding-right: 5%;
  }
}

@media (max-width: 768px) {
  .post-title-content {
    margin-top: 20px;
    margin-bottom: 5vh;
  }

  .post-tags {
    margin-bottom: 10px;
  }

  .post-excerpt {
    font-size: 18px;
    margin-top: 3vh;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .post-image img {
    height: 48vh;
    min-height: 480px;
  }
}

@media (max-width: 1024px) {
  .post-header {
    margin-bottom: 0;
  }

  .post-header.is-image {
    align-content: flex-start;
    flex-wrap: wrap;
    min-height: 100%;
  }

  .post-image {
    flex-basis: 100%;
  }

  .post-title-wrap,
  .post-title-wrap.is-image {
    align-items: flex-start;
    box-sizing: content-box;
    max-width: 720px;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .post-title-content {
    margin-top: 4vh;
  }

  .post-tags {
    margin-bottom: 2vh;
  }

  .post-title {
    font-size: 45px;
  }

  .post-excerpt {
    font-size: 20px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .post-header.is-image {
    min-height: 50vh;
  }

  .post-image {
    min-height: 500px;
  }
}

@media (max-width: 1440px) {
  .post-header .post-tags a {
    margin: 0 5px 5px 0;
    border-radius: var(--border-radius-big);
  }
}

/* --------------------------------------------------------------------------
   9.Post — Content
   -------------------------------------------------------------------------- */
.post-content {
  padding-right: 15px;
  padding-left: 15px;
  color: var(--color-font-two);
  max-width: 768px;
  margin-bottom: 56px;
}

/* Koenig card
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content .kg-card {
  width: 100%;
}

/* Margin elements
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content p,
.post-content iframe,
.post-content ol,
.post-content ul,
.post-content table,
.post-content p img {
  margin-top: 0;
  margin-bottom: 40px;
}

.post-content hr {
  margin-top: 60px;
  margin-bottom: 80px;
}

.post-content blockquote {
  margin-top: 75px;
  margin-bottom: 75px;
}

.post-content .kg-card {
  margin-top: 50px;
  margin-bottom: 70px;
}

.post-content pre,
.post-content .kg-card.kg-code-card {
  margin-top: 40px;
  margin-bottom: 40px;
}

.post-content p,
.post-content table,
.post-content hr,
.post-content blockquote,
.post-content pre,
.post-content p img,
.post-content .kg-card {
  margin-right: 0;
  margin-left: 0;
}

.post-content iframe,
.post-content .kg-embed-card > div,
.post-content .kg-embed-card > iframe,
.post-content .kg-embed-card > .fb-post,
.post-content .kg-embed-card > .twitter-tweet {
  margin-right: auto !important;
  margin-left: auto !important;
}

.post-content .kg-embed-card > .twitter-tweet > iframe {
  margin-bottom: 0;
}

/* Typography
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5 {
  line-height: 1.5;
  margin-right: 0;
  margin-bottom: 20px;
  margin-left: -1px;
}

.post-content h1 {
  font-size: 55px;
  margin-top: 60px;
}

.post-content h2 {
  font-size: 41px;
  margin-top: 55px;
}

.post-content h3 {
  font-size: 31px;
  margin-top: 45px;
}

.post-content h4 {
  font-size: 24px;
  margin-top: 40px;
}

.post-content h5 {
  font-size: 20px;
  margin-top: 35px;
}

.post-content h6 {
  font-family: var(--font-family-secondary);
  font-size: 11px;
  font-weight: var(--font-weight-secondary-bolder);
  margin-top: 35px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Paragraph
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content p {
  line-height: 1.6;
  position: relative;
}

/* strong
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content strong {
  color: var(--color-font-one);
}

/* blockquote
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content blockquote p {
  line-height: 1.3;
  margin: 0;
}

/* Koenig — blockquote 
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content blockquote {
  font-size: 40px;
  position: relative;
  width: 100%;
  padding-left: 55px;
}

.post-content blockquote::before {
  font-size: 120px;
  position: absolute;
  top: -15px;
  left: -15px;
  content: '"';
  color: var(--ghost-accent-color);
}

.post-content blockquote cite {
  font-size: 25px;
  font-style: normal;
}

/* Links
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content a {
  transition: border-bottom-color 0.2s ease;
  border-bottom: 2px solid var(--ghost-accent-color);
}

.post-content a:hover {
  border-bottom-color: var(--color-font-one);
}

.post-content h1 a,
.post-content h2 a,
.post-content h3 a,
.post-content h4 a,
.post-content h5 a,
.post-content h6 a,
.post-content blockquote a {
  transition: background-size 0.6s ease-out;
  color: var(--color-font-one);
  border: none;
  background: linear-gradient(
      var(--ghost-accent-color),
      var(--ghost-accent-color)
    )
    no-repeat left 130%/80% 40%;
}

.post-content h1 a:hover,
.post-content h2 a:hover,
.post-content h3 a:hover,
.post-content h4 a:hover,
.post-content h5 a:hover,
.post-content h6 a:hover,
.post-content blockquote a:hover {
  background-size: 97% 40%;
}

/* Disable styling for image when is a link */
.post-content .post-image-link {
  border-bottom: none !important;
}

/* hr
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content hr {
  position: relative;
  display: block;
  width: 80px;
  height: 6px;
  text-align: right;
  border: none;
  border-radius: var(--border-radius-small);
  background-color: var(--color-five);
}

/* mark
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content mark {
  padding: 0 4px 2px;
  color: var(--color-font-three);
  border-radius: var(--border-radius-small);
  background-color: var(--ghost-accent-color);
}

/* kbd
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content kbd {
  font-size: 70%;
  font-weight: var(--font-weight-secondary-bolder);
  display: inline-block;
  padding: 2px 8px 1px;
  border: 1px solid;
  border-radius: var(--border-radius-small);
}

/* iframe
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content iframe {
  display: block;
}

/* Lists
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content ul,
.post-content ol {
  margin-right: 0;
  margin-left: 15px;
}

.post-content ul {
  padding-left: 15px;
  list-style: disc outside;
}

.post-content ol {
  padding-left: 20px;
}

.post-content ul li ul {
  list-style: circle outside;
}

.post-content ol,
.post-content ol li ol {
  list-style: decimal outside;
}

.post-content ul ul,
.post-content ul ol,
.post-content ol ol,
.post-content ol ul {
  font-size: 90%;
  margin: 15px 0;
}

.post-content li {
  margin-bottom: 10px;
}

.post-content dl dt {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-primary-regular);
  float: left;
  clear: left;
  overflow: hidden;
  width: 180px;
  margin-bottom: 10px;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--color-font-one);
}

.post-content dl dd {
  margin-bottom: 10px;
  margin-left: 200px;
}

/* Table
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content table {
  font-size: 16px;
  display: table;
  width: 100%;
  max-width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: left;
  background-color: transparent;
}

.post-content th {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-primary-regular);
  color: var(--color-font-one);
  border-top: 2px solid var(--color-five);
}

.post-content th,
.post-content td {
  display: table-cell;
  padding: 10px 12px;
  border-bottom: 2px solid var(--color-five);
}

.post-content th:first-child,
.post-content td:first-child {
  padding-left: 5px;
}

.post-content th:last-child,
.post-content td:last-child {
  padding-right: 5px;
}

/* Responsive */
.post-content .responsive-table {
  overflow-x: auto;
  word-break: normal;
}

/* Footnotes
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content sup a,
.post-content .footnote-backref {
  border-bottom: none;
}

.post-content .footnotes {
  padding: 10px 0 0;
}

.post-content .footnotes-list {
  padding-left: 20px;
  list-style: decimal;
}

.post-content .footnotes-sep {
  margin: 50px 0 10px;
}

.post-content .footnotes p,
.post-content .footnote-item {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 10px;
}

/* Cardmas
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content .kg-button-card .kg-btn,
.post-content .kg-nft-card a,
.post-content .kg-product-card .kg-product-card-button {
  border-bottom: none;
}

.post-content .kg-audio-card .kg-audio-title,
.post-content .kg-button-card .kg-btn,
.post-content .kg-file-card .kg-file-card-title,
.post-content .kg-product-card .kg-product-card-title,
.post-content .kg-product-card .kg-product-card-button,
.post-content .kg-toggle-card .kg-toggle-heading-text {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-primary-regular);
}

.post-content .kg-audio-card,
.post-content .kg-callout-card,
.post-content .kg-file-card .kg-file-card-container,
.post-content .kg-nft-card .kg-nft-card-container,
.post-content .kg-product-card .kg-product-card-container,
.post-content .kg-toggle-card {
  border-radius: var(--border-radius);
}

.post-content .kg-audio-card .kg-audio-thumbnail,
.post-content .kg-file-card .kg-file-card-icon::before,
.post-content .kg-product-card .kg-product-card-image {
  border-radius: calc(var(--border-radius) / 2);
}

/* Audio card */
.post-content .kg-audio-card .kg-audio-volume-slider {
  width: 55px;
}

.post-content .kg-audio-card svg {
  fill: var(--color-font-one);
}

.post-content .kg-audio-card .kg-audio-playback-rate {
  color: var(--color-font-one);
}

/* Button card & Product card */
.post-content .kg-button-card .kg-btn {
  height: 2.6em;
  padding: 1.3em 1.4em;
}

.post-content .kg-button-card .kg-btn,
.post-content .kg-product-card .kg-product-card-button {
  text-decoration: none;
  color: var(--color-font-three);
}

.post-content .kg-product-card-button:hover {
  opacity: 0.85;
}

/* Callout card */
.post-content .kg-callout-card .kg-callout-emoji {
  flex-shrink: 0;
}

/* NFT card */
.post-content .kg-nft-card a {
  text-decoration: none;
}

.post-content .kg-nft-card .kg-nft-image {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.post-content .kg-nft-card .kg-nft-card-container {
  box-shadow: inset 0 0 0 1px rgb(124 139 154/25%);
}

/* Video card */
.post-content .kg-video-card.kg-width-full {
  right: 50%;
  left: 50%;
  width: calc(100vw - 65px - 65px);
  margin: 0 calc(-50vw + 65px);
}

/* RWD — Video card */
@media (max-width: 1024px) and (min-width: 481px) {
  .post-content .kg-video-card.kg-width-full {
    width: calc(100vw - 25px - 25px);
    margin-right: calc(-50vw + 25px);
    margin-left: calc(-50vw + 25px);
  }
}

@media (max-width: 480px) {
  .post-content .kg-video-card.kg-width-full {
    width: 100vw;
    margin-right: -50vw;
    margin-left: -50vw;
    border-radius: 0;
  }
}

@media (min-width: 1281px) {
  .post-content .kg-video-card.kg-width-wide {
    width: calc(100% + 180px + 180px);
    margin-left: -180px;
  }
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .post-content .kg-video-card.kg-width-wide {
    position: relative;
    right: 50%;
    left: 50%;
    width: calc(100vw - 140px - 140px);
    margin-right: calc(-50vw + 140px);
    margin-left: calc(-50vw + 140px);
  }
}

/* Temporarily disable the alternative Blockquote */
.post-content .kg-blockquote-alt {
  position: relative;
}

/* Code
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content code {
  font-size: 85%;
  padding: 2px 5px;
  background-color: var(--color-one);
}

.post-content pre > code {
  display: block;
  padding: 10px 15px;
  white-space: pre-wrap;
  border-radius: var(--border-radius);
}

/* Inline*/
.post-content p code {
  border-radius: var(--border-radius-small);
  background-color: var(--color-five);
}

/* Koenig — Code
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content pre,
.post-content .kg-code-card {
  min-width: 100%;
}

.post-content .kg-code-card pre,
.post-content .kg-code-card code {
  margin: 0;
}

/* Image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content img,
.post-content p img {
  position: relative;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Koenig — Image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content .kg-image-card {
  line-height: 0;
}

.post-content .kg-image-card:not(.kg-width-full):not(.kg-width-wide) {
  text-align: center;
}

.post-content .kg-image-card.kg-width-wide img {
  width: 100%;
}

.post-content .kg-width-full img {
  position: relative;
  right: 50%;
  left: 50%;
  width: calc(100vw - 65px - 65px);
  margin: 0 calc(-50vw + 65px);
}

.post-content .kg-width-full img,
.post-content .kg-image-card.kg-width-wide:not(.kg-gallery-card) img {
  max-width: initial;
}

/* Koenig — Gallery
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content .kg-gallery-image img {
  display: block;
  margin: 0;
  border-radius: 0;
}

.post-content .kg-gallery-container,
.post-content .kg-gallery-row {
  display: flex;
}

.post-content .kg-gallery-container {
  position: relative;
  flex-direction: column;
  margin: 15px auto;
}

.post-content .kg-gallery-row {
  flex-direction: row;
  justify-content: center;
}

.post-content
  .kg-gallery-row:first-of-type
  .kg-gallery-image:first-of-type
  img {
  border-top-left-radius: var(--border-radius);
}

.post-content .kg-gallery-row:first-of-type .kg-gallery-image:last-of-type img {
  border-top-right-radius: var(--border-radius);
}

.post-content .kg-gallery-row:last-of-type .kg-gallery-image:first-of-type img {
  border-bottom-left-radius: var(--border-radius);
}

.post-content .kg-gallery-row:last-of-type .kg-gallery-image:last-of-type img {
  border-bottom-right-radius: var(--border-radius);
}

.post-content .kg-gallery-row:not(:first-of-type) {
  margin: 15px 0 0 0;
}

.post-content .kg-gallery-image:not(:first-of-type) {
  margin: 0 0 0 15px;
}

/* Koenig — Bookmark card
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content .kg-bookmark-container,
.post-content .kg-bookmark-content,
.post-content .kg-bookmark-metadata {
  display: flex;
}

.post-content .kg-bookmark-title,
.post-content .kg-bookmark-metadata {
  font-weight: var(--font-weight-secondary-bolder);
}

.post-content .kg-bookmark-description,
.post-content .kg-bookmark-metadata {
  display: -webkit-box;
  overflow-y: hidden;
  -webkit-box-orient: vertical;
}

.post-content .kg-bookmark-card + .kg-bookmark-card {
  margin-top: -45px;
}

.post-content .kg-bookmark-container {
  overflow: hidden;
  min-height: 140px;
  padding-bottom: 0;
  transition: transform 0.2s ease-in-out;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius);
  background-color: var(--color-one);
  box-shadow: none;
}

.post-content .kg-bookmark-container:hover {
  transform: translateY(-3px);
}

.post-content .kg-bookmark-content {
  align-items: flex-start;
  flex-direction: column;
  flex-grow: 1;
  justify-content: start;
  padding: 20px;
}

.post-content .kg-bookmark-title {
  font-family: var(--font-family-primary);
  font-size: 17px;
  font-weight: var(--font-weight-primary-regular);
  line-height: 1.3;
}

.post-content .kg-bookmark-description {
  font-size: 14px;
  line-height: 1.3;
  max-height: 40px;
  margin-top: 12px;
  -webkit-line-clamp: 2;
}

.post-content .kg-bookmark-metadata {
  font-size: 13px;
  align-items: center;
  flex-wrap: wrap;
  height: 22px;
  margin-top: 18px;
  -webkit-line-clamp: 1;
}

.post-content .kg-bookmark-metadata .kg-bookmark-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  margin-bottom: -5px;
  border-radius: 0;
}

.post-content .kg-bookmark-metadata span:nth-of-type(2)::before {
  margin-right: 6px;
  margin-left: 6px;
  content: '•';
}

.post-content .kg-bookmark-author,
.post-content .kg-bookmark-publisher {
  height: 20px;
}

.post-content .kg-bookmark-thumbnail {
  position: relative;
  min-width: 28%;
  max-height: 100%;
}

.post-content .kg-bookmark-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

/* Figcaption
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content img ~ small,
.post-content p img ~ small,
.post-content figcaption {
  font-size: 11px;
  line-height: 1.2;
  display: block;
  width: 100%;
  padding: 0 15px;
  text-align: center;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.post-content figcaption {
  margin-top: 15px;
}

.post-content img ~ small,
.post-content p img ~ small {
  position: absolute;
  right: 0;
  bottom: 25px;
  left: 0;
  max-width: 720px;
  margin: 0 auto;
}

/* Teaser
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content .members-teaser {
  position: relative;
  margin-bottom: 20px;
}

.post-content .members-teaser::after {
  position: absolute;
  right: 50%;
  bottom: -20px;
  left: 50%;
  width: calc(100vw - 40px);
  height: 80%;
  max-height: 340px;
  margin: 0 calc(-50vw + 20px);
  content: '';
  pointer-events: none;
  background-color: var(--color-body);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.013) 8.1%,
    rgba(0, 0, 0, 0.049) 15.5%,
    rgba(0, 0, 0, 0.104) 22.5%,
    rgba(0, 0, 0, 0.175) 29%,
    rgba(0, 0, 0, 0.259) 35.3%,
    rgba(0, 0, 0, 0.352) 41.2%,
    rgba(0, 0, 0, 0.45) 47.1%,
    rgba(0, 0, 0, 0.55) 52.9%,
    rgba(0, 0, 0, 0.648) 58.8%,
    rgba(0, 0, 0, 0.741) 64.7%,
    rgba(0, 0, 0, 0.825) 71%,
    rgba(0, 0, 0, 0.896) 77.5%,
    rgba(0, 0, 0, 0.951) 84.5%,
    rgba(0, 0, 0, 0.987) 91.9%,
    black
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.013) 8.1%,
    rgba(0, 0, 0, 0.049) 15.5%,
    rgba(0, 0, 0, 0.104) 22.5%,
    rgba(0, 0, 0, 0.175) 29%,
    rgba(0, 0, 0, 0.259) 35.3%,
    rgba(0, 0, 0, 0.352) 41.2%,
    rgba(0, 0, 0, 0.45) 47.1%,
    rgba(0, 0, 0, 0.55) 52.9%,
    rgba(0, 0, 0, 0.648) 58.8%,
    rgba(0, 0, 0, 0.741) 64.7%,
    rgba(0, 0, 0, 0.825) 71%,
    rgba(0, 0, 0, 0.896) 77.5%,
    rgba(0, 0, 0, 0.951) 84.5%,
    rgba(0, 0, 0, 0.987) 91.9%,
    black
  );
}

/* CTA
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-content .members-cta {
  width: 100%;
  margin: 6vh auto 10vh;
  padding: 40px 60px;
  text-align: center;
  border-radius: var(--border-radius);
  background-color: var(--color-two);
  box-shadow: 0 25px 95px 5px rgba(0, 0, 0, 0.12);
}

.tag-hash-full-image .post-content .members-cta {
  margin-top: 0;
}

.post-content .members-cta h2 {
  line-height: 1.2;
  margin: 20px auto 40px;
}

/* RWD — Koenig images
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .post-content .kg-width-full img {
    width: 100vw;
    margin-right: -50vw;
    margin-left: -50vw;
    border-radius: 0;
  }

  .post-content .kg-gallery-card .kg-gallery-container {
    margin-bottom: 5px;
  }

  .post-content .kg-gallery-card .kg-gallery-container,
  .post-content .kg-gallery-card .kg-gallery-row:not(:first-of-type) {
    margin-top: 5px;
  }

  .post-content .kg-gallery-card .kg-gallery-image:not(:first-of-type) {
    margin-left: 5px;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .post-content .kg-gallery-container {
    margin-bottom: 10px;
  }

  .post-content .kg-gallery-container,
  .post-content .kg-gallery-row:not(:first-of-type) {
    margin-top: 10px;
  }

  .post-content .kg-gallery-image:not(:first-of-type) {
    margin-left: 10px;
  }

  .post-content .kg-width-full img {
    width: calc(100vw - 25px - 25px);
    margin-right: calc(-50vw + 25px);
    margin-left: calc(-50vw + 25px);
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .post-content .kg-image-card.kg-width-wide img,
  .post-content .kg-gallery-container {
    position: relative;
    right: 50%;
    left: 50%;
    width: calc(100vw - 140px - 140px);
    margin-right: calc(-50vw + 140px);
    margin-left: calc(-50vw + 140px);
  }
}

@media (min-width: 1281px) {
  .post-content .kg-image-card.kg-width-wide img,
  .post-content .kg-gallery-container {
    width: calc(100% + 180px + 180px);
    margin-left: -180px;
  }
}

/* RWD — Bookmark card
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 320px) {
  .post-content .kg-bookmark-container {
    flex-direction: column;
  }

  .post-content .kg-bookmark-content {
    order: 2;
    padding: 15px;
  }

  .post-content .kg-bookmark-thumbnail {
    order: 1;
    width: 100%;
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  .post-content .kg-bookmark-title {
    font-size: 14px;
  }

  .post-content .kg-bookmark-description {
    font-size: 12px;
  }
}

/* RWD — Post content
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .post-content {
    font-size: 16px;
  }

  .post-content h1,
  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6 {
    margin-bottom: 15px;
  }

  .post-content h1 {
    font-size: 38px;
    margin-top: 45px;
  }

  .post-content h2 {
    font-size: 30px;
    margin-top: 40px;
  }

  .post-content h3 {
    font-size: 24px;
    margin-top: 35px;
  }

  .post-content h4 {
    font-size: 19px;
    margin-top: 30px;
  }

  .post-content h5 {
    font-size: 16px;
  }

  .post-content h5,
  .post-content h6 {
    margin-top: 25px;
  }

  .post-content blockquote {
    font-size: 20px;
    padding-left: 32px;
  }

  .post-content blockquote::before {
    font-size: 60px;
    top: -8px;
  }

  .post-content figcaption {
    margin-top: 10px;
  }

  .post-content .members-teaser::after {
    width: 100vw;
    margin-right: -50vw;
    margin-left: -50vw;
  }

  .post-content .members-cta {
    margin: 0;
    padding: 25px 15px;
  }

  .post-content .members-cta h2 {
    font-size: 25px;
    margin-top: 10px;
    margin-bottom: 20px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .post-content {
    font-size: 17px;
  }

  .post-content h1 {
    font-size: 45px;
    margin-top: 50px;
  }

  .post-content h2 {
    font-size: 33px;
    margin-top: 45px;
  }

  .post-content h3 {
    font-size: 26px;
    margin-top: 40px;
  }

  .post-content h4 {
    font-size: 21px;
    margin-top: 35px;
  }

  .post-content h5 {
    font-size: 17px;
  }

  .post-content h5,
  .post-content h6 {
    margin-top: 30px;
  }

  .post-content blockquote {
    font-size: 25px;
    padding-left: 40px;
  }

  .post-content blockquote::before {
    font-size: 80px;
    top: -10px;
  }

  .post-content .members-cta {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .post-content table {
    font-size: 14px;
  }

  .post-content p,
  .post-content iframe,
  .post-content ol,
  .post-content ul,
  .post-content table {
    margin-bottom: 20px;
  }

  .post-content hr,
  .post-content blockquote {
    margin-top: 40px;
  }

  .post-content .kg-card {
    margin-top: 30px;
  }

  .post-content .kg-bookmark-card + .kg-bookmark-card {
    margin-top: -20px;
  }

  .post-content hr,
  .post-content blockquote,
  .post-content .kg-card {
    margin-bottom: 40px;
  }

  .post-content p img {
    margin-bottom: 5px;
  }

  .post-content img ~ small,
  .post-content p img ~ small {
    bottom: -10px;
  }
}

@media (max-width: 1024px) {
  .post-content .members-cta {
    margin-top: 0;
  }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .post-content blockquote {
    font-size: 35px;
    padding-right: 40px;
  }

  .post-content blockquote::before {
    font-size: 100px;
  }
}

@media (max-width: 1280px) {
  .post-content blockquote::before {
    left: -5px;
  }
}

/* --------------------------------------------------------------------------
   10.Post — Share
   -------------------------------------------------------------------------- */
.post-share-section {
  width: 100%;
  padding-top: 30px;
}

.post-share-wrap {
  position: relative;
  display: inline-flex;
  width: 100%;
}

.post-share-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  transition: background-color 0.15s ease;
  border: none;
  background-color: var(--color-one);
}

.post-share-wrap a:first-of-type {
  border-radius: var(--border-radius-big) 0 0 var(--border-radius-big);
}

.post-share-wrap a:last-of-type {
  border-radius: 0 var(--border-radius-big) var(--border-radius-big) 0;
}

.post-share-wrap a:hover {
  background-color: var(--ghost-accent-color);
}

.post-share-wrap svg {
  width: 20px;
  height: 20px;
  transition: fill 0.15s ease;
  fill: var(--color-font-one);
}

.post-share-wrap a:hover svg {
  fill: var(--color-font-three);
}

/* Copy link
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.post-share-wrap + input {
  display: block;
  cursor: default;
  opacity: 0;
  color: transparent;
}

.post-share-link {
  cursor: pointer;
}

.post-share-link svg {
  width: 24px;
  height: 24px;
}

.post-share-link + small {
  font-size: 10px;
  font-weight: var(--font-weight-secondary-bolder);
  position: absolute;
  bottom: -40px;
  left: 0;
  padding: 6px 8px 6px 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  color: var(--color-font-three);
  border-radius: var(--border-radius);
  background-color: var(--ghost-accent-color);
}

.post-share-link:not(:active) + small {
  transition: opacity 10s step-end;
}

.post-share-link:active + small {
  opacity: 1;
}

/* RWD — Post share
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .post-share-wrap a {
    width: 60px;
    height: 60px;
  }

  .post-share-wrap svg {
    width: 18px;
    height: 18px;
  }
}

/* --------------------------------------------------------------------------
   11.Post — Related
   -------------------------------------------------------------------------- */

.post-related-section .global-heading {
  text-align: center;
}

.post-related-section.special-section {
  margin-bottom: var(--margin-items);
}

/* --------------------------------------------------------------------------
   12.Post — Navigation
   -------------------------------------------------------------------------- */
.nextprev-section {
  margin: 0 auto var(--margin-items);
}

.nextprev-wrap,
.nextprev-newer,
.nextprev-older,
.nextprev-newer > div,
.nextprev-older > div {
  display: flex;
}

.nextprev-newer,
.nextprev-older {
  position: relative;
  flex: 1 0 calc(50% - var(--margin-items) / 2);
  flex-grow: 1;
  background-color: var(--color-body);
}

.nextprev-newer {
  margin-right: calc(var(--margin-items) / 2);
}

.nextprev-older {
  margin-left: calc(var(--margin-items) / 2);
}

.nextprev-newer:first-child:last-child {
  margin-right: 0;
}

.nextprev-older:first-child:last-child {
  margin-left: 0;
}

.nextprev-newer::after,
.nextprev-older::after {
  position: absolute;
  z-index: -5;
  top: 10px;
  right: 0;
  bottom: 10px;
  left: 0;
  content: '';
  box-shadow: 0 5px 95px 0 rgba(0, 0, 0, 0.07);
}

.nextprev-newer > div,
.nextprev-older > div {
  overflow: hidden;
  width: 100%;
  border-radius: var(--border-radius);
}

.nextprev-wrap section {
  position: relative;
  z-index: 1;
  flex: 1 0 50%;
  min-height: 230px;
  padding: 50px 35px;
  background-color: var(--color-two);
}

.nextprev-older section {
  text-align: right;
}

/* Title content
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.nextprev-wrap small {
  font-size: 11px;
  font-weight: var(--font-weight-secondary-bolder);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nextprev-title {
  font-size: 30px;
  margin: 10px 0 0;
}

/* Image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.nextprev-image {
  position: relative;
  flex: 0 0 230px;
}

.nextprev-image img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* RWD — Post navigation
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .nextprev-wrap section {
    min-height: 140px;
    padding: 15px;
  }

  .nextprev-title {
    font-size: 18px;
  }

  .nextprev-image {
    flex-basis: 95px;
  }
}

@media (min-width: 481px) and (max-width: 960px) {
  .nextprev-title {
    font-size: 25px;
  }

  .nextprev-image {
    flex-basis: 180px;
  }
}

@media (max-width: 960px) {
  .nextprev-wrap {
    flex-wrap: wrap;
  }

  .nextprev-newer {
    margin-right: 0;
  }

  .nextprev-newer,
  .nextprev-older {
    flex-basis: 100%;
  }

  .nextprev-older {
    margin-top: var(--margin-items);
    margin-left: 0;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .nextprev-wrap section {
    min-height: 180px;
    padding: 30px 20px;
  }
}

@media (min-width: 961px) and (max-width: 1024px) {
  .nextprev-newer:first-child:last-child .nextprev-image-wrap,
  .nextprev-older:first-child:last-child .nextprev-image-wrap {
    flex-basis: 180px;
  }

  .nextprev-title {
    font-size: 20px;
  }

  .nextprev-image {
    flex-basis: 130px;
  }
}

@media (min-width: 1025px) and (max-width: 1400px) {
  .nextprev-newer:first-child:last-child .nextprev-image-wrap,
  .nextprev-older:first-child:last-child .nextprev-image-wrap {
    flex-basis: 230px;
  }

  .nextprev-wrap section {
    padding: 40px 25px;
  }

  .nextprev-title {
    font-size: 25px;
  }

  .nextprev-image {
    flex-basis: 150px;
  }
}

/* --------------------------------------------------------------------------
   13.Post — Comments
   -------------------------------------------------------------------------- */
.comments-section {
  margin-bottom: var(--margin-items);
  border-radius: var(--border-radius);
  background-color: var(--color-one);
}

.comments-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding-right: 60px;
  padding-left: 60px;
}

.comments-wrap > div:first-of-type {
  padding-top: 12vh;
}

.comments-wrap > div:last-of-type {
  padding-bottom: 12vh;
}

/* RWD — Comments
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .comments-wrap {
    padding-right: 15px;
    padding-left: 15px;
  }

  .comments-wrap > div:first-of-type {
    padding-top: 20px;
  }

  .comments-wrap > div:last-of-type {
    padding-bottom: 0;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .comments-wrap {
    padding-right: 25px;
    padding-left: 25px;
  }

  .comments-wrap > div:first-of-type {
    padding-top: 50px;
  }

  .comments-wrap > div:last-of-type {
    padding-bottom: 20px;
  }
}

/* --------------------------------------------------------------------------
   14.Author & Tag page
   -------------------------------------------------------------------------- */
.archive-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-bottom: var(--margin-items);
  border-radius: var(--border-radius);
}

.archive-section::before {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  background-color: var(--color-one);
}

.archive-wrap {
  width: 100%;
  padding: 60px;
  border-radius: var(--border-radius);
}

.archive-wrap.is-cover {
  margin: calc(var(--margin-items) / 2) auto;
  padding-top: 9vh;
  padding-bottom: 9vh;
}

.archive-container {
  position: relative;
  padding: 12px;
  border-radius: calc(var(--border-radius) + var(--border-radius) / 2);
  background-color: var(--color-body);
}

.archive-container,
.archive-title,
.archive-meta,
.archive-counter,
.archive-icons,
.archive-icons a {
  display: flex;
}

.archive-location,
.archive-description,
.archive-counter {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-primary-regular);
}

/* Image profile
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.archive-image {
  position: relative;
  overflow: hidden;
  flex: 0 0 300px;
  min-height: 200px;
  border-radius: var(--border-radius);
}

.archive-image img {
  position: absolute;
}

/* Cover
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.archive-cover {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Title
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.archive-title {
  align-items: center;
  flex: 999 0 100px;
  flex-wrap: wrap;
  padding: 30px 50px 40px 40px;
}

.archive-title h1 {
  font-size: 45px;
  margin: 0 0 0 -2px;
}

/* Location
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.archive-location {
  font-size: 15px;
  margin-top: 5px;
}

/* Description
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.archive-description {
  font-size: 16px;
  line-height: 1.3;
  width: 95%;
  margin: 30px 0 0;
}

/* Meta
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.archive-meta {
  flex-direction: column;
  max-width: 300px;
}

/* Posts counter
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.archive-counter {
  align-items: center;
  flex: 1 0 210px;
  justify-content: center;
  width: 100%;
  min-width: 180px;
  text-align: center;
  border-radius: var(--border-radius);
  background-color: var(--color-one);
}

.archive-counter span {
  font-size: 75px;
  line-height: 1;
  display: block;
}

/* Social icons
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.archive-icons a {
  align-items: center;
  flex: 1 0 30%;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-top: 12px;
  transition: background-color 0.15s ease;
  background-color: var(--color-one);
}

.archive-icons a:first-child {
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.archive-icons a:last-child {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.archive-icons a:first-child:last-child {
  border-radius: var(--border-radius);
}

.archive-icons a:hover {
  background-color: var(--ghost-accent-color);
}

.archive-icons svg {
  width: 22px;
  height: 22px;
  transition: fill 0.15s ease;
  fill: var(--color-font-one);
}

.archive-icons a:hover svg {
  fill: var(--color-font-three);
}

/* When not author page
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.archive-alternate.is-cover .archive-container {
  display: inline-flex;
}

/* RWD — Author & Tag page
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 600px) {
  .archive-image {
    flex-basis: 100%;
  }

  .archive-title {
    min-width: 100%;
    padding: 10px;
  }

  .archive-title h1 {
    font-size: 25px;
  }

  .archive-description {
    font-size: 14px;
    width: 100%;
    margin-top: 15px;
  }

  .archive-location {
    font-size: 14px;
  }

  .archive-meta {
    max-width: 70px;
  }

  .archive-counter {
    flex-basis: 70px;
    min-width: 70px;
  }

  .archive-counter span {
    font-size: 33px;
  }
}

@media (min-width: 601px) {
  .archive-alternate .archive-title {
    padding: 25px 30px 25px 25px;
  }

  .archive-alternate .archive-title h1 {
    font-size: 33px;
  }

  .archive-alternate .archive-counter {
    flex-basis: 90px;
    min-width: 90px;
  }

  .archive-alternate .archive-counter span {
    font-size: 45px;
  }

  .archive-alternate .archive-description {
    max-width: 700px;
    margin-top: 20px;
  }

  .archive-alternate.is-cover .archive-description {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .archive-container {
    flex-wrap: wrap;
  }

  .archive-meta {
    flex: 1 0 100%;
    flex-direction: row;
    max-width: 100%;
  }

  .archive-counter {
    display: none;
  }

  .archive-icons {
    width: 100%;
  }

  .archive-icons a {
    margin-top: 10px;
  }
}

@media (min-width: 601px) and (max-width: 960px) {
  .archive-title h1 {
    font-size: 33px;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .archive-meta {
    max-width: 110px;
  }

  .archive-counter {
    flex-basis: 110px;
    min-width: 110px;
  }

  .archive-counter span {
    font-size: 45px;
  }

  .archive-icons {
    flex-wrap: wrap;
  }

  .archive-icons a {
    flex-basis: 100%;
    margin-top: 0;
  }

  .archive-icons a:first-child {
    margin-top: 8px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }

  .archive-icons a:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }
}

@media (max-width: 960px) {
  .archive-icons a {
    height: 50px;
  }

  .archive-icons svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 961px) and (max-width: 1024px) {
  .archive-icons a {
    margin-top: 10px;
  }
}

@media (max-width: 1024px) {
  .archive-wrap {
    padding: 15px;
  }

  .archive-container {
    padding: 8px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .archive-wrap {
    padding: 25px;
  }
}

@media (max-width: 1280px) {
  .archive-wrap.is-cover {
    padding-top: 5vh;
    padding-bottom: 5vh;
  }
}

@media (min-width: 601px) and (max-width: 1400px) {
  .archive-image {
    flex-basis: 210px;
  }

  .archive-title {
    padding: 30px 30px 30px 20px;
  }

  .archive-description {
    margin-top: 20px;
  }
}

@media (min-width: 961px) and (max-width: 1400px) {
  .archive-title h1 {
    font-size: 38px;
  }

  .archive-meta {
    max-width: 210px;
  }

  .archive-counter {
    flex-basis: 210px;
    min-width: 210px;
  }

  .archive-counter span {
    font-size: 65px;
  }

  .archive-icons a {
    height: 70px;
  }

  .archive-icons svg {
    width: 20px;
    height: 20px;
  }
}

/* --------------------------------------------------------------------------
   15.Subscribe form
   -------------------------------------------------------------------------- */
.post-related-section + .subscribe-section,
.nextprev-section + .subscribe-section {
  margin-top: var(--margin-items);
}

.subscribe-section {
  width: 100%;
  margin: 40px auto;
}

.post-section ~ .subscribe-section {
  max-width: 1160px;
}

.subscribe-wrap {
  border-radius: var(--border-radius);
}

.subscribe-header {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  margin: 0 auto;
  background-color: var(--color-grey-100);
  padding: 24px 24px 24px 90px;
  border-radius: 16px;
}

.subscribe-header::before {
  position: absolute;
  top: -10px;
  left: -90px;
  content: url(../images/image-subscribe-email.svg);
}

.subscribe-header .subscribe-title--success,
.subscribe-header .subscribe-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-grey-900);
  margin: 0;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.subscribe-title--success {
  display: none;
}

.subscribe-title.success {
  display: none;
}

.subscribe-title.success + .subscribe-title--success {
  display: initial;
  animation: fade-in 1s;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.subscribe-form button,
.subscribe-form input {
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: var(--font-weight-primary-regular);
  background-color: var(--color-body);
}

.subscribe-form button {
  padding: 10px 24px;
  cursor: pointer;
  transition-timing-function: ease;
  transition-duration: 0.2s;
  transition-property: background-color, color;
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  outline: 0;
  font-weight: 700;
  background-color: var(--color-blue-500);
}

.subscribe-form button:hover {
  background-color: var(--color-blue-600);
}

.subscribe-form button:focus {
  background-color: var(--color-blue-700);
}

.subscribe-form input {
  display: block;
  width: 270px;
  padding: 10px 8px;
  word-break: normal;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
}

.subscribe-form input::placeholder {
  color: var(--color-grey-500);
}

.dark-mode .subscribe-form button {
  background-color: #1c5a9a;
}
.dark-mode .subscribe-form button:hover {
  background-color: #134272;
}

.dark-mode .subscribe-form input {
  color: #134272;
  background-color: var(--color-blue-400);
}
.dark-mode .subscribe-form input::placeholder {
  color: currentColor;
}

.substack-embed-wrapper {
  display: flex;
  justify-content: center;
}

.substack-iframe {
  background: white;
  border: 1px solid white;
}

#ghost-portal-root {
  display: none;
}

/* Alert
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.subscribe-form small {
  display: none;
}

.subscribe-form.loading .alert-loading,
.subscribe-form.success .alert-success,
.subscribe-form.error .alert-error {
  font-size: 10px;
  font-weight: var(--font-weight-secondary-bolder);
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: right;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-font-two);
}

/* Cover section
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.subscribe-claim {
  position: relative;
  margin: 0;
  padding: 60px;
}

.subscribe-claim.is-cover {
  padding-top: 9vh;
  padding-bottom: 9vh;
}

.subscribe-claim::before {
  z-index: -2;
  content: '';
  background-color: var(--color-one);
}

.subscribe-claim::before,
.subscribe-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.subscribe-claim h3 {
  font-size: 32px;
  line-height: 1.35;
  width: 100%;
  max-width: calc(50% - var(--margin-items) / 2);
  margin: 0;
  padding: 70px 40px;
  border-radius: var(--border-radius);
  background-color: var(--color-body);
}

.subscribe-cover {
  z-index: -1;
}

/* RWD — Subscribe form
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .subscribe-header {
    padding: 30px 15px 45px;
  }

  .subscribe-header h3 {
    font-size: 20px;
    padding: 0 0 20px 0;
  }

  .subscribe-form button {
    min-width: 100px;
  }

  .subscribe-form button,
  .subscribe-form input,
  .subscribe-form input:focus {
    font-size: 16px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .subscribe-claim h3 {
    font-size: 16px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .subscribe-header {
    padding: 30px 25px 40px;
  }

  .subscribe-header h3 {
    font-size: 32px;
    padding: 10px 0 30px;
  }
}

@media (max-width: 768px) {
  .subscribe-header {
    grid-template-columns: 1fr;
  }

  .subscribe-header input {
    width: 100%;
  }

  .subscribe-header h3 {
    min-width: 100%;
    text-align: center;
  }

  .subscribe-form {
    max-width: 100%;
    margin-left: 25px;
  }

  .subscribe-claim h3 {
    max-width: 100%;
    padding: 30px 20px;
  }

  .subscribe-form.loading .alert-loading,
  .subscribe-form.success .alert-success,
  .subscribe-form.error .alert-error {
    text-align: center;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .subscribe-claim h3 {
    font-size: 20px;
  }

  .subscribe-form button,
  .subscribe-form input {
    font-size: 16px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .subscribe-header h3 {
    font-size: 28px;
  }

  .subscribe-claim h3 {
    padding: 30px 20px;
  }
}

@media (max-width: 1024px) {
  .subscribe-header {
    padding: 24px;
  }

  .subscribe-header::before {
    display: none;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .subscribe-header h3 {
    font-size: 34px;
  }

  .subscribe-form button,
  .subscribe-form input {
    font-size: 18px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .subscribe-claim h3 {
    font-size: 24px;
    padding: 40px 30px;
  }
}

@media (max-width: 1280px) {
  .subscribe-claim {
    padding: 25px;
  }

  .subscribe-claim.is-cover {
    padding-top: 5vh;
    padding-bottom: 5vh;
  }

  .subscribe-form.loading .alert-loading,
  .subscribe-form.success .alert-success,
  .subscribe-form.error .alert-error {
    bottom: -36px;
  }
}

/* --------------------------------------------------------------------------
   16.Widgets
   -------------------------------------------------------------------------- */
.widget-wrap {
  flex-wrap: wrap;
  width: calc(100% + var(--margin-items));
  margin-left: calc(0px - var(--margin-items) / 2);
}

.widget-wrap,
.widget-content.authors {
  display: flex;
}

.widget-authors,
.widget-tags {
  flex: 1 0 50%;
  min-width: 420px;
  padding: var(--margin-items) calc(var(--margin-items) / 2) 0;
}

.widget-content {
  flex-wrap: wrap;
  padding: 54px;
  border-radius: var(--border-radius);
  background-color: var(--color-one);
}

.widget-content.authors a {
  overflow: hidden;
  flex: 1 0 calc(25% - 12px);
  min-width: 85px;
  max-width: 145px;
  margin: 6px;
  transition: transform 0.2s ease;
  border-radius: var(--border-radius);
  background-color: var(--color-body);
}

.widget-content.authors a:hover {
  transform: translateY(-2px);
}

.widget-content.tags a {
  margin: 6px;
  color: var(--color-font-one);
  border-radius: var(--border-radius-big);
  background-color: var(--color-six);
}

.widget-content.tags a:hover {
  color: var(--color-font-three);
  background-color: var(--ghost-accent-color);
}

/* Author profile image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.author-image {
  height: 117px;
}

/* Author name
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.author-name {
  font-size: 14px;
  line-height: 1.2;
  width: 100%;
  margin: 0;
  padding: 10px;
}

/* RWD — Widgets
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .widget-content.authors {
    padding: 9px;
  }

  .widget-content.authors a {
    min-width: 129px;
    max-width: calc(50% - 12px);
  }

  .widget-content.tags {
    padding: 12px;
  }

  .widget-content.tags a {
    margin: 3px;
  }
}

@media (max-width: 768px) {
  .widget-authors,
  .widget-tags {
    min-width: 100%;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .widget-content {
    padding: 9px;
  }
}

@media (max-width: 1024px) {
  .widget-section {
    padding-bottom: 4vh;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .widget-content {
    padding: 19px;
  }
}

/* --------------------------------------------------------------------------
   17.Footer
   -------------------------------------------------------------------------- */

.footer {
  flex-shrink: 0;
  max-width: unset;
  margin-inline: 0;
  padding-left: 0;
  padding-right: 0;
}

.footer-nav,
.footer-icons,
.footer-icons a {
  display: flex;
}

.footer-wrap {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  color: var(--color-grey-900);
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  padding: 64px 80px;
  flex-direction: column;
  align-items: normal;
}

@media (min-width: 430px) {
  .footer-wrap {
    align-items: center;
  }
}

@media (min-width: 768px) {
  .footer-wrap {
    align-items: normal;
  }
}

@media (min-width: 1170px) {
  .footer-wrap {
    flex-direction: row;
  }
}

/* Logo
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.footer-logo {
  flex: 0 0 25%;
  padding-right: 8%;
}

.footer-logo img {
  max-width: 150px;
  max-height: var(--footer-height-logo);
}

/* Hide dark theme logo by default */
.footer-logo-img.dark-theme {
  display: none;
}
/* Show dark theme logo on dark theme */
.dark-mode .footer-logo-img.dark-theme {
  display: block;
}
/* Hide light theme logo on dark theme */
.dark-mode .footer-logo-img {
  display: none;
}

.footer-logo-cont {
  text-align: center;
}
.footer-logo-wrap {
  display: flex;
  justify-content: center;
}
.footer-logo-wrap img {
  height: 50px;
}

@media (min-width: 768px) {
  .footer-logo-cont {
    text-align: left;
  }
  .footer-logo-wrap {
    justify-content: unset;
  }
  .footer-logo-wrap img {
    height: 60px;
  }
}
@media (min-width: 961px) and (max-width: 1280px) {
  .footer-logo {
    flex-basis: 18%;
    flex-grow: 1;
    padding-right: 5%;
  }
}
@media (min-width: 1280px) {
  .footer-logo-cont {
    margin-top: 7px;
  }
  .footer-logo-wrap img {
    height: 80px;
  }
}

/* Footer company data
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.footer-company-data {
  margin-bottom: 18px;
}

.footer-address {
  margin-bottom: 16px;
  white-space: nowrap;
}

.footer-data-row {
  display: block;
  font-weight: 300;
  line-height: 1.5;
}

.footer-data-row-header {
  font-weight: 700;
}

@media (min-width: 768px) {
  .footer-company-data {
    justify-self: end;
  }
}
@media (min-width: 1024px) {
  .footer-address {
    margin-bottom: 40px;
  }
}
@media (min-width: 1280px) {
  .footer-company-data {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-self: start;
  }
}

/* Footer navigation
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.footer-nav-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-family: var(--font-family-tertiary);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.footer-nav li {
  margin-bottom: 16px;
  list-style-type: none;
  white-space: nowrap;
}

.footer-nav-list {
  padding: 0;
  margin: 0;
}
.footer-nav-list a {
  color: var(--color-grey-900);
}

.footer-nav li {
  margin-bottom: 16px;
  list-style-type: none;
}

.footer-nav-list .link-subtitle {
  color: var(--color-grey-500);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 16px;
}

.footer-nav-column {
  display: inline-block;
}

.footer-nav-column h5 {
  display: none;
}

.footer-nav-column ul {
  display: inline;
  padding: 0;
}

@media (min-width: 430px) {
  .footer-nav-container {
    gap: 56px;
    flex-direction: row;
  }

  .footer-nav-container,
  .footer-nav {
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .footer-nav-container,
  .footer-nav {
    font-family: var(--font-family-primary);
    font-weight: 700;
    gap: 56px;
    flex-direction: row;
  }
}

/* mobile menu breakpoint */
@media (min-width: 1170px) {
  .footer-nav-container,
  .footer-nav {
    flex-direction: row;
    margin-top: 0;
  }
}

@media (min-width: 1280px) {
  .footer-nav-container,
  .footer-nav {
    grid-row: unset;
    margin-bottom: 16px;
    margin-left: 0;
    gap: 104px;
  }
}

/* Social icons
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.footer-icons {
  display: flex;
  gap: 18px;
  justify-content: center;
  height: 30px;
  margin-top: 18px;
}

.footer-icons {
  display: flex;
  gap: 18px;
  justify-content: center;
  height: 30px;
  margin-top: 18px;
}
@media (min-width: 768px) {
  .footer-icons {
    margin-top: 24px;
    justify-content: unset;
  }
}
@media (min-width: 1280px) {
  .footer-icons {
    margin-top: 47px;
  }
}

.footer-icons svg {
  width: 30px;
  height: 30px;
}

/* Copyright
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.footer-copyright {
  font-size: 9px;
  display: block;
  max-width: 250px;
  height: 25px;
  margin: 10px auto 3vh;
  padding: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .footer-copyright {
    margin-inline: 0;
  }
}

/* Codequest sign
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.footer-sign {
  display: block;
  margin-inline: auto;
  max-width: max-content;
  text-align: center;
  margin-bottom: 40px;
}

.footer-sign p {
  margin: 0;
  color: var(--color-grey-700);
  font-size: 14px;
  font-weight: 600;
}

.footer-sign svg {
  position: relative;
  bottom: -4px;
}

@media (max-width: 767px) {
  .footer-sign {
    margin-top: 50px;
    margin-bottom: 110px;
  }

  .footer-sign--member {
    margin-bottom: 40px;
  }

  .footer-wrap {
    margin-bottom: 0;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

  .footer-icons {
    flex-basis: 100%;
    width: 100%;
  }

  .footer-copyright {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* --------------------------------------------------------------------------
   18.Custom — Pages
   -------------------------------------------------------------------------- */
.custom-wrap {
  width: 100%;
  min-height: 100%;
}

.custom-wrap,
.custom-container,
.custom-content {
  display: flex;
}

.custom-container {
  flex: 1 0 57%;
  flex-direction: column;
}

.custom-content {
  align-items: center;
  flex: 1 0 auto;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  margin: 6vh auto 8vh;
  padding: 0 20px;
}

/* Image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-image {
  flex: 1 0 43%;
}

/* Header
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-header {
  flex-shrink: 0;
  width: 100%;
  max-width: 900px;
  margin: 5vh auto 0;
  text-align: center;
}

.custom-header a {
  font-size: 11px;
  font-weight: var(--font-weight-secondary-bolder);
  line-height: 1.15;
  position: relative;
  left: -15px;
  display: inline;
  height: auto;
  margin-left: 10px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.custom-header svg {
  position: relative;
  top: 3px;
  left: 0;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  margin-left: 0;
  transition: left 0.15s ease;
  fill: var(--color-font-one);
}

.custom-header a:hover svg {
  left: -4px;
}

/* Form
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-content form {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.custom-content h3 {
  font-size: 45px;
  line-height: 1.35;
  max-width: 600px;
  margin: 0 auto;
  padding: 15px 0;
}

.custom-content input {
  font-size: 20px;
  display: block;
  width: 100%;
  height: 30px;
  margin: 30px auto 0;
  padding: 20px 10px;
  text-align: center;
  word-break: break-all;
}

.custom-content input + span {
  display: block;
  width: 100%;
  height: 6px;
  margin-bottom: 50px;
  transition: background-color 0.15s ease;
  border-radius: var(--border-radius-small);
  background-color: var(--color-five);
}

.custom-content input:focus + span {
  background-color: var(--ghost-accent-color);
}

/* Alert
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-content .alert-loading,
.custom-content .alert-error {
  display: none;
}

.custom-content form.loading .alert-loading,
.custom-content form.error .alert-error {
  font-size: 10px;
  font-weight: var(--font-weight-secondary-bolder);
  position: absolute;
  right: 0;
  bottom: -50px;
  left: 0;
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Sucess info
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-content form.success,
.custom-content form + .alert-success {
  display: none;
}

.custom-content form.success + .alert-success {
  display: inline-block;
  padding: 6vh 6%;
  text-align: center;
  background-color: var(--color-body);
}

.custom-content .alert-success p {
  font-size: 17px;
  padding-bottom: 20px;
}

/* Footer
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-footer {
  line-height: 0.9;
  flex-shrink: 0;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px 15px 30px;
  text-align: center;
}

.custom-footer a {
  font-weight: var(--font-weight-secondary-bolder);
}

.custom-footer a,
.custom-footer span {
  font-size: 12px;
  display: inline;
  letter-spacing: 0.5px;
}

/* RWD — Custom pages
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .custom-content {
    margin-top: 20px;
  }

  .custom-content h3 {
    font-size: 25px;
  }

  .custom-content input {
    font-size: 16px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .custom-content h3 {
    font-size: 35px;
  }

  .custom-content input {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .custom-content input {
    margin-top: 20px;
    padding-bottom: 15px;
  }

  .custom-content input + span {
    margin-bottom: 30px;
  }
}

@media (max-width: 1024px) {
  .custom-image {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   19.Custom — Error page
   -------------------------------------------------------------------------- */
.custom-error .error-message {
  position: relative;
  width: 100%;
  padding: 0 20px;
  text-align: center;
}

.custom-error .error-message h1 {
  font-size: 200px;
  line-height: 1;
  margin: 0;
}

.custom-error .error-message p {
  font-size: 30px;
  margin-top: 20px;
  margin-bottom: 40px;
}

/* RWD — Error page
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 768px) {
  .custom-error .error-message h1 {
    font-size: 120px;
  }

  .custom-error .error-message p {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

/* --------------------------------------------------------------------------
   20.Custom — Contact page
   -------------------------------------------------------------------------- */
.custom-contact input + span {
  margin-bottom: 0;
}

.custom-contact input + input {
  margin-top: 25px;
}

.custom-contact textarea {
  font-size: 16px;
  display: block;
  width: 90%;
  min-height: 110px;
  margin: 40px auto;
  padding: 15px;
  resize: vertical;
  text-align: center;
  color: var(--color-font-one);
  border: 6px solid var(--color-five);
  border-radius: var(--border-radius-small);
}

.custom-contact textarea:focus {
  border-color: var(--ghost-accent-color);
}

/* --------------------------------------------------------------------------
   21.Custom — Tags & Authors page
   -------------------------------------------------------------------------- */
.custom-element.bottom,
.custom-element-content,
.custom-element-counter {
  display: flex;
}

.custom-element.bottom,
.custom-element-content,
.custom-element-content h2 {
  flex: 1 0 auto;
}

/* Item
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-element-wrap {
  flex-direction: column;
}

.custom-element-content {
  min-height: 60px;
  background-color: var(--color-body);
}

.custom-element-content.top {
  align-self: flex-end;
  max-width: 100%;
  padding: 15px;
  background-color: var(--color-two);
}

.custom-element-content.bottom {
  margin: 0 calc(var(--margin-items) / 2) var(--margin-items);
  padding: 12px;
  transition: background-color 0.15s ease-in-out;
  border-radius: var(--border-radius);
}

.custom-element-content.bottom:hover {
  background-color: var(--ghost-accent-color);
}

/* Title
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-element-title-wrap {
  flex: 1 0 20%;
}

.custom-element-title-wrap,
.custom-element-content.bottom h2 {
  align-self: center;
}

.custom-element-content h2 {
  margin: 0;
  padding-right: 15px;
}

.custom-element-content.bottom h2 {
  font-size: 22px;
  line-height: 1.2;
  padding-left: 15px;
  transition: color 0.15s ease-in-out;
}

.custom-element-content.bottom:hover h2 {
  color: var(--color-font-three);
}

/* Counter
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-element-counter {
  align-items: center;
  justify-content: center;
  width: 60px;
  min-height: 60px;
  transition: background-color 0.15s ease-in-out;
  border-radius: var(--border-radius);
  background-color: var(--color-one);
}

.custom-element-content.bottom:hover > div {
  background-color: var(--color-body);
}

.custom-element-counter.top {
  background-color: var(--color-three);
}

.custom-element-counter span {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-primary-regular);
}

.custom-element-counter.top span {
  font-size: 30px;
}

.custom-element-counter.bottom span {
  font-size: 24px;
}

/* Image
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-element-image {
  height: 25vh;
  min-height: 200px;
  max-height: 260px;
}

/* Meta
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.custom-element-meta {
  margin-top: 5px;
  margin-bottom: 0;
}

/* RWD — Tags & Authors page
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .custom-element.bottom,
  .custom-element-content.bottom {
    flex-basis: 80%;
  }

  .custom-element-content.bottom h2 {
    flex-basis: calc(100px - 60px);
    padding-left: 10px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .custom-element.top {
    flex-basis: calc(25% - var(--margin-items));
  }
}

@media (max-width: 1024px) {
  .custom-element-content.top,
  .custom-element-content.bottom {
    padding: 8px;
  }
}

@media (max-width: 1280px) {
  .custom-element-content h2 {
    font-size: 22px;
  }

  .custom-element-counter.top span {
    font-size: 24px;
  }
}

@media (min-width: 1281px) {
  .custom-element-content.top {
    min-height: 110px;
  }

  .custom-element-counter.top {
    flex: 0 0 80px;
  }
}

/* --------------------------------------------------------------------------
   22.Custom — Membership page
   -------------------------------------------------------------------------- */
.membership-cards,
.membership-card {
  display: flex;
  flex-wrap: wrap;
}

.membership-cards {
  justify-content: center;
  margin: 0 auto 2vh;
  padding: 60px calc(60px - var(--margin-items) / 2)
    calc(60px - var(--margin-items));
  border-radius: var(--border-radius);
  background-color: var(--color-one);
}

.membership-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  flex: 1 0 calc(33.333% - var(--margin-items) * 2);
  min-width: 260px;
  max-width: 444px;
  margin: 0 calc(var(--margin-items) / 2) var(--margin-items);
  padding-bottom: 5vh;
  text-align: center;
  border-radius: var(--border-radius);
  background-color: var(--color-body);
}

.membership-card-content {
  width: 100%;
  margin: 0 auto;
}

/* Switch
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.membership-cards[data-active-price='yearly'] [data-monthly],
.membership-cards[data-active-price='monthly'] [data-yearly] {
  display: none;
}

.membership-cards[data-active-price='monthly'] .membership-switch-wrap::before {
  transform: translateX(-100%);
}

.membership-cards[data-active-price='monthly']
  .membership-switch-wrap
  button:first-of-type,
.membership-cards[data-active-price='yearly']
  .membership-switch-wrap
  button:first-of-type
  + button {
  color: var(--color-font-three);
}

.membership-switch {
  display: none;
  flex-basis: 100%;
  width: 100%;
}

.membership-switch-wrap,
.membership-switch-wrap button {
  position: relative;
}

.membership-switch-wrap {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  min-height: 50px;
  margin: 0 auto 6vh;
  border-radius: var(--border-radius);
  background-color: var(--color-body);
}

.membership-switch-wrap::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  content: '';
  transition: transform 0.15s ease-in-out;
  background-color: var(--ghost-accent-color);
}

.membership-switch-wrap button {
  font-family: var(--font-family-primary);
  font-size: 14px;
  font-weight: var(--font-weight-primary-regular);
  line-height: 1;
  width: 50%;
  padding: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: color 0.15s ease-in-out;
  color: var(--color-font-one);
  border: 0;
  outline: none;
  background-color: transparent;
  box-shadow: none;
}

/* Small heading
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.membership-heading h3 {
  padding-top: var(--margin-items);
}

/* Title label
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.membership-card-title {
  font-size: 13px;
  margin: 0;
  padding: 8px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-font-three);
  background-color: var(--ghost-accent-color);
}

/* Price & Description
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.membership-card-price {
  font-size: 86px;
  margin: 10px 0 0 -25px;
  padding: 2vh 0 4vh;
}

.membership-card-price sup {
  font-family: var(--font-family-secondary);
  font-size: 55%;
  margin-right: 5px;
}

.membership-card-price span,
.membership-card-description {
  font-family: var(--font-family-primary);
  font-size: 20px;
  font-weight: var(--font-weight-primary-regular);
}

.membership-card-description {
  line-height: 1.8;
  margin: -1vh 25px 3vh;
}

/* Options
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.membership-card-options ul {
  margin: 0;
  padding: 0 20px 5vh;
}

.membership-card-options ul li {
  font-size: 16px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

/* Button
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.membership-card-content + a,
.membership-card-content + a + a {
  align-self: flex-end;
  margin: 0 auto;
}

/* Small footer
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.membership-cards + small {
  margin-top: 0;
  margin-bottom: 4vh;
  text-align: center;
}

/* RWD — Membership page
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 480px) {
  .membership-switch {
    margin-right: calc(var(--margin-items) / 2);
    margin-left: calc(var(--margin-items) / 2);
  }

  .membership-switch-wrap {
    max-width: 100%;
    min-height: 44px;
    margin-bottom: 5vh;
  }

  .membership-card-price {
    font-size: 50px;
  }

  .membership-card-price span,
  .membership-card-description {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  .membership-switch-wrap {
    margin-top: 1vh;
  }

  .membership-cards {
    padding: 15px calc(15px - var(--margin-items) / 2)
      calc(15px - var(--margin-items));
  }

  .membership-card-price {
    font-size: 65px;
  }

  .membership-card-options ul li {
    font-size: 15px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .membership-cards {
    padding: 25px calc(25px - var(--margin-items) / 2)
      calc(25px - var(--margin-items));
  }
}

@media (max-width: 1280px) {
  .membership-card {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   23.Custom — Account page
   -------------------------------------------------------------------------- */
.account-section,
.account-details-wrap {
  display: flex;
}

.account-section .archive-section {
  flex: 1 1 75%;
  margin-bottom: 0;
}

/* Small heading
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.account-heading {
  padding: 0;
}

.account-heading h3 {
  font-size: 17px;
  line-height: 1;
  margin: 15px;
  padding: 12px 10px;
  border-radius: var(--border-radius);
  background-color: var(--color-three);
}

/* Details
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.account-details {
  flex: 1 0 calc(25% - var(--margin-items));
  margin: 0 0 0 var(--margin-items);
  border-radius: var(--border-radius);
  background-color: var(--color-two);
  box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.07);
}

.account-details-wrap {
  flex-wrap: wrap;
  padding: 0 25px 20px;
}

.account-detail-column {
  flex-basis: auto;
  min-width: 225px;
  padding-right: 20px;
}

.account-detail-column > div {
  padding: 12px 0;
}

.account-detail-heading {
  font-size: 11px;
  font-weight: var(--font-weight-secondary-bolder);
  line-height: 1;
  position: relative;
  display: block;
  width: 100%;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
}

.account-detail-content {
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: var(--font-weight-primary-regular);
  display: inline-block;
  margin-top: 7px;
}

/* Cancel button
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.account-detail-cancel {
  width: 100%;
  margin-top: 15px;
  margin-bottom: 15px;
}

.account-detail-cancel-button {
  font-size: 14px;
  padding: 15px;
  letter-spacing: 1px;
}

.account-detail-cancel-error {
  display: none;
}

/* Billing link
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.account-detail-buttons {
  font-size: 13px;
  width: 100%;
  margin-top: 10px;
  opacity: 0.7;
}

.account-detail-buttons span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.account-detail-buttons a:hover span {
  transform: translateX(3px);
}

.account-detail-buttons a:first-child {
  margin-right: 10px;
}

.account-detail-buttons a:hover:first-child {
  text-decoration: underline;
}

/* Alerts
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
.account-detail-cancel-error,
.account-detail-alert {
  font-size: 11px;
  margin-top: 10px;
}

.account-detail-cancel-button.error + .account-detail-cancel-error {
  display: block;
}

/* RWD — Account page
   –––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 768px) {
  .account-section {
    flex-wrap: wrap;
  }

  .account-details {
    flex-basis: 100%;
    margin-top: var(--margin-items);
    margin-left: 0;
  }
}

@media (min-width: 961px) {
  .account-wrap.is-cover .account-description {
    max-width: 500px;
  }
}

/* --------------------------------------------------------------------------
   24.Custom — CtA component
   -------------------------------------------------------------------------- */

.custom_cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-family-primary);
  background-color: var(--cta-background);
  padding: 20px;
  border-radius: 16px;
  justify-content: space-between;
  padding: 24px 90px 24px 120px;
}

.custom_cta::before {
  content: url(../images/hay-duck.svg);
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
}

.custom_cta::after {
  content: url(../images/people-right.svg);
  position: absolute;
  right: -30px;
  top: -20px;
}

.custom_cta a.button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 24px;

  background: var(--cta-button-bg);
  border-radius: 4px;

  font-size: 16px;
  color: var(--cta-button-color);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 0;
}

.custom_cta .slack-button {
  border-bottom: 0;
  width: auto;
}

.custom_cta .slack-button::before {
  content: url(../images/slack-icon.svg);
  position: relative;
  top: 2px;
}

.custom_cta a.button:hover {
  border-bottom: 0;
  opacity: 0.9;
}

.custom_cta .content {
  font-size: 22px;
  font-weight: 700;
  padding-right: 16px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .custom_cta {
    padding: 24px;
  }

  .custom_cta::after {
    display: none;
  }
  .custom_cta::before {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   25.Custom — Table of contents
   -------------------------------------------------------------------------- */

.story-navigator {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.gh-toc > .toc-list {
  position: relative;
  padding-top: 4px;
  padding-left: 16px;
}

.toc-list .is-collapsible {
  padding-left: 16px;
}

.toc > .toc-list .toc-list-item {
  list-style: none !important;
  /* Unfortunately, tocbot uses 
  list-style: decimal !important;
  in their own styles */
}

.gh-sidebar {
  margin-inline: auto;
  max-width: 720px;
  display: none;
}

.toc-wrapper.toc-present {
  justify-content: flex-start;
}

.toc-wrapper.toc-present .gh-sidebar {
  margin-bottom: 40px;
  display: block;
}

.toc-list-item a {
  border-bottom: none;
}

.gh-toc .is-active-link::before {
  background-color: var(--color-yellow-500);
}

.gh-toc .toc-link {
  display: block;
  margin-bottom: 12px;
  position: relative;
}

.gh-toc .toc-link::before {
  height: 100%;
  width: 4px;
  border-radius: 4px;
  left: -16px;
}

/* Overwrite classess from tocbot library */
.toc > .toc-list li {
  list-style: decimal !important;
}
.toc-list.is-collapsible li {
  list-style: disc !important;
}

.toc-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1230px) {
  .toc-wrapper {
    flex-direction: row;
  }

  .toc-wrapper.toc-present {
    gap: 6rem;
  }

  .toc-wrapper.toc-present .gh-sidebar {
    margin-bottom: 30px;
  }

  .gh-sidebar {
    z-index: 1;
    position: sticky;
    top: 90px;
    font-size: 18px;
    max-width: 350px;
    margin-inline: unset;
  }
}

/* --------------------------------------------------------------------------
   26.Custom — About us
   -------------------------------------------------------------------------- */

.about-team {
  font-family: var(--font-family-primary);
}

.team-members-title {
  line-height: 1.2em;
  margin-bottom: 0;
  color: var(--about-us-color-primary);
  text-align: center;
  font-size: 32px;
  font-weight: bold;
}

.about-contact {
  display: none;
  flex-direction: column;
  text-align: center;
  font-family: var(--font-family-primary);
}

.about-contact h2 {
  font-size: 30px;
  font-weight: bold;
  margin-top: 80px;
  margin-bottom: 8px;
  color: var(--about-us-color-primary);
}

.about-contact p {
  margin-block: 0;
  color: var(--about-us-color-primary);
}

.team-members-description {
  display: flex;
  color: var(--about-us-color-secondary);
  font-weight: 700;
  font-size: 18px;
  font-style: italic;
  text-align: center;
  max-width: 50ch;
  margin-inline: auto;
  margin-block: 24px 40px;
}

.team-members-wrapper {
  display: flex;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 24px;
}

.team-members-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 1173px;
  margin-block: 0;
  margin-inline: 16px;
  text-align: center;
}

.team-members-container figure {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  min-width: 209px;
  margin: 0;
}
.team-member img {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 50%;
}
.team-member figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-member .name {
  font-size: 22px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--about-us-color-primary);
}

.team-members-container .role {
  font-size: 16px;
  font-weight: 700;
  color: var(--about-us-color-tertiary);
  margin: 0;
}
.team-members-container a {
  display: block;
}
.team-members-container svg {
  display: block;
  width: 40px;
  height: 40px;
  margin-inline: auto;
}

.team-members-link {
  background-color: var(--cta-button-bg);
  color: white;
  height: unset;
  font-weight: bold;
  border-radius: 8px;
  margin-bottom: 60px;
  margin-top: 24px;
  padding: 20px 104px;
  text-align: center;
  margin-inline: auto;
}

.team-members-link span {
  font-style: italic;
  font-weight: 900;
}

@media (min-width: 768px) {
  .team-members-title {
    font-size: 50px;
  }

  .team-member img {
    width: 158px;
    height: 158px;
  }

  .team-member figcaption {
    gap: 8px;
  }

  .team-member .name {
    font-size: 24px;
  }

  .team-member .role {
    font-size: 18px;
  }

  .team-members-container svg {
    width: 24px;
    height: 24px;
  }

  .team-members-description {
    font-size: 20px;
    font-weight: 400;
    margin-block: 24px 64px;
  }

  .about-contact {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .team-members-wrapper {
    margin-bottom: 48px;
  }

  .team-members-title {
    font-size: 60px;
  }

  .team-member .name {
    font-size: 26px;
  }

  .team-member img {
    width: 180px;
    height: 180px;
  }

  .team-members-description {
    font-size: 22px;
    margin-block: 24px 80px;
  }
}

/* --------------------------------------------------------------------------
   27.Custom — Theme Toggle
   -------------------------------------------------------------------------- */

.theme-toggle-container {
  position: relative;
  display: none;
  align-items: center;
}

.theme-toggle-cont-mobile {
  display: inline-flex;
}

.theme-toggle-checkbox {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.theme-toggle-background {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.theme-toggle-background svg {
  width: 21px;
  height: 21px;
}

.theme-toggle-checkbox:focus-visible + .theme-toggle-background {
  outline: 6px auto var(--ghost-accent-color);
}

.sun-svg {
  display: none;
}
.dark-mode .sun-svg {
  display: block;
}
.moon-svg {
  display: block;
}
.dark-mode .moon-svg {
  display: none;
}

@media (min-width: 1170px) {
  .theme-toggle-container {
    display: inline-flex;
  }
  .theme-toggle-cont-mobile {
    display: none;
  }

  .theme-toggle-background svg {
    width: 22px;
    height: 22px;
  }
}

/* --------------------------------------------------------------------------
   28.Custom — Newsletter modal
   -------------------------------------------------------------------------- */
#newsletter-modal-intersection-pixel {
  position: absolute;
  top: 0;
  height: 30%;
  z-index: -1;
  pointer-events: none;
}

.newsletter-modal {
  border: 0;
  padding: 0;
  background: transparent;
}

.newsletter-modal .content-wrapper {
  display: grid;
  background-color: var(--color-body);
  max-width: 550px;
  /* Fix background color bleed - border-radius directly
  in dialog won't display colors properly in dark theme */
  border-radius: 8px;
  overflow: hidden;
}

.newsletter-image-container {
  display: none;
  width: 100%;
  background-image: url(../images/modal-image.png);
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--color-blue-100);
  background-size: contain;
}

.newsletter-modal .content {
  padding: 24px;
}

.newsletter-modal .close-button {
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  background: none;
  border: 0;
  color: var(--color-grey-600);
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsletter-modal .close-button:focus-visible {
  outline: 2px solid var(--color-grey-600);
  border-radius: 8px;
}

.newsletter-modal .title {
  color: var(--color-font-one);
  font-size: 22px;
  line-height: 26px;
  font-family: var(--font-family-primary);
  font-weight: 700;
  margin: 0;
  max-width: 90%;
}

.newsletter-modal .text-container {
  margin: 16px 0 32px;
}

.newsletter-modal .text {
  padding: 0;
  margin: 0;
  color: var(--color-font-two);
  font-family: Poppins;
  font-size: 12px;
  line-height: 28px;
}

.newsletter-modal .list {
  list-style-type: none;
}

.newsletter-modal .subscribe-form .email-container {
  width: 100%;
}

.newsletter-modal .subscribe-form .email-label {
  font-size: 12px;
  margin-left: 8px;
  color: var(--color-font-two);
}

.newsletter-modal .subscribe-form .email-input {
  border-radius: 4px;
  padding: 8px;
  border: 1px solid var(--color-grey-300);
  background: var(--color-grey-100);
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  width: 100%;
}

.dark-mode .newsletter-modal .subscribe-form .email-input {
  background: var(--color-blue-400);
}

.newsletter-modal .subscribe-form .keep-me-updated-button {
  font-size: 16px;
  padding: 10px 24px;
  line-height: 18.5px;
}

.newsletter-cta-btn {
  display: inline-block;
  height: 46px;
  border: none;
  border-radius: 3px;
  background-color: var(--cta-button-bg);
  color: var(--color-white);
  padding: 12px 24px;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
}

.newsletter-cta-btn:hover {
  cursor: pointer;
}

.newsletter-cta-text {
  font-size: 11px;
  color: var(--color-grey-600);
  margin-top: 8px;
}

.newsletter-cta-text a {
  color: var(--color-grey-600);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .newsletter-modal .subscribe-form {
    margin-left: 0;
  }

  .newsletter-modal .subscribe-form .keep-me-updated-button {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .newsletter-image-container {
    display: block;
  }
  .newsletter-modal .content-wrapper {
    max-width: 900px;
    grid-template-columns: 1fr 1fr;
  }
  .newsletter-modal .content {
    padding: 40px;
  }
  .newsletter-modal .title {
    max-width: 370px;
    font-size: 30px;
    line-height: 36px;
    font-weight: 800;
  }
  .newsletter-modal .text {
    font-size: 16px;
    text-wrap: nowrap;
  }
}

/* --------------------------------------------------------------------------
   29.Custom — Resume form component
   -------------------------------------------------------------------------- */

.post-content .resume-form-section {
  padding: min(6.4vmax, 120px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--color-font-two);
  background-color: var(--resume-form-bg);
  text-align: left;
}

.post-content .resume-form-heading {
  font-size: clamp(1.7em, 5vw, 3.3em);
  margin: 0;
  font-weight: 700;
  line-height: 1.05em;
  letter-spacing: -0.01em;
  color: var(--color-font-one);
}

.post-content .resume-form-subheading {
  font-size: clamp(1.05em, 2vw, 1.55em);
  font-weight: 500;
  line-height: 1.2em;
  margin: 0.6em 0 0;
  max-width: 40em;
}

.post-content #resume-form {
  margin: min(3.2vmax, 64px) 0 0;
  display: flex;
  flex-shrink: 0;
  width: 100%;
  flex-direction: column;
}

.post-content .resume-form-fields {
  max-width: 500px;
  display: flex;
  width: 100%;
  padding: 3px;
  background: var(--resume-form-fields-bg);
  border: 1px solid var(--resume-form-fields-border);
  border-radius: 4px;
  align-items: center;
}

.post-content .resume-form-fields input {
  width: 100%;
  margin: 0 3px 0 0;
  padding: 12px 16px;
  border: 0;
  background: var(--resume-form-fields-bg);
  font-size: 1.1em;
  height: 2.9em;
  min-height: 46px;
}

.post-content .resume-form-button {
  font-size: 1.05em;
  background-color: var(--cta-button-bg);
  appearance: none;
  color: var(--cta-button-color);
  height: 4.6rem;
  padding: 0 1.2em;
  outline: 0;
  border: 0;
  font-weight: 600;
  line-height: 1em;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 3px;
  transition: opacity 0.2s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
}

.post-content .resume-form-button:hover {
  background-color: var(--cta-button-bg-hover);
}

.post-content .resume-form-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.post-content .resume-form-button:disabled:hover {
  background-color: var(--cta-button-bg);
}

.post-content #resume-form.loading .resume-form-button-text {
  color: transparent;
}

.post-content .resume-form-button-loader {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}

.post-content #resume-form.loading .resume-form-button-loader {
  display: flex;
}

.post-content .resume-form-paragraph {
  margin: 0;
  line-height: 1.6;
  white-space: pre-wrap;
}

.post-content .resume-form-success {
  display: none;
  color: var(--color-notification-success);
  margin: 8px 0;
}

.post-content .resume-form-error {
  display: none;
  color: var(--color-notification-false);
  margin: 8px 0;
}

.post-content #resume-form.success .resume-form-success {
  display: block;
}

.post-content #resume-form.error .resume-form-error {
  display: block;
}

@media (max-width: 640px) {
  .post-content .resume-form-section {
    padding: min(6.4vmax, 120px) min(4vmax, 80px);
  }

  .post-content .resume-form-fields input {
    height: 4.2rem;
    padding: 6px 12px;
    font-size: 1em;
  }

  .post-content .resume-form-button {
    font-size: 1em;
    height: 4.2rem;
  }
}
