/* Propshaft serves CSS as-is (no SCSS compilation).
   This file is the manually compiled output of the contentful_blog engine's SCSS.
   Color variables resolved from _colors.scss:
     $blog-color-1:       #48AC98
     $blog-color-1-light: #E8F4F2
     $blog-color-1-dark:  #2f8b79  (darken(#48AC98, 15%))
     $blog-color-2:       #E16259
     $blog-color-2-dark:  #c94a41  (darken(#E16259, 15%))
*/

:root {
  --blog-color-1: #FF782C;
  --blog-color-1-light: #e8f4f2;
  --blog-color-1-dark: #FF782C;
  --blog-color-2: #e16259;
  --blog-color-2-dark: #c94a41;
}

/* ─── .blog-main wrapper ─────────────────────────────────────────────────── */

.blog-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  box-sizing: border-box;
}

.blog-main img {
  max-width: 100%;
  height: auto;
}

.blog-main a {
  color: var(--blog-color-1-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.blog-main a:hover {
  color: var(--blog-color-2-dark);
}

.blog-main h1,
.blog-main h2,
.blog-main h3 {
  line-height: 1.2;
}

.blog-main p,
.blog-main li {
  line-height: 1.7;
}

/* ─── Blog index (.blog-posts) ───────────────────────────────────────────── */

.blog-posts {
  font-family: Inter, sans-serif;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 767px) {
  .blog-posts {
    max-width: none;
    margin-top: 0;
  }
}

.blog-posts__posts {
  max-width: 600px;
  margin: 50px auto 70px auto;
}

@media screen and (max-width: 767px) {
  .blog-posts__posts {
    margin-top: 0;
  }
}

.blog-posts__author-title,
.blog-posts__category-title {
  font-size: 14px;
  text-align: center;
  color: #252729;
  padding: 45px 15px;
  background-color: #f5f5f5;
}

@media screen and (max-width: 767px) {
  .blog-posts__author-title,
  .blog-posts__category-title {
    font-size: 10px;
    padding: 30px 15px;
  }
}

.blog-posts__author-title h1,
.blog-posts__category-title h1 {
  margin: 0;
}

.blog-posts__post {
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 -1px 0px rgba(0, 0, 0, 0.015);
  border: 1px solid #ddd;
  margin: 0 0 80px 0;
  overflow: hidden;
}

.blog-posts__post:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .blog-posts__post {
    box-shadow: none;
    border-radius: 0;
  }
}

.blog-posts__image {
  display: block;
}

.blog-posts__image img {
  width: 600px;
  height: 300px;
}

@media screen and (max-width: 767px) {
  .blog-posts__image img {
    width: 100%;
    height: auto;
  }
}

.blog-posts__inner {
  padding: 20px;
}

@media screen and (max-width: 767px) {
  .blog-posts__inner {
    padding: 30px 0;
    margin: 0 15px;
    border-bottom: 1px solid #ddd;
  }
}

.blog-posts__meta {
  margin: 0 0 10px 0;
}

.blog-posts__meta span:after {
  content: "–";
  margin: 0 2px 0 5px;
}

.blog-posts__meta span:last-child:after {
  content: "";
}

.blog-posts__categories {
  margin: 0 0 30px 0;
}

.blog-posts__categories a {
  color: #000;
  text-decoration: none;
}

.blog-posts__categories a:hover {
  color: #FF782C;
}

.blog-posts__post-title {
  margin: 0 0 5px 0;
}

.blog-posts__post-title a {
  color: #000;
  text-decoration: none;
}

.blog-posts__post-title a:hover {
  color: #000;
  text-decoration: none;
}

.blog-posts__description {
  margin: 15px 0 30px 0;
  line-height: 1.6;
  font-size: 18px;
}

.blog-posts__link {
  border-radius: 6px;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: fit-content;
  box-shadow: 0 1px 1px 0 rgba(60, 66, 87, 0.1);
  font-size: 14px;
  line-height: 20px;
  padding: 14px 20px;
  font-weight: 500;
  color: #ffffff !important;
  background-color: #FF782C;
}

.blog-posts__link:hover {
  color: #ffffff;
  background-color: #FF782C;
}

.blog-posts__author {
  display: flex;
  margin-top: 40px;
}

.blog-posts__author-avatar {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-posts__author-avatar img {
  width: 100%;
  border-radius: 500px;
}

.blog-posts__author-info {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.blog-posts__author-name a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.blog-posts__author-name a:hover {
  color: #FF782C;
}

/* Blog Hero */
.blog-posts__homepage {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 80px 112px 30px;
  gap: 24px;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .blog-posts__homepage {
    flex-direction: column-reverse;
    padding: 40px 56px;
  }
}

.blog-posts__homepage__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 102px 0 0;
  gap: 16px;
  max-width: 612px;
}

@media screen and (max-width: 767px) {
  .blog-posts__homepage__content {
    width: 100%;
    padding: 0 51px 0 0;
  }
}

.blog-posts__homepage__content__subtitle {
  max-width: 510px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.05em;
  color: #e16259;
}

.blog-posts__homepage__content__title {
  max-width: 470px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 44px;
  color: #252729;
}

.blog-posts__homepage__content__description {
  max-width: 510px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #8a8f98;
}

.blog-posts__homepage__image {
  width: 580px;
  height: 504px;
}

@media screen and (max-width: 767px) {
  .blog-posts__homepage__image {
    width: 290px;
    height: 252px;
  }
}

/* Blog CTA section */
.blog-posts__cta-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 32px 32px;
  gap: 32px;
}

.blog-posts__cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 60px 112px;
  gap: 40px;
  background: rgba(245, 245, 245, 0.66);
  border-radius: 12px;
  justify-content: center;
  margin: 32px 0;
}

