@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
  line-height: 1.6;
  font-family: "Inter", sans-serif;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 2px solid #000;
  max-width: 1200px;
  margin: auto;
}
.header .logo {
  font-weight: 700;
}
.nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}
.nav ul li a {
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
}
.search-bar input {
  padding: 0.5rem;
  border: 1px solid grey;
  border-radius: 15px;
}

/* Hero Heading */
.hero-heading {
  text-align: center;
  padding: 2rem;
  border-bottom: 1px solid #c7c7c7;
}
.hero-heading h1 {
  font-size: 2.5rem;
}

/* Author + Share */
.author-share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: auto;
}
.author {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.author-name {
  font-weight: 700;
}
.author-role {
  font-size: 0.9rem;
  color: gray;
}
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: start;
}
.share button {
  margin-left: 0.5rem;
  padding: 0.3rem;
  background: transparent;
  border: 1px solid #b4b4b4;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

/* Hero Image */
.hero-image {
  max-width: 1200px;
  margin: auto;
  border-bottom: 1px solid #c7c7c7;
}
.hero-image img {
  width: 100%;
  height: auto;
}

/* About */
.about {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
  margin: auto;
}
.about-block {
  display: flex;
  gap: 3rem;
  align-items: center;
}
.about-block img,
.about-block .text {
  flex: 1;
}
.about-block .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.about-block.reverse {
  flex-direction: row-reverse;
}

.about-block p {
  font-size: 0.9rem;
}
/* Video + Quote */
.video-quote {
  padding: 2rem;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}
.video-quote img {
  width: 100%;
  margin-bottom: 1rem;
}
blockquote {
  font-style: italic;
  margin: 1rem 0;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Related */
.related {
  padding: 2rem;
  background-color: #000;
  color: #fff;
  max-width: 1200px;
  margin: auto;
}
.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #c7c7c7;
  padding-bottom: 1.25rem;
}
.related-header a {
  background-color: #fff;
  color: #000;
  text-decoration: none;
  padding: 0.25rem 1.25rem;
  font-size: 0.9rem;
}
.related-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.related-item img,
.related-item .text {
  flex: 1;
}
.related-item .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.9rem;
}
.related-item .text p {
  font-size: 0.9rem;
}
.related-item .text a {
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
}
.more-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.more-articles img {
  width: 100%;
}

.more-articles p {
  font-size: 0.9rem;
  color: #b4b4b4;
}
/* Newsletter */
.newsletter {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 2rem;
}
.newsletter form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.newsletter input {
  padding: 0.5rem;
  border: 2px solid #000;
}
.newsletter button {
  padding: 0.5rem 1rem;
  color: #fff;
  background-color: #000;
}

/* Footer */
.footer {
  background: #f5f5f5;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.footer-cols li {
  list-style: none;
  font-size: 0.9rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom .logo {
  font-weight: 700;
}

.footer-bottom .footer-links {
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.footer-bottom a img {
  width: 15px;
}
/* Responsive */
/* Responsive adjustments */
@media (max-width: 1024px) {
  .nav ul {
    gap: 0.8rem;
  }
  .hero-heading h1 {
    font-size: 2rem;
  }
  .related-item {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
  }
  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .author-share {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .about-block,
  .about-block.reverse {
    flex-direction: column;
    text-align: center;
  }
  .related-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .related-item {
    flex-direction: column;
    text-align: center;
  }
  .newsletter form {
    flex-direction: column;
    gap: 0.5rem;
  }
  #searchInput {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-heading h1 {
    font-size: 1.6rem;
  }
  .blog-title {
    font-size: 1rem;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
