/* The Great Game of Kashrut theme, on top of Bootstrap 5. Loaded after the shared store.css and
   Web.Common site.css, so it re-themes their variables. Colours are the WordPress site's brand
   (Elementor globals): red-orange, blue and yellow on white; headings in a rounded comic face. */

:root {
  --gg-red: #c74022;
  --gg-red-dark: #a3331a;
  --gg-blue: #4281ce;
  --gg-blue-dark: #2f67ad;
  --gg-blue-soft: #eaf2fc;
  --gg-yellow: #fbe408;
  --gg-yellow-soft: #fff9cc;
  --gg-text: #3e3e3e;
  --gg-ink: #1d2b45;
  --gg-cream: #fffdf3;
  --gg-heading: "Fredoka", "Trebuchet MS", sans-serif;
  --gg-comic: "Bangers", "Impact", sans-serif;

  /* Shared page and store themes */
  --j613-accent: var(--gg-blue);
  --st-accent: var(--gg-blue);
  --st-accent-dark: var(--gg-blue-dark);
  --st-accent-soft: var(--gg-blue-soft);
  --st-text: var(--gg-text);

  /* Bootstrap */
  --bs-body-font-family: "Lato", "Segoe UI", sans-serif;
  --bs-body-color: var(--gg-text);
  --bs-link-color: var(--gg-blue-dark);
  --bs-link-color-rgb: 47, 103, 173;
  --bs-link-hover-color: var(--gg-red);
  --bs-link-hover-color-rgb: 199, 64, 34;
}

body {
  font-size: 1.0625rem;
  line-height: 1.7;
  background: #fff;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--gg-heading);
  font-weight: 600;
  color: var(--gg-ink);
  line-height: 1.25;
}

a {
  text-underline-offset: 2px;
}

/* Routes' FocusOnNavigate moves focus to the page heading for screen readers; no visible ring for that */
h1:focus {
  outline: none;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  font-family: var(--gg-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
}

.btn-sm {
  padding: 0.3rem 0.9rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
}

.btn-primary {
  --bs-btn-bg: var(--gg-red);
  --bs-btn-border-color: var(--gg-red);
  --bs-btn-hover-bg: var(--gg-red-dark);
  --bs-btn-hover-border-color: var(--gg-red-dark);
  --bs-btn-active-bg: var(--gg-red-dark);
  --bs-btn-active-border-color: var(--gg-red-dark);
  --bs-btn-disabled-bg: var(--gg-red);
  --bs-btn-disabled-border-color: var(--gg-red);
  --bs-btn-focus-shadow-rgb: 199, 64, 34;
}

.btn-outline-primary {
  --bs-btn-color: var(--gg-blue-dark);
  --bs-btn-border-color: var(--gg-blue);
  --bs-btn-hover-bg: var(--gg-blue);
  --bs-btn-hover-border-color: var(--gg-blue);
  --bs-btn-active-bg: var(--gg-blue-dark);
  --bs-btn-active-border-color: var(--gg-blue-dark);
}

.btn-yellow {
  --bs-btn-color: var(--gg-ink);
  --bs-btn-bg: var(--gg-yellow);
  --bs-btn-border-color: var(--gg-yellow);
  --bs-btn-hover-color: var(--gg-ink);
  --bs-btn-hover-bg: #e8d200;
  --bs-btn-hover-border-color: #e8d200;
  --bs-btn-active-color: var(--gg-ink);
  --bs-btn-active-bg: #e8d200;
}

/* ── Forms (shared account and donation pages) ─────── */
.form-control,
.form-select {
  border-radius: 8px;
  min-height: 46px;
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gg-blue);
  box-shadow: 0 0 0 0.2rem rgba(66, 129, 206, 0.2);
}

/* ── Sections ──────────────────────────────────────── */
.ftco-section,
.gg-section {
  padding: 5rem 0;
  position: relative;
}

.ftco-section-compact {
  padding: 3rem 0;
  position: relative;
}

.gg-section-tight {
  padding: 3rem 0;
}

.gg-soft {
  background: var(--gg-blue-soft);
}

.gg-cream {
  background: var(--gg-cream);
}

.gg-dark {
  background: var(--gg-ink);
  color: rgba(255, 255, 255, 0.88);
}

.gg-dark h2,
.gg-dark h3 {
  color: #fff;
}

.gg-eyebrow {
  display: inline-block;
  font-family: var(--gg-comic);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--gg-red);
  margin-bottom: 0.5rem;
}

