/* Safeshield Google Reviews
   Used by /google-reviews.js. Relies on the site's CSS variables
   (--navy, --yellow, --yellow-light, --dark, --text, --text-mid, --text-light, --white, --off-white). */

.gr {
    --gr-star: var(--yellow, #FFA300);
    --gr-star-empty: #e2e8f0;
    --gr-border: rgba(10, 22, 40, 0.09);
    --gr-card: var(--white, #ffffff);
    --gr-soft: var(--off-white, #FAFAF8);
    --gr-radius: 18px;
    font-family: 'Outfit', sans-serif;
    color: var(--text, #1a2a3a);
    text-align: left;
}
.gr h2, .gr h3 { margin: 0; }
.gr p { margin: 0; }

/* ---- Buttons & chips ---- */
.gr-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border-radius: 8px; text-decoration: none;
    font-family: inherit; font-weight: 800; font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; line-height: 1;
    border: 2px solid transparent; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.gr-btn svg { width: 18px; height: 18px; }
.gr-btn-primary { background: var(--yellow, #FFA300); color: var(--dark, #0a1628); }
.gr-btn-primary:hover { background: var(--yellow-light, #FFB733); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 163, 0, 0.3); }
.gr-btn-outline { background: transparent; color: var(--navy, #004B89); border-color: rgba(0, 75, 137, 0.35); }
.gr-btn-outline:hover { border-color: var(--navy, #004B89); background: rgba(0, 75, 137, 0.05); }
.gr-btn-lg { padding: 18px 36px; font-size: 16px; }
.gr-btn-block { width: 100%; padding: 17px 24px; font-size: 14px; }
.gr-link { background: none; border: none; padding: 0; color: var(--navy, #004B89); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }

.gr-chip {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(10, 22, 40, 0.14); background: var(--gr-card); color: var(--text, #1a2a3a);
    font-family: inherit; font-weight: 600; font-size: 13px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    min-height: 40px;
}
.gr-chip em { font-style: normal; font-weight: 700; color: var(--text-light, #718096); font-size: 12px; }
.gr-chip:hover { border-color: var(--navy, #004B89); }
.gr-chip.is-active { background: var(--dark, #0a1628); color: #fff; border-color: var(--dark, #0a1628); }
.gr-chip.is-active em { color: rgba(255, 255, 255, 0.65); }
.gr-chip-dashed { border-style: dashed; border-color: rgba(0, 75, 137, 0.4); color: var(--navy, #004B89); font-size: 12px; padding: 7px 13px; min-height: 34px; }
.gr-chip-person { padding: 6px 16px 6px 6px; }
.gr-chip-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #004B89 0%, #0a1628 100%); color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22); }
.gr-chip.is-active .gr-chip-avatar { background: var(--yellow, #FFA300); color: var(--dark, #0a1628); }
.gr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gr-eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--navy, #004B89); }

/* ---- Stars ---- */
.gr-stars { position: relative; display: inline-block; line-height: 1; font-size: 22px; letter-spacing: 2px; color: var(--gr-star-empty); white-space: nowrap; }
.gr-stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--gr-star); }
.gr-stars-sm { font-size: 15px; letter-spacing: 1.5px; }
.gr-stars-md { font-size: 18px; letter-spacing: 2px; }
.gr-stars-lg { font-size: 30px; letter-spacing: 3px; }
.gr-stars-xs { font-size: 12px; letter-spacing: 1px; }
.gr-stars-dark { --gr-star-empty: rgba(255, 255, 255, 0.2); }

/* ---- Rating badge ---- */
.gr-badge { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gr-badge-logo svg { width: 26px; height: 26px; display: block; }
.gr-badge-num { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 900; line-height: 1; color: var(--dark, #0a1628); }
.gr-badge-count { font-size: 14px; font-weight: 600; color: var(--text-mid, #4a5568); }

/* ---- What clients praise ---- */
.gr-praise { display: flex; flex-direction: column; gap: 32px; margin-bottom: 40px; }
.gr-praise-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.gr-praise-copy { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.gr-praise-copy h2 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; color: var(--dark, #0a1628); line-height: 1.05; }
.gr-praise-copy h2 span { color: var(--navy, #004B89); }
.gr-praise-summary { font-size: 17px; line-height: 1.65; color: var(--text-mid, #4a5568); }
.gr-write-card { flex-shrink: 0; width: 300px; background: var(--dark, #0a1628); border-radius: var(--gr-radius); padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.gr-write-card .gr-eyebrow { color: var(--yellow, #FFA300); }
.gr-write-card strong { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: #fff; line-height: 1.2; }
.gr-write-sub { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.65); }
.gr-write-card .gr-btn { margin-top: 6px; }

.gr-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gr-theme {
    text-align: left; font-family: inherit; color: inherit; cursor: pointer;
    background: var(--gr-soft); border: 2px solid transparent; border-radius: var(--gr-radius); padding: 26px;
    display: flex; flex-direction: column; gap: 12px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.gr-theme:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(10, 22, 40, 0.08); }
.gr-theme.is-active { border-color: var(--navy, #004B89); background: #fff; }
.gr-theme-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gr-theme-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy, #004B89); color: #fff; }
.gr-theme-icon svg { width: 22px; height: 22px; }
.gr-theme-icon-savings { background: var(--yellow, #FFA300); color: var(--dark, #0a1628); }
.gr-theme-icon-claims { background: var(--dark, #0a1628); }
.gr-theme-icon-care { background: #155e75; }
.gr-theme-icon-proactive { background: #2b6cb0; }
.gr-theme-count { font-size: 12px; font-weight: 700; color: var(--navy, #004B89); background: rgba(0, 75, 137, 0.08); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.gr-theme h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: var(--dark, #0a1628); line-height: 1.2; }
.gr-theme > p { font-size: 14px; line-height: 1.6; color: var(--text-mid, #4a5568); }
.gr-theme-quote { border-top: 1px solid var(--gr-border); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.gr-theme-quote p { font-size: 14px; line-height: 1.55; color: var(--text, #1a2a3a); font-style: italic; }
.gr-theme-quote span { font-size: 12px; color: var(--text-light, #718096); }

/* ---- Featured review ---- */
.gr-feature { position: relative; background: var(--dark, #0a1628); border-radius: 22px; padding: 48px 56px 40px; margin-bottom: 40px; overflow: hidden; }
.gr-feature-mark { position: absolute; top: 8px; left: 40px; font-family: 'Playfair Display', serif; font-size: 200px; line-height: 1; color: var(--yellow, #FFA300); opacity: 0.22; pointer-events: none; }
.gr-feature-slides { position: relative; min-height: 200px; }
.gr-feature-slide { display: none; flex-direction: column; gap: 24px; margin: 0; }
.gr-feature-slide.is-active { display: flex; animation: grFade 0.5s ease; }
@keyframes grFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gr-card-new { animation: grFade 0.45s ease both; }
.gr-feature blockquote { margin: 0; font-family: 'Playfair Display', serif; font-size: clamp(19px, 2vw, 25px); line-height: 1.45; font-weight: 700; color: #fff; max-width: 980px; }
.gr-feature figcaption { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gr-feature .gr-author { color: #fff; }
.gr-feature .gr-date { color: rgba(255, 255, 255, 0.6); }
.gr-feature figcaption .gr-stars { margin-left: auto; }
.gr-dots { display: flex; gap: 6px; margin-top: 26px; }
.gr-dot { width: 12px; height: 4px; border-radius: 2px; border: none; background: rgba(255, 255, 255, 0.25); cursor: pointer; padding: 0; transition: width 0.25s, background 0.25s; }
.gr-dot.is-active { width: 28px; background: var(--yellow, #FFA300); }

/* ---- Team ---- */
.gr-team { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 40px; }
.gr-team-label { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--navy, #004B89); }
.gr-team-chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- Search & star strip ---- */
.gr-search { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(10, 22, 40, 0.14); background: var(--gr-card); border-radius: 999px; padding: 0 14px; min-height: 40px; color: var(--text-light, #718096); flex: 1 1 220px; max-width: 320px; margin-left: auto; }
.gr-search svg { width: 16px; height: 16px; flex-shrink: 0; }
.gr-search input { border: none; background: none; outline: none; font-family: inherit; font-size: 14px; color: var(--text, #1a2a3a); width: 100%; min-width: 0; }
.gr-search:focus-within { border-color: var(--navy, #004B89); }
.gr-star-strip { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--gr-border); }
.gr-star-strip-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.gr-star-strip-head h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: var(--dark, #0a1628); }
.gr-star-strip-head p { font-size: 14px; color: var(--text-light, #718096); }
.gr-star-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gr-star-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--gr-card); border: 1px solid var(--gr-border); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 13px; }
.gr-star-pill-name { font-weight: 600; color: var(--dark, #0a1628); }
.gr-star-pill-date { color: var(--text-light, #718096); font-size: 12px; }
.gr-chip-photo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22); }

/* ---- Reviews page hero ---- */
.page-hero-reviews { padding-bottom: 72px; }
.page-hero-reviews .page-hero-sub { max-width: 640px; }
.hero-stats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 36px auto 28px; max-width: 900px; }
.hero-stats > div { flex: 1 1 150px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 900; color: #fff; line-height: 1; }
.hero-stats > div > span { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.hero-proof { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.hero-avatars { display: flex; align-items: center; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.page-hero-reviews .btn-outline { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: #fff; padding: 18px 36px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 16px; border: 2px solid rgba(255,255,255,0.3); transition: all 0.25s; }
.page-hero-reviews .btn-outline:hover { border-color: var(--yellow, #FFA300); color: var(--yellow, #FFA300); }
@media (max-width: 640px) {
    .page-hero-reviews h1 { font-size: clamp(28px, 8vw, 36px); overflow-wrap: anywhere; }
    .page-hero-reviews .page-hero-sub { overflow-wrap: anywhere; }
    .hero-stats > div { flex: 0 0 calc(50% - 6px); min-width: 0; padding: 14px 10px; }
    .hero-stats strong { font-size: 26px; }
    .hero-actions a { width: 100%; justify-content: center; }
    .gr-search { max-width: none; margin-left: 0; }
}

/* ---- Wall ---- */
.gr-wall-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.gr-wall-head h2 { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 900; color: var(--dark, #0a1628); }
.gr-source-note { max-width: 66ch; margin: -6px 0 2px; color: #526071; font-size: 14px; line-height: 1.55; }
.gr-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.gr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.gr-card {
    background: var(--gr-card); border: 1px solid var(--gr-border); border-radius: var(--gr-radius);
    padding: 24px 24px 20px; display: flex; flex-direction: column; position: relative;
    box-shadow: 0 4px 16px rgba(10, 22, 40, 0.04);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.gr-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(10, 22, 40, 0.1); border-color: rgba(0, 75, 137, 0.18); }
.gr-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gr-card-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gr-avatar {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 16px; letter-spacing: 0.5px;
    color: #fff; background: var(--navy, #004B89); overflow: hidden; text-decoration: none;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22), 0 2px 6px rgba(10, 22, 40, 0.18);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}
.gr-avatar-lg { width: 50px; height: 50px; font-size: 18px; }
.gr-avatar-sm { width: 30px; height: 30px; font-size: 11px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22); }
.gr-avatar-hero { width: 46px; height: 46px; font-size: 16px; border: 3px solid var(--dark, #0a1628); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); margin-left: -12px; }
.gr-avatar-hero:first-child { margin-left: 0; }
.gr-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gr-author { font-weight: 700; font-size: 15px; color: var(--dark, #0a1628); text-decoration: none; }
.gr-author:hover { color: var(--navy, #004B89); }
.gr-date { font-size: 13px; color: var(--text-light, #718096); }
.gr-card-badge { margin-left: auto; width: 22px; height: 22px; flex-shrink: 0; }
.gr-card-badge svg { width: 22px; height: 22px; display: block; }
.gr-card .gr-stars { margin-bottom: 10px; }
.gr-text { font-size: 15px; line-height: 1.7; color: var(--text, #1a2a3a); }
.gr-text.gr-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.gr-mark { background: rgba(255, 163, 0, 0.28); color: inherit; padding: 0 3px; border-radius: 3px; }
.gr-more { align-self: flex-start; margin-top: 8px; background: none; border: none; padding: 0; color: var(--navy, #004B89); font-family: inherit; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; }
.gr-more:hover { text-decoration: underline; }
.gr-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.gr-tag { font-size: 11px; font-weight: 700; color: var(--navy, #004B89); background: rgba(0, 75, 137, 0.08); padding: 4px 10px; border-radius: 999px; }
.gr-card-foot { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--gr-border); font-size: 12px; color: var(--text-light, #718096); }
.gr-card-foot svg { width: 14px; height: 14px; }
.gr-card-foot a { color: inherit; text-decoration: none; }
.gr-card-foot a:hover { color: var(--navy, #004B89); text-decoration: underline; }
.gr-footer { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.gr-empty { text-align: center; color: var(--text-mid, #4a5568); padding: 40px 20px; border: 2px dashed #d1d5db; border-radius: var(--gr-radius); }

/* ---- Leave mode ---- */
.gr-leave { text-align: center; background: var(--gr-card); border: 1px solid var(--gr-border); border-radius: var(--gr-radius); padding: 44px 32px; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(10, 22, 40, 0.06); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gr-glogo { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--gr-border); display: inline-flex; align-items: center; justify-content: center; }
.gr-glogo svg { width: 36px; height: 36px; }
.gr-leave h3 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; color: var(--navy, #004B89); }
.gr-leave p { color: var(--text-mid, #4a5568); font-size: 16px; line-height: 1.7; max-width: 520px; }
.gr-leave-score { color: var(--text-mid, #4a5568); font-size: 14px; margin-bottom: 10px; }
.gr-leave-score strong { color: var(--dark, #0a1628); font-size: 16px; }
.gr-leave-steps { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 16px; }
.gr-leave-steps span { display: inline-flex; align-items: center; gap: 10px; color: var(--text-mid, #4a5568); font-size: 14px; }
.gr-leave-steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--navy, #004B89); color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }

/* ---- Compact mode ---- */
.gr-compact-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.gr-compact-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Review card (modal) ---- */
body.gr-modal-open { overflow: hidden; }
.gr-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.gr-modal[hidden] { display: none; }
.gr-modal-backdrop { position: fixed; inset: 0; background: rgba(10, 22, 40, 0.6); backdrop-filter: blur(2px); }
.gr-modal-card { position: relative; width: 100%; max-width: 600px; background: #fff; border-radius: 22px; padding: 36px 40px 32px; box-shadow: 0 30px 80px rgba(10, 22, 40, 0.35); animation: grRise 0.3s ease; margin: auto 0; }
@keyframes grRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.gr-modal-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--gr-soft); color: var(--dark, #0a1628); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gr-modal-close svg { width: 18px; height: 18px; }
.gr-step { display: flex; flex-direction: column; gap: 20px; }
.gr-step[hidden] { display: none; }
.gr-step h3 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; color: var(--dark, #0a1628); line-height: 1.1; margin-top: -10px; }
.gr-field { display: flex; flex-direction: column; gap: 10px; }
.gr-label { font-size: 13px; font-weight: 700; color: var(--text, #1a2a3a); }
.gr-label small { font-weight: 500; color: var(--text-light, #718096); }
.gr-pick { display: flex; align-items: center; gap: 6px; }
.gr-pick-star { border: none; background: none; padding: 0 2px; cursor: pointer; font-size: 40px; line-height: 1; color: var(--gr-star-empty); transition: color 0.15s, transform 0.15s; }
.gr-pick-star.is-on { color: var(--gr-star); }
.gr-pick-star:hover { transform: scale(1.1); }
.gr-pick-label { margin-left: 8px; font-size: 14px; font-weight: 700; color: var(--dark, #0a1628); }
.gr-form textarea { font-family: inherit; font-size: 15px; line-height: 1.55; padding: 14px 16px; border: 1.5px solid rgba(10, 22, 40, 0.15); border-radius: 12px; resize: vertical; color: var(--text, #1a2a3a); background: var(--gr-soft); width: 100%; box-sizing: border-box; }
.gr-form textarea:focus { outline: none; border-color: var(--navy, #004B89); background: #fff; }
.gr-form-error { color: #b42318; font-size: 13px; font-weight: 600; }
.gr-fine { font-size: 12px; line-height: 1.55; color: var(--text-light, #718096); text-align: center; }
.gr-step2-copy { font-size: 15px; line-height: 1.6; color: var(--text-mid, #4a5568); }
.gr-copied { background: var(--gr-soft); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.gr-copied:empty { display: none; }
.gr-copied-label { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy, #004B89); }
.gr-copied blockquote { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text, #1a2a3a); user-select: all; }
.gr-check { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow, #FFA300); color: var(--dark, #0a1628); display: inline-flex; align-items: center; justify-content: center; }
.gr-check svg { width: 28px; height: 28px; }

/* ---- Loading ---- */
.gr-skeleton { animation: grPulse 1.4s ease-in-out infinite; }
.gr-sk-block { height: 220px; border-radius: var(--gr-radius); background: #eef2f7; margin-bottom: 32px; }
.gr-skeleton .gr-sk-line { height: 12px; border-radius: 6px; background: #eef2f7; margin: 10px 0; }
.gr-skeleton .gr-sk-line.short { width: 45%; }
.gr-skeleton .gr-avatar { background: #eef2f7; }
@keyframes grPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

/* ---- Owner reply & star-only cards ---- */
.gr-reply { margin-top: 14px; padding: 12px 14px; background: var(--gr-soft); border-radius: 12px; border-left: 3px solid var(--yellow, #FFA300); }
.gr-reply-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--navy, #004B89); margin-bottom: 6px; }
.gr-reply-label em { font-style: normal; font-weight: 600; color: var(--text-light, #718096); letter-spacing: 0; text-transform: none; margin-left: 6px; }
.gr-reply p { font-size: 14px; line-height: 1.6; color: var(--text-mid, #4a5568); }
.gr-card-star { background: var(--gr-soft); box-shadow: none; }
.gr-text-muted { color: var(--text-light, #718096); font-size: 14px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .gr-grid, .gr-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gr-praise-head { flex-direction: column; }
    .gr-write-card { width: 100%; flex-direction: row; align-items: center; flex-wrap: wrap; }
    .gr-write-card .gr-eyebrow { width: 100%; }
    .gr-write-card strong { flex: 1 1 200px; }
    .gr-write-card .gr-btn { margin: 0; }
}
@media (max-width: 640px) {
    .gr-grid { grid-template-columns: 1fr; gap: 16px; }
    /* Theme cards swipe sideways on phones instead of stacking into a long column. */
    .gr-themes { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .gr-themes::-webkit-scrollbar { display: none; }
    .gr-theme { flex: 0 0 84%; scroll-snap-align: start; }
    .gr-theme:hover { transform: none; }
    .gr-feature { padding: 36px 24px 28px; }
    .gr-feature-mark { font-size: 140px; left: 16px; }
    .gr-modal { padding: 0; align-items: flex-end; }
    .gr-modal-card { border-radius: 22px 22px 0 0; padding: 28px 22px 24px; margin: auto 0 0; }
    .gr-pick-star { font-size: 34px; }
    .gr-compact-actions, .gr-compact-actions .gr-btn { width: 100%; }
    .gr-footer .gr-btn { width: 100%; }
    .gr-write-card { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
    .gr-card, .gr-theme, .gr-btn { transition: none; }
    .gr-feature-slide.is-active, .gr-modal-card { animation: none; }
}
