body {
  color: #000000;
}

.blog__anchor {
  color: #ff7b47;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.blog__anchor svg {
  margin-left: 0.5rem;
  transition: 0.3s all;
}

.blog__anchor:hover svg {
  height: 17px;
  width: 17px;
  margin-left: 0.7rem;
}

.blog__anchor:hover {
  text-decoration: underline;
}

.header {
  height: auto;
}

.header .content-width {
  padding-bottom: 0;
}

/* Hero */
.blog-hero {
  background: #1f2437;
  color: #ffffff;
}

.blog-hero__title h1 {
  color: #ff7b47;
}

.blog-hero__title p {
  font-weight: 500;
}

.blog-hero__img a:hover img {
  transform: scale(1.01);
  transition: 0.3s;
}

.blog--title {
  text-decoration: none;
}

.blog--title:hover {
  text-decoration: underline;
}

.blog-post-main__img{
  object-fit: contain !important;
}

/* Blogs */
.section-blogs {
  background: #ffffff;
}

.blog--search input {
  background: #ffffff;
  border: 1px solid #cccccc;
  font-family: "Montserrat", sans-serif;
}

.blog--search input::placeholder {
  color: #999999;
  font-weight: 400;
}

.blog--search svg {
  vertical-align: middle;
  cursor: pointer;
}

.blogs {
  list-style: none;
}

.blog h4 {
  text-transform: none;
}

.blog--link {
  color: #000000;
  text-decoration: none;
}

/* Categories */
.blog--categories ul {
  list-style: none;
}

.blog--categories ul li a {
  color: #000000;
  font-weight: 600;
  text-decoration: none;
}

.blog--categories ul li a:hover {
  text-decoration: underline;
}

.blog--categories ul li.active a {
  color: #ff7b47;
  font-weight: 700;
  text-decoration: underline;
}

.blog--categories ul li.active a:hover {
  color: #f05e25;
}

.blog--categories__mobile h4 {
  display: none;
}

/* Social Icons */
.social__icons>* {
  width: 42px;
  height: 42px;
  border: 1px solid #24242466;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.9325rem;
}

.social__icons a:hover {
  border: 2px solid #000000;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination button {
  background: #f0f0f0;
  border: 1.5px solid #f0f0f0;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
}

.pagination button:hover {
  border: 1.5px solid #000000;
}

.clickPageNumber {
  border: 1px solid #24242466;
  background: #ffffff;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
}

.current-page {
  background: #ff7b47;
  color: #ffffff;
  border: 1px solid #ff7b47;
}

.opacity {
  opacity: 0.5;
}

#page_number {
  margin: 0;
  padding: 0;
}

/* Recent Post */
.section-recent__post {
  background: #ffffff;
}

.section-recent__post h2 {
  text-align: center;
  font-weight: 700;
}

.recent__post img {
  width: 100%;
  height: auto;
}

.recent__post-link {
  color: #000000;
  text-decoration: none;
}

@media screen and (min-width: 1024px) and (max-width: 1217px) {
  .blog--search svg {
    width: 13px;
    height: 13px;
  }
}

