/* skatregeln.css — article / content page */

/* page header extras */
.page-header .header-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.page-header .header-meta .read-time { color: rgba(255,255,255,0.55); font-size: 13px; display: flex; align-items: center; gap: 6px; }

/* ── MAIN GRID ── */
.article-main { max-width: 1200px; margin: -32px auto 0; padding: 0 24px 80px; display: grid; grid-template-columns: 1fr 320px; gap: 40px; }

/* ── ARTICLE ── */
.article-main .article { background: #ffffff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); overflow: hidden; }
.article-main .article .toc { background: #f4f2ed; border-bottom: 1px solid #e8e4db; padding: 20px 32px; }
.article-main .article .toc h4 { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #a09880; margin-bottom: 12px; }
.article-main .article .toc .toc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.article-main .article .toc .toc-list a { color: #1e4d35; font-size: 13px; font-weight: 500; background: #ffffff; border: 1px solid #e8e4db; padding: 5px 12px; border-radius: 100px; transition: all 0.15s; }
.article-main .article .toc .toc-list a:hover { background: #1e4d35; color: #ffffff; border-color: #1e4d35; }

/* article body */
.article-main .article .article-body { padding: 40px; }
.article-main .article .article-body h2 { font-size: 24px; font-weight: 800; color: #2e2820; margin: 40px 0 16px; padding-top: 8px; border-top: 2px solid #e8e4db; }
.article-main .article .article-body h2:first-child { margin-top: 0; border-top: none; }
.article-main .article .article-body h3 { font-size: 18px; font-weight: 700; color: #1e4d35; margin: 28px 0 12px; }
.article-main .article .article-body p { font-size: 15px; line-height: 1.8; color: #5c5445; margin-bottom: 16px; }
.article-main .article .article-body ul { margin: 12px 0 16px 20px; list-style: disc; }
.article-main .article .article-body ol { margin: 12px 0 16px 20px; list-style: decimal; }
.article-main .article .article-body li { font-size: 15px; line-height: 1.7; color: #5c5445; margin-bottom: 6px; }
.article-main .article .article-body strong { color: #2e2820; font-weight: 700; }

/* tables */
.article-main .article .article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article-main .article .article-body table th { background: #1e4d35; color: #ffffff; padding: 10px 14px; text-align: left; font-weight: 600; }
.article-main .article .article-body table td { padding: 10px 14px; border-bottom: 1px solid #e8e4db; vertical-align: top; color: #5c5445; }
.article-main .article .article-body table tr:nth-child(even) td { background: #f4f2ed; }
.article-main .article .article-body table tr:last-child td { border-bottom: none; }

/* reiz grid */
.article-main .article .article-body .reiz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.article-main .article .article-body .reiz-grid .reiz-card { background: #f4f2ed; border-radius: 6px; padding: 14px; text-align: center; border: 1px solid #e8e4db; }
.article-main .article .article-body .reiz-grid .reiz-card .suit { font-size: 28px; margin-bottom: 6px; display: block; }
.article-main .article .article-body .reiz-grid .reiz-card .name { font-size: 13px; font-weight: 600; color: #2e2820; margin-bottom: 4px; display: block; }
.article-main .article .article-body .reiz-grid .reiz-card .base { font-size: 20px; font-weight: 800; color: #1e4d35; display: block; }
.article-main .article .article-body .reiz-grid .reiz-card .sub { font-size: 11px; color: #a09880; display: block; }

@media (max-width: 768px) {
  .article-main .article .article-body { padding: 24px; }
  .article-main .article .article-body .reiz-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── SIDEBAR ── */
.article-main .article-sidebar {}
.article-main .article-sidebar .sidebar-card { background: #ffffff; border: 1px solid #e8e4db; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.article-main .article-sidebar .sidebar-card h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: #a09880; margin-bottom: 16px; }
.article-main .article-sidebar .sidebar-card p { font-size: 13px; color: #5c5445; margin-bottom: 12px; }
.article-main .article-sidebar .sidebar-card table { width: 100%; border-collapse: collapse; }
.article-main .article-sidebar .sidebar-card table td { padding: 5px 0; font-size: 13px; border: none; background: none; }
.article-main .article-sidebar .sidebar-card table td:last-child { text-align: right; font-weight: 700; color: #1e4d35; }
.article-main .article-sidebar .sidebar-card table td:first-child { color: #5c5445; }

/* related list */
.article-main .article-sidebar .sidebar-card .related-list li { border-bottom: 1px solid #e8e4db; }
.article-main .article-sidebar .sidebar-card .related-list li:last-child { border-bottom: none; }
.article-main .article-sidebar .sidebar-card .related-list li a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: #2e2820; font-size: 14px; font-weight: 500; transition: color 0.15s; }
.article-main .article-sidebar .sidebar-card .related-list li a:hover { color: #1e4d35; }
.article-main .article-sidebar .sidebar-card .related-list .link-icon { flex-shrink: 0; color: #a09880; }
.article-main .article-sidebar .sidebar-card .related-list .link-title { flex: 1; }
.level-badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 100px; flex-shrink: 0; }
.level-badge.basic { background: #e8f5ee; color: #1e4d35; }
.level-badge.mid { background: #fdf5e3; color: #7a5c0a; }
.level-badge.adv { background: #fceaea; color: #8b2020; }

/* progress card */
.article-main .article-sidebar .progress-card { background: #1e4d35; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.article-main .article-sidebar .progress-card h4 { color: #ffffff; font-size: 14px; margin-bottom: 14px; }
.article-main .article-sidebar .progress-card .progress-items li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.8); font-size: 13px; margin-bottom: 8px; }
.article-main .article-sidebar .progress-card .progress-items .done { color: #c9a84c; font-weight: 700; }
.article-main .article-sidebar .progress-card .progress-items .todo { color: rgba(255,255,255,0.3); }

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

/* ── GLOSSARY (skatbegriffe) ── */
.article-main .article .article-body .az-nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 32px; }
.article-main .article .article-body .az-nav a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #f4f2ed; border: 1px solid #e8e4db; border-radius: 6px; font-size: 13px; font-weight: 700; color: #1e4d35; transition: all 0.15s; text-decoration: none; }
.article-main .article .article-body .az-nav a:hover { background: #1e4d35; color: #ffffff; border-color: #1e4d35; }
.article-main .article .article-body .az-nav a.inactive { color: #c8c0b4; border-color: #ebe8e2; cursor: default; pointer-events: none; }

.article-main .article .article-body .gloss-group { margin-bottom: 40px; }
.article-main .article .article-body .gloss-group h2 { font-size: 28px; font-weight: 900; color: #1e4d35; margin: 0 0 16px; padding: 0 0 8px; border-top: none; border-bottom: 2px solid #e8e4db; }
.article-main .article .article-body .gloss-group dl { display: grid; gap: 0; }
.article-main .article .article-body .gloss-group dl dt { font-size: 15px; font-weight: 700; color: #2e2820; padding: 14px 0 4px; }
.article-main .article .article-body .gloss-group dl dd { font-size: 14px; line-height: 1.7; color: #5c5445; margin: 0; padding: 0 0 14px; border-bottom: 1px solid #f0ede7; }
.article-main .article .article-body .gloss-group dl dd:last-child { border-bottom: none; }

/* ── PLATFORM / LISTING CARDS (skat-online-spielen, skatforen, skat-software) ── */
.article-main .article .article-body .platform-list { display: grid; gap: 16px; margin: 20px 0; }
.article-main .article .article-body .platform-card { background: #f4f2ed; border: 1px solid #e8e4db; border-radius: 10px; padding: 20px 24px; display: flex; align-items: flex-start; gap: 16px; transition: box-shadow 0.15s; }
.article-main .article .article-body .platform-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.article-main .article .article-body .platform-card .plat-icon { width: 44px; height: 44px; border-radius: 8px; background: #ffffff; border: 1px solid #e8e4db; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }
.article-main .article .article-body .platform-card .plat-body { flex: 1; }
.article-main .article .article-body .platform-card .plat-body h3 { font-size: 15px; font-weight: 700; color: #2e2820; margin: 0 0 4px; }
.article-main .article .article-body .platform-card .plat-body p { font-size: 13px; color: #5c5445; line-height: 1.6; margin: 0 0 8px; }
.article-main .article .article-body .platform-card .plat-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.article-main .article .article-body .platform-card .plat-tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 100px; background: #ffffff; border: 1px solid #e8e4db; color: #5c5445; }
.article-main .article .article-body .platform-card .plat-tag.free { background: #e8f5ee; border-color: #b8dfc9; color: #1e4d35; }
.article-main .article .article-body .platform-card .plat-tag.app { background: #e8f0fb; border-color: #b8ccf0; color: #1a3d7a; }
.article-main .article .article-body .platform-card a.plat-link { font-size: 13px; font-weight: 600; color: #1e4d35; white-space: nowrap; flex-shrink: 0; align-self: center; }
