/**
 * Offices Grid Shortcode Styles
 */

:root {
	--orange-primary: #e0650a;
}

.offices-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.office-card {
	background: #ffffff;
	padding: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: relative;
	min-height: 300px;
	display: flex;
	flex-direction: column;
}

.office-card__icon {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 30px;
}

.office-card__arrow {
	width: 40px;
	height: 40px;
	border: 2px solid var(--orange-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.office-card__arrow svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: var(--orange-primary);
	color: var(--orange-primary);
}

.office-card__city {
	font-size: 20px;
	font-weight: 700;
	color: #000000;
	margin: 0;
	line-height: 1.2;
}

.office-card__address {
	margin-top: auto;
	margin-bottom: 20px;
}

.office-card__address p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: #000000;
}

.office-card__contact {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.office-card__phone,
.office-card__email {
	font-size: 16px;
	color: var(--orange-primary);
	text-decoration: none;
	line-height: 1.5;
	display: block;
}

.office-card__phone:hover,
.office-card__email:hover {
	text-decoration: underline;
}

/* Empty Spacer Card */
.office-card--empty {
	background: transparent;
	box-shadow: none;
	min-height: 0;
}

/* Logo Placeholder Card */
.office-card--logo {
	background: transparent;
	box-shadow: none;
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.office-logo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.office-logo-placeholder svg {
	opacity: 1;
	transition: opacity 0.3s ease;
}

.office-card--logo:hover .office-logo-placeholder svg {
	opacity: 1;
}

/* Tablet: 2 columns */
@media screen and (max-width: 980px) {
	.offices-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px 30px;
	}
}

/* Mobile: 1 column */
@media screen and (max-width: 767px) {
	.offices-grid {
		grid-template-columns: 1fr;
		gap: 20px 30px;
	}

	.office-card--logo,
	.office-card--empty {
		display: none;
	}
}
