/* ==========================================================================
   Page hero — navy band with the breadcrumb and page title; an orange shape on the
   right whose left edge is an arc of a large circle (as on the live site). Text and
   rating stay within the white content box's width (layout.css .content-box); the
   orange runs to the screen edge.
   ========================================================================== */
.page-hero {
  --hero-panel: 38vw;         /* orange width, measured from the screen's right edge */
  --hero-radius: 420px;       /* radius of the circle that draws the curved edge */
  /* Right column (rating): from the start of the orange to the content box's right edge. */
  --hero-side: calc(var(--hero-panel) - (50vw - min(43vw, var(--content-width) / 2)));

  position: relative;
  background: var(--c-blue-dark);
  border-top: 1px solid var(--c-white); /* separates the hero from the quick-links strip, as live */
  color: var(--c-white);
  overflow: hidden;
}
@media (min-width: 1900px) { .page-hero { --hero-panel: 720px; } }

/* Orange shape: a circle (left part, its leftmost point 40% down) plus a rectangle to the screen edge. */
.page-hero__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: var(--hero-panel);
}
.page-hero__panel::before,
.page-hero__panel::after {
  content: "";
  position: absolute;
  background: var(--c-orange);
}
.page-hero__panel::before {
  left: 0;
  top: calc(40% - var(--hero-radius));
  width: calc(var(--hero-radius) * 2);
  height: calc(var(--hero-radius) * 2);
  border-radius: 50%;
}
.page-hero__panel::after { left: var(--hero-radius); right: 0; top: 0; bottom: 0; }

.page-hero__inner {
  position: relative;
  width: var(--content-share);
  max-width: var(--content-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--hero-side);
  column-gap: 60px;
  align-items: center;
  min-height: 250px;
  padding-block: 40px;
}
.page-hero__text { grid-column: 1; }
.page-hero__rating { grid-column: 2; display: flex; justify-content: center; }
/* Trustpilot's box: 290px wide so it draws only the summary; its 116px held from the start so nothing jumps. */
.page-hero__trustbox { display: flex; align-items: center; justify-content: center; width: 290px; max-width: 100%; min-height: 116px; }

.page-hero__crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; line-height: 20px; }
.page-hero__crumbs li { display: inline-flex; align-items: center; }
.page-hero__crumbs li + li::before { content: "›"; margin: 0 8px; }
.page-hero__crumbs a { color: var(--c-white); }
.page-hero__crumbs a:hover { text-decoration: underline; }
.page-hero__crumbs [aria-current] { font-weight: var(--fw-bold); }

.page-hero__title {
  margin-top: 12px;
  font-size: clamp(28px, 2.45vw, 46px);
  line-height: 1.05;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.01em;
}

/* A post's publish date and tags, under its title (as live shows them). */
.page-hero__date { margin: 12px 0 0; font-weight: var(--fw-bold); }
.page-hero__lead { margin: 12px 0 0; font-weight: var(--fw-medium); }
.page-hero__button {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  border-radius: var(--radius);
  background: var(--c-orange);
  color: var(--c-white);
  font-weight: var(--fw-bold);
  text-decoration: none;
  text-transform: uppercase;
}
.page-hero__button:hover { background: var(--c-white); color: var(--c-orange); }
.page-hero__labels { margin: 6px 0 0; font-size: 14px; font-weight: var(--fw-semibold); text-transform: uppercase; }

/* Phones and small tablets: only the breadcrumb and title stay, centred on the navy band. */
@media (max-width: 900px) {
  .page-hero__panel, .page-hero__rating { display: none; }
  .page-hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 32px; text-align: center; }
  .page-hero__crumbs ol { justify-content: center; }
}

/* ==========================================================================
   Trustpilot rating — drawn like Trustpilot's own widget: word, five green
   squares (partial fill for half stars), review count, wordmark with the star.
   ========================================================================== */
.tp-rating {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #191919;
  text-align: center;
  line-height: 1.2;
}
.tp-rating__word { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.tp-rating__stars { display: flex; justify-content: center; gap: 2px; margin: 8px 0 7px; }
.tp-rating__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: linear-gradient(90deg, #00b67a var(--fill), #dcdce6 var(--fill));
  color: var(--c-white);
  font-size: 22px;
}
.tp-rating__count { font-size: 13px; }
.tp-rating__count a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tp-rating__brand {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 9px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.tp-rating__logo-star { color: #00b67a; font-size: 26px; margin-top: -3px; }
