/* ============================================================
   MOG Support Center – Article Page Styles
   ============================================================ */

/* ---------- 3-column layout ---------- */
.mog-article-layout {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 48px;
  align-items: flex-start;
  padding: 32px 0 80px;
}

/* Tablet: skryj pravý sidebar, levý zůstává */
@media (max-width: 960px) {
  .mog-article-layout {
    grid-template-columns: 180px 1fr;
  }
  .mog-article-related {
    display: none;
  }
}

/* Mobil: jeden sloupec, levý sidebar se přesune NAD článek */
@media (max-width: 680px) {
  .mog-article-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .mog-article-sidebar {
    width: 100%;
    position: static !important;
    order: -1;
  }
  .mog-article-related {
    display: none;
  }
}

/* ---------- Left sidebar ---------- */
.mog-article-sidebar {
  position: sticky;
  top: 24px;
}

.mog-article-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mog-article-sidebar__item {
  border-radius: 6px;
  margin-bottom: 2px;
}

.mog-article-sidebar__item a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: #8890aa !important;
  text-decoration: none !important;
  line-height: 1.45;
  transition: color 0.15s;
  border-left: 2px solid transparent;
}

.mog-article-sidebar__item a:hover {
  color: #ffffff !important;
}

.mog-article-sidebar__item--active a {
  color: #ffffff !important;
  font-weight: 600;
  border-left-color: #2b3fef;
  background-color: #0e0e1e;
}

.mog-article-sidebar__more {
  display: block;
  margin-top: 8px;
  padding: 0 12px;
  font-size: 12px;
  color: #2b3fef !important;
  text-decoration: none !important;
}

.mog-article-sidebar__more:hover {
  color: #6878f5 !important;
}

/* ---------- Main article ---------- */
.mog-article-main {
  min-width: 0;
}

/* ---------- Header ---------- */
.mog-article-header {
  margin-bottom: 28px;
}

.mog-article-title {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.25;
}

.mog-article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #5a6080;
}

.mog-article-meta__date {
  color: #5a6080;
}

.mog-article-meta__badge {
  background-color: #1a2460;
  color: #6878f5;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ---------- Article body ---------- */
.mog-article-body {
  padding-bottom: 32px;
  border-bottom: 1px solid #0e0e1a;
}

.mog-article-body .article-body {
  font-size: 15px;
  line-height: 1.75;
  color: #c0c4d8;
}

.mog-article-body .article-body h2,
.mog-article-body .article-body h3 {
  color: #ffffff;
  margin-top: 28px;
}

.mog-article-body .article-body a {
  color: #2b3fef;
}

.mog-article-body .article-body a:hover {
  color: #6878f5;
}

.mog-article-body .article-body strong,
.mog-article-body .article-body b {
  color: #ffffff;
}

.mog-article-body .article-body ul,
.mog-article-body .article-body ol {
  padding-left: 20px;
  color: #c0c4d8;
}

.mog-article-body .article-body blockquote {
  border-left: 3px solid #2b3fef;
  padding-left: 16px;
  margin-left: 0;
  color: #8890aa;
}

.mog-article-body .article-body code {
  background-color: #0e0e1e;
  border: 1px solid #14142a;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  color: #a0a8c8;
}

.mog-article-body .article-body pre {
  background-color: #0e0e1e;
  border: 1px solid #14142a;
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
}

/* ---------- Article footer ---------- */
.mog-article-footer {
  padding-top: 32px;
}

/* Voting */
.mog-article-votes {
  text-align: center;
  padding: 32px 0;
  border-bottom: 1px solid #0e0e1a;
}

.mog-article-votes__question {
  font-size: 16px;
  font-weight: 600;
  color: #c0c4d8;
  margin: 0 0 16px;
}

.mog-article-votes__controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mog-vote-btn {
  background-color: transparent !important;
  border: 1px solid #1e1e30 !important;
  border-radius: 8px !important;
  color: #8890aa !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 10px 32px !important;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s !important;
}

.mog-vote-btn:hover {
  border-color: #2b3fef !important;
  color: #ffffff !important;
  background-color: #0e0e1e !important;
}

.mog-vote-btn--selected,
.mog-vote-btn.mog-vote-btn--selected {
  background-color: #2b3fef !important;
  border-color: #2b3fef !important;
  color: #ffffff !important;
}

.mog-article-votes__count {
  font-size: 12px;
  color: #5a6080;
}

/* "Have more questions?" */
.mog-article-more-questions {
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #5a6080;
}

.mog-article-more-questions a {
  color: #2b3fef !important;
  text-decoration: none !important;
}

.mog-article-more-questions a:hover {
  color: #6878f5 !important;
}

/* ---------- Right sidebar – Related articles ---------- */
.mog-article-related {
  position: sticky;
  top: 24px;
}

.mog-related-articles .related-articles-list,
.mog-related-articles ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mog-related-articles li {
  margin-bottom: 2px;
}

.mog-related-articles li a,
.mog-related-articles .related-article-link {
  display: flex !important;
  align-items: flex-start !important;
  gap: 6px !important;
  padding: 7px 0 !important;
  font-size: 13px !important;
  color: #8890aa !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  transition: color 0.15s !important;
}

.mog-related-articles li a::before {
  content: "›";
  color: #2b3fef;
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}

.mog-related-articles li a:hover {
  color: #ffffff !important;
}

/* Back to top */
.mog-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 13px;
  color: #5a6080 !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

.mog-back-to-top:hover {
  color: #ffffff !important;
}

/* ---------- Shared sidebar label ---------- */
.mog-sidebar__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5a6080;
  margin: 0 0 12px;
  text-transform: uppercase;
}

/* ---------- Hide original Copenhagen article container ---------- */
.article-container {
  display: none !important;
}
