/* SEO 글/목록 페이지 - 핫덕 오렌지(#FF6B00) 기반 */
body {
  margin: 0;
  background: #f3f4f6;
  color: #111827;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

.seo-mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 780px;
  margin: 0 auto;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-sizing: border-box;
}
.seo-mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #FF6B00;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.seo-mini-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}
.seo-mini-brand-text {
  line-height: 1.2;
}
.seo-mini-brand:hover {
  text-decoration: none;
  opacity: 0.9;
}
.seo-mini-brand:hover .seo-mini-logo {
  opacity: 0.95;
}
.seo-mini-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
}
.seo-mini-nav-links a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
}
.seo-mini-nav-links a:hover {
  color: #FF6B00;
  text-decoration: underline;
}

.seo-sheet {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 20px 28px;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.07);
}

.seo-page-header {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}
.seo-page-header h1 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #111827;
  letter-spacing: -0.03em;
}
.seo-page-meta {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}
.seo-page-meta time {
  font-weight: 600;
  color: #4b5563;
}

.seo-article {
  background: transparent;
  color: #111827;
}
.seo-article,
.seo-article * {
  box-sizing: border-box;
}
.seo-article img,
.seo-article video {
  max-width: 100%;
  height: auto;
}
.seo-article :where(p, li, a, h1, h2, h3, h4, h5, h6, code, pre) {
  overflow-wrap: anywhere;
  word-break: normal;
}
.seo-article a {
  color: #111827;
}
.seo-article a:hover {
  text-decoration: underline;
}
.seo-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.seo-index {
  background: transparent;
  color: #111827;
}
.seo-index,
.seo-index * {
  box-sizing: border-box;
}

/* 블로그형 레이아웃 (sectioned) */
.seo-article-root {
  display: block;
}
.seo-lead {
  margin: 6px 0 18px;
  padding: 14px 14px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 12px;
}
.seo-lead p:first-child {
  margin-top: 0;
}
.seo-lead p:last-child {
  margin-bottom: 0;
}
.seo-items {
  display: block;
}
.seo-item {
  padding: 18px 14px;
  border: 1px solid #f3f4f6;
  border-radius: 14px;
  background: #ffffff;
  margin: 14px 0;
}
.seo-item-supplement {
  border-color: #e0e7ff;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
}
.seo-item h2 {
  margin-top: 0;
}
.seo-item-summary {
  font-size: 16px;
  color: #374151;
}
.seo-item-points h3 {
  font-size: 15px;
  margin: 14px 0 8px;
  color: #111827;
}
.seo-item-points ul {
  margin: 8px 0 10px;
}
.seo-item-price {
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
  padding: 10px 12px;
  border-radius: 12px;
  margin: 12px 0;
  color: #374151;
  font-size: 15px;
}
.seo-hook {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px;
  line-height: 1.45;
}
.seo-item-verdict,
.seo-item-scores {
  font-size: 15px;
  color: #374151;
  margin: 10px 0;
  line-height: 1.65;
}
.seo-divider {
  border: 0;
  border-top: 1px dashed #e5e7eb;
  margin: 22px 0;
}
.seo-tips {
  margin-top: 8px;
  padding: 14px 14px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
}
.seo-tips h2 {
  margin-top: 0;
}
.seo-cta-category {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ffedd5;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
}
.seo-cta-category p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #431407;
}
.seo-cta-category a {
  color: #c2410c;
  font-weight: 600;
  text-decoration: underline;
}
.seo-cta-category a:hover {
  color: #9a3412;
}
.seo-mid, .seo-outro {
  margin-top: 22px;
}
.seo-article p,
.seo-article li {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.seo-article pre,
.seo-article code {
  word-break: break-word;
}
.seo-article pre {
  overflow-x: auto;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  background: #f9fafb;
}
.seo-article p {
  margin: 10px 0;
  color: #374151;
}
.seo-article ul {
  margin: 12px 0 6px;
  padding-left: 20px;
}
.seo-article li {
  margin: 6px 0;
}
.seo-article a {
  color: inherit;
}
.seo-article hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 18px 0;
}
.seo-article h2 {
  font-size: 19px;
  font-weight: bold;
  margin: 28px 0 10px;
  border-left: 4px solid #FF6B00;
  padding-left: 10px;
  line-height: 1.35;
}

