.catalog-hero{position:relative;overflow:hidden}.catalog-family-nav{z-index:2}.content-card>div{display:flex;flex:1;flex-direction:column}.content-card .text-link{margin-top:auto;align-self:flex-start}
.catalog-card,.content-card{flex-direction:column}
/* Visual layer derived from the original hanwoll.com product and case templates. */
:root { --hanwoll-blue: #005494; --hanwoll-red: #c9141e; }

.site-header {
  min-height: 70px;
  height: auto;
  padding: 0 7vw;
  background: #fff;
  border-bottom: 1px solid #d5d5d5;
  box-shadow: none;
}

.brand { width: 190px; }
.brand img, footer img { width: 180px; }
.site-header nav { gap: 0; }
.site-header nav a {
  min-width: 126px;
  padding: 25px 16px;
  color: #333;
  font-size: 16px;
  text-align: center;
  transition: background .2s, color .2s;
}
.site-header nav a:hover, .site-header nav a[aria-current="page"] { background: var(--hanwoll-blue); color: #fff; }
.header-cta, .primary { border: 0; background: var(--hanwoll-red); color: #fff; }
.header-cta { padding: 13px 19px; }
.primary { padding: 15px 25px; }
.text-link { color: var(--hanwoll-blue); border-color: var(--hanwoll-blue); }

.hero { min-height: 600px; }
.hero-bg { background: linear-gradient(90deg, rgba(0, 31, 57, .8), rgba(0, 31, 57, .28)), url("/images/hero.jpg") center/cover; }
.hero h1 span, .eyebrow, .kicker { color: #ffdf52; }
.proof { background: rgba(0, 50, 89, .92); }
.proof dt { color: #fff; }
.service-card { border: 0; box-shadow: 0 8px 24px rgba(0, 37, 64, .12); }
.service-card span { color: var(--hanwoll-red); }
.dark-section { background: #00365f; }
.case-tag { color: #ffdf52; }
.about { background: #f2f5f7; }
.about aside, .contact { background: var(--hanwoll-blue); }

.catalog-hero {
  min-height: 230px;
  padding: 64px 8vw 56px;
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 45, 78, .9), rgba(0, 84, 148, .62)), url("/images/case-city.jpg") center/cover;
}
.catalog-hero .kicker { color: #b8e4ff; }
.catalog-hero>p:last-of-type { color: rgba(255, 255, 255, .9); }
.catalog-hero .text-link { color: #fff; border-color: #fff; }
.catalog-grid, .content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 36px 7vw 90px; }
.catalog-card, .content-card { display: block; position: relative; overflow: hidden; border: 0; background: #111; min-height: 310px; }
.catalog-card>a, .content-card>img { display: block; height: 100%; }
.catalog-card img, .content-card img { width: 100%; height: 310px; min-height: 0; object-fit: cover; transition: transform .35s ease; }
.catalog-card>div, .content-card>div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  min-height: 132px;
  padding: 21px 24px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .92) 34%);
}
.catalog-card:hover img, .content-card:hover img { transform: scale(1.05); }
.catalog-card>div>p, .content-card>div>p:not(.kicker), .content-card .kicker { color: rgba(255, 255, 255, .8); }
.catalog-card h2, .content-card h2 { margin: 4px 0 7px; color: #fff; font-family: "Microsoft YaHei", sans-serif; font-size: 20px; }
.catalog-card span { display: none; }
.catalog-card .text-link, .content-card .text-link { color: #fff; border-color: var(--hanwoll-red); }

.breadcrumbs { background: #f5f5f5; border-bottom: 1px solid #e1e1e1; }
.product-detail, .editorial { max-width: 1180px; }
.product-detail { padding-top: 55px; }
.product-visual img, .editorial-hero { border: 0; box-shadow: 0 10px 28px rgba(0, 37, 64, .15); }
.product-detail h1, .editorial h1 { color: var(--hanwoll-blue); font-family: "Microsoft YaHei", sans-serif; font-weight: 500; }
.product-detail h2, .editorial h2 { border-left: 4px solid var(--hanwoll-red); padding-left: 12px; color: #222; }
.product-facts { border-top-color: var(--hanwoll-blue); }
.product-note, .fact-note { border-left: 4px solid var(--hanwoll-red); background: #f3f7fa; color: #45515a; }
.answer-lead { border-left-color: var(--hanwoll-red); }
.detail-process { background: #edf4f8; }
.detail-process>div { background: #d2e0eb; border-color: #d2e0eb; }
.detail-process span { background: #fff; color: var(--hanwoll-blue); }

@media (max-width: 900px) {
  .site-header { padding: 0 5vw; }
  .site-header nav { display: none; }
  .catalog-grid, .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .brand, .brand img { width: 135px; }
  .catalog-hero { min-height: 190px; padding: 48px 6vw; }
  .catalog-grid, .content-grid { grid-template-columns: 1fr; padding: 26px 6vw 60px; }
  .catalog-card img, .content-card img { height: 280px; }
}

/* Editorial collection-page system for product, case, solution, gallery, and knowledge indexes. */
.catalog-hero {
  display: grid;
  align-content: end;
  min-height: 430px;
  padding: 76px 8vw 92px;
  background: linear-gradient(90deg, rgba(0, 25, 43, .92) 0%, rgba(0, 46, 78, .68) 54%, rgba(0, 46, 78, .28) 100%), url("/images/hero.jpg") center/cover;
}
.catalog-hero h1 { max-width: 760px; font-size: clamp(44px, 5vw, 74px); line-height: 1.08; font-weight: 500; }
.catalog-hero>p:last-of-type { max-width: 620px; font-size: 16px; }
.catalog-family-nav {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 1180px;
  margin: -34px auto 0;
  padding: 17px 24px;
  background: #fff;
  border: 0;
  box-shadow: 0 12px 30px rgba(0, 36, 60, .13);
}
.catalog-family-nav strong { color: var(--hanwoll-blue); font-weight: 700; }
.catalog-family-nav a { border: 0; border-left: 1px solid #dce3e8; color: #536573; }
.catalog-family-nav a:hover { background: #f1f6f9; color: var(--hanwoll-blue); }
.catalog-families { background: #f3f7f9; }
.product-family { max-width: 1320px; margin: 0 auto; padding: 104px 7vw; border: 0; }
.product-family + .product-family { padding-top: 42px; }
.product-family-heading { grid-template-columns: minmax(230px, .74fr) 1.26fr; gap: 14px 8vw; margin-bottom: 34px; }
.product-family-heading h2 { color: var(--hanwoll-blue); font-weight: 500; }
.catalog-grid, .content-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 0; }
.catalog-card, .content-card {
  display: flex;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #e0e7eb;
  background: #fff;
  box-shadow: none;
}
.catalog-card>a, .content-card>img { height: auto; }
.catalog-card img, .content-card img { height: 290px; object-fit: cover; transition: transform .45s ease; }
.catalog-card>div, .content-card>div {
  position: static;
  display: flex;
  flex: 1;
  min-height: 190px;
  padding: 21px 22px 24px;
  color: #202b33;
  background: #fff;
}
.catalog-card>div>p, .content-card>div>p:not(.kicker), .content-card .kicker { color: #6b7a84; }
.catalog-card h2, .catalog-card h3, .content-card h2 { margin: 7px 0 10px; color: #132d42; font-family: "Microsoft YaHei", sans-serif; font-size: 19px; font-weight: 700; }
.catalog-card span { display: block; margin-bottom: 16px; color: #687781; }
.catalog-card .text-link, .content-card .text-link { margin-top: auto; color: var(--hanwoll-blue); border-color: #a8c8dc; }
.catalog-card:hover, .content-card:hover { transform: translateY(-6px); border-color: #9dbed2; box-shadow: 0 16px 34px rgba(0, 50, 82, .12); }
.catalog-card:hover img, .content-card:hover img { transform: scale(1.035); }
.image-gallery { max-width: 1320px; margin: 0 auto; padding: 82px 7vw 112px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.image-card { border: 0; box-shadow: 0 8px 24px rgba(0, 50, 82, .08); }
.image-card figcaption { padding: 24px; }
.image-card h2 { color: var(--hanwoll-blue); font-family: "Microsoft YaHei", sans-serif; font-size: 22px; }
.content-grid { max-width: 1320px; margin: 0 auto; padding: 82px 7vw 112px; background: transparent; }
.solution-catalog { max-width: 1320px; margin: 0 auto; padding: 82px 7vw 112px; background: transparent; }
.solution-catalog>article { grid-template-columns: .96fr 1.04fr; min-height: 440px; margin-bottom: 24px; border: 0; background: #fff; box-shadow: 0 10px 30px rgba(0, 50, 82, .08); }
.solution-catalog>article>img { min-height: 440px; }
.solution-catalog>article>div { padding: 54px 6vw; }
.solution-catalog h2 { color: var(--hanwoll-blue); font-family: "Microsoft YaHei", sans-serif; font-weight: 500; }
.solution-entry-links a:not(.text-link) { color: var(--hanwoll-blue); font-weight: 700; }
.knowledge-list { max-width: 1080px; padding: 84px 7vw 112px; }
.knowledge-list article { padding: 34px 26px; }
.knowledge-list article:hover { background: #f1f6f9; }
.knowledge-list h2 { color: var(--hanwoll-blue); font-family: "Microsoft YaHei", sans-serif; font-size: 25px; }

/* Loaded after the generated bundle; retain the collection layout after hydration. */
html body .catalog-hero { min-height: 430px !important; padding: 76px 8vw 92px !important; }
html body .catalog-family-nav { position: relative !important; z-index: 2 !important; max-width: 1180px !important; margin: -34px auto 0 !important; padding: 17px 24px !important; background: #fff !important; border: 0 !important; box-shadow: 0 12px 30px rgba(0, 36, 60, .13) !important; }
html body .catalog-families { background: #f3f7f9 !important; }
html body .product-family { max-width: 1320px !important; margin: 0 auto !important; padding: 104px 7vw !important; border: 0 !important; }
html body .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important; padding: 0 !important; }
html body .catalog-card { display: flex !important; min-height: 0 !important; overflow: hidden !important; border: 1px solid #e0e7eb !important; box-shadow: none !important; }
html body .catalog-card img { height: 290px !important; min-height: 0 !important; }
html body .catalog-card > div { display: flex !important; flex: 1 !important; min-height: 190px !important; padding: 21px 22px 24px !important; background: #fff !important; }

@media (max-width: 1180px) {
  .catalog-family-nav { margin-left: 6vw; margin-right: 6vw; }
  .catalog-grid, .content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .catalog-hero { min-height: 370px; }
  .catalog-grid, .content-grid, .image-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-catalog>article { grid-template-columns: 1fr; }
  .solution-catalog>article>img { min-height: 300px; height: 300px; }
}
@media (max-width: 560px) {
  .catalog-hero { min-height: 350px; padding: 54px 6vw 72px; }
  .catalog-hero h1 { font-size: 42px; }
  .catalog-family-nav { margin: -22px 5vw 0; padding: 14px 16px; }
  .catalog-family-nav a { padding: 8px 10px; }
  .product-family { padding: 72px 6vw; }
  .product-family + .product-family { padding-top: 20px; }
  .catalog-grid, .content-grid, .image-gallery { grid-template-columns: 1fr; }
  .catalog-card img, .content-card img { height: 270px; }
  .image-gallery, .content-grid, .solution-catalog { padding: 58px 6vw 76px; }
  .solution-catalog>article>div { padding: 34px 24px 42px; }
  .knowledge-list { padding: 54px 6vw 76px; }
}

/* Preserve the same layout hierarchy at tablet and handset breakpoints. */
@media (max-width: 1180px) {
  html body .catalog-family-nav { margin-left: 6vw !important; margin-right: 6vw !important; }
  html body .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  html body .catalog-hero { min-height: 370px !important; }
  html body .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  html body .catalog-hero { min-height: 350px !important; padding: 54px 6vw 72px !important; }
  html body .catalog-family-nav { margin: -22px 5vw 0 !important; padding: 14px 16px !important; }
  html body .product-family { padding: 72px 6vw !important; }
  html body .catalog-grid { grid-template-columns: 1fr !important; }
  html body .catalog-card img { height: 270px !important; }
}