@media screen and (min-width: 1024px) {
  .navigation {
    padding-bottom: 1.875rem;
  }

  /* Hero */
  .blog-hero__title h1 {
    line-height: 4rem;
    margin-bottom: 1.25rem;
  }

  .blog-hero__title p {
    font-size: 1.25rem;
    line-height: 2rem;
    margin-bottom: 3.3125rem;
    max-width: 71%;
  }

  .blog-hero__content {
    display: flex;
    justify-content: space-between;
  }

  .blog-hero__img {
    flex-basis: 58%;
  }

  .blog-heroo__text {
    flex-basis: 38%;
    margin-top: 1rem;
  }

  .blog-heroo__text div {
    margin-bottom: 1.02rem;
  }

  .blog-heroo__text span {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.125rem;
  }

  .blog-heroo__text span:first-child {
    font-weight: 700;
    margin-right: 1.5rem;
  }

  .blog-heroo__text h3 {
    font-size: 2rem;
    line-height: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
  }

  .blog-heroo__text p {
    font-weight: 400;
    margin-bottom: 2.5425rem;
    padding-right: 1rem;
  }

  /* Blogs */
  .section-blogs .content-width {
    padding-bottom: 4.25rem;
  }

  .blogs-content {
    display: flex;
    justify-content: space-between;
  }

  .blogs {
    /* flex-basis: 57.5%;  */
    display: flex;
    /* new code */
    justify-content: space-between;
    /* new code */
    flex-wrap: wrap;
    /* new code */
    row-gap: 25px;
    /* new code */
  }

  .blog {
    display: flex;
    margin-bottom: 1rem;
  }

  .blog--text {
    margin-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .blog--img img {
    height: auto;
  }

  .blog h4 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2.25rem;
    margin-bottom: 1.25rem;
  }

  .blog p {
    font-weight: 400;
    margin-bottom: 1.5rem;
    padding-right: 2rem;
  }

  .sidebar {
    flex-basis: 32%;
  }

  .sidebar h4 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
  }

  /* Search */
  .blog--search {
    margin-top: 2.2rem;
  }

  .blog--search input {
    margin-top: 1.04rem;
    margin-bottom: 4.03rem;
    padding: 1rem;
    max-width: 94%;
    border-radius: 0.5rem;
  }

  .blog--search input::placeholder {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .blog--search svg {
    transform: translateX(-200%);
  }

  /* Categories */
  .blog--categories__mobile {
    display: none;
  }

  .blog--categories ul {
    margin-top: 1.5rem;
    margin-bottom: 3.97rem;
  }

  .blog--categories ul li:not(:first-child) {
    margin-top: 1rem;
  }

  /* Social Icons */
  .social__icons {
    margin-top: 1.5rem;
    display: flex;
  }

  /* Pagination */
  .pagination {
    margin-top: 6.62rem;
  }

  .pagination button {
    font-size: 1rem;
    line-height: 1.21875rem;
    padding: 0.9375rem 1.3125rem;
  }

  #prev-page {
    margin-right: 1.875rem;
  }

  #next-page {
    margin-left: 1.875rem;
  }

  .pagination span:not(:first-child) {
    margin-left: 0.625rem;
  }

  .clickPageNumber {
    font-size: 1rem;
    line-height: 1.21875rem;
    padding: 0.9375rem 1.3125rem;
  }

  /* Recent Post */
  .section-recent__post .content-width {
    padding-bottom: 8.375rem;
  }

  .section-recent__post h2 {
    font-size: 3rem;
    line-height: 4rem;
    margin-bottom: 3rem;
  }

  .recent__post--content {
    display: flex;
    justify-content: space-between;
  }

  .recent__post-link {
    flex-basis: 24%;
  }

  .recent__post div {
    padding: 0.7rem 0.9375rem 0.7rem 1rem;
  }

  .recent__post div h5 {
    font-size: 1.25rem;
    line-height: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-right: 5px;
  }

  .recent__post:nth-of-type(2) h5 {
    max-width: 80%;
  }

  .recent__post div p {
    font-weight: 400;
    margin-bottom: 1.5rem;
  }
}

.blog-hero__img img {
  object-fit: cover;
}

