/**
 * EG Footer — Style One "footer-top-area-wrap" newsletter section.
 *
 * This section is ported from the EG Footer *Style Five* markup and injected into
 * *Style One* by the child theme (see inc/footer/templates/parts/footer_one.php).
 *
 * Everything here is scoped to the child-only class `.footer-top-area-wrap--style-one`
 * so it CANNOT affect the original Style Five section
 * (`.footer-section.home5-footer-section .footer-top-area-wrap`) or any other
 * footer instance. The layout / responsive behaviour mirrors Style Five; only the
 * container appearance (glass), typography (Hubot Sans + Archivo) and colours are
 * customised for Style One.
 *
 * @package Softro_Child
 */

/* -------------------------------------------------------------------------
 * Self-hosted webfonts (SIL OFL 1.1 — see ../fonts/LICENSE.md).
 * Single variable file per family; not loaded anywhere else in the theme,
 * so there are no duplicate @font-face declarations or duplicate font files.
 * ---------------------------------------------------------------------- */
@font-face {
	font-family: "Hubot Sans";
	src: url("../fonts/hubot-sans-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* -------------------------------------------------------------------------
 * Outer container — glass appearance (scoped to Style One only).
 * Padding / radius / spacing mirror the Style Five card; the solid dark
 * background is replaced by a translucent, blurred "glass" panel.
 * ---------------------------------------------------------------------- */
.footer-top-area-wrap--style-one {
	position: relative;
	z-index: 2;
	margin-top: 100px;                 /* Style Five used padding-top:100px on the wrap. */
	padding: 40px 50px;                /* Style Five card padding (was on .footer-top-area). */
	border-radius: 20px;
	/* Glass: translucent + backdrop blur (must stay visibly translucent). */
	background: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(16px); /* Safari support. */
	backdrop-filter: blur(16px);
	border: 1px solid #C8F8A9;
	box-shadow: 0 4px 10px rgba(255, 255, 255, 0.25); /* white, slightly transparent. */
	/* Everything in this section defaults to Archivo. */
	font-family: "Archivo", sans-serif;
}

@media (max-width: 1399px) {
	.footer-top-area-wrap--style-one {
		padding: 35px 40px;
	}
}

@media (max-width: 1199px) {
	.footer-top-area-wrap--style-one {
		padding: 30px 35px;
	}
}

@media (max-width: 576px) {
	.footer-top-area-wrap--style-one {
		margin-top: 60px;
		padding: 40px 18px;
		border-radius: 15px;
	}
}

/* Flex row: left copy / right form. Mirrors Style Five .footer-top-area. */
.footer-top-area-wrap--style-one .footer-top-area {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
}

@media (max-width: 991px) {
	.footer-top-area-wrap--style-one .footer-top-area {
		flex-wrap: wrap; /* Clean stacking on tablet / mobile. */
	}
}

/* -------------------------------------------------------------------------
 * Left content — title (Hubot Sans) + subtitle (Archivo).
 * ---------------------------------------------------------------------- */
.footer-top-area-wrap--style-one .footer-top-left-content h2 {
	font-family: "Hubot Sans", sans-serif;
	color: #ffffff;
	font-size: 35px;
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: 10px;
	overflow-wrap: break-word;         /* Title must not overflow on small screens. */
	word-break: break-word;
}

@media (max-width: 1399px) {
	.footer-top-area-wrap--style-one .footer-top-left-content h2 {
		font-size: 33px;
	}
}

@media (max-width: 767px) {
	.footer-top-area-wrap--style-one .footer-top-left-content h2 {
		font-size: 31px;
		margin-bottom: 8px;
	}
}

@media (max-width: 576px) {
	.footer-top-area-wrap--style-one .footer-top-left-content h2 {
		font-size: 28px;
	}
}

.footer-top-area-wrap--style-one .footer-top-left-content p {
	font-family: "Archivo", sans-serif;
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------
 * Right content — email form + supporting points. Mirrors Style Five.
 * ---------------------------------------------------------------------- */
.footer-top-area-wrap--style-one .footer-top-right-content .email-area {
	min-width: 507px;
	width: 100%;
	margin: 0 auto 15px;
}

@media (max-width: 1199px) {
	.footer-top-area-wrap--style-one .footer-top-right-content .email-area {
		min-width: 450px;
	}
}

@media (max-width: 576px) {
	.footer-top-area-wrap--style-one .footer-top-right-content .email-area {
		min-width: unset;
	}
}

.footer-top-area-wrap--style-one .footer-top-right-content .email-area .form-inner {
	display: flex;
	align-items: center;
	background-color: #ffffff;
	padding: 1px 5px;
	border-radius: 10px;
}

@media (max-width: 576px) {
	.footer-top-area-wrap--style-one .footer-top-right-content .email-area .form-inner {
		flex-wrap: wrap;
		background-color: transparent;
		gap: 15px;
	}
}

.footer-top-area-wrap--style-one .footer-top-right-content .email-area .form-inner input {
	font-family: "Archivo", sans-serif;
	background-color: transparent;
	border: 0;
	color: #111111;
	height: 58px;
	width: 100%;
	min-width: 0;                      /* Allow the field to shrink instead of overflowing. */
}

@media (max-width: 576px) {
	.footer-top-area-wrap--style-one .footer-top-right-content .email-area .form-inner input {
		background-color: #ffffff;
		height: 52px;
		border-radius: 10px;
		padding: 0 15px;
	}
}

.footer-top-area-wrap--style-one .footer-top-right-content .email-area .form-inner input::-moz-placeholder {
	font-family: "Archivo", sans-serif;
	color: #545454;
}

.footer-top-area-wrap--style-one .footer-top-right-content .email-area .form-inner input::placeholder {
	font-family: "Archivo", sans-serif;
	color: #545454;
}

/* Button: keeps the parent .primary-btn1 base + two-span hover animation; only
   padding and font-family are adjusted (matching Style Five's override). */
.footer-top-area-wrap--style-one .footer-top-right-content .email-area .form-inner .primary-btn1 {
	font-family: "Archivo", sans-serif;
	padding: 14px 53px;
}

@media (max-width: 576px) {
	.footer-top-area-wrap--style-one .footer-top-right-content .email-area .form-inner .primary-btn1 {
		padding: 14px 22px;
	}
}

/* Supporting points list. */
.footer-top-area-wrap--style-one .footer-top-right-content ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;                   /* Points wrap without breaking the layout. */
	gap: 30px;
}

@media (max-width: 576px) {
	.footer-top-area-wrap--style-one .footer-top-right-content ul {
		gap: 11px;
	}
}

.footer-top-area-wrap--style-one .footer-top-right-content ul li {
	font-family: "Archivo", sans-serif;
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	display: flex;
	align-items: center;
	gap: 5px;
}

@media (max-width: 576px) {
	.footer-top-area-wrap--style-one .footer-top-right-content ul li {
		gap: 2px;
		font-size: 13px;
	}
}

/* Checkmark colour only — do not alter SVG sizing / rendering. */
.footer-top-area-wrap--style-one .footer-top-right-content ul li svg {
	fill: #C8F8A9;
	flex-shrink: 0;
}
