/* Webinar registration page (newsroom/webinar-registration). Form fields use the shared .form-section styles in main.css. */
.webinar-banner { background: #0a1628; }
.webinar-banner img { display: block; width: 100%; max-width: none; max-height: none; height: auto; }
.webinar-banner h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.webinar-intro .webinar-lead { font-size: 1.5rem; line-height: 1.4; color: #00aeef; }

/* Key facts: both sessions, then language, platform and format. */
.webinar-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; padding: 1.5rem 2rem; margin-bottom: 3rem; background: #e4f5fd; border-left: 4px solid #00aeef; }
.webinar-schedule { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; }
.webinar-schedule p, .webinar-format p { line-height: 1.5; }
.webinar-schedule .text-small { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.webinar-format { flex: 1; min-width: 16rem; }

/* Details on the left, form on the right. */
/* The form spans both rows and is taller than the intro; "auto 1fr" gives the extra height to the
   details row, otherwise the browser splits it across both rows and opens a gap under the intro. */
.webinar-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: auto 1fr; grid-template-areas: "intro form" "details form"; column-gap: 3rem; align-items: start; }
.webinar-intro { grid-area: intro; }
.webinar-details { grid-area: details; }
.webinar-form-col { grid-area: form; box-shadow: 0 0 12px rgba(0, 0, 0, 0.1); }
.webinar-intro p, .webinar-details p, .webinar-details li { font-size: 1.125rem; line-height: 1.6; }
.webinar-intro p, .webinar-details > p { margin-bottom: 1.25rem; }
.webinar-details h4 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.webinar-details a { color: #00aeef; }
.webinar-details a:hover { text-decoration: underline; }
.webinar-list li { padding-left: 1.5rem; margin-bottom: .5rem; position: relative; }
.webinar-list li:before { content: ''; width: .5rem; height: .5rem; background: #00aeef; position: absolute; top: .6em; left: .25rem; }
.webinar-speakers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.webinar-speakers li { padding: 1rem 1.25rem; border: 1px solid #E6E6E6; border-top: 3px solid #00aeef; }
.webinar-speakers li p { font-size: 1rem; line-height: 1.4; }

.webinar-form-head { padding: 0 1rem 1rem; text-align: center; }
.webinar-form-head h3 { margin-bottom: .25rem; }
#webinar-form { position: relative; }
/* Section headings underlined across the field width; the shared .title-deco beam sits outside the
   heading box and ran past the card edge on narrow layouts. */
#webinar-form .webinar-section-title { margin: 2.5rem 0 1.75rem; padding-bottom: .5rem; text-align: center; font-size: 1.75rem; line-height: 1.3; border-bottom: 2px solid #00aeef; }
#webinar-form .webinar-section-title small { font-size: inherit; line-height: inherit; }
#webinar-form .choice-group { margin-bottom: 1.75rem; }
#webinar-form .choice-group > .label-title { padding: 0 0 .75rem; }
#webinar-form .choice { margin-bottom: .875rem; }
/* Radio and checkbox markers (shared styles in main.css) centred on the first line of text, with
   wrapped lines indented under the text rather than the marker. */
#webinar-form .choice label { display: block; margin: 0; padding: 0 0 0 28px; font-size: 1.125rem; line-height: 1.6; }
#webinar-form .choice label:before { width: 18px; height: 18px; box-sizing: border-box; top: calc(.8em - 9px); }
#webinar-form .choice input[type=radio] + label:after { width: 8px; height: 8px; left: 5px; top: calc(.8em - 4px); }
#webinar-form .choice input[type=checkbox] + label:before { border-radius: 2px; }
/* Consent checkboxes: set apart from the PoC question by a rule as wide as the fields, one size
   smaller than the questions above. The policy links under the consent are smaller and grey. */
#webinar-form .webinar-consent .choice:first-child { padding-top: 1.5rem; border-top: 1px solid #e3e4e6; }
#webinar-form .webinar-consent .choice + .choice { margin-top: 1.125rem; }
#webinar-form .webinar-consent .choice label { font-size: 1rem; line-height: 1.55; }
#webinar-form .webinar-consent .choice label:before { top: calc(.775em - 9px); }
#webinar-form .webinar-consent-note { display: block; margin-top: .375rem; font-size: .875rem; line-height: 1.6; color: #808285; }
#webinar-form .webinar-consent-note a { display: block; position: relative; padding-left: 1em; color: #00aeef; text-decoration: none; }
#webinar-form .webinar-consent-note a:before { content: '\2022'; position: absolute; left: .2em; color: #808285; }
#webinar-form .webinar-consent-note a:hover, #webinar-form .webinar-consent-note a:focus { text-decoration: underline; }
#webinar-form .choice input[type=checkbox] + label:after { width: 10px; height: 10px; left: 4px; top: calc(.8em - 5px); }

/* Single column: intro, then the form, then the remaining details. */
@media screen and (max-width: 1023px) {
  .webinar-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "intro" "form" "details"; }
  .webinar-form-col { margin-bottom: 1rem; }
}
@media screen and (max-width: 480px) {
  .webinar-facts { padding: 1.25rem; }
  .webinar-speakers { grid-template-columns: minmax(0, 1fr); }
}
