/* SRSST Temple — supplementary styles beyond what theme.json can express. */

/* Simple repeating temple-motif border, done with a CSS gradient instead of
   an image so it costs zero extra HTTP requests on slow mobile connections. */
.srsst-temple-border-top {
	border-top: 6px solid transparent;
	border-image: repeating-linear-gradient(
		45deg,
		var(--wp--preset--color--temple-gold) 0,
		var(--wp--preset--color--temple-gold) 8px,
		var(--wp--preset--color--temple-maroon) 8px,
		var(--wp--preset--color--temple-maroon) 16px
	) 6;
}

/* ---------- Header ---------- */
.srsst-header {
	background: var(--wp--preset--color--temple-ivory);
	border-bottom: 3px solid var(--wp--preset--color--temple-gold);
}

.srsst-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 0.75rem 1.5rem;
}

.srsst-header__logo img,
.srsst-header__logo svg {
	max-height: 48px;
	width: auto;
}

.srsst-header__primary-nav ul {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.srsst-header__primary-nav a {
	text-decoration: none;
	font-weight: 600;
	color: var(--wp--preset--color--temple-maroon);
}

.srsst-header__right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.srsst-lang-switch {
	display: flex;
	gap: 0.25rem;
	border: 1px solid var(--wp--preset--color--temple-gold);
	border-radius: 999px;
	padding: 2px;
}

.srsst-lang-switch a {
	padding: 4px 12px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.85rem;
	color: var(--wp--preset--color--temple-ink);
}

.srsst-lang-switch a.is-active {
	background: var(--wp--preset--color--temple-maroon);
	color: var(--wp--preset--color--temple-ivory);
}

.srsst-btn-outline {
	border: 2px solid var(--wp--preset--color--temple-maroon);
	color: var(--wp--preset--color--temple-maroon) !important;
	padding: 6px 18px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
}

.srsst-btn-solid {
	background: var(--wp--preset--color--temple-maroon);
	color: var(--wp--preset--color--temple-ivory) !important;
	padding: 6px 18px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
}

/* ---------- Landing: Hero ---------- */
.srsst-hero {
	background: linear-gradient(180deg, var(--wp--preset--color--temple-cream) 0%, var(--wp--preset--color--temple-ivory) 100%);
	text-align: center;
	padding: 3rem 1.5rem;
}

.srsst-hero h1 {
	font-size: var(--wp--preset--font-size--xx-large);
	margin-bottom: 0.5rem;
}

.srsst-hero p {
	max-width: 640px;
	margin: 0 auto 1.5rem;
	font-size: var(--wp--preset--font-size--large);
}

/* ---------- Landing: CTA Cards ---------- */
.srsst-cta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
	padding: 2rem 1.5rem;
}

.srsst-cta-card {
	background: var(--wp--preset--color--temple-white);
	border: 1px solid var(--wp--preset--color--temple-gold-light);
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	text-decoration: none;
	display: block;
	box-shadow: 0 2px 8px rgba(107, 20, 20, 0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.srsst-cta-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(107, 20, 20, 0.12);
}

.srsst-cta-card__icon {
	font-size: 2.25rem;
	margin-bottom: 0.5rem;
}

.srsst-cta-card h3 {
	margin: 0.25rem 0;
	color: var(--wp--preset--color--temple-maroon);
}

.srsst-cta-card p {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--temple-ink);
	margin: 0;
}

/* ---------- Video scroller (see srsst-core plugin for markup) ---------- */
.srsst-video-scroller {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 1.5rem 1.5rem;
}

.srsst-video-scroller__item {
	flex: 0 0 auto;
	width: 220px;
	scroll-snap-align: start;
	text-decoration: none;
	color: inherit;
}

.srsst-video-scroller__thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background: var(--wp--preset--color--temple-ink);
}

.srsst-video-scroller__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.srsst-video-scroller__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 2rem;
	background: rgba(0, 0, 0, 0.15);
}

.srsst-video-scroller__title {
	font-size: var(--wp--preset--font-size--small);
	margin-top: 0.4rem;
	display: block;
}

/* ---------- Footer ---------- */
.srsst-footer {
	background: var(--wp--preset--color--temple-maroon);
	color: var(--wp--preset--color--temple-ivory);
	padding: 2.5rem 1.5rem 1.5rem;
}

.srsst-footer a {
	color: var(--wp--preset--color--temple-gold-light);
}

.srsst-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
}

.srsst-footer__grid h4 {
	color: var(--wp--preset--color--temple-gold-light);
	margin-bottom: 0.5rem;
}

.srsst-footer__grid ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.srsst-footer__social {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.srsst-footer__bottom {
	text-align: center;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.8rem;
	opacity: 0.85;
}

/* ---------- Real estate / property ad cards (srsst-core plugin) ---------- */
.srsst-property-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
}

.srsst-property-card {
	border: 1px solid var(--wp--preset--color--temple-gold-light);
	border-radius: 10px;
	overflow: hidden;
	background: var(--wp--preset--color--temple-white);
}

.srsst-property-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.srsst-property-card__body {
	padding: 0.9rem;
}

.srsst-property-card__price {
	color: var(--wp--preset--color--temple-maroon);
	font-weight: 700;
}
