/* hero style */
@import url('https://fonts.googleapis.com/css2?family=Noticia+Text:ital,wght@0,400;0,700;1,400;1,700&display=swap');

.entry-content {
  font-family: 'Noticia Text', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
}

.entry-content p {
  line-height: 1.6;
}

.hero {
  padding: 8rem 0 18.5rem 0;
  background: white;
  background-image: none !important;
}

.hero__heading {
  color: #3d2dad !important;
  font-size: 68px;
  grid-area: hero-heading;
  position: relative;
  text-align: center;
  padding: 36px 0;
}

.hero__description {
  color: #fff;
  text-align: center;
  padding-top: 20px;
}

.hero__heading:after {
  bottom: -1.75rem;
  width: 34.375rem;
  background-color: #7671bb;
  content: '';
  height: 0.5125rem;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
}

/* category-strip style */

.category-strip {
  margin-top: -16rem;
}

/* @media(max-width: 991px) {
    .category-strip>* {
        grid-column: 2/-2
    }
} */

.category-strip__container {
  padding-top: 116px;
  display: flex;
  gap: 10px;
  z-index: 1;
  width: 65%;
  margin: -14.5rem auto;
  flex-wrap: wrap;
  /* Allow items to wrap for responsive behavior */
}

.category-strip__item {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  background-color: #fff;
  box-shadow: 0 0.1875rem 0.3125rem rgba(0, 0, 0, 0.15);
  box-shadow: var(--box-shadow);
  border-bottom: 0.225rem solid #7671bb;
  min-height: 10rem;
  padding: 1rem;
  text-decoration: none;
  flex: 1 1 calc(33.33% - 10px);
  /* Default: 3 items per row with gap */
  max-width: calc(33.33% - 10px);
  /* Restrict to 3 items per row */
  border: 1px solid #eee;
  border-radius: 30px;
}

.category-strip__icon {
  height: 60px;
  pointer-events: none;
}

.category-strip__subheading {
  font-size: 15px;
  font-weight: 600;
  color: #514ba5;
  text-align: center;
}

.category-strip__item:hover,
.category-strip__item:focus {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 0.5rem rgba(0, 0, 0, 0.1);
}

@media (min-width: 75rem) {
  .category-strip__item {
    min-height: 15.875rem;
    flex: 1 1 auto;
  }

  /* .category-strip__icon {
        max-height: 6rem;
        max-width: 6.3125rem;
    } */

  .category-strip__heading {
    font-size: 1.875rem;
  }
}

/* Featured style */

.featured_section {
  background-color: #504d7b;
  margin-bottom: -270px;
  background-image: url(https://www.infospireme.com/wp-content/uploads/2024/12/bg3.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.featured_container {
  width: 65%;
  margin: auto;
}

/* .section--variation-9 {
    background: #f5a623 url(../img/bundled.explore-texture.png) repeat center;
    background: var(--primary) url(../img/bundled.explore-texture.png) repeat center
} */

.featured_heading {
  color: #fff;
  margin-bottom: 1.75rem;
}

.post-module {
  display: flex;
  justify-content: space-between;
}

.post-module__item {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease-in-out;
  min-height: 47.3125rem;
  width: 32.5%;

  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.post-module__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: brightness(0.33);
  transition: filter 0.3s ease-in-out;
  z-index: 1;
  pointer-events: none;
}

.post-module__item:hover::before {
  filter: brightness(1);
}

.post-module__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.375rem 2.25rem;
  margin-top: 20px !important;
  margin-bottom: -20px;
}

/* Style adjustments for child elements */
.post-module__category {
  color: #b4b0e6;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  display: block;
  text-align: left;
  margin-top: 15px;
}

.post-module__category-link,
.post-module__heading-link {
  text-decoration: none;
  color: #fff;
}

.post-module__heading {
  color: #fff;
  font-size: 3.5rem !important;
  margin-top: 5px;
  text-shadow: 0px 2px 7px #000;
}

.post-module__button {
  color: white;
  text-decoration: none;
}

.recently-post-read-time {
  color: #fff;
}

.recently-post-description p {
  font-family: 'Noticia Text', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
}

.recently-post-thumb-link img {
  width: 100%;
  /* Make the image take up the full width of its container */
  height: auto;
  /* Maintain the aspect ratio */
  object-fit: cover;
  /* Ensure the image covers the container without distortion */
}

@media (min-width: 62rem) {
  .section--variation-9 {
    height: 34.8125rem;
  }
}

/* trending style */

.trending_section {
  background-color: white;
  padding-top: 210px;
  padding-bottom: 30px;
}

.carousel-container {
  position: relative;
  width: 65%;
  overflow: hidden;
  margin: auto;
}

.carousel-container .trending__heading {
  color: #3d2dad !important;
}

