/**
 * SILHO.com homepage styles.
 */

body.home.silhocom-body,
body.front-page.silhocom-body,
body.page-template-front-page.silhocom-body {
	background: #08080a;
	color: #f5f0e6;
}

.silhocom-main {
	min-height: 50vh;
}

.silhocom-home {
	background: #08080a;
}

body.home #silhocom-main,
body.front-page #silhocom-main {
	margin-top: 0;
	padding-top: 0;
}

.silhocom-container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.silhocom-section-head {
	margin-bottom: 2rem;
}

.silhocom-section-head__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.6rem, 2.5vw, 2.2rem);
	font-weight: 500;
	letter-spacing: 0.03em;
	color: #f5f0e6;
}

.silhocom-section-head__desc {
	margin: 0;
	color: #a8a29a;
	font-size: 1rem;
	max-width: 42rem;
}

/* Hero */
.silhocom-home > .silhocom-hero:first-child {
	margin-top: 0;
}

.silhocom-hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
	background: radial-gradient(circle at 20% 20%, #2a2418 0%, #111015 45%, #08080a 100%);
}

.silhocom-hero--has-image {
	background-color: #08080a;
}

.silhocom-hero--has-image::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--silhocom-hero-image);
	background-size: cover;
	background-position: 60% center;
	background-repeat: no-repeat;
}

.silhocom-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			90deg,
			rgba(8, 8, 10, 0.78) 0%,
			rgba(8, 8, 10, 0.52) 22%,
			rgba(8, 8, 10, 0.16) 46%,
			rgba(8, 8, 10, 0.02) 68%,
			rgba(8, 8, 10, 0.06) 100%
		),
		linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.14) 0%,
			rgba(8, 8, 10, 0.02) 45%,
			rgba(8, 8, 10, 0.42) 100%
		);
}

.silhocom-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: clamp(5rem, 9vh, 6.5rem) 1.5rem clamp(3rem, 6vh, 4rem);
	text-align: left;
}

.silhocom-hero__content-inner {
	max-width: 580px;
	padding-left: 0;
}

.silhocom-hero__eyebrow {
	margin: 0 0 0.85rem;
	color: #d2aa69;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.silhocom-hero__title {
	margin: 0 0 1rem;
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-size: clamp(2.25rem, 4vw, 4.75rem);
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0;
	color: #f5f0e6;
}

.silhocom-hero__highlight {
	color: #d2aa69;
}

.silhocom-hero__copy {
	margin: 0 0 1.75rem;
	font-family: 'Inter', system-ui, sans-serif;
	color: rgba(245, 240, 230, 0.82);
	font-size: clamp(0.9rem, 1.45vw, 1rem);
	font-weight: 400;
	line-height: 1.65;
	max-width: 32rem;
}

.silhocom-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0.85rem;
}

.silhocom-hero__actions .silhocom-btn {
	font-family: 'Inter', system-ui, sans-serif;
	border-radius: 2px;
	min-height: 44px;
	padding: 0.7rem 1.4rem;
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0.06em;
}

.silhocom-hero__actions .silhocom-btn--gold {
	background: #d2aa69;
	color: #08080a;
	border: 1px solid #d2aa69;
}

.silhocom-hero__actions .silhocom-btn--gold:hover {
	background: #e0bc7f;
	border-color: #e0bc7f;
	color: #08080a;
}

.silhocom-hero__actions .silhocom-btn--ghost {
	background: rgba(8, 8, 10, 0.42);
	border: 1px solid rgba(210, 170, 105, 0.72);
	color: #f5f0e6;
}

.silhocom-hero__actions .silhocom-btn--ghost:hover {
	background: rgba(8, 8, 10, 0.62);
	border-color: #d2aa69;
	color: #f5f0e6;
}

/* Events */
.silhocom-events {
	padding: 3.5rem 0 2rem;
}

.silhocom-featured-experiences {
	margin-bottom: 3rem;
}

.silhocom-events__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
}

.silhocom-events__title {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 2px;
	line-height: 1.2;
	text-transform: uppercase;
	color: #f5f0e6;
}

.silhocom-events__view-all,
.silhocom-events__view-all:visited {
	flex: 0 0 auto;
	color: #d4af37;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.silhocom-events__view-all:hover,
.silhocom-events__view-all:focus-visible {
	color: #e8c56a;
}

.silhocom-events__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: stretch;
	gap: 0.75rem;
}

.silhocom-events__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #0c0b0e;
	border: 1px solid rgba(210, 170, 105, 0.2);
	border-radius: 0 !important;
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.silhocom-events__card,
.silhocom-events__card-link,
.silhocom-events__card-media,
.silhocom-events__card-image,
.silhocom-events__card img {
	border-radius: 0 !important;
}

