/* Oxford Agency – Property Documents download button
 * Colours from the Oxford Agency Master Colour Palette (1.6):
 * Button: Valencia #E15728 (CMYK 0/79/100/0) background, Crema #FBF3E0 (CMYK 1/3/12/0) text.
 * Hover: Teal #005F63 background, Crema text.
 * Shape: rounded pill, matching the site's "Enquire Now" / "Share Property" buttons.
 * Font is inherited from the website so it matches the site's brand typography.
 */
.oxford-soi {
	--oxford-soi-teal: #005f63;
	--oxford-soi-crema: #fbf3e0;
	--oxford-soi-valencia: #e15728;
	--oxford-soi-radius: 999px;
	margin: 2rem 0;
}

.oxford-soi[hidden] {
	display: none !important;
}

/* When placed under the Enquire Now / Share Property buttons */
.oxford-soi.oxford-soi--placed {
	margin: 0.75rem 0 0;
}

.oxford-soi:not(.oxford-soi--theme) .oxford-soi__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.55rem 1.1rem;
	background: var(--oxford-soi-valencia);
	border: 1px solid var(--oxford-soi-valencia);
	border-radius: var(--oxford-soi-radius);
	color: var(--oxford-soi-crema);
	font: inherit;
	font-size: 0.8125rem;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.oxford-soi:not(.oxford-soi--theme) .oxford-soi__button:hover,
.oxford-soi:not(.oxford-soi--theme) .oxford-soi__button:focus-visible {
	background: var(--oxford-soi-teal);
	border-color: var(--oxford-soi-teal);
	color: var(--oxford-soi-crema);
	text-decoration: none;
}

.oxford-soi .oxford-soi__button:focus-visible {
	outline: 2px solid var(--oxford-soi-teal);
	outline-offset: 3px;
}

.oxford-soi--theme .oxford-soi__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.oxford-soi__icon {
	width: 0.95em;
	height: 0.95em;
	flex: none;
}

.oxford-soi__meta {
	padding-left: 0.6rem;
	border-left: 1px solid currentColor;
	font-size: 0.85em;
	opacity: 0.8;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.oxford-soi .oxford-soi__button {
		max-width: 100%;
		box-sizing: border-box;
	}
}
