
/* intro */

.pdr-festival-se-intro {
	background: var(--prodog-yellow);
	padding: 15px 25px 0;
}

.pdr-festival-se-intro .pdr-container {
	display: flex;
	justify-content: flex-start;
	gap: 125px;
	align-items: center;
}

.pdr-festival-se-intro-image {
	width: 750px;
	height: 454px;
	display: flex;
	align-items: flex-end;
}

.pdr-festival-se-intro-image img {
	width: 100%;
	position: relative;
	left: -50px;
}

.pdr-festival-se-intro h1 {
	color: var(--prodog-black);
	text-transform: uppercase;
	font-size: 65px;
	line-height: 55px;
	margin-bottom: 30px;
	width: 100%;
	max-width: 530px;
	position: relative;
	padding-bottom: 30px;
	transform: rotate(-1deg);
    display: block;
}

.pdr-festival-se-intro h1:after {
	content: '';
	position: absolute;
	left: -20px;
	bottom: -7px;
	width: 400px;
	height: 20px;
	background: url('../img/festival/se-underline.png') no-repeat center;
	background-size: contain;
}

.pdr-festival-se-intro h1 span {
	display: block;
	font-size: 65px;
	line-height: 55px;
}

.pdr-festival-se-intro-content {
	width: 100%;
	max-width: 535px;
}

.pdr-festival-se-intro-content-content {
	margin-bottom: 40px;
}

.pdr-festival-se-intro-content-content p {
    font-size: 22px;
    line-height: 25px;
}

.pdr-festival-se-intro-content-content > :last-child {
	margin-bottom: 0;
}

.pdr-festival-ch-intro-content-content p strong {
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 800;
	text-transform: uppercase;
}

.pdr-festival-se-intro-button a.pdr-festival-button-alt:hover {
	background: var(--prodog-black);
	color: var(--prodog-yellow);
	border-color: var(--prodog-black);
	box-shadow: inset 0 0 0 3px var(--prodog-black);
}

/* companies */

.pdr-festival-se-companies {
	padding: 50px 25px 75px;
	position: relative;
	overflow: visible;
}

.pdr-festival-se-companies h2 {
	color: var(--prodog-black);
	text-transform: uppercase;
	font-size: 65px;
	line-height: 55px;
	margin: 0 auto 60px;
	width: 100%;
	max-width: 730px;
	position: relative;
	padding-bottom: 30px;
	transform: rotate(-1deg);
	text-align: center;
}

.pdr-festival-se-companies h2:after {
	content: '';
	left: 50%;
	transform: translateX(-50%);
	position: absolute;
	bottom: -7px;
	width: 400px;
	max-width: 100%;
	height: 20px;
	background: url('../img/festival/se-underline.png') no-repeat center;
	background-size: contain;
}

.pdr-festival-se-companies-blocks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 35px;
}

.pdr-festival-se-companies-block {
	width: calc((100% - 140px) / 5); /* 4 gaps x 35px */
}

.pdr-festival-se-companies-block-inner {
	border: 5px solid var(--prodog-black);
	height: 245px;
	padding: 35px 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}

.pdr-festival-se-companies-block-image {
	width: 100%;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.pdr-festival-se-companies-block-image-img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.pdr-festival-se-popup-button {
	display: inline-block;
	font-family: inherit;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--prodog-black);
	text-decoration: underline;
	text-underline-offset: 6px;
}

.pdr-festival-se-popup-button {
	display: inline-block;
	position: relative;
	font-family: "Gotham", sans-serif;
	font-weight: 900;
	font-size: 16px;
	line-height: 25px;
	text-transform: uppercase;
	color: var(--prodog-black);
	text-decoration: none;
	border: none;
}

.pdr-festival-se-popup-button:after {
	content: "";
	display: block;
	width: 100px;
	height: 10px;
	background: url('../img/festival/read-more-underline.png') no-repeat center;
	background-size: contain;
}

/* popup */

.pdr-festival-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pdr-festival-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 92%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    background: #f3f3f3;
    border-radius: 30px;
    z-index: 9999;

    transform: translate(-50%, -50%) scale(0.96);

    opacity: 0;
    visibility: hidden;

    transition: all 0.3s ease;
    padding: 30px 30px 55px;
}

/* Active state */
.pdr-festival-popup.is-active,
.pdr-festival-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.pdr-festival-popup.is-active {
    transform: translate(-50%, -50%) scale(1);
}

.pdr-festival-se-popup-inner {
    padding: 25px 70px 0;
}

