.hsi-event-page-shell {
	box-sizing: border-box;
	width: 100%;
	padding: clamp(28px, 5vw, 64px) 22px clamp(50px, 7vw, 90px);
	background: #f7f4ee;
	overflow-x: clip;
}

.hsi-event-page-inner {
	width: 100%;
	min-width: 0;
	max-width: 1240px;
	margin: 0 auto;
}

body.single-hsi_event.hsi-event-fullwidth .sidebar,
body.single-hsi_event.hsi-event-fullwidth .sidebar_wrap,
body.single-hsi_event.hsi-event-fullwidth aside.sidebar {
	display: none !important;
}

body.single-hsi_event.hsi-event-fullwidth .page_content_wrap > .content_wrap,
body.single-hsi_event.hsi-event-fullwidth .page_content_wrap > .content_wrap > .content {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}

body.single-hsi_event.hsi-event-fullwidth .hsi-event-page-shell .hsi-wrap {
	margin-top: 0;
	margin-bottom: 0;
}

.hsi-wrap {
	--hsi-ink: #17261f;
	--hsi-green: #294333;
	--hsi-gold: #e7b13b;
	--hsi-cream: #f4efe7;
	--hsi-line: #ded8ce;
	--hsi-muted: #667085;
	width: 100%;
	max-width: 1180px;
	margin: 32px auto;
	color: var(--hsi-ink);
	font-family: inherit;
}

.hsi-wrap *, .hsi-wrap *::before, .hsi-wrap *::after { box-sizing: border-box; }
.hsi-event-poster { margin-bottom: 22px; overflow: hidden; border-radius: 22px; background: var(--hsi-cream); }
.hsi-event-poster img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; }

.hsi-hero-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(22px, 4vw, 38px);
	background: linear-gradient(135deg, var(--hsi-ink), var(--hsi-green));
	color: #fff;
	border-radius: 22px 22px 0 0;
}

