/* Table styles scoped to .post-content-wrapper */
p,span, li {
  font-size: 18px;
}
.post-content-wrapper table {
  width: 100%;
  border-collapse: collapse;
}
.post-content-wrapper table thead {
  background-color: #f0f0f0;
}
.post-content-wrapper table thead tr {
  background-color: #f7f7f7;
}
.post-content-wrapper table thead th {
  color: #333;
  font-weight: 600;
  padding: 8px;
}
.post-content-wrapper table tr {
  border-bottom: 1px solid #e0e0e0;
}
.post-content-wrapper table tbody tr:nth-child(odd) {
  background-color: #fff;
}
.post-content-wrapper table tbody tr:nth-child(even) {
  background-color: #f7f7f7;
}
.post-content-wrapper table td,
.post-content-wrapper table th {
  background-color: transparent !important;
  padding: 8px;
  color: #333;
}
/* Table of Contents
/* ------------------------------------------------------------

This is a development CSS file which is built to a minified
production stylesheet in assets/built/screen.css

1.  Global Styles
2.  Layout
3.  Site Header
4.  Site Navigation
5.  Post Feed
6.  Single Post
  6.1. Post Byline
  6.2. Subscribe
  6.3. Read More
  6.4. Comments
7.  Author Template
8.  Tag Template
9.  Error Template
10.  Site Footer
11. Dark Mode
12. Lightbox

*/

/* 1. Global - Set up the things
/* ---------------------------------------------------------- */

/* Import CSS reset and base styles */
@import 'global.css';
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Global link styles */
a {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

:root {
  /* Colours */
  --color-green: #a4d037;
  --color-yellow: #fecd35;
  --color-red: #f05230;
  --color-darkgrey: #15171a;
  --color-midgrey: #738a94;
  --color-lightgrey: #f1f1f1;
  --color-secondary-text: #979797;
  --color-border: #e1e1e1;
  --color-wash: #e5eff5;
  --color-darkmode: #151719;

  /*
    An accent color is also set by Ghost itself in
    Ghost Admin > Settings > Brand

    --ghost-accent-color: {value};

    You can use this variable throughout your styles
     */

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans' sans-serif;
  --font-serif: Georgia, Times, serif;
  --font-mono: Menlo, Courier, monospace;
}

body {
  padding: 0px !important;
  background-color: #fff !important;
}

/* 2. Layout - Page building blocks
/* ---------------------------------------------------------- */

.viewport {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

.site-content {
  flex-grow: 1;
}

/* Full width page blocks */
.outer {
  position: relative;
  padding: 0 max(4vmin, 20px);
}

.outer::before,
.outer::after {
  content: none;
}

/* Centered content container blocks */
.inner {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 3. Site Header
/* ---------------------------------------------------------- */

.site-header {
  position: relative;
  color: #fff;
  background: var(--ghost-accent-color);
}

.site-header-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fw-700 {
  font-weight: 700;
}

.header-features {
  z-index: 10;
  display: flex;
  column-gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.header-feature {
  display: flex;
  column-gap: 1rem;
  align-items: center;
}

.site-header-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15vmin;
  padding-bottom: 15vmin;
  text-align: center;
  color: var(--color-darkgrey);
}

.has-cover .site-header-content {
  min-height: 560px;
  background-color: var(--ghost-accent-color);
  color: #fff;
}

.has-cover .site-header-content::before {
  content: none;
}

.site-header-content.left-aligned {
  padding-bottom: 0;
  text-align: left;
}

.has-cover .site-header-content.left-aligned {
  align-items: flex-end;
  padding-bottom: max(4vmin, 32px);
}

.site-header-content.no-content {
  padding-top: 0;
  padding-bottom: 2vmin;
}

.site-header-inner {
  position: relative;
  max-width: 600px;
}

.loan-type {
  position: relative;
  width: 100%;
  max-width: 300px; /* Adjust as needed */
  margin: 0 auto;
}
.loan-type.other-loans {
  background: var(--slate-100, #f1f5f9);
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  display: flex;
}

.loan-type.other-loans .loan-type-text {
  background: transparent;
  position: static;
  font-size: 1.6rem;
  color: #4d38ff;
  text-align: center;
}

.loan-type-image {
  width: 100%;
  background-size: cover;
  background-position: center;
  min-width: 210px;
  height: auto; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.loan-type-text {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 80%;
  background-color: white;
  padding: 10px 18px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.loan-types {
  display: grid;
  gap: 20px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  transform: translate(0px, -60%);
}

.site-header-content.left-aligned .site-header-inner {
  align-items: flex-start;
}

.site-logo {
  flex-shrink: 0;
  margin: 0 auto;
  max-height: 120px;
}

.site-header-content.left-aligned .site-logo {
  margin-right: auto;
  margin-left: 0;
  max-height: 96px;
}

.title-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 8px 16px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  background: #ffffff23;
  border-radius: 24px;
  margin-bottom: 1.3rem;
}

.site-title {
  z-index: 10;
  margin: 0;
  padding: 0;
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 1.3rem;
}

.has-serif-title .site-title {
  font-family: var(--font-serif);
}

.has-cover .site-title {
  font-size: 6rem;
}

.site-header-content.left-aligned .site-title {
  font-size: 4.4rem;
}

.has-cover .site-header-content.left-aligned .site-title {
  font-size: 4.6rem;
}

/* Small gap between nav and header content on home */
.home-template .site-header-content {
  margin-top: 12px;
}

.site-description {
  display: inline-block;
  z-index: 10;
  max-width: 960px;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.1;
}

:is(.site-logo, .site-title) + .site-description {
  max-width: 420px;
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
}

.site-logo + .site-description {
  margin-top: 20px;
}

.site-title + .site-description {
  color: var(--color-secondary-text);
}

.has-cover .site-description {
  letter-spacing: -0.005em;
  color: #fff;
}

.has-cover :is(.site-logo, .site-title) + .site-description {
  font-size: 1.6rem;
}

.has-cover
  .site-header-content.left-aligned
  :is(.site-logo, .site-title)
  + .site-description {
  font-size: 2.2rem;
}

.site-main {
  position: relative;
  z-index: 20;
  padding-top: 100px;
}

.latest-updates .latest-updates-feed {
  display: flex;
  flex-direction: column;
}

.latest-updates .latest-update-card-meta-date,
.post-card-meta-date {
  color: var(--zinc-500, #71717a);
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: normal;
  margin-bottom: 10px;
  display: block;
}
.latest-updates .latest-update-card-title {
  color: var(--black, #1e1e1e);
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 8px 0;
  transition: color 0.2s ease;
}

.latest-update-card-content-link:hover .latest-update-card-title {
  color: #4d38ff;
}

.latest-updates .latest-update-card:not(:first-child):hover {
  background: rgba(77, 56, 255, 0.02);
  border-radius: 12px;
  margin: 0 -12px;
  padding: 8px 12px;
}

.latest-updates .latest-update-card-0 .latest-update-card-image-link {
  position: relative;
  z-index: 1;
}

.latest-updates .latest-update-card-0 .floating-tag-link {
  width: 100%;
  padding: 24px;
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}
.home-post-card-wrapper .post-card-image-link .floating-tag-link {
  width: 100%;
  padding: 16px;
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}
.post-tag-orange {
  border-radius: 40px;
  background: var(--orange, #ff7a00);
  font-family: 'Plus Jakarta Sans';
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 166.667% */
  color: var(--white, #fff);
  padding: 8px;
  min-width: 80px;
}
.latest-updates .latest-update-card-0 .floating-tag-link .post-tag-primary,
.home-post-card-wrapper
  .post-card-image-link
  .floating-tag-link
  .post-tag-primary {
  border-radius: 40px;
  background: var(--white, #fff);
  font-family: 'Plus Jakarta Sans';
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 166.667% */
  color: var(--black, #1e1e1e);
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-post-card-wrapper
  .post-card-image-link
  .floating-tag-link
  .post-tag-primary {
  padding: 8px;
  min-width: 80px;
}
.latest-updates .latest-update-card-0 .floating-tag-link .float-read-more {
  height: 42px;
  width: 42px;
  background: var(--white, #fff);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.latest-updates .updates-title {
  color: var(--zinc-700, #3f3f46);
  font-family: 'Plus Jakarta Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px; /* 162.5% */
  text-transform: uppercase;
}
.latest-updates .updates-highlight {
  color: var(--black, #1e1e1e);
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 16px;
  margin-bottom: 4px;
}

.latest-updates .latest-update-card-image {
  border-radius: 4px;
}

.latest-updates .latest-update-card-0 {
  border-radius: 10px;
}

.post-tag {
  display: flex;
  align-items: flex-end;
}

.popular-topics-section {
  margin: 60px auto;
  max-width: 1400px;
  padding: 0 20px;
}

.popular-topics-header {
  text-align: center;
  margin-bottom: 48px;
}

.popular-topics-subtitle {
  color: #6b7280;
  font-size: 1.8rem;
  font-weight: 400;
  margin: 12px 0 0 0;
  line-height: 1.4;
}

.popular-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 28px;
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.topic-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.topic-icon svg {
  width: 36px;
  height: 36px;
}

.topic-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #1f2937;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.topic-card-1 {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.9) 0%, rgba(99, 102, 241, 0.85) 100%);
  color: white;
  backdrop-filter: blur(10px);
}
.topic-card-1 .topic-title {
  color: white;
}

.topic-card-2 {
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.9) 0%, rgba(16, 185, 129, 0.85) 100%);
  color: white;
  backdrop-filter: blur(10px);
}
.topic-card-2 .topic-title {
  color: white;
}

.topic-card-3 {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.9) 0%, rgba(245, 158, 11, 0.85) 100%);
  color: white;
  backdrop-filter: blur(10px);
}
.topic-card-3 .topic-title {
  color: white;
}

.topic-card-4 {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.9) 0%, rgba(239, 68, 68, 0.85) 100%);
  color: white;
  backdrop-filter: blur(10px);
}
.topic-card-4 .topic-title {
  color: white;
}

.topic-card-5 {
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.9) 0%, rgba(139, 92, 246, 0.85) 100%);
  color: white;
  backdrop-filter: blur(10px);
}
.topic-card-5 .topic-title {
  color: white;
}

.topic-card-6 {
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.9) 0%, rgba(6, 182, 212, 0.85) 100%);
  color: white;
  backdrop-filter: blur(10px);
}
.topic-card-6 .topic-title {
  color: white;
}

.topic-card-7 {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.9) 0%, rgba(20, 184, 166, 0.85) 100%);
  color: white;
  backdrop-filter: blur(10px);
}
.topic-card-7 .topic-title {
  color: white;
}

.topic-card-8 {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.9) 0%, rgba(249, 115, 22, 0.85) 100%);
  color: white;
  backdrop-filter: blur(10px);
}
.topic-card-8 .topic-title {
  color: white;
}

