/* Resources, support, webinars and legal pages. Prefix .rs- */

/* Breadcrumb line in navy heroes (support, privacy policy) */
.is-style-hero-grid p.rs-crumb { font-size: 13px; line-height: normal; color: #8FA6C6; margin: 0 0 14px; }

/* --- Support: external search form (core/html; core/search cannot target another site) --- */
.rs-search { display: flex; gap: 12px; max-width: 900px; }
.rs-search-box {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px;
  background: #F4F6F8; border: 1px solid #DFE6F0; border-radius: 12px; cursor: text;
}
.rs-search-box:focus-within { border-color: #00A9ED; box-shadow: 0 0 0 3px rgba(0, 169, 237, 0.15); }
.rs-search-box svg { flex: none; }
.rs-search-box input {
  flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent;
  font-family: 'Poppins', Helvetica, Arial, sans-serif; font-size: 15px; color: #0D2844;
}
.rs-search-box input:focus { border: 0 !important; box-shadow: none !important; }
.rs-search-box input::placeholder { color: #8194B0; opacity: 1; }
.rs-search-btn {
  flex: none; height: 56px; padding: 0 32px; border: 0; border-radius: 12px; cursor: pointer;
  background: #FF8500; color: #0D2844; font: 700 15px 'Poppins', Helvetica, Arial, sans-serif; letter-spacing: 0.04em;
}
.rs-search-btn:hover { background: #E67700; }
@media (max-width: 560px) { .rs-search-btn { padding: 0 20px; } }

/* Dark "Submit a Ticket" card keeps its orange call-to-action pill */
a.gt-doc.rs-ticket.is-style-link-dark .gt-doc-more {
  display: inline-flex; align-items: center; align-self: flex-start; height: 40px; padding: 0 20px; margin-top: 6px;
  background: #FF8500; color: #0D2844; font-size: 14px; border-radius: 10px;
}

/* --- Webinars landing: event cards --- */
.rs-event-card { background: #fff; border: 1px solid #E6ECF5; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.rs-event-card > *, .rs-event-media > * { margin: 0; }
.rs-event-media { position: relative; }
.rs-event-media > .img-ph { margin: 0; }
p.rs-live-pill {
  position: absolute; top: 16px; left: 16px; margin: 0; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px;
  background: #0D2844; color: #fff; border-radius: 999px;
  font: 500 12px/1 'Poppins', sans-serif; letter-spacing: 0.1em;
}
p.rs-live-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #FF8500; }
.rs-event-body { flex: 1; padding: 28px 30px 30px; }
.rs-event-body > * { margin: 0; }
.rs-event-body > .wp-block-buttons { margin-top: auto; }
.rs-text-card > * { margin: 0; }
.rs-text-card p:not(.is-style-eyebrow):not(.rs-link) { margin-bottom: 6px; }
.rs-link a { font-weight: 700; }

/* --- Webinar detail pages --- */
.rs-back { margin: 0 0 20px; line-height: normal; }
.rs-back a { color: inherit; font-weight: 600; }
.rs-back a:hover { color: #016699; }
.rs-banner { margin: 0; }
.rs-banner img { display: block; width: 100%; height: auto; border-radius: 18px; }
.rs-banner-ph { border-radius: 18px; }
.rs-detail { max-width: none; }
.rs-detail > * { max-width: 680px; }
.rs-detail > .wp-block-group { max-width: none; }
.rs-detail > .wp-block-heading { max-width: none; }
p.rs-tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 14px; margin: 0; border-radius: 999px;
  background: #00A9ED; color: #0D2844; font: 500 11.5px/1 'Poppins', sans-serif; letter-spacing: 0.1em;
}
p.rs-tag.rs-tag-orange { background: #FF8500; }
.rs-detail p.is-style-eyebrow, .rs-detail p.is-style-eyebrow-live { margin: 0; }
p.rs-callout {
  margin: 0 0 28px; padding: 22px 0; border-top: 1px solid #E6ECF5; border-bottom: 1px solid #E6ECF5;
  font: 600 24px/1.2 'Poppins', sans-serif; letter-spacing: -0.01em; color: #0D2844;
}
.rs-speaker { padding: 20px 0; margin: 0 0 28px; border-top: 1px solid #E6ECF5; border-bottom: 1px solid #E6ECF5; max-width: 680px; }
.rs-speaker > .wp-block-image { flex: none; margin: 0; }
.rs-speaker .wp-block-group > * { margin: 0; line-height: normal; }
ol.rs-steps { list-style: none; counter-reset: rs-step; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
ol.rs-steps > li { counter-increment: rs-step; display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; line-height: 1.55; padding: 0; margin: 0; }
ol.rs-steps > li::before {
  content: counter(rs-step); flex: none; width: 28px; height: 28px; border-radius: 50%; background: #E8F2FC; color: #016699;
  display: flex; align-items: center; justify-content: center; font: 600 13px/1 'Poppins', sans-serif; margin-right: 0;
}
.rs-detail ol.rs-steps > li { padding-top: 0; }
.rs-split.wp-block-columns { gap: 32px calc(64px * var(--sg)); }
.rs-sticky { position: sticky; top: 110px; border-radius: 18px; }
@media (max-width: 960px) { .rs-sticky { position: static; } }

/* --- Privacy policy --- */
.rs-pp { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: calc(48px * var(--sg)); align-items: start; }
.rs-pp > * { margin: 0; }
.rs-pp-body { font-size: 15px; line-height: 1.7; color: #2A3850; max-width: 780px; }
.rs-pp-body > * { margin-block-start: 0; }
.rs-pp-body h2.wp-block-heading { font-size: 22px; line-height: 1.7; letter-spacing: normal; margin: 0 0 12px; scroll-margin-top: 16px; }
.rs-pp-body p { font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.rs-pp-body ul.wp-block-list { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; padding-left: 22px; }
.rs-pp-body li { margin: 0; font-size: 15px; line-height: 1.7; }
.rs-pp-body p.rs-lead-in { margin-bottom: 10px; }
.rs-pp-body p.rs-gap-s { margin-bottom: 14px; }
.rs-pp-body p.rs-gap-l.rs-gap-l { margin-bottom: 34px; }
.rs-pp-body :is(p, ul.wp-block-list):has(+ h2), .rs-pp-body :is(p, ul.wp-block-list):has(+ .rs-contact) { margin-bottom: 30px; }
.rs-pp-body p:last-child { margin-bottom: 0; }
.rs-pp-body .rs-contact { padding: 26px 30px; }
.rs-pp-body .rs-contact h2.wp-block-heading { font-size: 20px; line-height: 1.7; margin: 0 0 10px; }
.rs-pp-body .rs-contact p { margin: 0; }
.rs-pp-body .rs-contact a { font-weight: 600; }
