/*
Theme Name: Huge Partners
Theme URI: https://huge.partners
Author: Huge Partners Team
Author URI: https://huge.partners
Description: Custom WordPress theme for Huge Partners
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huge-partners
*/



/* Partners Archive Page */
.archive-partners .partner-categories {
	margin-bottom: 3rem;
}

.archive-partners .partner-categories .nav-link {
	color: var(--bs-body-color);
	border: 1px solid #ccc;
	margin: 0 0.5rem;
	padding: 0.5rem 1.5rem;
	transition: all 0.3s ease;
}

.archive-partners .partner-categories .nav-link:hover,
.archive-partners .partner-categories .nav-link.active {
	background-color: #ff4d1c;
	border-color: #ff4d1c;
	color: #fff;
}

.archive-partners .offer-block-orange {
	background: linear-gradient(140deg, #52bcba 70%, #cf2e4e 30%);
	border-radius: 12px;
	padding: 2rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.archive-partners .offer-block-orange:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(207, 46, 78, 0.15);
}

.archive-partners .partner-logo {
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.archive-partners .offer-block-orange h2 {
	color: #fff;
	margin: 0;
	font-size: 1.5rem;
}
.archive-partners .offer-block-orange button.button {
	background-color: #fff;
	color: #000;
	padding: 0.5rem 1.5rem;
	border-radius: 8px;
	font-weight: bold;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.archive-partners .offer-block-orange button.button:hover {
	background-color: #e84879;
	color: #fff;
}

/* Pagination */
.archive-partners .pagination {
	margin-top: 2rem;
}

.archive-partners .pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0 5px;
	border-radius: 8px;
	background: #fff;
	color: #000;
	text-decoration: none;
	transition: all 0.3s ease;
}

.archive-partners .pagination .page-numbers.current,
.archive-partners .pagination .page-numbers:hover {
	background: #ff4d1c;
	color: #fff;
}

/* Modal styles */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	z-index: 1000;
	overflow-y: auto;
	padding: 2rem;
}

.modal-overlay.is-active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-container {
	position: relative;
	width: 100%;
	max-width: 900px;
	margin: auto;
}

.modal-content {
	background: #52bcba;
	border: none;
	border-radius: 12px;
	color: #fff;
	padding: 2rem;
	box-shadow: 0 8px 24px rgba(207, 46, 78, 0.15);
	opacity: 0;
	transform: translateY(-20px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-overlay.is-active .modal-content {
	opacity: 1;
	transform: translateY(0);
}

.modal-close {
	position: absolute;
	right: 1.5rem;
	top: 1.5rem;
	background-color: #fff;
	border: none;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0 3px 0;
	color: #52bcba;
}

.modal-body {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 2rem;
}

@media (max-width: 768px) {
	.modal-body {
		grid-template-columns: 1fr;
	}
}

.partner-image {
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: white;
	border-radius: 8px;
	padding: 2rem;
}

.partner-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.modal-info {
	display: flex;
	flex-direction: column;
}

.modal-title {
	font-family: 'Code Pro', sans-serif;
	font-size: 2rem;
	margin-bottom: 1rem;
	color: #fff;
}

.partner-content {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	font-family: 'Arial', sans-serif;
}

.modal-footer {
}

.modal-footer .button {
	background: #fff;
	color: #cf2e4e;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	transition: background-color 0.2s;
	display: inline-flex;
	align-items: center;
}
.modal-footer .button:hover {
	background: #e84879;
	color: #fff;
}