@media screen and (min-width: 768px) {
  .popular-topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .popular-topics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media screen and (min-width: 992px) {
  .popular-topics .popular-topics-tag svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .popular-topics .popular-topics-tags .popular-topics-tag {
    font-size: 16px;
    padding: 20px 24px;
    min-height: 72px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .popular-topics .popular-topics-tags {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .popular-topics .popular-topics-tags {
    font-size: 14px;
    gap: 10px;
  }
  .popular-topics .popular-topics-tag svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .popular-topics .popular-topics-tags .popular-topics-tag {
    gap: 10px;
    padding: 16px 18px;
    min-height: 60px;
  }
}
@media screen and (max-width: 767px) {
  .topic-title {
    font-size: 1.6rem;
  }

  .topic-card {
    padding: 24px 20px;
    min-height: 160px;
  }

  .topic-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .topic-icon svg {
    width: 28px;
    height: 28px;
  }
}

@media screen and (max-width: 400px) {
  .topic-title {
    font-size: 1.4rem;
  }

  .topic-card {
    padding: 20px 16px;
    min-height: 140px;
  }

  .popular-topics .popular-topics-tag svg {
    width: 28px;
    height: 28px;
  }
  .popular-topics .popular-topics-tags .popular-topics-tag {
    gap: 8px;
    padding: 14px 16px;
    font-size: 13px;
    min-height: 56px;
  }
}

.post-tag a {
  color: var(--zinc-400, #a1a1aa);
  leading-trim: both;
  text-edge: cap;
  font-family: 'Plus Jakarta Sans';
  font-size: 12px;
  font-style: normal;
  line-height: normal;
  font-weight: 500;
  width: max-content;
  gap: 10px;
  border-radius: 40px;
  border: 1px solid var(--zinc-400, #a1a1aa);
  line-height: normal;
  padding: 8px;
  min-width: 80px;
}

.read-more-link-tag {
  color: var(--Blue, #4d38ff);
  font-family: 'Plus Jakarta Sans';
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border-bottom: 2px solid var(--Blue, #4d38ff);
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.read-more-link-tag:hover {
  color: #3d28cc;
  border-bottom-color: #3d28cc;
  transform: translateX(4px);
}

.home-post-card-wrapper .post-tag-primary {
  text-align: center;
}

.latest-updates .latest-updates-feed {
  margin-top: 40px;
}

.home-post-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-ellipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2; /* Number of lines to show */
  max-height: 3em; /* Adjust based on line height */
  line-height: 1.5em; /* Adjust based on your font size */
}
.home-post-card-wrapper .post-card-image-link {
  margin-bottom: 0;
}
.home-post-card-wrapper .post-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-post-card-wrapper .post-card-content .read-more-link {
  margin-top: 8px;
}
.home-post-card-wrapper .post-card-image {
  border-radius: 12px;
}
.load-more {
  border-radius: 40px;
  background: var(--Green, #00ef8a);
  color: var(--black, #1e1e1e);
  font-family: 'Plus Jakarta Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  display: flex;
  padding: 17px 31px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}

.popular-topics-header .post-feed-title {
  margin-top: 0;
}

.latest-updates .post-feed-header .post-feed-title,
.latest-news .post-feed-header .post-feed-title,
.more-articles .post-feed-header .post-feed-title {
  text-align: center;
}
.more-articles .post-feed-header,
.latest-updates .post-feed-header {
  margin-top: 50px;
}

.latest-news {
  margin-top: 100px;
}

@media screen and (max-width: 767px) {
  .latest-news {
    margin-top: 60px;
  }
}

@media screen and (max-width: 767px) {
  .post-latest-news,
  .post-more-articles {
    padding: 0 20px;
  }
}

.latest-updates .latest-update-card:not(:first-child) {
  display: flex;
  gap: 24px;
  padding: 8px 0;
}
.latest-updates .updates-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  grid-column-gap: 25px;
}
.latest-updates .updates-wrapper .updates-title:not(:first-child) {
  grid-column-start: 4;
}
.latest-update-card-0 .updates-title {
  display: none;
}
@media screen and (max-width: 991px) {
  .latest-updates .updates-wrapper .updates-title:not(:first-child) {
    display: none;
  }
  .latest-update-card-0 .updates-title {
    margin-top: 60px;
    display: block;
  }
  .latest-updates .updates-wrapper {
    display: flex;
  }
}

.latest-updates
  .latest-update-card:not(:first-child)
  .latest-update-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.latest-update-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  max-height: 4em; /* Adjust based on line height */
  line-height: 1.5em; /* Adjust based on your font size */
}

.latest-updates
  .latest-update-card:not(:first-child)
  .latest-update-card-image {
  width: 220px;
  max-width: 220px;
  min-width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}
.gh-content.post-content-wrapper {
  max-width: 1200px;
  margin-inline: auto;
  column-gap: 60px;
}

.gh-content .post-content {
  max-width: calc(100% - 340px);
  width: calc(100% - 340px);
}
@media screen and (max-width: 767px) {
  .latest-updates
    .latest-update-card:not(:first-child)
    .latest-update-card-image {
    width: 140px;
    max-width: 140px;
    min-width: 140px;
    height: 100px;
  }

  .latest-updates .latest-update-card:not(:first-child) {
    gap: 16px;
  }
  .gh-content .post-content {
    width: 100%;
    max-width: 100%;
  }
  .gh-content.post-content-wrapper {
    flex-direction: column;
  }
}

.footer-wrapper {
  display: flex;
  overflow: hidden;
  position: relative;
  flex-direction: column;
}

.footer-wrapper .row {
  display: flex;
  flex-wrap: wrap;
}

.footer-wrapper .align-top {
  align-items: flex-start;
}

.footer-wrapper .gutter-48 {
  gap: 48px;
}

.footer-wrapper .justify-space-between {
  justify-content: space-between;
}
.footer-bg-1,
.footer-bg-2,
.footer-bg-3 {
  position: absolute;
  bottom: 0;
  z-index: 0;
  height: auto;
}

.footer-bg-1 {
  left: 0;
  width: 1009px;
  height: 322px;
}

.footer-bg-2 {
  left: 25%;
  width: 1406px;
  height: 322px;
}

.footer-bg-3 {
  right: 0;
  width: 1063px;
  height: 322px;
}
.footer-wrapper .footer-container {
  max-width: 100%;
  width: 100%;
  background: #ffffff;
  border-radius: 0px 0px 45px 45px;
  padding-top: 28px;
  padding-bottom: 28px;
  position: relative;
  z-index: 10;
}
.social-wrapper .footer-link {
  font-size: 0.875rem; /* Equivalent to tw-text-sm */
  border: 1px solid #71717a; /* Equivalent to tw-border, tw-border-solid, and tw-border-zinc-500 */
  fill: white; /* Equivalent to tw-fill-white */
  border-radius: 9999px; /* Equivalent to tw-rounded-full */
  transition: background-color 0.3s, border-color 0.3s; /* Smooth transition for hover effects */
}

.social-wrapper .footer-link:hover {
  background-color: white; /* Equivalent to hover:tw-bg-white */
  border-color: white; /* Equivalent to hover:tw-border-white */
}

.social-wrapper .footer-link:hover svg {
  fill: #000000; /* Equivalent to tw-fill-primary-black */
  stroke: #000000; /* Equivalent to tw-stroke-primary-black */
}

.social-wrapper .links a.footer-link.button-link {
  text-decoration: none; /* Equivalent to tw-no-underline */
  color: white !important; /* Equivalent to tw-text-white */
  height: 60px; /* Equivalent to tw-h-[60px] */
  padding-left: 1.25rem; /* Equivalent to tw-px-5 (5 * 0.25rem) */
  padding-right: 1.25rem; /* Equivalent to tw-px-5 (5 * 0.25rem) */
  display: flex; /* Equivalent to tw-flex */
  align-items: center; /* Equivalent to tw-items-center */
  justify-content: center; /* Equivalent to tw-justify-center */
  transition: color 0.3s; /* Smooth transition for hover effects */
}

.social-wrapper .links a.footer-link.button-link:hover {
  color: #000000 !important; /* Equivalent to hover:tw-text-primary-black */
}

@media screen and (max-width: 767px) {
  .footer-wrapper .footer-container {
    border-radius: 0px 0px 35px 35px;
    padding: 0 20px 30px;
  }
  .social-wrapper {
    padding-top: 0;
  }
}

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

.footer-wrapper .footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1px;
  gap: 6px;
}

.footer-wrapper .footer-quick-links .footer-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
  color: #131d43;
}

@media (min-width: 1024px) {
  .footer-wrapper .footer-col {
    align-items: flex-start;
  }
}

.footer-wrapper .footer-logo {
  width: 120px;
  height: 28px;
}
.footer-wrapper img.footer-logo {
  width: 140px;
  height: auto;
}

@media (min-width: 1024px) {
  .footer-wrapper .footer-logo {
    width: 240px;
    height: 54px;
  }
}

.footer-wrapper .footer-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

@media (max-width: 991px) {
  .footer-wrapper .footer-links {
    row-gap: 1.6rem;
    margin-top: 1.6rem;
  }
}

@media (min-width: 1024px) {
  .footer-wrapper .footer-links {
    flex-direction: row;
    gap: 3px;
  }
}
.footer-wrapper .email-send-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.email-send-wrapper p {
  color: #131d43;
  font-weight: 600;
  text-align: right;
}

.email-send-wrapper .email-send {
  height: 4.8rem;
  border: 1px solid black;
  padding: 0.25rem;
  border-style: solid;
  border-radius: 9999px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.email-send-wrapper .email-send button {
  background-color: #131d43;
  border-radius: 9999px;
  padding-left: 2.4rem;
  padding-right: 2.4rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  color: white;
  font-size: 0.875rem;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .email-send-wrapper {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .email-send-wrapper {
    grid-column: span 2;
  }
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 120px;
  width: 100%;
  max-width: 1100px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-column-title {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(19, 29, 67, 0.6);
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.footer-wrapper .footer-link {
  text-decoration: none;
  color: #131d43 !important;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.6;
  transition: color 0.2s ease;
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-wrapper .footer-link:hover {
  color: #4d38ff !important;
}

.footer-link .external-link-icon {
  font-size: 1.3rem;
  opacity: 0.6;
  margin-left: 4px;
}

@media screen and (max-width: 767px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.featured-article-section {
  margin-bottom: 60px;
  margin-top: -80px;
}

.featured-article-header {
  margin-bottom: 32px;
}

.featured-article-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: #f9fafb;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.featured-article-card:hover {
  background: #f3f4f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.featured-article-link {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-decoration: none;
  color: inherit;
}

.featured-article-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.featured-article-tag {
  font-size: 1.4rem;
  color: #6b7280;
  font-weight: 400;
  margin: 0;
}

.featured-article-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin: 0;
  transition: color 0.2s ease;
}

.featured-article-link:hover .featured-article-title {
  color: #4d38ff;
}

.featured-article-excerpt {
  font-size: 1.6rem;
  line-height: 1.65;
  color: #4b5563;
  margin: 0;
}

.featured-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  color: #6b7280;
}

.featured-article-date {
  font-weight: 400;
}

.meta-separator {
  color: #9ca3af;
}

.featured-article-reading-time {
  font-weight: 400;
}

.featured-article-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.featured-article-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-article-link:hover .featured-article-image {
  transform: scale(1.02);
}

.popular-topics-section {
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  .featured-article-link {
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 40px;
  }

  .featured-article-content {
    flex: 1;
    gap: 20px;
  }

  .featured-article-image-wrapper {
    width: 45%;
    flex-shrink: 0;
  }

  .featured-article-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
  }

  .featured-article-tag {
    font-size: 1.4rem;
  }

  .featured-article-title {
    font-size: 3.6rem;
    line-height: 1.2;
  }

  .featured-article-excerpt {
    font-size: 1.7rem;
    line-height: 1.65;
  }

  .featured-article-meta {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .featured-article-section {
    margin-bottom: 40px;
    margin-top: -40px;
  }

  .featured-article-card {
    padding: 24px;
  }

  .featured-article-link {
    gap: 20px;
  }

  .featured-article-content {
    gap: 14px;
  }

  .featured-article-tag {
    font-size: 1.3rem;
  }

  .featured-article-title {
    font-size: 2.4rem;
    line-height: 1.25;
  }

  .featured-article-excerpt {
    font-size: 1.5rem;
    line-height: 1.6;
  }

  .featured-article-meta {
    font-size: 1.3rem;
  }

  .featured-article-image {
    height: 220px;
  }
}

.popular-topic-blog .popular-topic-image {
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) -50.33%,
      rgba(0, 0, 0, 0.6) 100%
    ),
    url(<path-to-image>) lightgray -28.959px 0px / 109.341% 98.261% no-repeat;
}

.popular-topic-blog {
  position: relative;
}

.popular-topic-blog .floating-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 3rem;
  color: white;
}
.popular-topic-blog
  .floating-content
  a:not(.tag):not(.popular-topic-content-link) {
  display: none;
}
.popular-topic-blog .floating-content .post-tag .tag {
  text-align: center;
  margin-bottom: 8px;
}

@media (min-width: 1024px) {
  .footer-wrapper .footer-link-text {
    line-height: 1.5;
  }
}
@media (min-width: 992px) {
  .is-head-stacked.has-cover .site-header-content {
    padding-top: calc(19vmin + 120px);
  }
  .header-features {
    max-width: 1100px;
    justify-content: space-between;
  }
  .loan-types {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  .latest-updates .latest-updates-feed {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 18px;
  }
  .popular-topics-section .popular-topics-header .post-feed-title,
  .latest-updates .post-feed-header .post-feed-title,
  .latest-news .post-feed-header .post-feed-title,
  .more-articles .post-feed-header .post-feed-title {
    font-size: 4.5rem;
    line-height: 1.5;
    margin: 0;
  }
  .latest-updates .updates-highlight {
    margin-top: 50px;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
  }

  .latest-updates .latest-updates-feed .latest-update-card-0 {
    grid-column: span 3 / span 3;
    grid-row: span 4 / span 4;
  }

  .latest-updates .latest-update-card-image {
    border-radius: 11px;
  }

  .latest-updates .latest-update-card-0 {
    border-radius: 14px;
  }
  .latest-updates .latest-update-card .latest-update-card-image {
    margin-top: 16px;
  }
  .latest-updates
    .latest-updates-feed
    .latest-update-card-0
    .latest-update-card-meta-date,
  .post-card-meta-date {
    color: var(--black, #1e1e1e);
  }
  .latest-updates
    .latest-updates-feed
    .latest-update-card-0
    .latest-update-card-title {
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .latest-updates .latest-update-card-meta-date,
  .post-card-meta-date,
  .popular-topic-meta-date {
    font-size: 15px;
  }
  .latest-updates .latest-updates-feed .latest-update-card-1 {
    grid-column: span 2 / span 2;
    grid-column-start: 4;
  }

  .latest-updates .latest-updates-feed .latest-update-card-2 {
    grid-column: span 2 / span 2;
    grid-column-start: 4;
    grid-row-start: 2;
  }

  .latest-updates .latest-updates-feed .latest-update-card-3 {
    grid-column: span 2 / span 2;
    grid-column-start: 4;
    grid-row-start: 3;
  }

  .latest-updates .latest-updates-feed .latest-update-card-4 {
    grid-column: span 2 / span 2;
    grid-column-start: 4;
    grid-row-start: 4;
  }
  .latest-updates .latest-update-card-title,
  .popular-topic-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
  }

  .latest-news .latest-news-feed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 18px;
    margin-top: 50px;
  }
  .home-post-card-wrapper .post-card-content .text-ellipsis {
    min-height: 4.8rem;
  }
  .more-articles .more-articles-feed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 18px;
    margin-top: 50px;
  }

  .footer-wrapper .footer {
    padding-left: 0;
    padding-right: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .footer-wrapper img.footer-logo {
    width: 233px;
    height: auto;
  }

  .footer-wrapper .footer-link {
    font-size: 1.8rem;
  }

  .footer-wrapper .footer-quick-links .footer-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .footer-wrapper .footer-quick-links .row .col {
    row-gap: 16px;
  }
}
@media (max-width: 991px) {
  .site-header-content {
    padding-top: calc(19vmin + 32px);
  }

  .header-features {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1.6rem;
  }
  .header-feature-separator {
    display: none;
  }
  .loan-type-text {
    font-size: 1.2rem;
  }
  .latest-updates .latest-update-card-1 .latest-update-card-image {
    margin-top: 0;
  }

  .latest-updates .updates-highlight {
    font-size: 22px;
    line-height: 1.4;
    margin-top: 12px;
  }
  .post-tag a {
    font-size: 10px;
    line-height: 12px;
    text-align: center;
  }

  .latest-updates .latest-update-card-0 .latest-update-card-image {
    border-radius: 10px;
  }
  .latest-updates .latest-updates-feed {
    display: flex;
    flex-direction: column;
    row-gap: 28px;
  }

  .latest-updates .latest-update-card:not(:first-child):hover {
    margin: 0;
    padding: 8px 0;
  }

  .latest-updates .latest-update-card-0 .floating-tag-link {
    padding: 16px;
  }
  .latest-news .latest-news-feed {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .home-post-card-wrapper .post-card-content .read-more-link {
    margin-top: 0px;
  }
  .more-articles .more-articles-feed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 28px;
    margin-top: 50px;
  }
  .home-post-card-wrapper .post-card-image-link .floating-tag-link {
    padding: 4px;
  }
  .home-post-card-wrapper
    .post-card-image-link
    .floating-tag-link
    .post-tag-primary {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 767px) and (max-height: 767px) {
  .has-cover .site-header-content {
    min-height: 100vh !important;
  }
}

@media (max-width: 767px) {
  .has-cover .site-header-content {
    min-height: 80vh;
  }
  .site-header-inner {
    max-width: 100%;
    gap: 16px;
  }

  .header-feature {
    font-size: 1.4rem;
    text-align: left;
  }
  .header-feature img {
    width: 20px;
    height: 20px;
  }

  .site-logo {
    max-width: 60%;
  }
  .title-badge {
    margin-bottom: 2rem;
  }
  .site-title {
    font-size: 5rem !important;
  }
  .site-description {
    font-size: 1.8rem !important;
    max-width: 340px;
  }
  :is(.site-logo, .site-title) + .site-description {
    max-width: 340px;
  }
  .site-logo + .site-description {
    margin-top: 12px !important;
  }
  .site-title + .site-description {
    margin-top: 12px !important;
  }

  .loan-type-image {
    min-width: 100%;
  }
}

/* 4. Site Navigation
/* ---------------------------------------------------------- */

.gh-head {
  height: 88px;
  font-size: 1.6rem;
  line-height: 1.3em;
  background-color: #fff;
  z-index: 150;
  width: 100%;
  position: fixed;
}

.has-cover:not(.home-template) .gh-head {
  /* background-color: var(--ghost-accent-color); */
  color: #fff;
}

.gh-head.is-post {
  background-color: #fff;
}

:is(.home-template, .paged:not(.tag-template):not(.author-template)).has-cover
  .gh-head {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.gh-head a {
  text-decoration: none;
}

.gh-head-inner {
  display: grid;
  column-gap: 40px;
  grid-template-columns: auto 1fr auto;
  grid-auto-flow: row dense;
  align-items: center;
  height: 100%;
}

/* Header styles
/* ---------------------------------------------------------- */

.is-head-left-logo .gh-head-inner {
  grid-template-columns: auto 1fr auto;
}

.is-head-left-logo.home-template .gh-head:not(.is-header-hidden) .gh-head-logo {
  display: block !important;
}

.is-head-left-logo.home-template .gh-head:not(.is-header-hidden) .gh-head-menu {
  /* margin-left: -40px; */
  margin-right: 0px;
  margin-left: 0px;
}

@media (min-width: 992px) {
  .is-head-left-logo .gh-head-menu {
    /* margin-right: 64px;
    margin-left: 16px; */
  }
  .gh-head-menu {
    background-color: white;
    border-radius: 9999px;
    color: #131d43;
    padding: 16px 24px;
  }
}
@media screen and (max-width: 991px) {
  .gh-head-logo img {
    width: 160px;
    height: auto;
  }
  .gh-head {
    top: 0px !important;
    padding-top: 20px;
  }
  #gh-head .gh-head-brand {
    padding-bottom: 20px;
  }
}

.is-head-middle-logo .gh-head-inner {
  grid-template-columns: 1fr auto 1fr;
}

.is-head-middle-logo .gh-head-brand {
  grid-column-start: 2;
}

@media (min-width: 992px) {
  .is-head-middle-logo .gh-head-menu {
    margin-right: 0px;
  }
}

.is-head-stacked .gh-head {
  height: auto;
}

.is-head-stacked .gh-head-inner {
  grid-template-columns: 1fr auto 1fr;
}

.is-head-stacked .gh-head-brand {
  grid-row-start: 1;
  grid-column-start: 2;
}

@media (min-width: 992px) {
  .is-head-stacked .gh-head-inner {
    padding: 0;
  }

  .is-head-stacked .gh-head-brand {
    position: relative;
    display: flex;
    align-items: center;
    height: 80px;
  }

  .is-head-stacked .gh-head-menu {
    grid-row-start: 2;
    grid-column: 1 / 4;
    justify-content: center;
    height: 56px;
    margin: 0 48px;
  }

  .is-head-stacked .gh-head-menu::before,
  .is-head-stacked .gh-head-menu::after {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 1px;
    content: '';
    background-color: var(--color-lightgrey);
  }

  .is-head-stacked.has-cover .gh-head-menu::before,
  .is-head-stacked.has-cover .gh-head-menu::after {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .is-head-stacked .gh-head-menu::after {
    top: 136px;
  }

  .is-head-stacked .gh-head-actions {
    grid-row-start: 1;
    grid-column: 1 / 4;
    justify-content: space-between;
  }
}

/* Brand
/* ---------------------------------------------------------- */

.gh-head-brand {
  display: flex;
  align-items: center;
  height: 40px;
  word-break: break-all;
}

.gh-head-logo {
  display: block;
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  color: inherit;
  white-space: nowrap;
}

.gh-head-logo.no-image {
  margin-top: -5px;
}

.has-cover .gh-head-logo {
  color: #fff;
}

.gh-head-logo img {
  max-height: 40px;
}

/* Primary Navigation
/* ---------------------------------------------------------- */

.gh-head-menu {
  display: flex;
  align-items: center;
  margin-top: 1px;
  font-weight: 500;
}

.gh-head-menu .nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gh-head-menu .nav li {
  margin: 0;
  padding: 0;
}

.gh-head-menu .nav a {
  display: inline-block;
  line-height: 1.7;
}

.gh-head-menu .nav a:hover {
  opacity: 0.9;
}

.gh-head-menu .nav-more-toggle {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0 -6px;
  padding: 0;
  font-size: inherit;
  background-color: transparent;
  text-transform: inherit;
}

.gh-head-menu .nav-more-toggle svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 992px) {
  body:not(.is-dropdown-loaded) .gh-head-menu .nav > li {
    opacity: 0;
  }
}

/* Dropdown
/* ---------------------------------------------------------- */

.gh-dropdown {
  position: absolute;
  top: 100%;
  right: -16px;
  z-index: 90;
  width: 200px;
  padding: 12px 0;
  margin-top: 24px;
  opacity: 0;
  visibility: hidden;
  text-align: left;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 7px 20px -5px rgba(0, 0, 0, 0.15);
  transform: translate3d(0, 6px, 0);
  transition: opacity 0.3s, transform 0.2s;
}

.is-head-middle-logo .gh-dropdown {
  right: auto;
  left: -24px;
}

.is-dropdown-mega .gh-dropdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  column-gap: 40px;
  min-width: 320px;
  padding: 20px 32px;
}

.is-dropdown-open .gh-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gh-head-menu .gh-dropdown li a {
  display: block;
  padding: 6px 20px;
  color: #15171a;
}

.is-dropdown-mega .gh-dropdown li a {
  padding: 8px 0;
}

/* Secondary Navigation
/* ---------------------------------------------------------- */

.gh-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gh-social-link {
  line-height: 0;
  color: inherit;
}

.gh-social-link:hover {
  opacity: 0.9;
}

.gh-social-link svg {
  width: 18px;
  height: 18px;
}

.gh-head-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  list-style: none;
  text-align: right;
}

.gh-head-members {
  display: flex;
  gap: 20px;
  align-items: center;
}

.gh-head-link {
  font-weight: 500;
  color: inherit;
}

.gh-head-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  height: 44px;
  font-weight: 600;
  letter-spacing: -0.005em;
  font-size: 1.6rem;
  border-radius: 48px;
  color: #fff;
  background: var(--ghost-accent-color);
}

.has-cover .gh-head-button {
  color: var(--color-darkgrey);
  background: #fff;
}

@media (max-width: 767px) {
  .gh-head-members {
    flex-direction: column-reverse;
    gap: 16px;
    width: 100%;
  }
}

/* Search
/* ---------------------------------------------------------- */

.gh-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  outline: none;
}

.gh-search:hover {
  opacity: 0.9;
}

.gh-head-brand .gh-search {
  margin-right: 8px;
}

.gh-head-actions .gh-search {
  margin-right: -4px;
}

@media (max-width: 767px) {
  .gh-head-actions .gh-search {
    display: none;
  }
}

@media (min-width: 768px) {
  .gh-head-brand .gh-search {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .loan-types {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for 768px to 991px */
  }
}

/* Mobile Menu Trigger
/* ---------------------------------------------------------- */

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

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

.has-cover .gh-burger::before,
.has-cover .gh-burger::after {
  background-color: #fff;
}

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

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

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

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

/* Mobile Menu
/* ---------------------------------------------------------- */
/* IDs needed to ensure sufficient specificity */

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

  #gh-head.is-post {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #gh-head .gh-head-inner {
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  #gh-head .gh-head-brand .gh-search {
    margin-left: -6px;
  }

  #gh-head .gh-burger {
    display: block;
  }

  #gh-head .gh-head-menu,
  #gh-head .gh-head-actions {
    position: fixed;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
  }

  #gh-head .gh-head-menu {
    margin: 0;
    transition: none;
    transform: translateY(0);
  }

  #gh-head .nav {
    gap: 16px;
    align-items: center;
    line-height: 1.4;
  }

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

  #gh-head .nav li {
    opacity: 0;
    transform: translateY(-4px);
  }

  #gh-head :is(.gh-head-button, .gh-head-link) {
    opacity: 0;
    transform: translateY(8px);
  }

  #gh-head .gh-head-button {
    width: 100%;
    font-size: 1.8rem;
    text-transform: none;
    opacity: 0;
    transform: translateY(8px);
  }

  .gh-head-open #gh-head {
    position: fixed;
    inset: 0;
    z-index: 3999999;
    height: 100%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .gh-head-open.has-cover #gh-head,
  .gh-head-open.has-cover #gh-head .gh-head-actions {
    background-color: var(--ghost-accent-color);
  }

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

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

  .gh-head-open #gh-head .nav li {
    opacity: 1;
    transition: transform 0.2s, opacity 0.2s;
    transform: translateY(0);
  }

  .gh-head-open #gh-head .gh-head-actions {
    position: sticky;
    right: 0;
    bottom: 0;
    left: 0;
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: max(4vmin, 20px) 0 max(4vmin, 28px);
    background-color: #fff;
  }

  .gh-head-open #gh-head :is(.gh-head-button, .gh-head-link) {
    opacity: 1;
    transition: transform 0.4s, opacity 0.4s;
    transition-delay: 0.2s;
    transform: translateY(0);
  }

  .gh-head-open #gh-head .gh-head-link {
    transition-delay: 0.4s;
  }
}

