/*
Theme Name: Bizkonto
Theme URI: https://bizkonto.de
Author: Biz Advisory LLC
Description: Custom bilingual WordPress theme for bizkonto.de.
Version: 0.1.29
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: bizkonto
*/

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

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-article__hero {
  background: #F6F2ED;
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2.75rem, 5vw, 4.5rem);
  text-align: center;
}

.blog-article__image {
  max-width: 960px;
  margin: 0 auto clamp(1.75rem, 3vw, 2.75rem);
}

.blog-article__image img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  border: 1px solid rgba(217, 208, 197, 0.8);
  background: #F6F2ED;
  box-shadow: 0 14px 34px rgba(27, 45, 79, 0.06);
}

.blog-article__heading {
  max-width: 920px;
}

.blog-article__hero .blog-hero__title {
  max-width: 920px;
  margin: 0 auto 1.1rem;
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.55rem);
  line-height: 1.12;
  text-wrap: balance;
}

.blog-article__hero .blog-hero__label {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C5A55A;
}

.blog-article__hero .blog-hero__subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: #5a6270;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
}

@media (max-width: 767px) {
  .blog-article__hero {
    padding-top: 1.5rem;
    padding-bottom: 2.75rem;
  }

  .blog-article__image {
    margin-bottom: 1.75rem;
  }

  .blog-article__image img {
    aspect-ratio: 1672 / 941;
    border-radius: 16px;
  }
}

.blog-toc {
  max-width: 760px;
  margin-top: 2rem;
  margin-bottom: -1rem;
  padding: 1.25rem 1.5rem;
  background: #F6F2ED;
  border: 1px solid rgba(197, 165, 90, 0.32);
  border-radius: 14px;
}

.blog-toc__title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C5A55A;
}

.blog-toc__list {
  margin: 0;
  padding-left: 1.2rem;
  color: #1B2D4F;
}

.blog-toc__list li + li {
  margin-top: 0.45rem;
}

.blog-toc__list a {
  color: #1B2D4F;
  text-decoration: none;
}

.blog-toc__list a:hover {
  color: #C5A55A;
}

.blog-article__content {
  max-width: 760px;
  padding-block: clamp(3rem, 6vw, 5rem);
  font-family: 'DM Sans', sans-serif;
  color: #1B2D4F;
  font-size: 1.05rem;
  line-height: 1.85;
}

.blog-article__content p {
  margin: 0 0 1.35rem;
}

.blog-article__content h2,
.blog-article__content h3 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: #1B2D4F;
}

.blog-article__content h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.blog-article__content h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.blog-article__content h2[id] {
  scroll-margin-top: 120px;
}

.blog-article__content ul,
.blog-article__content ol {
  margin: 0 0 1.7rem 1.25rem;
  padding: 0;
}

.blog-article__content li {
  margin-bottom: 0.75rem;
}

.blog-article__content li::marker {
  color: #C5A55A;
}

.blog-article__notice {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  background: #F6F2ED;
  border-left: 4px solid #C5A55A;
  border-radius: 12px;
  color: #4B5A70;
}

.blog-article__notice p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
}

.blog-article__content a {
  color: #C5A55A;
}

.blog-article-cta {
  margin: 3rem 0;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  background: #F6F2ED;
  border-radius: 20px;
}

.blog-article-cta__inner {
  display: flex;
  align-items: stretch;
  gap: 2rem;
}

.blog-article-cta__avatar {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.blog-article-cta__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.35rem;
}

.blog-article-cta__name {
  color: #1B2D4F;
  font-size: 0.875rem;
  font-weight: 600;
}

.blog-article-cta__role {
  color: #68768A;
  font-size: 0.75rem;
}

.blog-article-cta__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: #68768A;
  font-size: 0.75rem;
  text-decoration: none;
}

.blog-article-cta__linkedin:hover {
  color: #C5A55A;
}

.blog-article-cta__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding-left: 2rem;
  border-left: 1px solid #D9D0C5;
}

.blog-article-cta__title {
  margin: 0 0 0.75rem;
  color: #1B2D4F;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  line-height: 1.3;
}

.blog-article__content .blog-article-cta__title {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.blog-article-cta__text {
  margin: 0 0 1.5rem;
  color: #68768A;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.blog-article__content .blog-article-cta__text {
  margin-bottom: 1.5rem;
}

.blog-article-cta__text em {
  color: inherit;
}

.blog-article__content .blog-article-cta__linkedin {
  color: #68768A;
}

.blog-article-cta__button {
  align-self: flex-start;
}

@media (max-width: 767px) {
  .blog-article-cta {
    margin: 2.5rem 0;
    padding: 1.5rem 1.25rem;
  }

  .blog-article-cta__inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .blog-article-cta__content {
    align-items: center;
    padding-left: 0;
    border-left: 0;
  }

  .blog-article-cta__button {
    align-self: stretch;
    width: 100%;
  }
}
