#content {
  padding: 0 !important;
}

.wp-site-blocks {
  padding: 0 !important;
}

.wp-site-blocks > * {
  max-width: 100% !important;
}

#masthead {
  z-index: 10000 !important;
}

.menu-navigation > .menu > li > .arrow-icon .svg-icon {
  color: #000;
}

body,
html {
  padding: 0;
  margin: 0 !important;
  background: #fff;
  margin-top: 0px !important;
}

body p,
a,
li,
label,
span {
  font-size: 16px !important;
  line-height: 28px;
  font-weight: 300;
  font-family: "Lexend" !important;
}

a {
  text-decoration: none !important;
}

body h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lexend" !important;
  font-weight: 600;
  margin: 0.5em 0;
  color: #000;
  line-height: 1.5;
}

body img {
  object-fit: cover;
}

header {
  margin: 0 !important;
  border: none !important;
}

.blog-container * {
  font-family: "Lexend" !important;
}

.blog-container {
  margin: 0 auto;
  width: 100%;
  max-width: none !important;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 500px;
  background-size: cover;
  margin-bottom: 60px;
  background-position: center;
  border-radius: 1rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.25)
  );
}

.hero-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  color: white;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin: 15px 0;
  width: 50%;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  color: white;
  font-weight: 600;
  line-height: 1.2;
}

.hero-content .category {
  background: #69be94;
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 400;
  width: fit-content;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0 2rem;
}

.blog-card {
  background: white;
  padding: 1rem;
  border: 2px solid #e8e8ea;
  border-radius: 1rem;
}

.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.blog-content {
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category {
  background: #69be941a;
  color: #69be94;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 400;
  width: fit-content;
}

.blog-card .blog-content h2 {
  font-size: 24px;
  margin: 0;
  min-height: 3.5rem;
  line-height: 1.2;
}

.blog-card .blog-content h2 a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  font-size: 24px !important;
}

.hero-section .post-meta {
  color: white;
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 500;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-section .post-meta * {
  line-height: 1.2;
}

.hero-section .post-meta .author-avatar img {
  border-radius: 100%;
}

.blog-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-card .post-meta {
  color: #97989f;
  font-weight: 400;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.blog-card .post-meta span {
  margin-right: 1rem;
  white-space: nowrap;
}

.blog-card .post-meta .author-avatar {
  display: flex;
  white-space: nowrap;
  flex-shrink: 0;
}

.blog-card .post-meta .author-avatar img {
  border-radius: 100%;
  height: 2rem;
  width: auto;
}

/* Pagination */
.pagination {
  grid-column: 1 / -1;
  text-align: center;
  margin: 40px 0;
}

.load-more {
  width: 100%;
  grid-column: span 3 / span 3;
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.load-more .load-more-button {
  background: white !important;
  border: 2px solid #696a754d !important;
  border-radius: 4rem;
  color: black;
  padding: 1rem 4rem;
}

.connect-us-section {
  background: #f8f8fe;
  display: flex;
  justify-content: center;
  align-items: center;
}

.connect-us-section * {
  text-align: center;
}

@media (max-width: 1280px) {
  .blog-card .post-meta {
    color: #97989f;
    font-weight: 400;
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1023px) {
  .hero-content h1 {
    width: 80%;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .load-more {
    width: 100%;
    grid-column: span 2 / span 2;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
  }
}

@media screen and (max-width: 767px) {
  .hero-section {
    min-height: 550px;
    padding: 4rem 1rem 1rem;
    height: auto;
    align-items: end;
    display: flex;
  }

  .hero-section .post-meta {
    gap: 0.5rem;
  }

  .hero-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .blog-container {
    padding: 0 1rem;
  }

  .blog-grid {
    display: block;
    grid-template-columns: 1fr;
  }

  .blog-content {
    padding: 1rem 0.5rem;
  }

  .blog-card {
    margin-top: 1.5rem;
    padding: 1rem 0.5rem;
  }

  .blog-content h2 {
    min-height: fit-content;
  }

  .blog-card .post-meta .author-avatar img {
    width: 1.5rem;
    height: auto;
  }

  .blog-card .post-meta span {
    margin-right: 0;
  }

  .hero-content h1 {
    width: auto;
  }
}

@media screen and (max-width: 480px) {
  .blog-card .post-meta .date {
    flex: 1;
    text-align: right;
  }

  .hero-section .post-meta .date {
    flex: 1;
    text-align: right;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 380px) {
  .blog-card .post-meta span {
    font-size: 0.9rem !important;
  }

  .hero-section .post-meta * {
    white-space: nowrap;
    font-size: 14px !important;
  }
}
