/* Modern clean blog listing */

:root {
  --bl-primary: #012a6c;
  --bl-primary-dark: #0a1e4a;
  --bl-accent: #e891b9;
  --bl-text: #2c3e50;
  --bl-muted: #5a6c7d;
  --bl-border: #e8edf4;
  --bl-bg: #f4f7fb;
  --bl-white: #ffffff;
  --bl-radius: 14px;
  --bl-radius-sm: 10px;
  --bl-shadow: 0 4px 24px rgba(1, 42, 108, 0.06);
  --bl-shadow-hover: 0 12px 36px rgba(1, 42, 108, 0.1);
  --bl-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background: var(--bl-bg);
  color: var(--bl-text);
}

/* Hero */
.bl-hero {
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
  border-bottom: 1px solid var(--bl-border);
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
}

.bl-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bl-primary), var(--bl-accent));
}

.bl-hero .inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.bl-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--bl-primary);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.bl-hero p {
  font-size: 1.08rem;
  color: var(--bl-muted);
  margin: 0 0 22px;
  line-height: 1.65;
}

.bl-hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  font-size: 0.88rem;
  color: var(--bl-muted);
}

.bl-hero-stats strong {
  color: var(--bl-primary);
  font-weight: 800;
}

.bl-hero-stats .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bl-accent);
  opacity: 0.7;
}

/* Sections */
.bl-sec {
  padding: 56px 0 72px;
}

.sec-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bl-accent);
  margin-bottom: 8px;
}

.sec-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--bl-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.sec-bar {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--bl-primary), var(--bl-accent));
  border-radius: 999px;
  margin: 0 auto 36px;
}

.bl-sec-alt {
  padding: 64px 0;
  background: var(--bl-white);
  border-top: 1px solid var(--bl-border);
}

/* Filter */
.filter-bar {
  background: var(--bl-white);
  border: 1px solid var(--bl-border);
  border-radius: var(--bl-radius);
  padding: 22px 24px;
  margin-bottom: 36px;
  box-shadow: var(--bl-shadow);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--bl-border);
  border-radius: 999px;
  font-size: 0.94rem;
  font-family: inherit;
  outline: none;
  background: var(--bl-bg);
  appearance: none;
  transition: border-color 0.2s var(--bl-ease), box-shadow 0.2s var(--bl-ease), background 0.2s var(--bl-ease);
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--bl-primary);
  background: var(--bl-white);
  box-shadow: 0 0 0 3px rgba(1, 42, 108, 0.08);
}

.search-wrap {
  position: relative;
}

.search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa8b8;
  pointer-events: none;
}

.search-wrap input {
  padding-left: 44px;
}

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--bl-border);
}

.cat-pill {
  padding: 8px 16px;
  border: 1px solid var(--bl-border);
  border-radius: 999px;
  background: var(--bl-bg);
  color: var(--bl-muted);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s var(--bl-ease), color 0.2s var(--bl-ease), border-color 0.2s var(--bl-ease), transform 0.2s var(--bl-ease);
}

.cat-pill:hover {
  border-color: rgba(1, 42, 108, 0.18);
  color: var(--bl-primary);
}

.cat-pill.is-active {
  background: var(--bl-primary);
  border-color: var(--bl-primary);
  color: #fff;
}

.btn-clear {
  padding: 11px 22px;
  border: none;
  border-radius: 999px;
  background: var(--bl-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s var(--bl-ease), transform 0.2s var(--bl-ease);
}

.btn-clear:hover {
  background: var(--bl-primary-dark);
  transform: translateY(-1px);
}

.results-count {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bl-muted);
}

/* Featured */
.feat-card {
  background: var(--bl-white);
  border: 1px solid var(--bl-border);
  border-radius: var(--bl-radius);
  overflow: hidden;
  margin-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  box-shadow: var(--bl-shadow);
  transition: box-shadow 0.25s var(--bl-ease), transform 0.25s var(--bl-ease);
}

.feat-card-link {
  text-decoration: none;
  color: inherit;
}

.feat-card-link:hover {
  box-shadow: var(--bl-shadow-hover);
  transform: translateY(-2px);
  color: inherit;
}

.feat-card .feat-img {
  flex: 0 0 44%;
  max-width: 44%;
  min-height: 300px;
  background: #eef2f7;
  position: relative;
}

.feat-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(1, 42, 108, 0.88);
  color: #fff;
}

.feat-card .feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feat-card .feat-body {
  flex: 1;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bl-primary);
  background: rgba(1, 42, 108, 0.06);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.feat-body h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--bl-primary);
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.feat-body p {
  font-size: 0.98rem;
  color: var(--bl-muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.feat-meta {
  font-size: 0.85rem;
  color: var(--bl-muted);
  margin-bottom: 22px;
}

.feat-meta i {
  margin-right: 5px;
  color: var(--bl-accent);
}

.feat-meta span {
  margin-right: 18px;
}

.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bl-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s var(--bl-ease), transform 0.2s var(--bl-ease);
}

.btn-read:hover {
  background: var(--bl-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* Cards */
.b-card {
  background: var(--bl-white);
  border: 1px solid var(--bl-border);
  border-radius: var(--bl-radius-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--bl-shadow);
  transition: transform 0.22s var(--bl-ease), box-shadow 0.22s var(--bl-ease), border-color 0.22s var(--bl-ease);
}

.b-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bl-shadow-hover);
  border-color: rgba(1, 42, 108, 0.12);
}

.b-card .b-img {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #eef2f7;
}

.b-card .b-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--bl-ease);
}