.carousel {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.carousel-item {
  min-width: 20%;
  min-height: 15.625rem;
  box-sizing: border-box;
  padding: 0.5rem 2rem;
  background-color: #fff;
  border: 1px solid #7671bb;
  margin: 0.85rem 10px;
  text-align: left;
  border-radius: 3px;
  display: flex;
  align-items: center;
  transition: all 0.25s ease-in-out;
  text-decoration: none;
}

.carousel-item:hover {
  background-color: #7671bb;
}

.trending__item {
  text-decoration: none;
  color: #3e3e3e;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
}

.trending__carousel {
  position: relative;
  margin-top: -20px;
}

.trending_arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgb(255 255 255 / 93%);
  color: #7671bb;
  padding: 10px;
  cursor: pointer;
  font-size: 42px;
  z-index: 10;
  width: 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.trending_arrow:hover {
  background-color: rgb(255 255 255 / 100%);
}

.trending_arrow.left {
  left: 0px;
}

.trending_arrow.right {
  right: 0px;
}

.trending_arrow:focus {
  outline: none;
}

/* RECENTLY STYLE */

.recently-section {
  background-color: #282626;
  padding: 30px 0;
}

.recently-container {
  position: relative;
  width: 65%;
  overflow: hidden;
  margin: auto;
}

.recently-category {
  color: #6e66d6;
}

.recently-heading {
  color: white;
}

.recently-post-container {
  display: flex;
  width: 100%;
  gap: 16px;
}

.first-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  text-align: left;
}

.first-item img {
  width: 100%;
  height: 435px !important;
  border-radius: 3px;
}

.smaller-articles {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
}

.recently-post-item {
  padding: 8px;
  text-align: left;
}

.recently-post-item img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  filter: brightness(0.8);
  transition: filter 0.3s ease-in-out;
}

.recently-post-item img:hover {
  filter: brightness(1);
  /* Brightens on hover */
}

.recently-post-heading {
  font-size: 24px;
  margin: 5px 0 !important;
  color: white !important;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
}

.recently-post-heading a {
  margin: 5px 0 !important;
  color: white;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
}

.recently-post-heading a:hover {
  color: #7671bb;
}

.post-module__button {
  display: block;
  font-weight: bold;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
}

.post-module__button:hover {
  text-decoration: underline;
}

.recently-post-read-time,
.recently-post-description {
  color: white;
  font-size: 12px;
  opacity: 0.6;
  text-transform: capitalize;
}

.recently-post-category-link {
  color: #7671bb;
  text-align: left;
  text-decoration: none;
}

.footer-links a {
  color: #7671bb;
}

/* EXPLORE STYLE */

.explore-section {
  background-color: white;
}

.explore-container {
  position: relative;
  width: 65%;
  overflow: hidden;
  margin: auto;
  margin-top: -30px;
}

.explore-post-module {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* Add spacing between items */
  justify-content: space-between;
  /* Distribute items evenly */
  width: 100%;
  margin: auto;
}

.explore-post-module-item {
  width: calc(50% - 20px);
  /* 50% width minus gap adjustment */
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Add spacing between child elements */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.explore-post-module-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Add shadow on hover */
}

.explore-post-thumb-link img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.explore-post-category {
  font-size: 14px;
  font-weight: bold;
  color: #7671bb;
}

.explore-post-heading {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.explore-post-heading-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease-in-out;
}

.explore-post-heading-link:hover {
  color: #7671bb;
  /* Change color on hover */
}

.explore-post-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #7671bb;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.explore-post-button:hover {
  background-color: #5a589e;
}

.explore-post-read-time {
  font-size: 12px;
  color: #666;
}

/* POST PAGE STYLE ----------------------------------------------------------------------------------------------------------------------------- */

.main-category-page {
  background-color: white !important;
}

.page-category-title {
  color: #3e3e3e;
  width: 65%;
  margin: auto;
}

/* General container styling */
.category-container {
  position: relative;
  margin: 20px;
  width: 65%;
  margin: auto;
}

.category-page-heading {
  color: #3d2dad !important;
  position: relative;
  margin-bottom: 2rem;
}

.category-page-heading:after {
  content: '';
  position: absolute;
  background-color: #7671bb;
  height: 0.6125rem;
  width: 13.688rem;
  left: 0;
  bottom: -0.5rem;
}

.category-post-container {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.category-post-heading {
  font-size: 28px;
  margin: 5px 0 !important;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
}

.category-post-heading a {
  margin: 5px 0 !important;
  color: #3e3e3e;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
}

.category-post-heading a:hover {
  color: #7671bb;
}

.category-post-read-time,
.category-post-description {
  color: #3e3e3e;
  font-size: 12px;
  text-transform: capitalize;
  font-weight: 600;
  opacity: 0.6;
}

/* Post item styles */
.category-post-item {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1px solid #d0cdcd;
  padding: 15px 0;
}

.category-post-item:last-child {
  border-bottom: none;
}

.category-post-meta {
  width: 15%;
  color: #7f7a7a;
}

.category-post-content {
  width: 55%;
}

.category-post-author {
  color: #7f7a7a;
}

.category-post-image {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
  filter: brightness(0.8);
  transition: filter 0.3s ease-in-out;
  image-rendering: auto;
  /* Ensure browser chooses optimal rendering */
  -webkit-backface-visibility: hidden;
  /* Improve rendering on WebKit browsers */
}

.category-post-image img {
  max-width: 100%;
  /* Ensures the image scales within the container */
  max-height: 100%;
  /* Ensures the image doesn't exceed the div height */
}

.category-post-image:hover {
  filter: brightness(1);
  /* Brightness on hover */
}

.category-featured_heading {
  color: #3e3e3e;
  margin-bottom: 1.75rem;
}

@media (min-width: 75rem) {
  .hero {
    padding: 40px 0;
  }

  .hero__heading {
    font-size: 40px;
    padding: auto !important;
    margin: 0px 0 90px;
  }

  .category-strip {
    margin-top: -150px;
  }
}

.hero__heading:after {
  display: none;
}

.pagination-container {
  padding: 15px;
}

#shadow-host-companion {
  display: none;
}