.silhocom-events__card:hover {
	border-color: rgba(210, 170, 105, 0.5);
}

.silhocom-events__card-link {
	position: relative;
	display: block;
	flex: 1 1 auto;
	color: inherit;
	text-decoration: none;
	height: 100%;
	min-height: 100%;
}

.silhocom-events__card-media {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 300px;
	overflow: hidden;
	background-color: #1a1712;
	border-radius: 0 !important;
	background-color: #000;
}

.silhocom-events__card-media::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0) 35%,
		rgba(0, 0, 0, 0.55) 70%,
		rgba(0, 0, 0, 0.92) 100%
	);
}

.silhocom-events__card-image {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0 !important;
	transform: scale(1.0);
}

.silhocom-events__card-media--placeholder {
	background-image: linear-gradient(135deg, #2a2418 0%, #15131a 100%);
}

.silhocom-events__card-date {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	background: rgba(0, 0, 0, 0.62);
	border: 1px solid rgba(216, 173, 85, 0.22);
	border-radius: 0;
	color: #d8ad55;
	backdrop-filter: blur(6px);
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	padding: 4px 8px;
	text-transform: uppercase;
	white-space: nowrap;
}

.silhocom-events__card-body .silhocom-events__card-date,
.silhocom-events__card-body time,
.silhocom-events__card-body [class*='date'],
.silhocom-events__card-date ~ .silhocom-events__card-date,
.silhocom-events__card [class*='etn'][class*='date'],
.silhocom-events__card [class*='event-date'],
.silhocom-events__card time:not(.silhocom-events__card-date) {
	display: none !important;
}

.silhocom-events__card-body {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 3;
	padding: 0;
	background: transparent;
}

.silhocom-events__card-title {
	margin: 0 0 0.25rem;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.2;
	max-height: calc(1.2em * 2);
	color: #f5f0e6;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	word-break: break-word;
}

.silhocom-events__card-location {
	margin: 0 0 0.2rem;
	color: rgba(245, 240, 230, 0.78);
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.68rem;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.silhocom-events__card-category {
	margin: 0;
	color: #d2aa69;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.silhocom-events__placeholder {
	background: #111015;
	border: 1px dashed rgba(210, 170, 105, 0.35);
	border-radius: 0;
	padding: 1.5rem;
}

.silhocom-events__placeholder-note {
	margin: 0 0 0.75rem;
	color: #d8d2c8;
}

.silhocom-events__shortcode-slot {
	color: #a8a29a;
	font-size: 0.88rem;
}

.silhocom-events__shortcode-slot code {
	color: #d2aa69;
}

/* Categories */
.silhocom-categories {
	padding: 3rem 0;
}

.silhocom-categories__head {
	margin-bottom: 1.75rem;
}

.silhocom-categories .silhocom-events__title {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 2px;
	line-height: 1.2;
	text-transform: uppercase;
	color: #f5f0e6;
}

.silhocom-categories__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 1rem;
}

.silhocom-categories__tile {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: #1a1712;
	border: 1px solid rgba(210, 170, 105, 0.12);
	border-radius: 0 !important;
}

.silhocom-categories__tile,
.silhocom-categories__tile-link,
.silhocom-categories__tile-media,
.silhocom-categories__tile-image,
.silhocom-categories__tile-body,
.silhocom-categories__tile-icon,
.silhocom-categories__tile img {
	border-radius: 0 !important;
}

.silhocom-categories__tile-link {
	position: relative;
	display: block;
	flex: 1 1 auto;
	color: inherit;
	text-decoration: none;
	height: 100%;
	min-height: 280px;
}

.silhocom-categories__tile-media {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #1a1712;
	border-radius: 0 !important;
}

.silhocom-categories__tile-image {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center center !important;
	transform: none !important;
	border-radius: 0 !important;
}

.silhocom-categories__tile-image--hotels,
.silhocom-categories__tile-image--dining,
.silhocom-categories__tile-image--nightlife,
.silhocom-categories__tile-image--travel,
.silhocom-categories__tile-image--business,
.silhocom-categories__tile-image--experiences,
.silhocom-categories__tile-image--lifestyle,
.silhocom-categories__tile-image--shoppes {
	object-position: center center !important;
}

.silhocom-categories__tile-media--placeholder {
	background-image: linear-gradient(160deg, #2a2418 0%, #121018 100%);
}

.silhocom-categories__tile-body {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 24px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0;
	background: transparent;
}

.silhocom-categories__tile-icon {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 0 12px;
	color: #d4a85a;
	opacity: 1;
	object-fit: contain;
	object-position: left center;
}

/* Lucide icons (24x24 viewBox) render larger than native 32x32 icons at the same box size. */
.silhocom-categories__tile-icon--hotels,
.silhocom-categories__tile-icon--travel,
.silhocom-categories__tile-icon--business {
	transform: scale(0.75);
	transform-origin: left center;
}

.silhocom-categories__tile-title {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	color: #f5f0e6;
}

.silhocom-categories__tile-desc {
	margin: 0;
	color: rgba(245, 240, 230, 0.78);
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.75rem;
	line-height: 1.4;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* Blog masonry */
.silhocom-blog {
	padding: 3.5rem 0 4.5rem;
}

.silhocom-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: minmax(220px, 220px);
	gap: 1rem;
	align-items: stretch;
}

.silhocom-blog__card {
	position: relative;
	min-height: 220px;
	overflow: hidden;
	background: #1a1712;
	border: 1px solid rgba(210, 170, 105, 0.2);
	border-radius: 0;
	transition: border-color 0.2s ease;
}

.silhocom-blog__card:hover {
	border-color: rgba(210, 170, 105, 0.5);
}

.silhocom-blog__card--featured {
	grid-column: 1 / span 2;
	grid-row: 1 / span 2;
}

.silhocom-blog__card:nth-child(2) {
	grid-column: 3;
	grid-row: 1;
}

.silhocom-blog__card:nth-child(3) {
	grid-column: 3;
	grid-row: 2;
}

.silhocom-blog__card:nth-child(4) {
	grid-column: 1;
	grid-row: 3;
}

.silhocom-blog__card:nth-child(5) {
	grid-column: 2;
	grid-row: 3;
}

.silhocom-blog__card:nth-child(6) {
	grid-column: 3;
	grid-row: 3;
}

.silhocom-blog__card-link {
	position: absolute;
	inset: 0;
	display: block;
	color: inherit;
	text-decoration: none;
}

.silhocom-blog__card-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background-color: #1a1712;
}

.silhocom-blog__card-media::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.85) 0%,
		rgba(0, 0, 0, 0.45) 40%,
		rgba(0, 0, 0, 0) 100%
	);
}

