.blog-hero {
  min-height: clamp(560px, 72vh, 680px);
  padding-top: clamp(112px, 12vh, 132px);
  padding-bottom: clamp(128px, 16vh, 162px);
}

.blog-hero-container {
  max-width: 1120px;
}

.blog-hero-content {
  padding-left: clamp(0rem, 1.1vw, 0.35rem);
}

.blog-hero-title {
  max-width: 38rem;
  margin-bottom: 1.2rem;
  font-size: clamp(3.9rem, 6.6vw, 5.8rem);
  line-height: 0.88;
  letter-spacing: 0.055em;
}

.blog-hero-title .script {
  margin-top: 0.32rem;
  font-size: clamp(4.1rem, 7vw, 6.1rem);
  letter-spacing: 0.045em;
  line-height: 0.82;
}

.blog-hero-copy {
  max-width: 31rem;
  margin-bottom: 1.55rem;
  font-size: clamp(1rem, 1.26vw, 1.17rem);
  line-height: 1.2;
}

.blog-search {
  width: min(100%, 318px);
  min-height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(2, 42, 51, 0.16);
}

.blog-search input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 0.75rem 0 1.55rem;
  border: 0;
  outline: 0;
  color: #30323a;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
}

.blog-search input::placeholder {
  color: #5e6068;
  opacity: 1;
}

.blog-search button {
  width: 46px;
  height: 40px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border: 0;
  color: #4c4f57;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
}

.blog-search button:hover,
.blog-search button:focus-visible {
  color: #078896;
}

.blog-search:focus-within {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.22), 0 18px 42px rgba(2, 42, 51, 0.16);
}

.blog-visual {
  align-self: stretch;
  align-items: flex-end;
  justify-content: center;
  margin-top: 0 !important;
}

.blog-portrait-frame {
  width: min(100%, clamp(390px, 45vw, 540px));
  height: clamp(360px, 43vw, 500px);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.blog-portrait {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 34px rgba(0, 72, 82, 0.14));
}

.blog-posts-section {
  padding: clamp(72px, 8vw, 104px) 0 clamp(86px, 10vw, 126px);
  background: #ffffff;
}

.blog-section-heading {
  max-width: 620px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.blog-section-heading h2 {
  margin: 0 0 0.65rem;
  color: #101219;
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1;
}

.blog-section-heading p:last-child {
  max-width: 34rem;
  margin: 0 auto;
  color: #64748b;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
}

.blog-post-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.4vw, 1.9rem);
  align-items: stretch;
}

[data-blog-posts-mount] {
  transition: opacity 0.2s ease;
}

[data-blog-posts-mount][aria-busy="true"] {
  opacity: 0.58;
  pointer-events: none;
}

.blog-post-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 2rem;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.22);
}

.blog-post-media {
  position: relative;
  display: block;
  aspect-ratio: 1.28;
  overflow: hidden;
  background: #eef8f9;
}

.blog-post-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.blog-post-card:hover .blog-post-media img {
  transform: scale(1.035);
}

.blog-post-body {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2vw, 1.45rem) clamp(1.15rem, 2vw, 1.55rem) clamp(1.05rem, 2vw, 1.35rem);
}

.blog-post-category {
  margin: 0 0 0.55rem;
  color: #078896;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-post-card h3 {
  margin: 0 0 0.65rem;
  color: #101219;
  font-size: clamp(1.34rem, 2.05vw, 1.75rem);
  font-weight: 900;
  line-height: 1.08;
}

.blog-post-card h3 a {
  color: inherit;
}

.blog-post-card h3 a:hover,
.blog-post-card h3 a:focus-visible {
  color: #078896;
}

.blog-post-date {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  margin: 0 0 0.85rem;
  padding: 0.22rem 0.72rem;
  border: 2px solid #101219;
  border-radius: 999px;
  color: #101219;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.blog-post-excerpt {
  margin: 0 0 1.05rem;
  color: #4b4d55;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  font-weight: 800;
  line-height: 1.2;
}

