/*
Theme Name: Accgo Home Hub
Description: A child theme that adds a review, rankings, deals, and trust hub to the JustNews homepage.
Author: Accgo
Version: 1.0.0
Template: justnews
Text Domain: accgo-home-hub
*/

.accgo-home-hub {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 32px auto 24px;
  padding: 0 24px;
  color: #172033;
  font-family: inherit;
}

.accgo-home-hub *, .accgo-home-hub *::before, .accgo-home-hub *::after { box-sizing: border-box; }

.accgo-home-hub__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
  border-radius: 16px;
  background: linear-gradient(125deg, #102d4e 0%, #1d5a90 100%);
  color: #fff;
}

.accgo-home-hub__eyebrow { margin: 0 0 7px; color: #a9dafd; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.accgo-home-hub h1 { max-width: 690px; margin: 0; font-size: clamp(25px, 3.2vw, 40px); line-height: 1.12; color: #fff; }
.accgo-home-hub__intro p:last-child { max-width: 650px; margin: 12px 0 0; color: #e5f2fc; font-size: 16px; line-height: 1.55; }
.accgo-home-hub__cta { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 19px; border-radius: 8px; background: #fff; color: #13548a !important; font-size: 14px; font-weight: 800; text-decoration: none !important; white-space: nowrap; }
.accgo-home-hub__cta:hover { background: #eaf6ff; }

.accgo-home-hub__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.accgo-home-hub__card { display: block; min-height: 156px; padding: 22px; border: 1px solid #e4ebf1; border-radius: 12px; background: #fff; color: #172033 !important; text-decoration: none !important; box-shadow: 0 4px 14px rgba(20, 43, 67, .05); transition: transform .18s ease, box-shadow .18s ease; }
.accgo-home-hub__card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 43, 67, .12); }
.accgo-home-hub__kicker { display: block; margin-bottom: 10px; color: #277bb8; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.accgo-home-hub__card strong { display: block; font-size: 20px; line-height: 1.2; }
.accgo-home-hub__card span:last-child { display: block; margin-top: 10px; color: #5b6778; font-size: 14px; line-height: 1.45; }

.accgo-home-hub__trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; padding: 19px 22px; border-radius: 12px; background: #f2f7fb; }
.accgo-home-hub__trust-item { position: relative; padding-left: 20px; color: #405064; font-size: 13px; line-height: 1.45; }
.accgo-home-hub__trust-item::before { position: absolute; top: 2px; left: 0; color: #2582bf; content: '✓'; font-weight: 900; }
.accgo-home-hub__trust-item strong { color: #1a304a; }

@media (max-width: 767px) {
  .accgo-home-hub { margin: 20px auto 12px; padding: 0 16px; }
  .accgo-home-hub__intro { display: block; padding: 24px 20px; border-radius: 12px; }
  .accgo-home-hub__intro p:last-child { font-size: 14px; }
  .accgo-home-hub__cta { width: 100%; margin-top: 18px; }
  .accgo-home-hub__grid, .accgo-home-hub__trust { grid-template-columns: 1fr; gap: 10px; }
  .accgo-home-hub__card { min-height: 0; padding: 18px; }
  .accgo-home-hub__card strong { font-size: 18px; }
  .accgo-home-hub__trust { padding: 16px; }
}
