/* Cointelegraph-inspired News & Markets block */
.ct-news {
  --ct-ink: #0d0d0d;
  --ct-muted: #6b6b6b;
  --ct-line: #e8e8e8;
  --ct-tag: #e4572e;
  --ct-live: #e91e63;
  --ct-bg: #ffffff;
  margin: 0 0 2.75rem;
  color: var(--ct-ink);
  font-family: "DM Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

.ct-news__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.6fr) minmax(220px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
  background: var(--ct-bg);
  border: 1px solid var(--ct-line);
  border-radius: 8px;
  padding: 1.25rem 1.15rem 1.35rem;
}

.ct-news__heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
}

.ct-news__heading h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ct-news__heading--lg h2 {
  font-size: 1.45rem;
}

.ct-news__live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: var(--ct-live);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.ct-news__window {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--ct-muted);
  font-weight: 600;
}

.ct-news__list,
.ct-news__most-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-news__item {
  border-top: 1px solid var(--ct-line);
}

.ct-news__item:first-child {
  border-top: 0;
}

.ct-news__item-link {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: inherit;
}

.ct-news__item-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  justify-content: space-between;
}

.ct-news__item-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}

.ct-news__item-ago {
  flex: 0 0 auto;
  color: var(--ct-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.ct-news__tag {
  display: inline-block;
  margin-top: 0.3rem;
  color: var(--ct-tag);
  font-size: 0.72rem;
  font-weight: 700;
}

.ct-news__more {
  display: inline-flex;
  margin-top: 0.85rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ct-ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.ct-news__more:hover {
  background: #f6f6f6;
}

.ct-news__hero {
  margin-bottom: 1rem;
}

.ct-news__hero-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  min-height: 280px;
  background: #1a1a1a;
}

.ct-news__hero-img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.ct-news__hero-img--fallback {
  height: 320px;
  background:
    linear-gradient(135deg, #2b2b2b, #111),
    radial-gradient(circle at 30% 20%, rgba(228, 87, 46, 0.35), transparent 50%);
}

.ct-news__item-link,
.ct-news__hero-link,
.ct-news__press-card,
.ct-news__card-link,
.ct-news__most-link,
.ct-news__more {
  position: relative;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
}

.ct-news__hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.25rem 1.15rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82) 55%);
  pointer-events: none;
}

.ct-news__hero-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  font-weight: 800;
}

.ct-news__hero-excerpt {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ct-news__hero-meta {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.ct-news__press {
  margin: 0.4rem 0 1.1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--ct-line);
  border-bottom: 1px solid var(--ct-line);
}

.ct-news__press-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  color: var(--ct-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.ct-news__sponsored-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ct-news__press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.ct-news__press-card {
  text-decoration: none;
  color: inherit;
}

.ct-news__press-title {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.ct-news__press-by {
  display: block;
  color: var(--ct-muted);
  font-size: 0.75rem;
}

.ct-news__secondary {
  display: grid;
  gap: 0.85rem;
}

.ct-news__card-link {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  align-items: start;
}

.ct-news__card-img {
  width: 140px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}

.ct-news__card-title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.ct-news__card-meta {
  margin: 0;
  color: var(--ct-muted);
  font-size: 0.78rem;
}

.ct-news__most-item {
  padding: 0.75rem 0;
  border-top: 1px solid var(--ct-line);
}

.ct-news__most-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.ct-news__most-link {
  display: grid;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}

.ct-news__most-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  background: #eee;
}

.ct-news__most-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}

.ct-news__most-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
}

.ct-news__author {
  color: var(--ct-muted);
  font-size: 0.78rem;
}

.ct-news__attribution {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--ct-muted);
}

.ct-news__attribution a {
  color: inherit;
}

.ct-news__empty {
  padding: 1rem;
  border: 1px dashed var(--ct-line);
  background: #fff;
}

/* —— Homepage Bitcoin / Ethereum columns (CT style) —— */
.ct-coins {
  --ct-ink: #0d0d0d;
  --ct-muted: #6b6b6b;
  --ct-line: #e8e8e8;
  --ct-accent: #c9971a;
  margin: 0 0 2.75rem;
  color: var(--ct-ink);
  font-family: "DM Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

.ct-coins__section-head {
  margin: 0 0 1.15rem;
}

.ct-coins__section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.ct-coins__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.ct-coins__head {
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--ct-ink);
}

.ct-coins__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ct-coins__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-coins__item {
  border-bottom: 1px solid var(--ct-line);
}

.ct-coins__link {
  display: block;
  padding: 0.9rem 0;
  text-decoration: none;
  color: inherit;
}

.ct-coins__item--lead .ct-coins__link {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.ct-coins__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef2f6;
}

.ct-coins__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ct-coins__item--lead .ct-coins__link:hover .ct-coins__thumb img {
  transform: scale(1.04);
}

.ct-coins__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ct-coins__item-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.ct-coins__item--lead .ct-coins__item-title {
  font-size: 1.2rem;
  line-height: 1.3;
}

.ct-coins__link:hover .ct-coins__item-title {
  color: var(--ct-accent);
}

.ct-coins__meta {
  font-size: 0.8rem;
  color: var(--ct-muted);
}

.ct-coins__more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ct-ink);
  text-decoration: none;
}

.ct-coins__more:hover {
  color: var(--ct-accent);
}

.ct-coins__empty {
  padding: 1rem;
  border: 1px dashed var(--ct-line);
  background: #fff;
  color: var(--ct-muted);
}

@media (max-width: 720px) {
  .ct-coins__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* —— Latest cryptocurrency news (TechFlow flash) —— */
.ct-flash {
  --ct-ink: #0d0d0d;
  --ct-muted: #6b6b6b;
  --ct-line: #e8e8e8;
  --ct-accent: #c9971a;
  --ct-blue: #2563eb;
  margin: 0 0 2.75rem;
  padding-top: 0.35rem;
  color: var(--ct-ink);
  font-family: "DM Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

.ct-flash__head {
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--ct-ink);
}

.ct-flash__head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.ct-flash__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-flash__item {
  border-bottom: 1px solid var(--ct-line);
}

.ct-flash__link {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.85rem 1rem;
  padding: 0.95rem 0;
  text-decoration: none;
  color: inherit;
}

.ct-flash__time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ct-muted);
  padding-top: 0.15rem;
  white-space: nowrap;
}

.ct-flash__body {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.ct-flash__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.ct-flash__link:hover .ct-flash__title {
  color: var(--ct-blue);
}

.ct-flash__excerpt {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ct-muted);
}

.ct-flash__more {
  display: inline-block;
  margin-top: 0.95rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ct-ink);
  text-decoration: none;
}

.ct-flash__more:hover {
  color: var(--ct-accent);
}

.ct-flash__empty {
  padding: 1rem;
  border: 1px dashed var(--ct-line);
  background: #fff;
  color: var(--ct-muted);
}

@media (max-width: 640px) {
  .ct-flash__link {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 980px) {
  .ct-news__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ct-news__col--most {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .ct-news__grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .ct-news__press-grid {
    grid-template-columns: 1fr;
  }

  .ct-news__card-link {
    grid-template-columns: 100px 1fr;
  }

  .ct-news__card-img {
    width: 100px;
    height: 72px;
  }

  .ct-news__hero-img,
  .ct-news__hero-img--fallback {
    height: 220px;
  }
}
