/* Wycieczki z Hurghady – UX components.
   Palette follows the theme options (amber #FFB300, sky #26BDF7, footer #414B4F);
   text-bearing variants are darkened for WCAG AA contrast. */
:root {
	--wzh-ink: #1f2d35;
	--wzh-muted: #5a6a72;
	--wzh-line: #e3e8ea;
	--wzh-soft: #f6f8f9;
	--wzh-amber: #ffb300;
	--wzh-amber-ink: #8a5a00;
	--wzh-blue: #0b74a6;
	--wzh-wa: #15803d;
	--wzh-wa-hover: #116a32;
	--wzh-radius: 12px;
}

/* ---------- Buttons ---------- */
.wzh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border-radius: 999px;
	font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none !important;
	transition: background-color .15s ease, transform .15s ease; border: 2px solid transparent;
}
.wzh-btn:focus-visible { outline: 3px solid var(--wzh-amber); outline-offset: 2px; }
.wzh-btn--wa { background: var(--wzh-wa); color: #fff !important; }
.wzh-btn--wa:hover { background: var(--wzh-wa-hover); color: #fff !important; }
.wzh-btn--light { background: #fff; color: var(--wzh-ink) !important; }
.wzh-btn--light:hover { background: var(--wzh-soft); }
.wzh-btn--outline { border-color: var(--wzh-ink); color: var(--wzh-ink) !important; background: transparent; }
.wzh-btn--outline:hover { background: var(--wzh-ink); color: #fff !important; }
.wzh-btn--block { display: flex; width: 100%; }
.wzh-ico { flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) { .wzh-btn:hover { transform: translateY(-1px); } }

.wzh-section-title { text-align: center; font-size: 28px; line-height: 1.25; margin: 0 0 24px; color: var(--wzh-ink); text-wrap: balance; }
.wzh-center { text-align: center; }

/* ---------- Hero ---------- */
.wzh-hero { position: relative; overflow: hidden; border-radius: var(--wzh-radius); min-height: 520px; display: flex; align-items: flex-end; margin: 10px 0 30px; color: #fff; isolation: isolate; }
.wzh-hero__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; z-index: -2; }
.wzh-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,25,35,.10) 0%, rgba(10,25,35,.55) 45%, rgba(10,25,35,.85) 100%); }
.wzh-hero__inner { padding: 48px 48px 40px; max-width: 760px; }
.wzh-hero__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 600; color: var(--wzh-amber); margin: 0 0 10px; }
.wzh-hero .wzh-hero__title { color: #fff; font-size: 44px; line-height: 1.12; font-weight: 700; margin: 0 0 14px; text-wrap: balance; text-align: left; }
.wzh-hero__lead { font-size: 18px; line-height: 1.55; margin: 0 0 24px; color: #f1f5f6; max-width: 60ch; }
.wzh-hero__lead strong { color: #fff; }
.wzh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wzh-hero__proof { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: #e6edef; }
.wzh-hero__proof li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.wzh-hero__proof .wzh-ico { color: var(--wzh-amber); width: 18px; height: 18px; }

/* ---------- Trust strip ---------- */
.wzh-trust { margin: 10px 0 40px; }
.wzh-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wzh-trust__item { background: var(--wzh-soft); border-radius: var(--wzh-radius); padding: 22px 20px; }
.wzh-trust__item .wzh-ico { color: var(--wzh-blue); width: 28px; height: 28px; margin-bottom: 10px; }
.wzh-trust__item h3 { font-size: 18px; margin: 0 0 6px; color: var(--wzh-ink); }
.wzh-trust__item p { font-size: 15px; line-height: 1.55; margin: 0; color: var(--wzh-muted); }
.wzh-trust__note { text-align: center; color: var(--wzh-muted); margin: 18px auto 0; max-width: 70ch; font-size: 15px; }

/* ---------- Tour lists under the category boxes ---------- */
.wzh-tl { list-style: none; margin: 12px 0 10px; padding: 0; }
.wzh-tl li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--wzh-line); margin: 0; }
.wzh-tl li a { color: var(--wzh-ink); font-weight: 500; font-size: 16px; text-decoration: none; }
.wzh-tl li a:hover { color: var(--wzh-blue); text-decoration: underline; }
.wzh-tl__price { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.wzh-price-usd { font-weight: 700; color: var(--wzh-amber-ink); }
.wzh-price-pln { font-size: 13px; color: var(--wzh-muted); }
.wzh-tl__more { display: inline-block; font-weight: 600; color: var(--wzh-blue); margin-bottom: 30px; }

/* ---------- Reviews ---------- */
.wzh-reviews { margin: 20px 0 40px; }
.wzh-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.wzh-review { margin: 0; background: #fff; border: 1px solid var(--wzh-line); border-radius: var(--wzh-radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.wzh-review blockquote { margin: 0; padding: 0; border: 0; font-size: 16px; line-height: 1.6; color: var(--wzh-ink); font-style: normal; }
.wzh-review figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--wzh-muted); }
.wzh-review figcaption span { display: flex; flex-direction: column; }
.wzh-review figcaption strong { color: var(--wzh-ink); }
.wzh-review__avatar { width: 48px !important; height: 48px !important; border-radius: 50%; object-fit: cover; }
.wzh-review__src { font-size: 13px; color: var(--wzh-blue); }

/* ---------- Closing CTA ---------- */
.wzh-cta { background: #414b4f; color: #fff; border-radius: var(--wzh-radius); padding: 40px 32px; text-align: center; margin: 30px 0; }
.wzh-cta h2 { color: #fff; margin: 0 0 10px; font-size: 28px; }
.wzh-cta p { color: #e3e8ea; max-width: 60ch; margin: 0 auto 20px; }
.wzh-cta .wzh-hero__actions { justify-content: center; }
.wzh-cta .wzh-cta__phone { margin: 18px auto 0; font-size: 15px; }

/* ---------- Tour page booking box ---------- */
.wzh-book { margin: 4px 0 22px; max-width: 420px; }
.wzh-book__note { font-size: 14px; color: var(--wzh-muted); margin: 8px 0 0; line-height: 1.5; }
.wzh-price { color: var(--wzh-ink); }

/* ---------- Footer contact block ---------- */
.wzh-foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding: 0 15px; }
.wzh-foot p, .wzh-foot li { color: #d5dcdf; font-size: 15px; line-height: 1.6; }
.wzh-foot ul { list-style: none; margin: 0; padding: 0; }
.wzh-foot li { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.wzh-foot a { color: #fff; }
.wzh-foot a:hover { color: var(--wzh-amber); }
.wzh-foot .wzh-ico { color: var(--wzh-amber); width: 18px; height: 18px; }

/* ---------- Sticky booking bar (phones only) ---------- */
.wzh-mbar { display: none; }
@media (max-width: 767px) {
	.wzh-mbar {
		display: grid; grid-template-columns: 2fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
		padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
		background: rgba(255,255,255,.97); box-shadow: 0 -2px 12px rgba(0,0,0,.12);
	}
	.wzh-mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; }
	.wzh-mbar__wa { background: var(--wzh-wa); color: #fff !important; }
	.wzh-mbar__price { background: var(--wzh-soft); color: var(--wzh-ink) !important; border: 1px solid var(--wzh-line); }
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	/* The bar replaces the floating WhatsApp bubble on phones. */
	.ccw_plugin.chatbot, .ht-ctc-chat, #ht-ctc-chat { display: none !important; }

	.wzh-hero { min-height: 0; border-radius: 0; margin: 0 -15px 24px; }
	.wzh-hero__inner { padding: 120px 20px 28px; }
	.wzh-hero .wzh-hero__title { font-size: 30px; }
	.wzh-hero__lead { font-size: 16px; }
	.wzh-hero__actions .wzh-btn { flex: 1 1 100%; }
	.wzh-trust__grid, .wzh-reviews__grid, .wzh-foot { grid-template-columns: 1fr; }
	.wzh-section-title, .wzh-cta h2 { font-size: 24px; }
	.wzh-book { max-width: none; }
}
@media (min-width: 768px) and (max-width: 991px) {
	.wzh-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wzh-reviews__grid { grid-template-columns: 1fr; }
	.wzh-hero .wzh-hero__title { font-size: 36px; }
}

/* ---------- Category boxes: one accent, readable titles ---------- */
.uc_content_box_zoom_effect .uc_title,
.uc_content_box_zoom_effect .uc_title span { color: var(--wzh-ink) !important; font-size: 24px !important; font-weight: 700; text-decoration: none; }
.uc_content_box_zoom_effect .uc_title:hover span { color: var(--wzh-blue) !important; }
.uc_content_box_zoom_effect .uc_image { border-radius: var(--wzh-radius); }

/* The theme header overlays the top of the first section on desktop. */
@media (min-width: 768px) { .wzh-hero { min-height: 620px; } }

/* ---------- Review cards: Facebook button ---------- */
.wzh-review figcaption strong { font-size: 15px; }
.wzh-btn--fb { background: #1565d8; color: #fff !important; min-height: 44px; padding: 10px 18px; font-size: 15px; align-self: flex-start; }
.wzh-btn--fb:hover { background: #0f4fae; color: #fff !important; }
@media (max-width: 767px) { .wzh-btn--fb { align-self: stretch; } }
/* Keep name under the text and the button at the bottom when cards stretch to row height. */
.wzh-review { justify-content: flex-start; }
.wzh-review .wzh-btn--fb { margin-top: auto; }
/* All-reviews page: masonry columns so one long review doesn't leave gaps. */
.wzh-reviews--all .wzh-reviews__grid { display: block; columns: 3 300px; column-gap: 16px; }
.wzh-reviews--all .wzh-review { break-inside: avoid; margin: 0 0 16px; }
.wzh-reviews--all .wzh-review .wzh-btn--fb { margin-top: 0; }
