.blog-page {
  background: #f7f9fc;
  color: #172033;
}

.blog-hero {
  background: linear-gradient(135deg, #14213d 0%, #0f766e 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: center;
}

.blog-kicker,
.blog-section-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #0f766e;
  background: #dff7f2;
  border: 1px solid #b9ece3;
  border-radius: 999px;
  padding: .32rem .75rem;
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.blog-hero .blog-kicker {
  color: #ffe8b0;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .22);
}

.blog-hero h1,
.blog-detail-hero h1,
.blog-results-head h2,
.blog-sidebar-card h2,
.blog-article-section h2,
.blog-author-card h2 {
  letter-spacing: 0;
}

.blog-hero h1 {
  max-width: 850px;
  margin: 1rem 0;
  font-size: clamp(2.05rem, 5vw, 4rem);
  line-height: 1.06;
  font-weight: 900;
}

.blog-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1.05rem;
  line-height: 1.75;
}

.blog-search-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  padding: .55rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .2);
}

.blog-search-form i {
  color: #0f766e;
  padding-left: .55rem;
}

.blog-search-form input {
  width: 100%;
  border: 0;
  outline: 0;
  min-height: 44px;
}

.blog-search-form button,
.blog-primary-btn,
.blog-secondary-btn,
.blog-cta-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.blog-search-form button,
.blog-primary-btn,
.blog-cta-card a {
  background: #0f766e;
  color: #fff;
  padding: .78rem 1rem;
}

.blog-search-form button:hover,
.blog-primary-btn:hover,
.blog-cta-card a:hover {
  background: #0b5f59;
  color: #fff;
}

.blog-secondary-btn {
  background: #fff;
  color: #14213d;
  border: 1px solid #d8e0ea;
  padding: .78rem 1rem;
}

.blog-secondary-btn:hover {
  color: #14213d;
  box-shadow: 0 14px 28px rgba(20, 33, 61, .12);
}

.blog-shell {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.blog-admin-actions {
  margin-bottom: 1.25rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: 1.5rem;
  align-items: start;
}

.blog-main,
.blog-article {
  min-width: 0;
}

.blog-featured-card,
.blog-card,
.blog-sidebar-card,
.blog-cta-card,
.blog-empty-state,
.blog-author-card {
  background: #fff;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(20, 33, 61, .07);
}

.blog-featured-card {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.blog-featured-media,
.blog-card-media {
  display: block;
  background: linear-gradient(135deg, #14213d, #0f766e);
  overflow: hidden;
}

.blog-featured-media {
  min-height: 330px;
}

.blog-featured-media img,
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.blog-card:hover .blog-card-media img,
.blog-featured-card:hover .blog-featured-media img {
  transform: scale(1.04);
}

.blog-featured-media span,
.blog-card-media span,
.blog-mini-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  color: rgba(255, 255, 255, .72);
  font-size: 2.5rem;
}

.blog-featured-content {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.blog-featured-label,
.blog-category-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  padding: .34rem .72rem;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: none;
}

.blog-featured-label {
  color: #14213d;
  background: #fbbf24;
  margin-right: .45rem;
}

.blog-category-pill {
  color: #0f766e;
  background: #dff7f2;
  border: 1px solid #b9ece3;
}

.blog-category-pill.light {
  color: #ffe8b0;
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .25);
}

.blog-category-pill.muted {
  color: #475569;
  background: #eef3f9;
  border-color: #dfe6ef;
}

.blog-featured-content h2,
.blog-card h3 {
  margin: 1rem 0 .65rem;
  color: #14213d;
  font-weight: 900;
  line-height: 1.18;
}

.blog-featured-content h2 a,
.blog-card h3 a,
.blog-mini-list a,
.blog-link-list a {
  color: inherit;
  text-decoration: none;
}

.blog-featured-content p,
.blog-card p,
.blog-cta-card p,
.blog-empty-state p,
.blog-author-card p {
  color: #586476;
  line-height: 1.65;
}

.blog-meta,
.blog-card-footer,
.blog-card-topline {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  color: #586476;
  font-size: .9rem;
}

.blog-meta i,
.blog-card-footer i,
.blog-card-topline i {
  color: #0f766e;
  margin-right: .35rem;
}

.blog-results-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.blog-results-head h2 {
  margin: .65rem 0 0;
  color: #14213d;
  font-weight: 900;
}

.blog-results-head > span {
  color: #586476;
  font-weight: 800;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.blog-card-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card-media {
  height: 210px;
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem;
}

.blog-card-body p {
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card-footer {
  justify-content: space-between;
  border-top: 1px solid #e8edf4;
  padding-top: .75rem;
  margin-top: auto;
}

.blog-staff-actions {
  display: flex;
  gap: .5rem;
  margin-top: .8rem;
}

.blog-staff-actions a {
  flex: 1;
  border-radius: 8px;
  padding: .45rem .7rem;
  color: #14213d;
  background: #eef3f9;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.blog-empty-state {
  text-align: center;
  padding: 2.5rem 1.25rem;
}

.blog-empty-state i {
  color: #0f766e;
  font-size: 2.7rem;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.blog-pagination a,
.blog-pagination span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #14213d;
  background: #fff;
  border: 1px solid #d8e0ea;
  font-weight: 900;
  text-decoration: none;
}

.blog-pagination .active {
  color: #fff;
  background: #0f766e;
  border-color: #0f766e;
}

.blog-sidebar {
  display: grid;
  gap: 1rem;
}

.blog-sidebar-card,
.blog-cta-card {
  padding: 1.1rem;
}

.blog-sidebar-card h2,
.blog-article-section h2 {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #14213d;
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.blog-sidebar-card h2 i,
.blog-article-section h2 i {
  color: #0f766e;
}

.blog-link-list {
  display: grid;
  gap: .35rem;
}

.blog-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-radius: 8px;
  padding: .7rem .75rem;
  color: #14213d;
  background: #f8fafc;
}

.blog-link-list a.active,
.blog-link-list a:hover {
  color: #0f766e;
  background: #dff7f2;
}

.blog-link-list strong {
  min-width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #14213d;
  font-size: .78rem;
}

.blog-mini-list {
  display: grid;
  gap: .85rem;
}

.blog-mini-list a {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
}

.blog-mini-list img,
.blog-mini-list span {
  width: 68px;
  height: 68px;
  min-height: 68px;
  border-radius: 8px;
  object-fit: cover;
  background: #14213d;
}

.blog-mini-list strong {
  color: #14213d;
  font-size: .93rem;
  line-height: 1.35;
}

.blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.blog-tag-cloud a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .45rem .75rem;
  color: #14213d;
  background: #eef3f9;
  text-decoration: none;
  font-weight: 800;
  font-size: .86rem;
}

.blog-tag-cloud a.active,
.blog-tag-cloud a:hover {
  color: #0f766e;
  background: #dff7f2;
}

.blog-cta-card {
  color: #fff;
  background: linear-gradient(135deg, #14213d, #0f766e);
}

.blog-cta-card h2 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.blog-cta-card p {
  color: rgba(255, 255, 255, .84);
}

.blog-cta-card a {
  background: #fff;
  color: #14213d;
}

.blog-cta-card a:hover {
  background: #fbbf24;
  color: #14213d;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: #0f766e;
  z-index: 9999;
}

.blog-detail-hero {
  position: relative;
  min-height: clamp(360px, 58vw, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #14213d, #0f766e);
}

.blog-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(15, 23, 42, .9), rgba(15, 23, 42, .42), rgba(15, 23, 42, .18));
}

.blog-detail-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.blog-detail-hero h1 {
  max-width: 980px;
  margin: 1rem 0;
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.06;
  font-weight: 900;
}

.blog-detail-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, .86);
  font-size: 1.05rem;
  line-height: 1.7;
}