.entry-content {
  padding-bottom: 50px;
}

/* ==================== NEW DESIGN ==================== */

.home .featured_section {
  background: white;
}

/*.category-strip__item {
    justify-content: normal;
}*/
.category-strip__icon {
  /*    background: #ff6900;*/
  padding: 5px;
  border-radius: 40px;
  height: 32px;
  /*    position: absolute;*/
}

.category-strip__item {
  align-items: baseline;
  min-height: 10px;
  border-radius: 4px;
}

.category-strip {
  margin-top: -230px;
  margin-bottom: -40px;
}

.hero__heading {
  color: #0a1953 !important;
  font-weight: 200;
  margin: 0px 0 170px;
}

.carousel-item:hover {
  background: white;
}

.carousel-container .trending__heading {
  color: #0a1953 !important;
  font-weight: 200;
  font-size: 28px;
}

.carousel-item {
  padding: 20px;
  background-color: #fff;
  border: 1px solid #dedede;
  margin: 5px;
  min-width: 300px;
}

.trending_arrow {
  color: #ff6900;
}

.trending__item {
  text-decoration: none;
  color: #3e3e3e;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
}

.recently-heading {
  color: white;
  font-weight: 200;
  font-size: 28px;
}

.featured_heading {
  margin-bottom: 1.75rem;
  color: #0a1953 !important;
  font-weight: 200;
  font-size: 28px;
}

#site-content {
  padding-top: 0px !important;
}

.singular .entry-header {
  background-color: #ffec84 !important;
  padding-top: 120px;
}

.singular .featured-media::before {
  background: #ffec84 !important;
}

.singular:not(.overlay-header) .entry-categories-inner a {
  color: rgba(255, 105, 0, 1) !important;
}

body {
  background-color: white;
}

body .singular h1.entry-title {
  color: rgb(42, 41, 40);
  font-weight: 500;
  font-size: 6rem;
}

body #site-header {
  background: #ffffff;
  position: fixed;
  /*    width: 120rem;*/
  border-bottom: 3px solid #eee;
  z-index: 1000 !important;
  top: 20px;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 30px;
}

body .site-title a {
  color: #0a1953;
}

body .primary-menu a {
  color: #0a1953 !important;
}

body .header-inner .toggle svg {
  color: rgba(255, 105, 0, 1) !important;
}

.category-post-content .post-description {
  font-family: 'Noticia Text', serif;
  font-size: 17px;
  color: #494949;
}

.category-post-meta {
  color: #7f7a7a;
  font-size: 12px;
  font-weight: 800;
}

.category-post-meta a {
  color: #c2c2c2 !important;
}

.category-page-heading {
  color: #0a1953 !important;
  font-weight: 200;
  font-size: 28px;
}

.category-post-author {
  color: #b2b2b2;
  font-size: 12px;
}

.category-page-heading:after {
  content: '';
  position: absolute;
  background-color: #7671bb;
  height: 4px;
  width: 60px;
  left: 0;
  bottom: -2px;
  opacity: .2;
}

body .recently-category {
  color: #3e80cc;
}

body a:hover {
  color: #ff6900 !important;
}

body .primary-menu a {
  color: #0a1953 !important;
}

.about_us_heading {
  background-color: #ffec84;
  padding: 120px 0 80px;
}

.pagination-container {
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  background: #efefef;
  margin: 20px 0;
  border-radius: 40px;
  color: #f56700;
  padding-left: 20px;
}

.pagination-container a {
  color: #474747;
  text-decoration: none;
  margin: 0 7px;
}

.hero {
  background: #fcec7d;
  padding-top: 120px;
}

@media (min-width: 1000px) {
  body .header-inner {
    width: 92%;
  }

  body #site-header {
    width: 120rem;
  }
}

@media (min-width: 700px) {
  body .singular .entry-header {
    padding-top: 120px;
  }

  body .category-featured_section {
    background-color: #ffec84 !important;
  }

  body .recently-section {
    background-color: #282626 !important;
  }
}

@media (max-width: 1000px) {
  .hero__heading {
    margin: 90px 0 -10px;
  }
}


.contact_us_heading {
  background-color: #ffec84 !important;
  padding: 120px 0 80px;
}

.contact_us_heading h1 {
  color: #000000;
  font-size: 5rem;
}


/* ==================== END NEW DESIGN ==================== */