/* 5. Post Feed
/* ---------------------------------------------------------- */

.post-feed {
  position: relative;
  display: grid;
  gap: 4.8vmin 4vmin;
  grid-template-columns: repeat(6, 1fr);
  padding: max(4.8vmin, 36px) 0 0;
}

:is(.tag-template, .author-template) .post-feed {
  margin-top: 4vmin;
}

@media (max-width: 991px) {
  .post-feed {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .post-feed {
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }
  .loan-types {
    grid-template-columns: repeat(2, 1fr);
    transform: translate(0px, -20%);
  }
}

.post-card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background-size: cover;
  word-break: break-word;
}

.post-card-image-link {
  position: relative;
  overflow: hidden;
  display: block;
}

.post-card-image-link::after {
  content: '';
  display: block;
  padding-bottom: 55%;
}

.post-card[class*='post-access-'] .post-card-image-link::after {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.post-card.keep-ratio[class*='post-access-'] .post-card-image-link::after {
  position: absolute;
  inset: 0;
  padding-bottom: 0;
}

.post-card.keep-ratio:not(.post-card-large):not(.post-card-full)
  .post-card-image-link::after {
  padding-bottom: 0;
}

.post-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--color-lightgrey) no-repeat center center;
  object-fit: cover;
}

.post-card.keep-ratio:not(.post-card-large):not(.post-card-full)
  .post-card-image {
  position: static;
}