@media screen and (max-width: 767px) {
  .blog-posts__cta {
    flex-wrap: wrap;
  }
}

.blog-posts__cta__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 32px;
  width: 652px;
  height: 157px;
  margin-bottom: 32px;
}

.blog-posts__cta__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 16px;
  width: 652px;
  height: 72px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
  color: #252729;
}

.blog-posts__cta__form {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  gap: 4px;
  width: 601px;
  height: 53px;
}

@media screen and (max-width: 767px) {
  .blog-posts__cta__form {
    width: 100%;
  }
}

.blog-posts__cta__form input {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 15px 16px 14px;
  gap: 10px;
  width: 410px;
  height: 53px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.blog-posts__cta__form button {
  height: inherit;
}

.blog-posts__cta__image {
  width: 460px;
  height: 331px;
}

@media screen and (max-width: 767px) {
  .blog-posts__cta__image {
    width: 230px;
    height: 165px;
  }
}

/* Pagination */
.blog-posts__pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 40px 0;
  gap: 8px;
  justify-content: center;
}

.blog-posts__pagination a {
  text-decoration: none;
}

.blog-posts__pagination__link-item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
  border-radius: 6px;
  height: 32px;
  width: 97px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #FF782C;
}

.blog-posts__pagination__link-item:hover {
  background: #e8f4f2;
  border-radius: 4px;
}

.blog-posts__pagination__link-item--disabled {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
  border-radius: 6px;
  width: 97px;
  height: 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #252729;
  opacity: 0.4;
}

.blog-posts__pagination__link-item--disabled:hover {
  color: #252729;
  opacity: 0.4;
}

.blog-posts__pagination__number-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  gap: 8px;
  width: 32px;
  height: 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #252729;
}

.blog-posts__pagination__number-item:hover {
  background: #e8f4f2;
  border-radius: 4px;
  color: #FF782C;
}

.blog-posts__pagination__number-item--active {
  background: #FF782C;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff !important;
}

.blog-posts__pagination__number-item--active:hover {
  color: #FF782C !important;
}

.blog-posts__pagination__separator {
  width: 12px;
  height: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #252729;
  opacity: 0.4;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.blog-posts__cta-button {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 15px 24px 14px;
  gap: 10px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  letter-spacing: 0.01em;
  border: none;
  color: #ffffff !important;
  background-color: #FF782C;
}

.blog-posts__cta-button__small {
  padding: 10px 16px;
  line-height: 20px;
}

.blog-posts__cta-button:hover {
  background-color: #FF782C;
}

/* ─── Blog post (.blog-post) ─────────────────────────────────────────────── */

.blog-post {
  font-family: 'Inter', sans-serif;
  padding-top: 20px;
}

.blog-post__main {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 50px auto;
  gap: 40px;
  filter: drop-shadow(0px -1px 0px rgba(0, 0, 0, 0.02)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.05));
  border-radius: 4px;
}

