/*
colors:
dark-blue:#0A2640
black: #000
gray:#777777
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #000;
  margin: 0 40px;
}
.header {
  background: #fff;
  padding: 20px 0;
  color: #0a2640;
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.logo {
  font-family: "Manrope", sans-serif;
  font-size: 43px;
  font-weight: bold;
  line-height: 0.77;
  position: relative;
  padding-left: 40px;
}
.logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 13px;
  background: #0a2640;
  border-radius: 0 50% 50% 0;
}

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 18px;
  background: #0a2640;
  border-radius: 0 50% 50% 0;
}
.burger-checkbox,
.burger {
  display: none;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}
.nav-links a {
  text-decoration: none;
  color: #0a2640;
}
.login-btn {
  padding: 8px 40px;
  border: 2px solid #0a2640;
  border-radius: 20px;
  font-weight: bold;
}
.hero {
  max-width: 1200px;
  margin: 45px auto;
  padding: 0 27px;
  text-align: center;
}
.breadcrumb {
  font-size: 20px;
  color: #0a2640;
  margin-bottom: 12px;
}

.hero-title {
  font-family: "Manrope", sans-serif;
  font-size: 64px;
  font-weight: 400;
  color: #0a2640;
}

.featured-post {
  max-width: 1200px;
  margin: 40px auto 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.featured-image {
  margin: 100px;
}

.featured-image img {
  height: auto;
  border-radius: 24px;
  width: 550px;
}

.post-meta {
  margin-bottom: 12px;
}

.category {
  font-size: 16px;
  font-weight: bold;
  margin-right: 12px;
  color: #0a2640;
}

.date {
  color: #777777;
  font-size: 14px;
}

.post-excerpt {
  font-family: "Manrope", sans-serif;

  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.author-name {
  font-size: 16px;
  font-weight: 400;
}

hr {
  max-width: 1200px;
  margin: 0 auto;
}

.latest-news {
  max-width: 1200px;
  margin: 96px auto 124px;
  padding: 0 100px;
}

.section-title {
  font-family: "Manrope", sans-serif;

  font-size: 48px;
  font-weight: 400;
  margin-bottom: 40px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 96px;
}
.news-card,
.news-card > img {
  max-width: 300px;
}

.news-card .post-excerpt {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.6;
}
.load-more {
  display: block;
  margin: 0 auto;
  cursor: pointer;
  font-size: 20px;
  padding: 18px 56px;
  border: 2px solid #0a2640;
  border-radius: 56px;
  font-weight: bold;
  color: #0a2640;
}

.load-more:hover {
  background: #0a2640;
  color: #fff;
}

.cta-section {
  margin: 0 auto;
  max-width: 1200px;
  background: #0a2640;
  text-align: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  z-index: -2;
}

.cta-background-circle {
  height: 1293px;
  width: 1293px;
  position: absolute;
  left: 466px;
  top: -1054px;
  background-color: #1c3d5b;
  border-radius: 50%;
  z-index: -1;
}

.cta-block {
  padding: 72px 242px;
}

.cta-title {
  font-family: "Manrope", sans-serif;
  color: #fff;
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 48px;
}
.cta-form {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}
.email-input {
  flex: 1;
  padding: 12px 32px;
  border-radius: 240px;
  font-size: 20px;
}
.cta-button {
  background: #65e4a3;
  color: #0a2640;
  padding: 16px 56px;
  border-radius: 56px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}
.cta-button:hover {
  background: #fff;
  outline: 4px solid #65e4a3;
  outline-offset: 2px;
}
.footer {
  margin-top: 84px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 180px;
  padding: 100px 0;
}

.footer-brand .logo {
  margin-bottom: 40px;
}

.footer-description {
  color: #777;
  margin-bottom: 64px;
  font-size: 16px;
  line-height: 1.75;
}
.copyright {
  color: #777;
  font-size: 16px;
  line-height: 1.75;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 96px;
}
.link-column h3 {
  color: #000;
  margin-bottom: 32px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
}
.link-column ul {
  list-style: none;
}

.link-column li {
  margin-bottom: 40px;
}

.link-column span {
  font-size: 13px;
  font-weight: bold;
  line-height: 2.15;
  background-color: #65e4a3;
  color: #0a2640;
  border-radius: 120px;
  padding: 1px 14px;
  margin-left: 10px;
}

.link-column a {
  color: #777;
  text-decoration: none;
}

.link-column a:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 48px;
  }
  .featured-image {
    margin-right: 60px;
  }
  .featured-image img {
    width: 450px;
  }
  .post-excerpt {
    font-size: 36px;
  }

  .section-title {
    font-size: 36px;
  }
  .latest-news {
    padding: 0 80px;
  }
  .cta-title {
    font-size: 36px;
  }
  .email-input {
    font-size: 16px;
    padding: 10px 26px;
  }
  .cta-button {
    font-size: 16px;
    padding: 12px 42px;
  }
}
@media (max-width: 1024px) {
  .featured-post {
    flex-direction: column;
    align-items: center;
  }
  .featured-image {
    margin: 50px;
  }
  .featured-content {
    max-width: 450px;
  }
  .hero-title {
    font-size: 36px;
  }
  .latest-news {
    padding: 0 60px;
  }
  .cta-block {
    padding: 54px 144px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    gap: 30px;
  }

  .cta-form {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 30px;
    padding-left: 30px;
  }
  .logo::before {
    width: 12px;
    height: 8px;
  }
  .logo::after {
    width: 18px;
    height: 12px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 12px;
  }
  .login-btn {
    padding: 4px 20px;
  }
  .latest-news {
    padding: 0 40px;
  }
  .news-grid {
    gap: 30px;
    margin-bottom: 48px;
  }
  .load-more {
    font-size: 16px;
    padding: 9px 28px;
  }
  .cta-block {
    padding: 27px 72px;
  }
  .cta-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .burger-checkbox {
    position: absolute;
    visibility: hidden;
  }
  .burger {
    position: relative;
    z-index: 1;
    cursor: pointer;
    display: block;
    position: relative;
    border: none;
    background: transparent;
    width: 40px;
    height: 26px;
  }
  .burger::before,
  .burger::after {
    content: "";
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background: #000;
  }
  .burger::before {
    top: 0;
    box-shadow: 0 11px 0 #000;
    transition: box-shadow 0.3s 0.15s, top 0.3s 0.15s, transform 0.3s;
  }
  .burger::after {
    bottom: 0;
    transition: bottom 0.3s 0.15s, transform 0.3s;
  }
  .burger-checkbox:checked + .burger::before {
    top: 11px;
    transform: rotate(45deg);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
    transition: box-shadow 0.15s, top 0.3s, transform 0.3s 0.15s;
  }
  .burger-checkbox:checked + .burger::after {
    bottom: 11px;
    transform: rotate(-45deg);
    transition: bottom 0.3s, transform 0.3s 0.15s;
  }
  .nav-links {
    top: 0;
    left: 0;
    position: absolute;
    display: grid;
    gap: 12px;
    padding: 36px 0;
    margin: 0;
    list-style-type: none;
    background-color: #fff;
    transform: translateX(+300%);
    transition: 0.3s;
    width: 200px;
  }
  .nav-links > li {
    display: block;
    padding: 16px;
    color: #0a2640;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
  }
  .nav-links > li:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  .burger-checkbox:checked ~ .nav-links {
    transform: translateX(100%);
  }
  .category {
    font-size: 10px;
    margin-right: 8px;
  }
  .featured-image img {
    width: 350px;
  }
  .date {
    font-size: 10px;
  }
  .post-excerpt {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .author {
    gap: 8px;
  }

  .news-card,
  .news-card > img {
    max-width: 200px;
  }

  .cta-block {
    padding: 15px 45px;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .link-column li {
    margin-bottom: 5px;
  }
}
