/*
  Theme override — applies the new Data Skills Dashboard palette/typography
  on top of the existing Datatoid template, and adds the sidebar app shell.
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  /* Re-target the Datatoid color tokens to the new dashboard palette */
  --vtc-bg-main1: #1B4D34;
  --vtc-bg-main2: linear-gradient(90deg, #1B4D34 0%, #3FAE6B 100%);
  --vtc-bg-main3: #3FAE6B;
  --vtc-bg-main6: #2E8B57;
  --vtc-bg-main7: linear-gradient(113deg, #1B4D34 14.93%, #2E8B57 92.43%);
  --vtc-bg-main8: #2E8B57;
  --vtc-bg-common-1: #F3F6F3;
  --vtc-bg-common-2: #E4F2E8;
  --vtc-bg-common-3: #E4F2E8;
  --vtc-bg-common-4: #D3EBDC;
  --vtc-bg-common-6: #E4F2E8;
  --f-ff-font-1: 'Inter', -apple-system, sans-serif;

  --dr-sidebar-bg: #0F2B1E;
  --dr-sidebar-bg-2: #123423;
  --dr-green: #2E8B57;
  --dr-green-bright: #3FAE6B;
  --dr-green-dark: #1B4D34;
  --dr-sidebar-w: 264px;
}

body, h1, h2, h3, h4, h5, h6, p, a, span, li, input, button, textarea {
  font-family: var(--f-ff-font-1);
}

/* ===== App shell ===== */
.app-shell {
  display: grid;
  grid-template-columns: var(--dr-sidebar-w) 1fr;
  min-height: 100vh;
}
.app-main {
  min-width: 0;
  overflow-x: hidden;
}
.app-main .container,
.app-main .container-fluid {
  max-width: 100%;
}

/* ===== Desktop sidebar ===== */
.app-sidebar {
  background: linear-gradient(180deg, var(--dr-sidebar-bg), var(--dr-sidebar-bg-2));
  color: #CFE3D6;
  padding: 26px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-direction: column;
}
.app-sidebar .brand-logo-link {
  display: inline-block;
  margin-bottom: 12px;
}
.app-sidebar .brand-logo {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
}
.app-sidebar .brand-sub {
  font-size: 12px;
  color: #8FAE9C;
  margin: 2px 0 22px 0;
  line-height: 1.4;
}
.app-sidebar nav.app-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: auto;
}
.app-sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: #B7CDBF !important;
  text-decoration: none !important;
}
.app-sidebar .nav-item i {
  width: 17px;
  text-align: center;
  opacity: 0.9;
}
.app-sidebar .nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}
.app-sidebar .nav-item.active {
  background: var(--dr-green-bright);
  color: #0F2B1E !important;
  font-weight: 700;
}
.app-sidebar .sidebar-foot {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
}
.app-sidebar .foot-tag {
  font-size: 11.5px;
  color: #8FAE9C;
  line-height: 1.5;
  margin: 0 0 14px 0;
}
.app-sidebar .foot-tag strong {
  color: #fff;
}
.app-sidebar .login-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #CFE3D6 !important;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  text-decoration: none !important;
}
.app-sidebar .login-pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ===== Mobile top bar / drawer (reuses existing mobile-menu.js hooks) ===== */
.mobile-header-main,
.mobile-sidebar {
  background: linear-gradient(180deg, var(--dr-sidebar-bg), var(--dr-sidebar-bg-2)) !important;
}
.mobile-header-main .mobile-nav-icon,
.mobile-sidebar .menu-close {
  color: #fff;
}
.mobile-sidebar .mobile-nav a {
  color: #CFE3D6 !important;
}
.mobile-sidebar .mobile-nav a:hover {
  color: #fff !important;
}

@media (max-width: 991.98px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
}