.silhocom-blog__card-image {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.silhocom-blog__card-media--placeholder {
	background-image: linear-gradient(160deg, #2a2418 0%, #121018 100%);
}

.silhocom-blog__card-category {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 4;
	background: rgba(0, 0, 0, 0.62);
	border: 1px solid rgba(216, 173, 85, 0.22);
	border-radius: 0;
	color: #d8ad55;
	backdrop-filter: blur(6px);
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	padding: 4px 8px;
	text-transform: uppercase;
	white-space: nowrap;
}

.silhocom-blog__card-overlay {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 4;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.silhocom-blog__card-date {
	display: block;
	margin: 0 0 0.35rem;
	padding: 0;
	color: #d8ad55;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.silhocom-blog__card-title {
	margin: 0;
	padding: 0;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.25;
	max-height: calc(1.25em * 2);
	color: #f5f0e6;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	word-break: break-word;
}

.silhocom-blog__card--featured .silhocom-blog__card-title {
	font-size: 0.95rem;
}

.silhocom-blog__more {
	margin-top: 2rem;
	text-align: center;
}

.silhocom-blog__empty {
	color: #a8a29a;
}

@media (max-width: 1100px) {
	.silhocom-events__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.silhocom-categories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.silhocom-blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: minmax(220px, 220px);
	}

	.silhocom-blog__card,
	.silhocom-blog__card--featured,
	.silhocom-blog__card:nth-child(2),
	.silhocom-blog__card:nth-child(3),
	.silhocom-blog__card:nth-child(4),
	.silhocom-blog__card:nth-child(5),
	.silhocom-blog__card:nth-child(6) {
		grid-column: auto;
		grid-row: auto;
	}

	.silhocom-blog__card--featured {
		grid-column: 1 / span 2;
		grid-row: span 2;
	}
}

@media (max-width: 640px) {
	.silhocom-hero {
		min-height: 90vh;
	}

	.silhocom-hero--has-image::before {
		background-size: cover;
		background-position: 60% center;
	}

	.silhocom-hero__content {
		padding: 5rem 1.5rem 3rem;
	}

	.silhocom-hero__content-inner {
		padding-left: 0;
	}

	.silhocom-events__grid,
	.silhocom-categories__grid {
		grid-template-columns: 1fr;
	}

	.silhocom-blog__grid {
		grid-template-columns: 1fr;
		grid-auto-rows: minmax(240px, auto);
	}

	.silhocom-blog__card,
	.silhocom-blog__card--featured,
	.silhocom-blog__card:nth-child(2),
	.silhocom-blog__card:nth-child(3),
	.silhocom-blog__card:nth-child(4),
	.silhocom-blog__card:nth-child(5),
	.silhocom-blog__card:nth-child(6) {
		grid-column: 1;
		grid-row: auto;
	}
}
