/**
 * DinoFolio portfolio single layout for Accepta.
 */

body.accepta-portfolio-single.accepta-has-hero .site-content {
	margin-top: 0;
}

body.accepta-portfolio-single .accepta-portfolio-single-wrap {
	width: 100%;
	max-width: none;
	padding: 0;
}

body.accepta-portfolio-single .accepta-portfolio-hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-top: 0;
	padding-top: 0;
	min-height: clamp(320px, 55vh, 720px);
	position: relative;
}

body.accepta-portfolio-single .accepta-portfolio-hero--no-image {
	background-color: #1a2332;
}

.accepta-portfolio-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.accepta-portfolio-hero-media .accepta-portfolio-hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.accepta-portfolio-hero .accepta-portfolio-hero-overlay {
	display: block;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.35) 0%,
		rgba(0, 0, 0, 0.2) 45%,
		rgba(0, 0, 0, 0.55) 100%
	);
}

.accepta-portfolio-hero .accepta-hero-content-wrapper {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100%;
	padding: 0;
}

.accepta-portfolio-hero-container {
	display: flex;
	flex-direction: column;
	flex: 1;
	width: 100%;
	min-height: 100%;
}

.accepta-portfolio-hero-intro {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	min-height: 0;
	padding: clamp(5rem, 12vh, 7rem) 0 clamp(1rem, 2vh, 1.25rem);
}

.accepta-portfolio-hero-meta {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem 1.5rem;
	width: 100%;
	margin-top: 0;
	padding: clamp(0.85rem, 2vh, 1.1rem) 0 clamp(1rem, 2.5vh, 1.35rem);
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.accepta-portfolio-hero .accepta-hero-content .accepta-hero-heading.accepta-portfolio-hero-title {
	color: #ffffff;
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 0.75rem;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.accepta-portfolio-hero-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

.accepta-portfolio-hero-categories .accepta-portfolio-hero-category-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.45em 0.85em 0.45em 0.6em;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	backdrop-filter: blur(4px);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.accepta-portfolio-hero-categories .accepta-portfolio-hero-category-pill:hover,
.accepta-portfolio-hero-categories .accepta-portfolio-hero-category-pill:focus {
	background: rgba(255, 255, 255, 0.28);
	border-color: rgba(255, 255, 255, 0.45);
	color: #ffffff;
}

.accepta-portfolio-hero-categories .dinofolio-category-pill-icon,
.accepta-portfolio-hero-categories .dinofolio-category-icon.dinofolio-category-pill-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	color: #ffffff;
}

.accepta-portfolio-hero-categories .dinofolio-category-pill-icon svg,
.accepta-portfolio-hero-categories .dinofolio-category-icon.dinofolio-category-pill-icon svg {
	width: 1em;
	height: 1em;
	display: block;
}

.accepta-portfolio-hero-categories .dinofolio-category-pill-icon img,
.accepta-portfolio-hero-categories .dinofolio-category-icon.dinofolio-category-pill-icon img {
	width: 1em;
	height: 1em;
	object-fit: contain;
	display: block;
}

.accepta-portfolio-hero-date {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.5rem;
	color: #ffffff;
	font-size: 0.95rem;
	line-height: 1.4;
}

.accepta-portfolio-hero-date-label {
	font-weight: 600;
	opacity: 0.9;
}

.accepta-portfolio-hero-date-value {
	opacity: 0.95;
}

.accepta-portfolio-hero-launch {
	flex-shrink: 0;
	margin: 0 0 0 auto;
	display: inline-block;
	padding: 10px 24px;
	font-size: 14px;
	border-radius: 4px;
	border: 2px solid transparent;
	text-decoration: none !important;
	font-weight: 500;
	text-transform: capitalize;
	transition: all 0.3s ease;
}

.accepta-portfolio-hero-launch.accepta-hero-button-outline {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.08);
}

.accepta-portfolio-hero-launch.accepta-hero-button-outline:hover,
.accepta-portfolio-hero-launch.accepta-hero-button-outline:focus {
	color: var(--accepta-primary-color, #6F9C50);
	background: #ffffff;
	border-color: #ffffff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.accepta-portfolio-single-content .dinofolio-related-projects {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.accepta-portfolio-single-main {
	width: 100%;
	max-width: none;
}

.accepta-portfolio-single-main > .accepta-portfolio-single-article {
	box-shadow: none;
	background: transparent;
	padding: 0;
	margin: 0;
}

.accepta-portfolio-single-content {
	padding: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
}

.accepta-portfolio-single-content .dinofolio-single-meta {
	margin-top: 0;
}

.accepta-portfolio-single-main .comments-area {
	max-width: 1160px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

@media (max-width: 782px) {
	.accepta-portfolio-hero-intro {
		padding-top: clamp(4.5rem, 10vh, 6rem);
	}

	.accepta-portfolio-hero-meta {
		padding-bottom: 1rem;
	}

	.accepta-portfolio-hero-launch {
		padding: 8px 20px;
		font-size: 13px;
	}
}