/* ===== KPI stat cards (dashboard style) ===== */
.blog-stats-wrap {
  padding: 50px 0 10px;
}
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.kpi-card {
  background: var(--card, #fff);
  border: 1px solid var(--line, #E3E9E3);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(15, 43, 30, 0.04);
}
.kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--dr-soft-green, #E4F2E8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kpi-icon i {
  font-size: 17px;
  color: var(--dr-green);
}
.kpi-label {
  font-size: 13px;
  color: #7C8B81;
}
.kpi-value {
  font-size: 26px;
  font-weight: 800;
  color: #182A20;
}
.kpi-delta {
  font-size: 12px;
  color: var(--dr-green);
}
@media (max-width: 991.98px) {
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .kpi-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Subscribe panel (compact, final page section) ===== */
.subscribe-panel {
  background: var(--dr-sidebar-bg);
  margin-top: 50px;
  padding: 32px 0;
}
.subscribe-panel-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.subscribe-panel-text h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.subscribe-panel-text p {
  margin: 0;
  font-size: 13px;
  color: #B7CDBF;
  max-width: 46ch;
}
.subscribe-panel-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 560px;
  min-width: 280px;
}
.subscribe-panel-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13.5px;
}
.subscribe-panel-form input::placeholder {
  color: #8FAE9C;
}
.subscribe-panel-form input:focus {
  outline: 2px solid var(--dr-green-bright);
  outline-offset: 1px;
}
.subscribe-panel-form button {
  height: 46px;
  flex-shrink: 0;
  padding: 0 22px;
  border: none;
  border-radius: 8px;
  background: var(--dr-green-bright);
  color: #0F2B1E;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.subscribe-panel-form button:hover {
  background: var(--dr-green);
  color: #fff;
}
@media (max-width: 767.98px) {
  .subscribe-panel-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .subscribe-panel-form {
    flex-direction: column;
    max-width: none;
  }
}

/* ===== Tighter section spacing for stacked Home sections ===== */
.home-compact-section {
  padding: 50px 0px;
}

/* ===== Home books (dashboard panel style) ===== */
.book-mini-card {
  background: var(--card, #fff);
  border: 1px solid var(--line, #E3E9E3);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 10px rgba(15, 43, 30, 0.04);
  height: 100%;
}
.book-mini-cover {
  width: 140px;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 18px;
  background: var(--dr-soft-green, #E4F2E8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-mini-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-mini-cover i {
  font-size: 40px;
  color: var(--dr-green);
}
.book-mini-body {
  width: 100%;
  min-width: 0;
}
.book-mini-body h4 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #182A20;
  line-height: 1.35;
}
.book-mini-body p {
  font-size: 14px;
  color: #7C8B81;
  margin: 0 0 14px;
}
.book-mini-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dr-green);
  text-decoration: none;
}
.book-mini-dl:hover {
  color: var(--dr-green-dark);
}

/* ===== Card / button restyle to match the dashboard look ===== */
.theme-btn1 {
  background: var(--dr-green) !important;
  border-color: var(--dr-green) !important;
}
.theme-btn1:hover {
  background: var(--dr-green-dark) !important;
}

/* ===== Home dashboard preview section ===== */
.dashboard-preview-sec {
  background: #fff;
}
.mt-24 {
  margin-top: 24px;
}
.dp-card {
  background: var(--vtc-bg-common-1);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.dp-card-full {
  height: 100%;
}
.dp-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.dp-card-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: var(--dr-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.dp-card-head h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--vtc-text-black3, #0A0D12);
}

.dp-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.dp-bar-label {
  width: 34%;
  min-width: 110px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4C5B52;
}
.dp-bar-track {
  flex: 1;
  height: 10px;
  background: #E4E9E5;
  border-radius: 20px;
  overflow: hidden;
}
.dp-bar-fill {
  height: 100%;
  background: var(--dr-green);
  border-radius: 20px;
}
.dp-bar-value {
  width: 40px;
  text-align: right;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dr-green-dark);
}

.dp-prof-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.dp-prof-label {
  width: 34%;
  min-width: 110px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4C5B52;
}
.dp-prof-track {
  flex: 1;
  height: 10px;
  background: #E4E9E5;
  border-radius: 20px;
  overflow: hidden;
}
.dp-prof-fill {
  height: 100%;
  background: var(--dr-green-bright);
  border-radius: 20px;
}
.dp-prof-value {
  width: 40px;
  text-align: right;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dr-green-dark);
}

