/* setmy.asia - Precious Metals Financial News Theme */

/* Smooth transitions */
a, button, .group img { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
a, button { transition-duration: 150ms; }
.group img { transition-duration: 500ms; }

/* Line clamp */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #5E594C; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #7D7768; }

/* Pagination */
.pagination { display: flex; gap: 0.5rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 0.75rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 500;
  background: #fff; color: #5E594C;
  text-decoration: none; border: 1px solid #E8E4D8;
}
.pagination a:hover { background: #FFF9E0; color: #8F770A; border-color: #D4AF37; }
.pagination .active { background: linear-gradient(135deg, #D4AF37, #B8960C); color: #fff; border-color: transparent; box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3); }
.pagination .disabled { opacity: 0.35; pointer-events: none; }

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #D4AF37; outline-offset: 2px;
}

/* Selection */
::selection { background: #FFF0B3; color: #4A3D05; }

/* Print */
@media print {
  header, footer, aside, #mobile-menu { display: none !important; }
  main { padding: 0 !important; }
  .article-content { max-width: 100% !important; }
  body { background: white !important; color: black !important; }
}

/* ======== Article Content ======== */
.article-content { font-family: 'Noto Serif SC', Georgia, serif; }
.article-content h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; color: #1A1812; border-left: 4px solid #D4AF37; padding-left: 1rem; }
.article-content h3 { font-size: 1.2rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; color: #2D2A20; }
.article-content p { margin-bottom: 1.25rem; line-height: 1.85; color: #434033; font-size: 1.05rem; }
.article-content ul, .article-content ol { margin-bottom: 1.25rem; padding-left: 1.75rem; }
.article-content li { margin-bottom: 0.5rem; color: #434033; line-height: 1.7; }
.article-content li::marker { color: #D4AF37; }
.article-content a { color: #8F770A; text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: #B8960C; }
.article-content img { max-width: 100%; border-radius: 0.75rem; margin: 1.5rem 0; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.article-content blockquote { border-left: 3px solid #D4AF37; padding: 1.25rem 1.5rem; background: linear-gradient(135deg, #FFFDF5, #FFF9E0); border-radius: 0 0.75rem 0.75rem 0; margin: 1.5rem 0; font-style: italic; color: #5C4F0E; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.article-content th, .article-content td { border: 1px solid #E8E4D8; padding: 0.75rem 1rem; text-align: left; }
.article-content th { background: linear-gradient(135deg, #FFFDF5, #FFF9E0); font-weight: 600; color: #4A3D05; }
.article-content code { background: #FFF9E0; padding: 0.15rem 0.4rem; border-radius: 0.25rem; font-family: 'JetBrains Mono', monospace; font-size: 0.9em; color: #B8960C; }
.article-content pre { background: #1A1812; color: #E8E4D8; padding: 1.25rem; border-radius: 0.75rem; overflow-x: auto; margin: 1.5rem 0; border: 1px solid #2E2603; }
.article-content pre code { background: none; padding: 0; color: inherit; }
