/* ── Remove Storefront's extra top spacing on this page ─────── */
.page-writeareview #page {
	padding-top: 68px !important;
}

/* ── Hero ───────────────────────────────────────────────────── */
.war-hero {
	background: linear-gradient(160deg, #00CEC9 0%, #009e9a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 20px;
	text-align: center;
}
.war-hero-inner {
	width: 100%;
	max-width: 680px;
}
.war-hero h1 {
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 .6em;
	line-height: 1.2;
	letter-spacing: -.01em;
}
.war-hero__sub {
	font-size: 1.1rem;
	color: rgba(255,255,255,.85);
	margin: 0 0 2rem;
	line-height: 1.6;
}

/* ── Search bar ─────────────────────────────────────────────── */
.war-search-bar {
	position: relative;
	max-width: 600px;
	margin: 0 auto;
}
.war-search-inner {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid rgba(255,255,255,.4);
	border-radius: var(--radius);
	padding: 5px 5px 5px 20px;
	box-shadow: 0 4px 24px rgba(0,0,0,.15);
	transition: box-shadow .2s;
}
.war-search-inner:focus-within {
	box-shadow: 0 6px 32px rgba(0,0,0,.2);
}
.war-search-input {
	flex: 1;
	-webkit-appearance: none;
	appearance: none;
	border: none !important;
	box-shadow: none !important;
	background: none !important;
	outline: none !important;
	font-size: .95rem;
	color: #242424;
	padding: 0 12px !important;
	min-width: 0;
	height: 42px;
}
.war-search-input::placeholder { color: #aaa; }
.war-search-btn {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 50% !important;
	background: #00CEC9 !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: background .2s;
	color: #fff;
	text-shadow: none !important;
}
.war-search-btn:hover { background: #00b3b0 !important; }

/* ── Autocomplete dropdown ───────────────────────────────────── */
.war-search-bar .algolia-autocomplete { flex: 1 !important; min-width: 0; }
.war-search-bar .aa-dropdown-menu {
	left: 0 !important;
	right: 0 !important;
	min-width: 0 !important;
	width: 100% !important;
	text-align: left;
}
.war-search-bar .aa-dropdown-menu * { text-align: left; }

/* ── Sections below hero ─────────────────────────────────────── */
.war-section {
	background: #fff;
	padding: 3rem 20px;
}
.war-section + .war-section {
	border-top: 1px solid #ebebeb;
}
.war-section__inner {
	max-width: 1280px;
	margin: 0 auto;
}
.war-section__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #242424;
	margin: 0 0 1.5rem;
}

/* ── Latest companies grid ───────────────────────────────────── */
.war-companies {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem;
}
.war-company-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none !important;
	background: #f8f8f8;
	border: 1px solid #ebebeb;
	border-radius: var(--radius);
	padding: 1.25rem .75rem;
	transition: border-color .2s;
	color: inherit !important;
}
.war-company-card:hover {
	border-color: #00CEC9;
}
.war-company-card__logo {
	width: 56px;
	height: 56px;
	object-fit: contain;
	margin-bottom: .6rem;
	border-radius: calc(var(--radius) / 2);
}
.war-company-card__logo-placeholder {
	width: 56px;
	height: 56px;
	border-radius: calc(var(--radius) / 2);
	background: #e8e8e8;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: .6rem;
	color: #bbb;
	font-size: 1.4rem;
	font-weight: 700;
}
.war-company-card__name {
	font-size: .82rem;
	font-weight: 600;
	color: #242424;
	line-height: 1.3;
}

/* ── Protasi CTA ─────────────────────────────────────────────── */
.war-protasi {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.war-protasi__text h3 {
	font-size: 1.05rem;
	font-weight: 700;
	color: #242424;
	margin: 0 0 .3rem;
}
.war-protasi__text p {
	font-size: .9rem;
	color: #626262;
	margin: 0;
}
.war-protasi__btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	white-space: nowrap;
	background: #00CEC9;
	color: #fff !important;
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none !important;
	padding: .75rem 1.5rem;
	border-radius: var(--radius);
	transition: background .2s, box-shadow .2s;
	box-shadow: 0 2px 10px rgba(0,206,201,.25);
}
.war-protasi__btn:hover {
	background: #00b3b0;
	box-shadow: 0 4px 16px rgba(0,206,201,.35);
}

/* ── Mobile search overlay (Trustpilot style) ────────────────── */
.war-mobile-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.5);
	z-index: 99998;
}
.war-mobile-overlay.active { display: block; }
.war-mobile-bar {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 56px;
	background: #fff;
	z-index: 99999;
	padding: 8px 12px;
	align-items: center;
	gap: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.war-mobile-bar.active { display: flex; }
.war-mobile-bar .war-search-input {
	flex: 1;
	height: 40px;
	font-size: 1rem;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: none !important;
	padding: 0 !important;
}
.war-mobile-bar__close {
	background: none !important;
	border: none !important;
	box-shadow: none !important;
	padding: 4px 8px !important;
	color: #626262 !important;
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
	text-shadow: none !important;
	min-width: 0;
}
.war-mobile-bar .algolia-autocomplete { flex: 1 !important; min-width: 0; }
.war-mobile-bar .aa-dropdown-menu {
	position: fixed !important;
	top: 56px !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	min-width: 0 !important;
	border-radius: 0 !important;
	margin-top: 0 !important;
	border-left: none !important;
	border-right: none !important;
	border-top: 1px solid #e8e8e8 !important;
	box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
	background: #fff;
	text-align: left;
	max-height: 60vh;
	overflow-y: auto;
}

@media (max-width: 768px) {
	.page-writeareview #page { padding-top: 60px !important; }
	.war-hero h1 { font-size: 1.4rem; }
	.war-hero { padding: 50px 16px; }
	.war-companies { grid-template-columns: repeat(2, 1fr); }
	.war-protasi { flex-direction: column; align-items: center; text-align: center; }
	.war-protasi__btn { width: 100%; justify-content: center; }
}