.post-card-access {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.post-card-content-link {
  position: relative;
  display: block;
  color: var(--color-darkgrey);
}

.post-card-content-link:hover {
  text-decoration: none;
}

.post-feed .no-image .post-card-content-link {
  padding: 0;
}

.no-image .post-card-header {
  margin-top: 0;
}

.post-card-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--color-secondary-text);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
}

.post-card-featured {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  padding-left: 18px;
  color: var(--ghost-accent-color);
}

.post-card-featured svg {
  position: absolute;
  left: 0;
}

.post-card-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
}

.post-card-content-link:hover .post-card-title {
  opacity: 0.9;
}

.no-image .post-card-title {
  margin-top: 0;
}

.has-serif-title .post-card-title {
  font-family: var(--font-serif);
  letter-spacing: -0.005em;
}

.post-card-title svg {
  margin-top: -3px;
  margin-left: -1px;
}

.post-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-card-excerpt {
  display: -webkit-box;
  overflow-y: hidden;
  margin-top: 12px;
  max-width: 720px;
  font-size: 1.6rem;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.has-sans-body .post-card-excerpt {
  font-family: var(--font-sans);
}

.post-card:not(.post-card-large):not(.post-card-full):not(.dynamic):not(
    .no-image
  )
  .post-card-excerpt {
  -webkit-line-clamp: 2;
}

:is(.tag-template, .author-template) .post-card-excerpt {
  margin-top: 6px;
}

:is(.tag-template, .author-template) .post-card-large .post-card-excerpt {
  display: block;
  overflow-y: auto;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
  font-size: 1.3rem;
  color: var(--color-secondary-text);
}

.post-card-meta > * {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-card-meta > * + *:not(script)::before {
  width: 2px;
  height: 2px;
  content: '';
  background-color: var(--color-secondary-text);
  border-radius: 50%;
}

.post-card-meta .sep {
  margin: 0 4px;
}

.author-profile-image {
  display: block;
  width: 100%;
  height: 100%;
  background: color-mod(var(--color-lightgrey) l(+10%));
  border-radius: 100%;

  object-fit: cover;
}

.author-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 4px;
  padding: 0;
  list-style: none;
}

.author-list-item {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

/* Special Styling for home page grid (below):

The first post in the list is styled to be bigger than the others and take over
the full width of the grid to give it more emphasis. Wrapped in a media query to
make sure this only happens on large viewports / desktop-ish devices.

*/

@media (min-width: 1001px) {
  .post-card-large {
    grid-column: span 6;
    display: grid;
    grid-gap: 4vmin;
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
  }

  .post-card-large:not(.no-image) .post-card-header {
    margin-top: 0;
  }

  .post-card-large .post-card-image-link {
    position: relative;
    grid-column: span 2;
    margin-bottom: 0;
  }

  .post-card-large .post-card-content {
    grid-column: span 1;
  }

  .post-card-large.no-image .post-card-content {
    grid-column: span 2;
  }

  .post-card-large .post-card-image {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .post-card-large .post-card-tags {
    margin-bottom: 12px;
  }

  .post-card-large .post-card-title {
    margin-top: 0;
    font-size: 4.4rem;
    line-height: 1.05;
  }

  .post-card-large .post-card-excerpt {
    margin-top: 16px;
  }

  .post-card-full {
    grid-column: span 6;
  }

  .post-card-full .post-card-tags {
    margin-bottom: 14px;
  }

  .post-card-full .post-card-title {
    font-size: 6.4rem;
    line-height: 0.95;
  }

  .post-card-full .post-card-excerpt {
    margin-top: 20px;
    font-size: 1.8rem;
  }

  .post-card-large + .post-card-large:nth-child(even) {
    margin: 32px 0;
  }

  .post-card-large + .post-card-large:nth-child(even) .post-card-content {
    order: -1;
  }

  .post-card.dynamic {
    grid-column: span 3;
  }

  .post-card.dynamic .post-card-title {
    font-size: 3rem;
  }
}

/* Pagination
/* ---------------------------------------------------------- */

.pagination {
  display: none;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 8vmin;
}

html.no-infinite-scroll .pagination {
  display: grid;
}

.pagination a {
  font-size: 1.7rem;
  font-weight: 600;
}

.pagination .page-number {
  grid-column-start: 2;
  color: var(--color-secondary-text);
}

.pagination .older-posts {
  grid-column-start: 3;
  text-align: right;
}

@media (max-width: 767px) {
  .pagination .page-number {
    display: none;
  }
}

/* 6. Single Post
/* ---------------------------------------------------------- */

.article {
  word-break: break-word;
}
li.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-template .article {
  padding: max(8vmin, 40px) 40px max(8vmin, 64px);
  position: relative;
  z-index: 1;
}
+.page-template .article {
+  padding: max(8vmin, 40px) 40px max(8vmin, 64px);
+  position: relative;
+  z-index: 1;
+}
 .table-content-heading {
   overflow: hidden;
   color: var(--slate-500, #64748b);
   text-overflow: ellipsis;
   font-family: 'Plus Jakarta Sans', sans-serif;
   font-size: 18px;
   font-style: normal;
   font-weight: 700;
   line-height: normal;
   letter-spacing: -0.54px;
   text-transform: uppercase;
 }
@media screen and (max-width: 767px) {
  .post-template .article {
    padding: max(4vmin, 20px) 20px max(4vmin, 32px);
  }
+  .page-template .article {
+    padding: max(4vmin, 20px) 20px max(4vmin, 32px);
+  }
  .site-main .article-header {
    flex-direction: column-reverse;
    row-gap: 24px;
  }
}

.post-template .article-header {
  padding: 0 0 max(6.4vmin, 40px);
  max-width: 1200px;
  margin-inline: auto;
}

.page-template .article-header {
  padding: 0 0 max(6.4vmin, 40px);
  max-width: 1200px;
  margin-inline: auto;
}

.article-tag {
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.article-tag a {
  color: var(--color-secondary-text);
}

.article-title {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-darkgrey);
}

.has-serif-title .article-title {
  font-family: var(--font-serif);
}

.article-excerpt {
  margin-top: 20px;
  max-width: 720px;
  font-size: 2rem;
  line-height: 1.45;
  color: var(--color-darkgrey);
}

.gh-canvas .article-image {
  grid-column: wide-start / wide-end;
  width: 100%;
  margin: max(6.4vmin, 40px) 0 0;
}

.image-full .article-image {
  grid-column: full-start / full-end;
}

.image-small .article-image {
  grid-column: main-start / main-end;
}

.gh-canvas .article-image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (max-width: 767px) {
  .article-excerpt {
    margin-top: 14px;
    font-size: 1.7rem;
  }
}

/* -------- */

/* Content grid
/* ---------------------------------------------------------- */

/* Canvas creates a multi-column, centered grid which the post
is laid out on top of. Canvas just defines the grid, we don't
use it for applying any other styles. */

.gh-canvas,
.kg-width-full.kg-content-wide {
  --gap: max(4vmin, 40px);
  --main: min(var(--content-width, 720px), 100% - var(--gap) * 2);
  --wide: minmax(
    0,
    calc((var(--container-width, 1200px) - var(--content-width, 720px)) / 2)
  );
  --full: minmax(var(--gap), 1fr);
  display: grid;
  grid-template-columns:
    [full-start] var(--full)
    [wide-start] var(--wide)
    [main-start] var(--main) [main-end]
    var(--wide) [wide-end]
    var(--full) [full-end];
}

.gh-canvas > * {
  grid-column: full-start / main-end;
}

.kg-width-wide,
.kg-content-wide > div {
  grid-column: wide-start / wide-end;
}

.kg-width-full {
  grid-column: full-start / full-end;
}

.kg-width-full img {
  width: 100%;
}

/* Content
/* ---------------------------------------------------------- */

/* Content refers to styling all page and post content that is
created within the Ghost editor. The main content handles
headings, text, images and lists. We deal with cards lower down. */

/* Default vertical spacing */
.gh-content > * + * {
  margin-top: max(3.2vmin, 24px);
  margin-bottom: 0;
}

/* Remove space between full-width cards */
.gh-content
  > .kg-width-full
  + .kg-width-full:not(.kg-width-full.kg-card-hascaption + .kg-width-full) {
  margin-top: 0;
}

/* [id] represents all headings h1-h6, reset all margins */
.gh-content > [id] {
  margin: 0;
  color: var(--color-darkgrey);
}

.has-serif-title .gh-content > [id] {
  font-family: var(--font-serif);
}

/* Add back a top margin to all headings, unless a heading
is the very first element in the post content */
.gh-content > [id]:not(:first-child) {
  margin: 2em 0 0;
}

/* Add a small margin between a heading and anything after it */
.gh-content > [id] + * {
  margin-top: 1.5rem !important;
}

/* A larger margin before/after HRs and blockquotes */
.gh-content > hr,
.gh-content > blockquote {
  position: relative;
  margin-top: max(4.8vmin, 32px);
}
.gh-content > hr + *,
.gh-content > blockquote + * {
  margin-top: max(4.8vmin, 32px) !important;
}

/* Now the content typography styles */
.gh-content a:not(.article a) {
  color: var(--ghost-accent-color);
  text-decoration: underline;
  word-break: break-word;
}

.article a:not(.byline-tags a) {
  color: #0070f3;
  text-decoration: underline;
}

.gh-content > blockquote:not([class]),
.gh-content > ol,
.gh-content > ul,
.gh-content > dl,
.gh-content > p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.6em;
}

.gh-content > p img {
  margin: 0 auto;
}

.page-template .gh-content:only-child > *:first-child:not(.kg-width-full) {
  margin-top: max(12vmin, 64px);
}

.page-template .gh-content > *:last-child:not(.kg-width-full) {
  margin-bottom: max(12vmin, 64px);
}

.gh-content .kg-callout-card .kg-callout-text,
.gh-content .kg-toggle-card .kg-toggle-content > ol,
.gh-content .kg-toggle-card .kg-toggle-content > ul,
.gh-content .kg-toggle-card .kg-toggle-content > p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.6em;
}

.gh-content .kg-product-card .kg-product-card-description > p,
.gh-content .kg-product-card .kg-product-card-description > ol,
.gh-content .kg-product-card .kg-product-card-description > ul {
  font-size: 1.7rem;
  line-height: 1.6em;
}

.gh-content .kg-callout-card .kg-callout-emoji {
  font-size: 2.1rem;
  line-height: 1.4em;
}

.gh-content .kg-toggle-card .kg-toggle-heading-text {
  font-size: 2rem;
}

.has-sans-body .gh-content > blockquote,
.has-sans-body .gh-content > ol,
.has-sans-body .gh-content > ul,
.has-sans-body .gh-content > dl,
.has-sans-body .gh-content > p,
.has-sans-body .gh-content .kg-callout-card .kg-callout-text,
.has-sans-body .gh-content .kg-toggle-card .kg-toggle-content > ol,
.has-sans-body .gh-content .kg-toggle-card .kg-toggle-content > ul,
.has-sans-body .gh-content .kg-toggle-card .kg-toggle-content > p {
  font-family: var(--font-sans);
}

.gh-content > ul,
.gh-content > ol,
.gh-content > dl,
.gh-content .kg-toggle-card .kg-toggle-content > ol,
.gh-content .kg-toggle-card .kg-toggle-content > ul,
.gh-content .kg-product-card .kg-product-card-description > ol,
.gh-content .kg-product-card .kg-product-card-description > ul {
  padding-left: 1.9em;
}

.gh-content > blockquote:not([class]) {
  position: relative;
  font-style: italic;
  padding: 0;
}

.gh-content > blockquote:not([class])::before {
  content: '';
  position: absolute;
  left: -1.5em;
  top: 0;
  bottom: 0;
  width: 0.3rem;
  background: var(--ghost-accent-color);
}

.gh-content :not(pre) > code {
  vertical-align: middle;
  padding: 0.15em 0.4em 0.15em;
  border: #e1eaef 1px solid;
  font-weight: 400 !important;
  font-size: 0.9em;
  line-height: 1em;
  color: #15171a;
  background: #f0f6f9;
  border-radius: 0.25em;
}

.gh-content pre {
  overflow: auto;
  padding: 16px 20px;
  color: var(--color-wash);
  font-size: 1.4rem;
  line-height: 1.5em;
  background: var(--color-darkgrey);
  border-radius: 5px;
  box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.4);
}

.gh-content ol ol li {
  list-style-type: lower-alpha;
}

.gh-content ol ol ol li {
  list-style-type: lower-roman;
}

@media (max-width: 650px) {
  .gh-content > blockquote:not([class]),
  .gh-content > ol,
  .gh-content > ul,
  .gh-content > dl,
  .gh-content > p,
  .gh-content .kg-callout-card .kg-callout-text,
  .gh-content .kg-toggle-card .kg-toggle-content > ol,
  .gh-content .kg-toggle-card .kg-toggle-content > ul,
  .gh-content .kg-toggle-card .kg-toggle-content > p {
    font-size: 1.8rem;
  }

  .gh-content .kg-product-card .kg-product-card-description > p,
  .gh-content .kg-product-card .kg-product-card-description > ol,
  .gh-content .kg-product-card .kg-product-card-description > ul {
    font-size: 1.6rem;
  }

  .gh-content blockquote:not([class])::before {
    left: min(-4vmin, -20px);
  }
}

/* Cards
/* ---------------------------------------------------------- */

/* Cards are dynamic blocks of content which appear within Ghost
posts, for example: embedded videos, tweets, galleries, or
specially styled bookmark links. We add extra styling here to
make sure they look good, and are given a bit of extra spacing. */

/* Add extra margin before/after any cards,
except for when immediately preceeded by a heading */
.gh-content :not(.kg-card):not([id]) + .kg-card {
  margin-top: 6vmin;
}
.gh-content .kg-card + :not(.kg-card) {
  margin-top: 6vmin;
}

/* This keeps small embeds centered */
.kg-embed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* This keeps small iamges centered */
.kg-image-card img {
  margin: auto;
}

.kg-image[width][height],
.kg-gallery-image {
  cursor: pointer;
}

.has-serif-title .kg-toggle-card .kg-toggle-heading-text {
  font-family: var(--font-serif);
}

.gh-content .kg-callout-card-accent a {
  text-decoration: underline;
}

.kg-blockquote-alt {
  font-family: var(--font-serif);
  color: var(--color-midgrey);
}

.has-sans-body .kg-blockquote-alt {
  font-family: var(--font-sans);
}

.kg-card.kg-header-card.kg-style-dark {
  background: var(--color-darkgrey);
}

.kg-header-card.kg-style-light h2.kg-header-card-header {
  color: color-mod(var(--color-darkgrey) l(-5%));
}

.has-serif-title .kg-header-card h2.kg-header-card-header {
  font-family: var(--font-serif);
}

/* Captions */
figcaption {
  padding: 1.5rem 1.5rem 0;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
  font-size: 1.3rem;
  line-height: 1.4em;
}
figcaption strong {
  color: rgba(0, 0, 0, 0.8);
}
figcaption a {
  text-decoration: underline;
}

/* Highly specific styles for traditional Instagram embeds */
iframe.instagram-media {
  margin-top: 6vmin !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
}

iframe.instagram-media + script + :not([id]) {
  margin-top: 6vmin;
}

/* Card captions
/* ---------------------------------------------------------- */

.kg-width-full.kg-card-hascaption {
  display: grid;
  grid-template-columns: inherit;
}

.kg-width-wide.kg-card-hascaption img {
  grid-column: wide-start / wide-end;
}
.kg-width-full.kg-card-hascaption img {
  grid-column: 1 / -1;
}

.kg-width-full.kg-card-hascaption figcaption {
  grid-column: main-start / main-end;
}

.article-comments {
  margin: 6vmin 0 0 0;
}

/* -----old------ */

.footnotes-sep {
  margin-bottom: 30px;
}

.footnotes {
  font-size: 1.5rem;
}

.footnotes p {
  margin: 0;
}

.footnote-backref {
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none !important;
  box-shadow: none !important;
}

/* Tables */
.gh-content table:not(.gist table) {
  display: inline-block;
  overflow-x: auto;
  max-width: 100%;
  width: auto;
  border-spacing: 0;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  white-space: nowrap;
  vertical-align: top;
  -webkit-overflow-scrolling: touch;
  background: radial-gradient(
        ellipse at left,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0) 75%
      )
      0 center,
    radial-gradient(
        ellipse at right,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0) 75%
      )
      100% center;
  background-attachment: scroll, scroll;
  background-size: 10px 100%, 10px 100%;
  background-repeat: no-repeat;
}

