/* ========== Article Hero ========== */
.article-hero {
  background: var(--navy-deep);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-hero-bg img {
  width: 60%;
  max-width: 600px;
  height: auto;
  filter: blur(40px);
}

.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.article-category {
  display: inline-block;
  background: rgba(60,147,218,0.2);
  color: var(--lavender);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.article-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}

.article-meta-item svg {
  opacity: 0.7;
}

/* ========== Featured Image ========== */
.article-featured-image {
  margin-top: -1px;
  max-height: 500px;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

/* ========== Article Body ========== */
.article-section {
  padding: 60px 0 100px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

.article-body {
  max-width: 100%;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 40px 0 16px;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin: 32px 0 12px;
  line-height: 1.4;
}

.article-body p {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body p:first-child {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
}

.article-body blockquote {
  border-left: 4px solid var(--orange);
  padding: 20px 24px;
  margin: 32px 0;
  background: var(--gray-light);
  border-radius: 0 12px 12px 0;
}

.article-body blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy-deep);
  margin: 0;
  font-weight: 500;
}

.article-body ul,
.article-body ol {
  list-style: none;
  margin: 20px 0;
  padding-left: 0;
}

.article-body ul li,
.article-body ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.article-body ol {
  counter-reset: list-counter;
}

.article-body ol li {
  counter-increment: list-counter;
}

.article-body ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.95rem;
}

.article-body a {
  color: var(--blue);
  font-weight: 500;
}

.article-body a:hover {
  color: var(--orange);
}

.article-body figure {
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
}

.article-body figure img {
  width: 100%;
  height: auto;
}

.article-body figcaption {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
}

/* ========== Article Tags ========== */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #eef1f7;
}

.article-tag {
  display: inline-block;
  background: rgba(60,147,218,0.1);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s;
}

.article-tag:hover {
  background: var(--blue);
  color: #fff;
}

/* ========== Share ========== */
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eef1f7;
}

.article-share > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gray-light);
  color: var(--gray);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.share-btn:hover {
  background: var(--navy-deep);
  color: #fff;
}

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

.sidebar-widget {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  border: 1px solid #eef1f7;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
}

.sidebar-article {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-article-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-article-info h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.4;
  margin-bottom: 4px;
}

.sidebar-article-info h5 a {
  color: var(--navy-deep);
}

.sidebar-article-info h5 a:hover {
  color: var(--orange);
}

.sidebar-article-info span {
  font-size: 0.75rem;
  color: var(--gray);
}

.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.88rem;
  color: #555;
}

.sidebar-categories a:last-child {
  border-bottom: none;
}

.sidebar-categories a:hover {
  color: var(--orange);
}

.sidebar-categories span {
  background: var(--gray-light);
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  color: var(--gray);
}

/* ========== Related Articles ========== */
.related-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.related-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.related-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--navy-deep);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  border: 1px solid #eef1f7;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.related-card-image {
  height: 180px;
  overflow: hidden;
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.related-card:hover .related-card-image img {
  transform: scale(1.05);
}

.related-card-body {
  padding: 24px;
}

.related-card-date {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
}

.related-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.4;
  margin-top: 8px;
}

/* ========== Responsive ========== */
@media (max-width: 968px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .article-featured-image img {
    height: 280px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}
