/**
 * Vatech Asia Resources & Multilingual Newsroom Stylesheet
 * Strict fidelity to Visual 27 and in-article dual-language reading engine
 */

/* ==========================================================================
   01. Layout Tokens & Header Submenu
   ========================================================================== */
.resources-hub-page,
.resources-detail-page {
  padding-top: calc(var(--header-height, 80px) + 24px);
  padding-bottom: clamp(64px, 8vw, 120px);
  background-color: var(--color-brand-white, #ffffff);
  color: var(--color-text-primary, #111111);
}

.resources-container {
  width: 100%;
  max-width: var(--container-max-width, 1440px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding, 32px);
  padding-right: var(--container-padding, 32px);
}

.resources-detail-container {
  max-width: var(--container-max-width, 1440px);
  margin: 0 auto;
  padding-left: var(--container-padding, 32px);
  padding-right: var(--container-padding, 32px);
}

/* ==========================================================================
   02. Category Sub-Navigation Bar
   ========================================================================== */
.resources-subnav {
  margin-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.resources-subnav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3.5vw, 40px);
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.resources-subnav__list::-webkit-scrollbar {
  display: none;
}

.resources-subnav__link {
  position: relative;
  display: inline-block;
  padding: 14px 4px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.resources-subnav__link:hover {
  color: #111111;
}

.resources-subnav__link.is-active {
  color: #111111;
  font-weight: 700;
}

.resources-subnav__indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-brand-red, #db072f);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.resources-subnav__link.is-active .resources-subnav__indicator {
  transform: scaleX(1);
}

/* ==========================================================================
   03. Featured Story Hero Stage (Visual 27 - Top Module)
   ========================================================================== */
.resources-featured-hero {
  margin-bottom: clamp(64px, 8vw, 110px);
}

.resources-featured-hero__meta-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.resources-featured-hero__eyebrow {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  text-transform: capitalize;
}

.resources-featured-hero__date {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(15px, 1.3vw, 18px);
  color: #111111;
  font-weight: 400;
}

.resources-featured-hero__headline {
  font-family: var(--hero-headline-font-family, var(--font-display, 'Vatech Sans', sans-serif));
  font-size: clamp(2.5rem, min(5.5vw, 8vh), 5.5rem);
  font-weight: var(--hero-headline-font-weight, 700);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #111111;
  margin: 0 0 clamp(32px, 4vw, 56px) 0;
  width: 100%;
}

.resources-featured-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: flex-start;
}

.resources-featured-hero__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  background-color: var(--color-brand-gray, #f7f8f8);
  overflow: hidden;
}

.resources-featured-hero__image-wrap .v-img-shell {
  width: 100%;
  height: 100%;
}

.resources-featured-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transition: var(--transition-image-hover, transform 500ms cubic-bezier(0.16, 1, 0.3, 1)), opacity var(--duration-image-reveal, 400ms) var(--ease-image-reveal, cubic-bezier(0.25, 1, 0.5, 1));
}

.resources-featured-hero__image-wrap:hover .resources-featured-hero__img,
.resources-featured-hero__image-wrap:focus-within .resources-featured-hero__img {
  transform: scale(1.02);
}

/* --- In-Article Multilingual Card & Reader Elements --- */
.res-multilingual-card {
  display: flex;
  flex-direction: column;
}

.res-lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-brand-gray, #f7f8f8);
  border-radius: 9999px;
  padding: 4px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.res-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 9999px;
  padding: 7px 16px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  color: #555555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.res-lang-btn:hover {
  color: #111111;
}