.gg-comic {
  font-family: var(--gg-comic);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.gg-lead {
  font-size: 1.2rem;
}

.gg-narrow {
  max-width: 820px;
  margin-inline: auto;
}

/* ── Page banner (PageHero, StorePageHeader) ───────── */
.hero-wrap {
  position: relative;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-wrap .overlay {
  position: absolute;
  inset: 0;
  opacity: 0.92;
  background: linear-gradient(120deg, var(--gg-blue-dark) 0%, var(--gg-blue) 70%, #5b98e0 100%);
}

.hero-wrap .container {
  position: relative;
}

.hero-wrap.hero-wrap-2,
.hero-wrap.hero-wrap-2 .slider-text {
  min-height: 240px;
}

.hero-wrap.hero-wrap-2 .slider-text {
  display: flex;
  padding: 2.5rem 0;
}

.hero-wrap.hero-wrap-2 .slider-text .bread {
  color: #fff;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.hero-wrap.hero-wrap-2 .slider-text .breadcrumbs {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.hero-wrap.hero-wrap-2 .slider-text .breadcrumbs a,
.hero-wrap.hero-wrap-2 .slider-text .breadcrumbs span {
  color: #fff;
}

.hero-wrap.hero-wrap-2 .slider-text .breadcrumbs a {
  text-decoration: none;
  border-bottom: 2px solid var(--gg-yellow);
}

.hero-wrap.hero-wrap-2 .slider-text .breadcrumbs a:hover,
.hero-wrap.hero-wrap-2 .slider-text .breadcrumbs a:focus {
  color: var(--gg-yellow);
}

/* ── Home hero ─────────────────────────────────────── */
.gg-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(251, 228, 8, 0.35) 0, rgba(251, 228, 8, 0) 40%),
    linear-gradient(160deg, #fff 0%, var(--gg-blue-soft) 100%);
  padding: 4rem 0 3rem;
}

.gg-hero-title {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--gg-blue);
  line-height: 1;
  text-shadow: 3px 3px 0 var(--gg-yellow), 4px 4px 0 rgba(0, 0, 0, 0.18);
}

.gg-hero-title span {
  display: block;
}

.gg-hero-shamir {
  position: absolute;
  width: min(32vw, 300px);
  left: -2rem;
  top: 1rem;
  opacity: 0.18;
  pointer-events: none;
}

.gg-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.gg-audience li {
  background: #fff;
  border: 2px solid var(--gg-blue);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gg-blue-dark);
}

.gg-cover {
  max-height: 460px;
  filter: drop-shadow(0 18px 24px rgba(16, 24, 40, 0.25));
}

/* ── Cards and blocks ──────────────────────────────── */
.gg-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.05);
}

.gg-card h3 {
  font-size: 1.3rem;
}

.gg-card-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.gg-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--gg-yellow);
  color: var(--gg-ink);
  font-family: var(--gg-heading);
  font-weight: 700;
  flex-shrink: 0;
}

.gg-checklist {
  list-style: none;
  padding: 0;
  columns: 2 260px;
  column-gap: 2rem;
}

.gg-checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.6rem;
  break-inside: avoid;
}

.gg-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--gg-blue)
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3e%3c/svg%3e")
    center / 0.85rem no-repeat;
}

.gg-quote {
  position: relative;
  font-size: 1.2rem;
  font-style: italic;
  border-left: 5px solid var(--gg-yellow);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 0 0 1rem;
}

.gg-quote-by {
  font-family: var(--gg-heading);
  font-weight: 600;
  color: var(--gg-red);
}

.gg-testimonial {
  display: flex;
  flex-direction: column;
}

.gg-testimonial blockquote {
  flex: 1;
  margin: 0 0 1rem;
}

.gg-testimonial blockquote::before {
  content: "“";
  display: block;
  font-family: var(--gg-heading);
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--gg-yellow);
}

.gg-figure {
  margin: 0;
}

.gg-figure img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12);
}

.gg-figure figcaption {
  font-size: 0.95rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.gg-zoom {
  display: block;
  position: relative;
}

.gg-zoom::after {
  content: "⊕";
  position: absolute;
  right: 0.75rem;
  bottom: 0.5rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gg-red);
  background: #fff;
  border-radius: 50%;
  padding: 0.1rem 0.3rem;
}

.gg-tip {
  background: var(--gg-yellow-soft);
  border: 2px dashed var(--gg-yellow);
  border-radius: 16px;
  padding: 1.5rem;
}

.gg-tips {
  counter-reset: tip;
  list-style: none;
  padding: 0;
}

.gg-tips > li {
  counter-increment: tip;
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 1.25rem;
}

.gg-tips > li::before {
  content: counter(tip);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--gg-blue);
  color: #fff;
  font-family: var(--gg-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gg-tips h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.gg-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.gg-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.gg-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--gg-ink);
  border-radius: 12px;
}

.gg-faq .accordion-button {
  font-family: var(--gg-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gg-ink);
}

.gg-faq .accordion-button:not(.collapsed) {
  background: var(--gg-blue-soft);
  color: var(--gg-blue-dark);
}

.gg-faq .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(66, 129, 206, 0.25);
}

.gg-steps img {
  max-height: 420px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12);
}

.gg-cta {
  background: linear-gradient(120deg, var(--gg-red) 0%, #e2603f 100%);
  color: #fff;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
}

.gg-cta h2 {
  color: #fff;
}

/* Header account menu (J613.Store.UI AccountMenu) */
.gg-header .st-account-menu .btn {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  /* Logo, sign in, cart and the menu button must fit a phone; registration is linked from sign in */
  .gg-header .st-account-register {
    display: none;
  }
}

.parsha-article {
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .ftco-section,
  .gg-section {
    padding: 3.5rem 0;
  }

  .gg-hero {
    padding-top: 2.5rem;
  }
}
