/* =========================================
   CATEGORY PAGE — MONEY / TECH NEWS STYLE
========================================= */

/* MAIN CONTAINER */

.jy-ct {
  margin-top: 40px;
}



/* =========================================
   BREADCRUMBS
========================================= */

.jy-breadcrumbs {
  color: #64748B;
  font-size: 14px;
  margin-bottom: 6px;
  font-family: var(--jayek-primary);
  text-transform: uppercase;
}


/* =========================================
   CATEGORY HEADER (LEFT + LINE)
========================================= */

.jy-ct-header-left {
  margin-bottom: 28px;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 12px;
}

.jy-ct-title-left {
  font-size: 42px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--color-text);
}


/* =========================================
   MAIN LAYOUT
========================================= */

.jy-ct-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* LEFT CONTENT */

.jy-ct-main {
  flex: 1;
  min-width: 0;
}

/* RIGHT SIDEBAR */

.jy-ct-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
  width: 300px;
  flex-shrink: 0;
}




/* =========================================
   POST LIST ROW STYLE
========================================= */

.jy-ct-row {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #E2E8F0;
}

/* IMAGE */

.jy-ct-thumb img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* CONTENT AREA */

.jy-ct-content {
  flex: 1;
  min-width: 0;
}

/* TITLE */

.jy-ct-row-title {
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 8px;
  font-weight: 700;
}

.jy-ct-row-title a {
  color: var(--color-text);
  text-decoration: none;
}

.jy-ct-row-title a:hover {
  color: var(--color-primary);
}

/* META (Author + Date) */

.jy-ct-meta {
  font-size: 13px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.jy-author {
  font-weight: 600;
  color: var(--color-primary);
}

.jy-sep {
  opacity: 0.7;
}

.jy-date {
  color: #64748B;
}


/* =========================================
   PAGINATION
========================================= */

.jy-ct-pagination {
  margin-top: 50px;
  text-align: center;
}

.jy-ct-pagination .page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #F1F5F9;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--jayek-primary);
}

.jy-ct-pagination .page-numbers.current {
  background: var(--color-primary);
  color: #fff;
}

.jy-ct-pagination .page-numbers:hover {
  background: var(--color-accent);
  color: #fff;
}


/* =========================================
   EMPTY STATE
========================================= */

.jy-ct-empty {
  text-align: center;
  padding: 80px 20px;
  color: #64748B;
}


/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 1024px) {

  .jy-ct-sidebar {
    width: 260px;
  }

  .jy-ct-thumb img {
    width: 200px;
    height: 140px;
  }

}


/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 900px) {

  .jy-ct-wrap {
    flex-direction: column;
  }

  .jy-ct-sidebar {
    width: 100%;
  }

  .jy-side-ad {
    height: 180px;
    line-height: 180px;
  }

  .jy-ct-row {
    flex-direction: column;
  }

  .jy-ct-thumb img {
    width: 100%;
    height: 220px;
  }

  .jy-ct-title-left {
    font-size: 32px;
  }

}


/* =========================================
   TRENDING SIDEBAR
========================================= */

.jy-trending {
  margin: 25px 0;
}

.jy-trending-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 8px;
}

/* TREND ITEM */

.jy-trend-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E2E8F0;
}

.jy-trend-item:last-child {
  border-bottom: none;
}

/* THUMB */

.jy-trend-thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* TITLE */

.jy-trend-title {
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
  font-weight: 700;
}

.jy-trend-title a {
  text-decoration: none;
  color: var(--color-text);
}

.jy-trend-title a:hover {
  color: var(--color-primary);
}


/* =========================================
   VERTICAL AD
========================================= */

.jy-vertical-ad {
  height: 600px;
  line-height: 600px;
}