.blog-hero,
.blog-article-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(31, 169, 219, 0.26), transparent 28%),
    linear-gradient(135deg, #172453, #2b4c89);
  color: white;
}

.blog-hero {
  padding: 4.75rem 0 7.5rem;
}

.blog-hero::after,
.blog-article-hero::after {
  position: absolute;
  right: -170px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  content: "";
}

.blog-hero .breadcrumb a,
.blog-article-hero .breadcrumb a {
  color: #a7e7ff;
}

.blog-hero .breadcrumb-item.active,
.blog-article-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.72);
}

.blog-hero .breadcrumb-item + .breadcrumb-item::before,
.blog-article-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
}

.blog-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.blog-hero .sinel-eyebrow,
.blog-article-hero .sinel-eyebrow {
  color: #8bdcff;
}

.blog-hero h1,
.blog-article-hero h1 {
  color: white;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.blog-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 5.25rem);
  line-height: 0.98;
}

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

.blog-search {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.blog-search label {
  display: block;
  margin-bottom: 0.6rem;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-search-control {
  position: relative;
  display: flex;
}

.blog-search-control > i {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: #7d879e;
  transform: translateY(-50%);
}

.blog-search-control input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 6.4rem 0.75rem 2.75rem;
  border: 0;
  border-radius: 999px;
  outline: none;
}

.blog-search-control input:focus {
  box-shadow: 0 0 0 0.2rem rgba(139, 220, 255, 0.35);
}

.blog-search-control button {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--sinel-sky);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
}

.blog-index {
  position: relative;
  z-index: 2;
  padding-bottom: 6rem;
  margin-top: -3.5rem;
}

.blog-featured {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(31, 47, 99, 0.08);
  border-radius: 1.35rem;
  background: white;
  box-shadow: 0 24px 65px rgba(31, 47, 99, 0.14);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.blog-featured-image,
.blog-card-image {
  display: block;
  overflow: hidden;
  background: #eaf0f7;
}

.blog-featured-image {
  min-height: 480px;
}

.blog-featured-image img,
.blog-card-image img,
.blog-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

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

.blog-featured-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  flex-direction: column;
}

