/* The NRI Pulse campaign styles. Loaded only on /pulse/ pages. */
.pulse-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.pulse-hero { position: relative; overflow: hidden; }
.pulse-hero__img { width: 100%; height: clamp(320px, 42vw, 480px); object-fit: cover; display: block; }
.pulse-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,35,65,0.12) 0%, rgba(11,35,65,0.92) 100%); }
.pulse-hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 0 36px; }
.pulse-hero__content .wrap { max-width: 760px; margin: 0; }
.pulse-hero .h1 { color: var(--white); margin-bottom: 12px; }
.pulse-hero p { color: #F0E8DC; font-size: 18px; line-height: 1.5; margin: 0; max-width: 620px; }
.pulse-hero .pill--navy { background: var(--gold); color: var(--white); border-color: var(--gold); letter-spacing: 0.08em; }
.pulse-valuecard { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.pulse-valuecard__img { width: 100%; height: 160px; object-fit: cover; object-position: center 20%; display: block; }
.pulse-valuecard__img--mid { object-position: center 35%; }
.pulse-valuecard__body { padding: 20px; }
.pulse-valuecard__body h3 { margin: 0 0 8px; }
.pulse-feature-photo { width: 100%; height: auto; border-radius: var(--radius-card); display: block; box-shadow: 0 2px 10px rgba(11,35,65,0.08); }
.pulse-cta-wrap { text-align: center; }
.pulse-cta-wrap p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.pulse-terms { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; }
.pulse-terms__item { font-size: 13.5px; color: var(--muted); line-height: 1.65; padding-top: 4px; border-top: 1px solid var(--border); }
.pulse-terms__item:first-child { padding-top: 0; border-top: 0; }
.pulse-terms__item strong { color: var(--navy); }
.pulse-terms__links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; padding-top: 6px; }
.pulse-pill { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; box-sizing: border-box; padding: 12px 16px; border: 1.5px solid var(--input); border-radius: 10px; background: var(--white); font-size: 15px; font-weight: 500; color: var(--navy); text-align: left; cursor: pointer; }
.pulse-pill[aria-pressed="true"] { border-color: var(--navy); background: var(--ivory); font-weight: 700; }
.pulse-pill__dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--navy); position: relative; }
.pulse-pill[aria-pressed="true"] .pulse-pill__dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--navy); }
.pulse-pill__label { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
.pulse-pills { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pulse-details summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 15px; list-style: none; }
.pulse-details summary::-webkit-details-marker { display: none; }
.pulse-details summary::before { content: '+ '; color: var(--gold-dark); font-weight: 800; }
.pulse-details[open] summary::before { content: '\2212 '; }
.pulse-comment { border: 1.5px solid var(--input); border-radius: 10px; padding: 16px; background: var(--ivory); min-height: 110px; font: inherit; font-size: 15px; color: var(--navy); width: 100%; box-sizing: border-box; resize: vertical; }
.pulse-comment::placeholder { color: #A39C8C; }
.pulse-hint { font-size: 14px; color: var(--muted); margin: -4px 0 0; }
.pulse-share-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 32px; margin-bottom: 24px; }
.pulse-share-card h2 { margin: 0 0 14px; }
.pulse-share-quote { border-left: 3px solid var(--gold); padding: 12px 18px; background: var(--ivory); border-radius: 0 10px 10px 0; font-size: 15px; color: var(--text-2); font-style: italic; margin: 0 0 16px; }
.pulse-share-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pulse-share-actions .small { margin: 0; }
.pulse-follow-row { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 22px; }
.pulse-follow-row a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); font-size: 13px; font-weight: 700; }
.pulse-follow-row svg { color: var(--navy); }
.pulse-friend-row { border-top: 1px solid var(--border); padding-top: 18px; display: flex; align-items: center; gap: 14px; }
.pulse-friend-row svg { flex: none; color: var(--navy); }
.pulse-friend-row strong { display: block; font-size: 14px; color: var(--navy); }
.pulse-friend-row span { font-size: 13px; color: var(--muted); }
.pulse-tag { display: inline-block; background: var(--ivory); border: 1.5px solid var(--pill-border); color: var(--navy); font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 8px; }
.pulse-google-box { margin-top: 20px; display: none; flex-direction: column; gap: 12px; }
.pulse-google-box.is-open { display: flex; }
.pulse-google-box textarea { font: inherit; }
.pulse-google-note { font-size: 13px; color: var(--muted); margin: 0; }
.pulse-google-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pulse-google-unavailable { font-size: 13px; color: var(--muted); margin-top: 10px; }
/* Hero without photo */
.pulse-hero--plain { background: var(--navy); }
.pulse-hero--plain .pulse-hero__content { position: static; padding: 56px 0 48px; }
/* QR code card next to the survey button */
.pulse-cta-row { justify-content: center; }
.pulse-qr-card { display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 16px 20px; }
.pulse-qr-card img { width: 100px; height: 100px; }
.pulse-qr-card span { font-size: 12px; color: var(--muted); text-align: center; max-width: 140px; }
/* Shorter mother-and-baby photo on phones and tablets, where it sits full width */
@media (max-width: 899px) { .pulse-feature-photo { height: 340px; object-fit: cover; object-position: 50% 45%; } }
@media (min-width: 600px) and (max-width: 899px) { .pulse-feature-photo { max-width: 420px; height: 420px; margin: 0 auto; } }

/* Thank-you page: live survey results */
.pulse-bars { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pulse-bar__top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.pulse-bar__track { height: 10px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.pulse-bar__fill { height: 100%; border-radius: 999px; background: var(--navy); }
.pulse-bars .is-mine .pulse-bar__fill { background: var(--gold); }
.pulse-bars .is-mine .pulse-bar__top span { font-weight: 700; }
.pulse-quotes { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