.blog-detail-meta {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .88);
  font-weight: 800;
}

.blog-detail-meta i {
  margin-right: .4rem;
  color: #fbbf24;
}

.blog-article {
  background: #fff;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 18px 48px rgba(20, 33, 61, .07);
}

.blog-content {
  color: #283449;
  font-size: 1.05rem;
  line-height: 1.85;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #14213d;
  font-weight: 900;
  margin: 2rem 0 1rem;
}

.blog-content p {
  margin-bottom: 1.35rem;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 12px 28px rgba(20, 33, 61, .12);
}

.blog-content blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  color: #334155;
  background: #f8fafc;
  border-left: 4px solid #0f766e;
  border-radius: 0 8px 8px 0;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.35rem;
}

.blog-content li {
  margin-bottom: .45rem;
}

.blog-article-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8edf4;
}

.blog-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.blog-share-buttons a,
.blog-share-buttons button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.blog-share-buttons .facebook { background: #3b5998; }
.blog-share-buttons .twitter { background: #1da1f2; }
.blog-share-buttons .linkedin { background: #0077b5; }
.blog-share-buttons .whatsapp { background: #25d366; }
.blog-share-buttons .copy { background: #64748b; }
.blog-share-buttons .copy.is-copied { background: #15803d; }

.blog-author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem;
}

.blog-author-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #0f766e;
  font-size: 1.65rem;
  font-weight: 900;
}

.blog-author-card h2 {
  margin: 0 0 .25rem;
  color: #14213d;
  font-size: 1.15rem;
  font-weight: 900;
}

.blog-author-card p {
  margin: 0;
}

.blog-article-nav {
  display: flex;
  justify-content: space-between;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8edf4;
}

@media (max-width: 991px) {
  .blog-hero-grid,
  .blog-layout,
  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    order: 2;
  }
}

@media (max-width: 767px) {
  .blog-hero,
  .blog-shell {
    padding: 2rem 0;
  }

  .blog-search-form {
    grid-template-columns: auto 1fr;
  }

  .blog-search-form button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .blog-card-grid,
  .blog-card-grid.compact {
    grid-template-columns: 1fr;
  }

  .blog-results-head {
    align-items: start;
    flex-direction: column;
  }

  .blog-featured-media {
    min-height: 240px;
  }

  .blog-detail-hero {
    min-height: 380px;
  }

  .blog-detail-meta {
    flex-direction: column;
    gap: .45rem;
  }

  .blog-author-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-primary-btn,
  .blog-secondary-btn,
  .blog-cta-card a {
    width: 100%;
  }
}
