/* ==========================================================
   Informative privacy section (landing + notice pages)
   Markup rule: h1-h6, ul, ol, li, p, span stay classless;
   styles target them as descendants of a classed wrapper.
   ========================================================== */

.ip-page {
	--ip-blue: var(--color-sky-blue, #00A4EE);
	--ip-orange: var(--color-orange, #ED8100);
	--ip-line: #00A4EE;
	--ip-sticky-top: 0px;   /* set by JS = visible sticky header height */
	--ip-tabs-h: 0px;       /* set by JS = tab bar height */
}

/* Hero */
.ip-hero.acqua-breadcrumb.style-1 {
	height: max(23.438vw, 220px);
}

/* ---------------- Tabs ---------------- */
.ip-tabs {
	position: sticky;
	top: var(--ip-sticky-top);
	z-index: 90;
	background: #fff;
	margin-top: 24px;
}

.ip-tabs-nav {
	border-top: 1px solid var(--ip-line);
	border-bottom: 1px solid var(--ip-line);
	position: relative;
}

.ip-tabs-toggle {
	display: none;
}

.ip-tabs-list ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 36px;
	list-style: none;
	margin: 0;
	padding: 14px 0;
}

.ip-tabs-list li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ip-tabs-list a {
	display: inline-block;
	padding: 4px 0;
	font-family: var(--font-titillium, 'Titillium Web', sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--color-black, #000);
	text-decoration: none;
	white-space: nowrap;
	transition: color .15s ease;
}

.ip-tabs-list a:hover,
.ip-tabs-list a[aria-current="page"] {
	color: var(--ip-orange);
}

.ip-tabs-list a[aria-current="page"] {
	font-weight: 700;
}

/* Visible focus everywhere in the section */
.ip-page a:focus-visible,
.ip-page button:focus-visible {
	outline: 2px solid var(--ip-orange);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---------------- Title ---------------- */
.ip-title-bar {
	margin: 50px 0 40px;
}

.ip-title h1 {
	font-family: var(--font-titillium, 'Titillium Web', sans-serif);
	font-weight: 700;
	font-size: 42px;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-black, #000);
	margin: 0;
}

/* ---------------- Landing ---------------- */
.ip-landing-body {
	margin-bottom: 90px;
}

.ip-intro p {
	font-size: 16px;
	line-height: 1.6;
	color: #000;
	margin: 0 0 16px;
}

.ip-download-list {
	margin-top: 40px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.ip-download-item .file-name a {
	color: inherit;
	text-decoration: none;
}

.ip-download-item .file-name a:hover {
	color: var(--ip-blue);
}

/* ---------------- Notice ---------------- */
.ip-notice-body {
	margin-bottom: 90px;
}

.ip-index {
	position: sticky;
	top: calc(var(--ip-sticky-top) + var(--ip-tabs-h) + 30px);
	max-height: calc(100vh - var(--ip-sticky-top) - var(--ip-tabs-h) - 60px);
	overflow-y: auto;
	padding-right: 20px;
	margin-bottom: 30px;
}

.ip-index-list ol {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 1px solid #d9d9d9;
}

.ip-index-list li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ip-index-list a {
	display: block;
	padding: 7px 0 7px 16px;
	margin-left: -1px;
	border-left: 2px solid transparent;
	font-size: 14px;
	line-height: 1.35;
	color: #000;
	text-decoration: none;
	transition: color .15s ease, border-color .15s ease;
}

.ip-index-list a:hover {
	color: var(--ip-blue);
}

.ip-index-list a.is-active,
.ip-index-list a[aria-current="true"] {
	color: var(--ip-orange);
	font-weight: 700;
	border-left-color: var(--ip-orange);
}

.ip-content {
	font-size: 16px;
	line-height: 1.6;
	color: #000;
}

.ip-content h2 {
	font-family: var(--font-titillium, 'Titillium Web', sans-serif);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	color: #000;
	margin: 40px 0 16px;
	scroll-margin-top: calc(var(--ip-sticky-top) + var(--ip-tabs-h) + 24px);
}

.ip-content > h2:first-child,
.ip-content > p:first-child + h2 {
	margin-top: 0;
}

.ip-content h3,
.ip-content h4 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: #000;
	margin: 24px 0 10px;
}

.ip-content p {
	margin: 0 0 14px;
}

.ip-content ul,
.ip-content ol {
	margin: 0 0 16px;
	padding-left: 22px;
}

.ip-content ul li {
	list-style: disc;
	margin-bottom: 6px;
}

.ip-content ol li {
	list-style: decimal;
	margin-bottom: 6px;
}

.ip-content ul ul li {
	list-style: circle;
}

.ip-content ol[type="a"] li,
.ip-content ol.is-style-lower-alpha li {
	list-style: lower-alpha;
}

.ip-content a {
	color: var(--ip-blue);
	text-decoration: underline;
	word-break: break-word;
}

.ip-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 16px;
}

.ip-content table td,
.ip-content table th {
	border: 1px solid #d9d9d9;
	padding: 8px 10px;
	vertical-align: top;
}

.ip-download-bottom {
	margin-top: 50px;
}

/* Password form */
.ip-password-form form {
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
}

.ip-password-form p {
	font-size: 16px;
	margin-bottom: 16px;
}

.ip-password-form input[type="password"] {
	border: 1px solid #ccc;
	padding: 8px 12px;
	margin: 0 8px 8px;
}

.ip-password-form input[type="submit"] {
	background: var(--ip-blue);
	color: #fff;
	border: 0;
	padding: 9px 22px;
	text-transform: uppercase;
	font-weight: 700;
	cursor: pointer;
}

/* ==========================================================
   Mobile / tablet (< 1200px): Shopify legal page pattern
   ========================================================== */
@media (max-width: 1199px) {
	.ip-tabs {
		margin-top: 0;
	}

	.ip-tabs .container {
		padding-left: 0;
		padding-right: 0;
		max-width: none;
	}

	.ip-tabs-nav {
		border-top: 0;
	}

	.ip-tabs-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 14px 20px;
		background: #fff;
		border: 0;
		text-align: left;
		cursor: pointer;
		font-family: var(--font-titillium, 'Titillium Web', sans-serif);
		font-size: 14px;
		font-weight: 700;
		text-transform: uppercase;
		color: var(--ip-orange);
	}

	.ip-tabs-toggle::after {
		content: '';
		flex: 0 0 auto;
		width: 10px;
		height: 10px;
		margin-left: 12px;
		border-right: 2px solid #000;
		border-bottom: 2px solid #000;
		transform: translateY(-3px) rotate(45deg);
		transition: transform .2s ease;
	}

	.ip-tabs-toggle[aria-expanded="true"]::after {
		transform: translateY(2px) rotate(-135deg);
	}

	.ip-tabs-list {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #fff;
		border-bottom: 1px solid var(--ip-line);
		box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
		max-height: 70vh;
		overflow-y: auto;
	}

	.ip-tabs-nav.is-open .ip-tabs-list {
		display: block;
	}

	.ip-tabs-list ul {
		display: block;
		padding: 6px 0;
	}

	.ip-tabs-list a {
		display: block;
		padding: 12px 20px;
		white-space: normal;
	}

	.ip-title-bar {
		margin: 36px 0 28px;
	}

	.ip-title h1 {
		font-size: 30px;
	}

	.ip-index {
		position: static;
		max-height: none;
		overflow: visible;
		padding-right: 0;
		margin-bottom: 36px;
	}

	.ip-index-list ol {
		border-left: 0;
	}

	.ip-index-list a {
		padding: 8px 0;
		border-left: 0;
		margin-left: 0;
		text-decoration: underline;
	}

	.ip-index-list a.is-active {
		border-left: 0;
	}

	.ip-content h2 {
		font-size: 20px;
		margin-top: 32px;
	}

	.ip-landing-body,
	.ip-notice-body {
		margin-bottom: 60px;
	}
}

@media (max-width: 575px) {
	.ip-title h1 {
		font-size: 24px;
	}

	.ip-content,
	.ip-intro p {
		font-size: 15px;
	}

	.ip-download-item {
		gap: 16px;
	}

	.ip-download-item .file-name {
		line-height: 1.3;
	}
}

/* SHM 03/12/2026 - The theme sets html { scroll-padding-top: 140px }, which adds up to the
   scroll-margin-top of the H2 (sticky header + tabs): reset it on these pages so the
   index anchors land right under the tabs and the scroll-spy highlights the clicked section. */
html:has(.ip-page) {
	scroll-padding-top: 0;
}