.hsi-hero-card h1, .hsi-hero-card h2, .hsi-section-heading h3 { margin: 5px 0 0; color: inherit; line-height: 1.08; }
.hsi-hero-card h1, .hsi-hero-card h2 { font-size: clamp(28px, 5vw, 50px); }
.hsi-kicker { display: block; color: var(--hsi-gold); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hsi-status { flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.hsi-status.is-open { background: #d8f3df; color: #176b35; }
.hsi-status.is-closed { background: #ffe0dd; color: #9c2a22; }

.hsi-facts {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	border: 1px solid var(--hsi-line);
	border-top: 0;
	border-radius: 0 0 18px 18px;
	background: #fff;
	overflow: hidden;
}

.hsi-fact { min-width: 0; padding: 16px 18px; border-right: 1px solid var(--hsi-line); }
.hsi-fact:last-child { border-right: 0; }
.hsi-fact span { display: block; margin-bottom: 4px; color: var(--hsi-muted); font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.hsi-fact strong { display: block; overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }

.hsi-event-intro {
	margin: 22px 0 0;
	padding: 18px 22px;
	border-left: 4px solid var(--hsi-gold);
	border-radius: 0 12px 12px 0;
	background: var(--hsi-cream);
	font-size: 16px;
	line-height: 1.65;
}
.hsi-event-intro p { margin: 0; }

.hsi-layout { display: grid; gap: 24px; margin-top: 24px; }
.hsi-layout.has-rules { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
.hsi-rules-card, .hsi-form-card { min-width: 0; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--hsi-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(23, 38, 31, .06); }
.hsi-rules-mobile-summary { display: none; }
.hsi-rules-content { min-width: 0; }
.hsi-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.hsi-section-heading h3 { font-size: clamp(23px, 3vw, 31px); }
.hsi-rules-poster { margin-bottom: 20px; overflow: hidden; border-radius: 14px; background: var(--hsi-cream); }
.hsi-rules-poster img { display: block; width: 100%; height: auto; }
.hsi-rule-list { margin: 0; padding-left: 1.55em; }
.hsi-rule-list li { margin: 0 0 10px; padding-left: 4px; line-height: 1.55; }
.hsi-rule-list li::marker { color: #b27c0c; font-weight: 800; }

.hsi-registration-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hsi-field-group { min-width: 0; }
.hsi-field-group.hsi-full, .hsi-consents.hsi-full, .hsi-submit-row.hsi-full { grid-column: 1 / -1; }
.hsi-field-group label { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 750; }
.hsi-optional { color: var(--hsi-muted); font-size: 12px; font-weight: 500; }
.hsi-field-group input, .hsi-field-group textarea {
	display: block;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #b8b4ad;
	border-radius: 9px;
	background: #fff;
	color: var(--hsi-ink);
	font: inherit;
}
.hsi-field-group textarea { min-height: 96px; resize: vertical; }
.hsi-field-group input:focus, .hsi-field-group textarea:focus { outline: 3px solid rgba(231, 177, 59, .28); border-color: #a36c00; }

.hsi-consents { display: grid; gap: 11px; padding: 16px; border-radius: 12px; background: var(--hsi-cream); }
.hsi-consents label { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.45; }
.hsi-consents input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; }
.hsi-consents a { color: #7a5200; font-weight: 700; }
.hsi-submit-row { display: flex; align-items: center; gap: 14px; }
.hsi-submit-row > span { color: var(--hsi-muted); font-size: 12px; }
.hsi-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 17px; border: 0; border-radius: 999px; text-decoration: none !important; font-size: 14px; font-weight: 800; line-height: 1.2; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.hsi-button:hover { transform: translateY(-1px); }
.hsi-button:disabled { opacity: .65; cursor: wait; transform: none; }
.hsi-button-primary { background: var(--hsi-gold); color: var(--hsi-ink); }
.hsi-button-secondary { background: var(--hsi-cream); color: var(--hsi-ink); }
.hsi-notice { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 22px 0 0; padding: 16px 18px; border-radius: 12px; line-height: 1.45; }
.hsi-notice-success { background: #dff5e5; color: #155f32; border: 1px solid #acdabb; }
.hsi-notice-error { background: #ffebe8; color: #8e2820; border: 1px solid #efb5af; }
.hsi-notice-info { background: var(--hsi-cream); color: var(--hsi-ink); border: 1px solid var(--hsi-line); }
.hsi-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.hsi-confirmation-page, .hsi-public-draw { max-width: 1020px; }
.hsi-confirmation-hero, .hsi-public-result-hero {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: clamp(25px, 5vw, 42px);
	border-radius: 22px;
	background: linear-gradient(135deg, var(--hsi-ink), var(--hsi-green));
	color: #fff;
	box-shadow: 0 16px 40px rgba(23, 38, 31, .14);
}
.hsi-confirmation-hero h1, .hsi-public-result-hero h1 { margin: 5px 0 7px; color: #fff; font-size: clamp(31px, 5vw, 50px); line-height: 1.05; }
.hsi-confirmation-hero p, .hsi-public-result-hero p { margin: 0; color: #e1e9e4; font-size: 16px; }
.hsi-confirmation-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 78px;
	height: 78px;
	border: 4px solid rgba(255, 255, 255, .72);
	border-radius: 50%;
	background: #d8f3df;
	color: #176b35;
	font-size: 45px;
	font-weight: 900;
}
.hsi-confirmation-reference {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 3px 18px;
	margin: 18px 0;
	padding: 18px 22px;
	border: 1px solid #d6aa48;
	border-radius: 15px;
	background: #fff4cf;
}
.hsi-confirmation-reference span { color: #72520f; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hsi-confirmation-reference strong { grid-row: span 2; font-size: clamp(20px, 4vw, 29px); letter-spacing: .03em; text-align: right; overflow-wrap: anywhere; }
.hsi-confirmation-reference small { color: #72520f; }
.hsi-confirmation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hsi-confirmation-card {
	min-width: 0;
	padding: clamp(20px, 4vw, 30px);
	border: 1px solid var(--hsi-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(23, 38, 31, .055);
}
.hsi-confirmation-card h1, .hsi-confirmation-card h2 { margin: 5px 0 19px; color: var(--hsi-ink); line-height: 1.15; }
.hsi-confirmation-card h2 { font-size: 25px; }
.hsi-confirmation-rows { margin: 0; }
.hsi-confirmation-rows > div { display: grid; grid-template-columns: minmax(110px, .75fr) minmax(0, 1.25fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid #ece7df; }
.hsi-confirmation-rows > div:last-child { border-bottom: 0; }
.hsi-confirmation-rows dt { color: var(--hsi-muted); font-size: 13px; }
.hsi-confirmation-rows dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.hsi-validation-proof, .hsi-public-result-note { margin-top: 18px; padding: 18px 21px; border-left: 5px solid var(--hsi-gold); border-radius: 0 13px 13px 0; background: var(--hsi-cream); }
.hsi-validation-proof p, .hsi-public-result-note p { margin: 5px 0 0; line-height: 1.55; }
.hsi-confirmation-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hsi-invalid-result { max-width: 680px; margin: 0 auto; text-align: center; }
.hsi-invalid-result p { margin: 0 auto 20px; max-width: 520px; line-height: 1.6; }

.hsi-public-result-hero { display: block; }
.hsi-proof-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0; overflow: hidden; border: 1px solid var(--hsi-line); border-radius: 16px; background: #fff; }
.hsi-proof-facts > div { min-width: 0; padding: 16px; border-right: 1px solid var(--hsi-line); }
.hsi-proof-facts > div:last-child { border-right: 0; }
.hsi-proof-facts span { display: block; margin-bottom: 4px; color: var(--hsi-muted); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.hsi-proof-facts strong { display: block; overflow-wrap: anywhere; }
.hsi-public-pool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hsi-public-pool-card { position: relative; min-width: 0; padding: 24px 20px 20px; overflow: hidden; border: 1px solid var(--hsi-line); border-top: 5px solid var(--hsi-gold); border-radius: 17px; background: #fff; box-shadow: 0 10px 28px rgba(23, 38, 31, .06); }
.hsi-public-pool-card h2 { position: relative; margin: 0 0 15px; color: var(--hsi-ink); font-size: 25px; }
.hsi-public-pool-card ol { position: relative; margin: 0; padding-left: 1.4em; }
.hsi-public-pool-card li { padding: 9px 0; border-bottom: 1px solid #eee9e1; font-weight: 750; }
.hsi-public-pool-card li:last-child { border-bottom: 0; }
.hsi-pool-letter { position: absolute; top: -15px; right: 8px; color: rgba(231, 177, 59, .16); font-size: 105px; font-weight: 900; line-height: 1; }

.hsi-public-results {
	margin-top: 24px;
	padding: clamp(20px, 4vw, 30px);
	border-radius: 20px;
	background: linear-gradient(145deg, #17261f, #294333);
	color: #fff;
	box-shadow: 0 14px 36px rgba(23, 38, 31, .13);
}
.hsi-public-results-head { margin-bottom: 18px; }
.hsi-public-results-head h2 { margin: 5px 0 6px; color: #fff; font-size: clamp(27px, 4vw, 38px); line-height: 1.08; }
.hsi-public-results-head p { margin: 0; color: #d9e3dc; font-size: 13px; }
.hsi-public-standings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hsi-public-standing-card {
	min-width: 0;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 14px;
	background: #fff;
	color: var(--hsi-ink);
}
.hsi-public-standing-card h3 { margin: 0 0 12px; color: var(--hsi-ink); font-size: 21px; }
.hsi-public-results .hsi-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hsi-public-standing-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13px; }
.hsi-public-standing-table th, .hsi-public-standing-table td { padding: 9px 7px; border-bottom: 1px solid #e8e3da; text-align: center; }
.hsi-public-standing-table th { color: #6a6255; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.hsi-public-standing-table th:nth-child(2), .hsi-public-standing-table td:nth-child(2) { min-width: 145px; text-align: left; }
.hsi-public-standing-table tbody tr:last-child td { border-bottom: 0; }
.hsi-public-final-results { margin-top: 22px; }
.hsi-public-final-results > h3 { margin: 0 0 12px; color: #fff; font-size: 23px; }
.hsi-public-final-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hsi-public-final-grid article { min-width: 0; padding: 16px; border-radius: 13px; background: #fff; color: var(--hsi-ink); }
.hsi-public-final-grid article > span { display: block; margin-bottom: 9px; color: #8a6108; font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.hsi-public-final-grid article > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eee9e1; }
.hsi-public-final-grid article strong { min-width: 0; overflow-wrap: anywhere; }
.hsi-public-final-grid article b { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 31px; border-radius: 8px; background: #f4efe7; font-size: 18px; }
.hsi-public-final-grid article small { display: block; margin-top: 9px; color: var(--hsi-muted); line-height: 1.4; }

@media (max-width: 980px) {
	.hsi-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hsi-fact:nth-child(3n) { border-right: 0; }
	.hsi-fact:nth-child(n + 4) { border-top: 1px solid var(--hsi-line); }
	.hsi-layout.has-rules { grid-template-columns: 1fr; }
	.hsi-public-pool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hsi-public-final-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hsi-proof-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hsi-proof-facts > div:nth-child(2n) { border-right: 0; }
	.hsi-proof-facts > div:nth-child(n + 3) { border-top: 1px solid var(--hsi-line); }
}

@media (max-width: 720px) {
	.hsi-event-page-shell { padding: 16px 10px 44px; }
	.hsi-event-page-inner, .hsi-wrap { width: 100%; min-width: 0; }
	.hsi-wrap { margin: 0 auto; }
	.hsi-event-poster { margin-bottom: 14px; border-radius: 15px; }
	.hsi-hero-card { align-items: flex-start; flex-direction: column; gap: 15px; padding: 21px 18px; border-radius: 16px 16px 0 0; }
	.hsi-hero-card h1, .hsi-hero-card h2 { max-width: 100%; margin-top: 4px; font-size: clamp(26px, 8vw, 34px); line-height: 1.12; overflow-wrap: anywhere; }
	.hsi-status { width: 100%; padding: 10px 12px; text-align: center; }
	.hsi-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hsi-fact { padding: 13px 12px; }
	.hsi-fact strong { font-size: 13px; }
	.hsi-fact:nth-child(3n) { border-right: 1px solid var(--hsi-line); }
	.hsi-fact:nth-child(2n) { border-right: 0; }
	.hsi-fact:nth-child(n + 3) { border-top: 1px solid var(--hsi-line); }
	.hsi-event-intro { margin-top: 16px; padding: 15px 16px; font-size: 15px; line-height: 1.55; }
	.hsi-layout { gap: 14px; margin-top: 16px; }
	.hsi-form-card { padding: 20px 16px; border-radius: 16px; }
	.hsi-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 18px; }
	.hsi-section-heading h3 { font-size: 25px; }
	.hsi-registration-form { grid-template-columns: 1fr; gap: 16px; }
	.hsi-field-group.hsi-full, .hsi-consents.hsi-full, .hsi-submit-row.hsi-full { grid-column: auto; }
	.hsi-field-group label { font-size: 14px; }
	.hsi-field-group input, .hsi-field-group textarea { max-width: 100%; min-height: 50px; padding: 12px; font-size: 16px; }
	.hsi-field-group textarea { min-height: 110px; }
	.hsi-consents { gap: 14px; padding: 15px 14px; }
	.hsi-consents label { gap: 11px; font-size: 14px; line-height: 1.45; }
	.hsi-consents input { width: 22px; height: 22px; margin-top: 0; }
	.hsi-submit-row { align-items: stretch; flex-direction: column; }
	.hsi-submit-row > span { text-align: center; }
	.hsi-submit-row .hsi-button { width: 100%; min-height: 52px; font-size: 15px; }
	.hsi-notice { margin-top: 16px; padding: 14px; }

	.hsi-rules-card { padding: 0; border-radius: 16px; overflow: hidden; }
	.hsi-rules-mobile-summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 17px 16px;
		color: var(--hsi-ink);
		cursor: pointer;
		list-style: none;
	}
	.hsi-rules-mobile-summary::-webkit-details-marker { display: none; }
	.hsi-rules-mobile-summary strong { display: block; margin-top: 2px; font-size: 18px; line-height: 1.25; }
	.hsi-rules-mobile-chevron { flex: 0 0 auto; font-size: 28px; line-height: 1; transition: transform .2s ease; }
	.hsi-rules-card[open] .hsi-rules-mobile-summary { border-bottom: 1px solid var(--hsi-line); }
	.hsi-rules-card[open] .hsi-rules-mobile-chevron { transform: rotate(180deg); }
	.hsi-rules-content { padding: 16px; }
	.hsi-rules-content .hsi-section-heading { margin-bottom: 16px; }
	.hsi-rules-desktop-heading { display: none; }
	.hsi-rules-content .hsi-button { width: 100%; min-height: 48px; }
	.hsi-rules-poster { margin-bottom: 16px; border-radius: 11px; }
	.hsi-rule-list { padding-left: 1.35em; font-size: 14px; }
	.hsi-rule-list li { margin-bottom: 12px; padding-left: 2px; }

	.hsi-confirmation-hero { align-items: flex-start; flex-direction: column; padding: 24px 19px; border-radius: 17px; }
	.hsi-confirmation-check { width: 60px; height: 60px; font-size: 34px; }
	.hsi-confirmation-hero h1, .hsi-public-result-hero h1 { font-size: 31px; }
	.hsi-confirmation-reference { grid-template-columns: 1fr; padding: 16px; }
	.hsi-confirmation-reference strong { grid-row: auto; text-align: left; }
	.hsi-confirmation-grid, .hsi-public-pool-grid { grid-template-columns: 1fr; }
	.hsi-public-results { margin-top: 16px; padding: 19px 13px; border-radius: 16px; }
	.hsi-public-standings-grid, .hsi-public-final-grid { grid-template-columns: 1fr; }
	.hsi-public-standing-card { padding: 15px 11px; }
	.hsi-public-standing-card h3 { padding-left: 3px; }
	.hsi-public-standing-table { min-width: 500px; font-size: 12px; }
	.hsi-public-standing-table th, .hsi-public-standing-table td { padding: 9px 5px; }
	.hsi-confirmation-card { padding: 20px 16px; border-radius: 15px; }
	.hsi-confirmation-rows > div { grid-template-columns: 1fr; gap: 3px; }
	.hsi-confirmation-actions { align-items: stretch; flex-direction: column; }
	.hsi-confirmation-actions .hsi-button { width: 100%; min-height: 50px; }
	.hsi-public-result-hero { padding: 24px 19px; border-radius: 17px; }
	.hsi-proof-facts { grid-template-columns: 1fr; }
	.hsi-proof-facts > div { border-right: 0; border-top: 1px solid var(--hsi-line); }
	.hsi-proof-facts > div:first-child { border-top: 0; }
}

@media (max-width: 380px) {
	.hsi-event-page-shell { padding-right: 7px; padding-left: 7px; }
	.hsi-hero-card { padding-right: 15px; padding-left: 15px; }
	.hsi-form-card { padding-right: 13px; padding-left: 13px; }
	.hsi-fact { padding-right: 9px; padding-left: 9px; }
}

@media print {
	body.single-hsi_event header,
	body.single-hsi_event footer,
	body.single-hsi_event .top_panel,
	body.single-hsi_event .footer_wrap,
	body.single-hsi_event .copyright_wrap,
	body.single-hsi_event .scroll_to_top,
	.hsi-confirmation-actions { display: none !important; }
	body.single-hsi_event, .hsi-event-page-shell { background: #fff !important; }
	.hsi-event-page-shell { padding: 0 !important; }
	.hsi-wrap { max-width: none; margin: 0; color: #111; }
	.hsi-confirmation-card, .hsi-public-pool-card, .hsi-public-standing-card, .hsi-public-final-grid article { box-shadow: none; break-inside: avoid; }
	.hsi-public-results { background: #fff !important; color: #111; box-shadow: none; }
	.hsi-public-results-head h2, .hsi-public-final-results > h3 { color: #111; }
	.hsi-public-results-head p { color: #555; }
	.hsi-public-result-note, .hsi-validation-proof { break-inside: avoid; }
}