@media screen and (max-width: 767px) {
  .blog-post__main {
    max-width: none;
    margin: 0 10px;
  }
}

.blog-post__image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: 4px solid #ffffff;
  border-radius: 4px;
}

.blog-post__image img {
  width: 600px;
  height: 300px;
  border-radius: 4px;
}

@media screen and (max-width: 767px) {
  .blog-post__image img {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
}

.blog-post__meta {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  gap: 8px;
}

.blog-post__meta span:after {
  content: "–";
  margin: 0 2px 0 5px;
}

.blog-post__meta span:last-child:after {
  content: "";
}

.blog-post__categories a {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.005em;
  color: #252729;
  text-decoration: none;
}

.blog-post__categories a:hover {
  color: purple;
}

.blog-post__published-on {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.005em;
  color: #252729;
}

.blog-post__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}

@media screen and (max-width: 767px) {
  .blog-post__inner {
    margin: 0 15px;
  }
}

.blog-post__post-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: 0.005em;
  color: #252729;
  padding: 7px 0 21px;
}

.blog-post__content {
  line-height: 1.6;
  font-size: 18px;
}

.blog-post__content a {
  color: purple;
}

.blog-post__content a:hover {
  color: #330033;
}

.blog-post__content h1 a,
.blog-post__content h2 a,
.blog-post__content h3 a,
.blog-post__content h4 a,
.blog-post__content h5 a,
.blog-post__content h6 a,
.blog-post__content p a {
  font-weight: 400;
  font-size: 18px;
  line-height: 29px;
  letter-spacing: 0.0025em;
  text-decoration-line: underline;
  color: #e16259;
}

.blog-post__content h1 a:hover,
.blog-post__content h2 a:hover,
.blog-post__content h3 a:hover,
.blog-post__content h4 a:hover,
.blog-post__content h5 a:hover,
.blog-post__content h6 a:hover,
.blog-post__content p a:hover {
  color: #c94a41;
}

.blog-post__content h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 52px;
  padding: 27px 0 21px;
}

.blog-post__content h2 {
  font-weight: 600;
  font-size: 34px;
  line-height: 48px;
  padding: 27px 0 21px;
}

.blog-post__content h3 {
  font-weight: 600;
  font-size: 28px;
  line-height: 39.2px;
  padding: 0 0 14px;
}

.blog-post__content h4 {
  font-weight: 600;
  font-size: 21px;
  line-height: 32px;
  padding: 0 0 14px;
}

.blog-post__content h5 {
  font-weight: 600;
  font-size: 18px;
  line-height: 29px;
  padding: 0 0 14px;
}

.blog-post__content h6 {
  padding: 14px 0;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.005em;
  color: #252729;
}

.blog-post__content p {
  font-weight: 400;
  font-size: 18px;
  line-height: 29px;
  padding: 0;
}

.blog-post__content img {
  width: 100%;
  height: auto;
}

.blog-post__content ul {
  list-style: disc;
  margin-left: 20px;
}

.blog-post__content ol {
  list-style: decimal;
  margin-left: 20px;
}

@media screen and (max-width: 767px) {
  .blog-post__content {
    width: 100%;
  }
}

.blog-post__social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  margin: 30px 0 0 0;
}

.blog-post__social-title {
  font-weight: 500;
  margin: 0 0 10px 0;
  display: block;
}

.blog-post__social-links {
  display: flex;
  justify-content: center;
}

.blog-post__social-link {
  margin: 0 3px;
}

.blog-post__author {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  width: 600px;
  height: 80px;
}

