/*
Theme Name: GoldPrice Lite
Theme URI: https://goldprice.in.th/
Author: Your Name
Author URI: https://goldprice.in.th/
Description: Lightweight SEO-friendly theme for gold price sites. Minimal JS/CSS, fast, mobile-first, with JSON-LD and shortcode for gold tables.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: goldprice-lite
*/


/* ===== Sidebar Card Box ===== */
.sidebar-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}
.sidebar-box:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* ===== Title ===== */
.sidebar-title {
  font-family: 'Prompt', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #198754; /* เขียวทองคำ */
  border-bottom: 2px solid #e9f8ef;
  padding-bottom: 6px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

/* ===== List ===== */
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-item + .sidebar-item {
  margin-top: 6px;
}

/* ===== Links ===== */
.sidebar-link {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: #0d6efd; /* สีน้ำเงินเหมือนลิงก์ปกติ */
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
}

.sidebar-link i {
  color: #198754;
  margin-right: 6px;
  font-size: 0.9rem;
}

.sidebar-link:hover {
  background: #198754;
  color: #fff;
  transform: translateX(3px);
}

.sidebar-item.active .sidebar-link {
  background: linear-gradient(90deg,#28a745,#20c997);
  color: #fff;
  font-weight: 600;
}