/* Blog */
.blog-home__hero .page-hero__body {
  text-align: center;
}
.blog-home__title {
  margin: 0 0 1.6rem;
  text-align: center;
  font-size: clamp(3.6rem, 5vw, 5.6rem);
  font-weight: 800;
  color: var(--brand-navy);
}
.search-bar {
  display: flex;
  align-items: stretch;
  width: min(64rem, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 69, 139, 0.12);
  overflow: hidden;
  border: 1px solid rgba(0, 69, 139, 0.08);
}
.search-bar__input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 1.4rem 2rem;
  font-size: 1.5rem;
  background: transparent;
  min-width: 0;
}
.search-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.5rem;
  padding: 0 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-navy);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.blog-tabs.page-subnav {
  background: #fff;
  border-bottom: 1px solid var(--brand-border);
}
.blog-tabs__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem 4.8rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 0;
}
.blog-tabs__link {
  flex: 0 0 auto;
  padding: 1.8rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #333;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.blog-tabs__link:hover {
  color: var(--brand-navy);
}
.blog-tabs__link.is-active {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
}
.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2.4rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-navy);
}
.section-title__bar {
  width: 0.5rem;
  height: 2.2rem;
  background: var(--brand-blue);
  border-radius: 2px;
  flex-shrink: 0;
}
.blog-home__popular {
  padding: 5.6rem 0 2rem;
}
.blog-home__popular-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .blog-home__popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 2.4rem;
  }
}
.blog-home__popular-side {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  min-height: 100%;
}
.blog-home__popular-side .compact-card__title a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-home__popular-side .compact-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-home__categories {
  padding: 2rem 0 6.4rem;
}
.blog-home__category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
}
@media (min-width: 900px) {
  .blog-home__category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.article-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.article-card__media:hover img {
  transform: scale(1.03);
}
.article-card__badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.4rem 1rem;
  border-radius: 0.3rem;
  background: var(--brand-blue);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}