.gh-content table:not(.gist table) td:first-child {
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 20px 100%;
  background-repeat: no-repeat;
}

.gh-content table:not(.gist table) td:last-child {
  background-image: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-position: 100% 0;
  background-size: 20px 100%;
  background-repeat: no-repeat;
}

.gh-content table:not(.gist table) th {
  color: var(--color-darkgrey);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: left;
  text-transform: uppercase;
  background-color: color-mod(var(--color-wash) l(+4%));
}

.gh-content table:not(.gist table) th,
.gh-content table:not(.gist table) td {
  padding: 6px 12px;
  border: color-mod(var(--color-wash) l(-1%) s(-5%)) 1px solid;
}

/* 6.1. Post Byline
/* ---------------------------------------------------------- */

.article-byline {
  display: flex;
  justify-content: space-between;
  margin: min(24px, 5.6vmin) 0 0;
}

.article-byline-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.article-byline-content .author-list {
  justify-content: flex-start;
  padding: 0 14px 0 0;
}

.article-byline-meta {
  color: var(--color-secondary-text);
  font-size: 1.4rem;
  line-height: 1.2em;
}

.article-byline-meta .author-name {
  margin: 0 0 6px;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0;
}

.article-byline-meta .bull {
  display: inline-block;
  margin: 0 2px;
}

