/*
Theme Name: Zahrat Al-Wujud
Theme URI: https://zahrawj.com
Description: قالب فرعي لموقع شركة زهرة الوجود لاستيراد المواد الغذائية، مبني على Astra.
Author: Zahrat Al-Wujud
Template: astra
Version: 1.0.0
Text Domain: zahra-child
*/

:root {
	--zw-green: #1F4D3A;
	--zw-green-dark: #143327;
	--zw-green-deep: #0E241B;
	--zw-gold: #C9973B;
	--zw-gold-light: #E3C27F;
	--zw-flame: #E8501C;
	--zw-cream: #FAF6EE;
	--zw-sand: #F2EBDD;
	--zw-ink: #1E1E1E;
	--zw-text: #4A4A4A;
	--zw-line: #E6DFD0;
	--zw-radius: 14px;
	--zw-shadow: 0 10px 30px rgba(20, 51, 39, .08);
	--zw-shadow-hover: 0 18px 40px rgba(20, 51, 39, .16);
	--zw-font-head: 'Noto Kufi Arabic', sans-serif;
	--zw-font-body: 'Noto Kufi Arabic', sans-serif;
}

body,
button,
input,
select,
textarea {
	font-family: var(--zw-font-body);
}

body {
	color: var(--zw-text);
	font-size: 16px;
	line-height: 1.9;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.site-title,
.main-header-menu,
.ast-button,
.elementor-button {
	font-family: var(--zw-font-head);
}

::selection {
	background: var(--zw-gold);
	color: #fff;
}

/* ---------- Header ---------- */
.ast-above-header-bar {
	background: var(--zw-green-deep) !important;
	border: 0 !important;
}

.ast-above-header-bar,
.ast-above-header-bar a,
.ast-above-header-bar .ast-header-html {
	color: rgba(255, 255, 255, .82) !important;
	font-size: 14px;
}

.ast-above-header-bar a:hover {
	color: var(--zw-gold-light) !important;
}

.zw-topbar {
	display: flex;
	gap: 26px;
	flex-wrap: wrap;
	align-items: center;
}

.zw-topbar span {
	display: inline-flex;
	gap: 7px;
	align-items: center;
}

.zw-topbar svg {
	width: 15px;
	height: 15px;
	fill: var(--zw-gold);
}

.ast-primary-header-bar {
	background: #fff !important;
	border-bottom: 1px solid var(--zw-line) !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.site-title a,
.site-title a:hover {
	color: var(--zw-green) !important;
	font-weight: 700;
	font-size: 25px;
	line-height: 1.2;
}

.site-description {
	color: var(--zw-gold) !important;
	font-size: 12.5px !important;
	font-weight: 600;
	letter-spacing: .2px;
}

.main-header-menu .menu-link {
	color: var(--zw-ink) !important;
	font-weight: 700;
	font-size: 15px;
	padding: 0 11px !important;
	white-space: nowrap;
}

.main-header-menu .menu-item .ast-icon.icon-arrow,
.main-header-menu .menu-item .dropdown-menu-toggle {
	margin-right: 2px;
}

.ast-header-button-1 .ast-custom-button {
	white-space: nowrap;
}

@media (min-width: 922px) and (max-width: 1240px) {
	.main-header-menu .menu-link {
		font-size: 14px;
		padding: 0 7px !important;
	}

	.site-description {
		display: none;
	}
}

.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .current-menu-item > .menu-link,
.main-header-menu .current-menu-ancestor > .menu-link {
	color: var(--zw-gold) !important;
}

.main-header-menu .sub-menu {
	border-top: 3px solid var(--zw-gold) !important;
	border-radius: 0 0 10px 10px;
	box-shadow: var(--zw-shadow-hover);
	min-width: 240px;
}

.main-header-menu .sub-menu .menu-link {
	font-weight: 600;
	font-size: 14.5px;
	padding: 11px 18px !important;
}

.ast-header-button-1 .ast-custom-button {
	background: var(--zw-gold) !important;
	color: #fff !important;
	border-radius: 50px !important;
	padding: 11px 26px !important;
	font-weight: 700;
	font-family: var(--zw-font-head);
	transition: background .25s ease, transform .25s ease;
}

.ast-header-button-1 .ast-custom-button:hover {
	background: var(--zw-green) !important;
	transform: translateY(-2px);
}

.ast-mobile-popup-drawer .ast-mobile-popup-inner {
	background: var(--zw-green-dark);
}

.ast-mobile-popup-drawer .menu-link {
	color: #fff !important;
}

/* ---------- Footer ---------- */
.site-primary-footer-wrap {
	background: var(--zw-green-deep) !important;
	padding: 70px 0 40px !important;
	position: relative;
}

.site-primary-footer-wrap::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, var(--zw-gold), var(--zw-gold-light), var(--zw-gold));
}