.dp-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dp-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #E4E9E5;
}
.dp-activity-item:last-child {
  border-bottom: none;
}
.dp-activity-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: var(--dr-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.dp-activity-item {
  align-items: flex-start;
  flex-wrap: wrap;
}
.dp-activity-text {
  flex: 1;
  min-width: 60%;
  font-size: 13.5px;
  font-weight: 600;
  color: #33413A;
  text-decoration: none !important;
}
.dp-activity-text:hover {
  color: var(--dr-green);
}
.dp-activity-date {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 8px;
  font-size: 12.5px;
  color: #8A968E;
  white-space: nowrap;
}

.dp-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 14px 16px;
  background: #fff;
  border: 1px dashed var(--dr-green-bright);
  border-radius: 10px;
}
.dp-note i {
  color: var(--dr-green);
  margin-top: 2px;
}
/* ===== About page: mission / why-us / bloggers ===== */
.about-mission-sec,
.about-whyus-sec {
  background: #fff;
}
.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.about-feature-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--dr-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 2px;
}
.about-feature-item h5 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--vtc-text-black3, #0A0D12);
}
.about-feature-item p {
  margin: 0;
  font-size: 14px;
  color: #6B7A71;
  line-height: 1.6;
}

.dp-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #5C6B62;
}

/* ===== Team / bloggers carousel cards (reuses the .dp-card look) ===== */
.teamSwiper .swiper-wrapper {
  align-items: stretch;
}
.teamSwiper .swiper-slide {
  height: auto;
  width: 340px;
}
@media (max-width: 480px) {
  .teamSwiper .swiper-slide {
    width: 85%;
  }
}
.blogger-card {
  width: 100%;
}
.blogger-card-head h5 {
  flex: 1;
  text-align: left;
}
.blogger-photo-badge {
  padding: 0;
  overflow: hidden;
}
.blogger-photo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blogger-linkedin-btn {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--dr-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(15, 43, 30, 0.08);
  transition: background 0.2s, color 0.2s;
}
.blogger-card .dp-activity-item {
  flex-wrap: nowrap;
}
.blogger-card .dp-activity-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blogger-linkedin-btn:hover {
  background: var(--dr-green);
  color: #fff;
}
.blogger-no-posts {
  font-size: 13px;
  color: #8A968E;
  margin: 8px 0 0;
}

/* ===== Section header boxes (Data Blog / HR Blog / Kitabxana) ===== */
.section-header-box {
  background: var(--vtc-bg-common-1);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 40px;
}
.section-header-box .row {
  margin: 0;
}

/* ===== Home hero ===== */
.dr-hero {
  background: linear-gradient(135deg, #EAF3EC 0%, #F7FAF7 60%);
  padding: 70px 0;
}
.dr-hero-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dr-green);
  margin-bottom: 18px;
}
.dr-hero-tag span {
  color: #A9BDB0;
  margin: 0 6px;
}
.dr-hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--vtc-text-black3, #0A0D12);
  margin-bottom: 20px;
}
.dr-hero-desc {
  font-size: 16px;
  color: #5C6B62;
  margin-bottom: 30px;
  max-width: 480px;
}
.dr-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.dr-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dr-green-dark);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}
.dr-hero-btn-primary:hover {
  background: var(--dr-green);
  color: #fff;
}
.dr-hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--vtc-text-black3, #0A0D12);
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #D8E3DB;
  transition: border-color 0.2s, color 0.2s;
}
.dr-hero-btn-outline:hover {
  border-color: var(--dr-green);
  color: var(--dr-green);
}
.dr-hero-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dr-hero-visual-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 43, 30, 0.12);
  padding: 30px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 220px;
  width: 100%;
  max-width: 420px;
}
.dr-hero-chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--dr-green-bright), var(--dr-green));
  border-radius: 8px 8px 0 0;
  min-height: 20px;
}
.dr-hero-chip {
  position: absolute;
  background: #fff;
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 43, 30, 0.1);
}
.dr-hero-chip-1 {
  top: 0;
  left: 0;
  color: #217346;
}
.dr-hero-chip-2 {
  top: 18%;
  right: 0;
  color: #B8960A;
}
.dr-hero-chip-3 {
  bottom: 18%;
  left: 0;
  color: #2E86C1;
}
.dr-hero-chip-4 {
  bottom: 0;
  right: 12%;
  color: #306998;
}
@media (max-width: 991px) {
  .dr-hero {
    padding: 40px 0;
  }
  .dr-hero-title {
    font-size: 30px;
  }
  .dr-hero-chip {
    position: static;
    display: inline-block;
    margin: 4px;
  }
  .dr-hero-visual-card {
    max-width: 100%;
  }
}

