/* ===================================
   SEO RAI — Blog Styles
   =================================== */

/* === BLOG LAYOUT === */
.blog-page {
  background: #ffffff;
  color: #111111;
}

.article-page {
  background: #ffffff;
  color: #111111;
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 100px 0 0;
  font-size: 0.82rem;
  color: #888;
}

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

.breadcrumb a:hover { color: #0ea5e9; }

.breadcrumb span { margin: 0 6px; }

/* === ARTICLE HEADER === */
.article-header {
  padding: 32px 0 48px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 48px;
}

.article-tag {
  display: inline-block;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.article-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
  margin-bottom: 20px;
  max-width: 760px;
}

.article-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  max-width: 680px;
  margin-bottom: 28px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #888;
}

.article-meta svg { flex-shrink: 0; }

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* === ARTICLE LAYOUT === */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
  padding-bottom: 80px;
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar { display: none; }
}

/* === ARTICLE CONTENT === */
.article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
  min-width: 0;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin: 52px 0 16px;
  padding-top: 8px;
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111;
  margin: 36px 0 12px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content strong {
  color: #111;
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
  margin-bottom: 20px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content a {
  color: #0ea5e9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:visited { color: #0369a1; }
.article-content a:hover { color: #0369a1; }

/* Comparison Table */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.93rem;
}

.article-table th {
  background: #f3f4f6;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  color: #111;
}

.article-table td {
  padding: 11px 16px;
  border: 1px solid #e5e5e5;
  color: #333;
}

.article-table tr:nth-child(even) td {
  background: #fafafa;
}

.article-table td:first-child { font-weight: 500; color: #111; }

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(14,165,233,0.07), rgba(3,105,161,0.07));
  border-left: 3px solid #0ea5e9;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.highlight-box p { margin: 0; font-size: 1rem; }

/* Key points list */
.key-points {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.key-points li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.key-points li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* Article FAQ */
.article-faq {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5;
}

.article-faq h2 {
  margin-top: 0;
}

.article-faq-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 20px 0;
}

.article-faq-q {
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
  font-size: 1rem;
}

.article-faq-a {
  color: #444;
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0;
}

/* === ARTICLE CTA === */
.article-cta {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  border-radius: 16px;
  padding: 40px;
  margin: 56px 0;
  color: #fff;
  text-align: center;
}

.article-cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.article-cta p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 0.97rem;
}

.article-cta .btn {
  background: #fff;
  color: #0ea5e9;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  text-decoration: none;
}

/* === SIDEBAR === */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-toc {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-toc h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 16px;
}

.sidebar-toc ol {
  padding-left: 18px;
  margin: 0;
}

.sidebar-toc li {
  margin-bottom: 8px;
}

.sidebar-toc a {
  color: #444;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.4;
}

.sidebar-toc a:hover { color: #0ea5e9; }

.sidebar-cta {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  border-radius: 12px;
  padding: 24px;
  color: #fff;
  text-align: center;
}

.sidebar-cta h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.sidebar-cta p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.sidebar-cta .btn {
  background: #fff;
  color: #0ea5e9;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-block;
  width: 100%;
}

/* === BLOG INDEX === */
.blog-header {
  padding: 120px 0 64px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 64px;
}

.blog-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.blog-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 560px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding-bottom: 80px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0ea5e9;
  margin-bottom: 12px;
}

.blog-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 24px;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 20px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0ea5e9;
  text-decoration: none;
}

.blog-card-link:hover { text-decoration: underline; }

/* === RELATED ARTICLES === */
.related-articles {
  border-top: 1px solid #e5e5e5;
  padding-top: 48px;
  margin-top: 64px;
  padding-bottom: 80px;
}

.related-articles h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.related-card {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.related-card:hover { background: #f0f0f0; }

.related-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0ea5e9;
  margin-bottom: 6px;
}

.related-card h4 {
  font-size: 0.93rem;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
}

/* === ARTICLE FOOTER === */
.article-footer-nav {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.article-footer-nav a {
  color: #0ea5e9;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-footer-nav a:hover { text-decoration: underline; }