.site-primary-footer-wrap,
.site-primary-footer-wrap p,
.site-primary-footer-wrap li {
	color: rgba(255, 255, 255, .72);
	font-size: 15px;
}

.site-primary-footer-wrap .widget-title,
.site-primary-footer-wrap h2,
.site-primary-footer-wrap h3 {
	color: #fff !important;
	font-family: var(--zw-font-head);
	font-size: 19px !important;
	font-weight: 700;
	margin-bottom: 22px;
	position: relative;
	padding-bottom: 12px;
}

.site-primary-footer-wrap .widget-title::after,
.site-primary-footer-wrap h3::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 38px;
	height: 3px;
	border-radius: 3px;
	background: var(--zw-gold);
}

.site-primary-footer-wrap a {
	color: rgba(255, 255, 255, .78) !important;
	transition: color .2s ease, padding .2s ease;
}

.site-primary-footer-wrap a:hover {
	color: var(--zw-gold-light) !important;
}

.zw-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.zw-footer-links li {
	margin-bottom: 9px;
}

.zw-footer-links a::before {
	content: "‹";
	margin-left: 8px;
	color: var(--zw-gold);
}

.zw-footer-links a:hover {
	padding-right: 4px;
}

.zw-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.zw-footer-contact li {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
	align-items: flex-start;
}

.zw-footer-contact svg {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	fill: var(--zw-gold);
	margin-top: 5px;
}

.zw-footer-logo {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 18px;
}

.zw-footer-logo img {
	width: 58px;
	height: 58px;
}

.zw-footer-logo strong {
	display: block;
	color: #fff;
	font-family: var(--zw-font-head);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.zw-footer-logo small {
	color: var(--zw-gold-light);
	font-size: 12.5px;
}

.zw-social {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.zw-social a {
	display: inline-flex;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .08);
	transition: background .2s ease, transform .2s ease;
}

.zw-social a:hover {
	background: var(--zw-gold);
	transform: translateY(-3px);
}

.zw-social svg {
	width: 17px;
	height: 17px;
	fill: #fff;
}

.site-below-footer-wrap {
	background: #0A1B14 !important;
	border-top: 1px solid rgba(255, 255, 255, .06) !important;
}

.site-below-footer-wrap,
.site-below-footer-wrap a {
	color: rgba(255, 255, 255, .6) !important;
	font-size: 14px;
}

.site-below-footer-wrap a:hover {
	color: var(--zw-gold-light) !important;
}

/* ---------- Elementor helpers ---------- */
.zw-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	letter-spacing: .3px;
}

.zw-eyebrow .elementor-heading-title::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
	display: inline-block;
}

.zw-eyebrow.elementor-align-center .elementor-heading-title::after,
.elementor-widget-heading.zw-eyebrow[class*="center"] .elementor-heading-title::after {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
	display: inline-block;
}

.zw-card {
	background: #fff;
	border: 1px solid var(--zw-line);
	border-radius: var(--zw-radius);
	box-shadow: var(--zw-shadow);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.zw-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--zw-shadow-hover);
	border-color: var(--zw-gold-light);
}

.zw-card .elementor-icon {
	transition: transform .3s ease;
}

.zw-card:hover .elementor-icon {
	transform: rotate(-6deg) scale(1.06);
}

.zw-img-round img {
	border-radius: var(--zw-radius);
	box-shadow: var(--zw-shadow-hover);
	object-fit: cover;
}

.zw-cover img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: var(--zw-radius) var(--zw-radius) 0 0;
}

.zw-cover-tall img {
	width: 100%;
	height: 460px;
	object-fit: cover;
	border-radius: var(--zw-radius);
	box-shadow: var(--zw-shadow-hover);
}

.zw-tile {
	overflow: hidden;
	border-radius: var(--zw-radius);
	position: relative;
}

.zw-tile > .e-con-inner,
.zw-tile {
	transition: transform .4s ease;
}

