/**
 * dp Share panel block
 */

.dp-share {
	display: inline-flex;
	flex-direction: column;
	font-family: var(--dp-font-ui, inherit);
	margin-top: 0.75rem;
	max-width: none;
	position: relative;
	vertical-align: top;
	width: auto;
}

body.dp-site-page .dp-share {
	margin-top: 0;
}

.dp-share__trigger {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--dp-font-ui, inherit);
	font-weight: 600;
	gap: 0.35rem;
	justify-content: center;
	line-height: 1.2;
	padding: 0;
	text-decoration: none;
	transition:
		background-color 180ms ease,
		color 180ms ease,
		border-color 180ms ease;
}

.dp-share__trigger .dp-share__action-icon svg {
	height: 1rem;
	width: 1rem;
}

.dp-share__panel {
	background: var(--dp-color-surface, #f2f2f2);
	border: 1px solid var(--dp-color-border-neutral, #bfc7d1);
	border-radius: var(--dp-radius-sm, 4px);
	box-shadow: var(--dp-shadow-soft, 0 12px 32px rgb(11 39 72 / 12%));
	box-sizing: border-box;
	left: 50%;
	max-width: min(32rem, calc(100vw - 2rem));
	overflow: hidden;
	padding: 0.65rem;
	position: absolute;
	top: calc(100% + 6px);
	transform: translateX(-50%);
	width: 32rem;
	z-index: 200;
}

.dp-share__panel[hidden] {
	display: none !important;
}

.dp-share__close {
	align-items: center;
	background: var(--dp-color-white, #fff);
	border: 1px solid var(--dp-color-border-neutral, #bfc7d1);
	border-radius: var(--dp-radius-sm, 4px);
	color: var(--dp-color-navy-deep, #0b2748);
	cursor: pointer;
	display: none;
	font: inherit;
	font-size: var(--dp-text-body-sm, 0.875rem);
	font-weight: 600;
	justify-content: center;
	margin: 0 0 0.5rem;
	min-height: 2.25rem;
	padding: 0.4rem 0.75rem;
	width: 100%;
}

.dp-share__actions {
	display: grid;
	gap: 0.4rem;
	width: 100%;
}

.dp-share__actions--utility {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dp-share__actions--social {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 0.15rem;
}

.dp-share__action {
	align-items: center;
	background: var(--dp-color-white, #fff);
	border: 1px solid var(--dp-color-border-neutral, #bfc7d1);
	border-radius: var(--dp-radius-sm, 4px);
	box-sizing: border-box;
	color: var(--dp-color-navy-deep, #0b2748);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: var(--dp-text-body-sm, 0.875rem);
	font-weight: 600;
	gap: 0.35rem;
	justify-content: center;
	line-height: 1.2;
	max-width: 100%;
	min-height: 2.35rem;
	min-width: 0;
	overflow: hidden;
	padding: 0.4rem 0.45rem;
	text-align: center;
	text-decoration: none;
}

.dp-share__action--icon-only {
	padding: 0.4rem;
}

.dp-share__action-label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dp-share__action-icon {
	align-items: center;
	border-radius: 999px;
	color: currentcolor;
	display: inline-flex;
	flex: 0 0 auto;
	height: 1.5rem;
	justify-content: center;
	line-height: 0;
	width: 1.5rem;
}

.dp-share__action-icon svg {
	fill: currentcolor;
	height: 1rem;
	width: 1rem;
}

.dp-share__action--copy .dp-share__action-icon,
.dp-share__action--email .dp-share__action-icon,
.dp-share__action--native .dp-share__action-icon {
	background: rgb(11 39 72 / 8%);
	color: var(--dp-color-navy-deep, #0b2748);
}

.dp-share__action--whatsapp .dp-share__action-icon {
	background: #25d366;
	color: #fff;
}

.dp-share__action--facebook .dp-share__action-icon {
	background: #1877f2;
	color: #fff;
}

.dp-share__action--x .dp-share__action-icon {
	background: #000;
	color: #fff;
}

.dp-share__action--icon-only .dp-share__action-icon {
	height: 1.75rem;
	width: 1.75rem;
}

.dp-share__action--icon-only .dp-share__action-icon svg {
	height: 1.05rem;
	width: 1.05rem;
}

.dp-share__action:hover,
.dp-share__action:focus-visible,
.dp-share__close:hover,
.dp-share__close:focus-visible,
.dp-share__fallback-input:focus-visible {
	outline: 2px solid var(--dp-color-gold-primary, #c89a2b);
	outline-offset: 1px;
}

.dp-share__action:hover,
.dp-share__action:focus-visible {
	border-color: var(--dp-color-navy-deep, #0b2748);
}

.dp-share__manual-copy {
	display: grid;
	gap: 0.25rem;
	margin-top: 0.45rem;
	width: 100%;
}

.dp-share__manual-copy[hidden] {
	display: none !important;
}

.dp-share__fallback-label {
	color: var(--dp-color-body, #59616b);
	font-size: var(--dp-text-label-sm, 0.75rem);
	font-weight: 600;
}

.dp-share__fallback-input {
	background: var(--dp-color-white, #fff);
	border: 1px solid var(--dp-color-border-neutral, #bfc7d1);
	border-radius: var(--dp-radius-sm, 4px);
	box-sizing: border-box;
	color: var(--dp-color-navy-deep, #0b2748);
	font-family: inherit;
	font-size: var(--dp-text-body-sm, 0.875rem);
	min-height: 2rem;
	min-width: 0;
	padding: 0.35rem 0.55rem;
	width: 100%;
}

.dp-share__status {
	color: var(--dp-color-body, #59616b);
	font-size: var(--dp-text-body-sm, 0.875rem);
	margin: 0.35rem 0 0;
	min-height: 1rem;
}

.dp-share--satellite-outline .dp-share__trigger,
body.dp-site-page .dp-share .dp-share__trigger {
	background: transparent;
	border: 2px solid var(--dp-color-navy-deep, #0b2748);
	border-radius: var(--dp-radius-sm, 4px);
	color: var(--dp-color-navy-deep, #0b2748);
	font-size: var(--dp-text-button-md, 1rem);
	gap: 0.5rem;
	padding: 0.5em 1em;
}

.dp-share--satellite-outline .dp-share__trigger .dp-share__action-icon,
body.dp-site-page .dp-share .dp-share__trigger .dp-share__action-icon {
	background: rgb(11 39 72 / 8%);
	border-radius: 999px;
	color: var(--dp-color-navy-deep, #0b2748);
	height: 1.5rem;
	width: 1.5rem;
}

.dp-share--satellite-outline .dp-share__trigger::after,
body.dp-site-page .dp-share .dp-share__trigger::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentcolor;
	content: "";
	display: inline-block;
	height: 0;
	margin-left: 2px;
	transition: transform 150ms ease;
	vertical-align: middle;
	width: 0;
}

.dp-share--satellite-outline .dp-share__trigger[aria-expanded="true"]::after,
body.dp-site-page .dp-share .dp-share__trigger[aria-expanded="true"]::after {
	transform: rotate(180deg);
}

@media (max-width: 900px) {
	.dp-share--satellite-outline .dp-share__trigger,
	body.dp-site-page .dp-share .dp-share__trigger {
		font-size: var(--dp-text-button-sm, 0.875rem);
		padding: 0.35em 0.75em;
	}
}

.dp-share--satellite-outline .dp-share__trigger:hover,
.dp-share--satellite-outline .dp-share__trigger:focus-visible,
body.dp-site-page .dp-share .dp-share__trigger:hover,
body.dp-site-page .dp-share .dp-share__trigger:focus-visible {
	background: rgb(11 39 72 / 6%);
	outline: none;
}

.dp-share--hero-outline .dp-share__trigger {
	background: transparent;
	border: var(--dp-button-secondary-border, 2px solid #fff);
	border-radius: var(--dp-radius-sm, 4px);
	color: var(--dp-color-white, #fff);
	font-size: var(--dp-text-button-md, 1rem);
	padding: 0.5em 1em;
}

@media (max-width: 900px) {
	.dp-share--hero-outline .dp-share__trigger {
		font-size: var(--dp-text-button-sm, 0.875rem);
		padding: 0.35em 0.75em;
	}
}

.dp-share--hero-outline .dp-share__trigger:hover,
.dp-share--hero-outline .dp-share__trigger:focus-visible {
	background: rgb(255 255 255 / 12%);
	outline: none;
}

.dp-share--primary .dp-share__trigger {
	background: var(--dp-color-gold-primary, #c89a2b);
	border: 0;
	border-radius: var(--dp-radius-sm, 4px);
	color: var(--dp-color-navy-deep, #0b2748);
	font-size: var(--dp-text-button-lg, 1.25rem);
	padding: 1rem 2rem;
}

.dp-share--primary .dp-share__trigger:hover,
.dp-share--primary .dp-share__trigger:focus-visible {
	background: var(--dp-color-gold-bright, #ebc45e);
	color: var(--dp-color-navy-deep, #0b2748);
	outline: none;
}

@media (max-width: 782px) {
	.dp-share__panel {
		max-height: calc(100vh - 2rem);
		overflow-y: auto;
		width: min(32rem, calc(100vw - 2rem));
	}

	.dp-share__close {
		display: inline-flex;
	}

	.dp-share__actions--utility {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dp-share__action--native {
		grid-column: span 2;
	}
}

@media (max-width: 420px) {
	.dp-share__actions--utility,
	.dp-share__actions--social {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.dp-share__action--native {
		grid-column: auto;
	}

	.dp-share__action-label {
		font-size: 0.75rem;
	}
}