/* ===== Home category cards ===== */
.dr-category-sec {
  padding: 30px 0 10px;
}
.dr-cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(15, 43, 30, 0.06);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dr-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(15, 43, 30, 0.12);
}
.dr-cat-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}
.dr-cat-icon-excel {
  background: #217346;
}
.dr-cat-icon-powerbi {
  background: #F2C811;
  color: #4A3B00;
}
.dr-cat-icon-sql {
  background: #2E86C1;
}
.dr-cat-icon-python {
  background: #306998;
}
.dr-cat-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dr-cat-text strong {
  font-size: 15px;
  color: var(--vtc-text-black3, #0A0D12);
}
.dr-cat-text small {
  font-size: 12px;
  color: #7C8B71;
}
.dr-cat-arrow {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--vtc-bg-common-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dr-green);
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
}
.dr-cat-card:hover .dr-cat-arrow {
  background: var(--dr-green);
  color: #fff;
}

/* ===== HR + Books mini panels ===== */
.dr-hr-books-row .dp-card {
  height: 100%;
}
.dr-mini-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.dr-mini-panel-head h5 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--vtc-text-black3, #0A0D12);
}
.dr-mini-panel-sub {
  margin: 0;
  font-size: 13px;
  color: #6B7A71;
  max-width: 320px;
}
.dr-mini-panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dr-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.dr-mini-panel-btn:hover {
  background: var(--dr-green-dark);
  color: #fff;
}
.mini-list {
  display: flex;
  flex-direction: column;
}
.mini-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #E4E9E5;
}
.mini-list-item:first-child {
  padding-top: 0;
}
.mini-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.mini-list-thumb {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-list-thumb i {
  font-size: 22px;
  color: var(--dr-green);
}
.mini-list-body {
  flex: 1;
  min-width: 0;
}
.mini-list-body h4 {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
  color: var(--vtc-text-black3, #0A0D12);
}
.mini-list-body h4 a {
  color: inherit;
  text-decoration: none;
}
.mini-list-body h4 a:hover {
  color: var(--dr-green);
}
.mini-list-body p {
  font-size: 12.5px;
  color: #7C8B71;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-list-filetype {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dr-green-dark);
  text-transform: uppercase;
  margin: 0 0 6px !important;
  -webkit-line-clamp: unset !important;
}
.mini-list-meta {
  font-size: 11.5px;
  color: #9AA79F;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-list-download {
  font-size: 12px;
  font-weight: 700;
  color: var(--dr-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mini-list-download:hover {
  color: var(--dr-green-dark);
}

/* ===== Shared light page header banner (Blog / HR / Quiz / Tools) ===== */
.dr-page-header {
  background: linear-gradient(135deg, #EAF3EC 0%, #F7FAF7 60%);
  padding: 50px 0 40px;
}
.dr-page-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--vtc-text-black3, #0A0D12);
  margin-bottom: 12px;
}
.dr-page-subtitle {
  font-size: 15px;
  color: #5C6B62;
  max-width: 680px;
  margin: 0;
}
@media (max-width: 767px) {
  .dr-page-title {
    font-size: 28px;
  }
}

/* ===== Category badge overlaying the card thumbnail ===== */
.dr-thumb-wrap {
  position: relative;
  display: block;
}
.dr-thumb-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #fff;
  color: var(--dr-green-dark) !important;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(15, 43, 30, 0.12);
}
.dr-thumb-badge:hover {
  background: var(--dr-green);
  color: #fff !important;
}

/* ===== Post card meta row (author / date / reading time) ===== */
.dr-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: #7C8B71;
}
.dr-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dr-post-meta i {
  color: var(--dr-green);
  font-size: 12px;
}

/* ===== Blog filter row: category pills + search + sort ===== */
.dr-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.dr-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dr-filter-pills .nav-link {
  background: #fff;
  color: #5C6B62;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid #E4E9E5;
  transition: all 0.2s;
}
.dr-filter-pills .nav-link:hover {
  border-color: var(--dr-green);
  color: var(--dr-green);
}
.dr-filter-pills .nav-link.active {
  background: var(--dr-green) !important;
  border-color: var(--dr-green) !important;
  color: #fff !important;
}
.dr-filter-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.dr-search-box {
  position: relative;
}
.dr-search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9AA79F;
  font-size: 13px;
}
.dr-search-box input {
  border: 1px solid #E4E9E5;
  border-radius: 30px;
  padding: 11px 16px 11px 38px;
  font-size: 13.5px;
  min-width: 220px;
  outline: none;
  background: #fff;
}
.dr-search-box input:focus {
  border-color: var(--dr-green);
}
.dr-sort-select {
  border: 1px solid #E4E9E5;
  border-radius: 30px;
  padding: 11px 16px;
  font-size: 13.5px;
  background: #fff;
  color: #33413A;
  outline: none;
}
.dr-sort-select:focus {
  border-color: var(--dr-green);
}

/* ===== Blog detail page ===== */
.dr-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #E4E9E5;
  padding: 18px 0;
  font-size: 13.5px;
  color: #7C8B71;
}
.dr-breadcrumb a {
  color: #7C8B71;
  text-decoration: none;
}
.dr-breadcrumb a:hover {
  color: var(--dr-green);
}
.dr-breadcrumb i.fa-angle-right {
  font-size: 10px;
  margin: 0 8px;
  color: #C4D0C8;
}
.dr-breadcrumb span {
  color: var(--dr-green-dark);
  font-weight: 600;
}
.dr-category-badge {
  display: inline-block;
  background: var(--vtc-bg-common-3, #E4F2E8);
  color: var(--dr-green-dark) !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  text-decoration: none !important;
  margin-bottom: 18px;
}
.dr-category-badge:hover {
  background: var(--dr-green);
  color: #fff !important;
}
.dr-detail-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--vtc-text-black3, #0A0D12);
  margin-bottom: 16px;
}
.dr-detail-excerpt {
  font-size: 16px;
  color: #5C6B62;
  line-height: 1.7;
  margin-bottom: 20px;
}
.dr-detail-meta {
  margin-bottom: 30px;
  font-size: 13.5px;
}
.dr-detail-author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 4px;
  vertical-align: middle;
}
.dr-detail-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 34px;
}
.dr-detail-image img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