.zw-tile:hover {
	transform: translateY(-6px);
}

.zw-tile::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 4px;
	background: var(--zw-gold);
	transform: scaleX(0);
	transition: transform .35s ease;
}

.zw-tile:hover::after {
	transform: scaleX(1);
}

.zw-step .elementor-icon-box-icon .elementor-icon {
	font-family: var(--zw-font-head);
}

.zw-num .elementor-heading-title {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: var(--zw-gold);
	color: #fff !important;
	box-shadow: 0 0 0 8px rgba(201, 151, 59, .18);
}

.zw-quote .elementor-widget-container,
.zw-quote {
	border-right: 4px solid var(--zw-gold);
}

.zw-check ul.elementor-icon-list-items .elementor-icon-list-item {
	padding: 4px 0;
}

.zw-pill .elementor-heading-title {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 40px;
	background: rgba(201, 151, 59, .14);
}

.zw-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--zw-line);
	border-radius: var(--zw-radius);
	overflow: hidden;
	background: #fff;
}

.zw-table th {
	background: var(--zw-green);
	color: #fff;
	font-family: var(--zw-font-head);
	padding: 14px 18px;
	text-align: right;
}

.zw-table td {
	padding: 13px 18px;
	border-top: 1px solid var(--zw-line);
}

.zw-table tr:nth-child(even) td {
	background: var(--zw-cream);
}

.zw-timeline .elementor-icon-list-item {
	position: relative;
}

/* Hero */
.zw-hero .elementor-background-slideshow::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(270deg, rgba(14, 36, 27, .92) 0%, rgba(14, 36, 27, .70) 45%, rgba(14, 36, 27, .25) 100%);
	z-index: 1;
}

.zw-hero > .e-con-inner {
	position: relative;
	z-index: 2;
}

.zw-hero-title .elementor-heading-title {
	text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}

.zw-hero .elementor-widget-html {
	position: absolute !important;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
}

.zw-scroll-hint {
	position: relative;
	display: block;
	width: 26px;
	height: 42px;
	border: 2px solid rgba(255, 255, 255, .6);
	border-radius: 20px;
}

.zw-scroll-hint::after {
	content: "";
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: #fff;
	animation: zw-scroll 1.8s ease-in-out infinite;
}

@keyframes zw-scroll {
	0% { opacity: 1; transform: translateY(0); }
	70% { opacity: 0; transform: translateY(12px); }
	100% { opacity: 0; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.zw-scroll-hint::after { animation: none; }
	.zw-card, .zw-tile { transition: none; }
}

/* Page header (inner pages) */
.zw-page-header .elementor-heading-title {
	text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}

.zw-breadcrumb {
	font-size: 14.5px;
	color: rgba(255, 255, 255, .8);
}

.zw-breadcrumb a {
	color: var(--zw-gold-light);
}

/* Libya map */
.zw-map svg {
	width: 100%;
	height: auto;
	display: block;
}

.zw-map .zw-city circle.pulse {
	transform-origin: center;
	transform-box: fill-box;
	animation: zw-pulse 2.2s ease-out infinite;
}

@keyframes zw-pulse {
	0% { transform: scale(1); opacity: .7; }
	100% { transform: scale(3.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.zw-map .zw-city circle.pulse { animation: none; opacity: 0; }
}

/* Contact Form 7 */
.wpcf7 form {
	display: grid;
	gap: 6px;
}

.zw-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 20px;
}

.zw-form-grid .zw-full {
	grid-column: 1 / -1;
}

.zw-form-grid label {
	display: block;
	font-family: var(--zw-font-head);
	font-weight: 700;
	font-size: 14.5px;
	color: var(--zw-ink);
	margin-bottom: 6px;
}

.zw-form-grid label .req {
	color: var(--zw-flame);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	border: 1px solid var(--zw-line);
	background: var(--zw-cream);
	border-radius: 10px;
	padding: 13px 16px;
	font-size: 15.5px;
	color: var(--zw-ink);
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--zw-gold);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(201, 151, 59, .15);
}

.wpcf7 textarea {
	height: 140px;
}

.wpcf7 input[type="file"] {
	font-size: 14px;
}

.wpcf7 input[type="submit"] {
	background: var(--zw-green);
	color: #fff;
	border: 0;
	border-radius: 50px;
	padding: 15px 42px;
	font-family: var(--zw-font-head);
	font-weight: 700;
	font-size: 16.5px;
	cursor: pointer;
	transition: background .25s ease, transform .25s ease;
}

.wpcf7 input[type="submit"]:hover {
	background: var(--zw-gold);
	transform: translateY(-2px);
}

.wpcf7 .wpcf7-spinner {
	margin: 0 12px;
}

.wpcf7-not-valid-tip {
	font-size: 13px;
}

.wpcf7 form .wpcf7-response-output {
	border-radius: 10px;
	margin: 18px 0 0;
}

@media (max-width: 767px) {
	.zw-form-grid {
		grid-template-columns: 1fr;
	}

	.zw-cover-tall img {
		height: 300px;
	}

	.zw-topbar {
		justify-content: center;
		gap: 14px;
	}
}

/* Blog / archive */
.blog .site-content,
.archive .site-content,
.single-post .site-content {
	background: var(--zw-cream);
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
	border-radius: var(--zw-radius);
	box-shadow: var(--zw-shadow);
}

/* 404 */
.zw-404 {
	text-align: center;
	padding: 90px 20px 110px;
}

.zw-404 .zw-404-code {
	font-family: var(--zw-font-head);
	font-size: clamp(90px, 18vw, 170px);
	font-weight: 700;
	line-height: 1;
	color: var(--zw-gold);
}

.zw-404 h1 {
	color: var(--zw-green);
	margin: 10px 0 14px;
}

.zw-404 .zw-404-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 28px;
}

