/*
 * I Already Won Fitness: Story Video  (v1.0.0)
 * Prompt 13 (CUSTOM-AVADA-ELEMENT v5.6). Styles [iawf_story_video] only.
 * Root: button.iawf-story. Layout around it (Container, Column, width,
 * margins) belongs to the Avada Builder.
 *
 * The root is a <button>: every property a theme or Avada button rule could
 * set is written here so the card always looks the same.
 */

button.iawf-story,
button.iawf-story:hover,
button.iawf-story:focus,
button.iawf-story:active {
	position: relative;
	display: block;
	width: 100%;
	max-width: 400px;
	height: auto;
	min-height: 0;
	aspect-ratio: 9 / 16;
	max-height: 80svh;
	margin: 0 auto;
	padding: 0;
	border: 0;
	border-radius: 24px;
	overflow: hidden;
	background: var(--awb-color2);
	box-shadow: none;
	color: var(--awb-color8);
	font-family: var(--awb-typography3-font-family), system-ui, sans-serif;
	font-style: normal;
	text-transform: none;
	line-height: normal;
	letter-spacing: normal;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

button.iawf-story:focus {
	outline: none;
}

button.iawf-story:focus-visible {
	outline: 2px solid var(--awb-color8);
	outline-offset: 4px;
}

.iawf-story .iawf-story__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	pointer-events: none;
}

.iawf-story .iawf-story__pill {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .7);
	color: var(--awb-color8);
	font-family: var(--awb-typography3-font-family), system-ui, sans-serif;
	font-size: 12px;
	font-weight: 700;
	font-style: normal;
	line-height: normal;
	letter-spacing: .06em;
	text-transform: none;
	white-space: nowrap;
	pointer-events: none;
}
