/* =========================================================
   Wordgent custom.css
   Dark + gold theme / cleaned version
   ========================================================= */

/* ---------- Base links ---------- */
a {
  color: #c19a4d;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a:hover {
  color: #d7b56d;
  opacity: 0.95;
}

/* ---------- Headings ---------- */
h1,
h2,
h3 {
  color: #f3efe6;
}

/* ---------- Stack article cards ---------- */
.article-list article {
  border: 1px solid rgba(193, 154, 77, 0.2);
  border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.article-list article:hover {
  border-color: rgba(193, 154, 77, 0.5);
}

/* ---------- Grammar portal ---------- */
.wg-grammar a {
  display: block;
  padding: 10px 12px;
  margin: 10px 0;
  border: 1px solid rgba(193, 154, 77, 0.18);
  border-radius: 12px;
  text-decoration: none;
}

.wg-grammar a:hover {
  border-color: rgba(193, 154, 77, 0.5);
}

/* ---------- Related articles ---------- */
.wg-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(193, 154, 77, 0.2);
}

.wg-related h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.wg-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wg-related li {
  margin: 0 0 0.75rem 0;
}

.wg-related a {
  color: #c19a4d;
  text-decoration: none;
}

.wg-related a:hover {
  color: #d7b56d;
}

/* =========================================================
   Home portal
   ========================================================= */

.wg-hero,
.wg-home-section {
  background: #242424;
  color: #f3efe6;
  border: 1px solid rgba(193, 154, 77, 0.18);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.wg-hero h1,
.wg-home-section h2,
.wg-home-section h3 {
  color: #f3efe6;
}

.wg-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.7;
}

.wg-hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.wg-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #cfc7b8;
}

.wg-hero-copy {
  line-height: 1.9;
  margin-bottom: 20px;
  color: #cfc7b8;
}

.wg-hero-copy p {
  color: #cfc7b8;
}

.wg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Home buttons ---------- */
.wg-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  background: #c19a4d;
  color: #111111;
  text-decoration: none;
}

.wg-btn:hover {
  color: #111111;
  opacity: 0.92;
}

.wg-btn-secondary {
  background: transparent;
  color: #f3efe6;
  border: 1px solid rgba(193, 154, 77, 0.35);
}

.wg-btn-secondary:hover {
  color: #d7b56d;
}

/* ---------- Section header ---------- */
.wg-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.wg-section-head h2 {
  margin: 0 0 6px 0;
}

.wg-section-head p {
  margin: 0;
  color: #cfc7b8;
  opacity: 0.9;
}

/* ---------- Grids ---------- */
.wg-card-grid,
.wg-chip-grid {
  display: grid;
  gap: 16px;
}

.wg-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wg-chip-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* ---------- Cards ---------- */
.wg-link-card,
.wg-chip-card {
  display: block;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(193, 154, 77, 0.18);
  background: #2b2b2b;
  color: #f3efe6;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.wg-link-card:hover,
.wg-chip-card:hover {
  border-color: rgba(193, 154, 77, 0.45);
  background: #303030;
  transform: translateY(-1px);
}

.wg-card-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0.7;
}

.wg-link-card h3,
.wg-chip-card {
  color: #f3efe6;
  margin: 0;
}

.wg-link-card p {
  margin: 10px 0 0 0;
  line-height: 1.7;
  color: #cfc7b8;
}

/* ---------- Home ad placeholder ---------- */
.wg-home-ad {
  text-align: center;
  padding: 28px 18px;
  border: 2px dashed rgba(193, 154, 77, 0.22);
  border-radius: 14px;
  background: #2a2a2a;
  color: #f3efe6;
  font-weight: 700;
}

.wg-home-ad small {
  display: block;
  margin-top: 8px;
  font-weight: 400;
  color: #cfc7b8;
}

/* ---------- Study list ---------- */
.wg-study-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 2;
  color: #cfc7b8;
}

.wg-text-link {
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Home latest article cards ---------- */
.wg-home-section .article-list article {
  background: #2b2b2b;
  color: #f3efe6;
  border: 1px solid rgba(193, 154, 77, 0.18);
  border-radius: 12px;
}

.wg-home-section .article-list article a,
.wg-home-section .article-list article h2,
.wg-home-section .article-list article h3,
.wg-home-section .article-list article .article-title {
  color: #f3efe6;
}

.wg-home-section .article-list article p,
.wg-home-section .article-list article section,
.wg-home-section .article-list article .article-excerpt,
.wg-home-section .article-list article .article-content,
.wg-home-section .article-list article .article-text,
.wg-home-section .article-list article .article-details {
  color: #cfc7b8;
  background: transparent;
}

.wg-home-section .article-list article a:hover {
  color: #d7b56d;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .wg-hero,
  .wg-home-section {
    padding: 20px;
  }

  .wg-hero h1 {
    font-size: 1.6rem;
  }

  .wg-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
.wg-chip-card {
  line-height: 1.4;
}

.wg-chip-grid .wg-chip-card {
  display: flex;
  align-items: center;
  min-height: 72px;
}
.wg-card-label {
  letter-spacing: 0.08em;
}

.wg-link-card p {
  margin-top: 8px;
}

.wg-home-section .article-list {
  margin-top: 8px;
}