.author-avatar {
  display: block;
  overflow: hidden;
  margin: 0 -4px;
  width: min(56px, 13.6vmin);
  height: min(56px, 13.6vmin);
  border: #fff 2px solid;
  border-radius: 50%;
  background-color: var(--color-border);
}

.page-template .article-title {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .article-byline-content .author-list {
    padding-right: 12px;
  }
  .article-byline-meta .author-name {
    margin-bottom: 4px;
  }
}

/* 6.2. Subscribe
/* ---------------------------------------------------------- */

.footer-cta {
  position: relative;
  text-align: center;
}

.footer-cta-title {
  margin: 0 0 min(24px, 6.4vmin);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
}

.has-serif-title .footer-cta-title {
  font-family: var(--font-serif);
}

.footer-cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 500px;
  padding: 5px 5px 5px 15px;
  font-size: 1.7rem;
  color: var(--color-secondary-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.footer-cta-button:hover {
  border-color: color-mod(var(--color-border) l(-12%));
}

.footer-cta-button span {
  display: inline-block;
  padding: 9px 15px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--ghost-accent-color);
  border-radius: 6px;
}

/* 6.3. Read more
/* ---------------------------------------------------------- */

.read-more-wrap {
  margin-top: 2.4vmin;
}

.footer-cta + .read-more-wrap {
  margin-top: max(12vmin, 72px);
}

.read-more {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 4vmin;
}

.read-more .post-card-tags {
  display: none;
}

@media (max-width: 1000px) {
  .read-more {
    grid-template-columns: repeat(4, 1fr);
  }
  .read-more .post-card:nth-child(3) {
    display: none;
  }
}

@media (max-width: 700px) {
  .read-more {
    grid-template-columns: repeat(2, 1fr);
  }
  .read-more .post-card:nth-child(2) {
    display: none;
  }
}

/* 6.4. Comments
/* ---------------------------------------------------------- */
.comments {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px 0 44px;
}

.comments-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  width: 100%;
  max-width: 720px;
}

.comments h2 {
  width: 100%;
  max-width: 720px;
  font-weight: 800;
  font-size: 3.4rem;
}

.comments .comment-count {
  color: var(--color-midgrey);
  font-weight: 600;
  white-space: nowrap;
}

.comments #ghost-comments-root {
  width: 100%;
  max-width: 720px;
}

/* 7. Author Template
/* ---------------------------------------------------------- */

.author-profile-pic {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin: 0 0 2rem;
  background: color-mod(var(--color-lightgrey) l(+10%));
  border-radius: 50%;
}

.author-profile-footer {
  margin-top: 16px;
}

.author-profile-location {
  font-weight: 700;
}

.author-profile-meta {
  display: flex;
  gap: 10px;
}

.author-profile-social-link {
  font-size: 1.3rem;
  color: var(--color-secondary-text);
}

.author-profile-social-link:hover {
  color: var(--color-darkgrey);
}

.author-profile-social-link svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 1001px) {
  .author-template .post-card-large .post-card-content:only-child {
    grid-column: span 2;
    max-width: 640px;
  }
}

/* 8. Tag Template
/* ---------------------------------------------------------- */

.tag-template .post-card-large .post-card-image-link {
  grid-column: 2 / span 2;
  order: 2;
}

.tag-template .post-card-large .post-card-content {
  order: 1;
}

@media (min-width: 1001px) {
  .tag-template .post-card-large .post-card-content:only-child {
    grid-column: span 2;
    max-width: 640px;
  }
}

/* 9. Error Template
/* ---------------------------------------------------------- */

.error-content {
  padding: 14vw 4vw 2vw;
}

.error-message {
  padding-bottom: 10vw;
  text-align: center;
}

.error-code {
  margin: 0;
  font-size: 12vw;
  line-height: 1em;
  letter-spacing: -5px;
}

.error-description {
  margin: 0;
  color: var(--color-secondary-text);
  font-size: 3.2rem;
  line-height: 1.3em;
  letter-spacing: -0.005em;
  font-weight: 400;
}

.error-link {
  display: inline-block;
  margin-top: 5px;
}

