/*
 * "Review us on Google" card — markup from googleReviewCard() in scripts/postprocess.mjs, which links
 * this file only on pages that contain a card. Matches the site's Divi cards (white, 10px radius,
 * soft navy shadow), Montserrat, navy headings and the brand-blue uppercase buttons.
 */
.skul-greview {
  --gr-navy: #0f1134;
  --gr-blue: #217bbd;
  --gr-blue-dark: #19639a;
  --gr-link: #1f72b0;
  --gr-text: #555;
  box-sizing: border-box;
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 32px 28px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 80px -10px rgba(44, 54, 92, 0.2);
  font-family: Montserrat, Helvetica, Arial, Lucida, sans-serif;
  text-align: center;
}
.skul-greview *,
.skul-greview *::before,
.skul-greview *::after { box-sizing: border-box; }

.skul-greview .skul-greview__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.skul-greview .skul-greview__g { display: block; width: 40px; height: 40px; flex: none; }
.skul-greview .skul-greview__stars { display: block; width: 100px; height: 20px; flex: none; fill: #fbbc04; }

.skul-greview .skul-greview__title {
  margin: 18px 0 8px;
  padding: 0;
  font-family: inherit;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--gr-navy);
  text-wrap: balance;
}
.skul-greview .skul-greview__text {
  margin: 0 auto;
  padding: 0;
  max-width: 40ch;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gr-text);
  text-wrap: pretty;
}

.skul-greview .skul-greview__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.skul-greview .skul-greview__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  border-radius: 4px;
  background-color: var(--gr-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.skul-greview .skul-greview__btn:hover {
  background-color: var(--gr-blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(15, 17, 52, 0.45);
}
.skul-greview .skul-greview__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  color: var(--gr-link);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.skul-greview .skul-greview__link::after {
  content: "\2192"; /* → */
  content: "\2192" / "";
  text-decoration: none;
  transition: transform 0.2s ease;
}
.skul-greview .skul-greview__link:hover { color: var(--gr-navy); }
.skul-greview .skul-greview__link:hover::after { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .skul-greview .skul-greview__btn,
  .skul-greview .skul-greview__link::after { transition: none; }
  .skul-greview .skul-greview__btn:hover { transform: none; }
}

/* ── compact: one row (logo · copy · actions) inside page content ── */
.skul-greview--compact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: none;
  padding: 26px 32px;
  text-align: left;
}
.skul-greview--compact .skul-greview__brand { flex-direction: column; gap: 8px; }
.skul-greview--compact .skul-greview__stars { width: 70px; height: 14px; }
.skul-greview--compact .skul-greview__title { margin: 0 0 4px; font-size: 20px; }
.skul-greview--compact .skul-greview__text { margin: 0; max-width: none; }
.skul-greview--compact .skul-greview__actions { margin-top: 0; align-items: flex-end; gap: 8px; }

@media (max-width: 980px) {
  .skul-greview--compact { grid-template-columns: auto 1fr; }
  .skul-greview--compact .skul-greview__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 12px 24px; }
}
@media (max-width: 600px) {
  .skul-greview { padding: 28px 20px 24px; }
  .skul-greview .skul-greview__title { font-size: 20px; }
  .skul-greview .skul-greview__btn { width: 100%; padding: 14px 12px; letter-spacing: 0.5px; }
  .skul-greview--compact { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .skul-greview--compact .skul-greview__brand { flex-direction: row; justify-content: center; gap: 12px; }
  .skul-greview--compact .skul-greview__actions { flex-direction: column; align-items: center; }
}

/* layout hooks in the Divi grid */
.skul-greview-module { margin-bottom: 0 !important; }
.et_pb_row.skul-greview-row { max-width: none; padding: 8px 0 96px; } /* same 80% width as the card row above */
@media (max-width: 767px) { .et_pb_row.skul-greview-row { padding-bottom: 80px; } }

.skul-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