.res-lang-btn.is-active {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.res-lang-btn i {
  color: var(--color-brand-red, #db072f);
  font-size: 11px;
}

.res-lang-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.res-lang-pane.is-active {
  display: block;
}

.res-multilingual-card.is-view-both .res-lang-pane {
  display: block;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
}

.res-multilingual-card.is-view-both .res-lang-pane:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.res-translation-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.res-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.res-badge--official {
  background: rgba(0, 150, 94, 0.1);
  color: #00965e;
}

.res-badge--original {
  background: #f1f3f5;
  color: #495057;
}

.res-translation-note {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12.5px;
  color: #777777;
  margin: 0;
}

.res-original-title {
  font-family: var(--font-cjk, 'Pretendard', sans-serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  color: #111111;
  margin: 0 0 16px 0;
}

.res-editorial-lead {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  color: #111111;
  margin: 0 0 20px 0;
}

.res-editorial-body {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(14.5px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.7;
  color: #333333;
}

.resources-featured-hero__action {
  margin-top: 32px;
}

.res-full-article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.res-full-article-link:hover {
  color: var(--color-brand-red, #db072f);
  transform: translateX(3px);
}

/* ==========================================================================
   04. Chronological Feed (Visual 27 - Bottom Module)
   ========================================================================== */
.resources-feed-section {
  padding-top: 20px;
}

.resources-feed-header {
  border-top: 1px solid #111111;
  padding-top: 28px;
  margin-bottom: 24px;
}

.resources-feed-headline {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #111111;
  margin: 0;
}

.resources-feed-list {
  display: flex;
  flex-direction: column;
}

.resources-feed-row {
  display: grid;
  grid-template-columns: 180px 180px 1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: flex-start;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.resources-feed-row:hover .resources-feed-thumb-img,
.resources-feed-row:focus-within .resources-feed-thumb-img,
.resources-feed-thumb-link:hover .resources-feed-thumb-img {
  transform: scale(1.05);
}

.resources-feed-col--date {
  padding-top: 4px;
}

.resources-feed-date {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 16px;
  font-weight: 400;
  color: #111111;
  white-space: nowrap;
}

.resources-feed-col--thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-brand-gray, #f7f8f8);
}

.resources-feed-thumb-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.resources-feed-thumb-link .v-img-shell {
  width: 100%;
  height: 100%;
}

.resources-feed-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transition: var(--transition-image-hover, transform 500ms cubic-bezier(0.16, 1, 0.3, 1)), opacity var(--duration-image-reveal, 400ms) var(--ease-image-reveal, cubic-bezier(0.25, 1, 0.5, 1));
}

.resources-feed-col--body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resources-feed-title {
  margin: 0;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 700;
  line-height: 1.35;
}

.resources-feed-title-link {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.resources-feed-title-link:hover {
  color: var(--color-brand-red, #db072f);
}

.resources-feed-excerpt {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.6;
  color: #555555;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resources-feed-action {
  margin-top: 4px;
}

.resources-feed-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.resources-feed-more-link:hover {
  color: var(--color-brand-red, #db072f);
  transform: translateX(3px);
}

.resources-feed-empty {
  padding: 60px 0;
  text-align: center;
  color: #777777;
  font-family: var(--font-body, 'Pretendard', sans-serif);
}

/* ==========================================================================
   05. In-Article Detail View
   ========================================================================== */
.resources-breadcrumbs {
  margin-bottom: 24px;
}

.resources-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  color: #666666;
}

.resources-breadcrumb-list a {
  color: #666666;
  text-decoration: none;
}

.resources-breadcrumb-list a:hover {
  color: var(--color-brand-red, #db072f);
}

.resources-breadcrumb-list .sep {
  color: #bbbbbb;
}

.res-preview-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: 12px 20px;
  border-radius: 4px;
  margin-bottom: 28px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13.5px;
}

.resources-detail-header {
  margin-bottom: 36px;
}

.resources-detail-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.resources-detail-category-badge {
  display: inline-block;
  background: var(--color-brand-gray, #f7f8f8);
  color: #111111;
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resources-detail-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  color: #666666;
}

.resources-detail-title {
  font-family: var(--hero-headline-font-family, 'Vatech Sans', sans-serif);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: var(--hero-headline-font-weight, 700);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #111111;
  margin: 0 0 12px 0;
}

.resources-detail-subtitle {
  font-family: var(--font-cjk, 'Pretendard', sans-serif);
  font-size: clamp(18px, 1.8vw, 24px);
  color: #555555;
  margin: 0;
  line-height: 1.4;
}

.resources-detail-hero-media {
  position: relative;
  width: 100%;
  max-height: 600px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 0 48px 0;
  background: var(--color-brand-gray, #f7f8f8);
}

.resources-detail-hero-media .v-img-shell {
  width: 100%;
  height: 100%;
  max-height: 600px;
}

.resources-detail-hero-img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
}

/* Toolbar & Dual Column Reader */
.resources-reader-toolbar {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ebebeb;
}

.resources-reader-tabs {
  display: inline-flex;
  background: var(--color-brand-gray, #f7f8f8);
  border-radius: 9999px;
  padding: 5px;
  gap: 6px;
}

.res-reader-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  padding: 8px 20px;
  border-radius: 9999px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: #555555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.res-reader-tab:hover {
  color: #111111;
}

.res-reader-tab.is-active {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.res-reader-tab i {
  color: var(--color-brand-red, #db072f);
}

/* Panes */
.resources-reading-grid {
  display: block;
  max-width: 880px;
  margin: 0 auto;
}

.resources-pane {
  display: none;
}

.resources-pane.is-active {
  display: block;
}

/* Split Comparison Mode */
.resources-reading-grid.is-split-mode {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.resources-reading-grid.is-split-mode .resources-pane {
  display: block !important;
}

.resources-pane__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.resources-pane__author {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  color: #777777;
}

.resources-pane__notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border-left: 3px solid #00965e;
  padding: 10px 16px;
  margin-bottom: 24px;
}

.resources-pane__notice i {
  color: #00965e;
}

.resources-pane__notice p {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  color: #555555;
  margin: 0;
}

.resources-pane__lead {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  color: #111111;
  margin-bottom: 24px;
}

.resources-pane__content {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 16.5px;
  line-height: 1.75;
  color: #333333;
}

/* Rich Text Typography & Content Formatting */
.resources-pane__content p {
  margin: 0 0 1.5rem 0;
  line-height: 1.8;
}

.resources-pane__content h3 {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  color: #111111;
  margin: 2.5rem 0 1rem 0;
  line-height: 1.3;
}

.resources-pane__content h4 {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  color: #222222;
  margin: 2rem 0 0.75rem 0;
  line-height: 1.4;
}

.resources-pane__content strong,
.resources-pane__content b {
  font-weight: 700;
  color: #111111;
}

.resources-pane__content em,
.resources-pane__content i {
  font-style: italic;
}

.resources-pane__content u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resources-pane__content a {
  color: var(--color-brand-red, #db072f);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.resources-pane__content a:hover {
  opacity: 0.8;
}

.resources-pane__content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  background: var(--color-brand-gray, #f8fafc);
  border-left: 4px solid var(--color-brand-red, #db072f);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #334155;
}

.resources-pane__content blockquote p {
  margin: 0;
}

.resources-pane__content ul,
.resources-pane__content ol {
  margin: 1.5rem 0 1.5rem 1.5rem;
  padding: 0;
}

.resources-pane__content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Figures & Images */
.resources-pane__content figure.article-figure {
  margin: 2.5rem 0;
  text-align: center;
}

.resources-pane__content figure.article-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.resources-pane__content figcaption {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  color: #64748b;
  margin-top: 10px;
  text-align: center;
}

/* Responsive 16:9 Video Embed */
.article-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 2.5rem 0;
  border-radius: 10px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Gallery Carousel Component */
.article-gallery {
  position: relative;
  width: 125%;
  margin: 2.5rem -12.5%;
  background: var(--color-brand-gray, #f8fafc);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.resources-reading-grid.is-split-mode .article-gallery {
  width: 100%;
  margin: 2.5rem 0;
}

.article-gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.article-gallery__track::-webkit-scrollbar {
  display: none;
}

.article-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  scroll-snap-align: start;
  position: relative;
}

.article-gallery__slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-gallery__slide figcaption {
  padding: 12px 20px;
  font-size: 13px;
  color: #475569;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  margin: 0;
  text-align: center;
}

.article-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.article-gallery .gallery-prev,
.article-gallery .gallery-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #1e293b;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.article-gallery .gallery-prev:hover,
.article-gallery .gallery-next:hover {
  background: var(--color-brand-red, #db072f);
  color: #ffffff;
}

.article-gallery .gallery-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-gallery .gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.article-gallery .gallery-dot.is-active {
  background: var(--color-brand-red, #db072f);
  transform: scale(1.3);
}

.resources-pane[lang="ko"],
.resources-pane[lang="ja"],
.resources-pane[lang="zh"] {
  font-family: var(--font-cjk, 'Pretendard', sans-serif);
  letter-spacing: -0.01em;
  word-break: keep-all;
}

/* ==========================================================================
   Related Articles Section (End of Article)
   ========================================================================== */
.resources-related-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #ebebeb;
}

.resources-related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.resources-related-eyebrow {
  display: block;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-red, #db072f);
  margin-bottom: 8px;
}

.resources-related-title {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0;
  line-height: 1.15;
}

.resources-related-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #555555;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.resources-related-view-all:hover {
  color: var(--color-brand-red, #db072f);
  transform: translateX(3px);
}

.resources-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
}

.resources-related-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.resources-related-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.resources-related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.resources-related-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-brand-gray, #f7f8f8);
}

.resources-related-card__media .v-img-shell {
  width: 100%;
  height: 100%;
}

.resources-related-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transition: var(--transition-image-hover, transform 500ms cubic-bezier(0.16, 1, 0.3, 1));
}

.resources-related-card:hover .resources-related-card__img,
.resources-related-card:focus-within .resources-related-card__img {
  transform: scale(1.04);
}

.resources-related-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px 22px 22px;
}

.resources-related-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.resources-related-card__cat-badge {
  display: inline-block;
  background: var(--color-brand-gray, #f7f8f8);
  color: #333333;
  padding: 3px 10px;
  border-radius: 9999px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.resources-related-card__date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  color: #888888;
}

.resources-related-card__title {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #111111;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.resources-related-card:hover .resources-related-card__title {
  color: var(--color-brand-red, #db072f);
}

.resources-related-card__action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-red, #db072f);
  transition: gap 0.2s ease;
}

.resources-related-card:hover .resources-related-card__action {
  gap: 10px;
}

.resources-detail-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #ebebeb;
}

.resources-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.resources-back-btn:hover {
  transform: translateX(-4px);
  color: var(--color-brand-red, #db072f);
}

/* ==========================================================================
   06. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1180px) {
  .article-gallery {
    width: 100%;
    margin: 2.5rem 0;
  }
}

@media (max-width: 1024px) {
  .resources-featured-hero__grid {
    grid-template-columns: 1fr;
  }

  .resources-featured-hero__image-wrap {
    aspect-ratio: 16 / 9;
  }

  .resources-reading-grid.is-split-mode {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .res-reader-tab--split {
    display: none;
  }
}

@media (max-width: 768px) {
  .resources-featured-hero__meta-bar {
    flex-direction: column;
    gap: 6px;
  }

  .resources-feed-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .resources-feed-col--thumb {
    max-width: 240px;
  }

  .resources-subnav {
    margin-bottom: 24px;
  }

  .resources-related-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   07. Static Support & Services Page (Side-by-Side Dual Pathway)
   ========================================================================== */
.support-hero {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.support-hero__meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.support-hero__eyebrow {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-brand-red, #db072f);
}

.support-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #555555;
  background-color: #f7f8f8;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.support-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.support-hero__headline {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--color-text-primary, #111111);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.support-hero__narrative {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--color-text-secondary, #555555);
  max-width: 840px;
  margin: 0;
}

/* Side by Side Grid */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3.5vw, 40px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.support-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: clamp(28px, 3.5vw, 48px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  position: relative;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.16);
}

.support-card--portal {
  background: linear-gradient(180deg, #ffffff 0%, #fffcfc 100%);
  border-color: rgba(219, 7, 47, 0.14);
}

.support-card--portal:hover {
  border-color: rgba(219, 7, 47, 0.35);
  box-shadow: 0 20px 48px rgba(219, 7, 47, 0.08);
}

.support-card__content {
  margin-bottom: 32px;
}

.support-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.support-card__badge {
  display: inline-block;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.support-card__badge--portal {
  background-color: rgba(219, 7, 47, 0.08);
  color: var(--color-brand-red, #db072f);
  border-color: rgba(219, 7, 47, 0.15);
}

.support-card__icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: #f7f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.support-card__icon-box--portal {
  background-color: rgba(219, 7, 47, 0.06);
  color: var(--color-brand-red, #db072f);
  border-color: rgba(219, 7, 47, 0.12);
}

.support-card__title {
  font-family: var(--font-display, 'Vatech Sans', sans-serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-primary, #111111);
  margin-top: 0;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.support-card__description {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary, #555555);
  margin-bottom: 26px;
}

.support-card__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-card__checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #444444;
}

.support-card__checklist-item strong {
  display: block;
  font-weight: 600;
  color: #111111;
  margin-bottom: 2px;
}

.support-card__check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 2px;
}

.support-card__check-icon--portal {
  background-color: rgba(219, 7, 47, 0.08);
  color: var(--color-brand-red, #db072f);
  border-color: rgba(219, 7, 47, 0.2);
}

.support-card__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.support-card__btn {
  width: auto;
  padding: 13px 28px;
  font-size: 15px;
}

.support-card__hint {
  font-size: 12px;
  color: #888888;
}

/* Quick Bar */
.support-quick-bar {
  background-color: #f7f8f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 22px 28px;
}

.support-quick-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.support-quick-bar__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-red, #db072f);
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.support-quick-bar__text {
  flex-grow: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #555555;
}

.support-quick-bar__text strong {
  display: block;
  color: #111111;
  font-weight: 600;
  margin-bottom: 2px;
}

.support-quick-bar__action {
  flex-shrink: 0;
}

.support-quick-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand-red, #db072f);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.support-quick-bar__link:hover {
  color: var(--color-brand-red-hover, #b80526);
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .support-quick-bar__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