.zw-btn {
	display: inline-block;
	padding: 13px 30px;
	border-radius: 50px;
	background: var(--zw-green);
	color: #fff !important;
	font-family: var(--zw-font-head);
	font-weight: 700;
}

.zw-btn.alt {
	background: transparent;
	border: 2px solid var(--zw-green);
	color: var(--zw-green) !important;
}

/* Click to chat */
#ht-ctc-chat {
	z-index: 999;
}

/* Latest posts */
.zw-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.zw-post {
	overflow: hidden;
}

.zw-post-thumb img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.zw-post-body {
	padding: 22px 24px 26px;
}

.zw-post-body time {
	color: var(--zw-gold);
	font-size: 14px;
	font-weight: 700;
}

.zw-post-body h3 {
	font-size: 20px;
	margin: 6px 0 10px;
	line-height: 1.5;
}

.zw-post-body h3 a {
	color: var(--zw-ink);
}

.zw-more {
	color: var(--zw-green);
	font-weight: 700;
}

@media (max-width: 921px) {
	.zw-posts {
		grid-template-columns: 1fr;
	}
}

/* Sticky header (Astra free) */
#masthead {
	position: sticky;
	top: 0;
	z-index: 999;
}

.admin-bar #masthead {
	top: 32px;
}

.ast-above-header-bar .zw-social {
	margin: 0;
	gap: 6px;
}

.ast-above-header-bar .zw-social a {
	width: 28px;
	height: 28px;
}

.ast-above-header-bar .zw-social svg {
	width: 13px;
	height: 13px;
}
.zw-sticky {
	position: sticky;
	top: 150px;
}

.zw-legal h3 {
	color: var(--zw-green);
	font-size: 21px;
	margin: 28px 0 8px;
}

.zw-can-float img {
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
	animation: zw-float 5s ease-in-out infinite;
}

@keyframes zw-float {
	0%, 100% { transform: translateY(0) rotate(-3deg); }
	50% { transform: translateY(-14px) rotate(-1deg); }
}

@media (prefers-reduced-motion: reduce) {
	.zw-can-float img { animation: none; }
}

/* Centered section heading groups */
.e-con.zw-hg {
	max-width: 820px;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100%;
}

.e-con.zw-hg-wide {
	max-width: 920px;
}

/* Breadcrumb */
.zw-breadcrumb {
	display: inline-block;
	padding: 7px 20px;
	border-radius: 40px;
	background: rgba(255, 255, 255, .1);
	backdrop-filter: blur(4px);
	color: rgba(255, 255, 255, .85) !important;
	font-size: 14.5px;
}

.elementor-widget-shortcode .zw-breadcrumb {
	margin-top: 14px;
}

.zw-breadcrumb a,
.zw-breadcrumb a:visited {
	color: var(--zw-gold-light) !important;
}

.zw-breadcrumb a:hover {
	color: #fff !important;
}

