/* .profile-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--second-color);
}
.detail-img {
  margin-left: 1rem;
  margin-right: 1rem;
}
.detail-filter {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  color: #e21f36;
} */
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  box-sizing: border-box;
}
:root {
  --container-color: #1a1e21;
  --second-color: rgba(77, 228, 255);
  --text-color: #172317;
  --bg-color: #fff;
}
::selection {
  color: var(--bg-color);
  background: var(--second-color);
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}
img {
  width: 100%;
}
section {
  padding: 3rem 0 2rem;
}
.container {
  max-width: 1068px;
  margin: auto;
  width: 100%;
}
/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
}
header.shadow {
  background: var(--bg-color);
  box-shadow: 0 1px 4px hsl(0, 4%, 14% / 10%);
  transition: 0.5s;
}
header.shadow .logo {
  color: var(--text-color);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  font-size: 1.5rem;
  font-weight: 600;
  background-color: var(--bg-color);
}
.logo span {
  color: var(--second-color);
}
.login {
  padding: 8px 14px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 4px;
  background: var(--second-color);
  color: var(--bg-color);
}
.login:hover {
  background: hsl(199, 98%, 56%);
  transition: 0.5s;
}

.home {
  width: 100%;
  min-height: 440px;
  background: url(./assets/geometric.jpg);
  /* background-position: center; */
  display: grid;
  justify-content: center;
}
.home-text {
  color: var(--bg-color);
  text-align: center;
}
.home-title {
  font-size: 3.5rem;
}
.home-subtitle {
  font-size: 1rem;
  font-weight: 400;
}
.featured {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  /* border: 1px soild; */
}
/* From Ashield code*/
.sidebar-widget {
  margin-bottom: 35px;
  position: relative;
  padding: 20px;
  background-color: #f9fafb;
  border: 1px solid;
  width: 30%;
  height: fit-content;
}

.sidebar-widget h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  margin-top: -5px;
  display: inline-block;
  padding-left: 10px;
}

.sidebar-widget h3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: #e21f36;
}
.sidebar-widget.recent-post ul li {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eeeeee;
  position: relative;
  padding-left: 90px;
}

.sidebar-widget.recent-post ul li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-widget.recent-post ul li a {
  font-size: 16px;
  color: #000219;
  margin-bottom: 10px;
  font-weight: 600;
}

.sidebar-widget.recent-post ul li a:hover {
  color: #e21f36;
}

.sidebar-widget.recent-post ul li a img {
  position: absolute;
  top: 0;
  left: 0;
}

.sidebar-widget.recent-post ul li span {
  display: block;
  font-size: 14px;
}
/*  */
.about {
  position: relative;
  width: 60%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  /* border: 1px solid; */
}
.about .contentBx {
  max-width: 50%;
  width: 50%;
  text-align: left;
  padding-right: 40px;
}
.titleText {
  font-weight: 600;
  color: #111;
  font-size: 2rem;
  margin-bottom: 10px;
  /* text-align: justify; */
  /* text-justify: inter-character; */
}
.title-text {
  color: #111;
  font-size: 1em;
}
.about .imgBx {
  position: relative;
  min-width: 50%;
  width: 50%;
  min-height: 500px;
  /* background-color: red; */
  display: flex;
  align-items: center;
}
.btn2 {
  position: relative;
  display: inline-block;
  margin-top: 30px;
  padding: 10px 30px;
  background: #fff;
  border: 1px solid #111;
  color: #333;
  text-decoration: none;
  transition: 0.5s;
}

.btn2:hover {
  background-color: var(--second-color);
  border: none;
  color: #fff;
  font-weight: 600;
}
.btn3 {
  position: relative;
  display: inline-block;
  /* margin-top: 30px; */
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #111;
  color: #333;
  text-decoration: none;
  transition: 0.5s;
}

.btn3:hover {
  background-color: var(--second-color);
  border: none;
  color: #fff;
  font-weight: 600;
}
/* Post Filter */

.post-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.5rem;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}
.filter-item {
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}
.active-filter {
  /* background: var(--second-color);
  color: var(--bg-color); */
  padding: 4px 10px;
  border-radius: 4px;
  background-color: #11132c;
  color: #e21f36;
}
/* POSTs */