@media screen and (min-width: 1024px) and (max-width: 1230px) {

  /* Hero Section */
  .blog-hero__title p {
    max-width: 95%;
  }

  .blog-hero__img img {
    width: 100%;
    height: 400px;
  }

  .blog-heroo__text h3 {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .blog-heroo__text div {
    margin-bottom: 0.8rem;
  }

  .blog-heroo__text {
    margin-top: 0.6rem;
  }

  .blog-heroo__text p {
    font-size: 0.975rem;
    margin-bottom: 1.5rem;
    padding-right: 0;
  }

  /* Blog */
  .blogs {
    /* flex-basis: 61%; */
  }

  .blog h4 {
    font-size: 1.1rem;
    line-height: 1.7rem;
    margin-bottom: 1rem;
  }

  .blog p {
    margin-bottom: 1rem;
  }

  .blog--img img {
    width: 100%;
    height: auto;
  }

  .blog--text {
    flex-basis: 60%;
  }

  /* Sidebar */
  .sidebar h4 {
    font-size: 1.1rem;
    line-height: 1.7rem;
  }

  /* Recent Post */
  .section-recent__post h2 {
    font-size: 2.5rem;
  }

  .recent__post div {
    padding: 0.7rem 0.8rem 0.7rem 0.8rem;
  }

  .recent__post div h5 {
    padding-right: 0;
    font-size: 1rem;
    line-height: 1.4rem;
  }

  .recent__post div p {
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
    line-height: 1.2rem;
  }

  .blog__anchor {
    font-size: 0.875rem;
  }

  .section-recent__post .content-width {
    padding-bottom: 6rem;
  }
}

@media screen and (max-width: 1023px) {
  .blog__anchor {
    font-size: 0.875rem;
  }

  .blog__anchor svg {
    height: 10.67px;
    width: 10.67px;
    margin-left: 0.475rem;
  }

  .blog__anchor:hover svg {
    height: 12px;
    width: 12px;
    margin-left: 0.6rem;
  }

  .blog-hero .content-width {
    padding-bottom: 2.5rem;
  }

  .blog-hero__img {
    margin-bottom: 1.5rem;
  }

  .blog-hero__img img {
    width: 100%;
    height: auto;
  }

  .blog-hero__title h1 {
    font-size: 1.875rem;
    line-height: 2.375rem;
    margin-bottom: 0.9375rem;
  }

  .blog-hero__title p {
    margin-bottom: 1.75rem;
  }

  .blog-heroo__text div {
    display: none;
  }

  .blog-heroo__text h3 {
    font-size: 1.125rem;
    line-height: 1.6875;
    margin-bottom: 1rem;
  }

  .blog-heroo__text p {
    margin-bottom: 1.5rem;
  }

  /* Blogs */
  .section-blogs .content-width {
    padding-top: 2.375rem;
    padding-bottom: 3.50625rem;
  }

  .blogs-content {
    display: flex;
    flex-direction: column;
  }

  .blogs {
    order: 1;
  }

  .blog {
    margin-bottom: 2.5rem;
  }

  .blog--img img {
    width: 100%;
  }

  .blog h4 {
    margin-top: 1rem;
    margin-bottom: 0.875rem;
    line-height: 1.6875rem;
  }

  .blog--text p {
    margin-bottom: 1rem;
  }

  /* Search */
  .blog--search h4 {
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 0.625rem;
  }

  .blog--search input {
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding: 0.9rem;
    font-size: 0.75rem;
    line-height: 1.25rem;
  }

  .blog--search svg {
    height: 12.07px;
    width: 12.07px;
  }

  .blog--text h4 {
    font-size: 1.125rem;
  }

  /* Categries */
  .blog--categories_desktop {
    display: none;
  }

  .blog--categories__mobile {
    margin-bottom: 1.875rem;
  }

  .blog--categories__mobile details {
    font-size: 0.75rem;
    line-height: 1.25rem;
    font-weight: 600;
  }

  .blog--categories__mobile details summary {
    border: 1px solid #cccccc;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    padding: 0.9rem;
    cursor: pointer;
    align-items: center;
  }

  .blog--categories__mobile details summary svg {
    margin-left: 0.6rem;
  }

  .blog--categories ul {
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .blog--categories ul li:not(:first-child) {
    margin-top: 0.5rem;
  }

  .blog--categories ul li a {
    font-size: 0.75rem;
  }

  /* Social Icons */
  .blog--social {
    display: none;
  }

  /* Pagination */
  .pagination {
    margin-top: 2.13125rem;
  }

  .pagination button {
    font-size: 0.5rem;
    line-height: 0.609375rem;
    padding: 0.5625rem 0.6875rem;
  }

  .clickPageNumber {
    font-size: 0.5rem;
    line-height: 0.609375rem;
    padding: 0.5625rem 0.6875rem;
  }

  #prev-page {
    margin-right: 1.069375rem;
  }

  #next-page {
    margin-left: 1.069375rem;
  }

  .pagination span:not(:first-child) {
    margin-left: 0.38125rem;
  }

  /* Recent Post */
  .section-recent__post .content-width {
    padding-top: 1.5625rem;
    padding-bottom: 1.1875rem;
  }

  .section-recent__post h2 {
    margin-bottom: 2rem;
  }

  .recent__post div {
    margin-top: 1rem;
    margin-bottom: 1.75rem;
  }

  .recent__post div h5 {
    font-size: 1.125rem;
    line-height: 1.6875rem;
    margin-bottom: 0.875rem;
  }

  .recent__post div p {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .section-blogs .content-width {
    padding-right: 0;
  }

  .blog--search input {
    max-width: 96.5%;
  }

  .blog--search svg {
    transform: translateX(-200%);
  }

  .blog--categories__mobile {
    padding-right: 1.25rem;
  }

  .blogs {
    padding-right: 1.25rem;
  }

  .pagination {
    padding-right: 1.25rem;
  }
}

@media screen and (max-width: 499px) {
  .blog--search input {
    max-width: 94.5%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .sidebar {
    display: flex;
    justify-content: space-between;
  }

  .blog--search {
    flex-basis: 50%;
  }

  .blog--search svg {
    transform: translateX(-200%);
  }

  .blog--search input {
    max-width: 95%;
  }

  .blog--categories__mobile {
    flex-basis: 50%;
    margin-top: 0;
  }

  .blog--categories__mobile h4 {
    display: block;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 0.625rem;
  }

  .blogs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .blog {
    margin-bottom: 2rem;
  }

  .blog--link {
    flex-basis: 50%;
  }

  .blog--link:nth-child(odd) {
    flex-basis: 47.5%;
  }

  .blog:not(:first-child) {
    margin-top: 0;
  }

  .pagination {
    margin-top: 2.63125rem;
  }

  .recent__post--content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .recent__post-link {
    flex-basis: 49%;
  }
}

@media screen and (min-width: 1440px) {
  .blog--link {
    flex-basis: 49%;
    /* new code */
  }
}