.blog-index {
  width: min(1180px, calc(100% - 40px));
  margin: 4rem auto 0;
}

.blog-index {
  padding: 3rem 3rem 0;
}

.blog-index__header {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.blog-index__title {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 600;
}

.blog-index__description {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.75;
}

.blog-index__grid {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-card {
    flex: 0 0 30%;
    width: 30%;
    box-shadow: 0 2px 9px 0 rgba(0,0,0,.2);
    box-shadow: 0 2px 9px 0 rgba(0,0,0,.2);
    overflow: hidden;
    margin-bottom: 3rem;
    border-radius: 8px;
    background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.blog-card__image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
}

.blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.5rem 2rem;
}

.blog-card__date {
  display: block;
  font-size: 13px;
  line-height: 18px;
  color: #575757;
}

.blog-card__title {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 600;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  text-decoration: underline;
}

.blog-card__description {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.75;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  color: #AF1509;
}

.blog-card__link:hover {
  text-decoration: underline;
}

.blog-index__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 40px;
  text-align: center;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: 14px;
  opacity: 0.7;
}


.blog-pagination {
  display: flex;
  justify-content: center;
  margin: 1rem 0 3rem;
  padding-top: 0.5rem;
}

.blog-pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination__item {
  display: flex;
}

.blog-pagination__link {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 18px;
  color: #212121;
  text-decoration: none;
  transition: background-color 0.2s;
}

.blog-pagination__link:hover {
  background-color: #eeeeee;
}

.blog-pagination__link--active {
  background-color: #eeeeee;
  font-weight: 700;
}

.blog-pagination__link--disabled {
  color: #a3a3a3;
  pointer-events: none;
}

.blog-post {

}

.blog-post__header {
    max-width: 50rem;
    margin: 0.5rem auto 1rem;
    text-align: left;
    font-size: 42px;
    line-height: 1.3;
    position: relative;
}
@media (max-width: 523px) {
.blog-post__header {
  padding: clamp(4rem, 3vw, 5rem) clamp(1.9rem, 3vw, 5rem) 0;
}
}
@media (min-width: 524px) {
.blog-post__header {
  padding: clamp(3.5rem, 3vw, 5rem) clamp(1.9rem, 3vw, 5rem) 0;
}
}

.blog-post__breadcrumbs {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.75;
}
.blog-post__slash {
  margin: 0 2px;
}

.blog-post__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.blog-post__breadcrumbs a:hover {
  text-decoration: underline;
}

.blog-post__title {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.3;
  font-weight: 600;
}

.blog-post__description {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.75;
}

.blog-post__meta {
  display: inline-block;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  font-size: 14px;
  opacity: 0.75;
}
.blog-post__meta a {
  opacity: 1 !important;
}
.blog-post__meta .authorLink {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  color: #AF1509;
}
.blog-post__meta .authorLink:hover {
  color: #2f35e0;
}

.blog-post__featured-image {
    max-width: 50rem;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.85;
    position: relative;
    padding: 0 clamp(1.9rem, 3vw, 5rem);
}

.blog-post__featured-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}

.blog-post__featured-image figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.75;
  text-align: center;
}

.blog-post__content {
    max-width: 50rem;
    margin: 0 auto;
    text-align: left;
  font-size: 1.1rem;
  line-height: 1.85;
    position: relative;
padding: clamp(1.1rem, 3vw, 3rem) clamp(1.9rem, 3vw, 5rem);
}


.blog-post__content > * {
  margin-top: 0;
  margin-bottom: 1.5em;
}

.blog-post__content h2 {
  margin-top: 2.4em;
  font-size: 2rem;
  line-height: 1.6;
  font-weight: 600;
}

.blog-post__content h3 {
  margin-top: 2em;
  font-size: 1.56rem;
  line-height: 1.8;
  font-weight: 600;
}
.blog-post__content h4 {
  margin-top: 1.9em;
  font-size: 1.4rem;
  line-height: 1.7;
  font-weight: 600;
}
.blog-post__content p {
  margin: 0 0 1.5em;
}
.blog-post__content ul,
.blog-post__content ol {
  margin: 0 0 1.5em;
  padding-left: 1.6em;
}

.blog-post__content li + li {
  margin-top: 0.65em;
}
.blog-post__content ul {
    list-style-type: disc;
}
.blog-post__content li::marker {
    color: #d91d09;
    font-size: 1rem;
}
.blog-post__content ol {
    list-style-type: decimal;
}