@media (min-width: 940px) {
  .error-content .post-card {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
}

@media (max-width: 800px) {
  .error-content {
    padding-top: 24vw;
  }
  .error-code {
    font-size: 11.2rem;
  }
  .error-message {
    padding-bottom: 16vw;
  }
  .error-description {
    margin: 5px 0 0 0;
    font-size: 1.8rem;
  }
}

@media (max-width: 500px) {
  .error-content {
    padding-top: 28vw;
  }
  .error-message {
    padding-bottom: 14vw;
  }
}
.social-wrapper {
  padding: 2rem 0;
}

.social-wrapper .container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.social-wrapper .row {
  max-width: 1280px;
  width: 100%;
  padding: 2.5rem 1.25rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 1.5rem;
}

.social-wrapper .col {
  width: 100%;
  margin-bottom: 2rem;
}

.social-wrapper .social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.social-wrapper .icon-link {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.social-wrapper .icon-link:hover {
  background-color: #f0f0f0;
}

.social-wrapper .icon {
  width: 24px;
  height: 24px;
  fill: #333;
}

.social-wrapper .copyright {
  text-align: center;
}

.social-wrapper .copyright p {
  color: white;
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
}

.social-wrapper .links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-wrapper .links a {
  text-decoration: none;
  color: white;
  height: 60px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.social-wrapper .links a:hover {
  color: #f0f0f0;
}

@media (min-width: 1024px) {
  .social-wrapper .row {
    padding: 3rem 0;
  }

  .social-wrapper .col {
    width: 33.33%;
    margin-bottom: 0;
  }

  .social-wrapper .social-icons {
    justify-content: flex-start;
  }

  .social-wrapper .links {
    justify-content: flex-end;
  }
}

/* 10. Site Footer
/* ---------------------------------------------------------- */

.site-footer {
  position: relative;
  margin-top: 90px;
  padding-bottom: 0;
  padding-top: 0;
  color: #fff;
}

.page-template .site-footer {
  margin-top: 0;
}

.site-footer .inner {
  max-width: 1200px;
  display: grid;
  grid-gap: 40px;
  grid-template-columns: auto 250px auto;
  color: rgba(255, 255, 255, 0.7);
  justify-content: space-between;
  font-size: 1.3rem;
}

.site-footer .copyright a {
  color: #fff;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

.site-footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.site-footer-nav li {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin: 0;
  line-height: 2em;
}

.site-footer-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.site-footer-nav li:not(:first-child) a:before {
  content: '';
  display: block;
  width: 2px;
  height: 2px;
  margin: 0 10px 0 0;
  background: #fff;
  border-radius: 100%;
}

@media (max-width: 767px) {
  .site-footer .inner {
    max-width: 500px;
    grid-template-columns: 140px 1fr;
    column-gap: 20px;
  }
  .site-footer .copyright,
  .site-footer .copyright a {
    color: #fff;
    font-size: 1.5rem;
  }
  .site-footer .copyright {
    margin-bottom: 16px;
  }
  .footer-wrapper .footer-quick-links {
    text-align: left;
  }
  .footer-wrapper .footer-quick-links .row {
    column-gap: 8px;
  }
}

/* 11. Dark Mode
/* ---------------------------------------------------------- */

html.dark-mode body {
  color: rgba(255, 255, 255, 0.75);
  background: var(--color-darkmode);
}

html.dark-mode img {
  opacity: 0.9;
}

html.dark-mode kbd {
  background: color-mod(var(--color-darkmode) l(+5%));
}

html.dark-mode figcaption a {
  color: #fff;
}

html.dark-mode body:not(.has-cover) .gh-head {
  background: var(--color-darkmode);
  color: #fff;
}

html.dark-mode .gh-burger::before,
html.dark-mode .gh-burger::after {
  background-color: #fff;
}

html.dark-mode .site-header-content {
  color: #fff;
}

html.dark-mode .site-header-cover {
  opacity: 1;
}

html.dark-mode .post-card-image {
  background: var(--color-darkmode);
}

html.dark-mode
  :is(
    .post-card-tags,
    .post-card-meta,
    .article-tag a,
    .byline-meta-content,
    .pagination .page-number
  ) {
  color: color-mod(var(--color-secondary-text) l(-22%));
}

html.dark-mode .post-card-featured {
  color: #fff;
}

html.dark-mode .post-card-title {
  color: #fff;
}

html.dark-mode .post-card-excerpt {
  color: var(--color-secondary-text);
}

html.dark-mode .pagination a {
  color: #fff;
}

html.dark-mode .author-profile-location {
  color: #fff;
}

html.dark-mode .author-profile-social-link:hover {
  color: #fff;
}

html.dark-mode .article-title {
  color: #fff;
}

html.dark-mode .article-excerpt {
  color: var(--color-secondary-text);
}

html.dark-mode .post-full-image {
  background-color: color-mod(var(--color-darkmode) l(+8%));
}

html.dark-mode .author-avatar {
  border-color: var(--color-darkmode);
  background-color: color-mod(var(--color-darkmode) l(+8%));
}

html.dark-mode .author-profile-image {
  opacity: 1;
}

html.dark-mode .author-profile-image path {
  fill: var(--color-darkmode);
}

html.dark-mode .article-byline-meta .author-name a {
  color: #fff;
}

html.dark-mode .no-image .author-social-link a {
  color: rgba(255, 255, 255, 0.75);
}

html.dark-mode .gh-content > [id] {
  color: rgba(255, 255, 255, 0.9);
}

html.dark-mode .gh-content pre {
  background: color-mod(var(--color-darkgrey) l(-8%));
}

html.dark-mode .gh-content :not(pre) > code {
  background: color-mod(var(--color-darkgrey) l(+6%));
  border-color: color-mod(var(--color-darkmode) l(+8%));
  color: var(--color-wash);
}

:where(html.dark-mode) .gh-content a {
  color: #fff;
}

html.dark-mode .gh-content strong {
  color: #fff;
}

html.dark-mode .gh-content em {
  color: #fff;
}

html.dark-mode .gh-content code {
  color: #fff;
  background: #000;
}

html.dark-mode hr {
  border-top-color: color-mod(var(--color-darkmode) l(+8%));
}

html.dark-mode .gh-content hr:after {
  background: color-mod(var(--color-darkmode) l(+8%));
  box-shadow: var(--color-darkmode) 0 0 0 5px;
}

html.dark-mode figcaption {
  color: rgba(255, 255, 255, 0.6);
}

html.dark-mode .gh-content table:not(.gist table) td:first-child {
  background-image: linear-gradient(
    to right,
    var(--color-darkmode) 50%,
    color-mod(var(--color-darkmode) a(0%)) 100%
  );
}

html.dark-mode .gh-content table:not(.gist table) td:last-child {
  background-image: linear-gradient(
    to left,
    var(--color-darkmode) 50%,
    color-mod(var(--color-darkmode) a(0%)) 100%
  );
}

html.dark-mode .gh-content table:not(.gist table) th {
  color: rgba(255, 255, 255, 0.85);
  background-color: color-mod(var(--color-darkmode) l(+8%));
}

html.dark-mode .gh-content table:not(.gist table) th,
html.dark-mode .gh-content table:not(.gist table) td {
  border: color-mod(var(--color-darkmode) l(+8%)) 1px solid;
}

html.dark-mode .gh-content :is(input, textarea) {
  color: color-mod(var(--color-midgrey) l(-30%));
}

html.dark-mode .site-archive-header .no-image {
  color: rgba(255, 255, 255, 0.9);
  background: var(--color-darkmode);
}

html.dark-mode .kg-header-card.kg-style-dark {
  background: color-mod(var(--color-darkgrey) l(-5%));
}

html.dark-mode .kg-header-card.kg-style-light {
  background: color-mod(var(--color-darkgrey) l(+5%));
}

html.dark-mode .kg-header-card h2.kg-header-card-header,
html.dark-mode .kg-header-card h3.kg-header-card-subheader {
  color: #fff;
}

html.dark-mode .kg-bookmark-card a.kg-bookmark-container,
html.dark-mode .kg-bookmark-card a.kg-bookmark-container:hover {
  background: var(--color-darkmode) !important;
  color: #fff !important;
}

html.dark-mode .footer-cta-title {
  color: #fff;
}

@media (max-width: 767px) {
  html.dark-mode .gh-head-open:not(.has-cover) #gh-head,
  html.dark-mode .gh-head-open:not(.has-cover) #gh-head .gh-head-actions {
    background: var(--color-darkmode);
  }
}

@media (prefers-color-scheme: dark) {
  html.auto-color body {
    color: rgba(255, 255, 255, 0.75);
    background: var(--color-darkmode);
  }

  html.auto-color img {
    opacity: 0.9;
  }

  html.auto-color kbd {
    background: color-mod(var(--color-darkmode) l(+5%));
  }

  html.auto-color figcaption a {
    color: #fff;
  }

  html.auto-color body:not(.has-cover) .gh-head {
    background: var(--color-darkmode);
    color: #fff;
  }

  html.auto-color .gh-burger::before,
  html.auto-color .gh-burger::after {
    background-color: #fff;
  }

  html.auto-color .site-header-content {
    color: #fff;
  }

  html.auto-color .site-header-cover {
    opacity: 1;
  }

  html.auto-color .post-card-image {
    background: var(--color-darkmode);
  }

  html.auto-color
    :is(
      .post-card-tags,
      .post-card-meta,
      .article-tag a,
      .byline-meta-content,
      .pagination .page-number
    ) {
    color: color-mod(var(--color-secondary-text) l(-22%));
  }

  html.auto-color .post-card-featured {
    color: #fff;
  }

  html.auto-color .post-card-title {
    color: #fff;
  }

  html.auto-color .post-card-excerpt {
    color: var(--color-secondary-text);
  }

  html.auto-color .pagination a {
    color: #fff;
  }

  html.auto-color .author-profile-location {
    color: #fff;
  }

  html.auto-color .author-profile-social-link:hover {
    color: #fff;
  }

  html.auto-color .article-title {
    color: #fff;
  }

  html.auto-color .article-excerpt {
    color: var(--color-secondary-text);
  }

  html.auto-color .post-full-image {
    background-color: color-mod(var(--color-darkmode) l(+8%));
  }

  html.auto-color .author-avatar {
    border-color: var(--color-darkmode);
    background-color: color-mod(var(--color-darkmode) l(+8%));
  }

  html.auto-color .author-profile-image {
    opacity: 1;
  }

  html.auto-color .author-profile-image path {
    fill: var(--color-darkmode);
  }

  html.auto-color .article-byline-meta .author-name a {
    color: #fff;
  }

  html.auto-color .no-image .author-social-link a {
    color: rgba(255, 255, 255, 0.75);
  }

  html.auto-color .gh-content > [id] {
    color: rgba(255, 255, 255, 0.9);
  }

  html.auto-color .gh-content pre {
    background: color-mod(var(--color-darkgrey) l(-8%));
  }

  html.auto-color .gh-content :not(pre) > code {
    background: color-mod(var(--color-darkgrey) l(+6%));
    border-color: color-mod(var(--color-darkmode) l(+8%));
    color: var(--color-wash);
  }

  :where(html.auto-color) .gh-content a {
    color: #fff;
  }

  html.auto-color .gh-content strong {
    color: #fff;
  }

  html.auto-color .gh-content em {
    color: #fff;
  }

  html.auto-color .gh-content code {
    color: #fff;
    background: #000;
  }

  html.auto-color hr {
    border-top-color: color-mod(var(--color-darkmode) l(+8%));
  }

  html.auto-color .gh-content hr:after {
    background: color-mod(var(--color-darkmode) l(+8%));
    box-shadow: var(--color-darkmode) 0 0 0 5px;
  }

  html.auto-color figcaption {
    color: rgba(255, 255, 255, 0.6);
  }

  html.auto-color .gh-content table:not(.gist table) td:first-child {
    background-image: linear-gradient(
      to right,
      var(--color-darkmode) 50%,
      color-mod(var(--color-darkmode) a(0%)) 100%
    );
  }

  html.auto-color .gh-content table:not(.gist table) td:last-child {
    background-image: linear-gradient(
      to left,
      var(--color-darkmode) 50%,
      color-mod(var(--color-darkmode) a(0%)) 100%
    );
  }

  html.auto-color .gh-content table:not(.gist table) th {
    color: rgba(255, 255, 255, 0.85);
    background-color: color-mod(var(--color-darkmode) l(+8%));
  }

  html.auto-color .gh-content table:not(.gist table) th,
  html.auto-color .gh-content table:not(.gist table) td {
    border: color-mod(var(--color-darkmode) l(+8%)) 1px solid;
  }

  html.auto-color .gh-content :is(input, textarea) {
    color: color-mod(var(--color-midgrey) l(-30%));
  }

  html.auto-color .site-archive-header .no-image {
    color: rgba(255, 255, 255, 0.9);
    background: var(--color-darkmode);
  }

  html.auto-color .kg-header-card.kg-style-dark {
    background: color-mod(var(--color-darkgrey) l(-5%));
  }

  html.auto-color .kg-header-card.kg-style-light {
    background: color-mod(var(--color-darkgrey) l(+5%));
  }

  html.auto-color .kg-header-card h2.kg-header-card-header,
  html.auto-color .kg-header-card h3.kg-header-card-subheader {
    color: #fff;
  }

  html.auto-color .kg-bookmark-card a.kg-bookmark-container,
  html.auto-color .kg-bookmark-card a.kg-bookmark-container:hover {
    background: var(--color-darkmode) !important;
    color: #fff !important;
  }

  html.auto-color .footer-cta-title {
    color: #fff;
  }

  @media (max-width: 767px) {
    html.auto-color .gh-head-open:not(.has-cover) #gh-head,
    html.auto-color .gh-head-open:not(.has-cover) #gh-head .gh-head-actions {
      background: var(--color-darkmode);
    }
  }
}

/* 12. Lightbox
/* ---------------------------------------------------------- */

.pswp {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3999999;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
  outline: none;
  backface-visibility: hidden;
  -webkit-text-size-adjust: 100%;
}

.pswp img {
  max-width: none;
}

.pswp--animate_opacity {
  opacity: 0.001;
  transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
  will-change: opacity;
}

.pswp--open {
  display: block;
}

.pswp--zoom-allowed .pswp__img {
  cursor: zoom-in;
}

.pswp--zoomed-in .pswp__img {
  cursor: grab;
}

.pswp--dragging .pswp__img {
  cursor: grabbing;
}

.pswp__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  opacity: 0;
  transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity;
}

.pswp__scroll-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pswp__container,
.pswp__zoom-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  touch-action: none;
  backface-visibility: hidden;
}

