/* --- Công nghệ: archive + taxonomy + single --- */

.w2w-cn-page {
  background: #fff;
  color: #111;
}

.w2w-cn-page .col-inner {
  padding-top: 0;
  padding-bottom: 48px;
}

.w2w-cn-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 16px;
}

.w2w-cn-breadcrumb a {
  color: #888;
  text-decoration: none;
}

.w2w-cn-breadcrumb a:hover {
  color: #111;
}

.w2w-cn-breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.6;
}

.w2w-cn-breadcrumb .current {
  color: #111;
  font-weight: 600;
}

.w2w-cn-page-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
  color: #111;
}

.w2w-cn-hero {
  position: relative;
  width: 100%;
  max-height: min(52vh, 520px);
  overflow: hidden;
  margin: 0 0 0;
  background: #e8e8e8;
}

.w2w-cn-hero img {
  width: 100%;
  height: min(52vh, 520px);
  object-fit: cover;
  display: block;
}

.w2w-cn-hero--empty {
  min-height: 220px;
  background: linear-gradient(135deg, #f0f0f0 0%, #d8d8d8 100%);
}

.w2w-cn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 32px;
  border: 1px solid #111;
}

.w2w-cn-tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #111;
  background: #fff;
  border: none;
  border-right: 1px solid #111;
  transition: background 0.2s, color 0.2s;
}

.w2w-cn-tab:last-child {
  border-right: none;
}

.w2w-cn-tab:hover:not(.is-active) {
  background: #f5f5f5;
}

.w2w-cn-tab.is-active {
  background: #111;
  color: #fff;
}

.w2w-cn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .w2w-cn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .w2w-cn-tabs {
    flex-direction: column;
  }

  .w2w-cn-tab {
    border-right: none;
    border-bottom: 1px solid #111;
  }

  .w2w-cn-tab:last-child {
    border-bottom: none;
  }

  .w2w-cn-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.w2w-cn-card {
  display: flex;
  flex-direction: column;
}

.w2w-cn-card__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
}

.w2w-cn-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.w2w-cn-card__thumb:hover .w2w-cn-card__img {
  transform: scale(1.03);
}

.w2w-cn-card__overlay-text {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.w2w-cn-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: #ddd;
}

.w2w-cn-card__body {
  padding-top: 14px;
}

.w2w-cn-card__headline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.w2w-cn-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #f5f5f5;
}

.w2w-cn-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w2w-cn-card__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.w2w-cn-card__title a {
  color: #111;
  text-decoration: none;
}

.w2w-cn-card__title a:hover {
  text-decoration: underline;
}

.w2w-cn-card__excerpt {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #555;
}

.w2w-cn-empty {
  text-align: center;
  padding: 48px 16px;
  color: #888;
  font-size: 14px;
}

/* --- Single --- */
.w2w-cn-single .w2w-cn-page-title {
  text-align: left;
  margin-bottom: 20px;
}

.w2w-cn-single-hero {
  position: relative;
  margin: 0 0 28px;
  overflow: hidden;
  background: #eee;
}

.w2w-cn-single-hero img {
  width: 100%;
  max-height: min(60vh, 640px);
  object-fit: cover;
  display: block;
}

.w2w-cn-single-hero__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 90%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.w2w-cn-single-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.w2w-cn-single-intro__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

.w2w-cn-single-intro__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w2w-cn-single-intro h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}

.w2w-cn-entry {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}

.w2w-cn-entry > *:first-child {
  margin-top: 0;
}

.w2w-cn-entry h2,
.w2w-cn-entry h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #111;
}

.w2w-cn-entry p {
  margin-bottom: 1rem;
}

.w2w-cn-entry img {
  max-width: 100%;
  height: auto;
}

.w2w-cn-video-block {
  margin: 48px 0 32px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}

.w2w-cn-video-block h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: #111;
}

.w2w-cn-video-block .w2w-cn-oembed iframe {
  width: 100%;
  max-width: 100%;
}

.w2w-cn-video-caption {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #333;
}

.w2w-cn-cta-wrap {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}

.w2w-cn-cta-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #111;
  border: 1px solid #111;
  background: #fff;
  transition: background 0.2s, color 0.2s;
}

.w2w-cn-cta-btn:hover {
  background: #111;
  color: #fff;
}
