/* =========================================================
   Blog Hero / Featured Story
   ========================================================= */
/* * {
  font-family: "Cormorant Garamond", serif !important;
} */

b,
strong {
  font-weight: bolder;
  font-family: "Cormorant Garamond", serif !important;
}

.featured-story-visual {
  position: relative;
  max-width: 480px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Soft orange glow behind the book */
.featured-story-glow {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(242, 68, 5, 0.1);
  filter: blur(45px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* First Edition label */
.featured-story-edition-badge {
  position: absolute;
  z-index: 3;
  top: 2em;
  right: 5em;
  padding: 7px 26px;
  border: 1px solid #f24405;
  border-radius: 999px;
  background: rgba(242, 68, 5, 0.08);
  color: #f24405;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-6.005deg);
}

/* Book wrapper */
.featured-story-book {
  position: relative;
  /* z-index: 2; */
  /* width: 82%; */
  /* margin-right: auto; */
  /* margin-left: auto; */
}

/* Book image */
.featured-story-book-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  /* height: auto; */
  /* border-radius: 0.5rem; */
  /* filter: drop-shadow(0 24px 30px rgba(71, 39, 24, 0.22)); */
}

/* Now on press card */
.featured-story-press-card {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;

  display: flex;
  width: 16em;
  min-height: 72.52px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;

  padding: 10.69px 22px 10.89px;

  border: 1.07px solid #f24405;
  border-radius: 10.41px;

  background: rgba(242, 68, 5, 0.1);
  color: #f24405;

  backdrop-filter: blur(26.73px);
  -webkit-backdrop-filter: blur(26.73px);

  transform: rotate(-6.005deg);
  transform-origin: center;
}

.featured-story-press-content {
  display: flex;
  width: 203px;
  min-height: 49.75px;
  flex-direction: column;
  justify-content: center;

  word-break: break-word;
}

/* Small heading inside press card */
.featured-story-press-kicker {
  width: 100%;
  margin: 0;

  color: rgba(0, 0, 0, 0.5);

  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10.89px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Book name inside press card */
.featured-story-press-title {
  width: 100%;
  margin: 2px 0 0;

  color: #f24405;

  font-family: "Cormorant Garamond", serif;
  font-size: 19.05px;
  font-weight: 600;
  line-height: 20.41px;
}

.featured-story-press-title {
  font-size: 0;
}

.featured-story-press-title__dynamic {
  font-size: 19.05px;
}

.why-authors-description {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: black;
  margin-bottom: 0;
  text-align: right;
  max-width: 30rem;
}

/* =========================================================
   Journal card grid
   ========================================================= */

.journal-section {
  padding: 100px 0;
  background: #fff;
}

.journal-container {
  max-width: 1374px;
}

.journal-header {
  margin-bottom: 56px;
}

.journal-kicker {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 25px;
  color: #f24405;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.journal-kicker::before {
  width: 26px;
  height: 1px;
  background: #f24405;
  content: "";
}

.journal-heading {
  max-width: 610px;
  margin: 0;
  color: #000;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 4vw, 60px);
  font-weight: 600;
  line-height: 1.08;
}

.journal-heading em {
  color: #f24405;
  font-style: italic;
}

.journal-intro {
  max-width: 460px;
  margin: 0 0 4px;
  color: #000;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  text-align: right;
}

.journal-grid > * {
  padding-top: 0;
}

.journal-card {
  display: block;
  color: #212121;
  text-decoration: none;
}

.journal-card:hover,
.journal-card:focus {
  color: #212121;
}

.journal-card-image {
  display: block;
  width: 100%;
  border-radius: 13px;
  object-fit: cover;
}

.journal-card-featured .journal-card-image {
  aspect-ratio: 1.486 / 1;
}

.journal-latest {
  max-width: 1120px;
  margin: 0 auto;
}

.journal-card-latest {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.journal-card-latest .journal-card-image {
  width: 100%;
  aspect-ratio: 1.486 / 1;
}

.journal-card-latest .journal-card-title {
  margin: 14px 0 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.12;
}

.journal-latest-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f24405;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-latest-label::before {
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

.journal-card-title {
  margin: 22px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.47;
}

.journal-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.journal-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.journal-time {
  color: #9a9a9a;
  white-space: nowrap;
}

/* =========================================================
   Blog detail article
   ========================================================= */

.article-detail-section {
  padding: 100px 0 130px;
  background: #fff;
}

.article-detail-shell {
  /* max-width: 1684px; */
}

.article-detail-header {
  /* max-width: 1050px; */
  margin-bottom: 76px;
  margin-top: 2rem;
}

.article-detail-author {
  margin-bottom: 33px;
}

.article-detail-author img {
  width: 76px;
  height: 76px;
  margin-bottom: 10px;
  border-radius: 50%;
  object-fit: cover;
}

.article-detail-author p {
  margin: 0;
  color: #212121;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  line-height: 1.35;
}

.article-detail-author span {
  display: block;
  color: #757575;
  font-size: 20px;
}

.article-detail-header h1 {
  margin: 0 auto 33px;
  color: #212121;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.09;
}

.article-detail-meta {
  gap: 20px;
  color: #757575;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.article-detail-meta i {
  margin-right: 10px;
  color: #f24405;
}

.article-detail-publisher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-detail-publisher img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.article-detail-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f2f2f2;
}

.article-detail-content {
      max-width: 983px;
      color: #212121;
      font-family: "Plus Jakarta Sans", sans-serif;
      font-size: 20px;
      font-weight: 400;
      line-height: 1.64;
      font-family: "Cormorant Garamond", serif !important;
}

.article-detail-content p {
  margin: 0 0 28px;
}

.article-detail-feature-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 55px 0;
  border-radius: 16px;
  aspect-ratio: 983 / 553;
  object-fit: cover;
}

.article-detail-summary {
  margin: 0 0 55px !important;
  padding-left: 34px;
  border-left: 3px solid #f24405;
  font-weight: 500;
}

.article-detail-content h2 {
  margin: 40px 0 16px;
  color: #212121;
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.article-detail-content ol {
  margin: 0 0 32px;
  padding-left: 24px;
}

.article-detail-content li {
  margin-bottom: 20px;
}

.article-detail-content li strong {
  font-weight: 700;
}

.article-detail-share {
  position: absolute;
  top: 478px;
  right: 136px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.article-detail-share a {
  display: inline-flex;
  width: 55px;
  height: 55px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 68, 5, 0.25);
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(244, 232, 228, 0.05),
    rgba(242, 68, 5, 0.05)
  );
  color: #f24405;
  font-size: 25px;
  text-decoration: none;
}

.article-detail-share a:hover,
.article-detail-share a:focus {
  border-color: #f24405;
  background: #f24405;
  color: #fff;
}

@media (max-width: 1399.98px) {
  .article-detail-share {
    right: 32px;
  }
}

@media (max-width: 1199.98px) {
  .article-detail-share {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 48px;
  }
}

@media (max-width: 767.98px) {
  .article-detail-section {
    padding: 72px 0;
  }

  .article-detail-header {
    margin-bottom: 48px;
  }

  .article-detail-author img {
    width: 62px;
    height: 62px;
  }

  .article-detail-author p {
    font-size: 18px;
  }

  .article-detail-author span {
    font-size: 15px;
  }

  .article-detail-header h1 {
    font-size: 39px;
  }

  .article-detail-meta,
  .article-detail-content {
    font-size: 16px;
  }

  .article-detail-feature-image {
    margin: 36px 0;
  }

  .article-detail-summary {
    margin-bottom: 38px !important;
    padding-left: 20px;
  }

  .article-detail-content h2 {
    margin-top: 32px;
    font-size: 28px;
  }

  .article-detail-share a {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-size: 20px;
  }
}

/* =========================================================
   Editor reading list
   ========================================================= */

.editor-picks-section {
  padding: 96px 0 84px;
  background: #f8f9fa;
}

.editor-picks-container {
  max-width: 1140px;
}

.editor-picks-header {
  margin-bottom: 28px;
}

.editor-picks-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #f24405;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.editor-picks-kicker::before {
  width: 15px;
  height: 1px;
  background: #f24405;
  content: "";
}

.editor-picks-heading {
  margin: 0;
  color: #000;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 3.2vw, 52px);
  font-weight: 600;
  line-height: 1.1;
}

.editor-picks-heading em {
  color: #f24405;
  font-style: italic;
}

.editor-picks-intro {
  margin: 12px 0 0;
  color: #212121;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
}

.editor-picks-grid {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 24px;
  margin-bottom: 40px;
}

.editor-pick-card {
  display: block;
  color: #212121;
  text-decoration: none;
}

.editor-pick-card:hover,
.editor-pick-card:focus {
  color: #212121;
}

.editor-pick-image {
  display: block;
  width: 100%;
  height: 15rem;
  aspect-ratio: auto;
  border-radius: 8px;
  object-fit: cover;
}
.editor-pick-card h3 {
  min-height: 46px;
  margin: 14px 0 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.editor-pick-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #4a4a4a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
}

.editor-pick-meta img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.editor-pick-meta time {
  color: #9a9a9a;
  white-space: nowrap;
}

.editor-picks-button {
  padding: 9px 28px;
  border: 0;
  border-radius: 3px;
  background: #f24405;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.editor-picks-button:hover,
.editor-picks-button:focus {
  background: #d93c04;
  color: #fff;
}

/* =========================================================
   Knowledge library
   ========================================================= */

.knowledge-library-section {
  overflow: hidden;
  padding: 100px 0 120px;
  background: linear-gradient(90deg, #fffdfc 0%, #fff5f1 50%, #fde7db 100%);
}

.knowledge-library-container {
  max-width: 1374px;
}

.knowledge-library-header {
  margin-bottom: 62px;
}

.knowledge-library-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: #f24405;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
}

.knowledge-library-kicker::before {
  width: 15px;
  height: 1px;
  background: #f24405;
  content: "";
}

.knowledge-library-header h2 {
  margin: 0;
  color: #000;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(46px, 4vw, 60px);
  font-weight: 600;
  line-height: 1.08;
}

.knowledge-library-header h2 em {
  color: #f24405;
  font-style: italic;
  font-weight: 700;
}

.knowledge-library-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
}

.knowledge-library-control {
  display: inline-flex;
  width: 61px;
  height: 61px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f8bda8;
  border-radius: 50%;
  background: #fff5f1;
  color: #f24405;
  font-size: 21px;
  line-height: 1;
}

.knowledge-library-control:hover,
.knowledge-library-control:focus,
.knowledge-library-next {
  border-color: #f24405;
  background: #f24405;
  color: #fff;
}

.knowledge-library-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.knowledge-library-viewport::-webkit-scrollbar {
  display: none;
}

.knowledge-library-list {
  display: flex;
  gap: 25px;
  width: max-content;
  padding-left: max(12px, calc((100vw - 1344px) / 2));
  padding-right: 12px;
}

.knowledge-library-list article {
  flex: 0 0 401px;
  width: 401px;
}

.knowledge-library-card {
  position: relative;
  display: block;
  color: #000;
  text-decoration: none;
}

.knowledge-library-card:hover,
.knowledge-library-card:focus {
  color: #000;
}

.knowledge-library-card img {
  display: block;
  width: 100%;
  height: 15rem;
  border: 0;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: inset 5px 0 14px rgba(0, 0, 0, 0.5);
}

.knowledge-library-category {
  display: block;
  margin-top: 15px;
  color: #f24405;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  line-height: 26px;
  text-transform: uppercase;
}

.knowledge-library-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  font-weight: 700;
  /* line-height: 26px; */
  padding-right: 45px;
}

.knowledge-library-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f8bda8;
  border-radius: 50%;
  color: #f24405;
  font-size: 16px;
}