.pdr-festival-se-popup-image {
    height: 318px;
    overflow: hidden;
    border-radius: 16px;
}

.pdr-festival-se-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pdr-festival-se-popup-inner h2 {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 30px;
    line-height: 25px;
    font-family: "Gotham", sans-serif;
    font-weight: 900;
}

.pdr-festival-se-popup-text {
    max-width: 920px;
    margin: 0 auto 40px;
}

.pdr-festival-se-popup-text p {
    margin-bottom: 20px;
}

.pdr-festival-se-popup-text p,
.pdr-festival-se-popup-text li {
    font-size: 18px;
    line-height: 22px;
}

.pdr-festival-se-popup-text strong {
    font-size: 16px;
    line-height: 20px;
}

.pdr-festival-se-popup-text > :last-child {
    margin-bottom: 0;
}

.pdr-festival-se-popup-content {
    display: none;
}

body.pdr-popup-open {
    overflow: hidden;
}

.pdr-festival-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    cursor: pointer;
}

a.pdr-popup-button {
	display: flex;
	margin: 0 auto;
	max-width: 280px;
}

@media (max-width: 1399px) {

	.pdr-festival-se-intro .pdr-container {
		gap: 75px;
	}

	.pdr-festival-se-intro-image img {
		left: 0;
	}

}

@media only screen and (max-width: 1250px) {

    .pdr-container {
        padding: 0;
    }

	.pdr-festival-se-companies-blocks {
		gap: 25px;
	}

	.pdr-festival-se-companies-block {
		width: calc((100% - 100px) / 5);
	}

	.pdr-festival-se-intro-content {
		max-width: 450px;
	}

	.pdr-festival-se-intro .pdr-container {
		gap: 50px;
	}

}

@media (max-width: 1099px) {

	.pdr-festival-se-intro h1,
	.pdr-festival-se-companies h2 {
		font-size: 55px;
		line-height: 45px;
	}

	.pdr-festival-se-companies h2:after {
		width: 305px;
	}

	.pdr-festival-se-companies-block {
		width: calc((100% - 75px) / 4);
	}

}

@media (max-width: 992px) {

	.pdr-festival-se-intro .pdr-container {
		flex-direction: column-reverse;
	}

	.pdr-festival-se-intro-content {
		max-width: 530px;
		text-align: center;
	}

	.pdr-festival-se-intro h1 {
		margin: 0 auto 30px;
	}

	.pdr-festival-se-intro h1:after {
		left: 50%;
		transform: translateX(-50%);
	}

	.pdr-festival-se-intro {
		padding-top: 50px;
	}

	.pdr-festival-se-intro-image {
		width: auto;
		height: auto;
	}

	.pdr-festival-se-intro-image img {
		max-width: 500px;
		left: 0;
	}

}

@media (max-width: 899px) {

	.pdr-festival-se-companies-block {
		width: calc((100% - 50px) / 3);
	}

}

@media only screen and (max-width: 767px) {

	.pdr-festival-se-intro h1,
	.pdr-festival-se-companies h2 {
		font-size: 45px;
		line-height: 40px;
		margin-bottom: 35px;
		padding-bottom: 20px;
	}

	.pdr-festival-se-intro h1:after {
		width: 100%;
	}

	.pdr-festival-se-companies h2:after {
		width: 250px;
	}

	.pdr-festival-se-popup-text p, .pdr-festival-se-popup-text li {
		font-size: 18px;
		line-height: 22px;
	}

	.pdr-festival-popup {
    	padding: 20px 20px 35px;
    }

    .pdr-festival-popup-close {
    	top: 10px;
    	right: 10px;
    }

    .pdr-festival-se-popup-inner {
    	padding: 25px 0 0;
    }

    .pdr-festival-se-popup-inner h2 {
        text-align: left;
    }

    .pdr-festival-se-popup-text {
        margin-bottom: 0;
    }

	.pdr-festival-se-companies {
		padding: 50px 25px;
	}

}

@media only screen and (max-width: 699px) {

	.pdr-festival-se-popup-text p, .pdr-festival-se-popup-text li {
		font-size: 16px;
		line-height: 22px;
	}

	.pdr-festival-se-popup-inner h2 {
    	margin-bottom: 20px;
    	font-size: 25px;
    	line-height: 25px;
    }

	.pdr-festival-se-companies-block {
		width: calc((100% - 25px) / 2);
	}

}

@media only screen and (max-width: 449px) {

	.pdr-festival-se-companies-block {
		width: 100%;
	}

}