/* Sidebar */
.dr-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dr-sidebar-card {
  padding: 24px;
}
.dr-sidebar-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--vtc-text-black3, #0A0D12);
  margin: 0 0 16px;
}
.dr-search-box-wide {
  width: 100%;
}
.dr-search-box-wide input {
  width: 100%;
  min-width: 0;
}
.dr-sidebar-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.dr-sidebar-author-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.dr-sidebar-author-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dr-green);
  color: #fff;
  font-size: 20px;
}
.dr-sidebar-author h6 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--vtc-text-black3, #0A0D12);
}
.dr-sidebar-author span {
  font-size: 12px;
  color: #8A968E;
}
.dr-sidebar-author-bio {
  font-size: 13px;
  color: #6B7A71;
  line-height: 1.7;
  margin: 0 0 16px;
}

/* ===== Library (Books) page ===== */
.dr-library-search {
  position: relative;
  display: flex;
  margin-bottom: 24px;
}
.dr-library-search > i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #9AA79F;
  font-size: 15px;
}
.dr-library-search input {
  flex: 1;
  border: 1px solid #E4E9E5;
  border-radius: 12px 0 0 12px;
  padding: 16px 16px 16px 50px;
  font-size: 14.5px;
  outline: none;
  background: #fff;
}
.dr-library-search input:focus {
  border-color: var(--dr-green);
}
.dr-library-search button {
  border: none;
  background: var(--dr-green);
  color: #fff;
  padding: 0 24px;
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.dr-library-search button:hover {
  background: var(--dr-green-dark);
}

.dr-pill-link {
  background: #fff;
  color: #5C6B62;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid #E4E9E5;
  text-decoration: none;
  transition: all 0.2s;
}
.dr-pill-link:hover {
  border-color: var(--dr-green);
  color: var(--dr-green);
}
.dr-pill-link.active {
  background: var(--dr-green-dark);
  border-color: var(--dr-green-dark);
  color: #fff;
}

.dr-view-toggle {
  display: flex;
  border: 1px solid #E4E9E5;
  border-radius: 10px;
  overflow: hidden;
}
.dr-view-btn {
  border: none;
  background: #fff;
  color: #9AA79F;
  width: 42px;
  height: 42px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.dr-view-btn.active {
  background: var(--dr-green);
  color: #fff;
}

/* Featured spotlight */
.dr-featured-box {
  display: flex;
  align-items: center;
  gap: 26px;
  background: var(--vtc-bg-common-3, #E4F2E8);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.dr-featured-cover {
  width: 150px;
  height: 190px;
  min-width: 150px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 43, 30, 0.15);
}
.dr-featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dr-featured-body {
  flex: 1;
  min-width: 240px;
}
.dr-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--dr-green-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.dr-featured-tag i {
  color: #F2C811;
}
.dr-featured-body h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--vtc-text-black3, #0A0D12);
  margin: 0 0 10px;
}
.dr-featured-body p {
  font-size: 14px;
  color: #4C5B52;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 640px;
}
.dr-featured-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dr-featured-cta {
  min-width: 200px;
}
.dr-format-pill {
  display: inline-block;
  background: #FDE8E8;
  color: #C0392B;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
}

/* Tag pill color variants */
.dr-tag-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 30px;
}
.dr-tag-mint {
  background: #E4F2E8;
  color: var(--dr-green-dark);
}
.dr-tag-green {
  background: #E4F2E8;
  color: #217346;
}
.dr-tag-yellow {
  background: #FDF3D2;
  color: #8A6D00;
}
.dr-tag-blue {
  background: #E3F0FA;
  color: #1B5A85;
}
.dr-tag-gray {
  background: #F0F2F0;
  color: #5C6B62;
}

