/* Glazbena Pandemija — Reusable ACF FAQ and equipment components. */


/* Shared section shell used by FAQ and other reusable blocks. */
.gp-section {
	padding: 72px 0;
}

.gp-section-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
}

.gp-section-heading h2 {
	margin: 0;
}

@media (max-width: 720px) {
	.gp-section { padding: 54px 0; }
	.gp-section-heading { flex-direction: column; margin-bottom: 24px; }
}

/* FAQ (ACF repeater) */
.gp-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gp-faq {
	background: transparent;
}

.gp-faq-item {
	border-radius: var(--gp-radius);
	background: rgba(96, 0, 153, .28);
	border: 1px solid rgba(255, 255, 255, .12);
	backdrop-filter: blur(8px);
	overflow: hidden;
}

.gp-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

.gp-faq-item summary::-webkit-details-marker {
	display: none;
}

.gp-faq-item__icon {
	position: relative;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.gp-faq-item__icon::before,
.gp-faq-item__icon::after {
	content: "";
	position: absolute;
	background: var(--gp-yellow);
	transition: transform .2s ease;
}

.gp-faq-item__icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	transform: translateY(-50%);
}

.gp-faq-item__icon::after {
	left: 50%;
	top: 0;
	width: 2px;
	height: 100%;
	transform: translateX(-50%);
}

.gp-faq-item[open] .gp-faq-item__icon::after {
	transform: translateX(-50%) rotate(90deg);
	opacity: 0;
}

.gp-faq-item__answer {
	padding: 0 22px 20px;
	color: rgba(255, 255, 255, .74);
}

.gp-faq-item__answer p {
	margin: 0 0 10px;
}

.gp-faq-item__answer p:last-child {
	margin-bottom: 0;
}

/* ==========================================================
   ACF OPREMA
========================================================== */

.gp-equipment-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 42px 44px;
	width: 100%;
}

.gp-equipment-card {
	min-width: 0;
	color: #fff;
}

.gp-equipment-card__title {
	margin: 0 0 20px;
	color: var(--gp-orange);
	font-size: clamp(24px, 2vw, 32px);
	font-weight: 900;
	line-height: 1.1;
}

.gp-equipment-card__image {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 260px;
	margin-bottom: 22px;
}

.gp-equipment-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.gp-equipment-card__description {
	color: #fff;
	font-size: 18px;
	line-height: 1.55;
}

.gp-equipment-card__description p {
	margin: 0 0 10px;
}

.gp-equipment-card__description ul,
.gp-equipment-card__description ol {
	margin: 0;
	padding-left: 26px;
}

.gp-equipment-card__description li {
	margin-bottom: 2px;
}

.gp-equipment-card__description strong {
	font-weight: 800;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1024px) {

	.gp-equipment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 28px;
	}

	.gp-equipment-card__image {
		height: 230px;
	}

}


/* ==========================================================
   MOBILE - 2 PER ROW
========================================================== */

@media (max-width: 767px) {

	.gp-equipment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 16px;
	}

	.gp-equipment-card__title {
		margin-bottom: 14px;
		font-size: 19px;
	}

	.gp-equipment-card__image {
		height: 150px;
		margin-bottom: 14px;
	}

	.gp-equipment-card__description {
		font-size: 14px;
		line-height: 1.45;
	}

	.gp-equipment-card__description ul,
	.gp-equipment-card__description ol {
		padding-left: 19px;
	}

}


/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media (max-width: 380px) {

	.gp-equipment-grid {
		gap: 28px 12px;
	}

	.gp-equipment-card__title {
		font-size: 17px;
	}

	.gp-equipment-card__image {
		height: 125px;
	}

	.gp-equipment-card__description {
		font-size: 13px;
	}

}
