/* PCW custom footer — loaded by pcw-custom-footer.php mu-plugin. */

.site-footer .footer-details,
.site-footer .footer-copyright {
	display: none !important;
}

footer[style*="background-color: #1c2331"] {
	display: none !important;
}

.pcw-site-footer {
	background-color: #1c2331;
	color: #f5f7fa;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-top: 0;
}

.pcw-site-footer a {
	color: #fff;
	text-decoration: none;
}

.pcw-site-footer a:hover,
.pcw-site-footer a:focus {
	color: #c5b3ff;
	text-decoration: underline;
}

.pcw-site-footer__social {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	background-color: #6351ce;
	text-align: center;
}

@media (min-width: 768px) {
	.pcw-site-footer__social {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding: 1rem 2rem;
	}
}

.pcw-site-footer__social-text {
	margin: 0;
	font-weight: 500;
}

.pcw-site-footer__social-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pcw-site-footer__social-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	font-size: 1.125rem;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.pcw-site-footer__social-list a:hover,
.pcw-site-footer__social-list a:focus {
	background: rgba(255, 255, 255, 0.24);
	transform: translateY(-1px);
	text-decoration: none;
	color: #fff;
}

.pcw-site-footer__main {
	padding: 2.5rem 1.25rem 2rem;
}

.pcw-site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	max-width: 75rem;
	margin: 0 auto;
}

@media (min-width: 576px) {
	.pcw-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.pcw-site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
		gap: 2.5rem;
	}
}

.pcw-site-footer__column {
	text-align: center;
}

@media (min-width: 768px) {
	.pcw-site-footer__column {
		text-align: left;
	}
}

.pcw-site-footer__title {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pcw-site-footer__rule {
	width: 3.75rem;
	height: 2px;
	margin: 0 0 1rem;
	border: 0;
	background-color: #7c4dff;
}

@media (max-width: 767px) {
	.pcw-site-footer__rule {
		margin-left: auto;
		margin-right: auto;
	}
}

.pcw-site-footer__column p {
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
}

.pcw-site-footer__links,
.pcw-site-footer__contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pcw-site-footer__links li + li,
.pcw-site-footer__contact li + li {
	margin-top: 0.625rem;
}

.pcw-site-footer__contact li {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 0.625rem;
}

@media (min-width: 768px) {
	.pcw-site-footer__contact li {
		justify-content: flex-start;
	}
}

.pcw-site-footer__contact i {
	width: 1rem;
	margin-top: 0.2rem;
	color: #7c4dff;
	flex-shrink: 0;
	text-align: center;
}

.pcw-site-footer__bottom {
	padding: 1rem 1.25rem 1.5rem;
	background: rgba(0, 0, 0, 0.22);
	text-align: center;
}

.pcw-site-footer__bottom p {
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.82);
}

.pcw-site-footer__bottom a {
	font-weight: 600;
}

/* Machic theme footer widget columns — layout, SEO panels, mobile */
.site-footer .footer-widgets {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.site-footer .footer-widgets .container {
	max-width: 75rem;
}

.site-footer .footer-widgets .row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin: 0;
}

@media (min-width: 768px) {
	.site-footer .footer-widgets .row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}
}

@media (min-width: 992px) {
	.site-footer .footer-widgets {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.site-footer .footer-widgets .row {
		grid-template-columns: 1.15fr 1fr 0.95fr;
		align-items: start;
		gap: 2.5rem;
	}
}

.site-footer .footer-widgets .col {
	width: 100%;
	max-width: 100%;
	flex: none;
	padding: 0;
}

.site-footer .footer-widgets .pcw-footer-widget {
	display: block;
	margin-bottom: 0;
}

.site-footer .footer-widgets .pcw-footer-widget__panel {
	border-bottom: 1px solid #dfe3e8;
}

@media (min-width: 992px) {
	.site-footer .footer-widgets .pcw-footer-widget__panel {
		border-bottom: 0;
	}
}

.site-footer .footer-widgets .pcw-footer-widget__panel summary {
	list-style: none;
	cursor: pointer;
	padding: 1rem 0;
}

.site-footer .footer-widgets .pcw-footer-widget__panel summary::-webkit-details-marker {
	display: none;
}

@media (min-width: 992px) {
	.site-footer .footer-widgets .pcw-footer-widget__panel summary {
		cursor: default;
		pointer-events: none;
		padding-top: 0;
	}
}

.site-footer .footer-widgets .widget-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
	color: #021523;
	line-height: 1.3;
}

.site-footer .footer-widgets .pcw-footer-widget__body {
	padding-bottom: 1.25rem;
}

@media (min-width: 992px) {
	.site-footer .footer-widgets .pcw-footer-widget__body {
		padding-bottom: 0;
	}
}

.site-footer .footer-widgets .widget {
	margin-bottom: 0;
	color: #4a5568;
	font-size: 0.875rem;
	line-height: 1.5;
}

.site-footer .footer-widgets .widget ul li a {
	color: #4a5568;
}

.site-footer .footer-widgets .widget ul li a:hover,
.site-footer .footer-widgets .widget ul li a:focus {
	color: #021523;
}

.site-footer .footer-widgets .posts-widget .post {
	display: flex;
	gap: 0.875rem;
	align-items: flex-start;
}

.site-footer .footer-widgets .posts-widget .post + .post {
	margin-top: 1rem;
}

.site-footer .footer-widgets .posts-widget .entry-media {
	flex: 0 0 4.5rem;
	margin: 0;
}

.site-footer .footer-widgets .posts-widget .entry-media img {
	width: 4.5rem;
	height: 4.5rem;
	object-fit: cover;
	border-radius: 0.25rem;
}

.site-footer .footer-widgets .posts-widget .entry-title {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0.25rem 0 0;
}

.site-footer .footer-widgets .posts-widget .entry-title a {
	color: #021523;
	text-decoration: none;
}

.site-footer .footer-widgets .posts-widget .entry-title a:hover,
.site-footer .footer-widgets .posts-widget .entry-title a:focus {
	text-decoration: underline;
}

.site-footer .footer-widgets .posts-widget .entry-category {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-footer .footer-widgets .widget_product_categories .product-categories {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	max-height: none;
	overflow: visible;
}

@media (min-width: 576px) {
	.site-footer .footer-widgets .widget_product_categories .product-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.site-footer .footer-widgets .widget_product_categories .product-categories li {
	margin: 0;
}

.site-footer .footer-widgets .widget_product_categories .product-categories a {
	display: block;
	padding: 0.125rem 0;
}

.site-footer .footer-widgets .widget_nav_menu .menu {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
}

@media (min-width: 576px) and (max-width: 991px) {
	.site-footer .footer-widgets .widget_nav_menu .menu {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.site-footer .footer-widgets .widget_nav_menu .menu li {
	margin: 0;
}

.site-footer .footer-widgets .widget_nav_menu .menu a {
	display: block;
	padding: 0.125rem 0;
}
