/* ================================================
   RED POINT — NEWSLETTER  "הצטרפו לרשימת התפוצה הדיסקרטית"  (Figma 109:751)
   ================================================
   section  padding 32/60 · on #0C0C0C
   card     1320x400 · 24px radius · photo + black/20 wash
   panel    486px · black/40 · 32px radius · 24px padding · 32px gap
   heading  Futurism 50 · centred in a 407px box
   form     email field (right) + white pill submit (left)
   ================================================ */

.rp-news {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 32px 60px;
	box-sizing: border-box;
	background-color: #0C0C0C;
}

.rp-news__card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 400px;
	border-radius: 24px;
	overflow: hidden;
}

/* Ancestor in the selector (0,2,0) so it beats Elementor's `.elementor img{height:auto}`.

   The Figma frames this photo precisely (109:751): the fill is scaled to 220% of the card
   (1320x880 for the 1600x1067 source, which preserves aspect) and offset to top:-43.4%, so
   the visible 400px window runs from 19.7% to 65.2% down the scaled image.

   object-fit:cover scales the source to exactly 1320x880 here, and object-position-Y then
   picks that window: with 480px of vertical overflow, a top at 19.7% (173.6px) works out to
   173.6 / 4.8 = 36%. NOT 42% — that was the centre of the band, a different number, and it
   sat the photo 28px too low (more chin, less blindfold). */
.rp-news__card .rp-news__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 36%;
	z-index: 0;
}

.rp-news__wash {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-color: rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------------
   PANEL  (109:752) — 486px, black/40
   ------------------------------------------------ */
.rp-news__panel {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 486px;
	max-width: 100%;
	padding: 24px;
	border-radius: 32px;
	background-color: rgba(0, 0, 0, 0.4);
	box-sizing: border-box;
}

.rp-news__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rp-news__title {
	/* 407px box (109:755) — that width is what breaks the line after "לרשימת". */
	width: 407px;
	max-width: 100%;
	margin: 0 auto;
	font-family: 'Futurism', sans-serif;
	font-size: 50px;
	line-height: 1;
	color: #FFFFFF;
	text-align: center;
}

.rp-news__title-lead {
	font-weight: 300;
}

.rp-news__subtitle {
	margin: 0;
	font-family: 'Google Sans', sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.8);
	text-align: center;
}

/* ------------------------------------------------
   FORM  — field (right) + button (left)
   ------------------------------------------------ */
.rp-news__form {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
}

/* Scoped under .rp-news__form (0,2,0) throughout. Hello Elementor's reset.css sets
   `input[type="email"] { border-radius: 3px }` and buttons likewise at (0,1,1), which
   outranks a bare .rp-news__input (0,1,0) — the field rendered a 3px radius instead of the
   design's pill. The ancestor selector wins cleanly. Same trap as the carousel dots. */
.rp-news__form .rp-news__input {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 8px 12px;
	border: 0;
	border-radius: 32px;
	background-color: rgba(255, 255, 255, 0.2);
	font-family: 'Google Sans', sans-serif;
	font-size: 16px;
	color: #FFFFFF;
	text-align: right;
	box-sizing: border-box;
}

.rp-news__form .rp-news__input::placeholder {
	color: #E9E9E9;
}

.rp-news__form .rp-news__input:focus {
	outline: 2px solid rgba(255, 255, 255, 0.5);
	outline-offset: 1px;
}

.rp-news__form .rp-news__submit {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 146px;
	height: 40px;
	padding: 0 24px;
	border: 0;
	border-radius: 100px;
	background-color: #FFFFFF;
	font-family: 'Google Sans', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	color: #0C0C0C;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.15s ease;
}

.rp-news__form .rp-news__submit:hover {
	background-color: #E6E6E6;
}

/* Confirmation state — the button turns the design's green with a tick. */
.rp-news__form .rp-news__submit.is-done {
	background-color: #36E07A;
}

/* ------------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 1024px) {
	.rp-news {
		padding: 24px;
	}
	/* !important — Elementor's per-page CSS pins this at 50px with no media query. See the
	   note in redpoint-brand-story.css. */
	.rp-news__title {
		font-size: 36px !important;
	}
}

@media (max-width: 480px) {
	.rp-news__form {
		flex-direction: column;
	}
	.rp-news__input,
	.rp-news__submit {
		width: 100%;
	}
}

/* ------------------------------------------------
   CONTACT BUTTONS  (Oct 2026: replaces the email form)
   WhatsApp = the white pill the form button used; phone = outlined pill beside it.
   Scoped under .rp-news__actions (0,2,0) to beat the theme's link and button resets.
   ------------------------------------------------ */
.rp-news__actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	width: 100%;
}

.rp-news__actions .rp-news__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 146px;
	height: 40px;
	padding: 0 24px;
	border-radius: 100px;
	font-family: 'Google Sans', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.rp-news__actions .rp-news__submit {
	border: 0;
	background-color: #FFFFFF;
	color: #0C0C0C;
}

.rp-news__actions .rp-news__submit:hover {
	background-color: #E6E6E6;
	color: #0C0C0C;
}

.rp-news__actions .rp-news__btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.4);
	background-color: transparent;
	color: #FFFFFF;
}

.rp-news__actions .rp-news__btn--ghost:hover {
	background-color: rgba(255, 255, 255, 0.15);
	color: #FFFFFF;
}

.rp-news__actions .rp-news__btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.7);
	outline-offset: 2px;
}
