/* ===== LAYOUT ===== */
.article-container {
  max-width: 1180px;
  margin: 32px auto;
  padding: 0 16px;
  display: flex;
  gap: 40px;
}

/* MAIN CONTENT */
.article-main {
  max-width: 850px;
  flex: 1;
}

.article-title {
  font-size: 32px;
  margin-bottom: 8px;
  font-weight: 700;
}

.article-meta {
  color: #4b5563;
  font-size: 14px;
  margin-bottom: 24px;
}

/* VIDEO */
.article-video iframe {
  width: 100%;
  height: 430px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
}

/* HEADINGS */
.article-main h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 22px;
}

/* QUOTE */
.article-quote {
  background: #f0f8ff;
  border-left: 4px solid #00B4D8;
  margin: 24px 0;
  padding: 16px;
  font-style: italic;
  color: #0B2545;
}

/* CODE BLOCK */
.code-block {
  background: #0B2545;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.4;
  margin: 16px 0;
}

/* SIDEBAR */
.article-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.sidebar-block {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sidebar-link {
  display: block;
  margin-bottom: 8px;
  color: #0B2545;
  font-size: 14px;
  text-decoration: none;
}
.sidebar-link:hover {
  color: #00B4D8;
}

/* SHARE */
.sidebar-share-row {
  display: flex;
  gap: 10px;
}
.share-btn {
  background: #00B4D8;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.share-btn:hover {
  background: #0097b3;
}

/* MOBILE */
@media (max-width: 900px) {
  .article-container {
    flex-direction: column;
  }
  .article-sidebar {
    width: 100%;
  }
}

/* CODE BLOCK WRAPPER */
.code-wrapper {
  position: relative;
}

/* COPY BUTTON */
.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f0f4ff;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  color: #0B2545;
}

.copy-btn:hover {
  background: #dce7ff;
}

.copy-btn.copied {
  background: #00B4D8;
  color: white;
  border-color: #00A0C2;
}