.zw-page-header .elementor-widget-shortcode,
.zw-page-header .elementor-shortcode {
	text-align: center;
}

/* Blog / archive banner */
.zw-archive-header {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 110px 20px 90px;
	text-align: center;
}

.zw-archive-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(14, 36, 27, .82);
}

.zw-archive-inner {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
}

.zw-archive-header h1 {
	color: #fff;
	font-size: clamp(26px, 3.5vw, 40px);
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.35;
}

.zw-archive-header p {
	color: rgba(255, 255, 255, .85);
	font-size: 19px;
	margin: 0 0 16px;
}

.blog .ast-archive-description,
.archive .ast-archive-description {
	display: none;
}

.single-post .entry-header .entry-title,
.single-post .ast-single-post-featured-section {
	display: none;
}

.single-post .entry-content h2 {
	color: var(--zw-green);
	font-size: 22px;
	margin-top: 32px;
}

/* Equal-height image cards */
.zw-cover img,
.elementor .zw-cover img {
	height: 240px !important;
	width: 100% !important;
	object-fit: cover;
}

.zw-cover-tall img,
.elementor .zw-cover-tall img {
	height: 460px !important;
	width: 100% !important;
	object-fit: cover;
}

@media (max-width: 767px) {
	.zw-cover-tall img,
	.elementor .zw-cover-tall img {
		height: 300px !important;
	}
}

.e-con.zw-card > .e-con:last-child,
.e-con.zw-card > .e-con-inner > .e-con:last-child {
	flex-grow: 1;
}

.e-con.zw-card .elementor-widget-button:last-child {
	margin-top: auto;
}

/* Google map */
.elementor-widget-google_maps {
	width: 100%;
}

.elementor-widget-google_maps iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: var(--zw-radius);
	box-shadow: var(--zw-shadow);
}

/* Logo lockup: rosette + name */
.ast-site-identity .site-logo-img {
	padding-left: 12px;
}

.ast-site-identity .site-logo-img img {
	transition: transform .5s ease;
}

.ast-site-identity:hover .site-logo-img img {
	transform: rotate(22.5deg);
}

@media (prefers-reduced-motion: reduce) {
	.ast-site-identity:hover .site-logo-img img { transform: none; }
}

/* ---------- Logo proposals button + pop-up ---------- */
.ast-desktop .main-header-menu > .zw-logo-btn {
	display: flex;
	align-items: center;
	height: auto;
	align-self: center;
}

.ast-desktop .main-header-menu > .zw-logo-btn > .menu-link {
	height: auto !important;
	min-height: 0 !important;
}

.main-header-menu .zw-logo-btn > .menu-link {
	border: 1.5px solid var(--zw-gold);
	border-radius: 50px;
	padding: 6px 16px !important;
	margin-right: 8px;
	line-height: 1.6 !important;
	color: var(--zw-green) !important;
	font-size: 14px;
	align-self: center;
	transition: background .25s ease, color .25s ease;
}

.main-header-menu .zw-logo-btn > .menu-link::before {
	content: "✦";
	color: var(--zw-gold);
	margin-left: 6px;
}

.main-header-menu .zw-logo-btn > .menu-link:hover {
	background: var(--zw-gold);
	color: #fff !important;
}

.main-header-menu .zw-logo-btn > .menu-link:hover::before {
	color: #fff;
}

.ast-header-break-point .main-header-menu .zw-logo-btn > .menu-link {
	margin: 10px 16px;
	display: inline-block;
}

body.zw-logos-open {
	overflow: hidden;
}

.zw-logos {
	width: min(1180px, calc(100vw - 32px));
	max-height: calc(100vh - 40px);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: var(--zw-cream);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
	overflow: auto;
	direction: rtl;
}

.zw-logos::backdrop {
	background: rgba(14, 36, 27, .78);
	backdrop-filter: blur(3px);
}

.zw-logos[open] {
	animation: zw-logos-in .28s ease-out;
}

@keyframes zw-logos-in {
	from { opacity: 0; transform: translateY(14px) scale(.98); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.zw-logos[open] { animation: none; }
}

.zw-logos-head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding: 22px 28px 16px;
	background: var(--zw-cream);
	border-bottom: 1px solid var(--zw-line);
}

.zw-logos-head h2 {
	margin: 0;
	font-size: 22px;
	color: var(--zw-green);
}

.zw-logos-head p {
	margin: 4px 0 0;
	font-size: 14.5px;
	color: var(--zw-text);
}