@media (max-width: 1199.98px) {
  .knowledge-library-section {
    padding-bottom: 88px;
  }

  .knowledge-library-list {
    gap: 22px;
  }

  .knowledge-library-list article {
    flex-basis: min(35vw, 401px);
    width: min(35vw, 401px);
  }

  .knowledge-library-card img {
    height: auto;
    aspect-ratio: 401 / 537;
  }

  .knowledge-library-card h3 {
    font-size: 30px;
    line-height: 1;
  }
}

@media (max-width: 991.98px) {
  .knowledge-library-section {
    padding-top: 76px;
  }

  .knowledge-library-header {
    margin-bottom: 44px;
  }

  .knowledge-library-header h2 {
    font-size: 52px;
  }

  .knowledge-library-control {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }

  .knowledge-library-list article {
    flex-basis: min(48vw, 360px);
    width: min(48vw, 360px);
  }

  .knowledge-library-card h3 {
    font-size: 28px;
  }
}

@media (max-width: 767.98px) {
  .knowledge-library-section {
    padding: 64px 0 72px;
  }

  .knowledge-library-header h2 {
    font-size: 46px;
  }

  .knowledge-library-controls {
    gap: 12px;
  }

  .knowledge-library-control {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  .knowledge-library-list {
    gap: 18px;
    padding-left: 18px;
  }

  .knowledge-library-list article {
    flex-basis: min(70vw, 320px);
    width: min(70vw, 320px);
  }

  .knowledge-library-category {
    margin-top: 11px;
    font-size: 10px;
    line-height: 1.5;
  }

  .knowledge-library-card h3 {
    margin-top: 2px;
    font-size: 26px;
    line-height: 1;
  }

  .knowledge-library-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

.journal-card-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 35px;
  min-height: 241px;
}

.journal-card-horizontal .journal-card-image {
  height: 241px;
}

.journal-card-horizontal .journal-card-title {
  margin: 0 0 22px;
}

@media (max-width: 991.98px) {
  .journal-header {
    margin-bottom: 40px;
  }

  .journal-intro {
    margin-top: 24px;
    text-align: left;
  }

  .journal-card-latest {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 767.98px) {
  .journal-section {
    padding: 72px 0;
  }

  .journal-card-horizontal {
    display: block;
    min-height: 0;
  }

  .journal-card-horizontal .journal-card-image {
    height: auto;
    aspect-ratio: 1.486 / 1;
  }

  .journal-card-horizontal .journal-card-title {
    margin-top: 22px;
  }
}

@media (max-width: 575.98px) {
  .journal-heading {
    font-size: 42px;
  }

  .journal-card-title {
    font-size: 20px;
  }

  .journal-card-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .editor-picks-section {
    padding: 72px 0;
  }

  .editor-pick-card h3 {
    min-height: 0;
  }

  .knowledge-library-header {
    margin-bottom: 24px;
  }

  .knowledge-library-controls {
    margin-top: 24px;
  }

  .knowledge-library-list {
    gap: 18px;
    padding-left: 12px;
  }

  .knowledge-library-list article {
    flex-basis: min(78vw, 300px);
    width: min(78vw, 300px);
  }

  .knowledge-library-card img {
    height: auto;
    aspect-ratio: 401 / 537;
  }

  .knowledge-library-card h3 {
    font-size: 24px;
    line-height: 1;
  }

  .knowledge-library-control {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 767.98px) {
  .featured-story-visual {
    max-width: 400px;
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .featured-story-glow {
    width: 280px;
    height: 280px;
  }

  .featured-story-edition-badge {
    top: 1.5rem;
    right: 2rem;
    padding: 6px 18px;
    font-size: 10px;
  }

  .featured-story-book {
    width: 85%;
  }

  .featured-story-press-card {
    left: 0.5rem;
    width: 205px;
    padding: 10px 16px;
  }

  .featured-story-press-title {
    font-size: 17px;
  }
}

@media (max-width: 479.98px) {
  .featured-story-visual {
    padding-top: 3rem;
  }

  .featured-story-glow {
    width: 230px;
    height: 230px;
  }

  .featured-story-edition-badge {
    top: 1.5rem;
    right: 0.75rem;
  }

  .featured-story-book {
    width: 88%;
  }

  .featured-story-press-card {
    bottom: 0.5rem;
    left: 0;
    width: 185px;
  }

  .featured-story-press-kicker {
    font-size: 10px;
  }

  .featured-story-press-title {
    font-size: 15px;
  }
}

@media (max-width: 575.98px) {
  .featured-story-press-card {
    left: 4px;
    width: 220px;
    min-height: 66px;
    padding: 9px 18px;
  }

  .featured-story-press-content {
    width: 184px;
    min-height: auto;
  }

  .featured-story-press-kicker {
    font-size: 9.5px;
  }

  .featured-story-press-title {
    font-size: 17px;
    line-height: 19px;
  }
}