.blog-featured-label {
  display: inline-block;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: #eaf7fc;
  color: var(--sinel-sky-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-featured h2 {
  margin: 1rem 0;
  color: var(--sinel-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.blog-featured h2 a,
.blog-card h3 a {
  color: inherit;
}

.blog-featured h2 a:hover,
.blog-card h3 a:hover {
  color: var(--sinel-sky-dark);
  text-decoration: none;
}

.blog-featured-copy > p,
.blog-card-body > p {
  color: var(--sinel-muted);
  line-height: 1.7;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  color: #7a8499;
  font-size: 0.78rem;
  gap: 0.75rem;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.blog-tags span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #eef1f8;
  color: var(--sinel-navy);
  font-size: 0.72rem;
  font-weight: 700;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--sinel-sky-dark);
  font-weight: 750;
  gap: 0.45rem;
}

.blog-read-link:hover {
  color: var(--sinel-navy);
  text-decoration: none;
}

.blog-section-heading,
.blog-results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.blog-section-heading {
  margin: 5rem 0 2rem;
}

.blog-results-heading {
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  background: white;
  box-shadow: 0 16px 45px rgba(31, 47, 99, 0.1);
}

.blog-section-heading h2,
.blog-results-heading h2 {
  margin: 0;
  color: var(--sinel-ink);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  font-weight: 750;
  letter-spacing: -0.03em;
}

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

.blog-card {
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(31, 47, 99, 0.09);
  border-radius: 1rem;
  background: white;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  box-shadow: 0 18px 45px rgba(31, 47, 99, 0.12);
  transform: translateY(-5px);
}

.blog-card-image {
  height: 230px;
}

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

.blog-card h3 {
  margin: 0.85rem 0;
  color: var(--sinel-ink);
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.35;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #e9edf3;
  margin-top: auto;
  color: #7a8499;
  font-size: 0.76rem;
  gap: 1rem;
}

.blog-card-footer a {
  color: var(--sinel-sky-dark);
  font-weight: 750;
  white-space: nowrap;
}

.blog-empty {
  padding: 5rem 1.5rem;
  border: 1px solid rgba(31, 47, 99, 0.08);
  border-radius: 1.25rem;
  background: white;
  box-shadow: 0 20px 55px rgba(31, 47, 99, 0.1);
  text-align: center;
}

.blog-empty > span {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf7fc;
  color: var(--sinel-sky-dark);
  font-size: 1.8rem;
}

.blog-empty h2 {
  margin-top: 1.25rem;
  color: var(--sinel-ink);
}

.blog-empty p {
  color: var(--sinel-muted);
}

.blog-pagination {
  display: grid;
  align-items: center;
  margin-top: 3rem;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
}

.blog-pagination a,
.blog-pagination > span:not(.blog-pagination-status) {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.blog-pagination a:last-child,
.blog-pagination > span:last-child {
  justify-self: end;
}

.blog-pagination a {
  color: var(--sinel-sky-dark);
  font-weight: 750;
}

.blog-pagination > span[aria-disabled="true"] {
  color: #a2a9b8;
}

.blog-pagination-status {
  color: var(--sinel-muted);
  font-size: 0.84rem;
}

.blog-article-hero {
  padding: 4.5rem 0 10rem;
}

.blog-article-heading {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.blog-article-heading h1 {
  margin: 1.25rem 0 1.5rem;
  font-size: clamp(2.7rem, 6vw, 4.75rem);
  line-height: 1.04;
}

.blog-article-hero .blog-tags span {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.blog-article-byline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.blog-author-mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #8bdcff;
  font-size: 1.15rem;
}

.blog-article-byline strong,
.blog-article-byline span {
  display: block;
}

.blog-article-byline span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.blog-article-page {
  position: relative;
  z-index: 2;
  padding-bottom: 6rem;
  margin-top: -6rem;
}

.blog-article {
  max-width: 1040px;
  overflow: hidden;
  border: 1px solid rgba(31, 47, 99, 0.08);
  border-radius: 1.35rem;
  margin: 0 auto;
  background: white;
  box-shadow: 0 24px 65px rgba(31, 47, 99, 0.14);
}

.blog-article-image {
  height: clamp(320px, 52vw, 620px);
  margin: 0;
}

.blog-article-content {
  max-width: 790px;
  padding: clamp(2rem, 6vw, 5rem);
  margin: 0 auto;
  color: #303b54;
  font-size: 1.04rem;
  line-height: 1.9;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
  margin-top: 2rem;
  color: var(--sinel-ink);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.8rem;
}

.blog-article-content a {
  color: var(--sinel-sky-dark);
  text-decoration: underline;
}

.blog-article-content blockquote {
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--sinel-sky);
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 2rem 0;
  background: #f3f8fc;
  color: var(--sinel-navy);
  font-size: 1.15rem;
}

.blog-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 790px;
  padding: 1.5rem clamp(2rem, 6vw, 5rem) 2.5rem;
  border-top: 1px solid #e8ecf3;
  margin: 0 auto;
  gap: 1rem;
}

.blog-article-footer .blog-read-link {
  margin-top: 0;
  white-space: nowrap;
}

.blog-related {
  padding-top: 5rem;
}

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

  .blog-featured-image {
    min-height: 390px;
  }

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

@media (max-width: 575.98px) {
  .blog-hero {
    padding: 3.75rem 0 6.5rem;
  }

  .blog-search-control {
    flex-direction: column;
  }

  .blog-search-control input {
    padding-right: 1rem;
  }

  .blog-search-control button {
    position: static;
    min-height: 45px;
    margin-top: 0.55rem;
  }

  .blog-featured-image {
    min-height: 280px;
  }

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

  .blog-results-heading,
  .blog-section-heading,
  .blog-article-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-pagination {
    grid-template-columns: 1fr 1fr;
  }

  .blog-pagination-status {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .blog-article-hero {
    padding: 3.5rem 0 8rem;
  }

  .blog-article-image {
    height: 280px;
  }
}