.zw-logos .zw-logos-close {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--zw-ink) !important;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--zw-shadow);
}

.zw-logos .zw-logos-close:hover {
	background: var(--zw-gold) !important;
	color: #fff !important;
}

.zw-logos-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	padding: 24px 28px 30px;
}

.zw-logo-card {
	margin: 0;
	background: #fff;
	border: 1px solid var(--zw-line);
	border-radius: 14px;
	overflow: hidden;
}

.zw-logo-views {
	display: grid;
	grid-template-columns: 1fr;
}

.zw-logo-views > div {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	aspect-ratio: 3 / 1;
}

.zw-logo-dark {
	background: #1a1a1a;
}

.zw-logo-views img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.zw-logo-card figcaption {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 12px;
	padding: 14px 18px 16px;
	border-top: 1px solid var(--zw-line);
}

.zw-logo-num {
	grid-row: span 2;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--zw-green);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
}

.zw-logo-card strong {
	font-family: var(--zw-font-head);
	color: var(--zw-ink);
	font-size: 16.5px;
}

.zw-logo-card small {
	color: var(--zw-text);
	font-size: 13.5px;
	line-height: 1.7;
}

@media (max-width: 860px) {
	.zw-logos-grid {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.zw-logos-head {
		padding: 18px;
	}
}

/* Moving image in the management message (About) */
.zw-motion-media {
	overflow: hidden;
	box-shadow: var(--zw-shadow-hover);
}

.zw-motion-media .elementor-background-slideshow {
	border-radius: 14px;
}

/* Logo proposals: desktop trigger lives in header widget 1 (last item); menu item stays for mobile */
.main-header-menu .zw-logo-btn {
	display: none !important;
}

.ast-mobile-popup-content .header-widget-area {
	padding: 6px 20px 20px;
}

.ast-builder-layout-element .zw-logos-trigger,
.header-widget-area .zw-logos-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1.5px solid var(--zw-gold);
	border-radius: 50px;
	padding: 7px 16px;
	color: var(--zw-green) !important;
	font-family: var(--zw-font-head);
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
	line-height: 1.6;
	transition: background .25s ease, color .25s ease;
}

.header-widget-area .zw-logos-trigger::before {
	content: "✦";
	color: var(--zw-gold);
}

.header-widget-area .zw-logos-trigger:hover {
	background: var(--zw-gold);
	color: #fff !important;
}

.header-widget-area .zw-logos-trigger:hover::before {
	color: #fff;
}

.header-widget-area .widget {
	margin: 0;
}

/* Medium screens (small laptops / landscape tablets): keep the header on one line */
@media (min-width: 922px) and (max-width: 1240px) {
	.site-title a {
		font-size: 20px !important;
	}

	.ast-site-identity .site-logo-img {
		padding-left: 8px;
	}

	.ast-header-button-1 .ast-custom-button {
		padding: 9px 16px !important;
		font-size: 14px !important;
	}

	.header-widget-area .zw-logos-trigger {
		padding: 6px 11px;
		font-size: 13px;
	}

	.main-header-menu .menu-link {
		font-size: 13.5px;
		padding: 0 6px !important;
	}

	.main-header-menu .menu-item .dropdown-menu-toggle,
	.main-header-menu .menu-item .ast-icon.icon-arrow {
		margin-right: 0;
	}

	.ast-builder-grid-row {
		grid-column-gap: 12px;
	}

	.site-header-primary-section-right .ast-builder-layout-element {
		margin-right: 6px;
	}
}

@media (min-width: 922px) and (max-width: 1080px) {
	.site-title {
		display: none;
	}
}

.ast-desktop .main-header-menu {
	flex-wrap: nowrap;
}

.ast-desktop .site-header-primary-section-right > .header-widget-area {
	flex: 0 0 auto;
	width: auto;
	padding: 0 !important;
	margin: 0 !important;
}

.ast-desktop .site-header-primary-section-right > .header-widget-area .widget,
.ast-desktop .site-header-primary-section-right > .header-widget-area .textwidget {
	margin: 0;
	padding: 0;
}

.ast-desktop .site-header-primary-section-left {
	min-width: 0;
}

@media (min-width: 922px) and (max-width: 1080px) {
	.main-header-menu .menu-link {
		padding: 0 4px !important;
		font-size: 13px;
	}
}
