/* GGD Archive v0.1 — עמוד קטגוריה / ארכיון סיורים (במקום תבנית אלמנטור 14258) */

.ggd-ar-page { font-family: "Rubik", sans-serif; }

/* כותרת עם תמונת רקע */
.ggd-ar-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 250px;
	padding: 2% 16px;
	box-sizing: border-box;
	background-color: #2a2a2a;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}
.ggd-ar-hero::before { content: ""; position: absolute; inset: 0; background: rgba(42, 42, 42, .65); }
.ggd-ar-page .ggd-ar-hero__title {
	position: relative;
	margin: 0;
	text-align: center;
	font: 600 60px/1 "Rubik", sans-serif;
	color: #fff;
}

/* גוף */
.ggd-ar-body { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 0 60px; box-sizing: border-box; }
.ggd-ar-filters { padding: 50px 0 0; }
.ggd-ar-filters + .ggd-ar-strip-wrap { margin-top: 35px; }

/* רצועות */
.ggd-ar-strip-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 8px;
	padding: 32px 24px;
	background: #fbf7f0;
	border-radius: 8px;
}
.ggd-ar-page .ggd-ar-strip__title { margin: 0; font: 600 32px/1 "Rubik", sans-serif; color: #ffae16; text-align: start; }
.ggd-ar-strip { position: relative; }
.ggd-ar-strip__track {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.ggd-ar-strip__track::-webkit-scrollbar { display: none; }
.ggd-ar-strip__item { flex: 0 0 calc((100% - 20px) / 3); scroll-snap-align: start; display: flex; }
.ggd-ar-strip__item > .ggd-card { width: 100%; }
.ggd-ar-page .ggd-ar-strip__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	transform: translateY(-50%);
	background: #fff;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
	cursor: pointer;
	transition: transform .15s, background-color .15s;
}
.ggd-ar-page .ggd-ar-strip__nav:hover,
.ggd-ar-page .ggd-ar-strip__nav:focus { background: #f2f2f2; transform: translateY(-50%) scale(1.06); }
.ggd-ar-strip__nav::before { content: ""; width: 10px; height: 10px; border: solid #1a1a1a; border-width: 0 2.5px 2.5px 0; }
.ggd-ar-strip__prev { right: 8px; }
.ggd-ar-strip__prev::before { transform: rotate(-45deg); margin-right: 4px; }
.ggd-ar-strip__next { left: 8px; }
.ggd-ar-strip__next::before { transform: rotate(135deg); margin-left: 4px; }
.ggd-ar-page .ggd-ar-strip__nav[disabled] { opacity: .5; cursor: default; }
.ggd-ar-page .ggd-ar-strip__nav[hidden] { display: none; }
html:not([dir="rtl"]) .ggd-ar-strip__prev { right: auto; left: 8px; }
html:not([dir="rtl"]) .ggd-ar-strip__prev::before { transform: rotate(135deg); margin: 0 0 0 4px; }
html:not([dir="rtl"]) .ggd-ar-strip__next { left: auto; right: 8px; }
html:not([dir="rtl"]) .ggd-ar-strip__next::before { transform: rotate(-45deg); margin: 0 4px 0 0; }

/* רשת */
.ggd-ar-results { margin-top: 22px; }
.ggd-ar-filters + .ggd-ar-results { margin-top: 46px; }
.ggd-ar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ggd-ar-grid__item { display: flex; }
.ggd-ar-grid__item > .ggd-card { width: 100%; }
.ggd-ar-more { display: flex; justify-content: center; margin-top: 30px; }
.ggd-ar-page .ggd-ar-more__btn {
	padding: 12px 24px;
	font: 500 15px/1 "Rubik", sans-serif;
	color: #290644;
	background: #ffae16;
	border: 1.6px solid #7b3487;
	border-radius: 30px;
	cursor: pointer;
}
.ggd-ar-page .ggd-ar-more__btn:hover,
.ggd-ar-page .ggd-ar-more__btn:focus { color: #290644; background: #f29d00; border-color: #7b3487; }
.ggd-ar-page .ggd-ar-more__btn[disabled] { opacity: .6; cursor: wait; }
.ggd-ar-empty { margin: 40px 0; text-align: center; font-size: 18px; color: #2a2a2a; }

@media (max-width: 1180px) {
	.ggd-ar-body { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 1024px) {
	.ggd-ar-page .ggd-ar-hero__title { font-size: 44px; }
	.ggd-ar-hero { background-attachment: scroll; }
	.ggd-ar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.ggd-ar-strip__item { flex-basis: calc((100% - 10px) / 2); }
}
@media (max-width: 767px) {
	.ggd-ar-page .ggd-ar-hero__title { font-size: 34px; }
	.ggd-ar-body { padding-left: 16px; padding-right: 16px; }
	.ggd-ar-hero { min-height: 200px; }
	.ggd-ar-filters { padding-top: 32px; }
	.ggd-ar-filters + .ggd-ar-strip-wrap { margin-top: 14px; }
	.ggd-ar-grid { grid-template-columns: 1fr; }
	.ggd-ar-strip__item { flex-basis: 100%; }
}

/* ---------- פוסט קומבינציה (v0.2) ---------- */
.ggd-po-hero { min-height: 380px; }
.ggd-po-content { padding: 66px 0 46px; }
.ggd-po-page .ggd-ar-strip__title { margin-bottom: 16px; }
.ggd-po-page .ggd-ar-strip-wrap + .ggd-ar-results { margin-top: 24px; }
.ggd-po-content > p:empty { display: none; }
.ggd-po-content + .ggd-ar-strip-wrap { margin-top: 0; }
.ggd-po-content + .ggd-ar-results { margin-top: 0; }
.ggd-ar-page .ggd-ar-more__btn--icon { display: inline-flex; align-items: center; gap: 6px; color: #7b3487; }
.ggd-ar-page .ggd-ar-more__btn--icon:hover,
.ggd-ar-page .ggd-ar-more__btn--icon:focus { color: #7b3487; }
.ggd-ar-more__icon { width: 15px; height: 15px; fill: currentColor; }
@media (max-width: 1024px) {
	.ggd-po-page .ggd-ar-hero__title { font-size: 46px; }
	.ggd-po-content { padding-top: 48px; }
	.ggd-po-page .ggd-ar-grid { gap: 30px; }
}
@media (max-width: 767px) {
	.ggd-po-hero { min-height: 380px; }
	.ggd-po-page .ggd-ar-hero__title { font-size: 46px; }
	.ggd-po-content { padding-top: 47px; }
}
/* ---------- תוצאות חיפוש (30.10.2026) ---------- */
.ggd-sr .ggd-sr-hero { flex-direction: column; gap: 10px; }
.ggd-sr .ggd-sr-q { color: #ffae16; }
.ggd-sr .ggd-sr-count { position: relative; z-index: 1; margin: 0; color: #fff; font: 500 18px/1.3 "Rubik", sans-serif; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

/* כותרת קטגוריה — תמונות היעד החדשות (30.10.2026): בלי fixed, גובה גדול יותר, מיקוד על המבנה */
.ggd-ar .ggd-ar-hero { background-attachment: scroll; background-position: center 38%; min-height: 340px; }
@media (max-width: 1024px) { .ggd-ar .ggd-ar-hero { min-height: 280px; } }
@media (max-width: 767px) { .ggd-ar .ggd-ar-hero { min-height: 220px; background-position: center 40%; } }

/* טען עוד v2 (30.10.2026): נעלם אחרי הטעינה האחרונה ([hidden] גובר על display:flex) + עיצוב נקי */
.ggd-ar-more[hidden] { display: none !important; }
.ggd-ar-page .ggd-ar-more { margin-top: 36px; }
.ggd-ar-page .ggd-ar-more__btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; font: 600 15px/1 Rubik, sans-serif; color: #7b3487; background: #fff; border: 2px solid #7b3487; border-radius: 999px; box-shadow: 0 2px 12px rgba(41, 6, 68, .07); transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.ggd-ar-page .ggd-ar-more__btn:not(.ggd-ar-more__btn--icon)::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.ggd-ar-page .ggd-ar-more__btn:hover, .ggd-ar-page .ggd-ar-more__btn:focus-visible { color: #fff; background: #7b3487; border-color: #7b3487; box-shadow: 0 6px 18px rgba(123, 52, 135, .25); }
.ggd-ar-page .ggd-ar-more__btn--icon:hover, .ggd-ar-page .ggd-ar-more__btn--icon:focus-visible { color: #fff; }
