:root {
  --blue: #356cf3;
  --blue-dark: #2458d4;
  --blue-soft: #edf3ff;
  --dark: #101828;
  --text: #344054;
  --muted: #667085;
  --background: #f8fafc;
  --white: #ffffff;
  --line: #e5eaf2;
  --green: #12b76a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

body {
  color: var(--text);
  background: var(--background);
}

.article-heading {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  transition: 0.2s ease;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 7px 17px rgba(53, 108, 243, 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button-light {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
}

.button-light:hover {
  background: var(--background);
}

.hero {
  padding: 76px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  gap: 70px;
}

.hero h1 {
  max-width: 680px;
  color: var(--dark);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
}

.hero h1 span {
  color: var(--blue);
}

.hero-description {
  max-width: 570px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-card {
  position: relative;
  min-height: 315px;
  padding: 25px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(11, 32, 82, 0.96), rgba(53, 108, 243, 0.92)),
    #183b8f;
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 45px rgba(53, 108, 243, 0.2);
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-card::before {
  right: -60px;
  top: -60px;
}

.hero-card::after {
  right: -20px;
  top: -20px;
}

.hero-card-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 6px 10px;
  color: #dbe7ff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card h2 {
  position: relative;
  z-index: 1;
  max-width: 290px;
  margin-top: 90px;
  font-size: 25px;
  line-height: 1.15;
}

.hero-card-bottom {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dbe7ff;
  font-size: 11px;
}

/* Categories */

.categories-section {
  padding: 26px 0 42px;
}

.categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.categories::-webkit-scrollbar {
  display: none;
}

.category-button {
  flex-shrink: 0;
  padding: 10px 16px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.category-button:hover,
.category-button.active {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.section {
  padding-bottom: 78px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h2 {
  color: var(--dark);
  font-size: 34px;
  font-weight: 800;
}

.section-heading p {
  color: var(--muted);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}

.featured-card,
.post-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: 0.25s ease;
}

.featured-card:hover,
.post-card:hover {
  border-color: #cbd8f8;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.featured-image {
  position: relative;
  min-height: 255px;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 32, 80, 0.4), rgba(53, 108, 243, 0.7)),
    linear-gradient(135deg, #142554, #507cf7);
}

.featured-image.green {
  background:
    linear-gradient(135deg, rgba(0, 75, 55, 0.35), rgba(18, 183, 106, 0.72)),
    linear-gradient(135deg, #064e3b, #12b76a);
}

.image-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 15px 15px;
}

.tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 6px 9px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-content {
  padding: 22px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.featured-title {
  margin-top: 10px;
  color: var(--dark);
  font-size: 22px;
  line-height: 1.2;
}

.featured-description {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
}

.author-name {
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
}

.author-role {
  color: var(--muted);
  font-size: 10px;
}

/* Posts */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-image {
  position: relative;
  height: 150px;
  padding: 16px;
  background: linear-gradient(135deg, #5087f7, #2149ba);
}

.post-image.orange {
  background: linear-gradient(135deg, #ffb340, #e87914);
}

.post-image.pink {
  background: linear-gradient(135deg, #f472b6, #be185d);
}

.post-image.purple {
  background: linear-gradient(135deg, #9b8afb, #6d28d9);
}

.post-image.teal {
  background: linear-gradient(135deg, #2dd4bf, #0f766e);
}

.post-image.gray {
  background: linear-gradient(135deg, #94a3b8, #334155);
}

.post-content {
  padding: 17px;
}

.post-title {
  margin-top: 8px;
  color: var(--dark);
  font-size: 16px;
  line-height: 1.3;
}

.post-description {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-card .post-author {
  margin-top: 15px;
}


@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-card {
    min-height: 250px;
  }

  .hero-card h2 {
    margin-top: 65px;
  }

}

@media (max-width: 720px) {

  .header-actions .button-light {
    display: none;
  }

  .featured-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .featured-image {
    min-height: 210px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

}

@media (max-width: 480px) {
  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 39px;
  }

}

.section-white{
  background-color: white;
  padding-top: 78px;
}

.main-wrapper{
  margin: 0;
}


.category-label {
  display: inline-flex;
  padding: 7px 11px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-heading h1 {
  margin-top: 19px;
  color: var(--dark);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.07;
}

.article-lead {
  max-width: 690px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cover {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 22, 65, 0.3), rgba(53, 108, 243, 0.6)),
    linear-gradient(135deg, #172d67, #4c7cf4);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px rgba(53, 108, 243, 0.2);
  margin-bottom: 25px;
  margin-top: 15px;
}

.cover img{
  position: absolute!important;
}

.cover-content {
  position: absolute;
  z-index: 1;
  bottom: 36px;
  left: 40px;
  max-width: 460px;
  color: #fff;
}

.cover-content strong {
  display: block;
  margin-bottom: 10px;
  color: #dbe7ff;
  font-size: 12px;
  text-transform: uppercase;
}

.cover-content h2 {
  font-size: 34px;
  line-height: 1.15;
}

.article-layout {
  padding: 20px 0 82px;
}

.article-content {
  max-width: 850px;
  margin: 0 auto;
  color: var(--text);
  font-size: 16px;
  padding: 0 15px;
}

.article-content p {
  font-size: 16px!important;
}

.article-content h1 {
  margin: 30px 0;
  color: var(--dark);
  line-height: 1.2;
}

.article-content h2 {
  margin: 30px 0;
  color: var(--dark);
  font-size: 35px;
  line-height: 1.2;
}

.article-content h3 {
  margin: 30px 0;
  color: var(--dark);
  font-size: 30px;
}

.article-content li {
  margin-bottom: 10px;
  padding-left: 5px;
  font-size: 16px;
}

.article-content strong {
  color: var(--dark);
}

.info-box {
  margin: 29px 0;
  padding: 20px 22px;
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
}

.info-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 14px;
}

.info-box p {
  margin: 0;
  font-size: 14px;
}

.check-list {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
}

.check-list li::marker {
  color: var(--blue);
}

.share {
  position: sticky;
  top: 96px;
  align-self: start;
}

.share-title {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.share-button {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.share-button:hover {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: #cbd9ff;
}

@media (max-width: 760px) {

  .article-heading {
    text-align: left;
  }

  .article-lead {
    margin-left: 0;
  }

  .article-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .cover {
    min-height: 300px;
  }

  .cover-content {
    bottom: 24px;
    left: 24px;
    right: 24px;
  }

  .cover-content h2 {
    font-size: 25px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .breadcrumb-container{
    text-align: start!important;
  }

}

@media (max-width: 480px) {
  .article-heading h1 {
    font-size: 36px;
  }

  .article-content {
    font-size: 15px;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .author-card {
    align-items: flex-start;
  }
}

.blog-post-wrapper .breadcrumb-item a{
  font-size: 13px;
  color: #667085;
}

.blog-post-wrapper .breadcrumb-container{
  margin-top: 15px;
}