
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');


/* ---------- Base Layout ---------- */
body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  margin: 0;
  overflow-x: hidden;
}





header h1 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff, #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Filter Section ---------- */
.filter-section {
  text-align: center;
  margin-bottom: 40px;
}

.filter-section label {
  margin-right: 10px;
  font-size: 16px;
  color: #aaa;
}

.filter-section input[type="date"] {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

/* ---------- Blog Grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ---------- Blog Card ---------- */
.blog-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
  /* box-shadow:  0 0 30px rgba(63, 63, 63, 0.15); */
}

.blog-card:hover {
  transform: translateY(-5px);
  opacity: 0.9;
}

.blog-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  transition: transform 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.03);
}

/* ---------- Blog Text ---------- */
.blog-card h2 {
  font-family: 'swear';
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 1.1px;
  line-height: 1.4;
  color: #000000;
  margin: 8px 0 10px;
}

.blog-card p {
  font-family: 'Clash Display', Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.6;
  margin-bottom: 15px;
}

.meta {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}
.related-author-icon {
  display: none;
}

@media(max-width: 768px) {

  /* Mobile: Vertical list like screenshot */
  .blog-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 0 10px;
  }

  .blog-card {
    display: grid;
    grid-template-columns: 1fr 80px;
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    row-gap: 6px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid rgb(0 0 0 / 34%)
  }

  /* Thumbnail on right */
  .blog-card img {
    grid-column: 2;
    grid-row: 1 / 4;
    width: 80px;
    height: 80px;
    border-radius: 0;
    object-fit: cover;
    margin: 0;
  }

  /* CATEGORY */
  .blog-card small {
    grid-column: 1;
    grid-row: 1;
    font-size: 10px;
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 4px 0;
    display: block;
  }

  /* TITLE */
  .blog-card h2 {
    grid-column: 1;
    grid-row: 2;
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
    color: #111;
    font-weight: 500;
  }

  /* Remove excerpt */
  .blog-card p {
    display: none;
  }

  /* AUTHOR + META */
  .meta {
    grid-column: 1;
    grid-row: 3;
    font-size: 12px;
    display: flex;
    gap: 8px;
    color: #777;
    margin-top: 4px;
  }
  .related-author-icon {
    width: 25px;
    height: 25px;
    background: #484848f6;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  /* Disable hover effects on mobile */
  .blog-card:hover {
    transform: none;
    opacity: 1;
  }
  .blog-card:hover img {
    transform: none;
  }
  .blog-actions{
    display: none;
  }
  .date{
    display: none;
  }
}


/* ---------- Pagination ---------- */
#pagination {
  text-align: center;
  margin-top: 3%;
  margin-bottom: 10%;
}

.page-link {
  color: #00bcd4;
  border: 1px solid #00bcd4;
  padding: 10px 14px;
  margin: 0 6px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-link.active,
.page-link:hover {
  background: #00bcd4;
  color: #fff;
}

a {
  color: inherit;               /* Inherit text color from parent */
  text-decoration: none;        /* Remove underline */
  cursor: pointer;              /* Keep clickable pointer */
}

/* ---------- Page Header Section ---------- */
.category-header {
  max-width: 1400px;
  margin: 40px auto 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.header-content {
  margin-bottom: 35px;
}

.category-title {
  font-size: 52px;
  font-weight: 800;
  background: linear-gradient(135deg, #000000, #005760);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.category-subtitle {
  color: rgba(0, 0, 0, 0.6);
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  height: 30px;
  gap: 15px;
  /*background: rgba(0, 0, 0, 0.05);*/
  /*box-shadow: 0 4px 12px -1px rgba(0, 0, 0, .1);*/
  /*border: 1px solid rgba(255,255,255,0.1);*/
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  background: hsla(0, 0%, 100%, .5);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border: 1px solid hsla(0, 0%, 100%, .3);
  transition: all 0.3s ease;
}

/*.filter-bar:hover {*/
/*  border-color: rgba(0,188,212,0.3);*/
/*  box-shadow: 0 0 30px rgba(0,188,212,0.15);*/
/*}*/

.filter-bar label {
    font-family:'Roboto Condensed';    
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.filter-icon {
  margin-right: 8px;
  font-size: 18px;
}

.date-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #000000;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/*.date-input:hover,*/
/*.date-input:focus {*/
/*  border-color: #00bcd4;*/
/*  outline: none;*/
/*  background: rgba(0,188,212,0.1);*/
/*}*/

/* ---------- Mobile Responsive Design ---------- */
@media (max-width: 768px) {

  header h1 {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .category-header {
    flex-direction: column;
    margin:0 0 5% 0;
  }

  .category-title {
    font-size: 32px;
  }

  .filter-bar {
    flex-direction: column;
    width: 85%;
    height: 18vh;
    gap: 12px;
    background-color: white;
  }
  .filter-bar label {
    color: black;
  }
  .date-input{
    color: black;
    font-size: 16px;
    border: 1px solid rgb(63 59 59 / 20%);
  }

}

/*  for the view filter */

.sort-select {
    font-family: 'Roboto Condensed';
  background: white;
  border: 1px solid rgb(63 59 59 / 20%);
  color: black;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/*.sort-select:hover,*/
/*.sort-select:focus {*/
/*  border-color: #00bcd4;*/
/*  outline: none;*/
/*  background: black;*/
/*}*/





/* ===== FOOTER MAIN ===== */
.fs-footer {
  position: relative;
  background: #000000;
  color: #ffffff;
  padding:70px 5% 40px;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}



/* ===== WRAPPER ===== */
.fs-footer-content {
  position: relative;
  background-color: black;
  padding: 0% 10% 4%;

  z-index: 2;
}

/* ===== RIGHT CONTENT (MAIN BLOCK) ===== */
.fs-footer-right {
  max-width: 360px;
  margin-left: auto; /* Push to right side */
  text-align: left;
}

.fs-footer-logo {
  width: 160px;
  transform: translate(-22% , 30%);
}

.fs-footer-desc {
  font-family: 'Clash';
  color: #ddd;
  font-size: 17px;
  line-height: 1.7;
}

/* ===== CONTACT BLOCK ===== */
.fs-footer-question {
  font-size: 13px;
  color: #aaa;
}

.fs-footer-answer {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.fs-blog-btn {
  padding: 12px 28px;
  background: #fff;
  color: #000;
  border: 2px solid #fff;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.fs-blog-btn:hover {
  background: transparent;
  color: #fff;
}

/* ===== DIVIDER ===== */
.fs-footer-divider {
  border: none;
  border-top: 1px solid #333;
  margin: 25px 0 30px;
  width: 94%;
  transform: translate(3%);
}

/* ===== BOTTOM LINKS ===== */
.fs-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  color: #aaa;
  font-size: 13px;
}

.fs-footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: 0.2s ease;
}

.fs-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.fs-footer-links .left,
.fs-footer-links .right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

  .fs-footer-right {
    margin: 0 auto;
    text-align: start;
  }
  .fs-footer-content {
    padding: 0 10% 0;
  }
    .fs-footer-links .right{
    display: none;
  }
}

@media (max-width: 600px) {
  .fs-footer-links {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .fs-footer-links .left {
    justify-content: center;
  }
    .fs-footer-right {
    margin: 0 auto;
    text-align: start;
    padding: 0 0 0 10%;
  }
  .fs-footer-content {
    padding: 0 0;
  }
  
  .fs-footer-links .right{
    display: none;
  }
}