.b-card:hover .b-img img {
  transform: scale(1.03);
}

.b-card .b-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(1, 42, 108, 0.88);
  color: #fff;
  backdrop-filter: blur(6px);
}

.b-card .b-body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.b-card .b-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bl-primary);
  margin: 0 0 8px;
  line-height: 1.4;
  flex: 1;
  transition: color 0.2s var(--bl-ease);
}

.b-card:hover .b-body h3 {
  color: var(--bl-primary-dark);
}

.b-card .b-body p {
  font-size: 0.83rem;
  color: var(--bl-muted);
  margin: 0 0 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.b-meta {
  font-size: 0.76rem;
  color: var(--bl-muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--bl-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.b-more {
  font-weight: 600;
  color: var(--bl-primary);
  white-space: nowrap;
  transition: color 0.2s var(--bl-ease), transform 0.2s var(--bl-ease);
}

.b-card:hover .b-more {
  color: var(--bl-accent);
}

.b-card:hover .b-more i {
  transform: translateX(3px);
}

.b-more i {
  font-size: 0.68rem;
  transition: transform 0.2s var(--bl-ease);
}

.b-meta i {
  color: var(--bl-accent);
  margin-right: 4px;
}

/* Achievements */
.ach-card {
  background: var(--bl-white);
  border: 1px solid var(--bl-border);
  border-radius: var(--bl-radius);
  overflow: hidden;
  box-shadow: var(--bl-shadow);
}

.ach-card .ach-img {
  position: relative;
  min-height: 300px;
  background: #eef2f7;
}

.ach-card .ach-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ach-badge-wrap {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ach-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(1, 42, 108, 0.88);
}

.ach-badge.acc {
  background: rgba(232, 145, 185, 0.92);
}

.ach-card .ach-body {
  padding: 28px 32px;
}

.ach-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bl-primary), var(--bl-primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.ach-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bl-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.ach-sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bl-accent);
  margin-bottom: 12px;
}

.ach-card p {
  font-size: 0.92rem;
  color: var(--bl-muted);
  line-height: 1.7;
}

.ach-stat {
  background: var(--bl-bg);
  border: 1px solid var(--bl-border);
  border-radius: var(--bl-radius-sm);
  padding: 14px;
  text-align: center;
}

.ach-stat .val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bl-primary);
}

.ach-stat .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bl-muted);
  font-weight: 600;
  margin-top: 4px;
}

#achCarousel .carousel-control-prev,
#achCarousel .carousel-control-next {
  width: 44px;
}

#achCarousel .carousel-control-prev span,
#achCarousel .carousel-control-next span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bl-white);
  border: 1px solid var(--bl-border);
  box-shadow: var(--bl-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

#achCarousel .carousel-control-prev span i,
#achCarousel .carousel-control-next span i {
  color: var(--bl-primary);
  font-size: 0.75rem;
}

#achCarousel .carousel-indicators {
  bottom: -36px;
}

#achCarousel .carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5d0e0;
  border: none;
}

#achCarousel .carousel-indicators button.active {
  background: var(--bl-primary);
}

/* CTA */
.bl-cta {
  background: linear-gradient(135deg, var(--bl-primary) 0%, var(--bl-primary-dark) 100%);
  padding: 64px 0;
  text-align: center;
  color: #fff;
}

.bl-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.bl-cta p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}

.btn-cta {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s var(--bl-ease), color 0.2s var(--bl-ease), transform 0.2s var(--bl-ease);
}

.btn-cta:hover {
  background: #fff;
  color: var(--bl-primary);
  transform: translateY(-1px);
}

#noResults {
  text-align: center;
  padding: 52px 24px;
  margin-top: 24px;
  background: var(--bl-white);
  border: 1px solid var(--bl-border);
  border-radius: var(--bl-radius);
  box-shadow: var(--bl-shadow);
}

#noResults i {
  font-size: 2.5rem;
  color: #c5d0e0;
  margin-bottom: 16px;
  display: block;
}

#noResults h3 {
  color: var(--bl-primary);
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

#noResults p {
  color: var(--bl-muted);
  margin-bottom: 18px;
}

@media (max-width: 767px) {
  .bl-hero {
    padding: 56px 0 44px;
  }

  .filter-bar {
    padding: 18px 16px;
  }

  .cat-pills {
    gap: 6px;
  }

  .cat-pill {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .feat-card .feat-img {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 220px;
  }

  .feat-card .feat-body {
    padding: 24px;
  }

  .b-card .b-img {
    height: 190px;
  }

  .b-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  #achCarousel .carousel-control-prev {
    left: 8px !important;
  }

  #achCarousel .carousel-control-next {
    right: 8px !important;
  }
}