.post {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.post-box {
  background: var(--bg-color);
  box-shadow: 0 4px 14px hsl(35deg, 25%, 15% / 10%);
  padding: 15px;
  border-radius: 0.5rem;
}
.post-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
}
.post-img:hover {
  cursor: pointer;
  transform: scale(1.05);
}
.category {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  /* color: var(--second-color); */
  color: #e21f36;
  margin-top: 1rem;
}
.post-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-date {
  display: flex;
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 400;
}
.post-description {
  font-size: 0.9rem;
  line-height: 1.5rem;
  margin: 5px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.profile {
  display: flex;
  align-items: center;
  gap: 2rem;
  /* justify-content: space-around; */
  /* gap: 10px;
  border: 1px solid; */
  margin-bottom: 1rem;
}
.profile .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.profile .details {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 1rem;
}
.profile .details i {
  font-size: 1.5rem;
}
.profile .details .filter-tag {
  color: #e21f36;
}
.profile .details .tag,
.profile .details .date {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.profile-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--second-color);
}
.profile-name {
  font-size: 0.8rem;
  font-weight: 500;
  /* border: 1px solid #910a67; */
  width: 6rem;
  text-align: center;
}
.detail-img {
  margin-left: 1rem;
  margin-right: 1rem;
}
.detail-rp {
  width: fit-content;
}
.blog1-rp {
  width: fit-content;
}
.detail-filter {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  color: #e21f36;
}
.featured-blog {
  display: inline-block;
  position: relative;
  padding: 4px 10px;
  border-radius: 4px;
  /* background-color: #11132c;
  color: #e21f36; */
  /* margin-left: 5rem; #910a67
  margin-top: rem; */
  background-color: #c49eb8;
  color: #910a67;
  font-weight: 600;
  top: 2.5rem;
  left: 4.75rem;
}
/* New Testing.css */
.landing-rp {
  margin-top: 3rem;
  margin-right: 1rem;
  position: relative;
  top: 1rem;
}
.landing-about {
  position: relative;
  width: 60%;
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  height: fit-content;
  /* border: 1px solid; */
}
.hide-text {
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 5px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 1.5rem;
}
#btn2_landing {
  margin-top: 10px;
  /* background-color: rgb(41, 40, 40); */
  /* background-color: #000219;
  color: #e21f36; */
}
#btn2_landing:hover {
  background-color: #000219;
  color: #e21f36;
}
#btn3_landing:hover {
  background-color: #000219;
  color: #e21f36;
}
.landing-imgBx {
  min-height: 250px !important;
}
.blog-top-content p {
  color: black;
}
/* Media Queries for Responsiveness */

@media (max-width: 1062px) {
  .logo {
    font-size: 1.5rem;
  }
  .login {
    font-size: 1.5rem;
    padding: 6px 10px;
    border-radius: 4px;
  }

  .container {
    margin: 0 auto;
    width: 95%;
  }
  .home-text {
    width: 100%;
    margin-top: 5rem !important;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 10px 0;
  }
  section {
    padding: 2rem 0 !important;
  }
  .header-content {
    margin-top: 3rem !important;
  }
  .home {
    min-height: 300px;
  }
  .logo {
    font-size: 1.5rem;
  }
  .login {
    font-size: 1.5rem;
    padding: 4px 8px;
    border-radius: 4px;
  }
  .home-text {
    margin-top: 3rem;
  }
  .home-title {
    font-size: 3rem;
  }
  .header-title {
    font-size: 2rem;
  }
  .header-img {
    height: 370px;
  }
  .about {
    flex-direction: column;
  }
  .about .contentBx {
    min-width: 100%;
    width: 100%;
    text-align: center;
    padding-right: 0px;
  }
  .about .contentBx,
  .about .imgBx {
    min-width: 100%;
    width: 100%;
    padding-right: 0px;
    text-align: center;
  }
  .about .imgBx {
    min-height: 250px;
  }
  .btn2 {
    margin-bottom: 30px;
  }
  .post-header {
    height: 435px;
    margin-top: 9rem !important;
  }
}
@media (max-width: 570px) {
  .logo {
    font-size: 1rem;
  }
  .login {
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 2px;
  }
  .home-text {
    margin-top: 2.5rem;
  }
  .post-header {
    height: 390px;
  }
  .header-title {
    width: 100%;
  }
  .header-img {
    height: 340px;
  }
}
@media (max-width: 396px) {
  .logo {
    font-size: 0.8rem;
  }
  .login {
    font-size: 0.8rem;
    padding: 2px 4px;
    border-radius: 2px;
  }
  .home-text {
    margin-top: 2rem;
  }
  .home-title {
    font-size: 2rem;
  }
  .home-subtitle {
    font-size: 0.9rem;
  }
  .home {
    min-height: 300px;
  }
  .post-box {
    padding: 10px;
  }
  .header-title {
    font-size: 1.4rem;
  }
  .header-img {
    height: 240px;
  }
  .post-header {
    height: 335px;
  }
  .header-img {
    height: 340px;
  }
}

/* Recent post modification from testing.css */
.recent-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  /* justify-content: space-around; */
  margin-bottom: 1rem;
  width: 100%;
}

.recent-container .rp_img {
  height: 6rem;
  width: 9rem;
}
.recent-container .rp_heading {
  color: #000219;
  font-weight: 600;
}
/* .blog-details-img {
  /* margin-bottom: 2rem; */