.blog-post-actions {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.blog-read-more {
  min-height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem 0.5rem;
  border-radius: 999px;
  color: #ffffff;
  background: #000000;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.blog-read-more:hover,
.blog-read-more:focus-visible {
  color: #ffffff;
  background: #078896;
}

.blog-read-more .bi {
  font-size: 1.05rem;
  line-height: 1;
}

.blog-post-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #000000;
}

.blog-icon-action {
  width: 2.2rem;
  min-height: 2.45rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  color: #000000;
  background: transparent;
  font: inherit;
  line-height: 1;
}

.blog-icon-action .bi {
  font-size: 1.7rem;
  -webkit-text-stroke: 0.035rem currentColor;
}

.blog-icon-action span {
  margin-top: 0.15rem;
  font-size: 0.65rem;
  font-weight: 900;
}

.blog-icon-action:hover,
.blog-icon-action:focus-visible {
  color: #078896;
}

.blog-like-action {
  transition: color 0.18s ease, transform 0.18s ease;
}

.blog-like-action.is-liked {
  color: #e0243d;
}

.blog-like-action.is-liked:hover,
.blog-like-action.is-liked:focus-visible {
  color: #c9152d;
}

.blog-like-action[data-like-loading="true"] {
  pointer-events: none;
}

.blog-like-action.is-liked .bi {
  -webkit-text-stroke: 0 currentColor;
}

.blog-empty-state {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.25rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
}

.blog-empty-state .bi {
  color: #078896;
  font-size: 2.2rem;
}

.blog-empty-state h3 {
  margin: 0.75rem 0 0.4rem;
  font-size: 1.5rem;
  font-weight: 900;
}

.blog-empty-state p {
  margin: 0;
  color: #64748b;
}

.blog-detail-page {
  background: #ffffff;
}

.blog-detail-hero {
  position: relative;
  padding: clamp(130px, 14vw, 166px) 0 clamp(90px, 10vw, 126px);
  overflow: hidden;
  background: linear-gradient(60deg, rgba(0, 211, 203, 1) 0%, rgba(4, 128, 142, 1) 17%, rgba(4, 128, 142, 1) 73%, rgba(0, 211, 203, 1) 100%);
  color: #ffffff;
}

.blog-detail-hero-container {
  max-width: 990px;
}

.blog-detail-intro {
  max-width: 850px;
}

.blog-detail-back {
  min-height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.7rem;
  padding: 0.54rem 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.blog-detail-back:hover,
.blog-detail-back:focus-visible {
  color: #078896;
  background: #ffffff;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.blog-detail-meta span,
.blog-detail-meta time {
  min-height: 1.8rem;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  color: #063e45;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.blog-detail-intro h1 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.blog-detail-excerpt {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 800;
  line-height: 1.42;
}

.blog-detail-body-section {
  padding: clamp(56px, 7vw, 86px) 0 clamp(82px, 9vw, 118px);
  background: #ffffff;
}

.blog-detail-body-container {
  max-width: 980px;
}

.blog-detail-cover {
  width: 100%;
  margin: 0 auto clamp(2rem, 5vw, 3.4rem);
  overflow: hidden;
  border-radius: 8px;
  background: #eef8f9;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

.blog-detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  display: block;
  object-fit: cover;
  object-position: center;
}

.blog-detail-content {
  max-width: 760px;
  margin: 0 auto;
  color: #30323a;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 500;
  line-height: 1.78;
}

.blog-detail-content > *:first-child {
  margin-top: 0;
}

.blog-detail-content > *:last-child {
  margin-bottom: 0;
}

.blog-detail-content p,
.blog-detail-content ul,
.blog-detail-content ol,
.blog-detail-content blockquote {
  margin-bottom: 1.25rem;
}

.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
  margin: 2.2rem 0 0.8rem;
  color: #101219;
  font-weight: 900;
  line-height: 1.1;
}

.blog-detail-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.blog-detail-content h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.blog-detail-content a {
  color: #078896;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.blog-detail-content blockquote {
  padding: 1rem 1.25rem;
  border-left: 5px solid #078896;
  background: #f4fbfc;
  color: #25333a;
  font-weight: 800;
}

.blog-detail-missing {
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding-top: 150px;
  background: #ffffff;
}

@media (max-width: 991.98px) {
  .blog-hero {
    padding-top: 118px;
    padding-bottom: 132px;
  }

  .blog-hero-title,
  .blog-hero-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .blog-search {
    margin-right: auto;
    margin-left: auto;
  }

  .blog-visual {
    margin-top: 1.5rem !important;
  }

  .blog-portrait-frame {
    width: min(100%, 500px);
    height: clamp(360px, 62vw, 500px);
  }

  .blog-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-detail-intro {
    text-align: center;
  }

  .blog-detail-meta {
    justify-content: center;
  }

  .blog-detail-excerpt {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 575.98px) {
  .blog-hero {
    padding-top: 112px;
    padding-bottom: 104px;
  }

  .blog-hero-title {
    font-size: clamp(2.85rem, 15vw, 3.85rem);
    letter-spacing: 0.03em;
  }

  .blog-hero-title .script {
    font-size: clamp(3.05rem, 17vw, 4.25rem);
    letter-spacing: 0.02em;
  }

  .blog-search {
    width: min(100%, 300px);
  }

  .blog-portrait-frame {
    height: clamp(300px, 86vw, 390px);
  }

  .blog-section-heading {
    margin-bottom: 2rem;
  }

  .blog-post-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-post-card {
    max-width: 380px;
    margin: 0 auto;
    border-radius: 1.8rem;
  }

  .blog-post-actions {
    gap: 0.75rem;
  }

  .blog-read-more {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }

  .blog-detail-hero {
    padding-top: 118px;
    padding-bottom: 76px;
  }

  .blog-detail-meta span,
  .blog-detail-meta time {
    font-size: 0.7rem;
  }

  .blog-detail-cover {
    border-radius: 8px;
  }

  .blog-detail-cover img {
    aspect-ratio: 4 / 3;
  }

  .blog-detail-content {
    font-size: 1.02rem;
    line-height: 1.68;
  }
}