/* Library heading */
.dr-library-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
}
.dr-library-heading h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--vtc-text-black3, #0A0D12);
  margin: 0;
}
.dr-library-heading h4 span {
  font-size: 13.5px;
  font-weight: 500;
  color: #8A968E;
  margin-left: 4px;
}

/* Book cards */
.dr-book-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 43, 30, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dr-book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(15, 43, 30, 0.12);
}
.dr-book-cover {
  position: relative;
  height: 170px;
  background: var(--vtc-bg-common-1);
}
.dr-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dr-file-icon-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 44px;
}
.dr-format-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #E74C3C;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}
.dr-book-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dr-book-body h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--vtc-text-black3, #0A0D12);
  margin: 0 0 6px;
  line-height: 1.35;
}
.dr-book-body p {
  font-size: 13px;
  color: #7C8B71;
  line-height: 1.6;
  margin: 0 0 12px;
}
.dr-book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.dr-book-actions {
  margin-top: auto;
}
.dr-book-footer {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid #EEF1EE;
}
.dr-book-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #8A968E;
}
.dr-book-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--dr-green);
  color: var(--dr-green);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.dr-book-download-btn:hover {
  background: var(--dr-green);
  color: #fff;
}

/* List view mode */
.dr-books-list-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dr-books-list-view .dr-book-card-col {
  width: 100%;
  max-width: 100%;
  flex: none;
}
.dr-books-list-view .dr-book-card {
  flex-direction: row;
}
.dr-books-list-view .dr-book-cover {
  width: 140px;
  height: auto;
  min-width: 140px;
}
.dr-books-list-view .dr-book-body {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.dr-books-list-view .dr-book-info {
  flex: 1;
  min-width: 200px;
}
.dr-books-list-view .dr-book-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 0;
}
.dr-books-list-view .dr-book-footer {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.dr-books-list-view .dr-book-download-btn {
  width: auto;
  padding: 10px 20px;
}
@media (max-width: 767px) {
  .dr-featured-box {
    flex-direction: column;
    text-align: center;
  }
  .dr-featured-pills {
    justify-content: center;
  }
  .dr-books-list-view .dr-book-card {
    flex-direction: column;
  }
  .dr-books-list-view .dr-book-cover {
    width: 100%;
  }
}
