/* ============================================
   RESOURCE ARTICLE
   ============================================ */

.resource-article-page { padding-bottom: 0; }

/* Hero */
.article-hero-section {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #1a3a5c 100%);
  color: #fff;
  padding: 64px 0 48px;
  overflow: hidden;
}

.article-hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.58);
  z-index: 1;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.article-hero-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-tag {
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 12px;
  border-radius: 20px;
}

.article-hero-title {
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #ffffff;
}

.article-hero-excerpt {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 640px;
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.article-meta-sep { opacity: 0.5; }

/* Body layout */
.article-body-section { padding: 56px 0 64px; }

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

/* Article content */
.article-content {}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #1e293b;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 28px 0 12px;
}

.article-body p { margin: 0 0 20px; }

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

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

.article-body .ac-cta {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 36px 0;
  text-align: center;
}

.article-body .ac-cta-text {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 20px;
}

.article-body .ac-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.article-body a:not(.btn) {
  color: #1a6fc4;
  text-decoration: underline;
  text-decoration-color: rgba(26, 111, 196, 0.35);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.article-body a:not(.btn):hover {
  color: #1460ae;
  text-decoration-color: #1460ae;
}

.article-body blockquote {
  border-left: 4px solid #1a6fc4;
  padding: 12px 20px;
  background: #f0f7ff;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-style: italic;
  color: #334155;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

/* Author block */
.article-author-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  padding: 20px 24px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.article-author-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.article-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: #475569;
}

.article-author-info strong { color: #1a1a2e; font-size: 15px; }

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

.sidebar-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}

.sidebar-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 16px;
}

.btn-full { width: 100%; text-align: center; margin-top: 8px; }

.sidebar-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-services-list a {
  font-size: 14px;
  color: #1a6fc4;
  text-decoration: none;
  font-weight: 500;
}

.sidebar-services-list a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 640px) {
  .article-hero-section { padding: 40px 0 32px; }
  .article-body-section { padding: 32px 0 40px; }
}
