:root {
  --header-bg: #163259;
  --footer-bg: transparent;
  --footer-color: black;
}

.hero-blog {
  position: relative;
  background: linear-gradient(101.31deg, rgba(18, 46, 76, 0.9) 0%, rgba(18, 61, 72, 0.9) 100%);
  overflow: hidden;
}
.hero-blog__back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(18, 46, 76, 0.2);
}
.hero-blog__back img {
  opacity: 0.1;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.hero-blog__wrapper {
  position: relative;
  z-index: 1000;
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-blog__title {
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  margin-bottom: 16px;
}
.hero-blog__subtitle {
  font-weight: 300;
  font-size: 18px;
  text-align: center;
  color: #E5E7EB;
  margin-bottom: 32px;
}
.hero-blog__search {
  max-width: 448px;
  height: 48px;
  position: relative;
}
.hero-blog__search input {
  width: 100%;
  height: 100%;
  padding: 0.688em 1.5em;
  font-size: 16px;
  line-height: 1;
  border: none;
  border-radius: 9999px;
  color: #9CA3AF;
}
.hero-blog__button {
  background: #e37e36;
  width: 44px;
  height: 40px;
  border-radius: 9999px;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
}

.article-list__wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.article-list__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.article-list__header a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  gap: 8px;
  color: #e37e36;
  transition: transform 0.3s;
}
.article-list__header a:hover {
  transform: scale(1.05);
}
.article-list__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 25px;
       column-gap: 25px;
}
@media screen and (max-width: 1024px) {
  .article-list__list {
    gap: 10px;
  }
}
@media screen and (max-width: 768px) {
  .article-list__list {
    grid-template-columns: 1fr;
  }
}

.article-card {
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1019607843);
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843);
  border-radius: 12px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.article-card__img {
  width: 100%;
  aspect-ratio: 372/192;
}
.article-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.article-card__body {
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .article-card__body {
    padding: 10px;
  }
}
.article-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.article-card__badge {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 0.333em 0.666em;
  border: 1px solid black;
}
.article-card__badge_orange {
  background: #e37e36;
  color: #FFFFFF;
  border: none;
}
.article-card__badge_teal {
  background: #123D48;
  color: #FFFFFF;
  border: none;
}
.article-card__badge_navy {
  background: #122E4C;
  color: #FFFFFF;
  border: none;
}
.article-card__separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #6B7280;
}
.article-card__date {
  font-size: 14px;
  color: #6B7280;
}
.article-card__title {
  color: #122E4C;
}
.article-card__title h3 {
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 1.3;
  margin: 0;
}
.article-card__text {
  color: #4B5563;
}
.article-card__footer {
  margin-top: auto;
}
.article-card__footer a {
  color: #e37e36;
  text-decoration: none;
}

.articles__wrapper {
  display: grid;
  grid-template-columns: 1fr 348px;
  grid-template-rows: repeat(5, auto);
  -moz-column-gap: 90px;
       column-gap: 90px;
  grid-template-areas: "title about" "articles about" "articles categories" "articles tegs" "pagination pagination";
}
@media screen and (max-width: 1024px) {
  .articles__wrapper {
    grid-template-columns: 1fr;
    grid-template-areas: "about" "title" "articles" "pagination";
  }
}
.articles__title {
  grid-area: title;
  margin-bottom: 30px;
}
.articles__list {
  grid-area: articles;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-title {
  font-weight: 700;
  font-size: 20px;
  color: #122E4C;
  margin: 0;
}

.articles-card {
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1019607843);
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1019607843);
  padding: 12px;
  border-radius: 12px;
  background: #FFFFFF;
  display: flex;
  gap: 65px;
  align-items: stretch;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .articles-card {
    flex-direction: column;
    gap: 5px;
  }
}
.articles-card__img {
  width: 100%;
  max-width: 316px;
  aspect-ratio: 316/222;
  border-radius: 30px;
  overflow: hidden;
}
@media screen and (max-width: 1024px) {
  .articles-card__img {
    max-width: none;
  }
}
.articles-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.articles-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0;
}

.about-blog {
  grid-area: about;
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1019607843);
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1019607843);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 30px;
}
.about-blog__header {
  padding-bottom: 9px;
  border-bottom: 1px solid #E5E7EB;
}
.about-blog__text {
  font-weight: 400;
  font-size: 16px;
  color: #4B5563;
  line-height: 1.3;
}
.about-blog__button {
  width: 100%;
}
.about-blog__button button {
  color: #ffffff;
  width: 100%;
  background: #e37e36;
  border-radius: 0.5em;
  font-family: Poppins;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  padding: 0.5em 1em;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.about-blog__button button:hover {
  background: #123D48;
}

.blog-categories {
  grid-area: categories;
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1019607843);
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1019607843);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 30px;
}
@media screen and (max-width: 1024px) {
  .blog-categories {
    display: none;
  }
}
.blog-categories__header {
  padding-bottom: 9px;
  border-bottom: 1px solid #E5E7EB;
}
.blog-categories__list {
  font-size: 16px;
  list-style: none;
  padding: 0;
}
.blog-categories__item {
  border-bottom: 1px solid #F3F4F6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 0.5em 0;
}
.blog-categories__text {
  font-weight: 400;
  font-size: 16px;
  color: #4B5563;
}
.blog-categories__count {
  color: #ffffff;
  font-family: Poppins;
  font-weight: 400;
  font-size: 12px;
  background: #122E4C;
  padding: 4px 8px;
  border-radius: 9999px;
}

.blog-tegs {
  grid-area: tegs;
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1019607843);
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1019607843);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 30px;
}
@media screen and (max-width: 1024px) {
  .blog-tegs {
    display: none;
  }
}
.blog-tegs__header {
  padding-bottom: 9px;
  border-bottom: 1px solid #E5E7EB;
}
.blog-tegs__list {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-tegs__teg {
  font-weight: 400;
  font-size: 14px;
  color: #4B5563;
  background: #F3F4F6;
  border-radius: 9999px;
  padding: 0.5em 1em;
}

.blog-paginations {
  grid-area: pagination;
  justify-self: center;
}
.blog-paginations__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-paginations__list li {
  width: 44px;
  height: 42px;
  color: #4B5563;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  cursor: pointer;
}
.blog-paginations__list li svg {
  fill: #4B5563;
}
.blog-paginations__list li.current-item {
  background: #122E4C;
  color: #ffffff;
}
.blog-paginations__list li.current-item svg {
  fill: #ffffff;
}
.blog-paginations__list li:hover {
  background: #123D48;
  color: #ffffff;
}
.blog-paginations__list li:hover svg {
  fill: #ffffff;
}