/* 상단 대표 썸네일 — 잘림 방지(contain), 카드형 프레임 */
.seo-hero {
  margin: 0 0 24px;
  padding: 10px 12px;
  background: #f3f4f6;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
}
.seo-hero img {
  width: 100%;
  max-width: 420px;
  max-height: 260px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* 상품별 큰 이미지 (본문 중간, PC 포함 축소) */
.seo-product-image {
  margin: 16px 0 20px;
}
.seo-product-image img {
  width: 100%;
  max-width: 420px;
  max-height: 220px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* 상품 카드 */
.hotduk-product-card {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1.5px solid #FF6B00;
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
  background: #FFF8F0;
}
.hotduk-product-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.card-info {
  flex: 1;
}
.card-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 6px;
  line-height: 1.35;
}
.price-current {
  font-size: 19px;
  font-weight: bold;
  color: #FF6B00;
}
.price-original {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-left: 6px;
}
.price-discount {
  font-size: 13px;
  background: #FF6B00;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}
.card-price--single .price-current {
  margin: 0;
}
.card-platform {
  font-size: 13px;
  color: #888;
  margin: 4px 0;
}
.card-cta {
  display: inline-block;
  margin-top: 8px;
  background: #FF6B00;
  color: white;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
.card-cta:hover {
  filter: brightness(0.95);
}

@media (max-width: 520px) {
  .seo-sheet {
    padding: 16px 14px 22px;
  }
  .seo-page-header h1 {
    font-size: 22px;
  }
  /* 히어로·상품 큰 이미지 (히어로는 contain 유지) */
  .seo-hero {
    padding: 8px 10px;
  }
  .seo-hero img {
    max-height: 220px;
    max-width: 100%;
  }
  .seo-product-image img {
    max-height: 180px;
    max-width: 100%;
  }
  /* 본문 글자 크기 확대 */
  .seo-article p,
  .seo-article li {
    font-size: 16px;
  }
  .seo-article h2 {
    font-size: 19px;
  }
  .seo-item-summary {
    font-size: 16px;
  }
  .seo-item-price {
    font-size: 15px;
  }
  .seo-item-points h3 {
    font-size: 15px;
  }
  /* 상품 카드 글자 확대 */
  .hotduk-product-card {
    align-items: flex-start;
  }
  .hotduk-product-card img {
    width: 72px;
    height: 72px;
  }
  .card-title {
    font-size: 18px;
  }
  .price-current {
    font-size: 20px;
  }
  .price-original {
    font-size: 15px;
  }
  .price-discount {
    font-size: 14px;
  }
  .card-platform {
    font-size: 14px;
  }
  .card-cta {
    font-size: 15px;
  }
}

/* 브레드크럼 · 관련 글 · FAQ */
.seo-breadcrumb {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b7280;
}
.seo-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.seo-breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}
.seo-breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: #d1d5db;
  font-weight: normal;
}
.seo-breadcrumb-list a {
  color: #FF6B00;
  text-decoration: none;
}
.seo-breadcrumb-list a:hover {
  text-decoration: underline;
}
.seo-breadcrumb-list li[aria-current="page"] {
  color: #111827;
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.seo-related {
  margin-top: 28px;
  padding: 18px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
}
.seo-related-title {
  margin: 0 0 12px;
  font-size: 17px;
  color: #111827;
}
.seo-related ul {
  margin: 0;
  padding-left: 1.1em;
  color: #374151;
}
.seo-related a {
  color: #FF6B00;
}
.seo-faq {
  margin: 22px 0;
  padding: 16px 14px;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  background: #fff;
}
.seo-faq > h2 {
  margin-top: 0;
  font-size: 18px;
}
.seo-faq-item {
  margin: 14px 0;
}
.seo-faq-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #111827;
}
.seo-faq-item p {
  margin: 0;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.55;
}

/* SEO 목록 인덱스 */
.seo-index .seo-sheet > h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}
.seo-index .seo-subtitle {
  margin: 0 0 22px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.55;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.seo-card {
  display: block;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.seo-card:hover {
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.15);
  border-color: #FF6B00;
}
.seo-card-category {
  font-size: 11px;
  background: #FFF3E6;
  color: #FF6B00;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: bold;
}
.seo-card-title {
  font-size: 14px;
  font-weight: bold;
  margin: 8px 0 6px;
}
.seo-card-date {
  font-size: 12px;
  color: #aaa;
}