.blog-details-img img {
  min-width: 90%;
  width: 90%;
  min-height: 500px;
}
.rp_date {
  color: black;
}
.contain {
  padding: 2rem;
}
.contain .row {
  display: flex;
  padding-left: 4rem;
}
.banner {
  z-index: 5000;
}
/* 28 FEB 2024 */
.blog-top-content p {
  text-align: justify;
  text-justify: inter-word;
}

/* @media (max-width: 1060px) {
  .detail-rp {
    width: 100;
  }
} */
/* @media (max-width: 1068px) {
  .ft-container {
    flex-wrap: wrap;
    justify-content: center;
  }
} */
@media (max-width: 992px) {
  .page-title-area {
    position: relative;
    /* top: 70px; */
  }
  .page-title-area::before {
    position: relative;
    /* top: 80px; */
    height: 20%;
  }

  .mobile-nav .logo {
    text-decoration: none;
    position: absolute;
    top: 0px;
    z-index: 999;
    left: 15px;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    max-width: 145px;
    height: 40px;
  }
}

/* Recent post responsiveness */
@media (max-width: 576px) {
  .blog-details-img img {
    min-width: 100% !important;
    width: 100% !important;
    min-height: auto !important;
  }
}
@media screen and (max-width: 1062px) and (min-width: 768px) {
  .landing-rp {
    width: 80% !important;
    margin-left: 1rem !important;
    /* background-color: #e21f36; */
    position: relative !important;
    top: -4rem !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* display: flex !important;
    flex-direction: column !important;
    justify-content: start !important; */
  }
  .recent-container .rp_img img {
    height: 7rem !important;
    width: 10rem !important;
    object-fit: contain;
  }
  .post-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1.5rem;
    margin-top: -2rem !important;
    margin-bottom: 1rem !important;
  }
  .featured {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
}
@media screen and (max-width: 768px) and (min-width: 576px) {
  .blog-details-img img {
    min-width: 90% !important;
    width: 90% !important;
  }
}
@media screen and (max-width: 992px) and (min-width: 576px) {
  .recent-container {
    gap: 1rem !important;
    /* justify-content: space-around; */
  }
  .detail-rp {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .landing-rp {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .recent-container .rp_img img {
    height: 7rem !important;
    width: 10rem !important;
    object-fit: contain;
  }
}
/* @media (max-width: 320px) {
  .blog-details-img {
    width: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 15rem;
  }
  .blog-details-img img {
    width: 100%;
    object-fit: contain;
  }
} */
/* @media (max-width: 576px) {
  .blog-details-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20rem;
  }
  .blog-details-img img {
    width: 100%;
    object-fit: contain;
  }
} */
/* @media (max-width: 495px) {
  .blog-details-content .blog-top-content .news-content .admin li {
    font-size: 12px;
  }
}
@media (max-width: 438px) {
  .blog-details-content .blog-top-content .news-content .admin li {
    font-size: 10px;
    width: 100%;
  }
}
@media (max-width: 393px) {
  .blog-details-content .blog-top-content .news-content .admin li img {
    margin-right: 8rem;
    margin-bottom: 1rem;
    margin-top: 1rem;

    position: relative;
    left: 3.5rem;
  }
  .blog-details-content .blog-top-content .news-content .admin .profile {
    height: max-content;
  }
}
@media (max-width: 350px) {
  .blog-details-content .blog-top-content .news-content .admin li img {
    margin-right: 8rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    position: relative;
    left: 2.5rem;
  }
} */

/* Resposiveness of Author detail and tag new-style */
/* Shfiting blog styles from testing.css 26/02/24 */

@media (max-width: 768px) {
  .profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .featured {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .landing-rp {
    /* margin-top: rem; */
    /* margin-right: 1rem; */
    width: 90%;
    margin-left: 1rem;
    /* width: 100vw;
    margin-left: 0.5rem; */
    position: relative;
    top: -4rem;
    /* background-color: red; */
  }
  .landing-about {
    width: 90%;
  }
  .post-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1.5rem;
    margin-top: -2rem !important;
    margin-bottom: 1rem !important;
  }
  .post {
    margin-bottom: 2rem;
  }
  .featured-blog {
    top: 1.5rem;
    left: 2.5rem;
  }
}

@media (max-width: 450px) {
  .profile .author {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .profile .details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}
@media screen and (max-width: 1062px) and (min-width: 768px) {
  .featured-blog {
    top: 1.5rem !important;
    left: 2rem !important;
  }
}
@media screen and (max-width: 1280px) and (min-width: 1063px) {
  .featured-blog {
    top: 1.5rem !important;
    left: 4rem !important;
  }
}
