@charset "UTF-8";

.blog-single {
  padding: 2.5rem 0 3rem;
  background-color: #0b0b0b;
}

.blog-single__inner {
  max-width: 76rem;
  color: #f5f8fb;
}

.blog-archive {
  padding: 2.5rem 0 3rem;
  background-color: #0b0b0b;
}

.blog-archive__inner {
  max-width: 76rem;
  color: #f5f8fb;
}

.blog-archive__main {
  min-width: 0;
}

.blog-archive__empty {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #f5f8fb;
  margin-bottom: 1rem;
  font-weight: 700;
}

.blog-layout {
  display: grid;
  gap: 0;
}

.blog-cards {
  display: grid;
  gap: 1.75rem;
}

.blog-card {
  min-width: 0;
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #f5f8fb;
}

.blog-card__thumbnail-wrapper {
  overflow: hidden;
  background-color: #d9d9d9;
}

.blog-card__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 11/6;
  transition: transform 0.35s ease;
}

.blog-card__thumbnail--placeholder {
  background: linear-gradient(135deg, #d1d1d1 0%, #ececec 100%);
}

.blog-card__title {
  margin-top: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #f2f6fb;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  transition: color 0.35s ease;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.blog-card__date,
.blog-card__category {
  font-size: 0.875rem;
  line-height: 1.4;
  transition: opacity 0.35s ease;
}

.blog-card__date {
  color: #adc2d6;
}

.blog-card__category {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  line-height: 1.2;
  color: #fff;
  border: 1px solid #2b5f85;
  background-color: #102131;
}

.blog-main {
  min-width: 0;
}

.blog-main__header {
  border-bottom: 1px solid #2a3a4a;
  padding-bottom: 1.25rem;
}

.blog-main__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: #f9fbff;
}

.blog-contents h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: #f9fbff;
}

.blog-main__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.blog-main__meta-date {
  flex: 0 0 auto;
}

.blog-main__meta-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  min-width: 0;
}

.blog-main__date {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #adc2d6;
  display: block;
}

.blog-main__category {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.2;
  color: #fff;
  border: 1px solid #2b5f85;
  background-color: #102131;
}

.blog-main__thumbnail {
  margin-top: 1.4rem;
}

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

.blog-contents {
  margin-top: 1.5rem;
  color: #f3f7fb;
}

.blog-contents > * + * {
  margin-top: 1.85rem;
}

.blog-contents h2,
.blog-contents h3,
.blog-contents h4,
.blog-contents h5 {
  color: #f9fbff;
  font-weight: 700;
}

.blog-contents h2 {
  position: relative;
  margin-top: 2.5rem;
  padding: 0.45rem 1rem 0.45rem 1.2rem;
  font-size: 1.35rem;
  line-height: 1.5;
  border-left: 0.4rem solid #2f6f9e;
}

.blog-contents h2::after {
  content: none;
}

.blog-contents h2::before {
  content: none;
}

.blog-contents h3 {
  position: relative;
  margin-top: 2.2rem;
  padding-bottom: 0.6rem;
  width: fit-content;
  max-width: 100%;
  font-size: 1.2rem;
  line-height: 1.55;
  border-bottom: 1px solid #335068;
}

.blog-contents h3::after {
  content: none;
}

.blog-contents h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 4.2rem;
  height: 0.18rem;
  background-color: #3f86bc;
}

.blog-contents h4 {
  margin-top: 1.9rem;
  font-size: 1.05rem;
  line-height: 1.6;
  border-bottom: 2px dashed #2f6f9e;
  width: fit-content;
}

.blog-contents h5 {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #8fcbff;
}

.blog-contents h2 + *,
.blog-contents h3 + *,
.blog-contents h4 + *,
.blog-contents h5 + * {
  margin-top: 0.95rem;
}

.blog-contents p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.02em;
  color: #e8eef5;
}

.blog-contents strong {
  font-weight: 700;
  color: #b5dcff;
}

.blog-contents em {
  font-style: italic;
  color: #8cc8ff;
}

.blog-contents a {
  color: #72c4ff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-contents a:hover {
  opacity: 0.85;
}

.blog-contents ul,
.blog-contents ol {
  margin-top: 1.2rem;
  margin-left: 0;
  padding-left: 0;
}

.blog-contents ul li,
.blog-contents ol li {
  position: relative;
  margin-top: 0.75rem;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: #e8eef5;
}