@media screen and (max-width: 767px) {
  .blog-post__author {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.blog-post__author-avatar {
  width: 80px;
  height: 80px;
  margin-right: 15px;
  border-radius: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-post__author-avatar img {
  width: 100%;
  height: auto;
}

.blog-post__author-info {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.blog-post__author-name a {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.005em;
  color: #252729;
}

.blog-post__author-name a:hover {
  color: #252729;
}

.blog-post__embed-instagram {
  display: flex;
  justify-content: center;
}

.blog-post__embed-youtube {
  width: 100%;
}

.blog-post__embed-youtube iframe {
  width: 100%;
  min-height: 360px;
}

.blog-post__embed-audio {
  margin-top: 15px;
  margin-bottom: 15px;
}

.blog-post__toc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 32px;
  border: 1px solid #ebebeb;
  border-radius: 4px;
  margin-bottom: 32px;
}

.blog-post__toc a {
  text-decoration: none;
}

.blog-post__toc__header {
  font-weight: 600;
  font-size: 28px;
  line-height: 39px;
  color: #252729;
  padding: 7px 0 14px;
}

.blog-post__toc__content-2 {
  padding: 21px 0 0;
}

.blog-post__toc__content-2 a {
  font-weight: 400;
  font-size: 18px;
  line-height: 29px;
  letter-spacing: 0.005em;
  color: #252729;
}

.blog-post__toc__content-2 a:hover {
  color: #252729;
}

.blog-post__toc__content-3 {
  padding: 7px 0 0 40px;
}

.blog-post__toc__content-3 a {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.005em;
  color: #252729;
}

.blog-post__toc__content-3 a:hover {
  color: #252729;
}

/* ─── Author page (.author) ──────────────────────────────────────────────── */

.author {
  border-bottom: 1px solid rgba(136, 136, 136, 0.2);
}

.author__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  gap: 24px;
  max-width: 800px;
  margin: auto;
  filter: drop-shadow(0px -1px 0px rgba(0, 0, 0, 0.02)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.05));
  border-radius: 4px;
  flex: none;
  flex-grow: 0;
}

.author__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
}

.author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author .author-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0.005em;
  text-align: center;
}

.author .author-position {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.005em;
  text-align: center;
}

.author .author-social {
  display: flex;
  flex-direction: row;
  height: 32px;
  gap: 16px;
  align-items: center;
}

.author .author-bio {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.005em;
  text-align: center;
}

.author__website {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 14px;
  background: #FF782C;
  border-radius: 4px;
  padding: 4px 8px;
  text-decoration: none;
}

.author__website:hover {
  background: #FF782C;
  color: #fff;
}

/* ─── Shortcode templates ────────────────────────────────────────────────── */

.shortcode__cta-button {
  border-radius: 6px;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: fit-content;
  box-shadow: 0 1px 1px 0 rgba(60, 66, 87, 0.1);
  border: none;
  font-size: 14px;
  line-height: 20px;
  padding: 14px 20px;
  font-weight: 500;
  color: #ffffff;
  background-color: #FF782C;
}

.shortcode__cta-button:hover {
  color: #ffffff;
  background-color: #FF782C;
}

.shortcode__cta-button--block {
  width: 100%;
}

.shortcode__subscription-button {
  border-radius: 6px;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: fit-content;
  box-shadow: 0 1px 1px 0 rgba(60, 66, 87, 0.1);
  margin-bottom: 0.5rem;
  font-size: 14px;
  line-height: 20px;
  padding: 14px 20px;
  font-weight: 500;
  cursor: pointer;
  color: #ffffff;
  background-color: #004752;
}

.shortcode__subscription-button:hover {
  color: #ffffff;
  background-color: #003038;
}

.shortcode__subscription-button--block {
  width: 100%;
}

.subscription-button:not(:last-child) {
  margin-bottom: 0.5rem;
}

.shortcode__inline-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 54px 0;
  gap: 10px;
  margin-top: 32px;
  background: #e8f4f2;
  border-radius: 6px;
  margin-bottom: 36px;
  width: 600px;
}

@media screen and (max-width: 767px) {
  .shortcode__inline-cta {
    width: 100%;
  }
}

.shortcode__inline-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 8px;
  margin: 0 32px;
}

.shortcode__inline-cta__content__title {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #272729;
}

.shortcode__inline-cta__content__description {
  font-weight: 400;
  font-size: 18px;
  line-height: 29px;
  text-align: center;
  letter-spacing: 0.0025em;
  color: #252729;
}

.shortcode__inline-cta__cta-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 4px;
}

@media screen and (max-width: 767px) {
  .shortcode__inline-cta__cta-box {
    flex-direction: column;
    gap: 8px;
  }
}

.shortcode__inline-cta__cta-box input {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 10px 15px;
  width: 297px;
  height: 40px;
  background: #ffffff;
  border: 1px solid #e8e7e4;
  border-radius: 4px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #252729;
}

.shortcode__inline-cta__cta-box button {
  height: 40px;
}