.article-card__body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card__title {
  margin: 0 0 1rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-text);
}
.article-card__title a {
  color: inherit;
  text-decoration: none;
}
.article-card__title a:hover {
  color: var(--brand-blue);
}
.article-card__excerpt {
  margin: 0 0 1.6rem;
  color: var(--brand-muted);
  font-size: 2.1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.8rem;
  color: var(--brand-muted);
}
.article-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.article-card__more svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}
.article-card__more:hover {
  text-decoration: underline;
}
.article-card--popular {
  height: 100%;
  padding: 1.6rem;
  border: 1px solid var(--brand-border);
  border-radius: 0.4rem;
  box-sizing: border-box;
}
.article-card--popular .article-card__media {
  aspect-ratio: 16 / 9;
  border-radius: 0.4rem;
}
.article-card--popular .article-card__badge {
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  font-size: 1.6rem;
}
.article-card--popular .article-card__title {
  margin-bottom: 1.2rem;
  font-size: 2rem;
  line-height: 1.35;
}
.article-card--popular .article-card__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card--popular .article-card__excerpt {
  margin-bottom: 2rem;
  flex: none;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card--popular .article-card__meta {
  margin-top: auto;
  padding-top: 0.4rem;
}
.compact-card {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
.compact-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 1;
}
.compact-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compact-card__badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  background: var(--brand-blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  max-width: calc(100% - 1.2rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compact-card__body {
  min-width: 0;
}
.compact-card__title {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
}
.compact-card__title a {
  color: var(--brand-text);
  text-decoration: none;
}
.compact-card__title a:hover {
  color: var(--brand-blue);
}
.compact-card__excerpt {
  margin: 0 0 0.8rem;
  color: var(--brand-muted);
  font-size: 1.3rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.compact-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 1.2rem;
  color: var(--brand-muted);
}
.compact-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.compact-card__more svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
}
.compact-card--popular {
  flex: 1;
  min-height: 0;
  grid-template-columns: 28rem minmax(0, 1fr);
  gap: 1.6rem;
  padding: 1.2rem;
  border: 1px solid var(--brand-border);
  border-radius: 0.4rem;
  box-sizing: border-box;
  background: #fff;
}
.compact-card--popular .compact-card__media {
  align-self: stretch;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 10rem;
  aspect-ratio: 4 / 3;
  border-radius: 0.4rem;
}
.compact-card--popular .compact-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.compact-card--popular .compact-card__badge {
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.3rem 0.8rem;
  font-size: 1.1rem;
}
.compact-card--popular .compact-card__body {
  display: flex;
  flex-direction: column;
  padding: 0.2rem 0;
}
.compact-card--popular .compact-card__title {
  margin-bottom: 0.8rem;
  font-size: 2.4rem;
}
.compact-card--popular .compact-card__excerpt {
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  -webkit-line-clamp: 2;
}
.compact-card--popular .compact-card__meta {
  margin-top: auto;
  font-size: 1.8rem;
}
@media (max-width: 1024px) {
  .compact-card--popular {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1rem;
  }
  .compact-card--popular .compact-card__media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 640px) {
  .compact-card {
    grid-template-columns: 9.6rem 1fr;
    gap: 1.2rem;
  }
}
.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--brand-border);
  border-radius: 0.8rem;
  overflow: hidden;
  background: #fff;
}
.category-card__media {
  position: relative;
  display: block;
  height: 16.9rem;
  overflow: hidden;
}
.blog-banner-media {
  position: absolute;
  inset: 0;
}
.blog-banner-media__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-banner-media--sub .blog-banner-media__mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  pointer-events: none;
}
.category-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 2rem 2.2rem;
}
.category-card__title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.6rem;
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--brand-navy);
}
.category-card__bar {
  width: 0.4rem;
  height: 3rem;
  margin-left: -2rem;
  background: var(--brand-blue);
  flex-shrink: 0;
}
.category-card__list {
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
}
.category-card__list li + li {
  margin-top: 1rem;
}
.category-card__list a {
  display: flex;
  gap: 0.6rem;
  color: var(--brand-text);
  text-decoration: none;
  font-size: 2.1rem;
  line-height: 1.45;
}
.category-card__list a:hover {
  color: var(--brand-blue);
}
.category-card__num {
  color: var(--brand-muted);
  flex-shrink: 0;
}
.category-card__more {
  margin-top: auto;
  color: var(--brand-blue);
  font-size: 2.1rem;
  font-weight: 600;
  text-decoration: none;
}
.category-card__more:hover {
  text-decoration: underline;
}
.blog-category__hero {
  overflow: hidden;
}
.blog-category__hero .blog-banner-media {
  z-index: 0;
}
.blog-category__hero .page-hero__crumb {
  z-index: 2;
}
.blog-category__hero .page-hero__body {
  position: relative;
  z-index: 1;
}
.blog-category__hero .blog-category__title {
  color: #000;
}
.blog-category__hero .blog-category__desc {
  color: #000;
  max-width: 72rem;
}
.blog-category__title {
  margin: 0 0 1.2rem;
  font-size: clamp(3.2rem, 4vw, 4.4rem);
  font-weight: 800;
  color: var(--brand-navy);
}
.blog-category__desc {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--brand-muted);
}
.blog-category__content {
  padding: 4.8rem 0 6.4rem;
}
.blog-category__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem 2.4rem;
  margin-top: 4.8rem;
}
@media (min-width: 768px) {
  .blog-category__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .blog-category__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: center;
}
@media (min-width: 900px) {
  .featured {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.featured__media {
  display: block;
  overflow: hidden;
  border-radius: 0.6rem;
  aspect-ratio: 16 / 11;
}
.featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured__date {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 2.1rem;
  color: var(--brand-muted);
}
.featured__title {
  margin: 0 0 1.6rem;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--brand-text);
}
.featured__title a {
  color: inherit;
  text-decoration: none;
}
.featured__title a:hover {
  color: var(--brand-blue);
}
.featured__excerpt {
  margin: 0 0 2rem;
  font-size: 2.1rem;
  line-height: 1.7;
  color: var(--brand-muted);
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured__link {
  color: var(--brand-blue);
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
}
.featured__link:hover {
  text-decoration: underline;
}
.blog-detail__hero.page-hero {
  display: block;
  align-items: stretch;
  min-height: auto;
  padding: 5.6rem 0;
  background-repeat: no-repeat;
  color: var(--brand-text);
}
.blog-detail__hero .page-hero__crumb {
  overflow: hidden;
}
.blog-detail__hero .breadcrumb ol {
  flex-wrap: nowrap;
  max-width: 100%;
}
.blog-detail__hero .breadcrumb ol li:not(:last-child) {
  flex: 0 0 auto;
}
.blog-detail__hero .breadcrumb ol li:last-child {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.blog-detail__hero .breadcrumb span[aria-current='page'] {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .blog-detail__hero .breadcrumb ol {
    display: flex;
    white-space: normal;
    text-overflow: clip;
  }
  .blog-detail__hero .breadcrumb ol li {
    display: block;
  }
}
.blog-detail__hero.page-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 3vw, 3.8rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--brand-text);
}
.blog-detail__hero .page-hero__body {
  padding: 1.6rem 0 0;
}
.blog-detail__hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: stretch;
}
@media (min-width: 960px) {
  .blog-detail__hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.2rem;
  }
}
.blog-detail__cover {
  overflow: hidden;
  border-radius: 0.8rem;
  aspect-ratio: 16 / 10;
  background: #e5e7eb;
}
.blog-detail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-detail__intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding-top: 1.6rem;
}
@media (min-width: 960px) {
  .blog-detail__intro {
    justify-content: space-between;
    padding-top: 6.4rem;
    padding-bottom: 8.2rem;
  }
  .blog-detail__intro .blog-detail__meta {
    margin-top: 0;
  }
}
.blog-detail__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin-top: 5.2rem;
}
@media (max-width: 639px) {
  .blog-detail__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
}
.blog-detail__date {
  margin: 0;
  font-size: 1.4rem;
  color: var(--brand-muted);
}
.blog-detail__main {
  padding: 0 0 2rem 0;
  overflow-x: clip;
}
.blog-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.2rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .blog-detail__layout {
    grid-template-columns: minmax(0, 1fr) clamp(28rem, 32vw, 42.5rem);
    gap: 4rem;
  }
}
.blog-detail__content,
.blog-detail__aside,
.blog-toc,
.blog-sidebar-form {
  min-width: 0;
  max-width: 100%;
}
.blog-detail__aside {
  display: grid;
  gap: 2rem;
  width: 100%;
  align-content: start;
}
@media (min-width: 1024px) {
  .blog-detail__aside {
    position: sticky;
    top: calc(var(--site-header-height, 15.7rem) + 1.2rem);
    align-self: start;
  }
}
.blog-toc {
  border: 1px solid var(--brand-border);
  border-radius: 0.6rem;
  background: #fff;
  overflow: hidden;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .blog-toc {
    display: flex;
    flex-direction: column;
    height: 40rem;
    max-height: min(40rem, calc(100vh - var(--site-header-height, 15.7rem) - 2.4rem));
    margin-bottom: 0;
  }
  .blog-toc__header {
    flex-shrink: 0;
  }
  .blog-toc__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .blog-toc:hover .blog-toc__list,
  .blog-toc:focus-within .blog-toc__list {
    scrollbar-width: thin;
  }
  .blog-toc__list::-webkit-scrollbar {
    width: 0;
  }
  .blog-toc:hover .blog-toc__list::-webkit-scrollbar,
  .blog-toc:focus-within .blog-toc__list::-webkit-scrollbar {
    width: 0.6rem;
  }
  .blog-toc__list::-webkit-scrollbar-thumb {
    background: rgba(0, 69, 139, 0.28);
    border-radius: 999px;
  }
  .blog-toc:has(.blog-toc__list[hidden]) {
    height: auto;
    max-height: none;
  }
}
.blog-toc__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  border: 0;
  background: #fff;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--brand-navy);
  cursor: pointer;
}
.blog-toc__caret {
  font-size: 2.6rem;
  line-height: 1;
}
.blog-toc__list {
  list-style: none;
  margin: 0;
  padding: 0 0 1.2rem;
  border-top: 1px solid var(--brand-border);
}
.blog-toc__list[hidden] {
  display: none;
}
.blog-toc__item {
  --toc-level: 2;
}
.blog-toc__link {
  display: block;
  padding: 1rem 1.6rem 1rem calc(1.6rem + (var(--toc-level, 2) - 2) * 1.2rem);
  color: var(--brand-text);
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1.4;
  border-left: 3px solid transparent;
}
.blog-toc__link:hover,
.blog-toc__link.is-active {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  border-left-color: var(--brand-blue);
}
@media (min-width: 1024px) {
  .blog-toc__link {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
.blog-sidebar-form {
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .blog-detail__aside:has(.blog-toc__list:not([hidden])) .blog-sidebar-form .inq-form-wrapper {
    height: 33rem;
    max-height: 33rem;
  }
  .blog-detail__aside:has(.blog-toc__list:not([hidden])) .blog-sidebar-form .inq-form-card {
    height: 100%;
    max-height: 33rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .blog-detail__aside:has(.blog-toc__list:not([hidden])) .blog-sidebar-form .inq-form-card::-webkit-scrollbar {
    width: 0.6rem;
  }
  .blog-detail__aside:has(.blog-toc__list:not([hidden])) .blog-sidebar-form .inq-form-card::-webkit-scrollbar-thumb {
    background: rgba(0, 69, 139, 0.28);
    border-radius: 999px;
  }
}
.blog-recent {
  padding: 5.6rem 0 6.4rem;
  background: #f8fafc;
}
.blog-recent .blog-section-title {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin: 0 0 3.2rem;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 2.2rem;
  color: #010101;
  text-align: left;
}
.blog-recent .blog-section-title::before {
  content: '';
  flex-shrink: 0;
  width: 1.1rem;
  height: 4.8rem;
  background: #094b8b;
}
.blog-recent__grid {
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 768px) {
  .blog-recent__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.blog-recent__grid .article-card__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-recent__grid .article-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-detail__content.article-body .article-body__rich :is(h2, h3, h4, h5, h6) {
  scroll-margin-top: calc(var(--site-header-height, 15.7rem) + 1.6rem);
}
#blog-inquiry {
  scroll-margin-top: var(--site-header-height, 10rem);
}