.blog-contents ul li::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: 0.2rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: #55b4ff;
}

.blog-contents ol {
  counter-reset: blog-order;
}

.blog-contents ol li {
  counter-increment: blog-order;
}

.blog-contents ol li::before {
  content: counter(blog-order) ".";
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 700;
  color: #72c4ff;
}

.blog-contents blockquote {
  margin-top: 2.2rem;
  padding: 1.2rem 1.3rem;
  border-left: 0.25rem solid #4caeff;
  background-color: #121d27;
  color: #dbe7f3;
}

.blog-contents pre {
  margin-top: 2.2rem;
  padding: 1rem;
  overflow-x: auto;
  background-color: #0a1622;
  color: #dfefff;
  border-radius: 0.25rem;
}

.blog-contents code {
  padding: 0.12rem 0.35rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92em;
  background-color: #1a2633;
  color: #b9dcff;
}

.blog-contents pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.blog-contents table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.2rem;
  font-size: 0.95rem;
}

.blog-contents th,
.blog-contents td {
  border: 1px solid #2b445a;
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.blog-contents th {
  background-color: #142331;
  color: #c2e3ff;
  font-weight: 700;
}

.blog-contents td {
  color: #e3ebf4;
}

.blog-contents figure {
  margin-top: 2.2rem;
}

.blog-contents figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #a6bbcf;
  text-align: center;
}

.blog-contents iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.blog-sidebar {
  margin-top: 3.5rem;
  min-width: 0;
}

.blog-sidebar__section + .blog-sidebar__section {
  margin-top: 2.4rem;
}

.blog-sidebar__heading {
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  border: 1px solid #2b5f85;
  background-color: #102131;
  text-align: center;
  padding: 0.6rem 0.9rem;
}

.blog-sidebar__list {
  margin-top: 0.25rem;
}

.blog-sidebar__list-item {
  border-bottom: 1px solid #25384a;
  padding: 0.75rem 0;
}

.blog-sidebar__link {
  display: inline-block;
  font-size: 0.93rem;
  line-height: 1.8;
  color: #f2f6fb;
}

.blog-sidebar__link--card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.blog-sidebar__title {
  display: block;
  font-size: 0.93rem;
  line-height: 1.8;
  color: inherit;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.blog-sidebar__link:hover {
  color: #72c4ff;
}

.blog-sidebar__date {
  display: block;
  margin-top: 0;
  font-size: 0.8rem;
  color: #9cb2c8;
}

.blog-sidebar__empty {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #fff;
}

@media screen and (min-width: 769px) {
  .blog-archive__empty {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 3rem;
    align-items: start;
  }

  .blog-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
  }

  .blog-card__title {
    min-height: calc(1rem * 1.7 * 3);
  }

  .blog-card__link:hover .blog-card__thumbnail {
    transform: scale(1.1);
  }

  .blog-card__link:hover .blog-card__title {
    color: #72c4ff;
  }

  .blog-card__link:hover {
    opacity: 1;
  }

  .blog-card__link:hover .blog-card__date,
  .blog-card__link:hover .blog-card__category {
    opacity: 0.8;
  }

  .blog-single {
    padding: 7.5rem 0 6rem;
  }

  .blog-archive {
    padding: 7.5rem 0 6rem;
  }

  .blog-main__title {
    font-size: 2.125rem;
  }

  .blog-contents h1 {
    font-size: 2.125rem;
  }

  .blog-main__meta {
    margin-top: 1rem;
    gap: 1rem;
  }

  .blog-main__thumbnail {
    margin-top: 1.75rem;
  }

  .blog-contents {
    margin-top: 2.4rem;
  }

  .blog-contents h2 {
    margin-top: 3.4rem;
    font-size: 1.8rem;
  }

  .blog-contents h3 {
    margin-top: 2.9rem;
    font-size: 1.45rem;
  }

  .blog-contents h4 {
    margin-top: 2.4rem;
    font-size: 1.2rem;
  }

  .blog-contents h5 {
    font-size: 1rem;
  }

  .blog-contents h2 + *,
  .blog-contents h3 + *,
  .blog-contents h4 + *,
  .blog-contents h5 + * {
    margin-top: 1.2rem;
  }

  .blog-sidebar__link,
  .blog-sidebar__title {
    font-size: 1rem;
  }

  .blog-sidebar__date {
    font-size: 0.875rem;
  }

  .blog-sidebar {
    margin-top: 0;
  }
}