.pswp__container,
.pswp__img {
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.pswp__zoom-wrap {
  position: absolute;
  width: 100%;
  transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
  transform-origin: left top;
}

.pswp--animated-in .pswp__bg,
.pswp--animated-in .pswp__zoom-wrap {
  transition: none;
}

.pswp__item {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.pswp__img {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
}

.pswp__img--placeholder {
  backface-visibility: hidden;
}

.pswp__img--placeholder--blank {
  background: #000;
}

.pswp--ie .pswp__img {
  top: 0;
  left: 0;
  width: 100% !important;
  height: auto !important;
}

.pswp__error-msg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin-top: -8px;
  font-size: 14px;
  line-height: 16px;
  color: var(--color-secondary-text);
  text-align: center;
}

.pswp__error-msg a {
  color: var(--color-secondary-text);
  text-decoration: underline;
}

.pswp__button {
  position: relative;
  display: block;
  float: right;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  overflow: visible;
  appearance: none;
  cursor: pointer;
  background: none;
  border: 0;
  box-shadow: none;
  transition: opacity 0.2s;
}

.pswp__button:focus,
.pswp__button:hover {
  opacity: 1;
}

.pswp__button:active {
  outline: none;
  opacity: 0.9;
}

.pswp__button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.pswp__ui--over-close .pswp__button--close {
  opacity: 1;
}

.pswp__button,
.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before {
  width: 44px;
  height: 44px;
  background: url('../images/default-skin.png') 0 0 no-repeat;
  background-size: 264px 88px;
}

@media (-webkit-min-device-pixel-ratio: 1.1),
  (-webkit-min-device-pixel-ratio: 1.09375),
  (min-resolution: 105dpi),
  (min-resolution: 1.1dppx) {
  .pswp--svg .pswp__button,
  .pswp--svg .pswp__button--arrow--left::before,
  .pswp--svg .pswp__button--arrow--right::before {
    background-image: url('../images/default-skin.svg');
  }

  .pswp--svg .pswp__button--arrow--left,
  .pswp--svg .pswp__button--arrow--right {
    background: none;
  }
}

.pswp__button--close {
  background-position: 0 -44px;
}

.pswp__button--share {
  background-position: -44px -44px;
}

.pswp__button--fs {
  display: none;
}

.pswp--supports-fs .pswp__button--fs {
  display: block;
}

.pswp--fs .pswp__button--fs {
  background-position: -44px 0;
}

.pswp__button--zoom {
  display: none;
  background-position: -88px 0;
}

.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}

.pswp--zoomed-in .pswp__button--zoom {
  background-position: -132px 0;
}

.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
  visibility: hidden;
}

.pswp__button--arrow--left,
.pswp__button--arrow--right {
  position: absolute;
  top: 50%;
  width: 70px;
  height: 100px;
  margin-top: -50px;
  background: none;
}

.pswp__button--arrow--left {
  left: 0;
}

.pswp__button--arrow--right {
  right: 0;
}

.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before {
  position: absolute;
  top: 35px;
  width: 32px;
  height: 30px;
  content: '';
}

.pswp__button--arrow--left::before {
  left: 6px;
  background-position: -138px -44px;
}

.pswp__button--arrow--right::before {
  right: 6px;
  background-position: -94px -44px;
}

.pswp__counter {
  position: absolute;
  top: 0;
  left: 0;
  height: 44px;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 700;
  line-height: 44px;
  color: #fff;
  user-select: none;
}

.pswp__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 44px;
}

.pswp__caption__center {
  max-width: 420px;
  padding: 25px 15px 30px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.6;
  color: #fff;
  text-align: center;
}

.pswp__caption__center .post-caption-title {
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.pswp__caption__center
  .post-caption-meta-item
  + .post-caption-meta-item::before {
  padding: 0 4px;
  content: '\02022';
}

.pswp__caption--empty {
  display: none;
}

.pswp__caption--fake {
  visibility: hidden;
}

.pswp__preloader {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  opacity: 0;
  transition: opacity 0.25s ease-out;
  direction: ltr;
  will-change: opacity;
}

.pswp__preloader__icn {
  width: 20px;
  height: 20px;
  margin: 12px;
}

.pswp__preloader--active {
  opacity: 1;
}

.pswp__preloader--active .pswp__preloader__icn {
  background: url('../images/preloader.gif') 0 0 no-repeat;
}

.pswp--css_animation .pswp__preloader--active {
  opacity: 1;
}

.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
  animation: clockwise 500ms linear infinite;
}

.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
  animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
}

.pswp--css_animation .pswp__preloader__icn {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 14px;
  height: 14px;
  margin: 0;
  background: none;
  opacity: 0.75;
}

.pswp--css_animation .pswp__preloader__cut {
  position: relative;
  width: 7px;
  height: 14px;
  overflow: hidden;
}

.pswp--css_animation .pswp__preloader__donut {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  margin: 0;
  background: none;
  border: 2px solid #fff;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
}

@media screen and (max-width: 1024px) {
  .pswp__preloader {
    position: relative;
    top: auto;
    left: auto;
    float: right;
    margin: 0;
  }
}

@keyframes clockwise {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes donut-rotate {
  0% {
    transform: rotate(0);
  }

  50% {
    transform: rotate(-140deg);
  }

  100% {
    transform: rotate(0);
  }
}

.pswp__ui {
  z-index: 1550;
  visibility: visible;
  opacity: 1;
  -webkit-font-smoothing: auto;
}

.pswp__top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 44px;
}

.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
  backface-visibility: hidden;
  transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
  will-change: opacity;
}

.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
  visibility: visible;
}

.pswp__ui--idle .pswp__top-bar {
  opacity: 0;
}

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
  opacity: 0;
}

.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
  opacity: 0.001;
}

.pswp__ui--one-slide .pswp__button--arrow--left,
.pswp__ui--one-slide .pswp__button--arrow--right,
.pswp__ui--one-slide .pswp__counter {
  display: none;
}

.pswp__element--disabled {
  display: none !important;
}

.pswp--minimal--dark .pswp__top-bar {
  background: none;
}

/*

Hey! You reached the end.

Hope you enjoyed this CSS file, if you have any suggestions
for improvements that might be useful for everyone who uses
this theme, you can find the open source repository for it
here: https://github.com/tryghost/casper

Or, if you've just scrolled all the way to the bottom of the
file to add some of your own styles. Well, you've come to
the right place. Onward!

 */

/* General container styles */
#table-of-contents {
  display: flex;
  flex: none;
  position: sticky;
  top: 80px;
  flex-direction: column;
  height: max-content;
  width: 260px; /* Adjust as needed */
  padding: 8px 0; /* Adjusted padding for a tighter look */
}
@media screen and (max-width: 768px) {
  #table-of-contents {
    top: 64px;
    width: 100vw;
    margin-left: -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 1px solid var(--slate-300, #cbd5e1);
    border-bottom: 1px solid var(--slate-300, #cbd5e1);
    background: var(--white, #fff);
  }
  .table-content-heading {
    margin-top: 0.5em;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
  }
  #toc-view-all-btn {
    background: none;
    outline: none;
    font-size: 14px;
    font-weight: 700;
    color: #1e1e1e;
    display: flex;
    align-items: center;
  }
}

#table-of-contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Individual list item styles */
#table-of-contents li {
  font-size: 18px !important; /* Standardized font size */
  /* Switched to a more modern, sans-serif font stack */
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 12px 0px;
  cursor: pointer;

  transition: color 0.2s;
  color: #333;
  position: relative; /* Needed for the active indicator pseudo-element */
  border-left: none; /* Removed the original left border */
}

/* Hover state for non-active items */
#table-of-contents li:not(.ant-tabs-tab-active):hover {
  color: #5856d6; /* Use a color that matches the active state */
}

/* Active list item styles */
#table-of-contents li.ant-tabs-tab-active {
  background: transparent; /* Removed background color for active state */
  color: #5856d6; /* A vibrant blue/purple to match the image */
  font-weight: 600;
}

/* The new active state indicator on the right */
#table-of-contents li.ant-tabs-tab-active::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px; /* Fixed height, shorter than the list item */
  background-color: #5856d6;
  border-radius: 4px; /* Creates the rounded look */
}

#table-of-contents li a {
  color: inherit; /* Inherit text color from parent */
  text-decoration: none; /* Remove underline */
}
.toc-list {
  display: block;
}
.toc-list.collapsed {
  display: none;
}
.toc-view-all-btn {
  display: block;
  width: 100%;
  margin-bottom: 8px;
}
.toc-active-section {
  margin-bottom: 8px;
  font-weight: bold;
}
@media (max-width: 768px) {
  #table-of-contents .toc-list {
    display: none;
  }
  #table-of-contents .toc-list.open {
    display: block;
  }
}
.header-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  fill: linear-gradient(
    90deg,
    rgba(77, 56, 255, 0.4) 3.36%,
    rgba(56, 136, 255, 0.4) 51.49%,
    rgba(56, 255, 159, 0.4) 99.99%
  );

  filter: blur(295px);
}

#scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  z-index: 9999;
  background: #4d38ff;
  transition: width 0.2s;
}

/* The main container for the author box */
.author-card {
  background-color: #ffffff;
  border: 1px solid #d1e3ff; /* Light blue border */
  border-radius: 8px;
  padding: 24px;
  margin-top: 50px;
  /* max-width: 650px; */
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Header section with the title */
.author-header {
  margin-bottom: 20px;
}

.author-header h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #212529;
  font-weight: 400; /* Regular weight for "Meet the Author:" */
}

.author-header h3 strong {
  font-weight: 700; /* Bold for the author's name */
}

/* The decorative green underline */
.title-underline {
  height: 4px;
  width: 100px;
  background-color: #50e3c2; /* Bright mint green */
  border-radius: 2px;
}

/* Flex container for the avatar and details */
.author-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* The circular author avatar */
.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover; /* Prevents the image from stretching */
  flex-shrink: 0; /* Prevents the image from shrinking */
}

.author-details {
  flex-grow: 1;
}

/* The biography paragraph */
.author-bio {
  margin: 0 0 24px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #495057;
  max-width: 600px;
}

.author-bio a {
  color: #4a4a9a; /* Purple-blue color for the link */
  text-decoration: none;
  font-weight: 600;
}

.author-bio a:hover {
  text-decoration: underline;
}

/* Container for the social media links */
.author-socials {
  display: flex;
  flex-wrap: wrap; /* Allows links to wrap on smaller screens */
  gap: 24px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #4a4a9a; /* Match the bio link color */
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s ease-in-out;
}

.social-link:hover {
  opacity: 0.7; /* Slight fade on hover */
}

.social-link svg {
  width: 20px;
  height: 20px;
}

@media screen and (min-width: 768px) {
  .gh-head.is-post .gh-head-inner {
    margin: 0 auto;
  }
  .gh-head.is-post .gh-head-inner .gh-head-menu {
    border-radius: 30px;
    border: 1px solid var(--slate-200, #e2e8f0);
    background: var(--slate-50, #f8fafc);
  }
}

.gh-head.is-post .gh-head-inner {
  grid-template-columns: auto 1fr;
  width: 100%;
  max-width: 1240px;
  column-gap: 100px;
  justify-content: space-between;
}

.has-cover .is-post .gh-burger:after,
.has-cover .is-post .gh-burger:before {
  background-color: #000;
}

.post-content-wrapper p {
  margin-block: 2em;
}

.post-content-wrapper img {
  border-radius: 10px;
}

.article-image img {
  border-radius: 15px;
}
