:root {
  --primary: #0b7a45;
  --primary-dark: #065f2e;
  --primary-light: #eaf5ef;
  --accent: #e8a33d;
  --ink: #14211b;
  --muted: #5f6f67;
  --bg: #f6f9f7;
  --surface: #ffffff;
  --border: #e3ebe6;
  --shadow-sm: 0 1px 2px rgba(17, 34, 26, 0.05), 0 6px 18px rgba(17, 34, 26, 0.05);
  --shadow-md: 0 10px 34px rgba(17, 34, 26, 0.1);
  --shadow-lg: 0 24px 60px rgba(17, 34, 26, 0.14);
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
}

/* ===== Page hero ===== */
.card.title-header {
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 6.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 380px at 85% -20%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(160deg, #0a4d2d 0%, #0b7a45 60%, #0f9460 100%);
}

.card.title-header h1 {
  margin: 0;
  color: #ffffff;
  font-family: inherit;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .card.title-header {
    padding: 4.5rem 1.25rem;
  }

  .card.title-header h1 {
    font-size: 1.85rem;
  }
}

/* ===== Page layout ===== */
.row.gx-4 {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem !important;
}

main.col-lg-8 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem !important;
  box-shadow: var(--shadow-sm);
}

/* ===== Breadcrumb ===== */
.breadcrumb-custom {
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: var(--muted);
}

.breadcrumb-custom i {
  margin-right: 0.25rem;
}

/* ===== Articles ===== */
article {
  position: relative;
}

.article-img {
  width: 300px;
  max-height: 195px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

main article h2 {
  color: var(--ink);
  transition: color 0.2s ease;
}

main article:hover h2 {
  color: var(--primary);
}

.small-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.read-more-btn {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(11, 122, 69, 0.25);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.read-more-btn:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 122, 69, 0.35);
}

/* ===== Sidebar ===== */
aside .bg-white {
  background: var(--surface);
  border: 1px solid var(--border) !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

ul.nav-tabs {
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0.5rem 0;
  gap: 0.25rem;
}

ul.nav-tabs .nav-link {
  border: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px 10px 0 0;
  transition: color 0.2s ease;
}

ul.nav-tabs .nav-link.active {
  color: var(--primary);
  background: transparent;
  border-bottom: 2px solid var(--primary);
  font-weight: 700;
}

.sidebar-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.sidebar-date {
  font-size: 0.72rem;
  color: var(--muted);
}

.recent-tech-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.border-black-underline {
  width: 44px;
  border-bottom: 3px solid var(--primary);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.recent-news-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 575.98px) {
  .article-img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 10;
  }
}