.blog-post__content a {
  text-decoration: underline;
  color: #d91d09;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}
.blog-post__content a:hover {
  color: #161616;
}

.blog-post__content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 38px auto;
  border-radius: 12px;
}

.blog-post__content figure {
  margin: 40px 0;
}

.blog-post__content figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.75;
  text-align: center;
}

.blog-post__content blockquote {
  margin: 32px 0;
  padding: 18px 24px;
  border-left: 4px solid currentColor;
  background: rgba(0, 0, 0, 0.035);
}

.blog-post__content pre {
  overflow-x: auto;
  margin: 32px 0;
  padding: 22px;
  border-radius: 12px;
  background: #111;
  color: #fff;
}

.blog-post__content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.blog-post .table-responsive caption,
.blog-post .table-responsive th {
  font-weight: 600;
  background: linear-gradient(
    to top,
    #4a5082 -2000%,
    rgba(255, 255, 255, 0%) 300%
  );
  text-align: center;
  color: #000000;
}
.blog-post .table-responsive {
  position: relative;
  overflow: auto;
  margin: 20px 0;
  -webkit-border-radius: 6px !important;
  border-radius: 6px;
}
.blog-post .table-responsive table {
  caption-side: top !important;
  display: table;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.blog-post .table-responsive ol li,
.blog-post .table-responsive ul li {
  background: 0 0 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
}
.blog-post .table-responsive caption {
  padding: 8px;
}
.blog-post .table-responsive caption,
.blog-post .table-responsive tr:first-child {
  border-bottom: 3px solid #1b5a89;
}
.blog-post .table-responsive tr:nth-of-type(odd) {
  background-color: transparent;
}

.blog-post .table-responsive th {
  padding: 10px 5px;
  overflow: hidden;
  word-break: normal;
  white-space: normal;
}
.blog-post .table-responsive tr,
.blog-post .table-responsive tr:nth-child(n + 1):hover,
.blog-post .table-responsive tr:nth-of-type(2n) {
  background-color: #f5f5f5;
}

.blog-post .table-responsive,
.blog-post .table-responsive caption,
.blog-post .table-responsive table,
.blog-post .table-responsive th {
  font-size: inherit;
}
.blog-post .table-bordered > :not(caption) > *,
.blog-post .table-responsive td {
  padding: 5px 10px !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}
.blog-post .table-responsive ol,
.blog-post .table-responsive ul {
  margin: 10px 20px 10px 0 !important;
  counter-reset: none !important;
}
.blog-post .table-responsive ul li {
  list-style-type: disc !important;
}
.blog-post .table-responsive ol li::before,
.blog-post .table-responsive ul li::before {
  display: none !important;
}
.blog-post .table-responsive ol li {
  list-style-type: decimal !important;
}

.blog-post .post-author-card {
    max-width: 50rem;
    margin: 0 auto clamp(3rem, 3vw, 4rem);
    padding: 24px;
    background-color: #f2f6ff;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;

}

.blog-post .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ffffff;
    object-fit: cover;
    object-position: center center;
}

.blog-post .author-details {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.blog-post .author-name {
    font-family: inherit;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.45; 
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.blog-post .author-role {
    font-family: inherit;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.55;
    color: #4a4a4a;
    margin: 0 0 12px 0;
}

.blog-post .author-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: inherit;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #0055ff;
    text-decoration: none;
    border-radius: 4px;
    padding: 2px 0;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.blog-post .author-more-link:hover,
.blog-post .author-more-link:focus-visible {
    color: #0044cc;
    text-decoration: underline;
}

.blog-post .author-link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 900px) {
  .blog-index__grid {
   gap: 26px;
  }
.blog-card {
  flex: 0 0 40%;
  width: 40%;
  }
.blog-card__body {
    padding: 8% 8% 15%;
}
.blog-card__date {
  line-height: 16px;
}
}
@media (max-width: 768px) {
.blog-card {
  flex: 0 0 45%;
  width: 45%;
  }
.blog-card__body {
}
.blog-card__date {
  font-size: 12px;
}
}
@media (max-width: 640px) {
  .blog-index {
    width: min(100% - 28px, 900px);
  }
.blog-card {
  flex: 0 0 100%;
  width: 100%;
  }
  .blog-index {
  }

  .blog-index__grid {

  }


  .blog-post__title {
    font-size: 30px;
  }

  .blog-post__description {
    font-size: 17px;
  }

  .blog-post__content {
    font-size: 17px;
  }

  .blog-post__content h2 {
    font-size: 28px;
  }

  .blog-post__content h3 {
    font-size: 23px;
  }
}